@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.
Files changed (402) 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/ThumbsDownFilled.d.ts +2 -0
  255. package/lib/types/icon/icons/ThumbsUp.d.ts +2 -0
  256. package/lib/types/icon/icons/ThumbsUpFilled.d.ts +2 -0
  257. package/lib/types/icon/icons/Ticket.d.ts +2 -0
  258. package/lib/types/icon/icons/Time.d.ts +2 -0
  259. package/lib/types/icon/icons/Title.d.ts +2 -0
  260. package/lib/types/icon/icons/Transfer.d.ts +2 -0
  261. package/lib/types/icon/icons/Trash.d.ts +2 -0
  262. package/lib/types/icon/icons/Truck.d.ts +2 -0
  263. package/lib/types/icon/icons/Undo.d.ts +2 -0
  264. package/lib/types/icon/icons/UndoLarge.d.ts +2 -0
  265. package/lib/types/icon/icons/Upload.d.ts +2 -0
  266. package/lib/types/icon/icons/User.d.ts +2 -0
  267. package/lib/types/icon/icons/Users.d.ts +2 -0
  268. package/lib/types/icon/icons/Video.d.ts +2 -0
  269. package/lib/types/icon/icons/Wallet.d.ts +2 -0
  270. package/lib/types/icon/icons/Wand.d.ts +2 -0
  271. package/lib/types/icon/icons/Warning.d.ts +2 -0
  272. package/lib/types/icon/icons/Wine.d.ts +2 -0
  273. package/lib/types/icon/icons/Write.d.ts +2 -0
  274. package/lib/types/icon/icons/index.d.ts +199 -0
  275. package/lib/types/icon/index.d.ts +3 -0
  276. package/lib/types/icon/theme.d.ts +63 -0
  277. package/lib/types/index.d.ts +88 -0
  278. package/lib/types/infoCard/InfoCard.d.ts +46 -0
  279. package/lib/types/infoCard/InfoCard.styles.d.ts +19 -0
  280. package/lib/types/infoCard/InfoCardGrid.d.ts +17 -0
  281. package/lib/types/infoCard/index.d.ts +7 -0
  282. package/lib/types/infoCard/theme.d.ts +204 -0
  283. package/lib/types/input/ColorInput.d.ts +62 -0
  284. package/lib/types/input/Input.d.ts +93 -0
  285. package/lib/types/input/Input.styles.d.ts +17 -0
  286. package/lib/types/input/index.d.ts +3 -0
  287. package/lib/types/input/theme.d.ts +12 -0
  288. package/lib/types/legend/Legend.d.ts +30 -0
  289. package/lib/types/legend/index.d.ts +3 -0
  290. package/lib/types/lineBreak/LineBreak.d.ts +13 -0
  291. package/lib/types/lineBreak/LineBreak.styles.d.ts +2 -0
  292. package/lib/types/lineBreak/index.d.ts +3 -0
  293. package/lib/types/lineBreak/theme.d.ts +9 -0
  294. package/lib/types/linkButton/LinkButton.d.ts +71 -0
  295. package/lib/types/linkButton/index.d.ts +3 -0
  296. package/lib/types/modal/Modal.d.ts +47 -0
  297. package/lib/types/modal/Modal.styles.d.ts +10 -0
  298. package/lib/types/modal/ModalBody.d.ts +13 -0
  299. package/lib/types/modal/ModalBody.styles.d.ts +2 -0
  300. package/lib/types/modal/ModalContent.d.ts +46 -0
  301. package/lib/types/modal/ModalFooter.d.ts +13 -0
  302. package/lib/types/modal/ModalFooter.styles.d.ts +2 -0
  303. package/lib/types/modal/index.d.ts +9 -0
  304. package/lib/types/modal/theme.d.ts +12 -0
  305. package/lib/types/nav/Nav.d.ts +21 -0
  306. package/lib/types/nav/Nav.styles.d.ts +15 -0
  307. package/lib/types/nav/NavLink.d.ts +41 -0
  308. package/lib/types/nav/SubNav.d.ts +21 -0
  309. package/lib/types/nav/SubNavLink.d.ts +36 -0
  310. package/lib/types/nav/index.d.ts +11 -0
  311. package/lib/types/nav/theme.d.ts +108 -0
  312. package/lib/types/noRecords/NoRecords.d.ts +30 -0
  313. package/lib/types/noRecords/NoRecords.styles.d.ts +6 -0
  314. package/lib/types/noRecords/index.d.ts +3 -0
  315. package/lib/types/picture/Picture.d.ts +30 -0
  316. package/lib/types/picture/Picture.styles.d.ts +9 -0
  317. package/lib/types/picture/index.d.ts +3 -0
  318. package/lib/types/pieChart/Label.d.ts +33 -0
  319. package/lib/types/pieChart/PieChart.d.ts +76 -0
  320. package/lib/types/pieChart/Tooltip.d.ts +26 -0
  321. package/lib/types/pieChart/index.d.ts +3 -0
  322. package/lib/types/progressBar/ProgressBar.d.ts +30 -0
  323. package/lib/types/progressBar/ProgressBar.styles.d.ts +8 -0
  324. package/lib/types/progressBar/index.d.ts +3 -0
  325. package/lib/types/progressBar/theme.d.ts +15 -0
  326. package/lib/types/radio/Radio.d.ts +73 -0
  327. package/lib/types/radio/Radio.styles.d.ts +2 -0
  328. package/lib/types/radio/index.d.ts +3 -0
  329. package/lib/types/radio/theme.d.ts +49 -0
  330. package/lib/types/radioGroup/RadioGroup.d.ts +40 -0
  331. package/lib/types/radioGroup/index.d.ts +3 -0
  332. package/lib/types/region/Region.d.ts +21 -0
  333. package/lib/types/region/Region.styles.d.ts +6 -0
  334. package/lib/types/region/index.d.ts +3 -0
  335. package/lib/types/select/Options.d.ts +18 -0
  336. package/lib/types/select/Select.d.ts +61 -0
  337. package/lib/types/select/Select.styles.d.ts +9 -0
  338. package/lib/types/select/index.d.ts +3 -0
  339. package/lib/types/selectButton/SelectButton.d.ts +53 -0
  340. package/lib/types/selectButton/SelectButton.styles.d.ts +8 -0
  341. package/lib/types/selectButton/index.d.ts +3 -0
  342. package/lib/types/selectButton/theme.d.ts +93 -0
  343. package/lib/types/spinner/Spinner.d.ts +17 -0
  344. package/lib/types/spinner/Spinner.styles.d.ts +6 -0
  345. package/lib/types/spinner/index.d.ts +3 -0
  346. package/lib/types/stepper/Step.d.ts +43 -0
  347. package/lib/types/stepper/Stepper.d.ts +17 -0
  348. package/lib/types/stepper/Stepper.styles.d.ts +15 -0
  349. package/lib/types/stepper/index.d.ts +7 -0
  350. package/lib/types/stepper/theme.d.ts +31 -0
  351. package/lib/types/subMenu/SubMenu.d.ts +26 -0
  352. package/lib/types/subMenu/SubMenu.styles.d.ts +11 -0
  353. package/lib/types/subMenu/SubMenuItem.d.ts +36 -0
  354. package/lib/types/subMenu/index.d.ts +7 -0
  355. package/lib/types/switchComponent/Switch.styles.d.ts +2 -0
  356. package/lib/types/switchComponent/SwitchComponent.d.ts +51 -0
  357. package/lib/types/switchComponent/index.d.ts +3 -0
  358. package/lib/types/switchComponent/theme.d.ts +26 -0
  359. package/lib/types/table/Table.d.ts +17 -0
  360. package/lib/types/table/Table.styles.d.ts +3 -0
  361. package/lib/types/table/Tbody.d.ts +17 -0
  362. package/lib/types/table/Tbody.styles.d.ts +2 -0
  363. package/lib/types/table/Td.d.ts +30 -0
  364. package/lib/types/table/Td.styles.d.ts +2 -0
  365. package/lib/types/table/Tfoot.d.ts +17 -0
  366. package/lib/types/table/Tfoot.styles.d.ts +2 -0
  367. package/lib/types/table/Th.d.ts +26 -0
  368. package/lib/types/table/Th.styles.d.ts +2 -0
  369. package/lib/types/table/Thead.d.ts +18 -0
  370. package/lib/types/table/Thead.styles.d.ts +2 -0
  371. package/lib/types/table/Tr.d.ts +21 -0
  372. package/lib/types/table/Tr.styles.d.ts +2 -0
  373. package/lib/types/table/index.d.ts +17 -0
  374. package/lib/types/table/theme.d.ts +79 -0
  375. package/lib/types/tabs/Tab.d.ts +39 -0
  376. package/lib/types/tabs/TabBody.d.ts +17 -0
  377. package/lib/types/tabs/Tabs.d.ts +18 -0
  378. package/lib/types/tabs/Tabs.styles.d.ts +4 -0
  379. package/lib/types/tabs/index.d.ts +9 -0
  380. package/lib/types/tag/Tag.d.ts +39 -0
  381. package/lib/types/tag/Tag.styles.d.ts +19 -0
  382. package/lib/types/tag/index.d.ts +3 -0
  383. package/lib/types/tag/theme.d.ts +83 -0
  384. package/lib/types/text/Text.d.ts +53 -0
  385. package/lib/types/text/Text.styles.d.ts +2 -0
  386. package/lib/types/text/index.d.ts +3 -0
  387. package/lib/types/text/theme.d.ts +13 -0
  388. package/lib/types/textarea/Textarea.d.ts +67 -0
  389. package/lib/types/textarea/Textarea.styles.d.ts +8 -0
  390. package/lib/types/textarea/index.d.ts +3 -0
  391. package/lib/types/ui/Commerce7AdminUI.d.ts +15 -0
  392. package/lib/types/ui/index.d.ts +4 -0
  393. package/lib/types/ui/theme.d.ts +160 -0
  394. package/lib/types/utils/hooks/useEscKeydown.d.ts +2 -0
  395. package/lib/types/utils/hooks/useOnClickOutside.d.ts +2 -0
  396. package/lib/types/utils/hooks/useWindowSize.d.ts +8 -0
  397. package/lib/types/vividIcon/VividIcon.d.ts +34 -0
  398. package/lib/types/vividIcon/VividIcon.styles.d.ts +9 -0
  399. package/lib/types/vividIcon/index.d.ts +3 -0
  400. package/lib/types/vividIcon/theme.d.ts +108 -0
  401. package/package.json +5 -2
  402. package/tsconfig.build.json +13 -0
