@sparrowengg/twigs-mobile 0.0.3 → 0.1.0

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 (455) hide show
  1. package/README.md +206 -0
  2. package/lib/commonjs/alert/alert.js +1 -0
  3. package/lib/commonjs/alert/constants.js +1 -0
  4. package/lib/commonjs/alert/helpers.js +1 -0
  5. package/lib/commonjs/alert/icons.js +1 -0
  6. package/lib/commonjs/alert/index.js +1 -0
  7. package/lib/commonjs/alert/styles.js +1 -0
  8. package/lib/commonjs/alert/types.js +1 -0
  9. package/lib/commonjs/avatar/avatar-group.constants.js +1 -0
  10. package/lib/commonjs/avatar/avatar-group.helpers.js +1 -0
  11. package/lib/commonjs/avatar/avatar-group.js +1 -0
  12. package/lib/commonjs/avatar/avatar-group.styles.js +1 -0
  13. package/lib/commonjs/avatar/avatar-group.types.js +1 -0
  14. package/lib/commonjs/avatar/avatar.js +1 -0
  15. package/lib/commonjs/avatar/constants.js +1 -0
  16. package/lib/commonjs/avatar/helpers.js +1 -0
  17. package/lib/commonjs/avatar/index.js +1 -0
  18. package/lib/commonjs/avatar/styles.js +1 -0
  19. package/lib/commonjs/avatar/types.js +1 -0
  20. package/lib/commonjs/badge/badge.js +1 -0
  21. package/lib/commonjs/badge/constants.js +1 -0
  22. package/lib/commonjs/badge/helpers.js +1 -0
  23. package/lib/commonjs/badge/index.js +1 -0
  24. package/lib/commonjs/badge/styles.js +1 -0
  25. package/lib/commonjs/badge/types.js +1 -0
  26. package/lib/commonjs/bottom-sheet/bottom-sheet-header.js +1 -0
  27. package/lib/commonjs/bottom-sheet/bottom-sheet-modal.js +1 -0
  28. package/lib/commonjs/bottom-sheet/bottom-sheet.js +1 -0
  29. package/lib/commonjs/bottom-sheet/constants.js +1 -0
  30. package/lib/commonjs/bottom-sheet/index.js +1 -0
  31. package/lib/commonjs/bottom-sheet/styles.js +1 -0
  32. package/lib/commonjs/bottom-sheet/types.js +1 -0
  33. package/lib/commonjs/box/box.js +1 -0
  34. package/lib/commonjs/box/index.js +1 -0
  35. package/lib/commonjs/box/types.js +1 -0
  36. package/lib/commonjs/button/button.js +1 -0
  37. package/lib/commonjs/button/constants.js +1 -0
  38. package/lib/commonjs/button/helpers.js +1 -0
  39. package/lib/commonjs/button/index.js +1 -0
  40. package/lib/commonjs/button/styles.js +1 -0
  41. package/lib/commonjs/button/types.js +1 -0
  42. package/lib/commonjs/checkbox/checkbox.js +1 -0
  43. package/lib/commonjs/checkbox/constants.js +1 -0
  44. package/lib/commonjs/checkbox/icons.js +1 -0
  45. package/lib/commonjs/checkbox/index.js +1 -0
  46. package/lib/commonjs/checkbox/styles.js +1 -0
  47. package/lib/commonjs/checkbox/types.js +1 -0
  48. package/lib/commonjs/chip/chip.js +1 -0
  49. package/lib/commonjs/chip/constants.js +1 -0
  50. package/lib/commonjs/chip/helpers.js +1 -0
  51. package/lib/commonjs/chip/index.js +1 -0
  52. package/lib/commonjs/chip/styles.js +1 -0
  53. package/lib/commonjs/chip/types.js +1 -0
  54. package/lib/commonjs/context/index.js +1 -0
  55. package/lib/commonjs/context/theme-context.js +1 -0
  56. package/lib/commonjs/flex/flex.js +1 -0
  57. package/lib/commonjs/flex/index.js +1 -0
  58. package/lib/commonjs/flex/types.js +1 -0
  59. package/lib/commonjs/icon-button/constants.js +1 -0
  60. package/lib/commonjs/icon-button/helpers.js +1 -0
  61. package/lib/commonjs/icon-button/icon-button.js +1 -0
  62. package/lib/commonjs/icon-button/index.js +1 -0
  63. package/lib/commonjs/icon-button/types.js +1 -0
  64. package/lib/commonjs/index.js +1 -0
  65. package/lib/commonjs/link-button/constants.js +1 -0
  66. package/lib/commonjs/link-button/helpers.js +1 -0
  67. package/lib/commonjs/link-button/index.js +1 -0
  68. package/lib/commonjs/link-button/link-button.js +1 -0
  69. package/lib/commonjs/link-button/types.js +1 -0
  70. package/lib/commonjs/loader/circle-loader.js +1 -0
  71. package/lib/commonjs/loader/constants.js +1 -0
  72. package/lib/commonjs/loader/helpers.js +1 -0
  73. package/lib/commonjs/loader/index.js +1 -0
  74. package/lib/commonjs/loader/line-loader.js +1 -0
  75. package/lib/commonjs/loader/types.js +1 -0
  76. package/lib/commonjs/modal/constants.js +1 -0
  77. package/lib/commonjs/modal/helpers.js +1 -0
  78. package/lib/commonjs/modal/index.js +1 -0
  79. package/lib/commonjs/modal/modal-body.js +1 -0
  80. package/lib/commonjs/modal/modal-content.js +1 -0
  81. package/lib/commonjs/modal/modal-description.js +1 -0
  82. package/lib/commonjs/modal/modal-footer.js +1 -0
  83. package/lib/commonjs/modal/modal-header.js +1 -0
  84. package/lib/commonjs/modal/modal-title.js +1 -0
  85. package/lib/commonjs/modal/modal.js +1 -0
  86. package/lib/commonjs/modal/styles.js +1 -0
  87. package/lib/commonjs/modal/types.js +1 -0
  88. package/lib/commonjs/radio/constants.js +1 -0
  89. package/lib/commonjs/radio/index.js +1 -0
  90. package/lib/commonjs/radio/radio.js +1 -0
  91. package/lib/commonjs/radio/styles.js +1 -0
  92. package/lib/commonjs/radio/types.js +1 -0
  93. package/lib/commonjs/segmented-button/constants.js +1 -0
  94. package/lib/commonjs/segmented-button/helpers.js +1 -0
  95. package/lib/commonjs/segmented-button/index.js +1 -0
  96. package/lib/commonjs/segmented-button/segmented-button.js +1 -0
  97. package/lib/commonjs/segmented-button/styles.js +1 -0
  98. package/lib/commonjs/segmented-button/types.js +1 -0
  99. package/lib/commonjs/separator/index.js +1 -0
  100. package/lib/commonjs/separator/separator.js +1 -0
  101. package/lib/commonjs/separator/types.js +1 -0
  102. package/lib/commonjs/switch/constants.js +1 -0
  103. package/lib/commonjs/switch/index.js +1 -0
  104. package/lib/commonjs/switch/styles.js +1 -0
  105. package/lib/commonjs/switch/switch.js +1 -0
  106. package/lib/commonjs/switch/types.js +1 -0
  107. package/lib/commonjs/text/index.js +1 -0
  108. package/lib/commonjs/text/text.js +1 -0
  109. package/lib/commonjs/text/types.js +1 -0
  110. package/lib/commonjs/text-input/constants.js +1 -0
  111. package/lib/commonjs/text-input/index.js +1 -0
  112. package/lib/commonjs/text-input/styles.js +1 -0
  113. package/lib/commonjs/text-input/text-input.js +1 -0
  114. package/lib/commonjs/text-input/types.js +1 -0
  115. package/lib/commonjs/theme/default-theme.js +1 -0
  116. package/lib/commonjs/theme/index.js +1 -0
  117. package/lib/commonjs/toast/constants.js +1 -0
  118. package/lib/commonjs/toast/helpers.js +1 -0
  119. package/lib/commonjs/toast/icons.js +1 -0
  120. package/lib/commonjs/toast/index.js +1 -0
  121. package/lib/commonjs/toast/styles.js +1 -0
  122. package/lib/commonjs/toast/toast-container.js +1 -0
  123. package/lib/commonjs/toast/toast-content.js +1 -0
  124. package/lib/commonjs/toast/toast-item.js +1 -0
  125. package/lib/commonjs/toast/toast-provider.js +1 -0
  126. package/lib/commonjs/toast/toast.js +1 -0
  127. package/lib/commonjs/toast/types.js +1 -0
  128. package/lib/commonjs/toast/use-toast.js +1 -0
  129. package/lib/commonjs/tooltip/constants.js +1 -0
  130. package/lib/commonjs/tooltip/helpers.js +1 -0
  131. package/lib/commonjs/tooltip/index.js +1 -0
  132. package/lib/commonjs/tooltip/styles.js +1 -0
  133. package/lib/commonjs/tooltip/tooltip.js +1 -0
  134. package/lib/commonjs/tooltip/types.js +1 -0
  135. package/lib/commonjs/utils/index.js +1 -0
  136. package/lib/module/alert/alert.js +1 -0
  137. package/lib/module/alert/constants.js +1 -0
  138. package/lib/module/alert/helpers.js +1 -0
  139. package/lib/module/alert/icons.js +1 -0
  140. package/lib/module/alert/index.js +1 -0
  141. package/lib/module/alert/styles.js +1 -0
  142. package/lib/module/alert/types.js +1 -0
  143. package/lib/module/avatar/avatar-group.constants.js +1 -0
  144. package/lib/module/avatar/avatar-group.helpers.js +1 -0
  145. package/lib/module/avatar/avatar-group.js +1 -0
  146. package/lib/module/avatar/avatar-group.styles.js +1 -0
  147. package/lib/module/avatar/avatar-group.types.js +1 -0
  148. package/lib/module/avatar/avatar.js +1 -0
  149. package/lib/module/avatar/constants.js +1 -0
  150. package/lib/module/avatar/helpers.js +1 -0
  151. package/lib/module/avatar/index.js +1 -0
  152. package/lib/module/avatar/styles.js +1 -0
  153. package/lib/module/avatar/types.js +1 -0
  154. package/lib/module/badge/badge.js +1 -0
  155. package/lib/module/badge/constants.js +1 -0
  156. package/lib/module/badge/helpers.js +1 -0
  157. package/lib/module/badge/index.js +1 -0
  158. package/lib/module/badge/styles.js +1 -0
  159. package/lib/module/badge/types.js +1 -0
  160. package/lib/module/bottom-sheet/bottom-sheet-header.js +1 -0
  161. package/lib/module/bottom-sheet/bottom-sheet-modal.js +1 -0
  162. package/lib/module/bottom-sheet/bottom-sheet.js +1 -0
  163. package/lib/module/bottom-sheet/constants.js +1 -0
  164. package/lib/module/bottom-sheet/index.js +1 -0
  165. package/lib/module/bottom-sheet/styles.js +1 -0
  166. package/lib/module/bottom-sheet/types.js +1 -0
  167. package/lib/module/box/box.js +1 -0
  168. package/lib/module/box/index.js +1 -0
  169. package/lib/module/box/types.js +1 -0
  170. package/lib/module/button/button.js +1 -0
  171. package/lib/module/button/constants.js +1 -0
  172. package/lib/module/button/helpers.js +1 -0
  173. package/lib/module/button/index.js +1 -0
  174. package/lib/module/button/styles.js +1 -0
  175. package/lib/module/button/types.js +1 -0
  176. package/lib/module/checkbox/checkbox.js +1 -0
  177. package/lib/module/checkbox/constants.js +1 -0
  178. package/lib/module/checkbox/icons.js +1 -0
  179. package/lib/module/checkbox/index.js +1 -0
  180. package/lib/module/checkbox/styles.js +1 -0
  181. package/lib/module/checkbox/types.js +1 -0
  182. package/lib/module/chip/chip.js +1 -0
  183. package/lib/module/chip/constants.js +1 -0
  184. package/lib/module/chip/helpers.js +1 -0
  185. package/lib/module/chip/index.js +1 -0
  186. package/lib/module/chip/styles.js +1 -0
  187. package/lib/module/chip/types.js +1 -0
  188. package/lib/module/context/index.js +1 -0
  189. package/lib/module/context/theme-context.js +1 -0
  190. package/lib/module/flex/flex.js +1 -0
  191. package/lib/module/flex/index.js +1 -0
  192. package/lib/module/flex/types.js +1 -0
  193. package/lib/module/icon-button/constants.js +1 -0
  194. package/lib/module/icon-button/helpers.js +1 -0
  195. package/lib/module/icon-button/icon-button.js +1 -0
  196. package/lib/module/icon-button/index.js +1 -0
  197. package/lib/module/icon-button/types.js +1 -0
  198. package/lib/module/index.js +1 -0
  199. package/lib/module/link-button/constants.js +1 -0
  200. package/lib/module/link-button/helpers.js +1 -0
  201. package/lib/module/link-button/index.js +1 -0
  202. package/lib/module/link-button/link-button.js +1 -0
  203. package/lib/module/link-button/types.js +1 -0
  204. package/lib/module/loader/circle-loader.js +1 -0
  205. package/lib/module/loader/constants.js +1 -0
  206. package/lib/module/loader/helpers.js +1 -0
  207. package/lib/module/loader/index.js +1 -0
  208. package/lib/module/loader/line-loader.js +1 -0
  209. package/lib/module/loader/types.js +1 -0
  210. package/lib/module/modal/constants.js +1 -0
  211. package/lib/module/modal/helpers.js +1 -0
  212. package/lib/module/modal/index.js +1 -0
  213. package/lib/module/modal/modal-body.js +1 -0
  214. package/lib/module/modal/modal-content.js +1 -0
  215. package/lib/module/modal/modal-description.js +1 -0
  216. package/lib/module/modal/modal-footer.js +1 -0
  217. package/lib/module/modal/modal-header.js +1 -0
  218. package/lib/module/modal/modal-title.js +1 -0
  219. package/lib/module/modal/modal.js +1 -0
  220. package/lib/module/modal/styles.js +1 -0
  221. package/lib/module/modal/types.js +1 -0
  222. package/lib/module/radio/constants.js +1 -0
  223. package/lib/module/radio/index.js +1 -0
  224. package/lib/module/radio/radio.js +1 -0
  225. package/lib/module/radio/styles.js +1 -0
  226. package/lib/module/radio/types.js +1 -0
  227. package/lib/module/segmented-button/constants.js +1 -0
  228. package/lib/module/segmented-button/helpers.js +1 -0
  229. package/lib/module/segmented-button/index.js +1 -0
  230. package/lib/module/segmented-button/segmented-button.js +1 -0
  231. package/lib/module/segmented-button/styles.js +1 -0
  232. package/lib/module/segmented-button/types.js +1 -0
  233. package/lib/module/separator/index.js +1 -0
  234. package/lib/module/separator/separator.js +1 -0
  235. package/lib/module/separator/types.js +1 -0
  236. package/lib/module/switch/constants.js +1 -0
  237. package/lib/module/switch/index.js +1 -0
  238. package/lib/module/switch/styles.js +1 -0
  239. package/lib/module/switch/switch.js +1 -0
  240. package/lib/module/switch/types.js +1 -0
  241. package/lib/module/text/index.js +1 -0
  242. package/lib/module/text/text.js +1 -0
  243. package/lib/module/text/types.js +1 -0
  244. package/lib/module/text-input/constants.js +1 -0
  245. package/lib/module/text-input/index.js +1 -0
  246. package/lib/module/text-input/styles.js +1 -0
  247. package/lib/module/text-input/text-input.js +1 -0
  248. package/lib/module/text-input/types.js +1 -0
  249. package/lib/module/theme/default-theme.js +1 -0
  250. package/lib/module/theme/index.js +1 -0
  251. package/lib/module/toast/constants.js +1 -0
  252. package/lib/module/toast/helpers.js +1 -0
  253. package/lib/module/toast/icons.js +1 -0
  254. package/lib/module/toast/index.js +1 -0
  255. package/lib/module/toast/styles.js +1 -0
  256. package/lib/module/toast/toast-container.js +1 -0
  257. package/lib/module/toast/toast-content.js +1 -0
  258. package/lib/module/toast/toast-item.js +1 -0
  259. package/lib/module/toast/toast-provider.js +1 -0
  260. package/lib/module/toast/toast.js +1 -0
  261. package/lib/module/toast/types.js +1 -0
  262. package/lib/module/toast/use-toast.js +1 -0
  263. package/lib/module/tooltip/constants.js +1 -0
  264. package/lib/module/tooltip/helpers.js +1 -0
  265. package/lib/module/tooltip/index.js +1 -0
  266. package/lib/module/tooltip/styles.js +1 -0
  267. package/lib/module/tooltip/tooltip.js +1 -0
  268. package/lib/module/tooltip/types.js +1 -0
  269. package/lib/module/utils/index.js +1 -0
  270. package/lib/typescript/alert/alert.d.ts +6 -0
  271. package/lib/typescript/alert/constants.d.ts +18 -0
  272. package/lib/typescript/alert/helpers.d.ts +7 -0
  273. package/lib/typescript/alert/icons.d.ts +25 -0
  274. package/lib/typescript/alert/index.d.ts +3 -0
  275. package/lib/typescript/alert/styles.d.ts +25 -0
  276. package/lib/typescript/alert/types.d.ts +20 -0
  277. package/lib/typescript/avatar/avatar-group.constants.d.ts +18 -0
  278. package/lib/typescript/avatar/avatar-group.d.ts +6 -0
  279. package/lib/typescript/avatar/avatar-group.helpers.d.ts +12 -0
  280. package/lib/typescript/avatar/avatar-group.styles.d.ts +20 -0
  281. package/lib/typescript/avatar/avatar-group.types.d.ts +18 -0
  282. package/lib/typescript/avatar/avatar.d.ts +6 -0
  283. package/lib/typescript/avatar/constants.d.ts +10 -0
  284. package/lib/typescript/avatar/helpers.d.ts +6 -0
  285. package/lib/typescript/avatar/index.d.ts +5 -0
  286. package/lib/typescript/avatar/styles.d.ts +9 -0
  287. package/lib/typescript/avatar/types.d.ts +27 -0
  288. package/lib/typescript/badge/badge.d.ts +6 -0
  289. package/lib/typescript/badge/constants.d.ts +21 -0
  290. package/lib/typescript/badge/helpers.d.ts +9 -0
  291. package/lib/typescript/badge/index.d.ts +3 -0
  292. package/lib/typescript/badge/styles.d.ts +19 -0
  293. package/lib/typescript/badge/types.d.ts +24 -0
  294. package/lib/typescript/bottom-sheet/bottom-sheet-header.d.ts +4 -0
  295. package/lib/typescript/bottom-sheet/bottom-sheet-modal.d.ts +6 -0
  296. package/lib/typescript/bottom-sheet/bottom-sheet.d.ts +5 -0
  297. package/lib/typescript/bottom-sheet/constants.d.ts +10 -0
  298. package/lib/typescript/bottom-sheet/index.d.ts +7 -0
  299. package/lib/typescript/bottom-sheet/styles.d.ts +11 -0
  300. package/lib/typescript/bottom-sheet/types.d.ts +35 -0
  301. package/lib/typescript/box/box.d.ts +6 -0
  302. package/lib/typescript/box/index.d.ts +3 -0
  303. package/lib/typescript/box/types.d.ts +8 -0
  304. package/lib/typescript/button/button.d.ts +9 -0
  305. package/lib/typescript/button/constants.d.ts +30 -0
  306. package/lib/typescript/button/helpers.d.ts +39 -0
  307. package/lib/typescript/button/index.d.ts +3 -0
  308. package/lib/typescript/button/styles.d.ts +12 -0
  309. package/lib/typescript/button/types.d.ts +38 -0
  310. package/lib/typescript/checkbox/checkbox.d.ts +6 -0
  311. package/lib/typescript/checkbox/constants.d.ts +10 -0
  312. package/lib/typescript/checkbox/icons.d.ts +9 -0
  313. package/lib/typescript/checkbox/index.d.ts +3 -0
  314. package/lib/typescript/checkbox/styles.d.ts +25 -0
  315. package/lib/typescript/checkbox/types.d.ts +25 -0
  316. package/lib/typescript/chip/chip.d.ts +6 -0
  317. package/lib/typescript/chip/constants.d.ts +31 -0
  318. package/lib/typescript/chip/helpers.d.ts +11 -0
  319. package/lib/typescript/chip/index.d.ts +3 -0
  320. package/lib/typescript/chip/styles.d.ts +22 -0
  321. package/lib/typescript/chip/types.d.ts +31 -0
  322. package/lib/typescript/context/index.d.ts +2 -0
  323. package/lib/typescript/context/theme-context.d.ts +17 -0
  324. package/lib/typescript/flex/flex.d.ts +6 -0
  325. package/lib/typescript/flex/index.d.ts +3 -0
  326. package/lib/typescript/flex/types.d.ts +22 -0
  327. package/lib/typescript/icon-button/constants.d.ts +20 -0
  328. package/lib/typescript/icon-button/helpers.d.ts +13 -0
  329. package/lib/typescript/icon-button/icon-button.d.ts +6 -0
  330. package/lib/typescript/icon-button/index.d.ts +3 -0
  331. package/lib/typescript/icon-button/types.d.ts +31 -0
  332. package/lib/typescript/index.d.ts +49 -0
  333. package/lib/typescript/link-button/constants.d.ts +22 -0
  334. package/lib/typescript/link-button/helpers.d.ts +12 -0
  335. package/lib/typescript/link-button/index.d.ts +3 -0
  336. package/lib/typescript/link-button/link-button.d.ts +9 -0
  337. package/lib/typescript/link-button/types.d.ts +25 -0
  338. package/lib/typescript/loader/circle-loader.d.ts +6 -0
  339. package/lib/typescript/loader/constants.d.ts +8 -0
  340. package/lib/typescript/loader/helpers.d.ts +9 -0
  341. package/lib/typescript/loader/index.d.ts +4 -0
  342. package/lib/typescript/loader/line-loader.d.ts +6 -0
  343. package/lib/typescript/loader/types.d.ts +19 -0
  344. package/lib/typescript/modal/constants.d.ts +26 -0
  345. package/lib/typescript/modal/helpers.d.ts +8 -0
  346. package/lib/typescript/modal/index.d.ts +9 -0
  347. package/lib/typescript/modal/modal-body.d.ts +9 -0
  348. package/lib/typescript/modal/modal-content.d.ts +9 -0
  349. package/lib/typescript/modal/modal-description.d.ts +7 -0
  350. package/lib/typescript/modal/modal-footer.d.ts +9 -0
  351. package/lib/typescript/modal/modal-header.d.ts +9 -0
  352. package/lib/typescript/modal/modal-title.d.ts +7 -0
  353. package/lib/typescript/modal/modal.d.ts +12 -0
  354. package/lib/typescript/modal/styles.d.ts +38 -0
  355. package/lib/typescript/modal/types.d.ts +89 -0
  356. package/lib/typescript/radio/constants.d.ts +9 -0
  357. package/lib/typescript/radio/index.d.ts +3 -0
  358. package/lib/typescript/radio/radio.d.ts +6 -0
  359. package/lib/typescript/radio/styles.d.ts +24 -0
  360. package/lib/typescript/radio/types.d.ts +23 -0
  361. package/lib/typescript/segmented-button/constants.d.ts +21 -0
  362. package/lib/typescript/segmented-button/helpers.d.ts +8 -0
  363. package/lib/typescript/segmented-button/index.d.ts +3 -0
  364. package/lib/typescript/segmented-button/segmented-button.d.ts +6 -0
  365. package/lib/typescript/segmented-button/styles.d.ts +24 -0
  366. package/lib/typescript/segmented-button/types.d.ts +30 -0
  367. package/lib/typescript/separator/index.d.ts +3 -0
  368. package/lib/typescript/separator/separator.d.ts +6 -0
  369. package/lib/typescript/separator/types.d.ts +25 -0
  370. package/lib/typescript/switch/constants.d.ts +17 -0
  371. package/lib/typescript/switch/index.d.ts +3 -0
  372. package/lib/typescript/switch/styles.d.ts +12 -0
  373. package/lib/typescript/switch/switch.d.ts +6 -0
  374. package/lib/typescript/switch/types.d.ts +23 -0
  375. package/lib/typescript/text/index.d.ts +3 -0
  376. package/lib/typescript/text/text.d.ts +6 -0
  377. package/lib/typescript/text/types.d.ts +39 -0
  378. package/lib/typescript/text-input/constants.d.ts +13 -0
  379. package/lib/typescript/text-input/index.d.ts +3 -0
  380. package/lib/typescript/text-input/styles.d.ts +57 -0
  381. package/lib/typescript/text-input/text-input.d.ts +6 -0
  382. package/lib/typescript/text-input/types.d.ts +57 -0
  383. package/lib/typescript/theme/default-theme.d.ts +209 -0
  384. package/lib/typescript/theme/index.d.ts +4 -0
  385. package/lib/typescript/toast/constants.d.ts +42 -0
  386. package/lib/typescript/toast/helpers.d.ts +16 -0
  387. package/lib/typescript/toast/icons.d.ts +10 -0
  388. package/lib/typescript/toast/index.d.ts +5 -0
  389. package/lib/typescript/toast/styles.d.ts +47 -0
  390. package/lib/typescript/toast/toast-container.d.ts +4 -0
  391. package/lib/typescript/toast/toast-content.d.ts +8 -0
  392. package/lib/typescript/toast/toast-item.d.ts +4 -0
  393. package/lib/typescript/toast/toast-provider.d.ts +13 -0
  394. package/lib/typescript/toast/toast.d.ts +2 -0
  395. package/lib/typescript/toast/types.d.ts +123 -0
  396. package/lib/typescript/toast/use-toast.d.ts +56 -0
  397. package/lib/typescript/tooltip/constants.d.ts +20 -0
  398. package/lib/typescript/tooltip/helpers.d.ts +31 -0
  399. package/lib/typescript/tooltip/index.d.ts +3 -0
  400. package/lib/typescript/tooltip/styles.d.ts +24 -0
  401. package/lib/typescript/tooltip/tooltip.d.ts +6 -0
  402. package/lib/typescript/tooltip/types.d.ts +39 -0
  403. package/lib/typescript/utils/index.d.ts +91 -0
  404. package/package.json +134 -27
  405. package/dist/commonjs/Box/box.js +0 -83
  406. package/dist/commonjs/Box/box.js.map +0 -1
  407. package/dist/commonjs/Box/index.js +0 -17
  408. package/dist/commonjs/Box/index.js.map +0 -1
  409. package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js +0 -20
  410. package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js.map +0 -1
  411. package/dist/commonjs/ThemeProvider/index.js +0 -17
  412. package/dist/commonjs/ThemeProvider/index.js.map +0 -1
  413. package/dist/commonjs/config/theme.js +0 -201
  414. package/dist/commonjs/config/theme.js.map +0 -1
  415. package/dist/commonjs/index.js +0 -28
  416. package/dist/commonjs/index.js.map +0 -1
  417. package/dist/commonjs/utils/index.js +0 -2
  418. package/dist/commonjs/utils/index.js.map +0 -1
  419. package/dist/module/Box/box.js +0 -77
  420. package/dist/module/Box/box.js.map +0 -1
  421. package/dist/module/Box/index.js +0 -4
  422. package/dist/module/Box/index.js.map +0 -1
  423. package/dist/module/ThemeProvider/TwigsThemeProvider.js +0 -14
  424. package/dist/module/ThemeProvider/TwigsThemeProvider.js.map +0 -1
  425. package/dist/module/ThemeProvider/index.js +0 -4
  426. package/dist/module/ThemeProvider/index.js.map +0 -1
  427. package/dist/module/config/theme.js +0 -197
  428. package/dist/module/config/theme.js.map +0 -1
  429. package/dist/module/index.js +0 -5
  430. package/dist/module/index.js.map +0 -1
  431. package/dist/module/utils/index.js +0 -2
  432. package/dist/module/utils/index.js.map +0 -1
  433. package/dist/types/Box/box.d.ts +0 -23
  434. package/dist/types/Box/box.d.ts.map +0 -1
  435. package/dist/types/Box/index.d.ts +0 -2
  436. package/dist/types/Box/index.d.ts.map +0 -1
  437. package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts +0 -8
  438. package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts.map +0 -1
  439. package/dist/types/ThemeProvider/index.d.ts +0 -2
  440. package/dist/types/ThemeProvider/index.d.ts.map +0 -1
  441. package/dist/types/config/theme.d.ts +0 -195
  442. package/dist/types/config/theme.d.ts.map +0 -1
  443. package/dist/types/index.d.ts +0 -3
  444. package/dist/types/index.d.ts.map +0 -1
  445. package/dist/types/utils/index.d.ts +0 -1
  446. package/dist/types/utils/index.d.ts.map +0 -1
  447. package/src/Box/box.tsx +0 -82
  448. package/src/Box/index.tsx +0 -1
  449. package/src/ThemeProvider/TwigsThemeProvider.tsx +0 -13
  450. package/src/ThemeProvider/index.ts +0 -1
  451. package/src/config/theme.ts +0 -195
  452. package/src/index.ts +0 -2
  453. package/src/utils/index.ts +0 -0
  454. /package/{dist → lib}/commonjs/package.json +0 -0
  455. /package/{dist → lib}/module/package.json +0 -0
