@commerce7/admin-ui 2.0.45 → 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.
Files changed (400) hide show
  1. package/lib/build.js +1 -1
  2. package/lib/types/alert/Alert.d.ts +42 -0
  3. package/lib/types/alert/Alert.styles.d.ts +16 -0
  4. package/lib/types/alert/index.d.ts +3 -0
  5. package/lib/types/alert/theme.d.ts +110 -0
  6. package/lib/types/avatar/Avatar.d.ts +30 -0
  7. package/lib/types/avatar/Avatar.styles.d.ts +12 -0
  8. package/lib/types/avatar/index.d.ts +3 -0
  9. package/lib/types/avatar/theme.d.ts +42 -0
  10. package/lib/types/breadcrumbs/Breadcrumb.d.ts +31 -0
  11. package/lib/types/breadcrumbs/Breadcrumb.styles.d.ts +3 -0
  12. package/lib/types/breadcrumbs/Breadcrumbs.d.ts +17 -0
  13. package/lib/types/breadcrumbs/Breadcrumbs.styles.d.ts +2 -0
  14. package/lib/types/breadcrumbs/index.d.ts +7 -0
  15. package/lib/types/button/Button.d.ts +60 -0
  16. package/lib/types/button/Button.styles.d.ts +26 -0
  17. package/lib/types/button/index.d.ts +3 -0
  18. package/lib/types/button/theme.d.ts +480 -0
  19. package/lib/types/buttonMenu/ButtonMenu.d.ts +39 -0
  20. package/lib/types/buttonMenu/ButtonMenuItem.d.ts +5 -0
  21. package/lib/types/buttonMenu/index.d.ts +7 -0
  22. package/lib/types/card/Card.d.ts +21 -0
  23. package/lib/types/card/Card.styles.d.ts +5 -0
  24. package/lib/types/card/index.d.ts +3 -0
  25. package/lib/types/card/theme.d.ts +21 -0
  26. package/lib/types/cardLink/CardLink.d.ts +41 -0
  27. package/lib/types/cardLink/CardLink.styles.d.ts +14 -0
  28. package/lib/types/cardLink/index.d.ts +3 -0
  29. package/lib/types/cardLink/theme.d.ts +21 -0
  30. package/lib/types/checkbox/Checkbox.d.ts +69 -0
  31. package/lib/types/checkbox/Checkbox.styles.d.ts +9 -0
  32. package/lib/types/checkbox/index.d.ts +3 -0
  33. package/lib/types/checkbox/theme.d.ts +49 -0
  34. package/lib/types/checkboxGroup/CheckboxGroup.d.ts +40 -0
  35. package/lib/types/checkboxGroup/index.d.ts +3 -0
  36. package/lib/types/columns/Column.d.ts +14 -0
  37. package/lib/types/columns/Columns.d.ts +29 -0
  38. package/lib/types/columns/Columns.styles.d.ts +11 -0
  39. package/lib/types/columns/index.d.ts +7 -0
  40. package/lib/types/common/contextMenu/ContextMenuItem.d.ts +39 -0
  41. package/lib/types/common/contextMenu/ContextMenuItem.styles.d.ts +7 -0
  42. package/lib/types/common/contextMenu/theme.d.ts +24 -0
  43. package/lib/types/common/dropdown/DropdownMenu.d.ts +30 -0
  44. package/lib/types/common/dropdown/DropdownMenu.styles.d.ts +6 -0
  45. package/lib/types/common/dropdown/DropdownWrapper.d.ts +17 -0
  46. package/lib/types/common/dropdown/DropdownWrapper.styles.d.ts +2 -0
  47. package/lib/types/common/dropdown/theme.d.ts +85 -0
  48. package/lib/types/common/form/helpers.d.ts +6 -0
  49. package/lib/types/common/form/styles.d.ts +42 -0
  50. package/lib/types/common/form/theme.d.ts +100 -0
  51. package/lib/types/contextMenu/ContextMenu.d.ts +17 -0
  52. package/lib/types/contextMenu/ContextMenu.styles.d.ts +2 -0
  53. package/lib/types/contextMenu/ContextMenuItem.d.ts +3 -0
  54. package/lib/types/contextMenu/ContextMenuMoreActions.d.ts +26 -0
  55. package/lib/types/contextMenu/index.d.ts +9 -0
  56. package/lib/types/dataDisplay/DataDisplay.d.ts +21 -0
  57. package/lib/types/dataDisplay/DataDisplay.styles.d.ts +5 -0
  58. package/lib/types/dataDisplay/index.d.ts +3 -0
  59. package/lib/types/dataDisplay/theme.d.ts +9 -0
  60. package/lib/types/datePicker/DatePicker.d.ts +81 -0
  61. package/lib/types/datePicker/DatePicker.styles.d.ts +3 -0
  62. package/lib/types/datePicker/DayDatePicker.d.ts +78 -0
  63. package/lib/types/datePicker/index.d.ts +4 -0
  64. package/lib/types/datePicker/theme.d.ts +62 -0
  65. package/lib/types/displayIcon/DisplayIcon.d.ts +34 -0
  66. package/lib/types/displayIcon/DisplayIcon.styles.d.ts +6 -0
  67. package/lib/types/displayIcon/IconWrapper.d.ts +22 -0
  68. package/lib/types/displayIcon/index.d.ts +3 -0
  69. package/lib/types/heading/Heading.d.ts +29 -0
  70. package/lib/types/heading/Heading.styles.d.ts +6 -0
  71. package/lib/types/heading/index.d.ts +3 -0
  72. package/lib/types/heading/theme.d.ts +25 -0
  73. package/lib/types/icon/Icon.d.ts +38 -0
  74. package/lib/types/icon/Icon.styles.d.ts +3 -0
  75. package/lib/types/icon/IconWrapper.styles.d.ts +2 -0
  76. package/lib/types/icon/icons/Add.d.ts +2 -0
  77. package/lib/types/icon/icons/AddCart.d.ts +2 -0
  78. package/lib/types/icon/icons/AddUser.d.ts +2 -0
  79. package/lib/types/icon/icons/Adjust.d.ts +2 -0
  80. package/lib/types/icon/icons/AlignCenter.d.ts +2 -0
  81. package/lib/types/icon/icons/AlignLeft.d.ts +2 -0
  82. package/lib/types/icon/icons/AlignRight.d.ts +2 -0
  83. package/lib/types/icon/icons/App.d.ts +2 -0
  84. package/lib/types/icon/icons/Application.d.ts +2 -0
  85. package/lib/types/icon/icons/ApplicationSwitcher.d.ts +2 -0
  86. package/lib/types/icon/icons/Archive.d.ts +2 -0
  87. package/lib/types/icon/icons/ArrowDivert.d.ts +2 -0
  88. package/lib/types/icon/icons/ArrowDown.d.ts +2 -0
  89. package/lib/types/icon/icons/ArrowLeft.d.ts +2 -0
  90. package/lib/types/icon/icons/ArrowRight.d.ts +2 -0
  91. package/lib/types/icon/icons/ArrowSpace.d.ts +2 -0
  92. package/lib/types/icon/icons/ArrowUp.d.ts +2 -0
  93. package/lib/types/icon/icons/Availability.d.ts +2 -0
  94. package/lib/types/icon/icons/Bag.d.ts +2 -0
  95. package/lib/types/icon/icons/Balloon.d.ts +2 -0
  96. package/lib/types/icon/icons/Bell.d.ts +2 -0
  97. package/lib/types/icon/icons/Book.d.ts +2 -0
  98. package/lib/types/icon/icons/Bounce.d.ts +2 -0
  99. package/lib/types/icon/icons/Brush.d.ts +2 -0
  100. package/lib/types/icon/icons/Bundle.d.ts +2 -0
  101. package/lib/types/icon/icons/Button.d.ts +2 -0
  102. package/lib/types/icon/icons/ButtonLine.d.ts +2 -0
  103. package/lib/types/icon/icons/Cake.d.ts +2 -0
  104. package/lib/types/icon/icons/Calendar.d.ts +2 -0
  105. package/lib/types/icon/icons/CalenderAdd.d.ts +2 -0
  106. package/lib/types/icon/icons/CalenderCross.d.ts +2 -0
  107. package/lib/types/icon/icons/Car.d.ts +2 -0
  108. package/lib/types/icon/icons/Carrot.d.ts +2 -0
  109. package/lib/types/icon/icons/Cart.d.ts +2 -0
  110. package/lib/types/icon/icons/Cash.d.ts +2 -0
  111. package/lib/types/icon/icons/Cashier.d.ts +2 -0
  112. package/lib/types/icon/icons/ChartBars.d.ts +2 -0
  113. package/lib/types/icon/icons/Chat.d.ts +2 -0
  114. package/lib/types/icon/icons/Check.d.ts +2 -0
  115. package/lib/types/icon/icons/CheckCircle.d.ts +2 -0
  116. package/lib/types/icon/icons/CheckIn.d.ts +2 -0
  117. package/lib/types/icon/icons/ChevronDown.d.ts +2 -0
  118. package/lib/types/icon/icons/ChevronUp.d.ts +2 -0
  119. package/lib/types/icon/icons/City.d.ts +2 -0
  120. package/lib/types/icon/icons/ClipboardText.d.ts +2 -0
  121. package/lib/types/icon/icons/Close.d.ts +2 -0
  122. package/lib/types/icon/icons/CloseCircle.d.ts +2 -0
  123. package/lib/types/icon/icons/Club.d.ts +2 -0
  124. package/lib/types/icon/icons/Code.d.ts +2 -0
  125. package/lib/types/icon/icons/Coin.d.ts +2 -0
  126. package/lib/types/icon/icons/Combine.d.ts +2 -0
  127. package/lib/types/icon/icons/Comment.d.ts +2 -0
  128. package/lib/types/icon/icons/ComplianceCheck.d.ts +2 -0
  129. package/lib/types/icon/icons/Construction.d.ts +2 -0
  130. package/lib/types/icon/icons/Copy.d.ts +2 -0
  131. package/lib/types/icon/icons/Customer.d.ts +2 -0
  132. package/lib/types/icon/icons/Dashboard.d.ts +2 -0
  133. package/lib/types/icon/icons/Database.d.ts +2 -0
  134. package/lib/types/icon/icons/Department.d.ts +2 -0
  135. package/lib/types/icon/icons/Developer.d.ts +2 -0
  136. package/lib/types/icon/icons/Discount.d.ts +2 -0
  137. package/lib/types/icon/icons/Document.d.ts +2 -0
  138. package/lib/types/icon/icons/DocumentImage.d.ts +2 -0
  139. package/lib/types/icon/icons/Dollar.d.ts +2 -0
  140. package/lib/types/icon/icons/Dolly.d.ts +2 -0
  141. package/lib/types/icon/icons/Download.d.ts +2 -0
  142. package/lib/types/icon/icons/Drag.d.ts +2 -0
  143. package/lib/types/icon/icons/Duplicate.d.ts +2 -0
  144. package/lib/types/icon/icons/Edit.d.ts +2 -0
  145. package/lib/types/icon/icons/Ellipsis.d.ts +2 -0
  146. package/lib/types/icon/icons/Email.d.ts +2 -0
  147. package/lib/types/icon/icons/EmailOpen.d.ts +2 -0
  148. package/lib/types/icon/icons/Enter.d.ts +2 -0
  149. package/lib/types/icon/icons/Euro.d.ts +2 -0
  150. package/lib/types/icon/icons/Exclamation.d.ts +2 -0
  151. package/lib/types/icon/icons/Exit.d.ts +2 -0
  152. package/lib/types/icon/icons/Export.d.ts +2 -0
  153. package/lib/types/icon/icons/Eye.d.ts +2 -0
  154. package/lib/types/icon/icons/EyeCrossed.d.ts +2 -0
  155. package/lib/types/icon/icons/FileExport.d.ts +2 -0
  156. package/lib/types/icon/icons/FileImport.d.ts +2 -0
  157. package/lib/types/icon/icons/Filter.d.ts +2 -0
  158. package/lib/types/icon/icons/Flag.d.ts +2 -0
  159. package/lib/types/icon/icons/Form.d.ts +2 -0
  160. package/lib/types/icon/icons/Gift.d.ts +2 -0
  161. package/lib/types/icon/icons/GiftCard.d.ts +2 -0
  162. package/lib/types/icon/icons/GradHat.d.ts +2 -0
  163. package/lib/types/icon/icons/Group.d.ts +2 -0
  164. package/lib/types/icon/icons/Hammer.d.ts +2 -0
  165. package/lib/types/icon/icons/Hand.d.ts +2 -0
  166. package/lib/types/icon/icons/Heart.d.ts +2 -0
  167. package/lib/types/icon/icons/HeartFilled.d.ts +2 -0
  168. package/lib/types/icon/icons/History.d.ts +2 -0
  169. package/lib/types/icon/icons/Image.d.ts +2 -0
  170. package/lib/types/icon/icons/ImagePlaceholder.d.ts +2 -0
  171. package/lib/types/icon/icons/Import.d.ts +2 -0
  172. package/lib/types/icon/icons/InfoCircle.d.ts +2 -0
  173. package/lib/types/icon/icons/Inventory.d.ts +2 -0
  174. package/lib/types/icon/icons/Language.d.ts +2 -0
  175. package/lib/types/icon/icons/Launch.d.ts +2 -0
  176. package/lib/types/icon/icons/LightBulb.d.ts +2 -0
  177. package/lib/types/icon/icons/Link.d.ts +2 -0
  178. package/lib/types/icon/icons/Loading.d.ts +2 -0
  179. package/lib/types/icon/icons/Location.d.ts +2 -0
  180. package/lib/types/icon/icons/LocationBottom.d.ts +2 -0
  181. package/lib/types/icon/icons/LocationPage.d.ts +2 -0
  182. package/lib/types/icon/icons/LocationTop.d.ts +2 -0
  183. package/lib/types/icon/icons/Lock.d.ts +2 -0
  184. package/lib/types/icon/icons/LogOut.d.ts +2 -0
  185. package/lib/types/icon/icons/Loyalty.d.ts +2 -0
  186. package/lib/types/icon/icons/Map.d.ts +2 -0
  187. package/lib/types/icon/icons/MapMarker.d.ts +2 -0
  188. package/lib/types/icon/icons/Marketing.d.ts +2 -0
  189. package/lib/types/icon/icons/MegaAdmin.d.ts +2 -0
  190. package/lib/types/icon/icons/Menu.d.ts +2 -0
  191. package/lib/types/icon/icons/Merge.d.ts +2 -0
  192. package/lib/types/icon/icons/Minus.d.ts +2 -0
  193. package/lib/types/icon/icons/Moon.d.ts +2 -0
  194. package/lib/types/icon/icons/MoreActions.d.ts +2 -0
  195. package/lib/types/icon/icons/Move.d.ts +2 -0
  196. package/lib/types/icon/icons/Network.d.ts +2 -0
  197. package/lib/types/icon/icons/NewTab.d.ts +2 -0
  198. package/lib/types/icon/icons/Note.d.ts +2 -0
  199. package/lib/types/icon/icons/Notification.d.ts +2 -0
  200. package/lib/types/icon/icons/Onboarding.d.ts +2 -0
  201. package/lib/types/icon/icons/Package.d.ts +2 -0
  202. package/lib/types/icon/icons/PaperPlane.d.ts +2 -0
  203. package/lib/types/icon/icons/PauseCircle.d.ts +2 -0
  204. package/lib/types/icon/icons/Percent.d.ts +2 -0
  205. package/lib/types/icon/icons/Phone.d.ts +2 -0
  206. package/lib/types/icon/icons/Platter.d.ts +2 -0
  207. package/lib/types/icon/icons/PlayCircle.d.ts +2 -0
  208. package/lib/types/icon/icons/Pointer.d.ts +2 -0
  209. package/lib/types/icon/icons/Pos.d.ts +2 -0
  210. package/lib/types/icon/icons/PosProfile.d.ts +2 -0
  211. package/lib/types/icon/icons/Pound.d.ts +2 -0
  212. package/lib/types/icon/icons/Power.d.ts +2 -0
  213. package/lib/types/icon/icons/Print.d.ts +2 -0
  214. package/lib/types/icon/icons/Process.d.ts +2 -0
  215. package/lib/types/icon/icons/Product.d.ts +2 -0
  216. package/lib/types/icon/icons/Qr.d.ts +2 -0
  217. package/lib/types/icon/icons/QuestionCircle.d.ts +2 -0
  218. package/lib/types/icon/icons/Rand.d.ts +2 -0
  219. package/lib/types/icon/icons/Receipt.d.ts +2 -0
  220. package/lib/types/icon/icons/Redo.d.ts +2 -0
  221. package/lib/types/icon/icons/RedoLarge.d.ts +2 -0
  222. package/lib/types/icon/icons/Reload.d.ts +2 -0
  223. package/lib/types/icon/icons/Remove.d.ts +2 -0
  224. package/lib/types/icon/icons/Report.d.ts +2 -0
  225. package/lib/types/icon/icons/Reservation.d.ts +2 -0
  226. package/lib/types/icon/icons/Rocket.d.ts +2 -0
  227. package/lib/types/icon/icons/Screen.d.ts +2 -0
  228. package/lib/types/icon/icons/Search.d.ts +2 -0
  229. package/lib/types/icon/icons/Security.d.ts +2 -0
  230. package/lib/types/icon/icons/Seedling.d.ts +2 -0
  231. package/lib/types/icon/icons/Send.d.ts +2 -0
  232. package/lib/types/icon/icons/Setting.d.ts +2 -0
  233. package/lib/types/icon/icons/Shuffle.d.ts +2 -0
  234. package/lib/types/icon/icons/Smartphone.d.ts +2 -0
  235. package/lib/types/icon/icons/Sparkle.d.ts +2 -0
  236. package/lib/types/icon/icons/Split.d.ts +2 -0
  237. package/lib/types/icon/icons/Star.d.ts +2 -0
  238. package/lib/types/icon/icons/Store.d.ts +2 -0
  239. package/lib/types/icon/icons/Sun.d.ts +2 -0
  240. package/lib/types/icon/icons/Support.d.ts +2 -0
  241. package/lib/types/icon/icons/SwitchUser.d.ts +2 -0
  242. package/lib/types/icon/icons/Sync.d.ts +2 -0
  243. package/lib/types/icon/icons/Table.d.ts +2 -0
  244. package/lib/types/icon/icons/Tag.d.ts +2 -0
  245. package/lib/types/icon/icons/Tasting.d.ts +2 -0
  246. package/lib/types/icon/icons/TextAlignCenter.d.ts +2 -0
  247. package/lib/types/icon/icons/TextAlignLeft.d.ts +2 -0
  248. package/lib/types/icon/icons/TextAlignRight.d.ts +2 -0
  249. package/lib/types/icon/icons/TextBold.d.ts +2 -0
  250. package/lib/types/icon/icons/TextCase.d.ts +2 -0
  251. package/lib/types/icon/icons/TextItalic.d.ts +2 -0
  252. package/lib/types/icon/icons/TextSize.d.ts +2 -0
  253. package/lib/types/icon/icons/ThumbsDown.d.ts +2 -0
  254. package/lib/types/icon/icons/ThumbsUp.d.ts +2 -0
  255. package/lib/types/icon/icons/Ticket.d.ts +2 -0
  256. package/lib/types/icon/icons/Time.d.ts +2 -0
  257. package/lib/types/icon/icons/Title.d.ts +2 -0
  258. package/lib/types/icon/icons/Transfer.d.ts +2 -0
  259. package/lib/types/icon/icons/Trash.d.ts +2 -0
  260. package/lib/types/icon/icons/Truck.d.ts +2 -0
  261. package/lib/types/icon/icons/Undo.d.ts +2 -0
  262. package/lib/types/icon/icons/UndoLarge.d.ts +2 -0
  263. package/lib/types/icon/icons/Upload.d.ts +2 -0
  264. package/lib/types/icon/icons/User.d.ts +2 -0
  265. package/lib/types/icon/icons/Users.d.ts +2 -0
  266. package/lib/types/icon/icons/Video.d.ts +2 -0
  267. package/lib/types/icon/icons/Wallet.d.ts +2 -0
  268. package/lib/types/icon/icons/Wand.d.ts +2 -0
  269. package/lib/types/icon/icons/Warning.d.ts +2 -0
  270. package/lib/types/icon/icons/Wine.d.ts +2 -0
  271. package/lib/types/icon/icons/Write.d.ts +2 -0
  272. package/lib/types/icon/icons/index.d.ts +197 -0
  273. package/lib/types/icon/index.d.ts +3 -0
  274. package/lib/types/icon/theme.d.ts +63 -0
  275. package/lib/types/index.d.ts +88 -0
  276. package/lib/types/infoCard/InfoCard.d.ts +46 -0
  277. package/lib/types/infoCard/InfoCard.styles.d.ts +19 -0
  278. package/lib/types/infoCard/InfoCardGrid.d.ts +17 -0
  279. package/lib/types/infoCard/index.d.ts +7 -0
  280. package/lib/types/infoCard/theme.d.ts +204 -0
  281. package/lib/types/input/ColorInput.d.ts +62 -0
  282. package/lib/types/input/Input.d.ts +93 -0
  283. package/lib/types/input/Input.styles.d.ts +17 -0
  284. package/lib/types/input/index.d.ts +3 -0
  285. package/lib/types/input/theme.d.ts +12 -0
  286. package/lib/types/legend/Legend.d.ts +30 -0
  287. package/lib/types/legend/index.d.ts +3 -0
  288. package/lib/types/lineBreak/LineBreak.d.ts +13 -0
  289. package/lib/types/lineBreak/LineBreak.styles.d.ts +2 -0
  290. package/lib/types/lineBreak/index.d.ts +3 -0
  291. package/lib/types/lineBreak/theme.d.ts +9 -0
  292. package/lib/types/linkButton/LinkButton.d.ts +71 -0
  293. package/lib/types/linkButton/index.d.ts +3 -0
  294. package/lib/types/modal/Modal.d.ts +47 -0
  295. package/lib/types/modal/Modal.styles.d.ts +10 -0
  296. package/lib/types/modal/ModalBody.d.ts +13 -0
  297. package/lib/types/modal/ModalBody.styles.d.ts +2 -0
  298. package/lib/types/modal/ModalContent.d.ts +46 -0
  299. package/lib/types/modal/ModalFooter.d.ts +13 -0
  300. package/lib/types/modal/ModalFooter.styles.d.ts +2 -0
  301. package/lib/types/modal/index.d.ts +9 -0
  302. package/lib/types/modal/theme.d.ts +12 -0
  303. package/lib/types/nav/Nav.d.ts +21 -0
  304. package/lib/types/nav/Nav.styles.d.ts +15 -0
  305. package/lib/types/nav/NavLink.d.ts +41 -0
  306. package/lib/types/nav/SubNav.d.ts +21 -0
  307. package/lib/types/nav/SubNavLink.d.ts +36 -0
  308. package/lib/types/nav/index.d.ts +11 -0
  309. package/lib/types/nav/theme.d.ts +108 -0
  310. package/lib/types/noRecords/NoRecords.d.ts +30 -0
  311. package/lib/types/noRecords/NoRecords.styles.d.ts +6 -0
  312. package/lib/types/noRecords/index.d.ts +3 -0
  313. package/lib/types/picture/Picture.d.ts +30 -0
  314. package/lib/types/picture/Picture.styles.d.ts +9 -0
  315. package/lib/types/picture/index.d.ts +3 -0
  316. package/lib/types/pieChart/Label.d.ts +33 -0
  317. package/lib/types/pieChart/PieChart.d.ts +76 -0
  318. package/lib/types/pieChart/Tooltip.d.ts +26 -0
  319. package/lib/types/pieChart/index.d.ts +3 -0
  320. package/lib/types/progressBar/ProgressBar.d.ts +30 -0
  321. package/lib/types/progressBar/ProgressBar.styles.d.ts +8 -0
  322. package/lib/types/progressBar/index.d.ts +3 -0
  323. package/lib/types/progressBar/theme.d.ts +15 -0
  324. package/lib/types/radio/Radio.d.ts +73 -0
  325. package/lib/types/radio/Radio.styles.d.ts +2 -0
  326. package/lib/types/radio/index.d.ts +3 -0
  327. package/lib/types/radio/theme.d.ts +49 -0
  328. package/lib/types/radioGroup/RadioGroup.d.ts +40 -0
  329. package/lib/types/radioGroup/index.d.ts +3 -0
  330. package/lib/types/region/Region.d.ts +21 -0
  331. package/lib/types/region/Region.styles.d.ts +6 -0
  332. package/lib/types/region/index.d.ts +3 -0
  333. package/lib/types/select/Options.d.ts +18 -0
  334. package/lib/types/select/Select.d.ts +61 -0
  335. package/lib/types/select/Select.styles.d.ts +9 -0
  336. package/lib/types/select/index.d.ts +3 -0
  337. package/lib/types/selectButton/SelectButton.d.ts +53 -0
  338. package/lib/types/selectButton/SelectButton.styles.d.ts +8 -0
  339. package/lib/types/selectButton/index.d.ts +3 -0
  340. package/lib/types/selectButton/theme.d.ts +93 -0
  341. package/lib/types/spinner/Spinner.d.ts +17 -0
  342. package/lib/types/spinner/Spinner.styles.d.ts +6 -0
  343. package/lib/types/spinner/index.d.ts +3 -0
  344. package/lib/types/stepper/Step.d.ts +43 -0
  345. package/lib/types/stepper/Stepper.d.ts +17 -0
  346. package/lib/types/stepper/Stepper.styles.d.ts +15 -0
  347. package/lib/types/stepper/index.d.ts +7 -0
  348. package/lib/types/stepper/theme.d.ts +31 -0
  349. package/lib/types/subMenu/SubMenu.d.ts +26 -0
  350. package/lib/types/subMenu/SubMenu.styles.d.ts +11 -0
  351. package/lib/types/subMenu/SubMenuItem.d.ts +36 -0
  352. package/lib/types/subMenu/index.d.ts +7 -0
  353. package/lib/types/switchComponent/Switch.styles.d.ts +2 -0
  354. package/lib/types/switchComponent/SwitchComponent.d.ts +51 -0
  355. package/lib/types/switchComponent/index.d.ts +3 -0
  356. package/lib/types/switchComponent/theme.d.ts +26 -0
  357. package/lib/types/table/Table.d.ts +17 -0
  358. package/lib/types/table/Table.styles.d.ts +3 -0
  359. package/lib/types/table/Tbody.d.ts +17 -0
  360. package/lib/types/table/Tbody.styles.d.ts +2 -0
  361. package/lib/types/table/Td.d.ts +30 -0
  362. package/lib/types/table/Td.styles.d.ts +2 -0
  363. package/lib/types/table/Tfoot.d.ts +17 -0
  364. package/lib/types/table/Tfoot.styles.d.ts +2 -0
  365. package/lib/types/table/Th.d.ts +26 -0
  366. package/lib/types/table/Th.styles.d.ts +2 -0
  367. package/lib/types/table/Thead.d.ts +18 -0
  368. package/lib/types/table/Thead.styles.d.ts +2 -0
  369. package/lib/types/table/Tr.d.ts +21 -0
  370. package/lib/types/table/Tr.styles.d.ts +2 -0
  371. package/lib/types/table/index.d.ts +17 -0
  372. package/lib/types/table/theme.d.ts +79 -0
  373. package/lib/types/tabs/Tab.d.ts +39 -0
  374. package/lib/types/tabs/TabBody.d.ts +17 -0
  375. package/lib/types/tabs/Tabs.d.ts +18 -0
  376. package/lib/types/tabs/Tabs.styles.d.ts +4 -0
  377. package/lib/types/tabs/index.d.ts +9 -0
  378. package/lib/types/tag/Tag.d.ts +39 -0
  379. package/lib/types/tag/Tag.styles.d.ts +19 -0
  380. package/lib/types/tag/index.d.ts +3 -0
  381. package/lib/types/tag/theme.d.ts +83 -0
  382. package/lib/types/text/Text.d.ts +53 -0
  383. package/lib/types/text/Text.styles.d.ts +2 -0
  384. package/lib/types/text/index.d.ts +3 -0
  385. package/lib/types/text/theme.d.ts +13 -0
  386. package/lib/types/textarea/Textarea.d.ts +67 -0
  387. package/lib/types/textarea/Textarea.styles.d.ts +8 -0
  388. package/lib/types/textarea/index.d.ts +3 -0
  389. package/lib/types/ui/Commerce7AdminUI.d.ts +15 -0
  390. package/lib/types/ui/index.d.ts +4 -0
  391. package/lib/types/ui/theme.d.ts +160 -0
  392. package/lib/types/utils/hooks/useEscKeydown.d.ts +2 -0
  393. package/lib/types/utils/hooks/useOnClickOutside.d.ts +2 -0
  394. package/lib/types/utils/hooks/useWindowSize.d.ts +8 -0
  395. package/lib/types/vividIcon/VividIcon.d.ts +34 -0
  396. package/lib/types/vividIcon/VividIcon.styles.d.ts +9 -0
  397. package/lib/types/vividIcon/index.d.ts +3 -0
  398. package/lib/types/vividIcon/theme.d.ts +108 -0
  399. package/package.json +5 -2
  400. package/tsconfig.build.json +13 -0