@@ -0,0 +1,51 @@
1
+ import React, { ChangeEvent } from 'react';
2
+ export interface SwitchProps {
3
+ /**
4
+ * Set the checked value of the element.
5
+ */
6
+ checked: boolean;
7
+ /**
8
+ * Add className to the outermost element.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * Help text to describe the form field
13
+ */
14
+ description?: string;
15
+ /**
16
+ * Set the element to be disabled.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Show an error message and set the component styles to visually show an error.
21
+ */
22
+ errorMessage?: string;
23
+ /**
24
+ * Set the id of the element.
25
+ * The label uses this id to ensure htmlFor is set correctly.
26
+ */
27
+ id?: string;
28
+ /**
29
+ * The label for the component.
30
+ */
31
+ label?: string;
32
+ /**
33
+ * Callback onChange.
34
+ */
35
+ onChange: (event: ChangeEvent<HTMLInputElement>) => void;
36
+ /**
37
+ * Set the element to be required.
38
+ * This will show an asterisk in the label and add 'required' to the DOM node.
39
+ */
40
+ required?: boolean;
41
+ /**
42
+ * The value of the element.
43
+ */
44
+ value?: string;
45
+ /**
46
+ * Add test attribute to the element. Used internally for testing.
47
+ */
48
+ dataTestId?: string;
49
+ }
50
+ declare const SwitchComponent: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
51
+ export default SwitchComponent;
@@ -0,0 +1,3 @@
1
+ import SwitchComponent, { SwitchProps } from './SwitchComponent';
2
+ export type { SwitchProps };
3
+ export default SwitchComponent;
@@ -0,0 +1,26 @@
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 boxShadow {
9
+ let focus: string;
10
+ }
11
+ }
12
+ namespace light {
13
+ export namespace backgroundColor_1 {
14
+ let _default_1: string;
15
+ export { _default_1 as default };
16
+ let checked_1: string;
17
+ export { checked_1 as checked };
18
+ }
19
+ export { backgroundColor_1 as backgroundColor };
20
+ export namespace boxShadow_1 {
21
+ let focus_1: string;
22
+ export { focus_1 as focus };
23
+ }
24
+ export { boxShadow_1 as boxShadow };
25
+ }
26
+ }
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TableProps {
3
+ /**
4
+ * The content of the component.
5
+ */
6
+ children?: ReactNode;
7
+ /**
8
+ * Add test attribute to the element. Used internally for testing.
9
+ */
10
+ dataTestId?: string;
11
+ /**
12
+ * Add className for custom styling of the top div element containing the table
13
+ */
14
+ className?: string;
15
+ }
16
+ declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
17
+ export default Table;
@@ -0,0 +1,3 @@
1
+ declare const StyledTableWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ declare const StyledTable: import("styled-components").StyledComponent<"table", any, {}, never>;
3
+ export { StyledTableWrapper, StyledTable };
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TbodyProps {
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 Tbody: React.ForwardRefExoticComponent<TbodyProps & React.RefAttributes<HTMLTableSectionElement>>;
17
+ export default Tbody;
@@ -0,0 +1,2 @@
1
+ declare const StyledTbody: import("styled-components").StyledComponent<"tbody", any, {}, never>;
2
+ export { StyledTbody };
@@ -0,0 +1,30 @@
1
+ import React, { ReactNode, MouseEvent } from 'react';
2
+ type TdAlign = 'left' | 'center' | 'right';
3
+ export interface TdProps {
4
+ /**
5
+ * The content of the component.
6
+ */
7
+ children?: ReactNode;
8
+ /**
9
+ * Add className to the outermost element.
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Set the colSpan of the cell.
14
+ */
15
+ colSpan?: number;
16
+ /**
17
+ * Callback fired when the component is clicked.
18
+ */
19
+ onClick?: (event: MouseEvent<HTMLTableCellElement>) => void;
20
+ /**
21
+ * Set the text alignment of the cell.
22
+ */
23
+ align?: TdAlign;
24
+ /**
25
+ * Add test attribute to the element. Used internally for testing.
26
+ */
27
+ dataTestId?: string;
28
+ }
29
+ declare const Td: React.ForwardRefExoticComponent<TdProps & React.RefAttributes<HTMLTableCellElement>>;
30
+ export default Td;
@@ -0,0 +1,2 @@
1
+ declare const StyledTd: import("styled-components").StyledComponent<"td", any, {}, never>;
2
+ export { StyledTd };
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TfootProps {
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 Tfoot: React.ForwardRefExoticComponent<TfootProps & React.RefAttributes<HTMLTableSectionElement>>;
17
+ export default Tfoot;
@@ -0,0 +1,2 @@
1
+ declare const StyledTfoot: import("styled-components").StyledComponent<"tfoot", any, {}, never>;
2
+ export { StyledTfoot };
@@ -0,0 +1,26 @@
1
+ import React, { ReactNode } from 'react';
2
+ type ThAlign = 'left' | 'center' | 'right';
3
+ export interface ThProps {
4
+ /**
5
+ * Set the text alignment of the cell.
6
+ */
7
+ align?: ThAlign;
8
+ /**
9
+ * The content of the component.
10
+ */
11
+ children?: ReactNode;
12
+ /**
13
+ * Add className to the outermost element.
14
+ */
15
+ className?: string;
16
+ /**
17
+ * Set the colSpan of the cell.
18
+ */
19
+ colSpan?: number;
20
+ /**
21
+ * Add test attribute to the element. Used internally for testing.
22
+ */
23
+ dataTestId?: string;
24
+ }
25
+ declare const Th: React.ForwardRefExoticComponent<ThProps & React.RefAttributes<HTMLTableCellElement>>;
26
+ export default Th;
@@ -0,0 +1,2 @@
1
+ declare const StyledTh: import("styled-components").StyledComponent<"th", any, {}, never>;
2
+ export { StyledTh };
@@ -0,0 +1,18 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface TheadProps {
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 Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableSectionElement>>;
17
+ export type { TheadProps };
18
+ export default Thead;
@@ -0,0 +1,2 @@
1
+ declare const StyledThead: import("styled-components").StyledComponent<"thead", any, {}, never>;
2
+ export { StyledThead };
@@ -0,0 +1,21 @@
1
+ import React, { ReactNode, MouseEvent } from 'react';
2
+ export interface TrProps {
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?: (event: MouseEvent<HTMLTableRowElement>) => void;
15
+ /**
16
+ * Add test attribute to the element. Used internally for testing.
17
+ */
18
+ dataTestId?: string;
19
+ }
20
+ declare const Tr: React.ForwardRefExoticComponent<TrProps & React.RefAttributes<HTMLTableRowElement>>;
21
+ export default Tr;
@@ -0,0 +1,2 @@
1
+ declare const StyledTr: import("styled-components").StyledComponent<"tr", any, {}, never>;
2
+ export { StyledTr };
@@ -0,0 +1,17 @@
1
+ import { TableProps } from './Table';
2
+ import { TbodyProps } from './Tbody';
3
+ import { TdProps } from './Td';
4
+ import { TfootProps } from './Tfoot';
5
+ import { ThProps } from './Th';
6
+ import { TheadProps } from './Thead';
7
+ import { TrProps } from './Tr';
8
+ export type { TableProps, TbodyProps, TdProps, TfootProps, TheadProps, ThProps, TrProps };
9
+ declare const TableWithComponents: import("react").ForwardRefExoticComponent<TableProps & import("react").RefAttributes<HTMLTableElement>> & {
10
+ Tbody: import("react").ForwardRefExoticComponent<TbodyProps & import("react").RefAttributes<HTMLTableSectionElement>>;
11
+ Thead: import("react").ForwardRefExoticComponent<TheadProps & import("react").RefAttributes<HTMLTableSectionElement>>;
12
+ Td: import("react").ForwardRefExoticComponent<TdProps & import("react").RefAttributes<HTMLTableCellElement>>;
13
+ Th: import("react").ForwardRefExoticComponent<ThProps & import("react").RefAttributes<HTMLTableCellElement>>;
14
+ Tr: import("react").ForwardRefExoticComponent<TrProps & import("react").RefAttributes<HTMLTableRowElement>>;
15
+ Tfoot: import("react").ForwardRefExoticComponent<TfootProps & import("react").RefAttributes<HTMLTableSectionElement>>;
16
+ };
17
+ export default TableWithComponents;
@@ -0,0 +1,79 @@
1
+ export namespace tableColors {
2
+ namespace light {
3
+ let borderColor: string;
4
+ }
5
+ namespace dark {
6
+ let borderColor_1: string;
7
+ export { borderColor_1 as borderColor };
8
+ }
9
+ }
10
+ export namespace trColors {
11
+ export namespace light_1 {
12
+ export namespace backgroundColor {
13
+ let _default: string;
14
+ export { _default as default };
15
+ export let alt: string;
16
+ export let hover: string;
17
+ }
18
+ let borderColor_2: string;
19
+ export { borderColor_2 as borderColor };
20
+ }
21
+ export { light_1 as light };
22
+ export namespace dark_1 {
23
+ export namespace backgroundColor_1 {
24
+ let _default_1: string;
25
+ export { _default_1 as default };
26
+ let alt_1: string;
27
+ export { alt_1 as alt };
28
+ let hover_1: string;
29
+ export { hover_1 as hover };
30
+ }
31
+ export { backgroundColor_1 as backgroundColor };
32
+ let borderColor_3: string;
33
+ export { borderColor_3 as borderColor };
34
+ }
35
+ export { dark_1 as dark };
36
+ }
37
+ export namespace theadColors {
38
+ export namespace light_2 {
39
+ let backgroundColor_2: string;
40
+ export { backgroundColor_2 as backgroundColor };
41
+ }
42
+ export { light_2 as light };
43
+ export namespace dark_2 {
44
+ let backgroundColor_3: string;
45
+ export { backgroundColor_3 as backgroundColor };
46
+ }
47
+ export { dark_2 as dark };
48
+ }
49
+ export namespace thColors {
50
+ export namespace light_3 {
51
+ export let color: string;
52
+ let borderColor_4: string;
53
+ export { borderColor_4 as borderColor };
54
+ }
55
+ export { light_3 as light };
56
+ export namespace dark_3 {
57
+ let color_1: string;
58
+ export { color_1 as color };
59
+ let borderColor_5: string;
60
+ export { borderColor_5 as borderColor };
61
+ }
62
+ export { dark_3 as dark };
63
+ }
64
+ export namespace tfootColors {
65
+ export namespace light_4 {
66
+ let backgroundColor_4: string;
67
+ export { backgroundColor_4 as backgroundColor };
68
+ let borderColor_6: string;
69
+ export { borderColor_6 as borderColor };
70
+ }
71
+ export { light_4 as light };
72
+ export namespace dark_4 {
73
+ let backgroundColor_5: string;
74
+ export { backgroundColor_5 as backgroundColor };
75
+ let borderColor_7: string;
76
+ export { borderColor_7 as borderColor };
77
+ }
78
+ export { dark_4 as dark };
79
+ }
@@ -0,0 +1,39 @@
1
+ import React, { ComponentType, MouseEvent, ReactNode } from 'react';
2
+ export interface TabProps {
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
+ * 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<HTMLButtonElement | HTMLAnchorElement>) => void;
25
+ /**
26
+ * The url to link to.
27
+ */
28
+ href?: string;
29
+ /**
30
+ * The active className to mark the component as active. Styling targets this classname.
31
+ */
32
+ activeClassName?: string;
33
+ /**
34
+ * Additional props to be spread to the underlying element
35
+ */
36
+ [key: string]: any;
37
+ }
38
+ declare const Tab: ({ children, activeClassName, className, component, onClick, href, dataTestId, ...rest }: TabProps) => React.JSX.Element;
39
+ export default Tab;
@@ -0,0 +1,17 @@
1
+ import React, { ReactNode } from 'react';
2
+ export interface TabBodyProps {
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 TabBody: ({ children, dataTestId, className }: TabBodyProps) => React.JSX.Element;
17
+ export default TabBody;
@@ -0,0 +1,18 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface TabsProps {
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 Tabs: ({ children, dataTestId, className }: TabsProps) => React.JSX.Element;
17
+ export type { TabsProps };
18
+ export default Tabs;
@@ -0,0 +1,4 @@
1
+ declare const TabsStyles: import("styled-components").StyledComponent<"nav", any, {}, never>;
2
+ declare const TabStyles: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ declare const TabBodyStyles: import("styled-components").StyledComponent<"section", any, {}, never>;
4
+ export { TabsStyles, TabStyles, TabBodyStyles };
@@ -0,0 +1,9 @@
1
+ import { TabProps } from './Tab';
2
+ import { TabBodyProps } from './TabBody';
3
+ import { TabsProps } from './Tabs';
4
+ declare const Tabs: (({ children, dataTestId, className }: TabsProps) => import("react").JSX.Element) & {
5
+ Tab: ({ children, activeClassName, className, component, onClick, href, dataTestId, ...rest }: TabProps) => import("react").JSX.Element;
6
+ TabBody: ({ children, dataTestId, className }: TabBodyProps) => import("react").JSX.Element;
7
+ };
8
+ export type { TabProps, TabBodyProps, TabsProps };
9
+ export default Tabs;
@@ -0,0 +1,39 @@
1
+ import React, { ReactNode, MouseEvent } from 'react';
2
+ export type TagVariant = 'default' | 'info' | 'warning' | 'error' | 'success' | 'tip';
3
+ export interface TagProps {
4
+ /**
5
+ * Add className to the outermost element.
6
+ */
7
+ className?: string;
8
+ /**
9
+ * The content of the component.
10
+ */
11
+ children?: ReactNode;
12
+ /**
13
+ * Callback fired when the component is clicked.
14
+ */
15
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
16
+ /**
17
+ * Callback fired when the component delete button is clicked.
18
+ * Adds an 'x' button on the end of the tag.
19
+ */
20
+ onDelete?: (event: MouseEvent<HTMLButtonElement>) => void;
21
+ /**
22
+ * Set the visual property of the component.
23
+ */
24
+ variant?: TagVariant;
25
+ /**
26
+ * Set the icon at the front of the tag.
27
+ */
28
+ startIcon?: string;
29
+ /**
30
+ * Set the icon at the rear of the tag.
31
+ */
32
+ endIcon?: string;
33
+ /**
34
+ * Add test attribute to the element. Used internally for testing.
35
+ */
36
+ dataTestId?: string;
37
+ }
38
+ declare const Tag: ({ children, className, onClick, onDelete, variant, dataTestId, startIcon, endIcon }: TagProps) => React.JSX.Element;
39
+ export default Tag;
@@ -0,0 +1,19 @@
1
+ import { TagVariant } from './Tag';
2
+ declare const StyledTag: import("styled-components").StyledComponent<"span", any, {
3
+ variant: TagVariant;
4
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
5
+ }, never>;
6
+ interface IconProps {
7
+ variant: TagVariant;
8
+ }
9
+ declare const StyledStartIcon: 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, IconProps, never>;
13
+ declare const StyledEndIcon: import("styled-components").StyledComponent<{
14
+ ({ className, icon, label, onClick, size, variant, dataTestId }: import("../icon").IconProps): import("react").JSX.Element | null;
15
+ displayName: string;
16
+ }, any, IconProps, never>;
17
+ declare const StyledTagLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
18
+ declare const StyledDeleteButton: import("styled-components").StyledComponent<"button", any, IconProps, never>;
19
+ export { StyledTag, StyledTagLabel, StyledDeleteButton, StyledStartIcon, StyledEndIcon };
@@ -0,0 +1,3 @@
1
+ import Tag, { TagProps, TagVariant } from './Tag';
2
+ export type { TagProps, TagVariant };
3
+ export default Tag;
@@ -0,0 +1,83 @@
1
+ export namespace colors {
2
+ namespace light {
3
+ namespace _default {
4
+ let color: string;
5
+ let backgroundColor: string;
6
+ }
7
+ export { _default as default };
8
+ export namespace info {
9
+ let color_1: string;
10
+ export { color_1 as color };
11
+ let backgroundColor_1: string;
12
+ export { backgroundColor_1 as backgroundColor };
13
+ }
14
+ export namespace warning {
15
+ let color_2: string;
16
+ export { color_2 as color };
17
+ let backgroundColor_2: string;
18
+ export { backgroundColor_2 as backgroundColor };
19
+ }
20
+ export namespace error {
21
+ let color_3: string;
22
+ export { color_3 as color };
23
+ let backgroundColor_3: string;
24
+ export { backgroundColor_3 as backgroundColor };
25
+ }
26
+ export namespace success {
27
+ let color_4: string;
28
+ export { color_4 as color };
29
+ let backgroundColor_4: string;
30
+ export { backgroundColor_4 as backgroundColor };
31
+ }
32
+ export namespace tip {
33
+ let color_5: string;
34
+ export { color_5 as color };
35
+ let backgroundColor_5: string;
36
+ export { backgroundColor_5 as backgroundColor };
37
+ }
38
+ }
39
+ namespace dark {
40
+ namespace _default_1 {
41
+ let color_6: string;
42
+ export { color_6 as color };
43
+ let backgroundColor_6: string;
44
+ export { backgroundColor_6 as backgroundColor };
45
+ }
46
+ export { _default_1 as default };
47
+ export namespace info_1 {
48
+ let color_7: string;
49
+ export { color_7 as color };
50
+ let backgroundColor_7: string;
51
+ export { backgroundColor_7 as backgroundColor };
52
+ }
53
+ export { info_1 as info };
54
+ export namespace warning_1 {
55
+ let color_8: string;
56
+ export { color_8 as color };
57
+ let backgroundColor_8: string;
58
+ export { backgroundColor_8 as backgroundColor };
59
+ }
60
+ export { warning_1 as warning };
61
+ export namespace error_1 {
62
+ let color_9: string;
63
+ export { color_9 as color };
64
+ let backgroundColor_9: string;
65
+ export { backgroundColor_9 as backgroundColor };
66
+ }
67
+ export { error_1 as error };
68
+ export namespace success_1 {
69
+ let color_10: string;
70
+ export { color_10 as color };
71
+ let backgroundColor_10: string;
72
+ export { backgroundColor_10 as backgroundColor };
73
+ }
74
+ export { success_1 as success };
75
+ export namespace tip_1 {
76
+ let color_11: string;
77
+ export { color_11 as color };
78
+ let backgroundColor_11: string;
79
+ export { backgroundColor_11 as backgroundColor };
80
+ }
81
+ export { tip_1 as tip };
82
+ }
83
+ }
@@ -0,0 +1,53 @@
1
+ import * as React from 'react';
2
+ export interface TextProps {
3
+ /**
4
+ * Override Element Type.
5
+ */
6
+ as?: keyof React.JSX.IntrinsicElements | React.ComponentType<any>;
7
+ /**
8
+ * Display as block (true) or inline-block (false)
9
+ */
10
+ block?: boolean;
11
+ /**
12
+ * The content of the component.
13
+ */
14
+ children?: React.ReactNode | Node;
15
+ /**
16
+ * Add className to the outermost element.
17
+ */
18
+ className?: string;
19
+ /**
20
+ * Text color is error color (red)
21
+ */
22
+ error?: boolean;
23
+ /**
24
+ * Text weight is bold
25
+ */
26
+ strong?: boolean;
27
+ /**
28
+ * Text style is italic
29
+ */
30
+ italic?: boolean;
31
+ /**
32
+ * Smaller text
33
+ */
34
+ small?: boolean;
35
+ /**
36
+ * Text Transform to uppercase
37
+ */
38
+ uppercase?: boolean;
39
+ /**
40
+ * Secondary font color.
41
+ */
42
+ secondary?: boolean;
43
+ /**
44
+ * Strikethrough text.
45
+ */
46
+ strikeThrough?: boolean;
47
+ /**
48
+ * Add test attribute to the element. Used internally for testing.
49
+ */
50
+ dataTestId?: string;
51
+ }
52
+ declare const Text: React.FC<TextProps>;
53
+ export default Text;
@@ -0,0 +1,2 @@
1
+ declare const StyledText: import("styled-components").StyledComponent<"span", any, {}, never>;
2
+ export { StyledText };