@commerce7/admin-ui 2.0.46 → 2.0.48
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/lib/build.js +1 -1
- package/lib/types/alert/Alert.d.ts +42 -0
- package/lib/types/alert/Alert.styles.d.ts +16 -0
- package/lib/types/alert/index.d.ts +3 -0
- package/lib/types/alert/theme.d.ts +110 -0
- package/lib/types/avatar/Avatar.d.ts +30 -0
- package/lib/types/avatar/Avatar.styles.d.ts +12 -0
- package/lib/types/avatar/index.d.ts +3 -0
- package/lib/types/avatar/theme.d.ts +42 -0
- package/lib/types/breadcrumbs/Breadcrumb.d.ts +31 -0
- package/lib/types/breadcrumbs/Breadcrumb.styles.d.ts +3 -0
- package/lib/types/breadcrumbs/Breadcrumbs.d.ts +17 -0
- package/lib/types/breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
- package/lib/types/breadcrumbs/index.d.ts +7 -0
- package/lib/types/button/Button.d.ts +60 -0
- package/lib/types/button/Button.styles.d.ts +26 -0
- package/lib/types/button/index.d.ts +3 -0
- package/lib/types/button/theme.d.ts +480 -0
- package/lib/types/buttonMenu/ButtonMenu.d.ts +39 -0
- package/lib/types/buttonMenu/ButtonMenuItem.d.ts +5 -0
- package/lib/types/buttonMenu/index.d.ts +7 -0
- package/lib/types/card/Card.d.ts +21 -0
- package/lib/types/card/Card.styles.d.ts +5 -0
- package/lib/types/card/index.d.ts +3 -0
- package/lib/types/card/theme.d.ts +21 -0
- package/lib/types/cardLink/CardLink.d.ts +41 -0
- package/lib/types/cardLink/CardLink.styles.d.ts +14 -0
- package/lib/types/cardLink/index.d.ts +3 -0
- package/lib/types/cardLink/theme.d.ts +21 -0
- package/lib/types/checkbox/Checkbox.d.ts +69 -0
- package/lib/types/checkbox/Checkbox.styles.d.ts +9 -0
- package/lib/types/checkbox/index.d.ts +3 -0
- package/lib/types/checkbox/theme.d.ts +49 -0
- package/lib/types/checkboxGroup/CheckboxGroup.d.ts +40 -0
- package/lib/types/checkboxGroup/index.d.ts +3 -0
- package/lib/types/columns/Column.d.ts +14 -0
- package/lib/types/columns/Columns.d.ts +29 -0
- package/lib/types/columns/Columns.styles.d.ts +11 -0
- package/lib/types/columns/index.d.ts +7 -0
- package/lib/types/common/contextMenu/ContextMenuItem.d.ts +39 -0
- package/lib/types/common/contextMenu/ContextMenuItem.styles.d.ts +7 -0
- package/lib/types/common/contextMenu/theme.d.ts +24 -0
- package/lib/types/common/dropdown/DropdownMenu.d.ts +30 -0
- package/lib/types/common/dropdown/DropdownMenu.styles.d.ts +6 -0
- package/lib/types/common/dropdown/DropdownWrapper.d.ts +17 -0
- package/lib/types/common/dropdown/DropdownWrapper.styles.d.ts +2 -0
- package/lib/types/common/dropdown/theme.d.ts +85 -0
- package/lib/types/common/form/helpers.d.ts +6 -0
- package/lib/types/common/form/styles.d.ts +42 -0
- package/lib/types/common/form/theme.d.ts +100 -0
- package/lib/types/contextMenu/ContextMenu.d.ts +17 -0
- package/lib/types/contextMenu/ContextMenu.styles.d.ts +2 -0
- package/lib/types/contextMenu/ContextMenuItem.d.ts +3 -0
- package/lib/types/contextMenu/ContextMenuMoreActions.d.ts +26 -0
- package/lib/types/contextMenu/index.d.ts +9 -0
- package/lib/types/dataDisplay/DataDisplay.d.ts +21 -0
- package/lib/types/dataDisplay/DataDisplay.styles.d.ts +5 -0
- package/lib/types/dataDisplay/index.d.ts +3 -0
- package/lib/types/dataDisplay/theme.d.ts +9 -0
- package/lib/types/datePicker/DatePicker.d.ts +81 -0
- package/lib/types/datePicker/DatePicker.styles.d.ts +3 -0
- package/lib/types/datePicker/DayDatePicker.d.ts +78 -0
- package/lib/types/datePicker/index.d.ts +4 -0
- package/lib/types/datePicker/theme.d.ts +62 -0
- package/lib/types/displayIcon/DisplayIcon.d.ts +34 -0
- package/lib/types/displayIcon/DisplayIcon.styles.d.ts +6 -0
- package/lib/types/displayIcon/IconWrapper.d.ts +22 -0
- package/lib/types/displayIcon/index.d.ts +3 -0
- package/lib/types/heading/Heading.d.ts +29 -0
- package/lib/types/heading/Heading.styles.d.ts +6 -0
- package/lib/types/heading/index.d.ts +3 -0
- package/lib/types/heading/theme.d.ts +25 -0
- package/lib/types/icon/Icon.d.ts +38 -0
- package/lib/types/icon/Icon.styles.d.ts +3 -0
- package/lib/types/icon/IconWrapper.styles.d.ts +2 -0
- package/lib/types/icon/icons/Add.d.ts +2 -0
- package/lib/types/icon/icons/AddCart.d.ts +2 -0
- package/lib/types/icon/icons/AddUser.d.ts +2 -0
- package/lib/types/icon/icons/Adjust.d.ts +2 -0
- package/lib/types/icon/icons/AlignCenter.d.ts +2 -0
- package/lib/types/icon/icons/AlignLeft.d.ts +2 -0
- package/lib/types/icon/icons/AlignRight.d.ts +2 -0
- package/lib/types/icon/icons/App.d.ts +2 -0
- package/lib/types/icon/icons/Application.d.ts +2 -0
- package/lib/types/icon/icons/ApplicationSwitcher.d.ts +2 -0
- package/lib/types/icon/icons/Archive.d.ts +2 -0
- package/lib/types/icon/icons/ArrowDivert.d.ts +2 -0
- package/lib/types/icon/icons/ArrowDown.d.ts +2 -0
- package/lib/types/icon/icons/ArrowLeft.d.ts +2 -0
- package/lib/types/icon/icons/ArrowRight.d.ts +2 -0
- package/lib/types/icon/icons/ArrowSpace.d.ts +2 -0
- package/lib/types/icon/icons/ArrowUp.d.ts +2 -0
- package/lib/types/icon/icons/Availability.d.ts +2 -0
- package/lib/types/icon/icons/Bag.d.ts +2 -0
- package/lib/types/icon/icons/Balloon.d.ts +2 -0
- package/lib/types/icon/icons/Bell.d.ts +2 -0
- package/lib/types/icon/icons/Book.d.ts +2 -0
- package/lib/types/icon/icons/Bounce.d.ts +2 -0
- package/lib/types/icon/icons/Brush.d.ts +2 -0
- package/lib/types/icon/icons/Bundle.d.ts +2 -0
- package/lib/types/icon/icons/Button.d.ts +2 -0
- package/lib/types/icon/icons/ButtonLine.d.ts +2 -0
- package/lib/types/icon/icons/Cake.d.ts +2 -0
- package/lib/types/icon/icons/Calendar.d.ts +2 -0
- package/lib/types/icon/icons/CalenderAdd.d.ts +2 -0
- package/lib/types/icon/icons/CalenderCross.d.ts +2 -0
- package/lib/types/icon/icons/Car.d.ts +2 -0
- package/lib/types/icon/icons/Carrot.d.ts +2 -0
- package/lib/types/icon/icons/Cart.d.ts +2 -0
- package/lib/types/icon/icons/Cash.d.ts +2 -0
- package/lib/types/icon/icons/Cashier.d.ts +2 -0
- package/lib/types/icon/icons/ChartBars.d.ts +2 -0
- package/lib/types/icon/icons/Chat.d.ts +2 -0
- package/lib/types/icon/icons/Check.d.ts +2 -0
- package/lib/types/icon/icons/CheckCircle.d.ts +2 -0
- package/lib/types/icon/icons/CheckIn.d.ts +2 -0
- package/lib/types/icon/icons/ChevronDown.d.ts +2 -0
- package/lib/types/icon/icons/ChevronUp.d.ts +2 -0
- package/lib/types/icon/icons/City.d.ts +2 -0
- package/lib/types/icon/icons/ClipboardText.d.ts +2 -0
- package/lib/types/icon/icons/Close.d.ts +2 -0
- package/lib/types/icon/icons/CloseCircle.d.ts +2 -0
- package/lib/types/icon/icons/Club.d.ts +2 -0
- package/lib/types/icon/icons/Code.d.ts +2 -0
- package/lib/types/icon/icons/Coin.d.ts +2 -0
- package/lib/types/icon/icons/Combine.d.ts +2 -0
- package/lib/types/icon/icons/Comment.d.ts +2 -0
- package/lib/types/icon/icons/ComplianceCheck.d.ts +2 -0
- package/lib/types/icon/icons/Construction.d.ts +2 -0
- package/lib/types/icon/icons/Copy.d.ts +2 -0
- package/lib/types/icon/icons/Customer.d.ts +2 -0
- package/lib/types/icon/icons/Dashboard.d.ts +2 -0
- package/lib/types/icon/icons/Database.d.ts +2 -0
- package/lib/types/icon/icons/Department.d.ts +2 -0
- package/lib/types/icon/icons/Developer.d.ts +2 -0
- package/lib/types/icon/icons/Discount.d.ts +2 -0
- package/lib/types/icon/icons/Document.d.ts +2 -0
- package/lib/types/icon/icons/DocumentImage.d.ts +2 -0
- package/lib/types/icon/icons/Dollar.d.ts +2 -0
- package/lib/types/icon/icons/Dolly.d.ts +2 -0
- package/lib/types/icon/icons/Download.d.ts +2 -0
- package/lib/types/icon/icons/Drag.d.ts +2 -0
- package/lib/types/icon/icons/Duplicate.d.ts +2 -0
- package/lib/types/icon/icons/Edit.d.ts +2 -0
- package/lib/types/icon/icons/Ellipsis.d.ts +2 -0
- package/lib/types/icon/icons/Email.d.ts +2 -0
- package/lib/types/icon/icons/EmailOpen.d.ts +2 -0
- package/lib/types/icon/icons/Enter.d.ts +2 -0
- package/lib/types/icon/icons/Euro.d.ts +2 -0
- package/lib/types/icon/icons/Exclamation.d.ts +2 -0
- package/lib/types/icon/icons/Exit.d.ts +2 -0
- package/lib/types/icon/icons/Export.d.ts +2 -0
- package/lib/types/icon/icons/Eye.d.ts +2 -0
- package/lib/types/icon/icons/EyeCrossed.d.ts +2 -0
- package/lib/types/icon/icons/FileExport.d.ts +2 -0
- package/lib/types/icon/icons/FileImport.d.ts +2 -0
- package/lib/types/icon/icons/Filter.d.ts +2 -0
- package/lib/types/icon/icons/Flag.d.ts +2 -0
- package/lib/types/icon/icons/Form.d.ts +2 -0
- package/lib/types/icon/icons/Gift.d.ts +2 -0
- package/lib/types/icon/icons/GiftCard.d.ts +2 -0
- package/lib/types/icon/icons/GradHat.d.ts +2 -0
- package/lib/types/icon/icons/Group.d.ts +2 -0
- package/lib/types/icon/icons/Hammer.d.ts +2 -0
- package/lib/types/icon/icons/Hand.d.ts +2 -0
- package/lib/types/icon/icons/Heart.d.ts +2 -0
- package/lib/types/icon/icons/HeartFilled.d.ts +2 -0
- package/lib/types/icon/icons/History.d.ts +2 -0
- package/lib/types/icon/icons/Image.d.ts +2 -0
- package/lib/types/icon/icons/ImagePlaceholder.d.ts +2 -0
- package/lib/types/icon/icons/Import.d.ts +2 -0
- package/lib/types/icon/icons/InfoCircle.d.ts +2 -0
- package/lib/types/icon/icons/Inventory.d.ts +2 -0
- package/lib/types/icon/icons/Language.d.ts +2 -0
- package/lib/types/icon/icons/Launch.d.ts +2 -0
- package/lib/types/icon/icons/LightBulb.d.ts +2 -0
- package/lib/types/icon/icons/Link.d.ts +2 -0
- package/lib/types/icon/icons/Loading.d.ts +2 -0
- package/lib/types/icon/icons/Location.d.ts +2 -0
- package/lib/types/icon/icons/LocationBottom.d.ts +2 -0
- package/lib/types/icon/icons/LocationPage.d.ts +2 -0
- package/lib/types/icon/icons/LocationTop.d.ts +2 -0
- package/lib/types/icon/icons/Lock.d.ts +2 -0
- package/lib/types/icon/icons/LogOut.d.ts +2 -0
- package/lib/types/icon/icons/Loyalty.d.ts +2 -0
- package/lib/types/icon/icons/Map.d.ts +2 -0
- package/lib/types/icon/icons/MapMarker.d.ts +2 -0
- package/lib/types/icon/icons/Marketing.d.ts +2 -0
- package/lib/types/icon/icons/MegaAdmin.d.ts +2 -0
- package/lib/types/icon/icons/Menu.d.ts +2 -0
- package/lib/types/icon/icons/Merge.d.ts +2 -0
- package/lib/types/icon/icons/Minus.d.ts +2 -0
- package/lib/types/icon/icons/Moon.d.ts +2 -0
- package/lib/types/icon/icons/MoreActions.d.ts +2 -0
- package/lib/types/icon/icons/Move.d.ts +2 -0
- package/lib/types/icon/icons/Network.d.ts +2 -0
- package/lib/types/icon/icons/NewTab.d.ts +2 -0
- package/lib/types/icon/icons/Note.d.ts +2 -0
- package/lib/types/icon/icons/Notification.d.ts +2 -0
- package/lib/types/icon/icons/Onboarding.d.ts +2 -0
- package/lib/types/icon/icons/Package.d.ts +2 -0
- package/lib/types/icon/icons/PaperPlane.d.ts +2 -0
- package/lib/types/icon/icons/PauseCircle.d.ts +2 -0
- package/lib/types/icon/icons/Percent.d.ts +2 -0
- package/lib/types/icon/icons/Phone.d.ts +2 -0
- package/lib/types/icon/icons/Platter.d.ts +2 -0
- package/lib/types/icon/icons/PlayCircle.d.ts +2 -0
- package/lib/types/icon/icons/Pointer.d.ts +2 -0
- package/lib/types/icon/icons/Pos.d.ts +2 -0
- package/lib/types/icon/icons/PosProfile.d.ts +2 -0
- package/lib/types/icon/icons/Pound.d.ts +2 -0
- package/lib/types/icon/icons/Power.d.ts +2 -0
- package/lib/types/icon/icons/Print.d.ts +2 -0
- package/lib/types/icon/icons/Process.d.ts +2 -0
- package/lib/types/icon/icons/Product.d.ts +2 -0
- package/lib/types/icon/icons/Qr.d.ts +2 -0
- package/lib/types/icon/icons/QuestionCircle.d.ts +2 -0
- package/lib/types/icon/icons/Rand.d.ts +2 -0
- package/lib/types/icon/icons/Receipt.d.ts +2 -0
- package/lib/types/icon/icons/Redo.d.ts +2 -0
- package/lib/types/icon/icons/RedoLarge.d.ts +2 -0
- package/lib/types/icon/icons/Reload.d.ts +2 -0
- package/lib/types/icon/icons/Remove.d.ts +2 -0
- package/lib/types/icon/icons/Report.d.ts +2 -0
- package/lib/types/icon/icons/Reservation.d.ts +2 -0
- package/lib/types/icon/icons/Rocket.d.ts +2 -0
- package/lib/types/icon/icons/Screen.d.ts +2 -0
- package/lib/types/icon/icons/Search.d.ts +2 -0
- package/lib/types/icon/icons/Security.d.ts +2 -0
- package/lib/types/icon/icons/Seedling.d.ts +2 -0
- package/lib/types/icon/icons/Send.d.ts +2 -0
- package/lib/types/icon/icons/Setting.d.ts +2 -0
- package/lib/types/icon/icons/Shuffle.d.ts +2 -0
- package/lib/types/icon/icons/Smartphone.d.ts +2 -0
- package/lib/types/icon/icons/Sparkle.d.ts +2 -0
- package/lib/types/icon/icons/Split.d.ts +2 -0
- package/lib/types/icon/icons/Star.d.ts +2 -0
- package/lib/types/icon/icons/Store.d.ts +2 -0
- package/lib/types/icon/icons/Sun.d.ts +2 -0
- package/lib/types/icon/icons/Support.d.ts +2 -0
- package/lib/types/icon/icons/SwitchUser.d.ts +2 -0
- package/lib/types/icon/icons/Sync.d.ts +2 -0
- package/lib/types/icon/icons/Table.d.ts +2 -0
- package/lib/types/icon/icons/Tag.d.ts +2 -0
- package/lib/types/icon/icons/Tasting.d.ts +2 -0
- package/lib/types/icon/icons/TextAlignCenter.d.ts +2 -0
- package/lib/types/icon/icons/TextAlignLeft.d.ts +2 -0
- package/lib/types/icon/icons/TextAlignRight.d.ts +2 -0
- package/lib/types/icon/icons/TextBold.d.ts +2 -0
- package/lib/types/icon/icons/TextCase.d.ts +2 -0
- package/lib/types/icon/icons/TextItalic.d.ts +2 -0
- package/lib/types/icon/icons/TextSize.d.ts +2 -0
- package/lib/types/icon/icons/ThumbsDown.d.ts +2 -0
- package/lib/types/icon/icons/ThumbsDownFilled.d.ts +2 -0
- package/lib/types/icon/icons/ThumbsUp.d.ts +2 -0
- package/lib/types/icon/icons/ThumbsUpFilled.d.ts +2 -0
- package/lib/types/icon/icons/Ticket.d.ts +2 -0
- package/lib/types/icon/icons/Time.d.ts +2 -0
- package/lib/types/icon/icons/Title.d.ts +2 -0
- package/lib/types/icon/icons/Transfer.d.ts +2 -0
- package/lib/types/icon/icons/Trash.d.ts +2 -0
- package/lib/types/icon/icons/Truck.d.ts +2 -0
- package/lib/types/icon/icons/Undo.d.ts +2 -0
- package/lib/types/icon/icons/UndoLarge.d.ts +2 -0
- package/lib/types/icon/icons/Upload.d.ts +2 -0
- package/lib/types/icon/icons/User.d.ts +2 -0
- package/lib/types/icon/icons/Users.d.ts +2 -0
- package/lib/types/icon/icons/Video.d.ts +2 -0
- package/lib/types/icon/icons/Wallet.d.ts +2 -0
- package/lib/types/icon/icons/Wand.d.ts +2 -0
- package/lib/types/icon/icons/Warning.d.ts +2 -0
- package/lib/types/icon/icons/Wine.d.ts +2 -0
- package/lib/types/icon/icons/Write.d.ts +2 -0
- package/lib/types/icon/icons/index.d.ts +199 -0
- package/lib/types/icon/index.d.ts +3 -0
- package/lib/types/icon/theme.d.ts +63 -0
- package/lib/types/index.d.ts +88 -0
- package/lib/types/infoCard/InfoCard.d.ts +46 -0
- package/lib/types/infoCard/InfoCard.styles.d.ts +19 -0
- package/lib/types/infoCard/InfoCardGrid.d.ts +17 -0
- package/lib/types/infoCard/index.d.ts +7 -0
- package/lib/types/infoCard/theme.d.ts +204 -0
- package/lib/types/input/ColorInput.d.ts +62 -0
- package/lib/types/input/Input.d.ts +93 -0
- package/lib/types/input/Input.styles.d.ts +17 -0
- package/lib/types/input/index.d.ts +3 -0
- package/lib/types/input/theme.d.ts +12 -0
- package/lib/types/legend/Legend.d.ts +30 -0
- package/lib/types/legend/index.d.ts +3 -0
- package/lib/types/lineBreak/LineBreak.d.ts +13 -0
- package/lib/types/lineBreak/LineBreak.styles.d.ts +2 -0
- package/lib/types/lineBreak/index.d.ts +3 -0
- package/lib/types/lineBreak/theme.d.ts +9 -0
- package/lib/types/linkButton/LinkButton.d.ts +71 -0
- package/lib/types/linkButton/index.d.ts +3 -0
- package/lib/types/modal/Modal.d.ts +47 -0
- package/lib/types/modal/Modal.styles.d.ts +10 -0
- package/lib/types/modal/ModalBody.d.ts +13 -0
- package/lib/types/modal/ModalBody.styles.d.ts +2 -0
- package/lib/types/modal/ModalContent.d.ts +46 -0
- package/lib/types/modal/ModalFooter.d.ts +13 -0
- package/lib/types/modal/ModalFooter.styles.d.ts +2 -0
- package/lib/types/modal/index.d.ts +9 -0
- package/lib/types/modal/theme.d.ts +12 -0
- package/lib/types/nav/Nav.d.ts +21 -0
- package/lib/types/nav/Nav.styles.d.ts +15 -0
- package/lib/types/nav/NavLink.d.ts +41 -0
- package/lib/types/nav/SubNav.d.ts +21 -0
- package/lib/types/nav/SubNavLink.d.ts +36 -0
- package/lib/types/nav/index.d.ts +11 -0
- package/lib/types/nav/theme.d.ts +108 -0
- package/lib/types/noRecords/NoRecords.d.ts +30 -0
- package/lib/types/noRecords/NoRecords.styles.d.ts +6 -0
- package/lib/types/noRecords/index.d.ts +3 -0
- package/lib/types/picture/Picture.d.ts +30 -0
- package/lib/types/picture/Picture.styles.d.ts +9 -0
- package/lib/types/picture/index.d.ts +3 -0
- package/lib/types/pieChart/Label.d.ts +33 -0
- package/lib/types/pieChart/PieChart.d.ts +76 -0
- package/lib/types/pieChart/Tooltip.d.ts +26 -0
- package/lib/types/pieChart/index.d.ts +3 -0
- package/lib/types/progressBar/ProgressBar.d.ts +30 -0
- package/lib/types/progressBar/ProgressBar.styles.d.ts +8 -0
- package/lib/types/progressBar/index.d.ts +3 -0
- package/lib/types/progressBar/theme.d.ts +15 -0
- package/lib/types/radio/Radio.d.ts +73 -0
- package/lib/types/radio/Radio.styles.d.ts +2 -0
- package/lib/types/radio/index.d.ts +3 -0
- package/lib/types/radio/theme.d.ts +49 -0
- package/lib/types/radioGroup/RadioGroup.d.ts +40 -0
- package/lib/types/radioGroup/index.d.ts +3 -0
- package/lib/types/region/Region.d.ts +21 -0
- package/lib/types/region/Region.styles.d.ts +6 -0
- package/lib/types/region/index.d.ts +3 -0
- package/lib/types/select/Options.d.ts +18 -0
- package/lib/types/select/Select.d.ts +61 -0
- package/lib/types/select/Select.styles.d.ts +9 -0
- package/lib/types/select/index.d.ts +3 -0
- package/lib/types/selectButton/SelectButton.d.ts +53 -0
- package/lib/types/selectButton/SelectButton.styles.d.ts +8 -0
- package/lib/types/selectButton/index.d.ts +3 -0
- package/lib/types/selectButton/theme.d.ts +93 -0
- package/lib/types/spinner/Spinner.d.ts +17 -0
- package/lib/types/spinner/Spinner.styles.d.ts +6 -0
- package/lib/types/spinner/index.d.ts +3 -0
- package/lib/types/stepper/Step.d.ts +43 -0
- package/lib/types/stepper/Stepper.d.ts +17 -0
- package/lib/types/stepper/Stepper.styles.d.ts +15 -0
- package/lib/types/stepper/index.d.ts +7 -0
- package/lib/types/stepper/theme.d.ts +31 -0
- package/lib/types/subMenu/SubMenu.d.ts +26 -0
- package/lib/types/subMenu/SubMenu.styles.d.ts +11 -0
- package/lib/types/subMenu/SubMenuItem.d.ts +36 -0
- package/lib/types/subMenu/index.d.ts +7 -0
- package/lib/types/switchComponent/Switch.styles.d.ts +2 -0
- package/lib/types/switchComponent/SwitchComponent.d.ts +51 -0
- package/lib/types/switchComponent/index.d.ts +3 -0
- package/lib/types/switchComponent/theme.d.ts +26 -0
- package/lib/types/table/Table.d.ts +17 -0
- package/lib/types/table/Table.styles.d.ts +3 -0
- package/lib/types/table/Tbody.d.ts +17 -0
- package/lib/types/table/Tbody.styles.d.ts +2 -0
- package/lib/types/table/Td.d.ts +30 -0
- package/lib/types/table/Td.styles.d.ts +2 -0
- package/lib/types/table/Tfoot.d.ts +17 -0
- package/lib/types/table/Tfoot.styles.d.ts +2 -0
- package/lib/types/table/Th.d.ts +26 -0
- package/lib/types/table/Th.styles.d.ts +2 -0
- package/lib/types/table/Thead.d.ts +18 -0
- package/lib/types/table/Thead.styles.d.ts +2 -0
- package/lib/types/table/Tr.d.ts +21 -0
- package/lib/types/table/Tr.styles.d.ts +2 -0
- package/lib/types/table/index.d.ts +17 -0
- package/lib/types/table/theme.d.ts +79 -0
- package/lib/types/tabs/Tab.d.ts +39 -0
- package/lib/types/tabs/TabBody.d.ts +17 -0
- package/lib/types/tabs/Tabs.d.ts +18 -0
- package/lib/types/tabs/Tabs.styles.d.ts +4 -0
- package/lib/types/tabs/index.d.ts +9 -0
- package/lib/types/tag/Tag.d.ts +39 -0
- package/lib/types/tag/Tag.styles.d.ts +19 -0
- package/lib/types/tag/index.d.ts +3 -0
- package/lib/types/tag/theme.d.ts +83 -0
- package/lib/types/text/Text.d.ts +53 -0
- package/lib/types/text/Text.styles.d.ts +2 -0
- package/lib/types/text/index.d.ts +3 -0
- package/lib/types/text/theme.d.ts +13 -0
- package/lib/types/textarea/Textarea.d.ts +67 -0
- package/lib/types/textarea/Textarea.styles.d.ts +8 -0
- package/lib/types/textarea/index.d.ts +3 -0
- package/lib/types/ui/Commerce7AdminUI.d.ts +15 -0
- package/lib/types/ui/index.d.ts +4 -0
- package/lib/types/ui/theme.d.ts +160 -0
- package/lib/types/utils/hooks/useEscKeydown.d.ts +2 -0
- package/lib/types/utils/hooks/useOnClickOutside.d.ts +2 -0
- package/lib/types/utils/hooks/useWindowSize.d.ts +8 -0
- package/lib/types/vividIcon/VividIcon.d.ts +34 -0
- package/lib/types/vividIcon/VividIcon.styles.d.ts +9 -0
- package/lib/types/vividIcon/index.d.ts +3 -0
- package/lib/types/vividIcon/theme.d.ts +108 -0
- package/package.json +5 -2
- package/tsconfig.build.json +13 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React, { ComponentType, ReactNode } from 'react';
|
|
2
|
+
export type AlertVariant = 'default' | 'info' | 'error' | 'warning' | 'success' | 'tip';
|
|
3
|
+
type AlertSize = 'default' | 'small';
|
|
4
|
+
export interface AlertProps {
|
|
5
|
+
/**
|
|
6
|
+
* The content of the component.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Add className to the outermost element
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The component to render as a replacement for `<a/>`.
|
|
15
|
+
* This can be used to pass in components from client-side routing libraries like react-router.
|
|
16
|
+
* If this property is set, all other props will be passed to the component.
|
|
17
|
+
*/
|
|
18
|
+
component?: ComponentType<any> | string;
|
|
19
|
+
/**
|
|
20
|
+
* Set the visual property of the component.
|
|
21
|
+
*/
|
|
22
|
+
variant?: AlertVariant;
|
|
23
|
+
/**
|
|
24
|
+
* Set the size of the component.
|
|
25
|
+
*/
|
|
26
|
+
size?: AlertSize;
|
|
27
|
+
/**
|
|
28
|
+
* Set the icon of the component.
|
|
29
|
+
*/
|
|
30
|
+
icon?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Add test attribute to the element. Used internally for testing.
|
|
33
|
+
*/
|
|
34
|
+
dataTestId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional URL to make the alert content clickable.
|
|
37
|
+
*/
|
|
38
|
+
href?: string;
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}
|
|
41
|
+
declare const Alert: ({ variant, icon, size, children, className, component, dataTestId, href, ...rest }: AlertProps) => React.JSX.Element;
|
|
42
|
+
export default Alert;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AlertVariant } from './Alert';
|
|
2
|
+
interface StyledAlertProps {
|
|
3
|
+
variant: 'default' | 'info' | 'error' | 'warning' | 'success' | 'tip';
|
|
4
|
+
size: 'default' | 'small';
|
|
5
|
+
}
|
|
6
|
+
declare const StyledAlert: import("styled-components").StyledComponent<"div", any, StyledAlertProps, never>;
|
|
7
|
+
interface StyledIconProps {
|
|
8
|
+
alertVariant: AlertVariant;
|
|
9
|
+
alertSize: 'default' | 'small';
|
|
10
|
+
}
|
|
11
|
+
declare const StyledIcon: import("styled-components").StyledComponent<{
|
|
12
|
+
({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon/Icon").IconProps): import("react").JSX.Element | null;
|
|
13
|
+
displayName: string;
|
|
14
|
+
}, any, StyledIconProps, never>;
|
|
15
|
+
declare const StyledAlertLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
16
|
+
export { StyledAlert, StyledIcon, StyledAlertLink };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export namespace colors {
|
|
2
|
+
namespace dark {
|
|
3
|
+
namespace backgroundColor {
|
|
4
|
+
export let error: string;
|
|
5
|
+
export let info: string;
|
|
6
|
+
export let tip: string;
|
|
7
|
+
export let warning: string;
|
|
8
|
+
let _default: string;
|
|
9
|
+
export { _default as default };
|
|
10
|
+
export let success: string;
|
|
11
|
+
}
|
|
12
|
+
namespace borderBackground {
|
|
13
|
+
let error_1: string;
|
|
14
|
+
export { error_1 as error };
|
|
15
|
+
let info_1: string;
|
|
16
|
+
export { info_1 as info };
|
|
17
|
+
let tip_1: string;
|
|
18
|
+
export { tip_1 as tip };
|
|
19
|
+
let warning_1: string;
|
|
20
|
+
export { warning_1 as warning };
|
|
21
|
+
let _default_1: string;
|
|
22
|
+
export { _default_1 as default };
|
|
23
|
+
let success_1: string;
|
|
24
|
+
export { success_1 as success };
|
|
25
|
+
}
|
|
26
|
+
namespace iconColor {
|
|
27
|
+
let error_2: string;
|
|
28
|
+
export { error_2 as error };
|
|
29
|
+
let info_2: string;
|
|
30
|
+
export { info_2 as info };
|
|
31
|
+
let tip_2: string;
|
|
32
|
+
export { tip_2 as tip };
|
|
33
|
+
let warning_2: string;
|
|
34
|
+
export { warning_2 as warning };
|
|
35
|
+
let _default_2: string;
|
|
36
|
+
export { _default_2 as default };
|
|
37
|
+
let success_2: string;
|
|
38
|
+
export { success_2 as success };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
namespace light {
|
|
42
|
+
export namespace backgroundColor_1 {
|
|
43
|
+
let error_3: string;
|
|
44
|
+
export { error_3 as error };
|
|
45
|
+
let info_3: string;
|
|
46
|
+
export { info_3 as info };
|
|
47
|
+
let tip_3: string;
|
|
48
|
+
export { tip_3 as tip };
|
|
49
|
+
let warning_3: string;
|
|
50
|
+
export { warning_3 as warning };
|
|
51
|
+
let _default_3: string;
|
|
52
|
+
export { _default_3 as default };
|
|
53
|
+
let success_3: string;
|
|
54
|
+
export { success_3 as success };
|
|
55
|
+
}
|
|
56
|
+
export { backgroundColor_1 as backgroundColor };
|
|
57
|
+
export namespace borderBackground_1 {
|
|
58
|
+
let error_4: string;
|
|
59
|
+
export { error_4 as error };
|
|
60
|
+
let info_4: string;
|
|
61
|
+
export { info_4 as info };
|
|
62
|
+
let tip_4: string;
|
|
63
|
+
export { tip_4 as tip };
|
|
64
|
+
let warning_4: string;
|
|
65
|
+
export { warning_4 as warning };
|
|
66
|
+
let _default_4: string;
|
|
67
|
+
export { _default_4 as default };
|
|
68
|
+
let success_4: string;
|
|
69
|
+
export { success_4 as success };
|
|
70
|
+
}
|
|
71
|
+
export { borderBackground_1 as borderBackground };
|
|
72
|
+
export namespace iconColor_1 {
|
|
73
|
+
let error_5: string;
|
|
74
|
+
export { error_5 as error };
|
|
75
|
+
let info_5: string;
|
|
76
|
+
export { info_5 as info };
|
|
77
|
+
let tip_5: string;
|
|
78
|
+
export { tip_5 as tip };
|
|
79
|
+
let warning_5: string;
|
|
80
|
+
export { warning_5 as warning };
|
|
81
|
+
let _default_5: string;
|
|
82
|
+
export { _default_5 as default };
|
|
83
|
+
let success_5: string;
|
|
84
|
+
export { success_5 as success };
|
|
85
|
+
}
|
|
86
|
+
export { iconColor_1 as iconColor };
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export namespace sizes {
|
|
90
|
+
namespace _default_6 {
|
|
91
|
+
let padding: string;
|
|
92
|
+
let borderWidth: string;
|
|
93
|
+
let iconMargin: string;
|
|
94
|
+
let iconSize: string;
|
|
95
|
+
let fontSize: string;
|
|
96
|
+
}
|
|
97
|
+
export { _default_6 as default };
|
|
98
|
+
export namespace small {
|
|
99
|
+
let padding_1: string;
|
|
100
|
+
export { padding_1 as padding };
|
|
101
|
+
let borderWidth_1: string;
|
|
102
|
+
export { borderWidth_1 as borderWidth };
|
|
103
|
+
let iconMargin_1: string;
|
|
104
|
+
export { iconMargin_1 as iconMargin };
|
|
105
|
+
let iconSize_1: string;
|
|
106
|
+
export { iconSize_1 as iconSize };
|
|
107
|
+
let fontSize_1: string;
|
|
108
|
+
export { fontSize_1 as fontSize };
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type AvatarSize = 'tiny' | 'small' | 'default' | 'large';
|
|
3
|
+
export interface AvatarProps {
|
|
4
|
+
/**
|
|
5
|
+
* Add className to the outermost element
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The URL of the image
|
|
10
|
+
*/
|
|
11
|
+
imageSrc?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The alt text for the image
|
|
14
|
+
*/
|
|
15
|
+
imageAlt?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The label text to display
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The size of the avatar
|
|
22
|
+
*/
|
|
23
|
+
size?: AvatarSize;
|
|
24
|
+
/**
|
|
25
|
+
* Add test attribute to the element. Used internally for testing.
|
|
26
|
+
*/
|
|
27
|
+
dataTestId?: string;
|
|
28
|
+
}
|
|
29
|
+
declare const Avatar: ({ className, imageSrc, imageAlt, label, size, dataTestId }: AvatarProps) => React.JSX.Element;
|
|
30
|
+
export default Avatar;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface StyledAvatarProps {
|
|
2
|
+
size: 'tiny' | 'small' | 'default' | 'large';
|
|
3
|
+
}
|
|
4
|
+
declare const StyledAvatar: import("styled-components").StyledComponent<"div", any, StyledAvatarProps, never>;
|
|
5
|
+
interface StyledAvatarIconProps {
|
|
6
|
+
avatarSize: 'tiny' | 'small' | 'default' | 'large';
|
|
7
|
+
}
|
|
8
|
+
declare const StyledAvatarIcon: import("styled-components").StyledComponent<{
|
|
9
|
+
({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
|
|
10
|
+
displayName: string;
|
|
11
|
+
}, any, StyledAvatarIconProps, never>;
|
|
12
|
+
export { StyledAvatar, StyledAvatarIcon };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export namespace sizes {
|
|
2
|
+
export let tiny: string;
|
|
3
|
+
export let small: string;
|
|
4
|
+
let _default: string;
|
|
5
|
+
export { _default as default };
|
|
6
|
+
export let large: string;
|
|
7
|
+
}
|
|
8
|
+
export namespace iconSizes {
|
|
9
|
+
let tiny_1: string;
|
|
10
|
+
export { tiny_1 as tiny };
|
|
11
|
+
let small_1: string;
|
|
12
|
+
export { small_1 as small };
|
|
13
|
+
let _default_1: string;
|
|
14
|
+
export { _default_1 as default };
|
|
15
|
+
let large_1: string;
|
|
16
|
+
export { large_1 as large };
|
|
17
|
+
}
|
|
18
|
+
export namespace fontSizes {
|
|
19
|
+
let tiny_2: string;
|
|
20
|
+
export { tiny_2 as tiny };
|
|
21
|
+
let small_2: string;
|
|
22
|
+
export { small_2 as small };
|
|
23
|
+
let _default_2: string;
|
|
24
|
+
export { _default_2 as default };
|
|
25
|
+
let large_2: string;
|
|
26
|
+
export { large_2 as large };
|
|
27
|
+
}
|
|
28
|
+
export namespace colors {
|
|
29
|
+
namespace light {
|
|
30
|
+
let background: string;
|
|
31
|
+
let fontColor: string;
|
|
32
|
+
let iconColor: string;
|
|
33
|
+
}
|
|
34
|
+
namespace dark {
|
|
35
|
+
let background_1: string;
|
|
36
|
+
export { background_1 as background };
|
|
37
|
+
let fontColor_1: string;
|
|
38
|
+
export { fontColor_1 as fontColor };
|
|
39
|
+
let iconColor_1: string;
|
|
40
|
+
export { iconColor_1 as iconColor };
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React, { ReactNode, ElementType } from 'react';
|
|
2
|
+
export interface BreadcrumbProps {
|
|
3
|
+
/**
|
|
4
|
+
* The content of the component.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Add className to the outermost element
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Callback fired when the component is clicked.
|
|
13
|
+
*/
|
|
14
|
+
onClick?: (() => void) | null;
|
|
15
|
+
/**
|
|
16
|
+
* The component to render as a replacement for `<a/>`.
|
|
17
|
+
* This can be used to pass in components from client-side routing libraries like react-router.
|
|
18
|
+
* If this property is set, all other props will be passed to the component.
|
|
19
|
+
*/
|
|
20
|
+
component?: ElementType;
|
|
21
|
+
/**
|
|
22
|
+
* The url to link to.
|
|
23
|
+
*/
|
|
24
|
+
href?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Add test attribute to the element. Used internally for testing.
|
|
27
|
+
*/
|
|
28
|
+
dataTestId?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const Breadcrumb: ({ className, component, href, children, dataTestId, onClick, ...rest }: BreadcrumbProps) => React.JSX.Element;
|
|
31
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface BreadcrumbsProps {
|
|
3
|
+
/**
|
|
4
|
+
* The content of the component.
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Add className to the outermost element
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Add test attribute to the element. Used internally for testing.
|
|
13
|
+
*/
|
|
14
|
+
dataTestId?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Breadcrumbs: ({ className, dataTestId, children }: BreadcrumbsProps) => React.JSX.Element;
|
|
17
|
+
export default Breadcrumbs;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BreadcrumbProps } from './Breadcrumb';
|
|
2
|
+
import { BreadcrumbsProps } from './Breadcrumbs';
|
|
3
|
+
declare const Breadcrumbs: (({ className, dataTestId, children }: BreadcrumbsProps) => import("react").JSX.Element) & {
|
|
4
|
+
Breadcrumb: ({ className, component, href, children, dataTestId, onClick, ...rest }: BreadcrumbProps) => import("react").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export type { BreadcrumbProps, BreadcrumbsProps };
|
|
7
|
+
export default Breadcrumbs;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React, { ReactNode, MouseEvent } from 'react';
|
|
2
|
+
export type ButtonSize = 'default' | 'small';
|
|
3
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'text' | 'link';
|
|
4
|
+
export type ButtonType = 'button' | 'submit';
|
|
5
|
+
export interface ButtonProps {
|
|
6
|
+
/**
|
|
7
|
+
* The content of the component.
|
|
8
|
+
*/
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Add className to the outermost element.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set the element to disabled.
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Set the button to visually show a loading spinner.
|
|
20
|
+
* This will also disable the button.
|
|
21
|
+
* This prop is intended to be used during asynchronous actions, like submitting a form.
|
|
22
|
+
*/
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Callback fired when the component is clicked.
|
|
26
|
+
*/
|
|
27
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Control the size of the button
|
|
30
|
+
*/
|
|
31
|
+
size?: ButtonSize;
|
|
32
|
+
/**
|
|
33
|
+
* Add an icon to the start of the element.
|
|
34
|
+
* Valid icons include all options from the `<Icon/>` component.
|
|
35
|
+
*/
|
|
36
|
+
startIcon?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Add an icon to the end of the element.
|
|
39
|
+
*/
|
|
40
|
+
endIcon?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Adds a type to the button DOM element.
|
|
43
|
+
*/
|
|
44
|
+
type?: ButtonType;
|
|
45
|
+
/**
|
|
46
|
+
* Set the visual property of the component.
|
|
47
|
+
*/
|
|
48
|
+
variant?: ButtonVariant;
|
|
49
|
+
/**
|
|
50
|
+
* Add test attribute to the element. Used internally for testing.
|
|
51
|
+
*/
|
|
52
|
+
dataTestId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* When it is true, specifies that the <input> element should not be validated when submitted.
|
|
55
|
+
* Use this when you have custom validation on your form
|
|
56
|
+
*/
|
|
57
|
+
formNoValidate?: boolean;
|
|
58
|
+
}
|
|
59
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
60
|
+
export default Button;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ButtonSize, ButtonVariant } from './Button';
|
|
2
|
+
interface ButtonVariantProps {
|
|
3
|
+
buttonVariant: ButtonVariant;
|
|
4
|
+
position?: 'start' | 'end';
|
|
5
|
+
isHidden?: boolean;
|
|
6
|
+
hasChildren: boolean;
|
|
7
|
+
icon: string;
|
|
8
|
+
}
|
|
9
|
+
declare const StyledButtonIcon: import("styled-components").StyledComponent<{
|
|
10
|
+
({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
|
|
11
|
+
displayName: string;
|
|
12
|
+
}, any, ButtonVariantProps, never>;
|
|
13
|
+
interface StyledButtonProps {
|
|
14
|
+
variant?: ButtonVariant;
|
|
15
|
+
size?: ButtonSize;
|
|
16
|
+
}
|
|
17
|
+
declare const StyledButton: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>;
|
|
18
|
+
interface StyledButtonTextProps {
|
|
19
|
+
isLoading?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const StyledButtonText: import("styled-components").StyledComponent<"span", any, StyledButtonTextProps, never>;
|
|
22
|
+
declare const StyledLoadingIcon: import("styled-components").StyledComponent<{
|
|
23
|
+
({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
|
|
24
|
+
displayName: string;
|
|
25
|
+
}, any, {}, never>;
|
|
26
|
+
export { StyledButton, StyledButtonIcon, StyledButtonText, StyledLoadingIcon };
|