@commerce7/admin-ui 2.0.46 → 2.0.47
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/ThumbsUp.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 +197 -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,9 @@
|
|
|
1
|
+
import { ContextMenuProps } from './ContextMenu';
|
|
2
|
+
import { ContextMenuItemProps } from './ContextMenuItem';
|
|
3
|
+
import { ContextMenuMoreActionsProps } from './ContextMenuMoreActions';
|
|
4
|
+
declare const ContextMenu: (({ children, className, dataTestId }: ContextMenuProps) => import("react").JSX.Element) & {
|
|
5
|
+
ContextMenuItem: ({ onClick, children, className, icon, img, alt, disabled, dataTestId }: ContextMenuItemProps) => import("react").JSX.Element;
|
|
6
|
+
ContextMenuMoreActions: ({ children, className, disabled, dataTestId, label }: ContextMenuMoreActionsProps) => import("react").JSX.Element | null;
|
|
7
|
+
};
|
|
8
|
+
export type { ContextMenuItemProps, ContextMenuMoreActionsProps, ContextMenuProps };
|
|
9
|
+
export default ContextMenu;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface DataDisplayProps {
|
|
3
|
+
/**
|
|
4
|
+
* The contents of the component.
|
|
5
|
+
*/
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Add className to the outermost element.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The label for the component.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Add test attribute to the element. Used internally for testing.
|
|
17
|
+
*/
|
|
18
|
+
dataTestId?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const DataDisplay: ({ children, className, label, dataTestId }: DataDisplayProps) => React.JSX.Element;
|
|
21
|
+
export default DataDisplay;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const StyledDataDisplayLabel: import("styled-components").StyledComponent<"label", any, {
|
|
2
|
+
as: string;
|
|
3
|
+
}, "as">;
|
|
4
|
+
declare const StaticDataDisplayStyles: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
5
|
+
export { StyledDataDisplayLabel, StaticDataDisplayStyles };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Moment } from 'moment';
|
|
2
|
+
import React, { FocusEvent } from 'react';
|
|
3
|
+
export interface DatePickerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Show a clear value button in the input.
|
|
6
|
+
*/
|
|
7
|
+
allowClear?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Set the element to autoFocus on mount.
|
|
10
|
+
*/
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Add className to the outermost element.
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Help text to describe the form field
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Set the element to be disabled.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Show an error message and set the component styles to visually show an error.
|
|
26
|
+
*/
|
|
27
|
+
errorMessage?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Set the id of the element.
|
|
30
|
+
* The label uses this id to ensure htmlFor is set correctly.
|
|
31
|
+
*/
|
|
32
|
+
id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Show just the calendar picker without an input.
|
|
35
|
+
*/
|
|
36
|
+
inline?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Function to check if a date should be disabled in the datepicker.
|
|
39
|
+
* The function parameters will include a moment date object.
|
|
40
|
+
*/
|
|
41
|
+
isValidDate?: (currentDate: Moment) => boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The label for the component.
|
|
44
|
+
*/
|
|
45
|
+
label?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Callback onChange.
|
|
48
|
+
*/
|
|
49
|
+
onChange: (date: Moment | string) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Callback onBlur.
|
|
52
|
+
*/
|
|
53
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Callback onFocus.
|
|
56
|
+
*/
|
|
57
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
58
|
+
/**
|
|
59
|
+
* The placeholder of the element.
|
|
60
|
+
*/
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Set the element to be required.
|
|
64
|
+
*/
|
|
65
|
+
required?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The value of the element.
|
|
68
|
+
* This should be a date with format MMM D, YYYY.
|
|
69
|
+
*/
|
|
70
|
+
value: string;
|
|
71
|
+
/**
|
|
72
|
+
* Add test attribute to the element. Used internally for testing.
|
|
73
|
+
*/
|
|
74
|
+
dataTestId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Variant of the date picker
|
|
77
|
+
*/
|
|
78
|
+
variant?: 'default' | 'dayFormat';
|
|
79
|
+
}
|
|
80
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
81
|
+
export default DatePicker;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Moment } from 'moment';
|
|
2
|
+
import React, { FocusEvent } from 'react';
|
|
3
|
+
export interface DayDatePickerProps {
|
|
4
|
+
/**
|
|
5
|
+
* Show a clear value button in the input.
|
|
6
|
+
*/
|
|
7
|
+
allowClear?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Set the element to autoFocus on mount.
|
|
10
|
+
*/
|
|
11
|
+
autoFocus?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Add className to the outermost element.
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Help text to describe the form field
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Set the element to be disabled.
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Show an error message and set the component styles to visually show an error.
|
|
26
|
+
*/
|
|
27
|
+
errorMessage?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Set the id of the element.
|
|
30
|
+
* The label uses this id to ensure htmlFor is set correctly.
|
|
31
|
+
*/
|
|
32
|
+
id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Show just the calendar picker without an input.
|
|
35
|
+
*/
|
|
36
|
+
inline?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Function to check if a date should be disabled in the datepicker.
|
|
39
|
+
* The function parameters will include a moment date object.
|
|
40
|
+
*/
|
|
41
|
+
isValidDate?: (currentDate: Moment) => boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The label for the component.
|
|
44
|
+
*/
|
|
45
|
+
label?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Callback onChange.
|
|
48
|
+
* Returns formatted string in 'ddd, MMM D, YYYY' format.
|
|
49
|
+
*/
|
|
50
|
+
onChange: (date: string) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Callback onBlur.
|
|
53
|
+
*/
|
|
54
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Callback onFocus.
|
|
57
|
+
*/
|
|
58
|
+
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
59
|
+
/**
|
|
60
|
+
* The placeholder of the element.
|
|
61
|
+
*/
|
|
62
|
+
placeholder?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Set the element to be required.
|
|
65
|
+
*/
|
|
66
|
+
required?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* The value of the element.
|
|
69
|
+
* Should be a formatted date string in 'ddd, MMM D, YYYY' format.
|
|
70
|
+
*/
|
|
71
|
+
value: string;
|
|
72
|
+
/**
|
|
73
|
+
* Add test attribute to the element. Used internally for testing.
|
|
74
|
+
*/
|
|
75
|
+
dataTestId?: string;
|
|
76
|
+
}
|
|
77
|
+
declare const DayDatePicker: React.ForwardRefExoticComponent<DayDatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
78
|
+
export default DayDatePicker;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export namespace colors {
|
|
2
|
+
namespace light {
|
|
3
|
+
let backgroundColor: string;
|
|
4
|
+
let borderColor: string;
|
|
5
|
+
namespace fontColor {
|
|
6
|
+
let _default: string;
|
|
7
|
+
export { _default as default };
|
|
8
|
+
export let active: string;
|
|
9
|
+
export let inactive: string;
|
|
10
|
+
export let hover: string;
|
|
11
|
+
export let disabled: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
namespace dark {
|
|
15
|
+
let backgroundColor_1: string;
|
|
16
|
+
export { backgroundColor_1 as backgroundColor };
|
|
17
|
+
let borderColor_1: string;
|
|
18
|
+
export { borderColor_1 as borderColor };
|
|
19
|
+
export namespace fontColor_1 {
|
|
20
|
+
let _default_1: string;
|
|
21
|
+
export { _default_1 as default };
|
|
22
|
+
let active_1: string;
|
|
23
|
+
export { active_1 as active };
|
|
24
|
+
let inactive_1: string;
|
|
25
|
+
export { inactive_1 as inactive };
|
|
26
|
+
let hover_1: string;
|
|
27
|
+
export { hover_1 as hover };
|
|
28
|
+
let disabled_1: string;
|
|
29
|
+
export { disabled_1 as disabled };
|
|
30
|
+
}
|
|
31
|
+
export { fontColor_1 as fontColor };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export namespace dayColors {
|
|
35
|
+
export namespace light_1 {
|
|
36
|
+
export namespace backgroundColor_2 {
|
|
37
|
+
let _default_2: string;
|
|
38
|
+
export { _default_2 as default };
|
|
39
|
+
let hover_2: string;
|
|
40
|
+
export { hover_2 as hover };
|
|
41
|
+
let active_2: string;
|
|
42
|
+
export { active_2 as active };
|
|
43
|
+
export let today: string;
|
|
44
|
+
}
|
|
45
|
+
export { backgroundColor_2 as backgroundColor };
|
|
46
|
+
}
|
|
47
|
+
export { light_1 as light };
|
|
48
|
+
export namespace dark_1 {
|
|
49
|
+
export namespace backgroundColor_3 {
|
|
50
|
+
let _default_3: string;
|
|
51
|
+
export { _default_3 as default };
|
|
52
|
+
let hover_3: string;
|
|
53
|
+
export { hover_3 as hover };
|
|
54
|
+
let active_3: string;
|
|
55
|
+
export { active_3 as active };
|
|
56
|
+
let today_1: string;
|
|
57
|
+
export { today_1 as today };
|
|
58
|
+
}
|
|
59
|
+
export { backgroundColor_3 as backgroundColor };
|
|
60
|
+
}
|
|
61
|
+
export { dark_1 as dark };
|
|
62
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { MouseEvent } from 'react';
|
|
2
|
+
export type DisplayIconVariant = 'default' | 'success' | 'warning' | 'error' | 'tip' | 'info';
|
|
3
|
+
export interface DisplayIconProps {
|
|
4
|
+
/**
|
|
5
|
+
* Add className to the outermost element.
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Set the icon to use.
|
|
10
|
+
*/
|
|
11
|
+
icon: string;
|
|
12
|
+
/**
|
|
13
|
+
* The label for the component.
|
|
14
|
+
* This should be used when passing in an onClick prop, for accessibility reasons.
|
|
15
|
+
*/
|
|
16
|
+
label?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Callback fired when the component is clicked.
|
|
19
|
+
*/
|
|
20
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Set the visual property of the component.
|
|
23
|
+
*/
|
|
24
|
+
variant?: DisplayIconVariant;
|
|
25
|
+
/**
|
|
26
|
+
* Add test attribute to the element. Used internally for testing.
|
|
27
|
+
*/
|
|
28
|
+
dataTestId?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const DisplayIcon: {
|
|
31
|
+
({ className, icon, label, onClick, variant, dataTestId }: DisplayIconProps): React.JSX.Element | null;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
export default DisplayIcon;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const StyledIcon: import("styled-components").StyledComponent<"svg", any, {}, never>;
|
|
2
|
+
interface StyledDisplayIconProps {
|
|
3
|
+
variant: 'default' | 'success' | 'warning' | 'error' | 'info' | 'tip';
|
|
4
|
+
}
|
|
5
|
+
declare const StyledDisplayIcon: import("styled-components").StyledComponent<"div", any, StyledDisplayIconProps, never>;
|
|
6
|
+
export { StyledDisplayIcon, StyledIcon };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { DisplayIconVariant } from './DisplayIcon';
|
|
3
|
+
interface IconWrapperProps {
|
|
4
|
+
/**
|
|
5
|
+
* The icon content to be wrapped
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Add test attribute to the element. Used internally for testing.
|
|
10
|
+
*/
|
|
11
|
+
dataTestId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Set the visual property of the component.
|
|
14
|
+
*/
|
|
15
|
+
variant: DisplayIconVariant;
|
|
16
|
+
}
|
|
17
|
+
declare const IconWrapper: {
|
|
18
|
+
({ children, dataTestId, variant }: IconWrapperProps): React.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
export type { IconWrapperProps };
|
|
22
|
+
export default IconWrapper;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
type HeadingLevel = 1 | 2 | 3 | 4;
|
|
3
|
+
export interface HeadingProps {
|
|
4
|
+
/**
|
|
5
|
+
* Select what size heading.
|
|
6
|
+
*/
|
|
7
|
+
level?: HeadingLevel;
|
|
8
|
+
/**
|
|
9
|
+
* The prop to add custom margin bottom.
|
|
10
|
+
*/
|
|
11
|
+
marginBottom?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The content of the component.
|
|
14
|
+
*/
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Add className to the outermost element.
|
|
18
|
+
*/
|
|
19
|
+
className?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Add test attribute to the element. Used internally for testing.
|
|
22
|
+
*/
|
|
23
|
+
dataTestId?: string;
|
|
24
|
+
}
|
|
25
|
+
declare const Heading: {
|
|
26
|
+
({ children, level, marginBottom, className, dataTestId }: HeadingProps): React.JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
export default Heading;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export namespace fontSize {
|
|
2
|
+
let h1: string;
|
|
3
|
+
let h2: string;
|
|
4
|
+
let h3: string;
|
|
5
|
+
let h4: string;
|
|
6
|
+
}
|
|
7
|
+
export namespace colors {
|
|
8
|
+
namespace dark {
|
|
9
|
+
let fontColor: string;
|
|
10
|
+
}
|
|
11
|
+
namespace light {
|
|
12
|
+
let fontColor_1: string;
|
|
13
|
+
export { fontColor_1 as fontColor };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export namespace marginBottom {
|
|
17
|
+
let h1_1: string;
|
|
18
|
+
export { h1_1 as h1 };
|
|
19
|
+
let h2_1: string;
|
|
20
|
+
export { h2_1 as h2 };
|
|
21
|
+
let h3_1: string;
|
|
22
|
+
export { h3_1 as h3 };
|
|
23
|
+
let h4_1: string;
|
|
24
|
+
export { h4_1 as h4 };
|
|
25
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { MouseEvent } from 'react';
|
|
2
|
+
type IconVariant = 'default' | 'success' | 'error' | 'text' | 'info' | 'warning';
|
|
3
|
+
export interface IconProps {
|
|
4
|
+
/**
|
|
5
|
+
* Add className to the outermost element.
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Set the icon to use.
|
|
10
|
+
*/
|
|
11
|
+
icon: string;
|
|
12
|
+
/**
|
|
13
|
+
* The label for the component.
|
|
14
|
+
* This should be used when passing in an onClick prop, for accessibility reasons.
|
|
15
|
+
*/
|
|
16
|
+
label?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Callback fired when the component is clicked.
|
|
19
|
+
*/
|
|
20
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Set the size of the icon.
|
|
23
|
+
*/
|
|
24
|
+
size?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Set the visual property of the component.
|
|
27
|
+
*/
|
|
28
|
+
variant?: IconVariant | string;
|
|
29
|
+
/**
|
|
30
|
+
* Add test attribute to the element. Used internally for testing.
|
|
31
|
+
*/
|
|
32
|
+
dataTestId?: string;
|
|
33
|
+
}
|
|
34
|
+
declare const Icon: {
|
|
35
|
+
({ className, icon, label, onClick, size, variant, dataTestId }: IconProps): React.JSX.Element | null;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
export default Icon;
|