@@ -0,0 +1,49 @@
1
+ export namespace colors {
2
+ namespace dark {
3
+ namespace backgroundColor {
4
+ let _default: string;
5
+ export { _default as default };
6
+ export let checked: string;
7
+ }
8
+ namespace borderColor {
9
+ let _default_1: string;
10
+ export { _default_1 as default };
11
+ export let disabled: string;
12
+ export let hover: string;
13
+ export let focus: string;
14
+ let checked_1: string;
15
+ export { checked_1 as checked };
16
+ }
17
+ namespace boxShadow {
18
+ let focus_1: string;
19
+ export { focus_1 as focus };
20
+ }
21
+ }
22
+ namespace light {
23
+ export namespace backgroundColor_1 {
24
+ let _default_2: string;
25
+ export { _default_2 as default };
26
+ let checked_2: string;
27
+ export { checked_2 as checked };
28
+ }
29
+ export { backgroundColor_1 as backgroundColor };
30
+ export namespace borderColor_1 {
31
+ let _default_3: string;
32
+ export { _default_3 as default };
33
+ let disabled_1: string;
34
+ export { disabled_1 as disabled };
35
+ let hover_1: string;
36
+ export { hover_1 as hover };
37
+ let focus_2: string;
38
+ export { focus_2 as focus };
39
+ let checked_3: string;
40
+ export { checked_3 as checked };
41
+ }
42
+ export { borderColor_1 as borderColor };
43
+ export namespace boxShadow_1 {
44
+ let focus_3: string;
45
+ export { focus_3 as focus };
46
+ }
47
+ export { boxShadow_1 as boxShadow };
48
+ }
49
+ }
@@ -0,0 +1,40 @@
1
+ import React, { ReactNode } from 'react';
2
+ type RadioGroupVariant = 'button' | 'default';
3
+ type RadioGroupSize = 'small' | 'medium' | 'large';
4
+ export interface RadioGroupProps {
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
+ * Show an error message and set the component styles to visually show an error
15
+ */
16
+ errorMessage?: string;
17
+ /**
18
+ * The label for the component
19
+ */
20
+ label?: string;
21
+ /**
22
+ * Set the element to be required.
23
+ * This will show an asterik in the label and add 'required' to the DOM node
24
+ */
25
+ required?: boolean;
26
+ /**
27
+ * Add test attribute to the element. Used internally for testing.
28
+ */
29
+ dataTestId?: string;
30
+ /**
31
+ * RadioGroup Variant
32
+ */
33
+ variant?: RadioGroupVariant;
34
+ /**
35
+ * RadioGroup Size - only used for button variant.
36
+ */
37
+ size?: RadioGroupSize;
38
+ }
39
+ declare const RadioGroup: ({ children, errorMessage, label, required, dataTestId, variant, size, className }: RadioGroupProps) => React.JSX.Element;
40
+ export default RadioGroup;
@@ -0,0 +1,3 @@
1
+ import RadioGroup, { RadioGroupProps } from './RadioGroup';
2
+ export type { RadioGroupProps };
3
+ export default RadioGroup;
@@ -0,0 +1,21 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface RegionProps {
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
+ * Set whether there is a border at bottom of region.
13
+ */
14
+ borderBottom?: boolean;
15
+ /**
16
+ * Add test attribute to the element. Used internally for testing.
17
+ */
18
+ dataTestId?: string;
19
+ }
20
+ declare const Region: ({ children, borderBottom, className, dataTestId }: RegionProps) => React.JSX.Element;
21
+ export default Region;
@@ -0,0 +1,6 @@
1
+ interface StyledRegionProps {
2
+ borderBottom?: boolean;
3
+ isAnimated?: boolean;
4
+ }
5
+ declare const StyledRegion: import("styled-components").StyledComponent<"div", any, StyledRegionProps, never>;
6
+ export { StyledRegion };
@@ -0,0 +1,3 @@
1
+ import Region, { RegionProps } from './Region';
2
+ export type { RegionProps };
3
+ export default Region;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface OptionItem {
3
+ value?: string | number;
4
+ label: string;
5
+ options?: OptionItem[];
6
+ }
7
+ export interface OptionsProps {
8
+ /**
9
+ * Array of options to render in the select
10
+ */
11
+ options: OptionItem[];
12
+ /**
13
+ * Optional placeholder text
14
+ */
15
+ placeholder?: string;
16
+ }
17
+ declare const Options: ({ options, placeholder }: OptionsProps) => React.JSX.Element;
18
+ export default Options;
@@ -0,0 +1,61 @@
1
+ import React, { ChangeEvent } from 'react';
2
+ import { OptionItem } from './Options';
3
+ export interface SelectProps {
4
+ /**
5
+ * Set the element to autoFocus on mount.
6
+ */
7
+ autoFocus?: boolean;
8
+ /**
9
+ * Add className to the outermost element.
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Help text to describe the form field
14
+ */
15
+ description?: string;
16
+ /**
17
+ * Set the element to be disabled.
18
+ */
19
+ disabled?: boolean;
20
+ /**
21
+ * Show an error message and set the component styles to visually show an error.
22
+ */
23
+ errorMessage?: string;
24
+ /**
25
+ * Set the id of the element.
26
+ * The label uses this id to ensure htmlFor is set correctly.
27
+ */
28
+ id?: string;
29
+ /**
30
+ * The label for the component.
31
+ */
32
+ label?: string;
33
+ /**
34
+ * Callback onChange.
35
+ */
36
+ onChange: (event: ChangeEvent<HTMLInputElement>) => void;
37
+ /**
38
+ * The options for the select field.
39
+ * These will be mapped as `<options/>`.
40
+ */
41
+ options?: OptionItem[];
42
+ /**
43
+ * The placeholder of the element.
44
+ */
45
+ placeholder?: string;
46
+ /**
47
+ * Set the element to be required.
48
+ * This will show an asterik in the label and add 'required' to the DOM node.
49
+ */
50
+ required?: boolean;
51
+ /**
52
+ * The value of the element.
53
+ */
54
+ value: string | number;
55
+ /**
56
+ * Add test attribute to the element. Used internally for testing.
57
+ */
58
+ dataTestId?: string;
59
+ }
60
+ declare const Select: ({ autoFocus, className, description, disabled, errorMessage, id, label, onChange, options, placeholder, required, value, dataTestId }: SelectProps) => React.JSX.Element;
61
+ export default Select;
@@ -0,0 +1,9 @@
1
+ declare const StyledSelect: import("styled-components").StyledComponent<"input", any, import("../common/form/styles").StyledFormItemProps & {
2
+ as: string;
3
+ }, "as">;
4
+ declare const StyledSelectArrow: import("styled-components").StyledComponent<{
5
+ ({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
6
+ displayName: string;
7
+ }, any, {}, never>;
8
+ declare const StyledSelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export { StyledSelect, StyledSelectArrow, StyledSelectWrapper };
@@ -0,0 +1,3 @@
1
+ import Select, { SelectProps } from './Select';
2
+ export type { SelectProps };
3
+ export default Select;
@@ -0,0 +1,53 @@
1
+ import React, { MouseEvent, ReactNode } from 'react';
2
+ type ButtonType = 'button' | 'submit';
3
+ type ButtonSize = 'small' | 'medium' | 'large';
4
+ export interface SelectButtonProps {
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
+ * Set the element to disabled.
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * Set the button to visually show a loading spinner.
19
+ * This will also disable the button.
20
+ * This prop is intended to be used during asynchronous actions, like submitting a form.
21
+ */
22
+ loading?: boolean;
23
+ /**
24
+ * Set the button to visually show that its selected.
25
+ */
26
+ selected?: boolean;
27
+ /**
28
+ * Callback fired when the component is clicked.
29
+ */
30
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
31
+ /**
32
+ * Adds a type to the button DOM element.
33
+ */
34
+ type?: ButtonType;
35
+ /**
36
+ * Add test attribute to the element. Used internally for testing.
37
+ */
38
+ dataTestId?: string;
39
+ /**
40
+ * Select Button Variant.
41
+ */
42
+ size?: ButtonSize;
43
+ /**
44
+ * Icon for display on small variant only.
45
+ */
46
+ icon?: string;
47
+ /**
48
+ * Component to render as
49
+ */
50
+ as?: any;
51
+ }
52
+ declare const SelectButton: React.ForwardRefExoticComponent<SelectButtonProps & React.RefAttributes<HTMLButtonElement>>;
53
+ export default SelectButton;
@@ -0,0 +1,8 @@
1
+ declare const StyledSelectButton: import("styled-components").StyledComponent<"button", any, {}, never>;
2
+ declare const StyledLoadingIcon: import("styled-components").StyledComponent<{
3
+ ({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
4
+ displayName: string;
5
+ }, any, {}, never>;
6
+ declare const StyledSmallSelectButton: import("styled-components").StyledComponent<"button", any, {}, never>;
7
+ declare const StyledMediumSelectButton: import("styled-components").StyledComponent<"button", any, {}, never>;
8
+ export { StyledSelectButton, StyledLoadingIcon, StyledSmallSelectButton, StyledMediumSelectButton };
@@ -0,0 +1,3 @@
1
+ import SelectButton, { SelectButtonProps } from './SelectButton';
2
+ export type { SelectButtonProps };
3
+ export default SelectButton;
@@ -0,0 +1,93 @@
1
+ export namespace colors {
2
+ namespace dark {
3
+ namespace borderColor {
4
+ let _default: string;
5
+ export { _default as default };
6
+ export let hover: string;
7
+ export let focus: string;
8
+ export let disabled: string;
9
+ }
10
+ namespace backgroundColor {
11
+ let _default_1: string;
12
+ export { _default_1 as default };
13
+ let hover_1: string;
14
+ export { hover_1 as hover };
15
+ let focus_1: string;
16
+ export { focus_1 as focus };
17
+ let disabled_1: string;
18
+ export { disabled_1 as disabled };
19
+ }
20
+ namespace fontColor {
21
+ export let defaultSmall: string;
22
+ let _default_2: string;
23
+ export { _default_2 as default };
24
+ let hover_2: string;
25
+ export { hover_2 as hover };
26
+ let focus_2: string;
27
+ export { focus_2 as focus };
28
+ let disabled_2: string;
29
+ export { disabled_2 as disabled };
30
+ }
31
+ }
32
+ namespace light {
33
+ export namespace borderColor_1 {
34
+ let _default_3: string;
35
+ export { _default_3 as default };
36
+ let hover_3: string;
37
+ export { hover_3 as hover };
38
+ let focus_3: string;
39
+ export { focus_3 as focus };
40
+ let disabled_3: string;
41
+ export { disabled_3 as disabled };
42
+ }
43
+ export { borderColor_1 as borderColor };
44
+ export namespace backgroundColor_1 {
45
+ let _default_4: string;
46
+ export { _default_4 as default };
47
+ let hover_4: string;
48
+ export { hover_4 as hover };
49
+ let focus_4: string;
50
+ export { focus_4 as focus };
51
+ let disabled_4: string;
52
+ export { disabled_4 as disabled };
53
+ }
54
+ export { backgroundColor_1 as backgroundColor };
55
+ export namespace fontColor_1 {
56
+ let defaultSmall_1: string;
57
+ export { defaultSmall_1 as defaultSmall };
58
+ let _default_5: string;
59
+ export { _default_5 as default };
60
+ let hover_5: string;
61
+ export { hover_5 as hover };
62
+ let focus_5: string;
63
+ export { focus_5 as focus };
64
+ let disabled_5: string;
65
+ export { disabled_5 as disabled };
66
+ }
67
+ export { fontColor_1 as fontColor };
68
+ }
69
+ }
70
+ export namespace shadows {
71
+ export namespace dark_1 {
72
+ let _default_6: string;
73
+ export { _default_6 as default };
74
+ let hover_6: string;
75
+ export { hover_6 as hover };
76
+ let focus_6: string;
77
+ export { focus_6 as focus };
78
+ let disabled_6: string;
79
+ export { disabled_6 as disabled };
80
+ }
81
+ export { dark_1 as dark };
82
+ export namespace light_1 {
83
+ let _default_7: string;
84
+ export { _default_7 as default };
85
+ let hover_7: string;
86
+ export { hover_7 as hover };
87
+ let focus_7: string;
88
+ export { focus_7 as focus };
89
+ let disabled_7: string;
90
+ export { disabled_7 as disabled };
91
+ }
92
+ export { light_1 as light };
93
+ }
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export interface SpinnerProps {
3
+ /**
4
+ * Add a text label below spinner.
5
+ */
6
+ label?: string;
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 Spinner: ({ label, className, dataTestId }: SpinnerProps) => React.JSX.Element;
17
+ export default Spinner;
@@ -0,0 +1,6 @@
1
+ declare const StyledSpinner: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ declare const StyledIcon: import("styled-components").StyledComponent<{
3
+ ({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
4
+ displayName: string;
5
+ }, any, {}, never>;
6
+ export { StyledSpinner, StyledIcon };
@@ -0,0 +1,3 @@
1
+ import Spinner, { SpinnerProps } from './Spinner';
2
+ export type { SpinnerProps };
3
+ export default Spinner;
@@ -0,0 +1,43 @@
1
+ import React, { ComponentType, MouseEvent } from 'react';
2
+ export interface StepProps {
3
+ /**
4
+ * The step number.
5
+ */
6
+ step?: number;
7
+ /**
8
+ * The step label.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Add className to the outermost element
13
+ */
14
+ className?: string;
15
+ /**
16
+ * Add test attribute to the element. Used internally for testing.
17
+ */
18
+ dataTestId?: string;
19
+ /**
20
+ * The component to render as a replacement for `<a/>`.
21
+ * This can be used to pass in components from client-side routing libraries like react-router.
22
+ * If this property is set, all other props will be passed to the component.
23
+ */
24
+ component?: ComponentType<any> | string;
25
+ /**
26
+ * Callback fired when the component is clicked.
27
+ */
28
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
29
+ /**
30
+ * The url to link to.
31
+ */
32
+ href?: string;
33
+ /**
34
+ * The active className to mark the component as active. Styling targets this classname.
35
+ */
36
+ activeClassName?: string;
37
+ /**
38
+ * Icon for the step
39
+ */
40
+ icon?: string;
41
+ }
42
+ declare const Step: (props: StepProps) => React.JSX.Element;
43
+ export default Step;
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface StepperProps {
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 Stepper: (props: StepperProps) => React.JSX.Element;
17
+ export default Stepper;
@@ -0,0 +1,15 @@
1
+ declare const StyledStepper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ declare const StyledStepCircle: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ declare const StyledStepIcon: import("styled-components").StyledComponent<{
4
+ ({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
5
+ displayName: string;
6
+ }, any, {
7
+ size: 20;
8
+ }, "size">;
9
+ declare const StyledLine: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ declare const StyledStep: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ declare const StyledStepButton: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ declare const StyledStepLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ declare const StyledStepText: import("styled-components").StyledComponent<import("react").FC<import("../text").TextProps>, any, {}, never>;
14
+ declare const StyledStepDescription: import("styled-components").StyledComponent<import("react").FC<import("../text").TextProps>, any, {}, never>;
15
+ export { StyledStepper, StyledStep, StyledStepButton, StyledStepCircle, StyledStepIcon, StyledStepLabelWrapper, StyledStepText, StyledStepDescription, StyledLine };
@@ -0,0 +1,7 @@
1
+ import { StepProps } from './Step';
2
+ import { StepperProps } from './Stepper';
3
+ declare const Stepper: ((props: StepperProps) => import("react").JSX.Element) & {
4
+ Step: (props: StepProps) => import("react").JSX.Element;
5
+ };
6
+ export type { StepperProps, StepProps };
7
+ export default Stepper;
@@ -0,0 +1,31 @@
1
+ export namespace colors {
2
+ namespace light {
3
+ namespace backgroundColor {
4
+ let _default: string;
5
+ export { _default as default };
6
+ export let active: string;
7
+ }
8
+ namespace iconColor {
9
+ let _default_1: string;
10
+ export { _default_1 as default };
11
+ let active_1: string;
12
+ export { active_1 as active };
13
+ }
14
+ }
15
+ namespace dark {
16
+ export namespace backgroundColor_1 {
17
+ let _default_2: string;
18
+ export { _default_2 as default };
19
+ let active_2: string;
20
+ export { active_2 as active };
21
+ }
22
+ export { backgroundColor_1 as backgroundColor };
23
+ export namespace iconColor_1 {
24
+ let _default_3: string;
25
+ export { _default_3 as default };
26
+ let active_3: string;
27
+ export { active_3 as active };
28
+ }
29
+ export { iconColor_1 as iconColor };
30
+ }
31
+ }
@@ -0,0 +1,26 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface SubMenuProps {
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
+ * Select whether or not there should be a border below the SubMenu.
17
+ */
18
+ borderBottom?: boolean;
19
+ /**
20
+ * The active className to mark the component as active. Styling targets this classname.
21
+ */
22
+ activeClassName?: string;
23
+ }
24
+ declare const SubMenu: ({ children, className, dataTestId, borderBottom, activeClassName }: SubMenuProps) => React.JSX.Element;
25
+ export type { SubMenuProps };
26
+ export default SubMenu;
@@ -0,0 +1,11 @@
1
+ interface StyledSubMenuProps {
2
+ $activeClassName: string;
3
+ $borderBottom: boolean;
4
+ }
5
+ declare const StyledSubMenu: import("styled-components").StyledComponent<"div", any, StyledSubMenuProps, never>;
6
+ interface StyledSubMenuItemProps {
7
+ $activeClassName: string;
8
+ $borderBottom: boolean;
9
+ }
10
+ declare const StyledSubMenuItem: import("styled-components").StyledComponent<"div", any, StyledSubMenuItemProps, never>;
11
+ export { StyledSubMenu, StyledSubMenuItem };
@@ -0,0 +1,36 @@
1
+ import React, { ReactNode, ComponentType, MouseEvent } from 'react';
2
+ export interface SubMenuItemProps {
3
+ /**
4
+ * The content of the component.
5
+ */
6
+ children?: ReactNode;
7
+ /**
8
+ * The active className to mark the component as active. Styling targets this classname.
9
+ */
10
+ activeClassName?: string;
11
+ /**
12
+ * Add className to the outermost element
13
+ */
14
+ className?: string;
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?: ComponentType<any> | string;
21
+ /**
22
+ * Callback fired when the component is clicked.
23
+ */
24
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
25
+ /**
26
+ * The url to link to.
27
+ */
28
+ href?: string;
29
+ /**
30
+ * Add test attribute to the element. Used internally for testing.
31
+ */
32
+ dataTestId?: string;
33
+ [key: string]: any;
34
+ }
35
+ declare const SubMenuItem: ({ children, activeClassName, className, component, onClick, href, dataTestId, ...rest }: SubMenuItemProps) => React.JSX.Element;
36
+ export default SubMenuItem;
@@ -0,0 +1,7 @@
1
+ import { SubMenuProps } from './SubMenu';
2
+ import { SubMenuItemProps } from './SubMenuItem';
3
+ declare const SubMenu: (({ children, className, dataTestId, borderBottom, activeClassName }: SubMenuProps) => import("react").JSX.Element) & {
4
+ SubMenuItem: ({ children, activeClassName, className, component, onClick, href, dataTestId, ...rest }: SubMenuItemProps) => import("react").JSX.Element;
5
+ };
6
+ export type { SubMenuItemProps, SubMenuProps };
7
+ export default SubMenu;
@@ -0,0 +1,2 @@
1
+ declare const StyledSwitchIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export { StyledSwitchIcon };