gantri-components 1.7.4 → 1.7.7

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 (301) hide show
  1. package/dist/index.cjs.js +1 -6962
  2. package/dist/index.esm.js +1 -0
  3. package/dist/index.umd.js +1 -0
  4. package/package.json +26 -6
  5. package/lib/components/aspect-ratio/aspect-ratio.d.ts +0 -3
  6. package/lib/components/aspect-ratio/aspect-ratio.presets.d.ts +0 -2
  7. package/lib/components/aspect-ratio/aspect-ratio.styles.d.ts +0 -5
  8. package/lib/components/aspect-ratio/aspect-ratio.types.d.ts +0 -11
  9. package/lib/components/aspect-ratio/index.d.ts +0 -1
  10. package/lib/components/box/box.d.ts +0 -3
  11. package/lib/components/box/box.presets.d.ts +0 -2
  12. package/lib/components/box/box.styles.d.ts +0 -2
  13. package/lib/components/box/box.types.d.ts +0 -38
  14. package/lib/components/box/index.d.ts +0 -1
  15. package/lib/components/button/button.d.ts +0 -3
  16. package/lib/components/button/button.presets.d.ts +0 -2
  17. package/lib/components/button/button.styles.d.ts +0 -3
  18. package/lib/components/button/button.types.d.ts +0 -32
  19. package/lib/components/button/index.d.ts +0 -1
  20. package/lib/components/cell/cell.d.ts +0 -3
  21. package/lib/components/cell/cell.presets.d.ts +0 -2
  22. package/lib/components/cell/cell.styles.d.ts +0 -2
  23. package/lib/components/cell/cell.types.d.ts +0 -34
  24. package/lib/components/cell/index.d.ts +0 -1
  25. package/lib/components/checkbox/checkbox.d.ts +0 -3
  26. package/lib/components/checkbox/checkbox.presets.d.ts +0 -2
  27. package/lib/components/checkbox/checkbox.styles.d.ts +0 -4
  28. package/lib/components/checkbox/checkbox.types.d.ts +0 -12
  29. package/lib/components/checkbox/index.d.ts +0 -1
  30. package/lib/components/flex/flex.d.ts +0 -3
  31. package/lib/components/flex/flex.presets.d.ts +0 -2
  32. package/lib/components/flex/flex.styles.d.ts +0 -3
  33. package/lib/components/flex/flex.types.d.ts +0 -11
  34. package/lib/components/flex/index.d.ts +0 -1
  35. package/lib/components/grid/grid.d.ts +0 -3
  36. package/lib/components/grid/grid.presets.d.ts +0 -2
  37. package/lib/components/grid/grid.styles.d.ts +0 -2
  38. package/lib/components/grid/grid.types.d.ts +0 -26
  39. package/lib/components/grid/index.d.ts +0 -1
  40. package/lib/components/icon/generated/actions/Funnel16.d.ts +0 -3
  41. package/lib/components/icon/generated/actions/Funnel24.d.ts +0 -3
  42. package/lib/components/icon/generated/actions/Gear16.d.ts +0 -3
  43. package/lib/components/icon/generated/actions/Gear24.d.ts +0 -3
  44. package/lib/components/icon/generated/actions/LifeBuoy16.d.ts +0 -3
  45. package/lib/components/icon/generated/actions/LifeBuoy24.d.ts +0 -3
  46. package/lib/components/icon/generated/actions/Link16.d.ts +0 -3
  47. package/lib/components/icon/generated/actions/Link24.d.ts +0 -3
  48. package/lib/components/icon/generated/actions/Star16.d.ts +0 -3
  49. package/lib/components/icon/generated/actions/Star24.d.ts +0 -3
  50. package/lib/components/icon/generated/actions/StarFilled16.d.ts +0 -3
  51. package/lib/components/icon/generated/actions/StarFilled24.d.ts +0 -3
  52. package/lib/components/icon/generated/actions/ThumbsUp16.d.ts +0 -3
  53. package/lib/components/icon/generated/actions/ThumbsUp24.d.ts +0 -3
  54. package/lib/components/icon/generated/actions/TrashCan16.d.ts +0 -3
  55. package/lib/components/icon/generated/actions/TrashCan24.d.ts +0 -3
  56. package/lib/components/icon/generated/actions/index.d.ts +0 -16
  57. package/lib/components/icon/generated/alert/Bell16.d.ts +0 -3
  58. package/lib/components/icon/generated/alert/Bell24.d.ts +0 -3
  59. package/lib/components/icon/generated/alert/BellFilled16.d.ts +0 -3
  60. package/lib/components/icon/generated/alert/BellFilled24.d.ts +0 -3
  61. package/lib/components/icon/generated/alert/ICircle16.d.ts +0 -3
  62. package/lib/components/icon/generated/alert/ICircle24.d.ts +0 -3
  63. package/lib/components/icon/generated/alert/LightningBolt16.d.ts +0 -3
  64. package/lib/components/icon/generated/alert/LightningBolt24.d.ts +0 -3
  65. package/lib/components/icon/generated/alert/LightningBoltFilled16.d.ts +0 -3
  66. package/lib/components/icon/generated/alert/LightningBoltFilled24.d.ts +0 -3
  67. package/lib/components/icon/generated/alert/QuestionMarkCircle16.d.ts +0 -3
  68. package/lib/components/icon/generated/alert/QuestionMarkCircle24.d.ts +0 -3
  69. package/lib/components/icon/generated/alert/WarningTriangle16.d.ts +0 -3
  70. package/lib/components/icon/generated/alert/WarningTriangle24.d.ts +0 -3
  71. package/lib/components/icon/generated/alert/index.d.ts +0 -14
  72. package/lib/components/icon/generated/animated/Loader24.d.ts +0 -3
  73. package/lib/components/icon/generated/animated/index.d.ts +0 -1
  74. package/lib/components/icon/generated/arrows/ArrowChevronDoubleDown16.d.ts +0 -3
  75. package/lib/components/icon/generated/arrows/ArrowChevronDoubleDown24.d.ts +0 -3
  76. package/lib/components/icon/generated/arrows/ArrowChevronDoubleLeft16.d.ts +0 -3
  77. package/lib/components/icon/generated/arrows/ArrowChevronDoubleLeft24.d.ts +0 -3
  78. package/lib/components/icon/generated/arrows/ArrowChevronDoubleRight16.d.ts +0 -3
  79. package/lib/components/icon/generated/arrows/ArrowChevronDoubleRight24.d.ts +0 -3
  80. package/lib/components/icon/generated/arrows/ArrowChevronDoubleUp16.d.ts +0 -3
  81. package/lib/components/icon/generated/arrows/ArrowChevronDoubleUp24.d.ts +0 -3
  82. package/lib/components/icon/generated/arrows/ArrowChevronDown16.d.ts +0 -3
  83. package/lib/components/icon/generated/arrows/ArrowChevronDown24.d.ts +0 -3
  84. package/lib/components/icon/generated/arrows/ArrowChevronLeft16.d.ts +0 -3
  85. package/lib/components/icon/generated/arrows/ArrowChevronLeft24.d.ts +0 -3
  86. package/lib/components/icon/generated/arrows/ArrowChevronRight16.d.ts +0 -3
  87. package/lib/components/icon/generated/arrows/ArrowChevronRight24.d.ts +0 -3
  88. package/lib/components/icon/generated/arrows/ArrowChevronUp16.d.ts +0 -3
  89. package/lib/components/icon/generated/arrows/ArrowChevronUp24.d.ts +0 -3
  90. package/lib/components/icon/generated/arrows/ArrowDown16.d.ts +0 -3
  91. package/lib/components/icon/generated/arrows/ArrowDown24.d.ts +0 -3
  92. package/lib/components/icon/generated/arrows/ArrowDownload16.d.ts +0 -3
  93. package/lib/components/icon/generated/arrows/ArrowDownload24.d.ts +0 -3
  94. package/lib/components/icon/generated/arrows/ArrowExternal16.d.ts +0 -3
  95. package/lib/components/icon/generated/arrows/ArrowExternal24.d.ts +0 -3
  96. package/lib/components/icon/generated/arrows/ArrowLeft16.d.ts +0 -3
  97. package/lib/components/icon/generated/arrows/ArrowLeft24.d.ts +0 -3
  98. package/lib/components/icon/generated/arrows/ArrowLineDown16.d.ts +0 -3
  99. package/lib/components/icon/generated/arrows/ArrowLineDown24.d.ts +0 -3
  100. package/lib/components/icon/generated/arrows/ArrowLineLeft16.d.ts +0 -3
  101. package/lib/components/icon/generated/arrows/ArrowLineLeft24.d.ts +0 -3
  102. package/lib/components/icon/generated/arrows/ArrowLineRight16.d.ts +0 -3
  103. package/lib/components/icon/generated/arrows/ArrowLineRight24.d.ts +0 -3
  104. package/lib/components/icon/generated/arrows/ArrowLineUp16.d.ts +0 -3
  105. package/lib/components/icon/generated/arrows/ArrowLineUp24.d.ts +0 -3
  106. package/lib/components/icon/generated/arrows/ArrowRight16.d.ts +0 -3
  107. package/lib/components/icon/generated/arrows/ArrowRight24.d.ts +0 -3
  108. package/lib/components/icon/generated/arrows/ArrowTriangleDown16.d.ts +0 -3
  109. package/lib/components/icon/generated/arrows/ArrowTriangleDown24.d.ts +0 -3
  110. package/lib/components/icon/generated/arrows/ArrowTriangleLeft16.d.ts +0 -3
  111. package/lib/components/icon/generated/arrows/ArrowTriangleLeft24.d.ts +0 -3
  112. package/lib/components/icon/generated/arrows/ArrowTriangleRight16.d.ts +0 -3
  113. package/lib/components/icon/generated/arrows/ArrowTriangleRight24.d.ts +0 -3
  114. package/lib/components/icon/generated/arrows/ArrowTriangleUp16.d.ts +0 -3
  115. package/lib/components/icon/generated/arrows/ArrowTriangleUp24.d.ts +0 -3
  116. package/lib/components/icon/generated/arrows/ArrowTriangleUpdown16.d.ts +0 -3
  117. package/lib/components/icon/generated/arrows/ArrowTriangleUpdown24.d.ts +0 -3
  118. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownDownFilled16.d.ts +0 -3
  119. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownDownFilled24.d.ts +0 -3
  120. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownFilled16.d.ts +0 -3
  121. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownFilled24.d.ts +0 -3
  122. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownTopFilled16.d.ts +0 -3
  123. package/lib/components/icon/generated/arrows/ArrowTriangleUpdownTopFilled24.d.ts +0 -3
  124. package/lib/components/icon/generated/arrows/ArrowUp16.d.ts +0 -3
  125. package/lib/components/icon/generated/arrows/ArrowUp24.d.ts +0 -3
  126. package/lib/components/icon/generated/arrows/ArrowUpdown16.d.ts +0 -3
  127. package/lib/components/icon/generated/arrows/ArrowUpdown24.d.ts +0 -3
  128. package/lib/components/icon/generated/arrows/ArrowUpdownFilled16.d.ts +0 -3
  129. package/lib/components/icon/generated/arrows/ArrowUpdownFilled24.d.ts +0 -3
  130. package/lib/components/icon/generated/arrows/ArrowUpload16.d.ts +0 -3
  131. package/lib/components/icon/generated/arrows/ArrowUpload24.d.ts +0 -3
  132. package/lib/components/icon/generated/arrows/index.d.ts +0 -58
  133. package/lib/components/icon/generated/data/ChartBar16.d.ts +0 -3
  134. package/lib/components/icon/generated/data/ChartBar24.d.ts +0 -3
  135. package/lib/components/icon/generated/data/index.d.ts +0 -2
  136. package/lib/components/icon/generated/docs/DocumentBlank16.d.ts +0 -3
  137. package/lib/components/icon/generated/docs/DocumentBlank24.d.ts +0 -3
  138. package/lib/components/icon/generated/docs/Pencil16.d.ts +0 -3
  139. package/lib/components/icon/generated/docs/Pencil24.d.ts +0 -3
  140. package/lib/components/icon/generated/docs/index.d.ts +0 -4
  141. package/lib/components/icon/generated/location/House16.d.ts +0 -3
  142. package/lib/components/icon/generated/location/House24.d.ts +0 -3
  143. package/lib/components/icon/generated/location/LocationCalifornia16.d.ts +0 -3
  144. package/lib/components/icon/generated/location/LocationCalifornia24.d.ts +0 -3
  145. package/lib/components/icon/generated/location/LocationPin16.d.ts +0 -3
  146. package/lib/components/icon/generated/location/LocationPin24.d.ts +0 -3
  147. package/lib/components/icon/generated/location/index.d.ts +0 -6
  148. package/lib/components/icon/generated/logos/LogoApple16.d.ts +0 -3
  149. package/lib/components/icon/generated/logos/LogoApple24.d.ts +0 -3
  150. package/lib/components/icon/generated/logos/LogoFacebook16.d.ts +0 -3
  151. package/lib/components/icon/generated/logos/LogoFacebook24.d.ts +0 -3
  152. package/lib/components/icon/generated/logos/LogoGithub16.d.ts +0 -3
  153. package/lib/components/icon/generated/logos/LogoGithub24.d.ts +0 -3
  154. package/lib/components/icon/generated/logos/LogoGoogle16.d.ts +0 -3
  155. package/lib/components/icon/generated/logos/LogoGoogle24.d.ts +0 -3
  156. package/lib/components/icon/generated/logos/LogoInstagram16.d.ts +0 -3
  157. package/lib/components/icon/generated/logos/LogoInstagram24.d.ts +0 -3
  158. package/lib/components/icon/generated/logos/LogoLinkedin16.d.ts +0 -3
  159. package/lib/components/icon/generated/logos/LogoLinkedin24.d.ts +0 -3
  160. package/lib/components/icon/generated/logos/LogoPinterest16.d.ts +0 -3
  161. package/lib/components/icon/generated/logos/LogoPinterest24.d.ts +0 -3
  162. package/lib/components/icon/generated/logos/LogoTwitter16.d.ts +0 -3
  163. package/lib/components/icon/generated/logos/LogoTwitter24.d.ts +0 -3
  164. package/lib/components/icon/generated/logos/LogoYoutube16.d.ts +0 -3
  165. package/lib/components/icon/generated/logos/LogoYoutube24.d.ts +0 -3
  166. package/lib/components/icon/generated/logos/index.d.ts +0 -18
  167. package/lib/components/icon/generated/machine/Laptop16.d.ts +0 -3
  168. package/lib/components/icon/generated/machine/Laptop24.d.ts +0 -3
  169. package/lib/components/icon/generated/machine/index.d.ts +0 -2
  170. package/lib/components/icon/generated/media/Photo16.d.ts +0 -3
  171. package/lib/components/icon/generated/media/Photo24.d.ts +0 -3
  172. package/lib/components/icon/generated/media/PhotoFilled16.d.ts +0 -3
  173. package/lib/components/icon/generated/media/PhotoFilled24.d.ts +0 -3
  174. package/lib/components/icon/generated/media/index.d.ts +0 -4
  175. package/lib/components/icon/generated/payment/Cash16.d.ts +0 -3
  176. package/lib/components/icon/generated/payment/Cash24.d.ts +0 -3
  177. package/lib/components/icon/generated/payment/CreditCard16.d.ts +0 -3
  178. package/lib/components/icon/generated/payment/CreditCard24.d.ts +0 -3
  179. package/lib/components/icon/generated/payment/GiftBox16.d.ts +0 -3
  180. package/lib/components/icon/generated/payment/GiftBox24.d.ts +0 -3
  181. package/lib/components/icon/generated/payment/GiftCard16.d.ts +0 -3
  182. package/lib/components/icon/generated/payment/GiftCard24.d.ts +0 -3
  183. package/lib/components/icon/generated/payment/ShoppingBag16.d.ts +0 -3
  184. package/lib/components/icon/generated/payment/ShoppingBag24.d.ts +0 -3
  185. package/lib/components/icon/generated/payment/index.d.ts +0 -10
  186. package/lib/components/icon/generated/people/People16.d.ts +0 -3
  187. package/lib/components/icon/generated/people/People24.d.ts +0 -3
  188. package/lib/components/icon/generated/people/Person16.d.ts +0 -3
  189. package/lib/components/icon/generated/people/Person24.d.ts +0 -3
  190. package/lib/components/icon/generated/people/index.d.ts +0 -4
  191. package/lib/components/icon/generated/time/Calendar16.d.ts +0 -3
  192. package/lib/components/icon/generated/time/Calendar24.d.ts +0 -3
  193. package/lib/components/icon/generated/time/Clock16.d.ts +0 -3
  194. package/lib/components/icon/generated/time/Clock24.d.ts +0 -3
  195. package/lib/components/icon/generated/time/ClockFilled16.d.ts +0 -3
  196. package/lib/components/icon/generated/time/ClockFilled24.d.ts +0 -3
  197. package/lib/components/icon/generated/time/index.d.ts +0 -6
  198. package/lib/components/icon/generated/ui-control/CheckMark16.d.ts +0 -3
  199. package/lib/components/icon/generated/ui-control/CheckMark24.d.ts +0 -3
  200. package/lib/components/icon/generated/ui-control/CheckMarkCircleFilled16.d.ts +0 -3
  201. package/lib/components/icon/generated/ui-control/CheckMarkCircleFilled24.d.ts +0 -3
  202. package/lib/components/icon/generated/ui-control/Grid16.d.ts +0 -3
  203. package/lib/components/icon/generated/ui-control/Grid24.d.ts +0 -3
  204. package/lib/components/icon/generated/ui-control/LinesThree16.d.ts +0 -3
  205. package/lib/components/icon/generated/ui-control/LinesThree24.d.ts +0 -3
  206. package/lib/components/icon/generated/ui-control/LinesTwo16.d.ts +0 -3
  207. package/lib/components/icon/generated/ui-control/LinesTwo24.d.ts +0 -3
  208. package/lib/components/icon/generated/ui-control/Minus16.d.ts +0 -3
  209. package/lib/components/icon/generated/ui-control/Minus24.d.ts +0 -3
  210. package/lib/components/icon/generated/ui-control/MinusCircle16.d.ts +0 -3
  211. package/lib/components/icon/generated/ui-control/MinusCircle24.d.ts +0 -3
  212. package/lib/components/icon/generated/ui-control/Plus16.d.ts +0 -3
  213. package/lib/components/icon/generated/ui-control/Plus24.d.ts +0 -3
  214. package/lib/components/icon/generated/ui-control/PlusCircle16.d.ts +0 -3
  215. package/lib/components/icon/generated/ui-control/PlusCircle24.d.ts +0 -3
  216. package/lib/components/icon/generated/ui-control/ThreeDotsCluster16.d.ts +0 -3
  217. package/lib/components/icon/generated/ui-control/ThreeDotsCluster24.d.ts +0 -3
  218. package/lib/components/icon/generated/ui-control/ThreeDotsHorizontal16.d.ts +0 -3
  219. package/lib/components/icon/generated/ui-control/ThreeDotsHorizontal24.d.ts +0 -3
  220. package/lib/components/icon/generated/ui-control/X16.d.ts +0 -3
  221. package/lib/components/icon/generated/ui-control/X24.d.ts +0 -3
  222. package/lib/components/icon/generated/ui-control/index.d.ts +0 -24
  223. package/lib/components/icon/generated/view/EyeOpen16.d.ts +0 -3
  224. package/lib/components/icon/generated/view/EyeOpen24.d.ts +0 -3
  225. package/lib/components/icon/generated/view/MagnifyingGlass16.d.ts +0 -3
  226. package/lib/components/icon/generated/view/MagnifyingGlass24.d.ts +0 -3
  227. package/lib/components/icon/generated/view/MagnifyingGlassFilled16.d.ts +0 -3
  228. package/lib/components/icon/generated/view/MagnifyingGlassFilled24.d.ts +0 -3
  229. package/lib/components/icon/generated/view/index.d.ts +0 -6
  230. package/lib/components/icon/generated/work/Assemble16.d.ts +0 -3
  231. package/lib/components/icon/generated/work/Assemble24.d.ts +0 -3
  232. package/lib/components/icon/generated/work/BasketFilled16.d.ts +0 -3
  233. package/lib/components/icon/generated/work/BasketFilled24.d.ts +0 -3
  234. package/lib/components/icon/generated/work/Box16.d.ts +0 -3
  235. package/lib/components/icon/generated/work/Box24.d.ts +0 -3
  236. package/lib/components/icon/generated/work/Corner16.d.ts +0 -3
  237. package/lib/components/icon/generated/work/Corner24.d.ts +0 -3
  238. package/lib/components/icon/generated/work/CubeOutline16.d.ts +0 -3
  239. package/lib/components/icon/generated/work/CubeOutline24.d.ts +0 -3
  240. package/lib/components/icon/generated/work/Leaf16.d.ts +0 -3
  241. package/lib/components/icon/generated/work/Leaf24.d.ts +0 -3
  242. package/lib/components/icon/generated/work/LightBulb16.d.ts +0 -3
  243. package/lib/components/icon/generated/work/LightBulb24.d.ts +0 -3
  244. package/lib/components/icon/generated/work/Mask16.d.ts +0 -3
  245. package/lib/components/icon/generated/work/Mask24.d.ts +0 -3
  246. package/lib/components/icon/generated/work/PCircle16.d.ts +0 -3
  247. package/lib/components/icon/generated/work/PCircle24.d.ts +0 -3
  248. package/lib/components/icon/generated/work/PrintNozzle16.d.ts +0 -3
  249. package/lib/components/icon/generated/work/PrintNozzle24.d.ts +0 -3
  250. package/lib/components/icon/generated/work/RfidSignal16.d.ts +0 -3
  251. package/lib/components/icon/generated/work/RfidSignal24.d.ts +0 -3
  252. package/lib/components/icon/generated/work/SandPaper16.d.ts +0 -3
  253. package/lib/components/icon/generated/work/SandPaper24.d.ts +0 -3
  254. package/lib/components/icon/generated/work/Sun16.d.ts +0 -3
  255. package/lib/components/icon/generated/work/Sun24.d.ts +0 -3
  256. package/lib/components/icon/generated/work/TriangleRuler16.d.ts +0 -3
  257. package/lib/components/icon/generated/work/TriangleRuler24.d.ts +0 -3
  258. package/lib/components/icon/generated/work/WaterDrop16.d.ts +0 -3
  259. package/lib/components/icon/generated/work/WaterDrop24.d.ts +0 -3
  260. package/lib/components/icon/generated/work/Wrench16.d.ts +0 -3
  261. package/lib/components/icon/generated/work/Wrench24.d.ts +0 -3
  262. package/lib/components/icon/generated/work/index.d.ts +0 -32
  263. package/lib/components/icon/icon.d.ts +0 -3
  264. package/lib/components/icon/icon.hooks.d.ts +0 -1
  265. package/lib/components/icon/icon.presets.d.ts +0 -2
  266. package/lib/components/icon/icon.styles.d.ts +0 -1
  267. package/lib/components/icon/icon.type.d.ts +0 -2
  268. package/lib/components/icon/icon.types.d.ts +0 -18
  269. package/lib/components/icon/index.d.ts +0 -2
  270. package/lib/components/image/image.d.ts +0 -3
  271. package/lib/components/image/image.helpers.d.ts +0 -5
  272. package/lib/components/image/image.presets.d.ts +0 -3
  273. package/lib/components/image/image.styles.d.ts +0 -3
  274. package/lib/components/image/image.types.d.ts +0 -38
  275. package/lib/components/image/index.d.ts +0 -1
  276. package/lib/components/index.d.ts +0 -10
  277. package/lib/components/radio/index.d.ts +0 -1
  278. package/lib/components/radio/radio.d.ts +0 -6
  279. package/lib/components/radio/radio.presets.d.ts +0 -2
  280. package/lib/components/radio/radio.styles.d.ts +0 -4
  281. package/lib/components/radio/radio.types.d.ts +0 -12
  282. package/lib/components/stack/index.d.ts +0 -1
  283. package/lib/components/stack/stack.d.ts +0 -3
  284. package/lib/components/stack/stack.presets.d.ts +0 -2
  285. package/lib/components/stack/stack.types.d.ts +0 -3
  286. package/lib/components/typography/index.d.ts +0 -1
  287. package/lib/components/typography/typography.d.ts +0 -11
  288. package/lib/components/typography/typography.presets.d.ts +0 -2
  289. package/lib/components/typography/typography.styles.d.ts +0 -2
  290. package/lib/components/typography/typography.types.d.ts +0 -46
  291. package/lib/helpers/layout.helpers.d.ts +0 -17
  292. package/lib/index.d.ts +0 -2
  293. package/lib/styles/base.d.ts +0 -1
  294. package/lib/styles/index.d.ts +0 -3
  295. package/lib/styles/media.d.ts +0 -10
  296. package/lib/styles/theme-provider.d.ts +0 -5
  297. package/lib/styles/theme.d.ts +0 -180
  298. package/lib/styles/theme.stories.d.ts +0 -6
  299. package/lib/types/common.d.ts +0 -1
  300. package/lib/types/layout.d.ts +0 -8
  301. package/lib/types/resolution-aware-prop.type.d.ts +0 -7
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgLightBulb24: React.NamedExoticComponent<object>;
3
- export default SvgLightBulb24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgMask16: React.NamedExoticComponent<object>;
3
- export default SvgMask16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgMask24: React.NamedExoticComponent<object>;
3
- export default SvgMask24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgPCircle16: React.NamedExoticComponent<object>;
3
- export default SvgPCircle16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgPCircle24: React.NamedExoticComponent<object>;
3
- export default SvgPCircle24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgPrintNozzle16: React.NamedExoticComponent<object>;
3
- export default SvgPrintNozzle16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgPrintNozzle24: React.NamedExoticComponent<object>;
3
- export default SvgPrintNozzle24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgRfidSignal16: React.NamedExoticComponent<object>;
3
- export default SvgRfidSignal16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgRfidSignal24: React.NamedExoticComponent<object>;
3
- export default SvgRfidSignal24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgSandPaper16: React.NamedExoticComponent<object>;
3
- export default SvgSandPaper16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgSandPaper24: React.NamedExoticComponent<object>;
3
- export default SvgSandPaper24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgSun16: React.NamedExoticComponent<object>;
3
- export default SvgSun16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgSun24: React.NamedExoticComponent<object>;
3
- export default SvgSun24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgTriangleRuler16: React.NamedExoticComponent<object>;
3
- export default SvgTriangleRuler16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgTriangleRuler24: React.NamedExoticComponent<object>;
3
- export default SvgTriangleRuler24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgWaterDrop16: React.NamedExoticComponent<object>;
3
- export default SvgWaterDrop16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgWaterDrop24: React.NamedExoticComponent<object>;
3
- export default SvgWaterDrop24;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgWrench16: React.NamedExoticComponent<object>;
3
- export default SvgWrench16;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const SvgWrench24: React.NamedExoticComponent<object>;
3
- export default SvgWrench24;
@@ -1,32 +0,0 @@
1
- export { default as Assemble16 } from './Assemble16';
2
- export { default as Assemble24 } from './Assemble24';
3
- export { default as BasketFilled16 } from './BasketFilled16';
4
- export { default as BasketFilled24 } from './BasketFilled24';
5
- export { default as Box16 } from './Box16';
6
- export { default as Box24 } from './Box24';
7
- export { default as Corner16 } from './Corner16';
8
- export { default as Corner24 } from './Corner24';
9
- export { default as CubeOutline16 } from './CubeOutline16';
10
- export { default as CubeOutline24 } from './CubeOutline24';
11
- export { default as Leaf16 } from './Leaf16';
12
- export { default as Leaf24 } from './Leaf24';
13
- export { default as LightBulb16 } from './LightBulb16';
14
- export { default as LightBulb24 } from './LightBulb24';
15
- export { default as Mask16 } from './Mask16';
16
- export { default as Mask24 } from './Mask24';
17
- export { default as PCircle16 } from './PCircle16';
18
- export { default as PCircle24 } from './PCircle24';
19
- export { default as PrintNozzle16 } from './PrintNozzle16';
20
- export { default as PrintNozzle24 } from './PrintNozzle24';
21
- export { default as RfidSignal16 } from './RfidSignal16';
22
- export { default as RfidSignal24 } from './RfidSignal24';
23
- export { default as SandPaper16 } from './SandPaper16';
24
- export { default as SandPaper24 } from './SandPaper24';
25
- export { default as Sun16 } from './Sun16';
26
- export { default as Sun24 } from './Sun24';
27
- export { default as TriangleRuler16 } from './TriangleRuler16';
28
- export { default as TriangleRuler24 } from './TriangleRuler24';
29
- export { default as WaterDrop16 } from './WaterDrop16';
30
- export { default as WaterDrop24 } from './WaterDrop24';
31
- export { default as Wrench16 } from './Wrench16';
32
- export { default as Wrench24 } from './Wrench24';
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './icon.types';
3
- export declare const Icon: FC<IconProps>;
@@ -1 +0,0 @@
1
- export declare const useWithViewbox: (ref: any) => void;
@@ -1,2 +0,0 @@
1
- import { IconProps } from './icon.types';
2
- export declare const IconPresets: Partial<IconProps>;
@@ -1 +0,0 @@
1
- export declare const StyledSvgIcon: import("styled-components").StyledComponent<"svg", import("styled-components").DefaultTheme, any, never>;
@@ -1,2 +0,0 @@
1
- export declare const IconsList: readonly ["actions:funnel_16", "actions:funnel_24", "actions:gear_16", "actions:gear_24", "actions:life_buoy_16", "actions:life_buoy_24", "actions:link_16", "actions:link_24", "actions:star_16", "actions:star_24", "actions:star_filled_16", "actions:star_filled_24", "actions:thumbs_up_16", "actions:thumbs_up_24", "actions:trash_can_16", "actions:trash_can_24", "alert:bell_16", "alert:bell_24", "alert:bell_filled_16", "alert:bell_filled_24", "alert:i_circle_16", "alert:i_circle_24", "alert:lightning_bolt_16", "alert:lightning_bolt_24", "alert:lightning_bolt_filled_16", "alert:lightning_bolt_filled_24", "alert:question_mark_circle_16", "alert:question_mark_circle_24", "alert:warning_triangle_16", "alert:warning_triangle_24", "animated:loader_24", "arrows:arrow_chevron_double_down_16", "arrows:arrow_chevron_double_down_24", "arrows:arrow_chevron_double_left_16", "arrows:arrow_chevron_double_left_24", "arrows:arrow_chevron_double_right_16", "arrows:arrow_chevron_double_right_24", "arrows:arrow_chevron_double_up_16", "arrows:arrow_chevron_double_up_24", "arrows:arrow_chevron_down_16", "arrows:arrow_chevron_down_24", "arrows:arrow_chevron_left_16", "arrows:arrow_chevron_left_24", "arrows:arrow_chevron_right_16", "arrows:arrow_chevron_right_24", "arrows:arrow_chevron_up_16", "arrows:arrow_chevron_up_24", "arrows:arrow_down_16", "arrows:arrow_down_24", "arrows:arrow_download_16", "arrows:arrow_download_24", "arrows:arrow_external_16", "arrows:arrow_external_24", "arrows:arrow_left_16", "arrows:arrow_left_24", "arrows:arrow_line_down_16", "arrows:arrow_line_down_24", "arrows:arrow_line_left_16", "arrows:arrow_line_left_24", "arrows:arrow_line_right_16", "arrows:arrow_line_right_24", "arrows:arrow_line_up_16", "arrows:arrow_line_up_24", "arrows:arrow_right_16", "arrows:arrow_right_24", "arrows:arrow_triangle_down_16", "arrows:arrow_triangle_down_24", "arrows:arrow_triangle_left_16", "arrows:arrow_triangle_left_24", "arrows:arrow_triangle_right_16", "arrows:arrow_triangle_right_24", "arrows:arrow_triangle_up_16", "arrows:arrow_triangle_up_24", "arrows:arrow_triangle_updown_16", "arrows:arrow_triangle_updown_24", "arrows:arrow_triangle_updown_down_filled_16", "arrows:arrow_triangle_updown_down_filled_24", "arrows:arrow_triangle_updown_filled_16", "arrows:arrow_triangle_updown_filled_24", "arrows:arrow_triangle_updown_top_filled_16", "arrows:arrow_triangle_updown_top_filled_24", "arrows:arrow_up_16", "arrows:arrow_up_24", "arrows:arrow_updown_16", "arrows:arrow_updown_24", "arrows:arrow_updown_filled_16", "arrows:arrow_updown_filled_24", "arrows:arrow_upload_16", "arrows:arrow_upload_24", "data:chart_bar_16", "data:chart_bar_24", "docs:document_blank_16", "docs:document_blank_24", "docs:pencil_16", "docs:pencil_24", "location:house_16", "location:house_24", "location:location_california_16", "location:location_california_24", "location:location_pin_16", "location:location_pin_24", "logos:logo_apple_16", "logos:logo_apple_24", "logos:logo_facebook_16", "logos:logo_facebook_24", "logos:logo_github_16", "logos:logo_github_24", "logos:logo_google_16", "logos:logo_google_24", "logos:logo_instagram_16", "logos:logo_instagram_24", "logos:logo_linkedin_16", "logos:logo_linkedin_24", "logos:logo_pinterest_16", "logos:logo_pinterest_24", "logos:logo_twitter_16", "logos:logo_twitter_24", "logos:logo_youtube_16", "logos:logo_youtube_24", "machine:laptop_16", "machine:laptop_24", "media:photo_16", "media:photo_24", "media:photo_filled_16", "media:photo_filled_24", "payment:cash_16", "payment:cash_24", "payment:credit_card_16", "payment:credit_card_24", "payment:gift_box_16", "payment:gift_box_24", "payment:gift_card_16", "payment:gift_card_24", "payment:shopping_bag_16", "payment:shopping_bag_24", "people:people_16", "people:people_24", "people:person_16", "people:person_24", "time:calendar_16", "time:calendar_24", "time:clock_16", "time:clock_24", "time:clock_filled_16", "time:clock_filled_24", "ui-control:check_mark_16", "ui-control:check_mark_24", "ui-control:check_mark_circle_filled_16", "ui-control:check_mark_circle_filled_24", "ui-control:grid_16", "ui-control:grid_24", "ui-control:lines_three_16", "ui-control:lines_three_24", "ui-control:lines_two_16", "ui-control:lines_two_24", "ui-control:minus_16", "ui-control:minus_24", "ui-control:minus_circle_16", "ui-control:minus_circle_24", "ui-control:plus_16", "ui-control:plus_24", "ui-control:plus_circle_16", "ui-control:plus_circle_24", "ui-control:three_dots_cluster_16", "ui-control:three_dots_cluster_24", "ui-control:three_dots_horizontal_16", "ui-control:three_dots_horizontal_24", "ui-control:x_16", "ui-control:x_24", "view:eye_open_16", "view:eye_open_24", "view:magnifying_glass_16", "view:magnifying_glass_24", "view:magnifying_glass_filled_16", "view:magnifying_glass_filled_24", "work:assemble_16", "work:assemble_24", "work:basket_filled_16", "work:basket_filled_24", "work:box_16", "work:box_24", "work:corner_16", "work:corner_24", "work:cube_outline_16", "work:cube_outline_24", "work:leaf_16", "work:leaf_24", "work:light_bulb_16", "work:light_bulb_24", "work:mask_16", "work:mask_24", "work:p_circle_16", "work:p_circle_24", "work:print_nozzle_16", "work:print_nozzle_24", "work:rfid_signal_16", "work:rfid_signal_24", "work:sand_paper_16", "work:sand_paper_24", "work:sun_16", "work:sun_24", "work:triangle_ruler_16", "work:triangle_ruler_24", "work:water_drop_16", "work:water_drop_24", "work:wrench_16", "work:wrench_24"];
2
- export declare type IconType = typeof IconsList[number];
@@ -1,18 +0,0 @@
1
- import { SVGProps } from 'react';
2
- import { Property } from 'csstype';
3
- import { IconType } from './icon.type';
4
- import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
5
- export declare type IconColor = 'alert' | 'link' | 't1' | 't2' | 't3';
6
- export interface IconProps extends SVGProps<any> {
7
- bottom?: Property.Bottom;
8
- color?: IconColor;
9
- cursor?: Property.Cursor;
10
- height?: ResolutionAwareProp<Property.Height<string | any>>;
11
- left?: Property.Left;
12
- name: IconType;
13
- opacity?: number;
14
- right?: Property.Right;
15
- size?: ResolutionAwareProp<Property.Height<string>>;
16
- top?: Property.Top;
17
- width?: ResolutionAwareProp<Property.Width<string | any>>;
18
- }
@@ -1,2 +0,0 @@
1
- export { IconsList } from './icon.type';
2
- export { Icon } from './icon';
@@ -1,3 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { ImageProps } from './image.types';
3
- export declare const Image: FC<PropsWithChildren<ImageProps>>;
@@ -1,5 +0,0 @@
1
- import { ImageProps, ImageSource, TransformationMode, TransformationQuality } from './image.types';
2
- import { Optional } from '../../types/common';
3
- export declare const extractSizePropertyValue: (prop: Optional<string | number>) => number | undefined;
4
- export declare const generateCloudinaryUrl: (source: ImageSource, imageName?: string | undefined, aspectRatio?: string | undefined, width?: Optional<number | string>, height?: Optional<number | string>, mode?: Optional<TransformationMode>, quality?: Optional<TransformationQuality>) => string;
5
- export declare const generateImages: (params: Partial<ImageProps>) => string | [Optional<string>, Optional<string>, Optional<string>];
@@ -1,3 +0,0 @@
1
- import { ImageProps, Transformations } from './image.types';
2
- export declare const ImagePresets: Partial<ImageProps>;
3
- export declare const TransformationPresets: Partial<Transformations>;
@@ -1,3 +0,0 @@
1
- import { StyledImageContainerProps, StyledImageProps } from './image.types';
2
- export declare const StyledImageContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledImageContainerProps, never>;
3
- export declare const StyledImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, StyledImageProps, never>;
@@ -1,38 +0,0 @@
1
- import { Property } from 'csstype';
2
- import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
3
- import { PaletteColor } from '../../styles';
4
- import { Optional } from '../../types/common';
5
- export interface ImageProps {
6
- alt: string;
7
- aspectRatio?: Optional<ResolutionAwareProp<string>>;
8
- commonTransformations?: Optional<Transformations>;
9
- fallbackColor?: Optional<PaletteColor>;
10
- height?: Optional<ResolutionAwareProp<string | number>>;
11
- immediateAvailable?: Optional<boolean>;
12
- maxHeight?: Optional<ResolutionAwareProp<Property.MaxHeight>>;
13
- maxWidth?: Optional<ResolutionAwareProp<Property.MinWidth>>;
14
- minHeight?: Optional<ResolutionAwareProp<Property.MinHeight>>;
15
- minWidth?: Optional<ResolutionAwareProp<Property.MinWidth>>;
16
- mode?: Optional<ResolutionAwareProp<TransformationMode>>;
17
- name: ResolutionAwareProp<string>;
18
- objectFit?: Optional<ResolutionAwareProp<Property.ObjectFit>>;
19
- objectPosition?: Optional<ResolutionAwareProp<Property.ObjectPosition>>;
20
- quality?: Optional<TransformationQuality>;
21
- showLoadingIndicator?: Optional<boolean>;
22
- source?: Optional<ImageSource>;
23
- transformations?: Optional<ResolutionAwareProp<Transformations>>;
24
- width?: Optional<ResolutionAwareProp<string | number>>;
25
- }
26
- export interface Transformations {
27
- aspectRatio?: Optional<string>;
28
- height?: Optional<number>;
29
- mode?: Optional<TransformationMode>;
30
- width?: Optional<number>;
31
- }
32
- export declare type ImageSource = 'static' | 'dynamic' | 'absolute';
33
- export declare type TransformationMode = 'scale' | 'limitFit' | 'limitFill' | 'limitPad' | 'fill' | 'fit' | 'crop' | 'pad' | 'imaggaCrop' | 'imaggaScale' | 'minimumFit' | 'minimumPad' | 'fillPad';
34
- export declare type TransformationQuality = 'auto' | 'autoBest' | 'autoEco' | 'autoGood' | 'autoLow' | 'jpegmini' | 'jpegminiBest' | 'jpegminiHigh' | 'jpegminiMedium';
35
- export interface StyledImageContainerProps extends Pick<ImageProps, 'aspectRatio' | 'width' | 'height' | 'fallbackColor' | 'maxWidth' | 'maxHeight' | 'minWidth' | 'minHeight'> {
36
- }
37
- export interface StyledImageProps extends Pick<ImageProps, 'objectFit' | 'objectPosition'> {
38
- }
@@ -1 +0,0 @@
1
- export * from './image';
@@ -1,10 +0,0 @@
1
- export * from './box';
2
- export * from './button';
3
- export * from './cell';
4
- export * from './flex';
5
- export * from './grid';
6
- export * from './icon';
7
- export * from './image';
8
- export * from './radio';
9
- export * from './stack';
10
- export * from './typography';
@@ -1 +0,0 @@
1
- export { Radio } from './radio';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { RadioProps } from './radio.types';
3
- export declare const Radio: {
4
- (props: RadioProps): JSX.Element;
5
- defaultProps: RadioProps;
6
- };
@@ -1,2 +0,0 @@
1
- import { RadioProps } from './radio.types';
2
- export declare const RadioPresets: RadioProps;
@@ -1,4 +0,0 @@
1
- export declare const StyledRadioContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const StyledRadio: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const StyledRadioInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
4
- export declare const StyledRadioMarker: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
@@ -1,12 +0,0 @@
1
- import { TextVariant } from '../typography/typography.types';
2
- export interface RadioProps {
3
- groupValue?: any;
4
- labelPosition?: 'left' | 'right';
5
- labelText?: string;
6
- labelTx?: string;
7
- labelVariant?: TextVariant;
8
- name: string;
9
- onChange?: (event: any) => void;
10
- onSelected?: (value: any) => void;
11
- value?: any;
12
- }
@@ -1 +0,0 @@
1
- export { Stack } from './stack';
@@ -1,3 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { StackProps } from './stack.types';
3
- export declare const Stack: FC<PropsWithChildren<StackProps>>;
@@ -1,2 +0,0 @@
1
- import { StackProps } from './stack.types';
2
- export declare const StackPresets: Partial<StackProps>;
@@ -1,3 +0,0 @@
1
- import { GridProps } from "../grid/grid.types";
2
- export interface StackProps extends GridProps {
3
- }
@@ -1 +0,0 @@
1
- export * from './typography';
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { TypographyProps } from './typography.types';
3
- export declare const variantToType: {
4
- readonly badge: "span";
5
- readonly hero: "h1";
6
- readonly p0: "p";
7
- readonly p1: "p";
8
- readonly p2: "p";
9
- readonly p3: "p";
10
- };
11
- export declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<unknown>>;
@@ -1,2 +0,0 @@
1
- import { TypographyProps } from './typography.types';
2
- export declare const TypographyPresets: TypographyProps;
@@ -1,2 +0,0 @@
1
- import { TypographyProps } from './typography.types';
2
- export declare const StyledText: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, TypographyProps, never>;
@@ -1,46 +0,0 @@
1
- import { Property } from 'csstype';
2
- import { DefaultTheme } from 'styled-components';
3
- import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
4
- export declare type TextAlign = 'string' | 'left' | 'center' | 'right' | 'unset';
5
- export declare type TextVariant = 'p0' | 'p1' | 'p2' | 'p3' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'hero';
6
- export declare type TextStyle = 'regular' | 'bold';
7
- export interface TypographyProps {
8
- align?: ResolutionAwareProp<string>;
9
- alignSelf?: ResolutionAwareProp<Property.AlignSelf>;
10
- color?: keyof DefaultTheme['colors']['typography'];
11
- display?: ResolutionAwareProp<Property.Display>;
12
- fontSize?: ResolutionAwareProp<Property.Font>;
13
- fontWeight?: Property.FontWeight;
14
- hidden?: ResolutionAwareProp<boolean>;
15
- horizontalMargin?: ResolutionAwareProp<Property.Margin>;
16
- horizontalPadding?: ResolutionAwareProp<Property.Padding>;
17
- htmlFor?: string;
18
- htmlText?: string;
19
- justifySelf?: ResolutionAwareProp<Property.JustifySelf>;
20
- letterSpacing?: ResolutionAwareProp<Property.LetterSpacing>;
21
- lineHeight?: ResolutionAwareProp<Property.LineHeight>;
22
- margin?: ResolutionAwareProp<Property.Margin>;
23
- marginBottom?: ResolutionAwareProp<Property.MarginBottom>;
24
- marginLeft?: ResolutionAwareProp<Property.MarginLeft>;
25
- marginRight?: ResolutionAwareProp<Property.MarginRight>;
26
- marginTop?: ResolutionAwareProp<Property.MarginTop>;
27
- maxWidth?: ResolutionAwareProp<string>;
28
- minWidth?: ResolutionAwareProp<string>;
29
- onClick?: () => void;
30
- padding?: ResolutionAwareProp<Property.Padding>;
31
- paddingBottom?: ResolutionAwareProp<Property.PaddingBottom>;
32
- paddingLeft?: ResolutionAwareProp<Property.PaddingLeft>;
33
- paddingRight?: ResolutionAwareProp<Property.PaddingRight>;
34
- paddingTop?: ResolutionAwareProp<Property.PaddingTop>;
35
- text?: string | number;
36
- textShadow?: Property.TextShadow;
37
- textStyle?: TextStyle;
38
- transform?: Property.TextTransform;
39
- tx?: string;
40
- txValues?: Record<string, unknown>;
41
- type?: string;
42
- variant?: TextVariant;
43
- verticalMargin?: ResolutionAwareProp<Property.Margin>;
44
- verticalPadding?: ResolutionAwareProp<Property.Padding>;
45
- whiteSpace?: ResolutionAwareProp<any>;
46
- }
@@ -1,17 +0,0 @@
1
- import { AppSize, ResolutionAwareProp, ResolutionAwarePropBase } from '../types/resolution-aware-prop.type';
2
- import { ExtractStyleFromResolutionAwarePropEntry } from '../types/layout';
3
- export declare function extractValuesFromResolutionAwareProp<T = unknown>(prop: unknown): ResolutionAwarePropBase<T>;
4
- export declare const isResolutionAwareProperty: (prop: unknown) => prop is any;
5
- export declare const getResolutionPrefix: () => AppSize;
6
- export declare const extractValueFromResolutionAwareProp: (prop: any, size: AppSize) => any;
7
- export declare const calculateDimensionsFromAspectRatio: (aspectRatio: string) => {
8
- height: string;
9
- width: string;
10
- };
11
- export declare function generateStylesForResolutionAwareProps<T>(entries: ExtractStyleFromResolutionAwarePropEntry[]): import("styled-components").FlattenSimpleInterpolation;
12
- export declare const isLargeScreen: () => boolean;
13
- export declare const isSmallScreen: () => boolean;
14
- export declare const extractValueFromResolutionAwarePropertyForCurrentScreenSize: (property: ResolutionAwareProp<any>) => any;
15
- export declare const getAspectRatioByCategory: (category: string) => string;
16
- export declare const isCssPropertyValueDefined: (property?: unknown) => unknown;
17
- export declare const getAspectRatio: (width: number, height: number) => string;
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { Box, Button, Cell, Flex, Grid, Icon, Radio, Stack, Typography, } from './components';
2
- export { ThemeProvider, darkTheme, lightTheme, combinationsByColor, getThemeColor, getThemeSpacing, palette, media, } from './styles';
@@ -1 +0,0 @@
1
- export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
@@ -1,3 +0,0 @@
1
- export * from './theme';
2
- export { ThemeProvider } from './theme-provider';
3
- export { media } from './media';
@@ -1,10 +0,0 @@
1
- export declare const mediaBreakpoints: {
2
- lg: string;
3
- md: string;
4
- sm: string;
5
- };
6
- export declare const media: import("styled-media-query").MediaGenerator<{
7
- lg: string;
8
- md: string;
9
- sm: string;
10
- }, any>;
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { DefaultTheme } from 'styled-components';
3
- export declare const ThemeProvider: FC<{
4
- theme?: DefaultTheme;
5
- }>;
@@ -1,180 +0,0 @@
1
- import { DefaultTheme } from 'styled-components';
2
- import { Property } from 'csstype';
3
- import { ResolutionAwareProp } from '../types/resolution-aware-prop.type';
4
- export declare type PaletteColor = 'blue_100' | 'blue_200' | 'blue_300' | 'blue_400' | 'blue_500' | 'gold_100' | 'gold_200' | 'gold_300' | 'gold_400' | 'gold_500' | 'green_100' | 'green_200' | 'green_300' | 'green_400' | 'green_500' | 'monochrome_050' | 'monochrome_100' | 'monochrome_200' | 'monochrome_300' | 'monochrome_400' | 'monochrome_500' | 'monochrome_600' | 'monochrome_700' | 'monochrome_800' | 'monochrome_900' | 'monochrome_black' | 'monochrome_white' | 'pink_300' | 'pink_400' | 'pink_500' | 'red_100' | 'red_200' | 'red_300' | 'red_400' | 'red_500' | 'translucent_black' | 'translucent_cream' | 'translucent_white' | 'yellow_100' | 'yellow_200' | 'yellow_300' | 'yellow_400' | 'yellow_500' | string;
5
- export declare const palette: Record<PaletteColor, string>;
6
- declare module 'styled-components' {
7
- interface FontInfo {
8
- family: string;
9
- familyMedium?: string;
10
- familySmaller?: string;
11
- fontWeight?: Property.FontWeight;
12
- lineHeight: string;
13
- lineHeightMedium?: string;
14
- lineHeightSmaller: string;
15
- size: string;
16
- sizeMedium?: string;
17
- sizeSmaller: string;
18
- }
19
- interface DefaultTheme {
20
- border: string;
21
- borderRadius: string;
22
- colors: {
23
- dividers: {
24
- t1: PaletteColor;
25
- t2: PaletteColor;
26
- t3: PaletteColor;
27
- };
28
- iconography: {
29
- alert: PaletteColor;
30
- link: PaletteColor;
31
- t1: PaletteColor;
32
- t2: PaletteColor;
33
- t3: PaletteColor;
34
- warning: PaletteColor;
35
- };
36
- palette: Record<PaletteColor, string>;
37
- surface: {
38
- alert: PaletteColor;
39
- hover: PaletteColor;
40
- level1: PaletteColor;
41
- level2: PaletteColor;
42
- level3: PaletteColor;
43
- selected: PaletteColor;
44
- success: PaletteColor;
45
- successAlt: PaletteColor;
46
- warning: PaletteColor;
47
- };
48
- typography: {
49
- alert: PaletteColor;
50
- alt: PaletteColor;
51
- link: PaletteColor;
52
- success: PaletteColor;
53
- t1: PaletteColor;
54
- t2: PaletteColor;
55
- t3: PaletteColor;
56
- warning: PaletteColor;
57
- };
58
- };
59
- dimensions: {
60
- gridGutter: ResolutionAwareProp<string>;
61
- headerHeight: ResolutionAwareProp<string>;
62
- maxWidth: string;
63
- spacing: {
64
- s1: string;
65
- s2: string;
66
- s3: string;
67
- s4: string;
68
- s5: string;
69
- s6: string;
70
- };
71
- };
72
- fonts: {
73
- boldFontFamily: string;
74
- h1: FontInfo;
75
- h2: FontInfo;
76
- h3: FontInfo;
77
- h4: FontInfo;
78
- h5: FontInfo;
79
- hero: FontInfo;
80
- p0: FontInfo;
81
- p1: FontInfo;
82
- p2: FontInfo;
83
- p3: FontInfo;
84
- regularFontFamily: string;
85
- };
86
- name: string;
87
- shadow: string;
88
- transitions: {
89
- base: string;
90
- slow: string;
91
- slowest: string;
92
- turtle: string;
93
- };
94
- }
95
- }
96
- declare const lightTheme: DefaultTheme;
97
- declare const darkTheme: DefaultTheme;
98
- export declare const getThemeColor: (color: PaletteColor, currentTheme?: DefaultTheme) => string;
99
- export declare const getThemeSpacing: (property: string, currentTheme?: DefaultTheme) => any;
100
- declare const combinationsByColor: (appTheme?: DefaultTheme) => {
101
- alert: {
102
- background: string;
103
- color: string;
104
- hover: string;
105
- selected: string;
106
- };
107
- black: {
108
- background: string;
109
- color: string;
110
- hover: string;
111
- selected: string;
112
- };
113
- blue: {
114
- background: string;
115
- color: string;
116
- hover: string;
117
- selected: string;
118
- };
119
- gold: {
120
- background: string;
121
- color: string;
122
- hover: string;
123
- selected: string;
124
- };
125
- green: {
126
- background: string;
127
- color: string;
128
- hover: string;
129
- selected: string;
130
- };
131
- grey: {
132
- background: string;
133
- color: string;
134
- hover: string;
135
- selected: string;
136
- };
137
- greyLight: {
138
- background: string;
139
- color: string;
140
- hover: string;
141
- selected: string;
142
- };
143
- pink: {
144
- background: string;
145
- color: string;
146
- hover: string;
147
- selected: string;
148
- };
149
- primary: {
150
- background: string;
151
- color: string;
152
- hover: string;
153
- selected: string;
154
- };
155
- secondary: {
156
- background: string;
157
- color: string;
158
- hover: string;
159
- selected: string;
160
- };
161
- secondaryAlt: {
162
- background: string;
163
- color: string;
164
- hover: string;
165
- selected: string;
166
- };
167
- white: {
168
- background: string;
169
- color: string;
170
- hover: string;
171
- selected: string;
172
- };
173
- yellow: {
174
- background: string;
175
- color: string;
176
- hover: string;
177
- selected: string;
178
- };
179
- };
180
- export { lightTheme, darkTheme, combinationsByColor };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { Meta } from '@storybook/react/types-6-0';
3
- declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
4
- export default _default;
5
- export declare const ColorsPalette: () => JSX.Element;
6
- export declare const ThemeColors: () => JSX.Element;