@@ -1,3 +0,0 @@
1
- export * from "./Box";
2
- export * from "./ThemeProvider";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":""}
package/src/Box/box.tsx DELETED
@@ -1,82 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { ViewStyle, ViewProps } from "react-native";
3
- import styled from "styled-components/native";
4
-
5
- const DEFAULT_SPACING = 0;
6
-
7
- const resolveMargin = ({
8
- margin,
9
- marginHorizontal,
10
- marginVertical,
11
- marginTop,
12
- marginBottom,
13
- marginLeft,
14
- marginRight,
15
- }: Partial<BoxProps>) => ({
16
- top: marginTop ?? marginVertical ?? margin ?? DEFAULT_SPACING,
17
- bottom: marginBottom ?? marginVertical ?? margin ?? DEFAULT_SPACING,
18
- left: marginLeft ?? marginHorizontal ?? margin ?? DEFAULT_SPACING,
19
- right: marginRight ?? marginHorizontal ?? margin ?? DEFAULT_SPACING,
20
- });
21
-
22
- const resolvePadding = ({
23
- padding,
24
- paddingHorizontal,
25
- paddingVertical,
26
- paddingTop,
27
- paddingBottom,
28
- paddingLeft,
29
- paddingRight,
30
- }: Partial<BoxProps>) => ({
31
- top: paddingTop ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
32
- bottom: paddingBottom ?? paddingVertical ?? padding ?? DEFAULT_SPACING,
33
- left: paddingLeft ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING,
34
- right: paddingRight ?? paddingHorizontal ?? padding ?? DEFAULT_SPACING,
35
- });
36
-
37
- type BoxProps = ViewProps & {
38
- style?: ViewStyle;
39
- children?: ReactNode;
40
- padding?: number;
41
- margin?: number;
42
- paddingLeft?: number;
43
- paddingRight?: number;
44
- paddingTop?: number;
45
- paddingBottom?: number;
46
- paddingHorizontal?: number;
47
- paddingVertical?: number;
48
- marginLeft?: number;
49
- marginRight?: number;
50
- marginTop?: number;
51
- marginBottom?: number;
52
- marginHorizontal?: number;
53
- marginVertical?: number;
54
- };
55
-
56
- const StyledBox = styled.View<BoxProps>`
57
- ${({ margin = 0, ...rest }) => {
58
- const resolvedMargin = resolveMargin({ margin, ...rest });
59
- return `
60
- margin-top: ${resolvedMargin.top}px;
61
- margin-bottom: ${resolvedMargin.bottom}px;
62
- margin-left: ${resolvedMargin.left}px;
63
- margin-right: ${resolvedMargin.right}px;
64
- `;
65
- }}
66
-
67
- ${({ padding = 0, ...rest }) => {
68
- const resolvedPadding = resolvePadding({ padding, ...rest });
69
- return `
70
- padding-top: ${resolvedPadding.top}px;
71
- padding-bottom: ${resolvedPadding.bottom}px;
72
- padding-left: ${resolvedPadding.left}px;
73
- padding-right: ${resolvedPadding.right}px;
74
- `;
75
- }}
76
- `;
77
-
78
- export const Box: React.FC<BoxProps> = ({ style, children, ...rest }) => (
79
- <StyledBox style={style} {...rest}>
80
- {children}
81
- </StyledBox>
82
- );
package/src/Box/index.tsx DELETED
@@ -1 +0,0 @@
1
- export * from "./box";
@@ -1,13 +0,0 @@
1
- import React, { ReactNode } from "react";
2
- import { ThemeProvider } from "styled-components/native";
3
- import { defaultTheme } from "../config/theme";
4
-
5
-
6
- type TwigsThemeProviderProps = {
7
- children: ReactNode;
8
- theme?: object;
9
- };
10
-
11
- export const TwigsThemeProvider: React.FC<TwigsThemeProviderProps> = ({ children, theme = defaultTheme }) => (
12
- <ThemeProvider theme={theme}>{children}</ThemeProvider>
13
- );
@@ -1 +0,0 @@
1
- export * from './TwigsThemeProvider';
@@ -1,195 +0,0 @@
1
- export const defaultTheme = {
2
- colors: {
3
- primary: "#2E666D",
4
- secondary: "#363A43",
5
- accent50: "#F3F3FF",
6
- accent100: "#EAE9FE",
7
- accent200: "#D7D6FE",
8
- accent300: "#B9B5FD",
9
- accent400: "#978CF9",
10
- accent500: "#7158F5",
11
- accent600: "#623BEC",
12
- accent700: "#5329D8",
13
- accent800: "#4622B5",
14
- accent900: "#3B1E94",
15
- primary50: "#F3F9FA",
16
- primary100: "#E6F3F4",
17
- primary200: "#CEE7EA",
18
- primary300: "#9CCFD6",
19
- primary400: "#56B0BB",
20
- primary500: "#4A9CA6",
21
- primary600: "#448E97",
22
- primary700: "#3B8088",
23
- primary800: "#36737A",
24
- primary900: "#2E666D",
25
- warning50: "#FFF6EF",
26
- warning100: "#FEEAC7",
27
- warning200: "#FDD28A",
28
- warning300: "#FCBD4F",
29
- warning400: "#FBAB24",
30
- warning500: "#F59E0B",
31
- warning600: "#DB8D06",
32
- warning700: "#B47409",
33
- warning800: "#92610E",
34
- warning900: "#78510F",
35
- highlight50: "#FFFCDA",
36
- highlight100: "#FFF7AD",
37
- highlight200: "#FFF27D",
38
- highlight300: "#FFED4B",
39
- highlight400: "#FFE81A",
40
- highlight500: "#E6CF00",
41
- highlight600: "#B3A100",
42
- highlight700: "#807300",
43
- highlight800: "#786B03",
44
- highlight900: "#6A5F00",
45
- positive50: "#F4FAF1",
46
- positive100: "#E8F4E3",
47
- positive200: "#D4E8CA",
48
- positive300: "#A8D291",
49
- positive400: "#67B034",
50
- positive500: "#5EA130",
51
- positive600: "#55932A",
52
- positive700: "#4C8425",
53
- positive800: "#437720",
54
- positive900: "#3C691C",
55
- secondary50: "#F4F6F7",
56
- secondary100: "#E2E6EB",
57
- secondary200: "#C9CFD8",
58
- secondary300: "#A3AEBD",
59
- secondary400: "#76859A",
60
- secondary500: "#64748B",
61
- secondary600: "#4E596C",
62
- secondary700: "#444B5A",
63
- secondary800: "#3D424D",
64
- secondary900: "#363A43",
65
- negative50: "#FFF6F3",
66
- negative100: "#FDEDE8",
67
- negative200: "#FFDAD0",
68
- negative300: "#FFB4A1",
69
- negative400: "#FA7659",
70
- negative500: "#F65633",
71
- negative600: "#E75030",
72
- negative700: "#D14729",
73
- negative800: "#BC4024",
74
- negative900: "#A9371E",
75
- neutral50: "#F8F8F8",
76
- neutral100: "#F1F1F1",
77
- neutral200: "#E2E2E2",
78
- neutral300: "#C6C6C6",
79
- neutral400: "#9E9E9E",
80
- neutral500: "#919191",
81
- neutral600: "#848484",
82
- neutral700: "#767676",
83
- neutral800: "#6A6A6A",
84
- neutral900: "#2B2B2B",
85
- black50: "#0000000A",
86
- black100: "#00000014",
87
- black200: "#0000001A",
88
- black300: "#00000026",
89
- black400: "#00000033",
90
- black500: "#0000004D",
91
- black600: "#00000080",
92
- black700: "#000000B2",
93
- black800: "#000000CC",
94
- black900: "#000000",
95
- white50: "#FFFFFF0D",
96
- white100: "#FFFFFF14",
97
- white200: "#FFFFFF1A",
98
- white300: "#FFFFFF26",
99
- white400: "#FFFFFF33",
100
- white500: "#FFFFFF4D",
101
- white600: "#FFFFFF80",
102
- white700: "#FFFFFFB2",
103
- white800: "#FFFFFFCC",
104
- white900: "#FFFFFF",
105
- },
106
- space: {
107
- $1: 2,
108
- $2: 4,
109
- $3: 6,
110
- $4: 8,
111
- $5: 10,
112
- $6: 12,
113
- $7: 14,
114
- $8: 16,
115
- $9: 18,
116
- $10: 20,
117
- $11: 22,
118
- $12: 24,
119
- $13: 26,
120
- $14: 28,
121
- $15: 30,
122
- $16: 32,
123
- $17: 34,
124
- $18: 36,
125
- $19: 38,
126
- $20: 40,
127
- $21: 42,
128
- $22: 44,
129
- $23: 46,
130
- $24: 48,
131
- $25: 50,
132
- $26: 52,
133
- $27: 54,
134
- $28: 56,
135
- $29: 58,
136
- $30: 60,
137
- $31: 62,
138
- $32: 64,
139
- $33: 66,
140
- $34: 68,
141
- $35: 70,
142
- $36: 72,
143
- $37: 74,
144
- $38: 76,
145
- $39: 78,
146
- $40: 80,
147
- $41: 82,
148
- $42: 84,
149
- $43: 86,
150
- $44: 88,
151
- $45: 90,
152
- $46: 92,
153
- $47: 94,
154
- $48: 96,
155
- $49: 98,
156
- $50: 100,
157
- },
158
- sizes: {
159
- $1: 4,
160
- $2: 8,
161
- $3: 12,
162
- $4: 16,
163
- $5: 20,
164
- $6: 24,
165
- $7: 28,
166
- $8: 32,
167
- $9: 36,
168
- $10: 40,
169
- $11: 44,
170
- $12: 48,
171
- $13: 52,
172
- $14: 56,
173
- $15: 60,
174
- $16: 64,
175
- $17: 68,
176
- $18: 72,
177
- $19: 76,
178
- $20: 80,
179
- $21: 84,
180
- $22: 88,
181
- $23: 92,
182
- $24: 96,
183
- $25: 100,
184
- $26: 104,
185
- $27: 108,
186
- $28: 112,
187
- $29: 116,
188
- $30: 120,
189
- $31: 124,
190
- $32: 128,
191
- $33: 132,
192
- $34: 136,
193
- },
194
- };
195
-
package/src/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./Box";
2
- export * from "./ThemeProvider";
File without changes
File without changes
File without changes