@economic/taco 1.17.0-alpha.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -82
- package/dist/components/Accordion/Accordion.d.ts +42 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +26 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +24 -0
- package/dist/components/AlertDialog/AlertDialog.stories.d.ts +10 -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/Backdrop/Backdrop.stories.d.ts +7 -0
- package/dist/components/Badge/Badge.d.ts +23 -0
- package/dist/components/Badge/Badge.stories.d.ts +15 -0
- package/dist/components/Banner/Banner.d.ts +20 -0
- package/dist/components/Banner/Banner.stories.d.ts +5 -0
- package/dist/components/Banner/util.d.ts +3 -0
- package/dist/components/Button/Button.d.ts +60 -0
- package/dist/components/Button/Button.stories.d.ts +77 -0
- package/dist/components/Button/util.d.ts +6 -0
- package/dist/components/Calendar/Calendar.d.ts +35 -0
- package/dist/components/Calendar/Calendar.stories.d.ts +13 -0
- package/dist/components/Card/Card.d.ts +14 -0
- package/dist/components/Card/Card.stories.d.ts +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts +26 -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/Datepicker.stories.d.ts +43 -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/Dialog.stories.d.ts +57 -0
- package/dist/components/Dialog/components/Content.d.ts +23 -0
- package/dist/components/Dialog/components/Drawer.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/Field/Field.d.ts +26 -0
- package/dist/components/Field/Field.stories.d.ts +14 -0
- package/dist/components/Form/Form.d.ts +14 -0
- package/dist/components/Form/Form.stories.d.ts +14 -0
- package/dist/components/Group/Group.d.ts +30 -0
- package/dist/components/Group/Group.stories.d.ts +23 -0
- package/dist/components/Hanger/Hanger.d.ts +31 -0
- package/dist/components/Hanger/Hanger.stories.d.ts +11 -0
- package/dist/components/HoverCard/HoverCard.d.ts +16 -0
- package/dist/components/HoverCard/HoverCard.stories.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/Icon.stories.d.ts +8 -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/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/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/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/CircleMinus.d.ts +3 -0
- package/dist/components/Icon/components/CirclePlus.d.ts +3 -0
- package/dist/components/Icon/components/CircleTick.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/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/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/ESignature.d.ts +3 -0
- package/dist/components/Icon/components/Edit.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/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/Filter.d.ts +3 -0
- package/dist/components/Icon/components/FilterSolid.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/Home.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/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/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/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/Numbers.d.ts +3 -0
- package/dist/components/Icon/components/PartnerApi.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/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/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/Spinner.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/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/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/IconButton/IconButton.stories.d.ts +12 -0
- package/dist/components/Input/Input.d.ts +27 -0
- package/dist/components/Input/Input.stories.d.ts +17 -0
- package/dist/components/Input/util.d.ts +2 -0
- package/dist/components/Listbox/Listbox.d.ts +96 -0
- package/dist/components/Listbox/Listbox.stories.d.ts +44 -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 +15 -0
- package/dist/components/Menu/Menu.d.ts +30 -0
- package/dist/components/Menu/Menu.stories.d.ts +73 -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 +26 -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 +2 -0
- package/dist/components/Menu/components/Trigger.d.ts +7 -0
- package/dist/components/Navigation/Navigation.d.ts +50 -0
- package/dist/components/Navigation/Navigation.stories.d.ts +7 -0
- package/dist/components/Pagination/PageNumbers.d.ts +8 -0
- package/dist/components/Pagination/Pagination.d.ts +100 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +28 -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 +31 -0
- package/dist/components/Popover/Popover.stories.d.ts +29 -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/Progress/Progress.stories.d.ts +8 -0
- package/dist/components/Provider/Localization.d.ts +158 -0
- package/dist/components/Provider/Provider.d.ts +9 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +52 -0
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +49 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +4 -0
- package/dist/components/ScrollArea/ScrollArea.stories.d.ts +8 -0
- package/dist/components/SearchInput/SearchInput.d.ts +15 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +38 -0
- package/dist/components/Select/Select.d.ts +40 -0
- package/dist/components/Select/Select.stories.d.ts +35 -0
- package/dist/components/Select/useSelect.d.ts +21 -0
- package/dist/components/Select2/Select2.d.ts +45 -0
- package/dist/components/Select2/Select2.stories.d.ts +51 -0
- package/dist/components/Select2/components/All.d.ts +7 -0
- package/dist/components/Select2/components/Collection.d.ts +6 -0
- package/dist/components/Select2/components/Context.d.ts +29 -0
- package/dist/components/Select2/components/Create.d.ts +9 -0
- package/dist/components/Select2/components/Edit.d.ts +10 -0
- package/dist/components/Select2/components/Group.d.ts +4 -0
- package/dist/components/Select2/components/Option.d.ts +16 -0
- package/dist/components/Select2/components/Search.d.ts +12 -0
- package/dist/components/Select2/components/Title.d.ts +4 -0
- package/dist/components/Select2/components/Trigger.d.ts +5 -0
- package/dist/components/Select2/hooks/useChildren.d.ts +17 -0
- package/dist/components/Select2/types.d.ts +3 -0
- package/dist/components/Select2/utilities.d.ts +2 -0
- package/dist/components/Spinner/Spinner.d.ts +20 -0
- package/dist/components/Spinner/Spinner.stories.d.ts +15 -0
- package/dist/components/Switch/Switch.d.ts +19 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table/Table.stories.d.ts +32 -0
- package/dist/components/Table/Table.storyexample.d.ts +9 -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/Tabs/Tabs.d.ts +55 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +19 -0
- package/dist/components/Tag/Tag.d.ts +19 -0
- package/dist/components/Tag/Tag.stories.d.ts +9 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +40 -0
- package/dist/components/Toast/Toast.d.ts +36 -0
- package/dist/components/Toast/Toast.stories.d.ts +12 -0
- package/dist/components/Toast/Toaster.d.ts +35 -0
- package/dist/components/Toast/util.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.d.ts +23 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +26 -0
- package/dist/components/Tour/Tour.d.ts +72 -0
- package/dist/components/Tour/Tour.stories.d.ts +11 -0
- package/dist/components/Treeview/Treeview.d.ts +25 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +4 -0
- package/dist/css/Typography.stories.d.ts +6 -0
- package/dist/{taco.css → esm/index.css} +415 -413
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js +19 -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/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 +32 -0
- package/dist/esm/packages/taco/src/components/Badge/Badge.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 +32 -0
- package/dist/esm/packages/taco/src/components/Banner/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js +52 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/util.js +73 -0
- package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +125 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js +43 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +65 -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 +253 -0
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +75 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js +83 -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 +118 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Drawer.js +41 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Drawer.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/Field/Field.js +31 -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/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 +27 -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/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/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/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/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/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/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/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/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/ESignature.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ESignature.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/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/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/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/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/Home.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Home.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 +17 -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/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/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/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/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/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/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/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/Spinner.js +20 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Spinner.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/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 +16 -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/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 +428 -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 +50 -0
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js +119 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/util.js +31 -0
- package/dist/esm/packages/taco/src/components/Input/util.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 +165 -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 +59 -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 +31 -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 +88 -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 +11 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +21 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.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/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 +98 -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 +113 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js +17 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js.map +1 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +106 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +37 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +59 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js +97 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js +191 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +218 -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 +14 -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 +82 -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 +189 -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 +18 -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 +93 -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 +57 -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 +230 -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 +55 -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 +5 -0
- package/dist/esm/packages/taco/src/components/Select2/utilities.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 +48 -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/Tabs/Tabs.js +69 -0
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js +42 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +37 -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 +151 -0
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js +40 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +35 -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/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/useBoundingClientRectListener.js +43 -0
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.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/useIsFormControl.js +28 -0
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.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/index.js +58 -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 +21 -0
- package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +146 -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 +56 -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 +62 -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/utils/aria.js +15 -0
- package/dist/esm/packages/taco/src/utils/aria.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/colors.js +14 -0
- package/dist/esm/packages/taco/src/utils/colors.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/date.js +61 -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 +18 -0
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js +47 -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/input.js +42 -0
- package/dist/esm/packages/taco/src/utils/input.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/taillwind.js +33 -0
- package/dist/esm/packages/taco/src/utils/taillwind.js.map +1 -0
- package/dist/hooks/useBoundaryOverflowDetection.d.ts +2 -0
- package/dist/hooks/useBoundingClientRectListener.d.ts +2 -0
- package/dist/hooks/useId.d.ts +1 -0
- package/dist/hooks/useIsFormControl.d.ts +2 -0
- package/dist/hooks/useIsRefOverflowing.d.ts +2 -0
- package/dist/hooks/useMergedRef.d.ts +2 -0
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/{taco.esm.css → index.css} +415 -413
- package/dist/index.d.ts +53 -0
- package/dist/index.js +8 -0
- package/dist/primitives/BubbleSelect.d.ts +2 -0
- package/dist/primitives/Button.d.ts +19 -0
- package/dist/primitives/Collection/Collection.d.ts +2 -0
- package/dist/primitives/Collection/Collection.stories.d.ts +8 -0
- package/dist/primitives/Collection/components/Root.d.ts +12 -0
- package/dist/primitives/Listbox2/Listbox2.d.ts +5 -0
- package/dist/primitives/Listbox2/Listbox2.stories.d.ts +16 -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/Sortable.stories.d.ts +14 -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/taco.cjs.development.js +10559 -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 +6 -1891
- package/dist/utils/aria.d.ts +2 -0
- package/dist/utils/colors.d.ts +12 -0
- package/dist/utils/date.d.ts +3 -0
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/device.d.ts +1 -0
- package/dist/utils/dom.d.ts +2 -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/input.d.ts +3 -0
- package/dist/utils/mergeRefs.d.ts +2 -0
- package/dist/utils/storyutils.d.ts +8 -0
- package/dist/utils/taillwind.d.ts +4 -0
- package/dist/utils/tailwind.d.ts +1 -0
- package/package.json +133 -139
- package/plugins/tailwindcss-aria-attributes.js +73 -73
- package/plugins/tailwindcss-group-peer.js +12 -0
- package/tailwind.config.js +534 -284
- package/types.json +66 -19
- package/dist/taco.css.map +0 -1
- package/dist/taco.esm.css.map +0 -1
- package/dist/taco.esm.js +0 -11833
- package/dist/taco.esm.js.map +0 -1
- package/dist/taco.js +0 -13436
- package/dist/taco.js.map +0 -1
- package/dist/types.d.ts.map +0 -1
package/dist/types.d.ts
CHANGED
@@ -1,1891 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export function mergeRefs<T = any>(refs: Array<React.MutableRefObject<T> | React.LegacyRef<T>>): React.RefCallback<T>;
|
8
|
-
type AlertDialogTriggerProps = React.HTMLAttributes<HTMLButtonElement>;
|
9
|
-
type AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
10
|
-
type AlertDialogCancelProps = React.HTMLAttributes<HTMLButtonElement>;
|
11
|
-
type AlertDialogActionProps = React.HTMLAttributes<HTMLButtonElement>;
|
12
|
-
export type BackdropProps = React.HTMLAttributes<HTMLDivElement>;
|
13
|
-
export const Backdrop: React.ForwardRefExoticComponent<BackdropProps & React.RefAttributes<HTMLDivElement>>;
|
14
|
-
export type DialogSize = 'dialog' | 'xs' | 'sm' | 'md' | 'lg';
|
15
|
-
type AlertDialogTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
16
|
-
type AlertDialogContentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
17
|
-
/** An accessible label to be announced when the dialog is opened */
|
18
|
-
'aria-label': string;
|
19
|
-
children: React.ReactNode;
|
20
|
-
};
|
21
|
-
export type AlertDialogProps = {
|
22
|
-
children: React.ReactNode | React.ReactNode[];
|
23
|
-
/** Set whether the alert dialog is open by default or not, use when not providing a trigger */
|
24
|
-
defaultOpen?: boolean;
|
25
|
-
/** Called when the alert dialog opens or closes, must be used in conjunction with open */
|
26
|
-
onChange?: (open: boolean) => void;
|
27
|
-
/** Control the open state of the dialog from outside the component */
|
28
|
-
open?: boolean;
|
29
|
-
/** A trigger to be used for the alert dialog, should not be set if `children` already contains a trigger */
|
30
|
-
trigger?: JSX.Element;
|
31
|
-
};
|
32
|
-
export type ForwardedAlertDialogWithStatics = React.ForwardRefExoticComponent<AlertDialogProps & React.RefAttributes<HTMLElement>> & {
|
33
|
-
Trigger: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
34
|
-
Content: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
35
|
-
Title: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
36
|
-
Footer: React.ForwardRefExoticComponent<AlertDialogFooterProps & React.RefAttributes<HTMLDivElement>>;
|
37
|
-
Action: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
38
|
-
Cancel: React.ForwardRefExoticComponent<AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
39
|
-
};
|
40
|
-
export const AlertDialog: ForwardedAlertDialogWithStatics;
|
41
|
-
export const icons: Record<IconName, React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & React.RefAttributes<SVGSVGElement>>>;
|
42
|
-
export type IconName = 'account-preview' | 'accounting-year-cancel' | 'accounting-year' | 'accounting' | 'arrow-bottom' | 'arrow-down' | 'arrow-end' | 'arrow-left' | 'arrow-right' | 'arrow-start' | 'arrow-top' | 'arrow-up' | 'attach-auto' | 'attach-cancel' | 'attach' | 'autotext-insert' | 'autotext' | 'basic-tabs' | 'basic' | 'bell-solid' | 'book' | 'booking' | 'budget' | 'calendar' | 'cash-account' | 'cash-reports' | 'chat-solid' | 'chat' | 'chevron-down-double' | 'chevron-down-solid' | 'chevron-down' | 'chevron-left-double' | 'chevron-left-solid' | 'chevron-left' | 'chevron-right-double' | 'chevron-right-solid' | 'chevron-right' | 'chevron-up-double' | 'chevron-up-solid' | 'chevron-up' | 'circle-close' | 'circle-minus' | 'circle-plus' | 'circle-tick' | 'clamp-open' | 'clamp' | 'close' | 'connection-enable' | 'connection-revoke' | 'contacts' | 'copy' | 'courses' | 'credit' | 'delete-permanently' | 'delete' | 'depecriate' | 'developer' | 'distribution-template' | 'document-approve' | 'document-create-entry' | 'document-cut' | 'document-error' | 'document-isolate-page' | 'document-merge' | 'document-move' | 'document-preview' | 'document-received' | 'document-rejected-request' | 'document-split' | 'document-time' | 'document' | 'download' | 'drag' | 'e-copedia' | 'e-signature' | 'edit' | 'ellipsis-horizontal' | 'ellipsis-vertical' | 'entries-on-account' | 'entries-open' | 'entries-warning' | 'entry-type-customer-invoice' | 'entry-type-customer-payment' | 'entry-type-journal-entry' | 'entry-type-manual-customer-invoice' | 'entry-type-supplier-invoice' | 'entry-type-supplier-payment' | 'envelope-approved' | 'envelope' | 'expand-view' | 'expenses' | 'export-to-excel' | 'export-to-pdf' | 'export' | 'filter-solid' | 'filter' | 'graph-solid' | 'hash' | 'home' | 'images' | 'import' | 'inbox-einvoicing' | 'inbox-scanning' | 'inbox-smart' | 'inbox' | 'info' | 'inventory-matrix' | 'inventory' | 'journal-pro' | 'layout-both' | 'layout-first' | 'layout-last' | 'layout-none' | 'layout' | 'ledger-card-customer-reminder' | 'ledger-card-manual-customer-invoice' | 'ledger-card-obsolete-stock' | 'ledger-card-opening-entry' | 'ledger-card-reserved-entry' | 'ledger-card-shrinkage-pilferage' | 'ledger-card-stock-adjustment' | 'ledger-card-transferred-opening-entry' | 'ledger-card' | 'lightbulb' | 'line' | 'list-bulleted' | 'list-search' | 'list' | 'lock-open' | 'log-out' | 'log' | 'market' | 'match-amount' | 'match-entries' | 'menu' | 'mileage' | 'modal-resize' | 'modal-shrink' | 'more-solid' | 'more' | 'move' | 'navigation-list' | 'note-follow-up' | 'note-read' | 'note' | 'numbers' | 'partner-api' | 'period' | 'person-change' | 'person-minus' | 'person-plus' | 'person-tick' | 'play' | 'plus-minus' | 'print' | 'process-payment' | 'product-ledger-card' | 'profile' | 'project-cards' | 'projects' | 'quicklinks' | 'rating-bankruptcy' | 'rating-payment-problems' | 'reconciled' | 'refresh' | 'report-solid' | 'report' | 'restore' | 'rotate-left' | 'rotate-right' | 'sales' | 'search-bold' | 'search' | 'secure-tick' | 'secure' | 'settings-solid' | 'settings' | 'shortcuts' | 'show-all' | 'show-less' | 'show-more' | 'show-template' | 'sliders' | 'smartpay' | 'sort-by' | 'spinner' | 'star-solid' | 'star' | 'subscriptions' | 'system-entries' | 'tag' | 'template-override' | 'templates' | 'thumb-both' | 'thumb-down-solid' | 'thumb-down' | 'thumb-up-solid' | 'thumb-up' | 'tick' | 'time' | 'transfer-cancel' | 'transfer-locked' | 'transfer' | 'undo' | 'undock' | 'unreconciled' | 'warning' | 'webshop' | 'website' | 'workflow' | 'zoom';
|
43
|
-
export type IconProps = React.SVGAttributes<SVGSVGElement> & {
|
44
|
-
/** Set what svg icon should be rendered */
|
45
|
-
name: IconName;
|
46
|
-
};
|
47
|
-
export const Icon: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & {
|
48
|
-
/** Set what svg icon should be rendered */
|
49
|
-
name: IconName;
|
50
|
-
} & React.RefAttributes<SVGSVGElement>>;
|
51
|
-
export type AccordionTriggerProps = React.HTMLAttributes<HTMLElement>;
|
52
|
-
export type AccordionContentProps = React.HTMLAttributes<HTMLElement>;
|
53
|
-
export type AccordionItemProps = React.HTMLAttributes<HTMLDivElement> & {
|
54
|
-
id: string;
|
55
|
-
disabled?: boolean;
|
56
|
-
};
|
57
|
-
type AccordionBaseProps = {
|
58
|
-
children: React.ReactNode[];
|
59
|
-
/** Change what heading element accordion regions will render */
|
60
|
-
as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
61
|
-
/** Additional classes for Accordion root element */
|
62
|
-
className?: string;
|
63
|
-
};
|
64
|
-
export interface AccordionUncontrolledProps extends AccordionBaseProps {
|
65
|
-
/** Default expanded accordion(s) */
|
66
|
-
defaultId: string | string[];
|
67
|
-
id?: never;
|
68
|
-
onChange?: never;
|
69
|
-
}
|
70
|
-
export interface AccordionMultipleControlledProps extends AccordionBaseProps {
|
71
|
-
/** Expanded accordions */
|
72
|
-
id: string[];
|
73
|
-
/** onChange function to receive ids of expanded accordions */
|
74
|
-
onChange: (id: string[]) => void;
|
75
|
-
defaultId?: never;
|
76
|
-
}
|
77
|
-
export interface AccordionSingleControlledProps extends AccordionBaseProps {
|
78
|
-
/** Expanded accordion */
|
79
|
-
id: string;
|
80
|
-
/** onChange function to receive id of expanded accordion */
|
81
|
-
onChange: (id: string) => void;
|
82
|
-
defaultId?: never;
|
83
|
-
}
|
84
|
-
export type AccordionProps = AccordionUncontrolledProps | AccordionMultipleControlledProps | AccordionSingleControlledProps;
|
85
|
-
export const Accordion: {
|
86
|
-
(props: AccordionProps): JSX.Element;
|
87
|
-
Item: (props: AccordionItemProps) => JSX.Element;
|
88
|
-
Trigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
89
|
-
Content: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
90
|
-
};
|
91
|
-
type Props = React.HTMLAttributes<HTMLSpanElement>;
|
92
|
-
export const VisuallyHidden: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLSpanElement>>;
|
93
|
-
export type Appearance = 'default' | 'primary' | 'danger' | 'ghost' | 'discrete';
|
94
|
-
export type State = 'default' | 'success' | 'error' | 'warning' | 'information';
|
95
|
-
export type Locale = 'en-GB' | 'da-DK' | 'sv-SE' | 'no-NO';
|
96
|
-
export type Orientation = 'horizontal' | 'vertical';
|
97
|
-
export type Align = 'start' | 'center' | 'end';
|
98
|
-
export type Placement = 'right' | 'left' | 'top' | 'bottom';
|
99
|
-
export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
100
|
-
/** Content should be a numerical value or tag/status like text **/
|
101
|
-
children: React.ReactNode;
|
102
|
-
/** Show compact version **/
|
103
|
-
compact?: boolean;
|
104
|
-
/** Show outlined version **/
|
105
|
-
outline?: boolean;
|
106
|
-
/** State will change the style of the badge **/
|
107
|
-
state?: State;
|
108
|
-
};
|
109
|
-
export const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
110
|
-
/** Content should be a numerical value or tag/status like text **/
|
111
|
-
children: React.ReactNode;
|
112
|
-
/** Show compact version **/
|
113
|
-
compact?: boolean | undefined;
|
114
|
-
/** Show outlined version **/
|
115
|
-
outline?: boolean | undefined;
|
116
|
-
/** State will change the style of the badge **/
|
117
|
-
state?: State | undefined;
|
118
|
-
} & React.RefAttributes<HTMLSpanElement>>;
|
119
|
-
type _ButtonProps1 = React.ButtonHTMLAttributes<HTMLButtonElement | HTMLAnchorElement> & {
|
120
|
-
/** Content should be a text */
|
121
|
-
children: React.ReactNode;
|
122
|
-
/** Provides url for buttons being used as a link */
|
123
|
-
href?: string;
|
124
|
-
/** Provides target for buttons being used as a link */
|
125
|
-
target?: '_self' | '_blank' | '_parent' | '_top';
|
126
|
-
};
|
127
|
-
export type TooltipProps = React.HTMLAttributes<HTMLDivElement> & {
|
128
|
-
/** The element which activates the tooltip when hovered. Should be a single React/HTML element */
|
129
|
-
children: React.ReactElement | any;
|
130
|
-
/** Text displayed in the tooltip */
|
131
|
-
title: string;
|
132
|
-
/**
|
133
|
-
* Placement of the tooltip relative to the reference element. Placement will be reversed if a collision occurs
|
134
|
-
* @defaultValue bottom
|
135
|
-
*/
|
136
|
-
placement?: 'top' | 'right' | 'bottom' | 'left';
|
137
|
-
};
|
138
|
-
export const Tooltip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
139
|
-
/** The element which activates the tooltip when hovered. Should be a single React/HTML element */
|
140
|
-
children: React.ReactElement | any;
|
141
|
-
/** Text displayed in the tooltip */
|
142
|
-
title: string;
|
143
|
-
/**
|
144
|
-
* Placement of the tooltip relative to the reference element. Placement will be reversed if a collision occurs
|
145
|
-
* @defaultValue bottom
|
146
|
-
*/
|
147
|
-
placement?: "left" | "top" | "bottom" | "right" | undefined;
|
148
|
-
} & React.RefAttributes<HTMLElement>>;
|
149
|
-
export type IconButtonProps = Omit<ButtonProps, 'children'> & {
|
150
|
-
/** Appearance will change the style of the button */
|
151
|
-
appearance?: Appearance;
|
152
|
-
/**
|
153
|
-
* Dialog component associated with the button, clicking the button will open the dialog.
|
154
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
155
|
-
* the button should be only to open the associated dialog when clicked.
|
156
|
-
*/
|
157
|
-
dialog?: (props: Partial<DialogProps>) => JSX.Element;
|
158
|
-
/** Hanger component associated with the button. */
|
159
|
-
hanger?: (props: Partial<HangerProps>) => JSX.Element;
|
160
|
-
/** Set which icon should be rendered within button */
|
161
|
-
icon: IconName;
|
162
|
-
/** Menu component associated with the button. */
|
163
|
-
menu?: (props: Partial<MenuProps>) => JSX.Element;
|
164
|
-
/**
|
165
|
-
* Popover component associated with the button, clicking the button will open the popover.
|
166
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
167
|
-
* the button should be only to open the associated popover when clicked.
|
168
|
-
*/
|
169
|
-
popover?: (props: Partial<PopoverProps>) => JSX.Element;
|
170
|
-
/**
|
171
|
-
* Set whether the button is rounded.
|
172
|
-
* Default value is `false`
|
173
|
-
*/
|
174
|
-
rounded?: boolean;
|
175
|
-
/** A tooltip to show when hovering over the button */
|
176
|
-
tooltip?: string;
|
177
|
-
};
|
178
|
-
export const Base: React.ForwardRefExoticComponent<Omit<ButtonProps, "children"> & {
|
179
|
-
/** Appearance will change the style of the button */
|
180
|
-
appearance?: Appearance | undefined;
|
181
|
-
/**
|
182
|
-
* Dialog component associated with the button, clicking the button will open the dialog.
|
183
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
184
|
-
* the button should be only to open the associated dialog when clicked.
|
185
|
-
*/
|
186
|
-
dialog?: ((props: Partial<DialogProps>) => JSX.Element) | undefined;
|
187
|
-
/** Hanger component associated with the button. */
|
188
|
-
hanger?: ((props: Partial<HangerProps>) => JSX.Element) | undefined;
|
189
|
-
/** Set which icon should be rendered within button */
|
190
|
-
icon: IconName;
|
191
|
-
/** Menu component associated with the button. */
|
192
|
-
menu?: ((props: Partial<MenuProps>) => JSX.Element) | undefined;
|
193
|
-
/**
|
194
|
-
* Popover component associated with the button, clicking the button will open the popover.
|
195
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
196
|
-
* the button should be only to open the associated popover when clicked.
|
197
|
-
*/
|
198
|
-
popover?: ((props: Partial<PopoverProps>) => JSX.Element) | undefined;
|
199
|
-
/**
|
200
|
-
* Set whether the button is rounded.
|
201
|
-
* Default value is `false`
|
202
|
-
*/
|
203
|
-
rounded?: boolean | undefined;
|
204
|
-
/** A tooltip to show when hovering over the button */
|
205
|
-
tooltip?: string | undefined;
|
206
|
-
} & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
207
|
-
export const IconButton: React.ForwardRefExoticComponent<Omit<ButtonProps, "children"> & {
|
208
|
-
/** Appearance will change the style of the button */
|
209
|
-
appearance?: Appearance | undefined;
|
210
|
-
/**
|
211
|
-
* Dialog component associated with the button, clicking the button will open the dialog.
|
212
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
213
|
-
* the button should be only to open the associated dialog when clicked.
|
214
|
-
*/
|
215
|
-
dialog?: ((props: Partial<DialogProps>) => JSX.Element) | undefined;
|
216
|
-
/** Hanger component associated with the button. */
|
217
|
-
hanger?: ((props: Partial<HangerProps>) => JSX.Element) | undefined;
|
218
|
-
/** Set which icon should be rendered within button */
|
219
|
-
icon: IconName;
|
220
|
-
/** Menu component associated with the button. */
|
221
|
-
menu?: ((props: Partial<MenuProps>) => JSX.Element) | undefined;
|
222
|
-
/**
|
223
|
-
* Popover component associated with the button, clicking the button will open the popover.
|
224
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
225
|
-
* the button should be only to open the associated popover when clicked.
|
226
|
-
*/
|
227
|
-
popover?: ((props: Partial<PopoverProps>) => JSX.Element) | undefined;
|
228
|
-
/**
|
229
|
-
* Set whether the button is rounded.
|
230
|
-
* Default value is `false`
|
231
|
-
*/
|
232
|
-
rounded?: boolean | undefined;
|
233
|
-
/** A tooltip to show when hovering over the button */
|
234
|
-
tooltip?: string | undefined;
|
235
|
-
} & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
236
|
-
export type CalendarTextsActions = {
|
237
|
-
/** Aria-label for previous month action button */
|
238
|
-
previousMonth: string;
|
239
|
-
/** Aria-label for next month action button */
|
240
|
-
nextMonth: string;
|
241
|
-
/** Aria-label for previous year action button */
|
242
|
-
previousYear: string;
|
243
|
-
/** Aria-label for next year action button */
|
244
|
-
nextYear: string;
|
245
|
-
/** Text displayed within today action button */
|
246
|
-
today: string;
|
247
|
-
};
|
248
|
-
export type CalendarTexts = {
|
249
|
-
/** Text and aria-label for action buttons in Calendar */
|
250
|
-
actions: CalendarTextsActions;
|
251
|
-
/** Text abbreviation for months in Calendar's header, starting with January */
|
252
|
-
months: string[];
|
253
|
-
/** Text abbreviation for days in Calendar's header, starting with Sunday */
|
254
|
-
weekdaysShort: string[];
|
255
|
-
};
|
256
|
-
export type CalendarProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'value'> & {
|
257
|
-
/** Handler called when a day is clicked in calendar */
|
258
|
-
onChange: (date: Date, event?: React.MouseEvent<HTMLDivElement>) => void;
|
259
|
-
value?: Date;
|
260
|
-
disabledDays?: Modifier[];
|
261
|
-
};
|
262
|
-
export const Calendar: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "onChange"> & {
|
263
|
-
/** Handler called when a day is clicked in calendar */
|
264
|
-
onChange: (date: Date, event?: React.MouseEvent<HTMLDivElement>) => void;
|
265
|
-
value?: Date | undefined;
|
266
|
-
disabledDays?: Modifier[] | undefined;
|
267
|
-
} & React.RefAttributes<ReactDayPicker>>;
|
268
|
-
export const useMergedRef: <T extends HTMLElement>(ref: React.Ref<HTMLElement>) => React.RefObject<T>;
|
269
|
-
export type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
270
|
-
/** Shows a button within the input field */
|
271
|
-
button?: React.ReactElement;
|
272
|
-
/** Shows an icon within the input field */
|
273
|
-
icon?: IconName | JSX.Element;
|
274
|
-
/** Draws attention to the input by changing its style and making it visually prominent */
|
275
|
-
highlighted?: boolean;
|
276
|
-
invalid?: boolean;
|
277
|
-
};
|
278
|
-
export const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
|
279
|
-
/** Shows a button within the input field */
|
280
|
-
button?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
281
|
-
/** Shows an icon within the input field */
|
282
|
-
icon?: JSX.Element | IconName | undefined;
|
283
|
-
/** Draws attention to the input by changing its style and making it visually prominent */
|
284
|
-
highlighted?: boolean | undefined;
|
285
|
-
invalid?: boolean | undefined;
|
286
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
287
|
-
export const getNextIndexFromKey: (key: string, length: number, index: number | undefined, direction?: Orientation) => number | undefined;
|
288
|
-
export type useListKeyboardNavigationOptions = {
|
289
|
-
direction?: Orientation;
|
290
|
-
initialIndex?: number;
|
291
|
-
};
|
292
|
-
export const useListKeyboardNavigation: (length?: number, options?: useListKeyboardNavigationOptions) => [number | undefined, (index: number | undefined) => void, (event: React.KeyboardEvent<HTMLElement>) => number | undefined];
|
293
|
-
export const useListScrollTo: (internalRef: any, itemRefs: any[]) => any;
|
294
|
-
export type SpinnerProps = React.HTMLAttributes<HTMLDivElement> & {
|
295
|
-
/**
|
296
|
-
* Define a delay in milliseconds after which the spinner is shown.
|
297
|
-
* Default value is `500`ms
|
298
|
-
*/
|
299
|
-
delay?: number;
|
300
|
-
/** Define a text that will be displayed below spinner */
|
301
|
-
label?: string;
|
302
|
-
};
|
303
|
-
export const Spinner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
304
|
-
/**
|
305
|
-
* Define a delay in milliseconds after which the spinner is shown.
|
306
|
-
* Default value is `500`ms
|
307
|
-
*/
|
308
|
-
delay?: number | undefined;
|
309
|
-
/** Define a text that will be displayed below spinner */
|
310
|
-
label?: string | undefined;
|
311
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
312
|
-
type CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onChange'> & {
|
313
|
-
highlighted?: boolean;
|
314
|
-
/**
|
315
|
-
* Indeterminate state should only be used with sub-checkboxes. The indeterminate state is shown if not all
|
316
|
-
* sub-checkboxes are selected. This only affects the style, changing the icon in the checkbox.
|
317
|
-
*/
|
318
|
-
indeterminate?: boolean;
|
319
|
-
invalid?: boolean;
|
320
|
-
/** Label for the checkbox */
|
321
|
-
label?: React.ReactNode;
|
322
|
-
required?: boolean;
|
323
|
-
};
|
324
|
-
interface UncontrolledCheckboxProps extends CheckboxBaseProps {
|
325
|
-
checked?: never;
|
326
|
-
onChange?: never;
|
327
|
-
defaultChecked?: boolean;
|
328
|
-
}
|
329
|
-
interface ControlledCheckboxProps extends CheckboxBaseProps {
|
330
|
-
defaultChecked?: never;
|
331
|
-
checked: boolean;
|
332
|
-
onChange: (checked: boolean) => void;
|
333
|
-
}
|
334
|
-
export type CheckboxProps = UncontrolledCheckboxProps | ControlledCheckboxProps;
|
335
|
-
export const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
336
|
-
type ScrollableListItemValue = string | number | boolean | null;
|
337
|
-
type ScrollableListItem = {
|
338
|
-
/**
|
339
|
-
* Set whether the item is disabled.
|
340
|
-
* This will both change the style and make the item unselectable
|
341
|
-
*/
|
342
|
-
disabled?: boolean;
|
343
|
-
hasChildren?: boolean;
|
344
|
-
/** Place an icon before the item's text */
|
345
|
-
icon?: React.ReactElement;
|
346
|
-
path?: string;
|
347
|
-
/** Text describing the item */
|
348
|
-
text: string | JSX.Element;
|
349
|
-
/** Value of the item */
|
350
|
-
value: ScrollableListItemValue;
|
351
|
-
/** Child items to show hierarchical data */
|
352
|
-
children?: ScrollableListItem[];
|
353
|
-
};
|
354
|
-
export const useBoundingClientRectListener: (ref: React.RefObject<HTMLElement>, dependencies?: Array<any>) => DOMRectReadOnly | undefined;
|
355
|
-
type DialogContext = {
|
356
|
-
closeOnEscape: boolean;
|
357
|
-
draggable: boolean;
|
358
|
-
drawer: {
|
359
|
-
open: boolean;
|
360
|
-
toggle: () => void;
|
361
|
-
};
|
362
|
-
elements: {
|
363
|
-
drawer?: React.ReactNode;
|
364
|
-
extra?: React.ReactNode;
|
365
|
-
};
|
366
|
-
onClose?: () => void;
|
367
|
-
props: Record<string, any>;
|
368
|
-
ref: React.Ref<HTMLElement>;
|
369
|
-
showCloseButton: boolean;
|
370
|
-
size: DialogSize;
|
371
|
-
};
|
372
|
-
declare const DialogContext: React.Context<DialogContext>;
|
373
|
-
type DialogTriggerProps = React.HTMLAttributes<HTMLButtonElement>;
|
374
|
-
export type DialogContentDrawerRenderProps = DialogContext['drawer'];
|
375
|
-
export type DialogContentRenderProps = {
|
376
|
-
close: () => void;
|
377
|
-
drawer?: DialogContentDrawerRenderProps;
|
378
|
-
};
|
379
|
-
export type DialogTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
380
|
-
export type DialogFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
381
|
-
export type DialogCloseProps = React.HTMLAttributes<HTMLButtonElement>;
|
382
|
-
export type DialogContentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
383
|
-
/** An accessible label to be announced when the dialog is opened */
|
384
|
-
'aria-label': string;
|
385
|
-
children: Omit<React.ReactNode, 'Function'> | ((props: DialogContentRenderProps) => JSX.Element);
|
386
|
-
};
|
387
|
-
export type DialogDrawerRenderProps = DialogContext['drawer'];
|
388
|
-
export type DialogDrawerProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'> & {
|
389
|
-
children: Omit<React.ReactNode, 'Function'> | ((props: DialogDrawerRenderProps) => React.ReactNode);
|
390
|
-
};
|
391
|
-
type DialogExtraProps = React.HTMLAttributes<HTMLDivElement>;
|
392
|
-
export type DialogTexts = {
|
393
|
-
/**
|
394
|
-
* Aria-label for close icon button in dialog.
|
395
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
396
|
-
*/
|
397
|
-
close: string;
|
398
|
-
drag: string;
|
399
|
-
};
|
400
|
-
export type DialogProps = {
|
401
|
-
children: React.ReactNode | React.ReactNode[];
|
402
|
-
/** When `true`, pressing escape will close the dialog */
|
403
|
-
closeOnEscape?: boolean;
|
404
|
-
/** Set whether the dialog is open by default or not, use when not providing a trigger */
|
405
|
-
defaultOpen?: boolean;
|
406
|
-
/** Allows dragging the dialog around the screen (window constrained) */
|
407
|
-
draggable?: boolean;
|
408
|
-
/** Handler called when dialog closes by user interaction */
|
409
|
-
onClose?: () => void;
|
410
|
-
/** Called when the dialog opens or closes, must be used in conjunction with open */
|
411
|
-
onChange?: (open: boolean) => void;
|
412
|
-
/** Control the open state of the dialog from outside the component */
|
413
|
-
open?: boolean;
|
414
|
-
/** Shows the close icon button of the dialog */
|
415
|
-
showCloseButton?: boolean;
|
416
|
-
/** Size of the dialog. This is the recommended way to set a size for dialog component. */
|
417
|
-
size?: DialogSize;
|
418
|
-
/** A trigger to be used for the dialog, should not be set if `children` already contains a trigger */
|
419
|
-
trigger?: JSX.Element;
|
420
|
-
};
|
421
|
-
export type ForwardedDialogWithStatics = React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLElement>> & {
|
422
|
-
Trigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
423
|
-
Content: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
424
|
-
Title: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
425
|
-
Footer: React.ForwardRefExoticComponent<DialogFooterProps & React.RefAttributes<HTMLDivElement>>;
|
426
|
-
Extra: React.ForwardRefExoticComponent<DialogExtraProps & React.RefAttributes<HTMLDivElement>>;
|
427
|
-
Drawer: React.ForwardRefExoticComponent<DialogDrawerProps & React.RefAttributes<HTMLDivElement>>;
|
428
|
-
Close: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
429
|
-
};
|
430
|
-
export const Dialog: ForwardedDialogWithStatics;
|
431
|
-
export type ComboboxTexts = {
|
432
|
-
tooltip: string;
|
433
|
-
};
|
434
|
-
export type ComboboxItem = ScrollableListItem;
|
435
|
-
export type ComboboxValue = ScrollableListItemValue;
|
436
|
-
type ComboboxBaseProps = Omit<InputProps, 'defaultValue' | 'button' | 'onChange' | 'value'> & {
|
437
|
-
/** Array of options in combobox */
|
438
|
-
data?: ComboboxItem[];
|
439
|
-
/**
|
440
|
-
* Initial value of the input in combobox.
|
441
|
-
* This is used when combobox is mounted, if no value is provided.
|
442
|
-
* *Note* that combobox is a controlled component, setting this will also trigger the `onChange` event
|
443
|
-
*/
|
444
|
-
defaultValue?: ComboboxValue;
|
445
|
-
/** Set what value should have an empty option in combobox */
|
446
|
-
emptyValue?: ComboboxValue;
|
447
|
-
/** Draws attention to the combobox by changing its style and making it visually prominent */
|
448
|
-
highlighted?: boolean;
|
449
|
-
/** Displays loading state in listbox */
|
450
|
-
loading?: boolean;
|
451
|
-
/**
|
452
|
-
* Handler called when user chooses an option from the provided suggestions.
|
453
|
-
* Suggestions will be calculated based on the input value.
|
454
|
-
* There are two ways to choose an option: either click on it, or navigate using keyboard and press `enter`
|
455
|
-
*/
|
456
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
457
|
-
/** Handler called when the user enters a query **/
|
458
|
-
onSearch?: (query: string) => void | Promise<void>;
|
459
|
-
/** Value of the input in combobox */
|
460
|
-
value?: ComboboxValue;
|
461
|
-
};
|
462
|
-
interface InlineComboboxProps extends ComboboxBaseProps {
|
463
|
-
dialog?: never;
|
464
|
-
/**
|
465
|
-
* Combobox will display its data when input is clicked/focused, even if the input is empty.
|
466
|
-
* *Note* that default combobox will display matching data only when user starts typing in input.
|
467
|
-
*/
|
468
|
-
inline: boolean;
|
469
|
-
}
|
470
|
-
interface DialogComboboxProps extends ComboboxBaseProps {
|
471
|
-
dialog: (props: Partial<DialogProps>) => JSX.Element;
|
472
|
-
inline?: never;
|
473
|
-
}
|
474
|
-
export type ComboboxProps = InlineComboboxProps | DialogComboboxProps;
|
475
|
-
export const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
|
476
|
-
export type HangerTexts = {
|
477
|
-
/** Aria-label for the close icon button of hanger */
|
478
|
-
close: string;
|
479
|
-
};
|
480
|
-
export type HangerAnchorProps = React.HTMLAttributes<HTMLDivElement>;
|
481
|
-
export type HangerTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
482
|
-
export const Title: React.ForwardRefExoticComponent<HangerTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
483
|
-
export type HangerContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
484
|
-
/** Set the position of the Hanger relative to its achor. Default value is `bottom` */
|
485
|
-
placement?: Placement;
|
486
|
-
};
|
487
|
-
export type HangerProps = React.PropsWithChildren<{
|
488
|
-
/** An anchor to be used for the hanger, should not be set if `children` already contains an anchor */
|
489
|
-
anchor?: JSX.Element;
|
490
|
-
/**
|
491
|
-
* Shows or hides hanger depending on the value
|
492
|
-
* @defaultValue true
|
493
|
-
*/
|
494
|
-
defaultOpen?: boolean;
|
495
|
-
/** Handler called when user closes the hanger */
|
496
|
-
onClose?: () => void;
|
497
|
-
}>;
|
498
|
-
export type ForwardedHangerWithStatics = React.ForwardRefExoticComponent<HangerProps & React.RefAttributes<HTMLElement>> & {
|
499
|
-
Anchor: React.ForwardRefExoticComponent<HangerAnchorProps>;
|
500
|
-
Content: React.ForwardRefExoticComponent<HangerContentProps>;
|
501
|
-
Title: React.ForwardRefExoticComponent<HangerTitleProps>;
|
502
|
-
};
|
503
|
-
export const Hanger: ForwardedHangerWithStatics;
|
504
|
-
type MenuContentProps = Omit<DropdownMenuPrimitive.DropdownMenuContentProps, 'children' | 'side'> & {
|
505
|
-
align?: Align;
|
506
|
-
children: React.ReactNode;
|
507
|
-
/** Set the position of the Menu relative to its trigger. Default value is `bottom` */
|
508
|
-
placement?: Placement;
|
509
|
-
};
|
510
|
-
type MenuItemProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
511
|
-
dialog?: (props: Partial<DialogProps>) => JSX.Element;
|
512
|
-
disabled?: boolean;
|
513
|
-
icon?: IconName;
|
514
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
515
|
-
shortcut?: string;
|
516
|
-
};
|
517
|
-
type MenuLinkItemProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
518
|
-
disabled?: boolean;
|
519
|
-
icon?: IconName;
|
520
|
-
href: string;
|
521
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
522
|
-
};
|
523
|
-
type MenuTriggerProps = Omit<React.HTMLAttributes<HTMLButtonElement>, 'children'> & {
|
524
|
-
children: React.ReactElement;
|
525
|
-
};
|
526
|
-
type MenuCheckboxItemProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
527
|
-
disabled?: boolean;
|
528
|
-
checked: boolean;
|
529
|
-
onChange: (checked: boolean | 'indeterminate') => void;
|
530
|
-
};
|
531
|
-
export type RadioGroupItemValue = string | number | boolean | null;
|
532
|
-
export const getRadioGroupItemValueAsString: (value: RadioGroupItemValue) => string;
|
533
|
-
export const findByValue: (values: RadioGroupItemValue[], valueAsString: string) => RadioGroupItemValue;
|
534
|
-
export type RadioGroupItemProps<T = HTMLButtonElement> = Omit<React.ButtonHTMLAttributes<T>, 'children' | 'onSelect' | 'value'> & {
|
535
|
-
/** Label for the radio group item */
|
536
|
-
children: React.ReactNode;
|
537
|
-
disabled?: boolean;
|
538
|
-
/** Value of the radio button */
|
539
|
-
value: RadioGroupItemValue;
|
540
|
-
};
|
541
|
-
type ReactGroupBaseChild = React.ReactElement<RadioGroupItemProps> | boolean | null;
|
542
|
-
type RadioGroupBaseProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'value'> & {
|
543
|
-
children: ReactGroupBaseChild[];
|
544
|
-
disabled?: boolean;
|
545
|
-
invalid?: boolean;
|
546
|
-
/** The name of the radio group, used when submitting an HTML form */
|
547
|
-
name?: string;
|
548
|
-
/**
|
549
|
-
* Orientation of the radio group
|
550
|
-
* @defaultValue vertical
|
551
|
-
*/
|
552
|
-
orientation?: Orientation;
|
553
|
-
required?: boolean;
|
554
|
-
};
|
555
|
-
interface UncontrolledRadioGroupProps extends RadioGroupBaseProps {
|
556
|
-
defaultValue?: RadioGroupItemValue;
|
557
|
-
onChange?: never;
|
558
|
-
value?: never;
|
559
|
-
}
|
560
|
-
interface ControlledRadioGroupProps extends RadioGroupBaseProps {
|
561
|
-
defaultValue?: never;
|
562
|
-
/** Handler called when the value changes */
|
563
|
-
onChange: (value: RadioGroupItemValue) => void;
|
564
|
-
/** The current value (controlled) */
|
565
|
-
value?: RadioGroupItemValue;
|
566
|
-
}
|
567
|
-
export type RadioGroupProps = UncontrolledRadioGroupProps | ControlledRadioGroupProps;
|
568
|
-
export type ForwardedRadioGroupWithStatics = React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>> & {
|
569
|
-
/** Item component rendered in a `RadioGroup` component */
|
570
|
-
Item: React.ForwardRefExoticComponent<RadioGroupItemProps>;
|
571
|
-
};
|
572
|
-
export const useRadioGroup: (props: RadioGroupProps) => {
|
573
|
-
context: {
|
574
|
-
disabled: boolean;
|
575
|
-
invalid: boolean;
|
576
|
-
};
|
577
|
-
props: any;
|
578
|
-
};
|
579
|
-
export const RadioGroup: ForwardedRadioGroupWithStatics;
|
580
|
-
type MenuRadioGroupItemProps = RadioGroupItemProps<HTMLDivElement>;
|
581
|
-
type MenuRadioGroupProps = RadioGroupProps;
|
582
|
-
type ForwardedMenuRadioGroupWithStatics = React.ForwardRefExoticComponent<MenuRadioGroupProps & React.RefAttributes<HTMLElement>> & {
|
583
|
-
Item: React.FunctionComponent<MenuRadioGroupItemProps>;
|
584
|
-
};
|
585
|
-
type MenuHeaderProps = React.HTMLAttributes<HTMLDivElement>;
|
586
|
-
export type MenuProps = {
|
587
|
-
children: React.ReactNode;
|
588
|
-
/** Set whether the menu is open by default or not */
|
589
|
-
defaultOpen?: boolean;
|
590
|
-
/** Called when the menu opens or closes, must be used in conjunction with open */
|
591
|
-
onChange?: (open: boolean) => void;
|
592
|
-
/** Control the open state of the menu from outside the component */
|
593
|
-
open?: boolean;
|
594
|
-
/** A trigger to be used for the menu, should not be set if `children` already contains a trigger */
|
595
|
-
trigger?: JSX.Element;
|
596
|
-
};
|
597
|
-
export type ForwardedMenuWithStatics = React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<HTMLElement>> & {
|
598
|
-
Trigger: React.ForwardRefExoticComponent<MenuTriggerProps>;
|
599
|
-
Content: React.ForwardRefExoticComponent<MenuContentProps>;
|
600
|
-
Item: React.ForwardRefExoticComponent<MenuItemProps>;
|
601
|
-
Link: React.ForwardRefExoticComponent<MenuLinkItemProps>;
|
602
|
-
Checkbox: React.ForwardRefExoticComponent<MenuCheckboxItemProps>;
|
603
|
-
Separator: React.FunctionComponent;
|
604
|
-
Header: React.ForwardRefExoticComponent<MenuHeaderProps>;
|
605
|
-
RadioGroup: ForwardedMenuRadioGroupWithStatics;
|
606
|
-
};
|
607
|
-
export const Menu: ForwardedMenuWithStatics;
|
608
|
-
export type PopoverTriggerProps = React.HTMLAttributes<HTMLElement>;
|
609
|
-
export type PopoverContentRenderProps = {
|
610
|
-
close: () => void;
|
611
|
-
};
|
612
|
-
export type PopoverContentProps = Omit<PopoverPrimitive.PopoverContentProps, 'side'> & {
|
613
|
-
children: React.ReactNode | ((props: PopoverContentRenderProps) => React.ReactNode);
|
614
|
-
/** Set the position of the Popover relative to its trigger. Default value is `bottom` */
|
615
|
-
placement?: Placement;
|
616
|
-
};
|
617
|
-
export type PopoverCloseProps = React.HTMLAttributes<HTMLButtonElement>;
|
618
|
-
export type PopoverProps = React.PropsWithChildren<{
|
619
|
-
modal?: boolean;
|
620
|
-
/** A trigger to be used for the popover, should not be set if `children` already contains a trigger */
|
621
|
-
trigger?: JSX.Element;
|
622
|
-
/** Set whether the popover is open by default or not, use when not providing a trigger */
|
623
|
-
defaultOpen?: boolean;
|
624
|
-
/** Control the open state of the popover from outside the component */
|
625
|
-
open?: boolean;
|
626
|
-
/** Called when the popover opens or closes, must be used in conjunction with open */
|
627
|
-
onChange?: (open: boolean) => void;
|
628
|
-
}>;
|
629
|
-
export type ForwardedPopoverWithStatics = React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLElement>> & {
|
630
|
-
Trigger: React.ForwardRefExoticComponent<PopoverTriggerProps>;
|
631
|
-
Content: React.ForwardRefExoticComponent<PopoverContentProps>;
|
632
|
-
Close: React.ForwardRefExoticComponent<PopoverCloseProps>;
|
633
|
-
Portal: React.FunctionComponent<PopoverPrimitive.PortalProps>;
|
634
|
-
};
|
635
|
-
export const Popover: ForwardedPopoverWithStatics;
|
636
|
-
export type ButtonProps = _ButtonProps1 & {
|
637
|
-
/** Appearance will change the style of the button */
|
638
|
-
appearance?: Appearance;
|
639
|
-
/**
|
640
|
-
* Dialog component associated with the button, clicking the button will open the dialog.
|
641
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
642
|
-
* the button should be only to open the associated dialog when clicked.
|
643
|
-
*/
|
644
|
-
dialog?: (props: Partial<DialogProps>) => JSX.Element;
|
645
|
-
/** If fluid, button expands to the width of it's container */
|
646
|
-
fluid?: boolean;
|
647
|
-
/** Hanger component associated with the button. */
|
648
|
-
hanger?: (props: Partial<HangerProps>) => JSX.Element;
|
649
|
-
/** Menu component associated with the button. */
|
650
|
-
menu?: (props: Partial<MenuProps>) => JSX.Element;
|
651
|
-
/**
|
652
|
-
* Popover component associated with the button, clicking the button will open the popover.
|
653
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
654
|
-
* the button should be only to open the associated popover when clicked.
|
655
|
-
*/
|
656
|
-
popover?: (props: Partial<PopoverProps>) => JSX.Element;
|
657
|
-
/** A tooltip to show when hovering over the button */
|
658
|
-
tooltip?: string;
|
659
|
-
};
|
660
|
-
export const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLAnchorElement | HTMLButtonElement> & {
|
661
|
-
children: React.ReactNode;
|
662
|
-
href?: string | undefined;
|
663
|
-
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
664
|
-
} & {
|
665
|
-
/** Appearance will change the style of the button */
|
666
|
-
appearance?: Appearance | undefined;
|
667
|
-
/**
|
668
|
-
* Dialog component associated with the button, clicking the button will open the dialog.
|
669
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
670
|
-
* the button should be only to open the associated dialog when clicked.
|
671
|
-
*/
|
672
|
-
dialog?: ((props: Partial<DialogProps>) => JSX.Element) | undefined;
|
673
|
-
/** If fluid, button expands to the width of it's container */
|
674
|
-
fluid?: boolean | undefined;
|
675
|
-
/** Hanger component associated with the button. */
|
676
|
-
hanger?: ((props: Partial<HangerProps>) => JSX.Element) | undefined;
|
677
|
-
/** Menu component associated with the button. */
|
678
|
-
menu?: ((props: Partial<MenuProps>) => JSX.Element) | undefined;
|
679
|
-
/**
|
680
|
-
* Popover component associated with the button, clicking the button will open the popover.
|
681
|
-
* *Note* that `onClick` event on button won't be handled, as in this case, the purpose of
|
682
|
-
* the button should be only to open the associated popover when clicked.
|
683
|
-
*/
|
684
|
-
popover?: ((props: Partial<PopoverProps>) => JSX.Element) | undefined;
|
685
|
-
/** A tooltip to show when hovering over the button */
|
686
|
-
tooltip?: string | undefined;
|
687
|
-
} & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
688
|
-
export type ListboxItem = ScrollableListItem;
|
689
|
-
export type ListboxValue = ScrollableListItemValue;
|
690
|
-
export type ListboxTexts = {
|
691
|
-
/**
|
692
|
-
* Text displayed in the listbox if no data provided.
|
693
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
694
|
-
*/
|
695
|
-
empty: string;
|
696
|
-
/**
|
697
|
-
* Text displayed in the listbox to indicate the data is loading.
|
698
|
-
* Read more about how to provide the text in [Provider](component:provider) component
|
699
|
-
*/
|
700
|
-
loading: string;
|
701
|
-
/**
|
702
|
-
* The first option displayed in a multiselect listbox that selects all available options.
|
703
|
-
* Read more about how to provide the text in [Provider](component:provider) component
|
704
|
-
*/
|
705
|
-
allOption: string;
|
706
|
-
};
|
707
|
-
export type ListboxProps = Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onFocus'> & Omit<React.InputHTMLAttributes<HTMLElement>, 'defaultValue' | 'onChange' | 'value'> & {
|
708
|
-
/** Data indicating the options in listbox */
|
709
|
-
data?: ListboxItem[];
|
710
|
-
/**
|
711
|
-
* Initial value of the listbox.
|
712
|
-
* This is used when listbox is mounted, if no value is provided.
|
713
|
-
* *Note* that listbox is a controlled component, setting this will also trigger the `onChange` event
|
714
|
-
*/
|
715
|
-
defaultValue?: ListboxValue;
|
716
|
-
/** Set what value should have an empty option in listbox */
|
717
|
-
emptyValue?: ListboxValue;
|
718
|
-
/** Draws attention to the listbox by changing its style and making it visually prominent */
|
719
|
-
highlighted?: boolean;
|
720
|
-
invalid?: boolean;
|
721
|
-
/**
|
722
|
-
* Shows a loading indicator with a text next to it.
|
723
|
-
* Read more about how to provide the text in [Provider](component:provider) component
|
724
|
-
*/
|
725
|
-
loading?: boolean;
|
726
|
-
/**
|
727
|
-
* Value of the listbox representing the selected item.
|
728
|
-
* It needs to be an existing value from the provided data
|
729
|
-
*/
|
730
|
-
value?: ListboxValue;
|
731
|
-
};
|
732
|
-
export const Listbox: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "onFocus" | "onChange"> & Omit<React.InputHTMLAttributes<HTMLElement>, "value" | "defaultValue" | "onChange"> & {
|
733
|
-
/** Data indicating the options in listbox */
|
734
|
-
data?: ScrollableListItem[] | undefined;
|
735
|
-
/**
|
736
|
-
* Initial value of the listbox.
|
737
|
-
* This is used when listbox is mounted, if no value is provided.
|
738
|
-
* *Note* that listbox is a controlled component, setting this will also trigger the `onChange` event
|
739
|
-
*/
|
740
|
-
defaultValue?: ScrollableListItemValue | undefined;
|
741
|
-
/** Set what value should have an empty option in listbox */
|
742
|
-
emptyValue?: ScrollableListItemValue | undefined;
|
743
|
-
/** Draws attention to the listbox by changing its style and making it visually prominent */
|
744
|
-
highlighted?: boolean | undefined;
|
745
|
-
invalid?: boolean | undefined;
|
746
|
-
/**
|
747
|
-
* Shows a loading indicator with a text next to it.
|
748
|
-
* Read more about how to provide the text in [Provider](component:provider) component
|
749
|
-
*/
|
750
|
-
loading?: boolean | undefined;
|
751
|
-
/**
|
752
|
-
* Value of the listbox representing the selected item.
|
753
|
-
* It needs to be an existing value from the provided data
|
754
|
-
*/
|
755
|
-
value?: ScrollableListItemValue | undefined;
|
756
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
757
|
-
export const MultiListbox: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "onFocus" | "onChange"> & Omit<React.InputHTMLAttributes<HTMLElement>, "value" | "defaultValue" | "onChange"> & {
|
758
|
-
/** Data indicating the options in listbox */
|
759
|
-
data?: ScrollableListItem[] | undefined;
|
760
|
-
/**
|
761
|
-
* Initial value of the listbox.
|
762
|
-
* This is used when listbox is mounted, if no value is provided.
|
763
|
-
* *Note* that listbox is a controlled component, setting this will also trigger the `onChange` event
|
764
|
-
*/
|
765
|
-
defaultValue?: ScrollableListItemValue | undefined;
|
766
|
-
/** Set what value should have an empty option in listbox */
|
767
|
-
emptyValue?: ScrollableListItemValue | undefined;
|
768
|
-
/** Draws attention to the listbox by changing its style and making it visually prominent */
|
769
|
-
highlighted?: boolean | undefined;
|
770
|
-
invalid?: boolean | undefined;
|
771
|
-
/**
|
772
|
-
* Shows a loading indicator with a text next to it.
|
773
|
-
* Read more about how to provide the text in [Provider](component:provider) component
|
774
|
-
*/
|
775
|
-
loading?: boolean | undefined;
|
776
|
-
/**
|
777
|
-
* Value of the listbox representing the selected item.
|
778
|
-
* It needs to be an existing value from the provided data
|
779
|
-
*/
|
780
|
-
value?: ScrollableListItemValue | undefined;
|
781
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
782
|
-
export type SelectTexts = {
|
783
|
-
/**
|
784
|
-
* The text displayed when all options are selected when multiselect mode in on.
|
785
|
-
*/
|
786
|
-
allOptionsSelected: string;
|
787
|
-
};
|
788
|
-
export type BaseSelectProps = Omit<ListboxProps, 'dialog'> & Omit<ComboboxProps, 'inline'> & {
|
789
|
-
/**
|
790
|
-
* Allows to select multiple values.
|
791
|
-
* All the selected values will be combined in a comma-seperated string as the value of the input.
|
792
|
-
*/
|
793
|
-
multiselect?: boolean;
|
794
|
-
};
|
795
|
-
export type SelectProps = BaseSelectProps & {
|
796
|
-
/**
|
797
|
-
* Creates an editable select.
|
798
|
-
* Setting this will render a inline Combobox which will display the provided data on click/focus,
|
799
|
-
* even if there is no value in the input.
|
800
|
-
* After user starts typing, matching data will be displayed.
|
801
|
-
*/
|
802
|
-
editable?: boolean;
|
803
|
-
};
|
804
|
-
export const Select: React.ForwardRefExoticComponent<Omit<ListboxProps, "dialog"> & Omit<ComboboxProps, "inline"> & {
|
805
|
-
/**
|
806
|
-
* Allows to select multiple values.
|
807
|
-
* All the selected values will be combined in a comma-seperated string as the value of the input.
|
808
|
-
*/
|
809
|
-
multiselect?: boolean | undefined;
|
810
|
-
} & {
|
811
|
-
/**
|
812
|
-
* Creates an editable select.
|
813
|
-
* Setting this will render a inline Combobox which will display the provided data on click/focus,
|
814
|
-
* even if there is no value in the input.
|
815
|
-
* After user starts typing, matching data will be displayed.
|
816
|
-
*/
|
817
|
-
editable?: boolean | undefined;
|
818
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
819
|
-
export type GroupProps = React.HTMLAttributes<HTMLElement> & {
|
820
|
-
/**
|
821
|
-
* Change what html tag element will render.
|
822
|
-
* Default value is `span`
|
823
|
-
*/
|
824
|
-
as?: 'div' | 'span' | 'nav';
|
825
|
-
/** Content should be composed of other Taco elements */
|
826
|
-
children: React.ReactNode;
|
827
|
-
/**
|
828
|
-
* Define orientation of grouping.
|
829
|
-
* @defaultValue horizontal
|
830
|
-
*/
|
831
|
-
orientation?: Orientation;
|
832
|
-
};
|
833
|
-
export const Group: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
834
|
-
/**
|
835
|
-
* Change what html tag element will render.
|
836
|
-
* Default value is `span`
|
837
|
-
*/
|
838
|
-
as?: "div" | "nav" | "span" | undefined;
|
839
|
-
/** Content should be composed of other Taco elements */
|
840
|
-
children: React.ReactNode;
|
841
|
-
/**
|
842
|
-
* Define orientation of grouping.
|
843
|
-
* @defaultValue horizontal
|
844
|
-
*/
|
845
|
-
orientation?: Orientation | undefined;
|
846
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
847
|
-
export type usePaginationValues = {
|
848
|
-
/** Current page index (zero based) */
|
849
|
-
pageIndex: number;
|
850
|
-
/** Number of items displayed on a page */
|
851
|
-
pageSize: number;
|
852
|
-
/** Handler called when navigating through pages */
|
853
|
-
setPageIndex: (pageIndex: number) => void;
|
854
|
-
/** Handler called when changing the size of the page */
|
855
|
-
setPageSize: (size: number) => void;
|
856
|
-
};
|
857
|
-
export const usePagination: (initialPageIndex?: number, initialPageSize?: number) => usePaginationValues;
|
858
|
-
export type PaginationTextsActions = {
|
859
|
-
/**
|
860
|
-
* Aria-label for first page action button.
|
861
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
862
|
-
*/
|
863
|
-
firstPage: string;
|
864
|
-
/**
|
865
|
-
* Aria-label for first page action button with shortcut.
|
866
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
867
|
-
*/
|
868
|
-
firstPageWithShortcut: string;
|
869
|
-
/**
|
870
|
-
* Aria-label for next page action button.
|
871
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
872
|
-
*/
|
873
|
-
nextPage: string;
|
874
|
-
/**
|
875
|
-
* Aria-label for next page action button with shortcut.
|
876
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
877
|
-
*/
|
878
|
-
nextPageWithShortcut: string;
|
879
|
-
/**
|
880
|
-
* Aria-label for previous page action button.
|
881
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
882
|
-
*/
|
883
|
-
previousPage: string;
|
884
|
-
/**
|
885
|
-
* Aria-label for previous page action button with shortcut.
|
886
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
887
|
-
*/
|
888
|
-
previousPageWithShortcut: string;
|
889
|
-
/**
|
890
|
-
* Aria-label for last page action button.
|
891
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
892
|
-
*/
|
893
|
-
lastPage: string;
|
894
|
-
/**
|
895
|
-
* Aria-label for last page action button with shortcut.
|
896
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
897
|
-
*/
|
898
|
-
lastPageWithShortcut: string;
|
899
|
-
/**
|
900
|
-
* Aria-label for page X action button.
|
901
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
902
|
-
*/
|
903
|
-
pageX: string;
|
904
|
-
};
|
905
|
-
export type PaginationTexts = {
|
906
|
-
/**
|
907
|
-
* Aria-label provided for page numbers and page actions group.
|
908
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
909
|
-
*/
|
910
|
-
label: string;
|
911
|
-
/**
|
912
|
-
* Aria-label provided for page size selection.
|
913
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
914
|
-
*/
|
915
|
-
pageSize: string;
|
916
|
-
/**
|
917
|
-
* Text that indicates the number of the first and last element displayed on the current page, out of total items
|
918
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
919
|
-
*/
|
920
|
-
showingXofYofTotal: string;
|
921
|
-
/**
|
922
|
-
* Aria-labels provided for page action buttons.
|
923
|
-
* To read more about how to provide the text, see [Provider](component:provider) component
|
924
|
-
*/
|
925
|
-
actions: PaginationTextsActions;
|
926
|
-
};
|
927
|
-
export type PaginationProps = React.HTMLAttributes<HTMLDivElement> & usePaginationValues & {
|
928
|
-
/** Indicate total number of items that will be paginated */
|
929
|
-
length: number;
|
930
|
-
/** Page size options */
|
931
|
-
pageSizes?: number[];
|
932
|
-
/** Shows page controls */
|
933
|
-
showPageControls?: boolean;
|
934
|
-
/** Shows page numbers between navigation buttons, which allows users to quickly navigate to a specific page */
|
935
|
-
showPageNumbers?: boolean;
|
936
|
-
/** Shows a dropdown with page sizes, which allows user to change the number of items displayed on the page */
|
937
|
-
showPageSize?: boolean;
|
938
|
-
/** Enable pagination shortcuts */
|
939
|
-
dangerouslyHijackGlobalKeyboardNavigation?: boolean;
|
940
|
-
};
|
941
|
-
export const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & usePaginationValues & {
|
942
|
-
/** Indicate total number of items that will be paginated */
|
943
|
-
length: number;
|
944
|
-
/** Page size options */
|
945
|
-
pageSizes?: number[] | undefined;
|
946
|
-
/** Shows page controls */
|
947
|
-
showPageControls?: boolean | undefined;
|
948
|
-
/** Shows page numbers between navigation buttons, which allows users to quickly navigate to a specific page */
|
949
|
-
showPageNumbers?: boolean | undefined;
|
950
|
-
/** Shows a dropdown with page sizes, which allows user to change the number of items displayed on the page */
|
951
|
-
showPageSize?: boolean | undefined;
|
952
|
-
/** Enable pagination shortcuts */
|
953
|
-
dangerouslyHijackGlobalKeyboardNavigation?: boolean | undefined;
|
954
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
955
|
-
type ToastsTexts = {
|
956
|
-
/** Aria-label for the close icon button of toast */
|
957
|
-
dismiss: string;
|
958
|
-
};
|
959
|
-
type ToastType = Omit<State, 'default'> | 'loading';
|
960
|
-
type ToastOptions = {
|
961
|
-
/** Provide time in milliseconds after which the toast should autoclose */
|
962
|
-
autoClose?: number;
|
963
|
-
/**
|
964
|
-
* State will change the icon displayed in toast and other characteristics,
|
965
|
-
* for e.g. `loading` state will display a progress animation.
|
966
|
-
* Default value is `default`
|
967
|
-
*/
|
968
|
-
type?: ToastType;
|
969
|
-
};
|
970
|
-
type ToastContent = Omit<React.ReactNode, 'null' | 'undefined'>;
|
971
|
-
export const format: (date: Date | undefined, mask?: string) => string | undefined;
|
972
|
-
export const parseFromCustomString: (date?: string, mask?: string) => Date | undefined;
|
973
|
-
export const parseFromISOString: (date: string) => Date | undefined;
|
974
|
-
export type DatepickerTexts = {
|
975
|
-
/** Aria-label for calendar */
|
976
|
-
calendar: string;
|
977
|
-
/** Clear button text */
|
978
|
-
clear: string;
|
979
|
-
/**
|
980
|
-
* Aria-label for calendar icon button in the input.
|
981
|
-
* Calendar will open when user clicks this icon button.
|
982
|
-
*/
|
983
|
-
expand: string;
|
984
|
-
/** Shortcut heading text */
|
985
|
-
shortcuts: string;
|
986
|
-
};
|
987
|
-
export type DatePickerShortcut = {
|
988
|
-
onClick: (event: React.MouseEvent) => void;
|
989
|
-
text: string;
|
990
|
-
};
|
991
|
-
export type DatepickerProps = Omit<InputProps, 'value'> & {
|
992
|
-
/** [Calendar](component:calendar) component associated with the DatePicker */
|
993
|
-
calendar?: CalendarProps;
|
994
|
-
/** List of shortcuts */
|
995
|
-
shortcuts?: DatePickerShortcut[];
|
996
|
-
/** Title for the shortcuts panel */
|
997
|
-
shortcutsText?: string;
|
998
|
-
/** Handler to be called when the clear button is clicked */
|
999
|
-
onReset?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
1000
|
-
/**
|
1001
|
-
* Date value of the calendar.
|
1002
|
-
* This will be displayed in DatePicker's input in the format given to the [Provider](component:provider) component
|
1003
|
-
*/
|
1004
|
-
value?: Date;
|
1005
|
-
};
|
1006
|
-
export const Datepicker: React.ForwardRefExoticComponent<Omit<InputProps, "value"> & {
|
1007
|
-
/** [Calendar](component:calendar) component associated with the DatePicker */
|
1008
|
-
calendar?: CalendarProps | undefined;
|
1009
|
-
/** List of shortcuts */
|
1010
|
-
shortcuts?: DatePickerShortcut[] | undefined;
|
1011
|
-
/** Title for the shortcuts panel */
|
1012
|
-
shortcutsText?: string | undefined;
|
1013
|
-
/** Handler to be called when the clear button is clicked */
|
1014
|
-
onReset?: ((event: React.MouseEvent<HTMLButtonElement>) => void) | undefined;
|
1015
|
-
/**
|
1016
|
-
* Date value of the calendar.
|
1017
|
-
* This will be displayed in DatePicker's input in the format given to the [Provider](component:provider) component
|
1018
|
-
*/
|
1019
|
-
value?: Date | undefined;
|
1020
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
1021
|
-
export type TourTexts = {
|
1022
|
-
/** Text for back action button */
|
1023
|
-
back: string;
|
1024
|
-
/**
|
1025
|
-
* Text for close button.
|
1026
|
-
* This button is displayed if tour is not continuous - replacing the `Next` button.
|
1027
|
-
* It will pause the flow of the tour and close the tooltip
|
1028
|
-
*/
|
1029
|
-
close: string;
|
1030
|
-
/**
|
1031
|
-
* Aria-label and title for close icon button in each step.
|
1032
|
-
* This button skips and completes the flow entirely
|
1033
|
-
*/
|
1034
|
-
skip: string;
|
1035
|
-
/**
|
1036
|
-
* Text for last action button.
|
1037
|
-
* This button is displayed when user is on the last step of the tour
|
1038
|
-
*/
|
1039
|
-
last: string;
|
1040
|
-
/**
|
1041
|
-
* Text for next action button.
|
1042
|
-
* This button is displayed if tour has more than one steps and is continuous
|
1043
|
-
*/
|
1044
|
-
next: string;
|
1045
|
-
/** Aria label and title for beacon that will open the tour step */
|
1046
|
-
open: string;
|
1047
|
-
};
|
1048
|
-
export type TourStepProps = {
|
1049
|
-
/** Content can be any valid react node, for e.g. a `div` */
|
1050
|
-
children: React.ReactNode;
|
1051
|
-
/** Define the position of the tour's popup relative to the element is presenting */
|
1052
|
-
position?: _Placement1;
|
1053
|
-
/** The css selector of the html element you want to include in a tour */
|
1054
|
-
selector: string;
|
1055
|
-
/**
|
1056
|
-
* Show beacon for step.
|
1057
|
-
* A beacon is a styled component which indicates the current element to be presented.
|
1058
|
-
* For more informations about how to create a beacon, read [Joyride](https://docs.react-joyride.com) docs
|
1059
|
-
*/
|
1060
|
-
showBeacon?: boolean;
|
1061
|
-
/** Text displayed above the children/content of the popup */
|
1062
|
-
title: string;
|
1063
|
-
};
|
1064
|
-
export const TourStep: (_props: TourStepProps) => null;
|
1065
|
-
export type TourProps = {
|
1066
|
-
/** Controls if [Joyride](https://docs.react-joyride.com) is active */
|
1067
|
-
autoStart?: boolean;
|
1068
|
-
/** Children should be one or more `Tour.Step` components */
|
1069
|
-
children: any;
|
1070
|
-
/** Are there more than one steps and should you be able to navigate between them using `Next` and `Previous` buttons */
|
1071
|
-
continuous?: boolean;
|
1072
|
-
/** Disable closing of tour when click on `Escape` */
|
1073
|
-
disableCloseOnEsc?: boolean;
|
1074
|
-
/** Don't close the presenting popup of the tour step when clicking outside it */
|
1075
|
-
disableOverlayClose?: boolean;
|
1076
|
-
/** Allows user to interact with the presented components (mouse and touch events) when the popup is visible */
|
1077
|
-
disableScrolling?: boolean;
|
1078
|
-
onClose?: (step: TourStepProps) => void;
|
1079
|
-
onComplete?: Function;
|
1080
|
-
/** When step is ready */
|
1081
|
-
onReady?: (step: TourStepProps) => void;
|
1082
|
-
spotlightClicks?: boolean;
|
1083
|
-
disableScrollParentFix?: boolean;
|
1084
|
-
/** The scroll distance from the element scrollTop value. */
|
1085
|
-
scrollOffset?: number;
|
1086
|
-
};
|
1087
|
-
export const Tour: {
|
1088
|
-
(props: TourProps): JSX.Element;
|
1089
|
-
Step: (_props: TourStepProps) => null;
|
1090
|
-
};
|
1091
|
-
export type SortDirection = 'asc' | 'desc';
|
1092
|
-
export type SortTypes = 'datetime' | 'string' | 'number' | 'boolean' | 'auto';
|
1093
|
-
export type RowIndexPath = string | undefined;
|
1094
|
-
export type Row<TRow extends {}> = TRow & {
|
1095
|
-
subRows?: Row<TRow>[];
|
1096
|
-
};
|
1097
|
-
export type TableRow<TRow> = {
|
1098
|
-
/**
|
1099
|
-
* Index of the row.
|
1100
|
-
* Note: This index is relative to the root or parent row if it is a sub row
|
1101
|
-
* If you need full path of the row from the root, use indexPath
|
1102
|
-
*/
|
1103
|
-
index: number;
|
1104
|
-
/**
|
1105
|
-
* Index path (dot notated) of the row.
|
1106
|
-
* Note: This path is a dot notation of indexes to the root
|
1107
|
-
*/
|
1108
|
-
indexPath: string;
|
1109
|
-
depth?: number;
|
1110
|
-
/**
|
1111
|
-
* Define whether the row is expanded.
|
1112
|
-
* If expended, `rowExpansionRenderer` render function will be called.
|
1113
|
-
* It can be used to render a specific icon in your cell based on the state of the row.
|
1114
|
-
*/
|
1115
|
-
isExpanded?: boolean;
|
1116
|
-
/**
|
1117
|
-
* Toggles the row expansion.
|
1118
|
-
* It can be used as a handler for the click event on your cell.
|
1119
|
-
*/
|
1120
|
-
toggleRowExpanded?: () => void;
|
1121
|
-
/** Represents the values rendered in each cell */
|
1122
|
-
values: Row<TRow>;
|
1123
|
-
isEditing?: boolean;
|
1124
|
-
toggleRowEditing?: () => void;
|
1125
|
-
};
|
1126
|
-
export type TableCell<TRow> = {
|
1127
|
-
accessor: string;
|
1128
|
-
/** Represents the row which renders the specific cell, exposing its properties */
|
1129
|
-
row: TableRow<TRow>;
|
1130
|
-
/** Access the rendered value in the cell */
|
1131
|
-
value: any;
|
1132
|
-
};
|
1133
|
-
export type TableColumnProps<TRow> = {
|
1134
|
-
/**
|
1135
|
-
* This string is used to build the data model for your column.
|
1136
|
-
* It should match one of the properties defined in your `data` object on `Table`,
|
1137
|
-
* since this will map the value from the provided data.
|
1138
|
-
* If the accessor doesn't match a property from table's `data`,
|
1139
|
-
* you should render something using the `cellRenderer` prop.
|
1140
|
-
*/
|
1141
|
-
accessor: string;
|
1142
|
-
/**
|
1143
|
-
* Align column's content.
|
1144
|
-
* Not specifying this will default to a `centered` column
|
1145
|
-
*/
|
1146
|
-
align?: 'left' | 'center' | 'right';
|
1147
|
-
/** Add a classname to the column */
|
1148
|
-
className?: string;
|
1149
|
-
/**
|
1150
|
-
* Define the content of the cell.
|
1151
|
-
* It needs to be a render function that can return a transformed version of the existing value,
|
1152
|
-
* or any valid react node, for e.g. a `div`
|
1153
|
-
*/
|
1154
|
-
cellRenderer?: (cellProps: TableCell<TRow>) => React.ReactNode;
|
1155
|
-
/** Disable sorting on column */
|
1156
|
-
disableSorting?: boolean;
|
1157
|
-
editRenderer?: (cellProps: TableCell<TRow>) => React.ReactNode;
|
1158
|
-
/**
|
1159
|
-
* Specify the width and growth characteristics of a column.
|
1160
|
-
* This follows the standard flex-box `flex` css property
|
1161
|
-
*/
|
1162
|
-
flex?: string | ((row: TRow) => string);
|
1163
|
-
/** Text displayed in the column header */
|
1164
|
-
headRenderer?: React.ReactNode;
|
1165
|
-
/** Hides the column */
|
1166
|
-
hidden?: boolean;
|
1167
|
-
/** Hides the column on all sub rows */
|
1168
|
-
hiddenOnSubRows?: boolean;
|
1169
|
-
/**
|
1170
|
-
* Specify the sort rule on a column.
|
1171
|
-
* Specifying no value defaults to no sorting rule
|
1172
|
-
*/
|
1173
|
-
sort?: SortDirection;
|
1174
|
-
/**
|
1175
|
-
* Sort type on a column is used to compare 2 rows of data and order them correctly based on the specified type.
|
1176
|
-
* Default value is `auto`, which will apply sort type based on the type of your column's value.
|
1177
|
-
* `auto` will use type checking for booleans or numbers before falling back to string
|
1178
|
-
*/
|
1179
|
-
sortType?: SortTypes;
|
1180
|
-
/**
|
1181
|
-
* Use inline style for your column.
|
1182
|
-
* *Note* that `flex` should be set using `flex` prop, otherwise it will be overriden here by `undefined`
|
1183
|
-
*/
|
1184
|
-
style?: object;
|
1185
|
-
};
|
1186
|
-
export type TableGroupProps<TRow> = {
|
1187
|
-
/** Content of a group should be another `Table.Group` or a `Table.Column` */
|
1188
|
-
children: React.ReactElement<TableColumnProps<TRow>> | React.ReactElement<TableColumnProps<TRow>>[];
|
1189
|
-
/** Hide the entire group (and columns defined within group) */
|
1190
|
-
hidden?: boolean;
|
1191
|
-
/** Text displayed in the group's header */
|
1192
|
-
title: string;
|
1193
|
-
};
|
1194
|
-
export type RowClickHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent) => void;
|
1195
|
-
export type RowDragHandler<TRow> = (rows: Array<TableRow<TRow>>, showPlaceholder: (placeholder: string) => void, event: React.DragEvent) => void;
|
1196
|
-
export type SortRule<T> = {
|
1197
|
-
/** Name of the accessor you want to sort */
|
1198
|
-
accessor: IdType<T>;
|
1199
|
-
/** Set whether it is a descending sort direction */
|
1200
|
-
desc?: boolean;
|
1201
|
-
};
|
1202
|
-
export type SelectedRowsState = Record<number, boolean>;
|
1203
|
-
export type SelectedRowsHandler = React.Dispatch<React.SetStateAction<SelectedRowsState>>;
|
1204
|
-
export type SortHandler<T> = (sortRules: SortRule<T>[] | undefined, sortedData?: T[]) => void;
|
1205
|
-
export type PaginationHandler = (pageNumber: number, pageSize: number) => void;
|
1206
|
-
export type RowCreateHandler<TRow> = (parentRow: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
1207
|
-
type RowEditHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
1208
|
-
export type RowCopyHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
1209
|
-
export type RowDeleteHandler<TRow> = (row: TableRow<TRow>, event: React.MouseEvent<HTMLButtonElement>) => void;
|
1210
|
-
type RowActiveHandler<TRow> = (row: TableRow<TRow>) => void;
|
1211
|
-
type RowAction<TRow> = {
|
1212
|
-
disabled?: ((row: TableRow<TRow>) => boolean) | boolean;
|
1213
|
-
icon: ((row: TableRow<TRow>) => IconName) | IconName;
|
1214
|
-
onClick: (row: TableRow<TRow>, event: React.MouseEvent<HTMLElement>) => void;
|
1215
|
-
text: ((row: TableRow<TRow>) => React.ReactNode) | React.ReactNode;
|
1216
|
-
tooltip?: ((row: TableRow<TRow>) => string) | string;
|
1217
|
-
showOnRow?: boolean;
|
1218
|
-
visible?: ((row: TableRow<TRow>) => boolean) | boolean;
|
1219
|
-
};
|
1220
|
-
export type RowActionHandler<TRow> = RowAction<TRow> | undefined | null | boolean;
|
1221
|
-
export type TableProps<TRow> = React.HTMLAttributes<HTMLDivElement> & {
|
1222
|
-
/** Autofocus the table when loaded */
|
1223
|
-
autoFocus?: boolean;
|
1224
|
-
/**
|
1225
|
-
* Children should be one of the Table's components.
|
1226
|
-
* Read about `ForwardedGenericTableWithStatics` for more details.
|
1227
|
-
* *Note* that there can also be children that are rendered conditionally
|
1228
|
-
*/
|
1229
|
-
children: TableChildren<TRow>;
|
1230
|
-
/** Provide data to be displayed in your table */
|
1231
|
-
data: Row<TRow>[];
|
1232
|
-
/**
|
1233
|
-
* This will attach the `keyDown` handler for Table to the window,
|
1234
|
-
* so that user can directly navigate through table using keyboard, even if the table is not focused.
|
1235
|
-
* *Note* that the `keydown` handler will be executed only if focus is on body or the table itself
|
1236
|
-
*/
|
1237
|
-
dangerouslyHijackGlobalKeyboardNavigation?: boolean;
|
1238
|
-
/**
|
1239
|
-
* Provide an empty state to the table if there is no data or it is loading asynchronously
|
1240
|
-
*/
|
1241
|
-
emptyStateRenderer?: () => React.ReactNode;
|
1242
|
-
/** Handler called when a row is clicked */
|
1243
|
-
onRowClick?: RowClickHandler<TRow>;
|
1244
|
-
/** Handler called when a row is dragged */
|
1245
|
-
onRowDrag?: RowDragHandler<TRow>;
|
1246
|
-
/**
|
1247
|
-
* Handler used toghether with `selectedRows`.
|
1248
|
-
* *Note* that row selection should be used within a state since it is controlled.
|
1249
|
-
* To enable row selection, you have to use both `selectedRows` and `onSelectedRows` - you can use standard `useState` for this
|
1250
|
-
*/
|
1251
|
-
onSelectedRows?: SelectedRowsHandler;
|
1252
|
-
/**
|
1253
|
-
* Provide a className for rows.
|
1254
|
-
* It can be a `string` or a render function that is given the properties of the row and returns a `string`
|
1255
|
-
*/
|
1256
|
-
rowClassName?: string | ((row: TableRow<TRow>) => string | undefined);
|
1257
|
-
/** Show extra content below each row */
|
1258
|
-
rowExpansionRenderer?: (row: TableRow<TRow>) => React.ReactNode;
|
1259
|
-
/** Give the row a specific height */
|
1260
|
-
rowHeight?: number;
|
1261
|
-
/**
|
1262
|
-
* Used toghether with `onSelectedRows`.
|
1263
|
-
* *Note* that row selection should be used within a state since it is controlled.
|
1264
|
-
* To enable row selection, you have to use both `selectedRows` and `onSelectedRows` - you can use standard `useState` for this
|
1265
|
-
*/
|
1266
|
-
selectedRows?: SelectedRowsState;
|
1267
|
-
activeIndex?: number;
|
1268
|
-
defaultActiveIndex?: number;
|
1269
|
-
onChangeActiveIndex?: (activeIndex: number) => void;
|
1270
|
-
/** Disable sorting on the entire table */
|
1271
|
-
disableSorting?: boolean;
|
1272
|
-
/**
|
1273
|
-
* Handler which passes back the current sorting state and sorted data.
|
1274
|
-
* You can use this if you need to handle in some way the current sort values,
|
1275
|
-
* for e.g. to save them in localstorage and pass them back as `sortRules`
|
1276
|
-
*/
|
1277
|
-
onSort?: SortHandler<TRow>;
|
1278
|
-
/** Enable manual (external) sorting */
|
1279
|
-
manualSorting?: boolean;
|
1280
|
-
/**
|
1281
|
-
* Provide the initial sorting rules on your table.
|
1282
|
-
* *Note* that these values will override any default sorting specified on columns
|
1283
|
-
*/
|
1284
|
-
sortRules?: SortRule<TRow>[];
|
1285
|
-
disablePagination?: boolean;
|
1286
|
-
length?: number;
|
1287
|
-
/** Handler called when navigating through pages */
|
1288
|
-
onPaginate?: PaginationHandler;
|
1289
|
-
/** Current page index (zero based) */
|
1290
|
-
pageIndex?: number;
|
1291
|
-
/** Number of items displayed on a page */
|
1292
|
-
pageSize?: number;
|
1293
|
-
/** Handler called as user scrolls a virtualised window */
|
1294
|
-
loadMore?: (startIndex: number, endIndex: number) => void;
|
1295
|
-
/** Enable inline editing mode by providing the property name of a unique id in your data */
|
1296
|
-
inlineEditingUniqueId?: keyof TRow;
|
1297
|
-
/** Handler called when a new row is added - without this property defined the 'add new row' button will not be visible */
|
1298
|
-
onRowCreate?: RowCreateHandler<TRow>;
|
1299
|
-
/** Collection of items/links to show in the actions menu - without this property defined the actions men button will not be visible */
|
1300
|
-
actions?: RowActionHandler<TRow>[];
|
1301
|
-
/** Handler called when a row is edited - without this property defined the 'edit row' button will not be visible - unless inline editing mode is set */
|
1302
|
-
onRowEdit?: RowEditHandler<TRow>;
|
1303
|
-
/** Handler called when a row is copied - without this property defined the 'copy row' button will not be visible */
|
1304
|
-
onRowCopy?: RowCopyHandler<TRow>;
|
1305
|
-
/** Handler called when a row is deleted - without this property defined the 'delete row' button will not be visible */
|
1306
|
-
onRowDelete?: RowDeleteHandler<TRow>;
|
1307
|
-
/** Handler called when a row is made active */
|
1308
|
-
onRowActive?: RowActiveHandler<TRow>;
|
1309
|
-
};
|
1310
|
-
export type TableRef = HTMLDivElement & {
|
1311
|
-
instance: {
|
1312
|
-
toggleAllRowsExpanded: any;
|
1313
|
-
toggleHideAllColumns: any;
|
1314
|
-
toggleHideColumn: any;
|
1315
|
-
toggleEditing: any;
|
1316
|
-
toggleRowEditing: any;
|
1317
|
-
resetRowEditing: any;
|
1318
|
-
toggleRowExpanded: any;
|
1319
|
-
toggleSortBy: any;
|
1320
|
-
};
|
1321
|
-
};
|
1322
|
-
type ForwardedGenericTableWithStatics = React.ForwardRefExoticComponent<TableProps<any> & React.RefAttributes<HTMLDivElement>> & {
|
1323
|
-
/** Represents a column in your table */
|
1324
|
-
Column: <TRow>(props: TableColumnProps<TRow>) => JSX.Element | null;
|
1325
|
-
/**
|
1326
|
-
* Container for columns.
|
1327
|
-
* Visually this adds a column above and spans all group children.
|
1328
|
-
* *Note* that groups can only be nested two levels deep
|
1329
|
-
*/
|
1330
|
-
Group: <TRow>(props: TableGroupProps<TRow>) => JSX.Element | null;
|
1331
|
-
} & (<TRow>(props: TableProps<TRow> & {
|
1332
|
-
ref?: React.Ref<HTMLDivElement>;
|
1333
|
-
}) => JSX.Element);
|
1334
|
-
type TableChild<TRow> = React.ReactElement<TableColumnProps<TRow>> | React.ReactElement<TableGroupProps<TRow>> | boolean | null;
|
1335
|
-
type TableChildren<TRow> = TableChild<TRow> | TableChild<TRow>[];
|
1336
|
-
export const Table: ForwardedGenericTableWithStatics;
|
1337
|
-
export const PaginatedTable: ForwardedGenericTableWithStatics;
|
1338
|
-
export const WindowedTable: ForwardedGenericTableWithStatics;
|
1339
|
-
export const convertRowIndexPathToNumberArray: (rowIndexPath: RowIndexPath) => number[];
|
1340
|
-
export const getByRowIndexPath: <TRow extends {}>(data: Row<TRow>[], rowIndexPath: RowIndexPath) => Row<TRow> | undefined;
|
1341
|
-
export const setByRowIndexPath: <TRow extends {}>(data: Row<TRow>[], rowIndexPath: RowIndexPath, values: any) => Row<TRow>[];
|
1342
|
-
export const getParentRowIndexPath: (rowIndexPath: RowIndexPath) => RowIndexPath;
|
1343
|
-
export const insertChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath?: RowIndexPath, values?: any) => [Row<TRow>[], RowIndexPath];
|
1344
|
-
export const removeChildTableRow: <TRow>(data: Row<TRow>[], rowIndexPath: RowIndexPath) => Row<TRow>[];
|
1345
|
-
export type useTableRowCreation<TRow> = {
|
1346
|
-
data: Row<TRow>[];
|
1347
|
-
create: (rowIndexPath: RowIndexPath, values?: object | undefined) => RowIndexPath;
|
1348
|
-
remove: (rowIndexPath: RowIndexPath) => void;
|
1349
|
-
isCreating: boolean;
|
1350
|
-
};
|
1351
|
-
export const useTableRowCreation: <TRow>(data: Row<TRow>[], tableRef: React.RefObject<TableRef>) => useTableRowCreation<TRow>;
|
1352
|
-
export type TableTexts = {
|
1353
|
-
actions: string;
|
1354
|
-
edit: string;
|
1355
|
-
copy: string;
|
1356
|
-
del: string;
|
1357
|
-
newSubRow: string;
|
1358
|
-
loading: string;
|
1359
|
-
};
|
1360
|
-
export type SearchInputTexts = {
|
1361
|
-
/**
|
1362
|
-
* aria-label text for input
|
1363
|
-
*/
|
1364
|
-
inputLabel: string;
|
1365
|
-
/**
|
1366
|
-
* aria-label text for the search button
|
1367
|
-
*/
|
1368
|
-
buttonLabel: string;
|
1369
|
-
};
|
1370
|
-
export type SearchInputProps = Omit<InputProps, 'icon'> & {
|
1371
|
-
/** Current input value will be passed to the method. In order to get the value, the component must be controlled otherwise value will always be undefined */
|
1372
|
-
onSearch?: (value: string | number | readonly string[] | undefined) => void;
|
1373
|
-
};
|
1374
|
-
export const SearchInput: React.ForwardRefExoticComponent<Omit<InputProps, "icon"> & {
|
1375
|
-
/** Current input value will be passed to the method. In order to get the value, the component must be controlled otherwise value will always be undefined */
|
1376
|
-
onSearch?: ((value: string | number | readonly string[] | undefined) => void) | undefined;
|
1377
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
1378
|
-
type Listbox2OptionValue = string | number | null;
|
1379
|
-
type Listbox2OptionProps = React.HTMLAttributes<HTMLDivElement> & {
|
1380
|
-
disabled?: boolean;
|
1381
|
-
value: Listbox2OptionValue;
|
1382
|
-
};
|
1383
|
-
type Listbox2GroupProps = React.HTMLAttributes<HTMLDivElement>;
|
1384
|
-
type Listbox2TitleProps = React.HTMLAttributes<HTMLDivElement>;
|
1385
|
-
export type Select2OptionValue = Listbox2OptionValue;
|
1386
|
-
export type Select2Value = Select2OptionValue | Select2OptionValue[];
|
1387
|
-
declare const colors: {
|
1388
|
-
green: string;
|
1389
|
-
yellow: string;
|
1390
|
-
red: string;
|
1391
|
-
blue: string;
|
1392
|
-
purple: string;
|
1393
|
-
orange: string;
|
1394
|
-
brown: string;
|
1395
|
-
pink: string;
|
1396
|
-
grey: string;
|
1397
|
-
};
|
1398
|
-
type Color = keyof typeof colors;
|
1399
|
-
export type TagProps = Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> & {
|
1400
|
-
children: string;
|
1401
|
-
color?: Color;
|
1402
|
-
disabled?: boolean;
|
1403
|
-
icon?: React.ReactElement<IconProps> | IconName;
|
1404
|
-
readOnly?: boolean;
|
1405
|
-
onDelete?: (event: React.MouseEvent<SVGSVGElement>) => void;
|
1406
|
-
};
|
1407
|
-
export const Tag: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLSpanElement>, "children"> & {
|
1408
|
-
children: string;
|
1409
|
-
color?: "blue" | "brown" | "green" | "grey" | "orange" | "pink" | "purple" | "red" | "yellow" | undefined;
|
1410
|
-
disabled?: boolean | undefined;
|
1411
|
-
icon?: IconName | React.ReactElement<IconProps, string | React.JSXElementConstructor<any>> | undefined;
|
1412
|
-
readOnly?: boolean | undefined;
|
1413
|
-
onDelete?: ((event: React.MouseEvent<SVGSVGElement>) => void) | undefined;
|
1414
|
-
} & React.RefAttributes<HTMLSpanElement>>;
|
1415
|
-
export type FieldProps = React.LabelHTMLAttributes<HTMLLabelElement> & {
|
1416
|
-
/** Content of the field */
|
1417
|
-
children: React.ReactNode;
|
1418
|
-
/** Changes the style to indicate the element is disabled */
|
1419
|
-
disabled?: boolean;
|
1420
|
-
invalid?: boolean;
|
1421
|
-
/**
|
1422
|
-
* Text displayed below the children of Field.
|
1423
|
-
* Should be a short text that indicates feedback for user.
|
1424
|
-
*/
|
1425
|
-
message?: string;
|
1426
|
-
};
|
1427
|
-
export const Field: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & {
|
1428
|
-
/** Content of the field */
|
1429
|
-
children: React.ReactNode;
|
1430
|
-
/** Changes the style to indicate the element is disabled */
|
1431
|
-
disabled?: boolean | undefined;
|
1432
|
-
invalid?: boolean | undefined;
|
1433
|
-
/**
|
1434
|
-
* Text displayed below the children of Field.
|
1435
|
-
* Should be a short text that indicates feedback for user.
|
1436
|
-
*/
|
1437
|
-
message?: string | undefined;
|
1438
|
-
} & React.RefAttributes<HTMLLabelElement>>;
|
1439
|
-
export type Select2OptionProps = Omit<Listbox2OptionProps, 'children'> & {
|
1440
|
-
children: string;
|
1441
|
-
color?: Color;
|
1442
|
-
icon?: React.ReactElement<IconProps> | IconName;
|
1443
|
-
textValue?: string;
|
1444
|
-
};
|
1445
|
-
export type Select2GroupProps = Listbox2GroupProps;
|
1446
|
-
export type Select2TitleProps = Listbox2TitleProps;
|
1447
|
-
export type Select2Texts = {
|
1448
|
-
allSelect: string;
|
1449
|
-
allDeselect: string;
|
1450
|
-
cancel: string;
|
1451
|
-
chooseColor: string;
|
1452
|
-
create: string;
|
1453
|
-
delete: string;
|
1454
|
-
save: string;
|
1455
|
-
search: string;
|
1456
|
-
searchOrCreate: string;
|
1457
|
-
};
|
1458
|
-
export type Select2Props = Omit<React.HTMLAttributes<HTMLButtonElement>, 'children' | 'defaultValue' | 'onChange' | 'value'> & {
|
1459
|
-
children: React.ReactElement<Select2OptionProps>[];
|
1460
|
-
defaultValue?: Select2Value;
|
1461
|
-
emptyValue?: Select2OptionValue;
|
1462
|
-
disabled?: boolean;
|
1463
|
-
disableSearch?: boolean;
|
1464
|
-
highlighted?: boolean;
|
1465
|
-
invalid?: boolean;
|
1466
|
-
multiple?: boolean;
|
1467
|
-
name?: string;
|
1468
|
-
onChange?: (value: Select2Value) => void;
|
1469
|
-
onCreate?: (name: string, color: Color | undefined) => Promise<Select2OptionProps>;
|
1470
|
-
onDelete?: (value: Select2OptionValue) => Promise<void>;
|
1471
|
-
onEdit?: (value: Select2OptionValue, text: string, color: Color | undefined) => Promise<void>;
|
1472
|
-
readOnly?: boolean;
|
1473
|
-
tags?: boolean;
|
1474
|
-
value?: Select2Value;
|
1475
|
-
};
|
1476
|
-
type Select2PropsWithStatics = React.ForwardRefExoticComponent<Select2Props & React.RefAttributes<HTMLButtonElement>> & {
|
1477
|
-
Option: React.ForwardRefExoticComponent<Select2OptionProps>;
|
1478
|
-
Group: React.ForwardRefExoticComponent<Select2GroupProps>;
|
1479
|
-
Title: React.ForwardRefExoticComponent<Select2TitleProps>;
|
1480
|
-
};
|
1481
|
-
export const Select2: Select2PropsWithStatics;
|
1482
|
-
export type LocalizationTexts = {
|
1483
|
-
/** Localized texts and aria-labels for [Calendar](component:calendar) component */
|
1484
|
-
calendar: CalendarTexts;
|
1485
|
-
/** Localized texts and aria-labels for [Combobox](component:combobox) component */
|
1486
|
-
combobox: ComboboxTexts;
|
1487
|
-
/** Localized texts and aria-labels for [DatePicker](component:datepicker) component */
|
1488
|
-
datepicker: DatepickerTexts;
|
1489
|
-
/** Localized texts and aria-labels for [Hanger](component:hanger) component */
|
1490
|
-
hanger: HangerTexts;
|
1491
|
-
/** Localized texts and aria-labels for [Banner](component:banner) component */
|
1492
|
-
banner: BannerTexts;
|
1493
|
-
/** Localized texts and aria-labels for [Listbox](component:listbox) component */
|
1494
|
-
listbox: ListboxTexts;
|
1495
|
-
/** Localized texts and aria-labels for [Dialog](component:dialog) component */
|
1496
|
-
dialog: DialogTexts;
|
1497
|
-
/** Localized texts and aria-labels for [Pagination](component:pagination) component */
|
1498
|
-
pagination: PaginationTexts;
|
1499
|
-
/** Localized texts and aria-labels for [Table](component:table) component */
|
1500
|
-
table: TableTexts;
|
1501
|
-
/** Localized texts and aria-labels for [Select](component:select) component */
|
1502
|
-
select: SelectTexts;
|
1503
|
-
/** Localized texts and aria-labels for [Select2](component:select2) component */
|
1504
|
-
select2: Select2Texts;
|
1505
|
-
/** Localized texts and aria-labels for [Toast](component:toast) component */
|
1506
|
-
toasts: ToastsTexts;
|
1507
|
-
/** Localized texts and aria-labels for [Tour](component:tour) component */
|
1508
|
-
tour: TourTexts;
|
1509
|
-
/** Localized texts and aria-labels for [SearchInput](component:searchinput) component */
|
1510
|
-
searchInput: SearchInputTexts;
|
1511
|
-
};
|
1512
|
-
export type Localization = {
|
1513
|
-
/**
|
1514
|
-
* Provide the language code used in application.
|
1515
|
-
* Default value is `en-GB`
|
1516
|
-
*/
|
1517
|
-
locale: Locale;
|
1518
|
-
/** Provide the texts and aria-labels for components used within the provider */
|
1519
|
-
texts: LocalizationTexts;
|
1520
|
-
/** Provide the formatting */
|
1521
|
-
formatting: {
|
1522
|
-
/** Default value is `dd.mm.yy` */
|
1523
|
-
date: string;
|
1524
|
-
};
|
1525
|
-
};
|
1526
|
-
export const defaultLocalisationTexts: {
|
1527
|
-
calendar: {
|
1528
|
-
months: string[];
|
1529
|
-
weekdaysShort: string[];
|
1530
|
-
actions: {
|
1531
|
-
previousMonth: string;
|
1532
|
-
nextMonth: string;
|
1533
|
-
previousYear: string;
|
1534
|
-
nextYear: string;
|
1535
|
-
today: string;
|
1536
|
-
};
|
1537
|
-
};
|
1538
|
-
combobox: {
|
1539
|
-
tooltip: string;
|
1540
|
-
};
|
1541
|
-
datepicker: {
|
1542
|
-
calendar: string;
|
1543
|
-
clear: string;
|
1544
|
-
expand: string;
|
1545
|
-
shortcuts: string;
|
1546
|
-
};
|
1547
|
-
hanger: {
|
1548
|
-
close: string;
|
1549
|
-
};
|
1550
|
-
banner: {
|
1551
|
-
close: string;
|
1552
|
-
};
|
1553
|
-
listbox: {
|
1554
|
-
loading: string;
|
1555
|
-
empty: string;
|
1556
|
-
allOption: string;
|
1557
|
-
};
|
1558
|
-
dialog: {
|
1559
|
-
close: string;
|
1560
|
-
drag: string;
|
1561
|
-
};
|
1562
|
-
pagination: {
|
1563
|
-
label: string;
|
1564
|
-
pageSize: string;
|
1565
|
-
showingXofYofTotal: string;
|
1566
|
-
actions: {
|
1567
|
-
firstPage: string;
|
1568
|
-
firstPageWithShortcut: string;
|
1569
|
-
previousPage: string;
|
1570
|
-
previousPageWithShortcut: string;
|
1571
|
-
nextPage: string;
|
1572
|
-
nextPageWithShortcut: string;
|
1573
|
-
lastPage: string;
|
1574
|
-
lastPageWithShortcut: string;
|
1575
|
-
pageX: string;
|
1576
|
-
};
|
1577
|
-
};
|
1578
|
-
table: {
|
1579
|
-
actions: string;
|
1580
|
-
edit: string;
|
1581
|
-
copy: string;
|
1582
|
-
del: string;
|
1583
|
-
newSubRow: string;
|
1584
|
-
loading: string;
|
1585
|
-
};
|
1586
|
-
select: {
|
1587
|
-
allOptionsSelected: string;
|
1588
|
-
};
|
1589
|
-
select2: {
|
1590
|
-
allSelect: string;
|
1591
|
-
allDeselect: string;
|
1592
|
-
cancel: string;
|
1593
|
-
chooseColor: string;
|
1594
|
-
create: string;
|
1595
|
-
delete: string;
|
1596
|
-
save: string;
|
1597
|
-
search: string;
|
1598
|
-
searchOrCreate: string;
|
1599
|
-
};
|
1600
|
-
toasts: {
|
1601
|
-
dismiss: string;
|
1602
|
-
};
|
1603
|
-
tour: {
|
1604
|
-
back: string;
|
1605
|
-
close: string;
|
1606
|
-
skip: string;
|
1607
|
-
last: string;
|
1608
|
-
next: string;
|
1609
|
-
open: string;
|
1610
|
-
};
|
1611
|
-
searchInput: {
|
1612
|
-
inputLabel: string;
|
1613
|
-
buttonLabel: string;
|
1614
|
-
};
|
1615
|
-
};
|
1616
|
-
export const LocalizationContext: React.Context<Localization>;
|
1617
|
-
export interface LocalizationProviderProps {
|
1618
|
-
children: React.ReactNode;
|
1619
|
-
localization?: Localization;
|
1620
|
-
}
|
1621
|
-
export const LocalizationProvider: React.FC<LocalizationProviderProps>;
|
1622
|
-
export const useLocalization: () => Localization;
|
1623
|
-
export type BannerProps = React.HTMLAttributes<HTMLDivElement> & {
|
1624
|
-
/** Content can be any react element, for e.g. a `div` */
|
1625
|
-
children: React.ReactNode;
|
1626
|
-
/** State will change the icon displayed in banner */
|
1627
|
-
state: State;
|
1628
|
-
onClose?: () => void;
|
1629
|
-
};
|
1630
|
-
export type BannerTexts = {
|
1631
|
-
/** Aria-label for the close icon button of banner */
|
1632
|
-
close: string;
|
1633
|
-
};
|
1634
|
-
export const Banner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
1635
|
-
/** Content can be any react element, for e.g. a `div` */
|
1636
|
-
children: React.ReactNode;
|
1637
|
-
/** State will change the icon displayed in banner */
|
1638
|
-
state: State;
|
1639
|
-
onClose?: (() => void) | undefined;
|
1640
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
1641
|
-
export type CardContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
1642
|
-
noPadding?: boolean;
|
1643
|
-
};
|
1644
|
-
export type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
1645
|
-
/** Title of the Card */
|
1646
|
-
title: string | React.ReactElement;
|
1647
|
-
/** Menu component associated with the Card */
|
1648
|
-
menu?: (props: Partial<MenuProps>) => JSX.Element;
|
1649
|
-
};
|
1650
|
-
export const Card: React.ForwardRefExoticComponent<CardProps> & {
|
1651
|
-
Content: React.ForwardRefExoticComponent<CardContentProps>;
|
1652
|
-
};
|
1653
|
-
export type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {
|
1654
|
-
/** Content should be composed of other Taco form elements */
|
1655
|
-
children: React.ReactNode;
|
1656
|
-
/** Display the form fields in a horizontal layout */
|
1657
|
-
horizontal?: boolean;
|
1658
|
-
};
|
1659
|
-
export const Form: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTMLFormElement> & {
|
1660
|
-
/** Content should be composed of other Taco form elements */
|
1661
|
-
children: React.ReactNode;
|
1662
|
-
/** Display the form fields in a horizontal layout */
|
1663
|
-
horizontal?: boolean | undefined;
|
1664
|
-
} & React.RefAttributes<HTMLFormElement>>;
|
1665
|
-
export type HoverCardTriggerProps = React.HTMLAttributes<HTMLAnchorElement>;
|
1666
|
-
export type HoverCardContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
1667
|
-
/** Set the position of the HoverCard relative to its trigger. Default value is `bottom` */
|
1668
|
-
placement?: Placement;
|
1669
|
-
};
|
1670
|
-
export type HoverCardProps = React.PropsWithChildren<{}>;
|
1671
|
-
export const HoverCard: {
|
1672
|
-
(props: HoverCardProps): JSX.Element;
|
1673
|
-
Trigger: React.ForwardRefExoticComponent<HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
1674
|
-
Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
1675
|
-
/** Set the position of the HoverCard relative to its trigger. Default value is `bottom` */
|
1676
|
-
placement?: Placement | undefined;
|
1677
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
1678
|
-
};
|
1679
|
-
export type TreeviewItemProps = React.LinkHTMLAttributes<HTMLAnchorElement>;
|
1680
|
-
export type TreeviewGroupProps = Omit<React.LinkHTMLAttributes<HTMLDivElement>, 'className' | 'onClick' | 'title'> & {
|
1681
|
-
/** Add a classname to the treeview */
|
1682
|
-
className?: string | ((expanded: boolean) => string);
|
1683
|
-
/**
|
1684
|
-
* Set wheter the region is expanded, showing the children, or collapsed.
|
1685
|
-
* Default value is `false`
|
1686
|
-
*/
|
1687
|
-
expanded?: boolean;
|
1688
|
-
/** Region is expanded at mount and can't be collapsed */
|
1689
|
-
fixed?: boolean;
|
1690
|
-
/** Handler called when user clicks the title of the group */
|
1691
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>, expanded: boolean) => void;
|
1692
|
-
/** Text displayed in the group's header */
|
1693
|
-
title: React.ReactNode | ((expanded: boolean) => React.ReactNode);
|
1694
|
-
};
|
1695
|
-
export type TreeviewProps = React.HTMLAttributes<HTMLDivElement>;
|
1696
|
-
export type ForwardedTreeviewWithStatics = React.ForwardRefExoticComponent<TreeviewProps & React.RefAttributes<HTMLDivElement>> & {
|
1697
|
-
/** Navigable link */
|
1698
|
-
Item: React.ForwardRefExoticComponent<TreeviewItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
1699
|
-
/** Container for a set of related links, usually expandable */
|
1700
|
-
Group: React.ForwardRefExoticComponent<TreeviewGroupProps & React.RefAttributes<HTMLDivElement>>;
|
1701
|
-
};
|
1702
|
-
export const Treeview: ForwardedTreeviewWithStatics;
|
1703
|
-
export type useDropTarget = [
|
1704
|
-
boolean,
|
1705
|
-
(undefined | {
|
1706
|
-
onDragEnter: React.DragEventHandler;
|
1707
|
-
onDragLeave: React.DragEventHandler;
|
1708
|
-
onDragOver: React.DragEventHandler;
|
1709
|
-
onDrop: React.DragEventHandler;
|
1710
|
-
})
|
1711
|
-
];
|
1712
|
-
export const useDropTarget: (onDrop: React.DragEventHandler | undefined) => useDropTarget;
|
1713
|
-
export type NavigationItemProps = Omit<TreeviewItemProps, 'prefix'> & {
|
1714
|
-
/** Change the style to indicate the link is selected */
|
1715
|
-
active?: boolean;
|
1716
|
-
/** Handler to be used when dropping a dragged element over the navigation link */
|
1717
|
-
onDrop?: React.DragEventHandler;
|
1718
|
-
/**
|
1719
|
-
* Small amount of information placed next to the text of the link.
|
1720
|
-
* This can be any valid react element, for e.g. a `span`.
|
1721
|
-
* Should be used to indicate a relevant information of the link,
|
1722
|
-
* for e.g. the number of unread notifications
|
1723
|
-
*/
|
1724
|
-
postfix?: React.ReactNode;
|
1725
|
-
/**
|
1726
|
-
* Small amount of information placed before the text of the link.
|
1727
|
-
* This can be any valid react element, for e.g. a `span`.
|
1728
|
-
* Should be used to indicate a feedback for user,
|
1729
|
-
* for e.g. display some sort of visual informational state or a relevant icon.
|
1730
|
-
*/
|
1731
|
-
prefix?: React.ReactNode;
|
1732
|
-
/** Target of the link */
|
1733
|
-
target?: string;
|
1734
|
-
};
|
1735
|
-
export type NavigationPanelProps = React.HTMLAttributes<HTMLDivElement>;
|
1736
|
-
export type NavigationMenuGroupProps = TreeviewGroupProps;
|
1737
|
-
export type NavigationMenuProps = React.PropsWithChildren<TreeviewProps>;
|
1738
|
-
export type ForwardedNavigationMenuWithStatics = React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLDivElement>> & {
|
1739
|
-
/** Expandable region reprezenting a group of related links */
|
1740
|
-
Group: React.ForwardRefExoticComponent<NavigationMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
1741
|
-
};
|
1742
|
-
export type NavigationProps = React.HTMLAttributes<HTMLDivElement>;
|
1743
|
-
export type ForwardedNavigationWithStatics = React.ForwardRefExoticComponent<NavigationProps & React.RefAttributes<HTMLDivElement>> & {
|
1744
|
-
/** Navigation link */
|
1745
|
-
Item: React.ForwardRefExoticComponent<NavigationItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
1746
|
-
/**
|
1747
|
-
* Container for the expandable groups that hold navigation links.
|
1748
|
-
* Should be used as a direct child of Navigation component, e.g. `Navigation.Menu`.
|
1749
|
-
* Should have the menu groups as a direct child, e.g. `Navigation.Menu.Group`
|
1750
|
-
*/
|
1751
|
-
Menu: ForwardedNavigationMenuWithStatics;
|
1752
|
-
/**
|
1753
|
-
* Isolated container within the Navigation.
|
1754
|
-
* This can be used to create a region in the Navigation that is usually not scrollable, nor expandable,
|
1755
|
-
* containing useful information for user and quick actions
|
1756
|
-
*/
|
1757
|
-
Panel: React.ForwardRefExoticComponent<NavigationPanelProps & React.RefAttributes<HTMLDivElement>>;
|
1758
|
-
};
|
1759
|
-
export const Navigation: ForwardedNavigationWithStatics;
|
1760
|
-
export type ProgressProps = React.HTMLAttributes<HTMLSpanElement> & {
|
1761
|
-
/**
|
1762
|
-
* Indicates how long (in milliseconds) a progress bar will take to progress through.
|
1763
|
-
* By default, progress bar has no duration
|
1764
|
-
*/
|
1765
|
-
duration?: number;
|
1766
|
-
};
|
1767
|
-
export const Progress: ({ duration, ...props }: ProgressProps) => JSX.Element;
|
1768
|
-
type ToastCreator<T> = (content: ToastContent | ((close: () => void) => ToastContent), options?: ToastOptions) => T;
|
1769
|
-
export interface Toaster<T> extends ToastCreator<T> {
|
1770
|
-
success: ToastCreator<T>;
|
1771
|
-
error: ToastCreator<T>;
|
1772
|
-
warning: ToastCreator<T>;
|
1773
|
-
information: ToastCreator<T>;
|
1774
|
-
loading: ToastCreator<T>;
|
1775
|
-
}
|
1776
|
-
export interface ToastReference {
|
1777
|
-
/** Show a success toast */
|
1778
|
-
success: ToastCreator<void>;
|
1779
|
-
/** Show an error toast */
|
1780
|
-
error: ToastCreator<void>;
|
1781
|
-
/** Show a warning toast */
|
1782
|
-
warning: ToastCreator<void>;
|
1783
|
-
/** Show an information toast */
|
1784
|
-
information: ToastCreator<void>;
|
1785
|
-
/** Show a loading toast */
|
1786
|
-
loading: ToastCreator<void>;
|
1787
|
-
/**
|
1788
|
-
* Close an existing toast.
|
1789
|
-
* The toast function returns a reference to the active toast,
|
1790
|
-
* allowing you to programmatically close it when needed
|
1791
|
-
*/
|
1792
|
-
close: () => void;
|
1793
|
-
}
|
1794
|
-
export interface ToastProviderProps {
|
1795
|
-
children: React.ReactNode;
|
1796
|
-
}
|
1797
|
-
export const ToastProvider: ({ children, ...props }: ToastProviderProps) => JSX.Element;
|
1798
|
-
export const useToast: () => Toaster<ToastReference>;
|
1799
|
-
export type ProviderProps = {
|
1800
|
-
/** Content would be your application */
|
1801
|
-
children?: any;
|
1802
|
-
/** Define localized texts and formatted data in your application */
|
1803
|
-
localization?: Localization;
|
1804
|
-
};
|
1805
|
-
export const Provider: (props: ProviderProps) => JSX.Element;
|
1806
|
-
export type TabsProps = React.HTMLAttributes<HTMLDivElement> & {
|
1807
|
-
/**
|
1808
|
-
* The controlled value of the tab to activate. Should be used in conjunction with `onChange`.
|
1809
|
-
*/
|
1810
|
-
id?: string;
|
1811
|
-
/**
|
1812
|
-
* Set which tab is selected on mount.
|
1813
|
-
* This has to be one of the existing ids provided for tabs
|
1814
|
-
*/
|
1815
|
-
defaultId?: string;
|
1816
|
-
/**
|
1817
|
-
* Content should be one or an array of `Tabs.Trigger` components inside `Tabs.List` and then
|
1818
|
-
* followed by one or an array of `Tabs.Content`.
|
1819
|
-
* *Note* that there can also be tabs that are rendered conditionally.
|
1820
|
-
*/
|
1821
|
-
children: React.ReactNode;
|
1822
|
-
/**
|
1823
|
-
* Define orientation of tabs.
|
1824
|
-
* @defaultValue horizontal
|
1825
|
-
*/
|
1826
|
-
orientation?: Orientation;
|
1827
|
-
/**
|
1828
|
-
* Callback that is called when tab is changed.
|
1829
|
-
*/
|
1830
|
-
onChange?: (id: string) => void;
|
1831
|
-
};
|
1832
|
-
export type TabListProps = React.HTMLAttributes<HTMLDivElement>;
|
1833
|
-
export type TabTriggerProps = React.HTMLAttributes<HTMLButtonElement> & {
|
1834
|
-
/**
|
1835
|
-
* A unique value that associates the trigger with a content.
|
1836
|
-
*/
|
1837
|
-
id: string;
|
1838
|
-
/**
|
1839
|
-
* When true, prevents the user from interacting with the tab.
|
1840
|
-
*/
|
1841
|
-
disabled?: boolean;
|
1842
|
-
};
|
1843
|
-
export type TabContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
1844
|
-
/**
|
1845
|
-
* A unique value that associates the content with a trigger.
|
1846
|
-
*/
|
1847
|
-
id: string;
|
1848
|
-
};
|
1849
|
-
export type ForwardedTabsWithStatics = React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>> & {
|
1850
|
-
/** Tab list component containing all tab triggers, rendered in a `Tabs` group component */
|
1851
|
-
List: React.ForwardRefExoticComponent<TabListProps & React.RefAttributes<HTMLDivElement>>;
|
1852
|
-
/** Tab trigger component rendered in a `Tabs.List` component */
|
1853
|
-
Trigger: React.ForwardRefExoticComponent<TabTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
1854
|
-
/** Tab content component rendered in a `Tabs` group component */
|
1855
|
-
Content: React.ForwardRefExoticComponent<TabContentProps & React.RefAttributes<HTMLDivElement>>;
|
1856
|
-
};
|
1857
|
-
export const Tabs: ForwardedTabsWithStatics;
|
1858
|
-
export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
1859
|
-
/** Draws attention to the textarea by changing its style and making it visually prominent */
|
1860
|
-
highlighted?: boolean;
|
1861
|
-
invalid?: boolean;
|
1862
|
-
/** Value of the textarea */
|
1863
|
-
value?: string;
|
1864
|
-
};
|
1865
|
-
export const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
1866
|
-
/** Draws attention to the textarea by changing its style and making it visually prominent */
|
1867
|
-
highlighted?: boolean | undefined;
|
1868
|
-
invalid?: boolean | undefined;
|
1869
|
-
/** Value of the textarea */
|
1870
|
-
value?: string | undefined;
|
1871
|
-
} & React.RefAttributes<HTMLTextAreaElement>>;
|
1872
|
-
type SwitchBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onChange'> & {
|
1873
|
-
/** Label for the switch */
|
1874
|
-
label?: React.ReactNode;
|
1875
|
-
required?: boolean;
|
1876
|
-
};
|
1877
|
-
interface UncontrolledSwitchProps extends SwitchBaseProps {
|
1878
|
-
checked?: never;
|
1879
|
-
onChange?: never;
|
1880
|
-
defaultChecked?: boolean;
|
1881
|
-
}
|
1882
|
-
interface ControlledSwitchProps extends SwitchBaseProps {
|
1883
|
-
defaultChecked?: never;
|
1884
|
-
checked: boolean;
|
1885
|
-
onChange: (checked: boolean) => void;
|
1886
|
-
}
|
1887
|
-
export type SwitchProps = UncontrolledSwitchProps | ControlledSwitchProps;
|
1888
|
-
export const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
1889
|
-
export const useOnClickOutside: (ref: React.RefObject<HTMLElement> | React.RefObject<HTMLElement>[], callback: (event: MouseEvent | TouchEvent) => void) => void;
|
1890
|
-
|
1891
|
-
//# sourceMappingURL=types.d.ts.map
|
1
|
+
export declare type Appearance = 'default' | 'primary' | 'danger' | 'ghost' | 'discrete';
|
2
|
+
export declare type State = 'default' | 'success' | 'error' | 'warning' | 'information';
|
3
|
+
export declare type Locale = 'en-GB' | 'da-DK' | 'sv-SE' | 'no-NO';
|
4
|
+
export declare type Orientation = 'horizontal' | 'vertical';
|
5
|
+
export declare type Align = 'start' | 'center' | 'end';
|
6
|
+
export declare type Placement = 'right' | 'left' | 'top' | 'bottom';
|