@sparrowengg/twigs-mobile 0.0.4 → 0.1.1

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 (575) hide show
  1. package/README.md +217 -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/dropdown/constants.js +1 -0
  57. package/lib/commonjs/dropdown/dropdown-context.js +1 -0
  58. package/lib/commonjs/dropdown/dropdown-menu-content.js +1 -0
  59. package/lib/commonjs/dropdown/dropdown-menu-item.js +1 -0
  60. package/lib/commonjs/dropdown/dropdown-menu-label.js +1 -0
  61. package/lib/commonjs/dropdown/dropdown-menu-separator.js +1 -0
  62. package/lib/commonjs/dropdown/dropdown-menu-trigger.js +1 -0
  63. package/lib/commonjs/dropdown/dropdown-menu.js +1 -0
  64. package/lib/commonjs/dropdown/helpers.js +1 -0
  65. package/lib/commonjs/dropdown/index.js +1 -0
  66. package/lib/commonjs/dropdown/styles.js +1 -0
  67. package/lib/commonjs/dropdown/types.js +1 -0
  68. package/lib/commonjs/flex/flex.js +1 -0
  69. package/lib/commonjs/flex/index.js +1 -0
  70. package/lib/commonjs/flex/types.js +1 -0
  71. package/lib/commonjs/icon-button/constants.js +1 -0
  72. package/lib/commonjs/icon-button/helpers.js +1 -0
  73. package/lib/commonjs/icon-button/icon-button.js +1 -0
  74. package/lib/commonjs/icon-button/index.js +1 -0
  75. package/lib/commonjs/icon-button/types.js +1 -0
  76. package/lib/commonjs/index.js +1 -0
  77. package/lib/commonjs/link-button/constants.js +1 -0
  78. package/lib/commonjs/link-button/helpers.js +1 -0
  79. package/lib/commonjs/link-button/index.js +1 -0
  80. package/lib/commonjs/link-button/link-button.js +1 -0
  81. package/lib/commonjs/link-button/types.js +1 -0
  82. package/lib/commonjs/loader/circle-loader.js +1 -0
  83. package/lib/commonjs/loader/constants.js +1 -0
  84. package/lib/commonjs/loader/helpers.js +1 -0
  85. package/lib/commonjs/loader/index.js +1 -0
  86. package/lib/commonjs/loader/line-loader.js +1 -0
  87. package/lib/commonjs/loader/types.js +1 -0
  88. package/lib/commonjs/modal/constants.js +1 -0
  89. package/lib/commonjs/modal/helpers.js +1 -0
  90. package/lib/commonjs/modal/index.js +1 -0
  91. package/lib/commonjs/modal/modal-body.js +1 -0
  92. package/lib/commonjs/modal/modal-content.js +1 -0
  93. package/lib/commonjs/modal/modal-description.js +1 -0
  94. package/lib/commonjs/modal/modal-footer.js +1 -0
  95. package/lib/commonjs/modal/modal-header.js +1 -0
  96. package/lib/commonjs/modal/modal-title.js +1 -0
  97. package/lib/commonjs/modal/modal.js +1 -0
  98. package/lib/commonjs/modal/styles.js +1 -0
  99. package/lib/commonjs/modal/types.js +1 -0
  100. package/lib/commonjs/radio/constants.js +1 -0
  101. package/lib/commonjs/radio/index.js +1 -0
  102. package/lib/commonjs/radio/radio.js +1 -0
  103. package/lib/commonjs/radio/styles.js +1 -0
  104. package/lib/commonjs/radio/types.js +1 -0
  105. package/lib/commonjs/segmented-button/constants.js +1 -0
  106. package/lib/commonjs/segmented-button/helpers.js +1 -0
  107. package/lib/commonjs/segmented-button/index.js +1 -0
  108. package/lib/commonjs/segmented-button/segmented-button.js +1 -0
  109. package/lib/commonjs/segmented-button/styles.js +1 -0
  110. package/lib/commonjs/segmented-button/types.js +1 -0
  111. package/lib/commonjs/separator/index.js +1 -0
  112. package/lib/commonjs/separator/separator.js +1 -0
  113. package/lib/commonjs/separator/types.js +1 -0
  114. package/lib/commonjs/stepper/constants.js +1 -0
  115. package/lib/commonjs/stepper/helpers.js +1 -0
  116. package/lib/commonjs/stepper/icons.js +1 -0
  117. package/lib/commonjs/stepper/index.js +1 -0
  118. package/lib/commonjs/stepper/stepper-connector.js +1 -0
  119. package/lib/commonjs/stepper/stepper-context.js +1 -0
  120. package/lib/commonjs/stepper/stepper-item.js +1 -0
  121. package/lib/commonjs/stepper/stepper-trigger.js +1 -0
  122. package/lib/commonjs/stepper/stepper.js +1 -0
  123. package/lib/commonjs/stepper/styles.js +1 -0
  124. package/lib/commonjs/stepper/types.js +1 -0
  125. package/lib/commonjs/switch/constants.js +1 -0
  126. package/lib/commonjs/switch/index.js +1 -0
  127. package/lib/commonjs/switch/styles.js +1 -0
  128. package/lib/commonjs/switch/switch.js +1 -0
  129. package/lib/commonjs/switch/types.js +1 -0
  130. package/lib/commonjs/tabs/constants.js +1 -0
  131. package/lib/commonjs/tabs/helpers.js +1 -0
  132. package/lib/commonjs/tabs/index.js +1 -0
  133. package/lib/commonjs/tabs/styles.js +1 -0
  134. package/lib/commonjs/tabs/tabs-content.js +1 -0
  135. package/lib/commonjs/tabs/tabs-context.js +1 -0
  136. package/lib/commonjs/tabs/tabs-list.js +1 -0
  137. package/lib/commonjs/tabs/tabs-trigger.js +1 -0
  138. package/lib/commonjs/tabs/tabs.js +1 -0
  139. package/lib/commonjs/tabs/types.js +1 -0
  140. package/lib/commonjs/text/constants.js +1 -0
  141. package/lib/commonjs/text/helpers.js +1 -0
  142. package/lib/commonjs/text/index.js +1 -0
  143. package/lib/commonjs/text/text.js +1 -0
  144. package/lib/commonjs/text/types.js +1 -0
  145. package/lib/commonjs/text-area/constants.js +1 -0
  146. package/lib/commonjs/text-area/index.js +1 -0
  147. package/lib/commonjs/text-area/styles.js +1 -0
  148. package/lib/commonjs/text-area/text-area.js +1 -0
  149. package/lib/commonjs/text-area/types.js +1 -0
  150. package/lib/commonjs/text-input/constants.js +1 -0
  151. package/lib/commonjs/text-input/index.js +1 -0
  152. package/lib/commonjs/text-input/styles.js +1 -0
  153. package/lib/commonjs/text-input/text-input.js +1 -0
  154. package/lib/commonjs/text-input/types.js +1 -0
  155. package/lib/commonjs/theme/default-theme.js +1 -0
  156. package/lib/commonjs/theme/index.js +1 -0
  157. package/lib/commonjs/toast/constants.js +1 -0
  158. package/lib/commonjs/toast/helpers.js +1 -0
  159. package/lib/commonjs/toast/icons.js +1 -0
  160. package/lib/commonjs/toast/index.js +1 -0
  161. package/lib/commonjs/toast/styles.js +1 -0
  162. package/lib/commonjs/toast/toast-container.js +1 -0
  163. package/lib/commonjs/toast/toast-content.js +1 -0
  164. package/lib/commonjs/toast/toast-item.js +1 -0
  165. package/lib/commonjs/toast/toast-provider.js +1 -0
  166. package/lib/commonjs/toast/toast.js +1 -0
  167. package/lib/commonjs/toast/types.js +1 -0
  168. package/lib/commonjs/toast/use-toast.js +1 -0
  169. package/lib/commonjs/tooltip/constants.js +1 -0
  170. package/lib/commonjs/tooltip/helpers.js +1 -0
  171. package/lib/commonjs/tooltip/index.js +1 -0
  172. package/lib/commonjs/tooltip/styles.js +1 -0
  173. package/lib/commonjs/tooltip/tooltip.js +1 -0
  174. package/lib/commonjs/tooltip/types.js +1 -0
  175. package/lib/commonjs/utils/index.js +1 -0
  176. package/lib/module/alert/alert.js +1 -0
  177. package/lib/module/alert/constants.js +1 -0
  178. package/lib/module/alert/helpers.js +1 -0
  179. package/lib/module/alert/icons.js +1 -0
  180. package/lib/module/alert/index.js +1 -0
  181. package/lib/module/alert/styles.js +1 -0
  182. package/lib/module/alert/types.js +1 -0
  183. package/lib/module/avatar/avatar-group.constants.js +1 -0
  184. package/lib/module/avatar/avatar-group.helpers.js +1 -0
  185. package/lib/module/avatar/avatar-group.js +1 -0
  186. package/lib/module/avatar/avatar-group.styles.js +1 -0
  187. package/lib/module/avatar/avatar-group.types.js +1 -0
  188. package/lib/module/avatar/avatar.js +1 -0
  189. package/lib/module/avatar/constants.js +1 -0
  190. package/lib/module/avatar/helpers.js +1 -0
  191. package/lib/module/avatar/index.js +1 -0
  192. package/lib/module/avatar/styles.js +1 -0
  193. package/lib/module/avatar/types.js +1 -0
  194. package/lib/module/badge/badge.js +1 -0
  195. package/lib/module/badge/constants.js +1 -0
  196. package/lib/module/badge/helpers.js +1 -0
  197. package/lib/module/badge/index.js +1 -0
  198. package/lib/module/badge/styles.js +1 -0
  199. package/lib/module/badge/types.js +1 -0
  200. package/lib/module/bottom-sheet/bottom-sheet-header.js +1 -0
  201. package/lib/module/bottom-sheet/bottom-sheet-modal.js +1 -0
  202. package/lib/module/bottom-sheet/bottom-sheet.js +1 -0
  203. package/lib/module/bottom-sheet/constants.js +1 -0
  204. package/lib/module/bottom-sheet/index.js +1 -0
  205. package/lib/module/bottom-sheet/styles.js +1 -0
  206. package/lib/module/bottom-sheet/types.js +1 -0
  207. package/lib/module/box/box.js +1 -0
  208. package/lib/module/box/index.js +1 -0
  209. package/lib/module/box/types.js +1 -0
  210. package/lib/module/button/button.js +1 -0
  211. package/lib/module/button/constants.js +1 -0
  212. package/lib/module/button/helpers.js +1 -0
  213. package/lib/module/button/index.js +1 -0
  214. package/lib/module/button/styles.js +1 -0
  215. package/lib/module/button/types.js +1 -0
  216. package/lib/module/checkbox/checkbox.js +1 -0
  217. package/lib/module/checkbox/constants.js +1 -0
  218. package/lib/module/checkbox/icons.js +1 -0
  219. package/lib/module/checkbox/index.js +1 -0
  220. package/lib/module/checkbox/styles.js +1 -0
  221. package/lib/module/checkbox/types.js +1 -0
  222. package/lib/module/chip/chip.js +1 -0
  223. package/lib/module/chip/constants.js +1 -0
  224. package/lib/module/chip/helpers.js +1 -0
  225. package/lib/module/chip/index.js +1 -0
  226. package/lib/module/chip/styles.js +1 -0
  227. package/lib/module/chip/types.js +1 -0
  228. package/lib/module/context/index.js +1 -0
  229. package/lib/module/context/theme-context.js +1 -0
  230. package/lib/module/dropdown/constants.js +1 -0
  231. package/lib/module/dropdown/dropdown-context.js +1 -0
  232. package/lib/module/dropdown/dropdown-menu-content.js +1 -0
  233. package/lib/module/dropdown/dropdown-menu-item.js +1 -0
  234. package/lib/module/dropdown/dropdown-menu-label.js +1 -0
  235. package/lib/module/dropdown/dropdown-menu-separator.js +1 -0
  236. package/lib/module/dropdown/dropdown-menu-trigger.js +1 -0
  237. package/lib/module/dropdown/dropdown-menu.js +1 -0
  238. package/lib/module/dropdown/helpers.js +1 -0
  239. package/lib/module/dropdown/index.js +1 -0
  240. package/lib/module/dropdown/styles.js +1 -0
  241. package/lib/module/dropdown/types.js +1 -0
  242. package/lib/module/flex/flex.js +1 -0
  243. package/lib/module/flex/index.js +1 -0
  244. package/lib/module/flex/types.js +1 -0
  245. package/lib/module/icon-button/constants.js +1 -0
  246. package/lib/module/icon-button/helpers.js +1 -0
  247. package/lib/module/icon-button/icon-button.js +1 -0
  248. package/lib/module/icon-button/index.js +1 -0
  249. package/lib/module/icon-button/types.js +1 -0
  250. package/lib/module/index.js +1 -0
  251. package/lib/module/link-button/constants.js +1 -0
  252. package/lib/module/link-button/helpers.js +1 -0
  253. package/lib/module/link-button/index.js +1 -0
  254. package/lib/module/link-button/link-button.js +1 -0
  255. package/lib/module/link-button/types.js +1 -0
  256. package/lib/module/loader/circle-loader.js +1 -0
  257. package/lib/module/loader/constants.js +1 -0
  258. package/lib/module/loader/helpers.js +1 -0
  259. package/lib/module/loader/index.js +1 -0
  260. package/lib/module/loader/line-loader.js +1 -0
  261. package/lib/module/loader/types.js +1 -0
  262. package/lib/module/modal/constants.js +1 -0
  263. package/lib/module/modal/helpers.js +1 -0
  264. package/lib/module/modal/index.js +1 -0
  265. package/lib/module/modal/modal-body.js +1 -0
  266. package/lib/module/modal/modal-content.js +1 -0
  267. package/lib/module/modal/modal-description.js +1 -0
  268. package/lib/module/modal/modal-footer.js +1 -0
  269. package/lib/module/modal/modal-header.js +1 -0
  270. package/lib/module/modal/modal-title.js +1 -0
  271. package/lib/module/modal/modal.js +1 -0
  272. package/lib/module/modal/styles.js +1 -0
  273. package/lib/module/modal/types.js +1 -0
  274. package/lib/module/radio/constants.js +1 -0
  275. package/lib/module/radio/index.js +1 -0
  276. package/lib/module/radio/radio.js +1 -0
  277. package/lib/module/radio/styles.js +1 -0
  278. package/lib/module/radio/types.js +1 -0
  279. package/lib/module/segmented-button/constants.js +1 -0
  280. package/lib/module/segmented-button/helpers.js +1 -0
  281. package/lib/module/segmented-button/index.js +1 -0
  282. package/lib/module/segmented-button/segmented-button.js +1 -0
  283. package/lib/module/segmented-button/styles.js +1 -0
  284. package/lib/module/segmented-button/types.js +1 -0
  285. package/lib/module/separator/index.js +1 -0
  286. package/lib/module/separator/separator.js +1 -0
  287. package/lib/module/separator/types.js +1 -0
  288. package/lib/module/stepper/constants.js +1 -0
  289. package/lib/module/stepper/helpers.js +1 -0
  290. package/lib/module/stepper/icons.js +1 -0
  291. package/lib/module/stepper/index.js +1 -0
  292. package/lib/module/stepper/stepper-connector.js +1 -0
  293. package/lib/module/stepper/stepper-context.js +1 -0
  294. package/lib/module/stepper/stepper-item.js +1 -0
  295. package/lib/module/stepper/stepper-trigger.js +1 -0
  296. package/lib/module/stepper/stepper.js +1 -0
  297. package/lib/module/stepper/styles.js +1 -0
  298. package/lib/module/stepper/types.js +1 -0
  299. package/lib/module/switch/constants.js +1 -0
  300. package/lib/module/switch/index.js +1 -0
  301. package/lib/module/switch/styles.js +1 -0
  302. package/lib/module/switch/switch.js +1 -0
  303. package/lib/module/switch/types.js +1 -0
  304. package/lib/module/tabs/constants.js +1 -0
  305. package/lib/module/tabs/helpers.js +1 -0
  306. package/lib/module/tabs/index.js +1 -0
  307. package/lib/module/tabs/styles.js +1 -0
  308. package/lib/module/tabs/tabs-content.js +1 -0
  309. package/lib/module/tabs/tabs-context.js +1 -0
  310. package/lib/module/tabs/tabs-list.js +1 -0
  311. package/lib/module/tabs/tabs-trigger.js +1 -0
  312. package/lib/module/tabs/tabs.js +1 -0
  313. package/lib/module/tabs/types.js +1 -0
  314. package/lib/module/text/constants.js +1 -0
  315. package/lib/module/text/helpers.js +1 -0
  316. package/lib/module/text/index.js +1 -0
  317. package/lib/module/text/text.js +1 -0
  318. package/lib/module/text/types.js +1 -0
  319. package/lib/module/text-area/constants.js +1 -0
  320. package/lib/module/text-area/index.js +1 -0
  321. package/lib/module/text-area/styles.js +1 -0
  322. package/lib/module/text-area/text-area.js +1 -0
  323. package/lib/module/text-area/types.js +1 -0
  324. package/lib/module/text-input/constants.js +1 -0
  325. package/lib/module/text-input/index.js +1 -0
  326. package/lib/module/text-input/styles.js +1 -0
  327. package/lib/module/text-input/text-input.js +1 -0
  328. package/lib/module/text-input/types.js +1 -0
  329. package/lib/module/theme/default-theme.js +1 -0
  330. package/lib/module/theme/index.js +1 -0
  331. package/lib/module/toast/constants.js +1 -0
  332. package/lib/module/toast/helpers.js +1 -0
  333. package/lib/module/toast/icons.js +1 -0
  334. package/lib/module/toast/index.js +1 -0
  335. package/lib/module/toast/styles.js +1 -0
  336. package/lib/module/toast/toast-container.js +1 -0
  337. package/lib/module/toast/toast-content.js +1 -0
  338. package/lib/module/toast/toast-item.js +1 -0
  339. package/lib/module/toast/toast-provider.js +1 -0
  340. package/lib/module/toast/toast.js +1 -0
  341. package/lib/module/toast/types.js +1 -0
  342. package/lib/module/toast/use-toast.js +1 -0
  343. package/lib/module/tooltip/constants.js +1 -0
  344. package/lib/module/tooltip/helpers.js +1 -0
  345. package/lib/module/tooltip/index.js +1 -0
  346. package/lib/module/tooltip/styles.js +1 -0
  347. package/lib/module/tooltip/tooltip.js +1 -0
  348. package/lib/module/tooltip/types.js +1 -0
  349. package/lib/module/utils/index.js +1 -0
  350. package/lib/typescript/alert/alert.d.ts +6 -0
  351. package/lib/typescript/alert/constants.d.ts +18 -0
  352. package/lib/typescript/alert/helpers.d.ts +7 -0
  353. package/lib/typescript/alert/icons.d.ts +25 -0
  354. package/lib/typescript/alert/index.d.ts +3 -0
  355. package/lib/typescript/alert/styles.d.ts +25 -0
  356. package/lib/typescript/alert/types.d.ts +20 -0
  357. package/lib/typescript/avatar/avatar-group.constants.d.ts +18 -0
  358. package/lib/typescript/avatar/avatar-group.d.ts +6 -0
  359. package/lib/typescript/avatar/avatar-group.helpers.d.ts +12 -0
  360. package/lib/typescript/avatar/avatar-group.styles.d.ts +20 -0
  361. package/lib/typescript/avatar/avatar-group.types.d.ts +18 -0
  362. package/lib/typescript/avatar/avatar.d.ts +6 -0
  363. package/lib/typescript/avatar/constants.d.ts +10 -0
  364. package/lib/typescript/avatar/helpers.d.ts +6 -0
  365. package/lib/typescript/avatar/index.d.ts +5 -0
  366. package/lib/typescript/avatar/styles.d.ts +9 -0
  367. package/lib/typescript/avatar/types.d.ts +27 -0
  368. package/lib/typescript/badge/badge.d.ts +6 -0
  369. package/lib/typescript/badge/constants.d.ts +21 -0
  370. package/lib/typescript/badge/helpers.d.ts +9 -0
  371. package/lib/typescript/badge/index.d.ts +3 -0
  372. package/lib/typescript/badge/styles.d.ts +19 -0
  373. package/lib/typescript/badge/types.d.ts +24 -0
  374. package/lib/typescript/bottom-sheet/bottom-sheet-header.d.ts +4 -0
  375. package/lib/typescript/bottom-sheet/bottom-sheet-modal.d.ts +6 -0
  376. package/lib/typescript/bottom-sheet/bottom-sheet.d.ts +5 -0
  377. package/lib/typescript/bottom-sheet/constants.d.ts +10 -0
  378. package/lib/typescript/bottom-sheet/index.d.ts +7 -0
  379. package/lib/typescript/bottom-sheet/styles.d.ts +11 -0
  380. package/lib/typescript/bottom-sheet/types.d.ts +35 -0
  381. package/lib/typescript/box/box.d.ts +6 -0
  382. package/lib/typescript/box/index.d.ts +3 -0
  383. package/lib/typescript/box/types.d.ts +8 -0
  384. package/lib/typescript/button/button.d.ts +9 -0
  385. package/lib/typescript/button/constants.d.ts +30 -0
  386. package/lib/typescript/button/helpers.d.ts +39 -0
  387. package/lib/typescript/button/index.d.ts +3 -0
  388. package/lib/typescript/button/styles.d.ts +12 -0
  389. package/lib/typescript/button/types.d.ts +38 -0
  390. package/lib/typescript/checkbox/checkbox.d.ts +6 -0
  391. package/lib/typescript/checkbox/constants.d.ts +10 -0
  392. package/lib/typescript/checkbox/icons.d.ts +9 -0
  393. package/lib/typescript/checkbox/index.d.ts +3 -0
  394. package/lib/typescript/checkbox/styles.d.ts +25 -0
  395. package/lib/typescript/checkbox/types.d.ts +25 -0
  396. package/lib/typescript/chip/chip.d.ts +6 -0
  397. package/lib/typescript/chip/constants.d.ts +31 -0
  398. package/lib/typescript/chip/helpers.d.ts +11 -0
  399. package/lib/typescript/chip/index.d.ts +3 -0
  400. package/lib/typescript/chip/styles.d.ts +22 -0
  401. package/lib/typescript/chip/types.d.ts +31 -0
  402. package/lib/typescript/context/index.d.ts +2 -0
  403. package/lib/typescript/context/theme-context.d.ts +17 -0
  404. package/lib/typescript/dropdown/constants.d.ts +23 -0
  405. package/lib/typescript/dropdown/dropdown-context.d.ts +18 -0
  406. package/lib/typescript/dropdown/dropdown-menu-content.d.ts +6 -0
  407. package/lib/typescript/dropdown/dropdown-menu-item.d.ts +5 -0
  408. package/lib/typescript/dropdown/dropdown-menu-label.d.ts +6 -0
  409. package/lib/typescript/dropdown/dropdown-menu-separator.d.ts +6 -0
  410. package/lib/typescript/dropdown/dropdown-menu-trigger.d.ts +6 -0
  411. package/lib/typescript/dropdown/dropdown-menu.d.ts +5 -0
  412. package/lib/typescript/dropdown/helpers.d.ts +11 -0
  413. package/lib/typescript/dropdown/index.d.ts +8 -0
  414. package/lib/typescript/dropdown/styles.d.ts +32 -0
  415. package/lib/typescript/dropdown/types.d.ts +54 -0
  416. package/lib/typescript/flex/flex.d.ts +6 -0
  417. package/lib/typescript/flex/index.d.ts +3 -0
  418. package/lib/typescript/flex/types.d.ts +22 -0
  419. package/lib/typescript/icon-button/constants.d.ts +20 -0
  420. package/lib/typescript/icon-button/helpers.d.ts +13 -0
  421. package/lib/typescript/icon-button/icon-button.d.ts +6 -0
  422. package/lib/typescript/icon-button/index.d.ts +3 -0
  423. package/lib/typescript/icon-button/types.d.ts +31 -0
  424. package/lib/typescript/index.d.ts +57 -0
  425. package/lib/typescript/link-button/constants.d.ts +22 -0
  426. package/lib/typescript/link-button/helpers.d.ts +12 -0
  427. package/lib/typescript/link-button/index.d.ts +3 -0
  428. package/lib/typescript/link-button/link-button.d.ts +9 -0
  429. package/lib/typescript/link-button/types.d.ts +25 -0
  430. package/lib/typescript/loader/circle-loader.d.ts +6 -0
  431. package/lib/typescript/loader/constants.d.ts +8 -0
  432. package/lib/typescript/loader/helpers.d.ts +9 -0
  433. package/lib/typescript/loader/index.d.ts +4 -0
  434. package/lib/typescript/loader/line-loader.d.ts +6 -0
  435. package/lib/typescript/loader/types.d.ts +19 -0
  436. package/lib/typescript/modal/constants.d.ts +26 -0
  437. package/lib/typescript/modal/helpers.d.ts +8 -0
  438. package/lib/typescript/modal/index.d.ts +9 -0
  439. package/lib/typescript/modal/modal-body.d.ts +9 -0
  440. package/lib/typescript/modal/modal-content.d.ts +9 -0
  441. package/lib/typescript/modal/modal-description.d.ts +7 -0
  442. package/lib/typescript/modal/modal-footer.d.ts +9 -0
  443. package/lib/typescript/modal/modal-header.d.ts +9 -0
  444. package/lib/typescript/modal/modal-title.d.ts +7 -0
  445. package/lib/typescript/modal/modal.d.ts +12 -0
  446. package/lib/typescript/modal/styles.d.ts +38 -0
  447. package/lib/typescript/modal/types.d.ts +87 -0
  448. package/lib/typescript/radio/constants.d.ts +9 -0
  449. package/lib/typescript/radio/index.d.ts +3 -0
  450. package/lib/typescript/radio/radio.d.ts +6 -0
  451. package/lib/typescript/radio/styles.d.ts +24 -0
  452. package/lib/typescript/radio/types.d.ts +23 -0
  453. package/lib/typescript/segmented-button/constants.d.ts +21 -0
  454. package/lib/typescript/segmented-button/helpers.d.ts +8 -0
  455. package/lib/typescript/segmented-button/index.d.ts +3 -0
  456. package/lib/typescript/segmented-button/segmented-button.d.ts +6 -0
  457. package/lib/typescript/segmented-button/styles.d.ts +24 -0
  458. package/lib/typescript/segmented-button/types.d.ts +30 -0
  459. package/lib/typescript/separator/index.d.ts +3 -0
  460. package/lib/typescript/separator/separator.d.ts +6 -0
  461. package/lib/typescript/separator/types.d.ts +21 -0
  462. package/lib/typescript/stepper/constants.d.ts +23 -0
  463. package/lib/typescript/stepper/helpers.d.ts +10 -0
  464. package/lib/typescript/stepper/icons.d.ts +8 -0
  465. package/lib/typescript/stepper/index.d.ts +5 -0
  466. package/lib/typescript/stepper/stepper-connector.d.ts +3 -0
  467. package/lib/typescript/stepper/stepper-context.d.ts +12 -0
  468. package/lib/typescript/stepper/stepper-item.d.ts +6 -0
  469. package/lib/typescript/stepper/stepper-trigger.d.ts +14 -0
  470. package/lib/typescript/stepper/stepper.d.ts +6 -0
  471. package/lib/typescript/stepper/styles.d.ts +51 -0
  472. package/lib/typescript/stepper/types.d.ts +25 -0
  473. package/lib/typescript/switch/constants.d.ts +17 -0
  474. package/lib/typescript/switch/index.d.ts +3 -0
  475. package/lib/typescript/switch/styles.d.ts +12 -0
  476. package/lib/typescript/switch/switch.d.ts +6 -0
  477. package/lib/typescript/switch/types.d.ts +29 -0
  478. package/lib/typescript/tabs/constants.d.ts +18 -0
  479. package/lib/typescript/tabs/helpers.d.ts +13 -0
  480. package/lib/typescript/tabs/index.d.ts +6 -0
  481. package/lib/typescript/tabs/styles.d.ts +39 -0
  482. package/lib/typescript/tabs/tabs-content.d.ts +6 -0
  483. package/lib/typescript/tabs/tabs-context.d.ts +23 -0
  484. package/lib/typescript/tabs/tabs-list.d.ts +6 -0
  485. package/lib/typescript/tabs/tabs-trigger.d.ts +5 -0
  486. package/lib/typescript/tabs/tabs.d.ts +6 -0
  487. package/lib/typescript/tabs/types.d.ts +43 -0
  488. package/lib/typescript/text/constants.d.ts +2 -0
  489. package/lib/typescript/text/helpers.d.ts +10 -0
  490. package/lib/typescript/text/index.d.ts +3 -0
  491. package/lib/typescript/text/text.d.ts +6 -0
  492. package/lib/typescript/text/types.d.ts +51 -0
  493. package/lib/typescript/text-area/constants.d.ts +24 -0
  494. package/lib/typescript/text-area/index.d.ts +3 -0
  495. package/lib/typescript/text-area/styles.d.ts +37 -0
  496. package/lib/typescript/text-area/text-area.d.ts +6 -0
  497. package/lib/typescript/text-area/types.d.ts +37 -0
  498. package/lib/typescript/text-input/constants.d.ts +26 -0
  499. package/lib/typescript/text-input/index.d.ts +3 -0
  500. package/lib/typescript/text-input/styles.d.ts +43 -0
  501. package/lib/typescript/text-input/text-input.d.ts +6 -0
  502. package/lib/typescript/text-input/types.d.ts +38 -0
  503. package/lib/typescript/theme/default-theme.d.ts +209 -0
  504. package/lib/typescript/theme/index.d.ts +4 -0
  505. package/lib/typescript/toast/constants.d.ts +42 -0
  506. package/lib/typescript/toast/helpers.d.ts +16 -0
  507. package/lib/typescript/toast/icons.d.ts +10 -0
  508. package/lib/typescript/toast/index.d.ts +5 -0
  509. package/lib/typescript/toast/styles.d.ts +47 -0
  510. package/lib/typescript/toast/toast-container.d.ts +4 -0
  511. package/lib/typescript/toast/toast-content.d.ts +8 -0
  512. package/lib/typescript/toast/toast-item.d.ts +4 -0
  513. package/lib/typescript/toast/toast-provider.d.ts +13 -0
  514. package/lib/typescript/toast/toast.d.ts +2 -0
  515. package/lib/typescript/toast/types.d.ts +123 -0
  516. package/lib/typescript/toast/use-toast.d.ts +56 -0
  517. package/lib/typescript/tooltip/constants.d.ts +20 -0
  518. package/lib/typescript/tooltip/helpers.d.ts +31 -0
  519. package/lib/typescript/tooltip/index.d.ts +3 -0
  520. package/lib/typescript/tooltip/styles.d.ts +24 -0
  521. package/lib/typescript/tooltip/tooltip.d.ts +6 -0
  522. package/lib/typescript/tooltip/types.d.ts +39 -0
  523. package/lib/typescript/utils/index.d.ts +98 -0
  524. package/package.json +135 -27
  525. package/dist/commonjs/Box/box.js +0 -83
  526. package/dist/commonjs/Box/box.js.map +0 -1
  527. package/dist/commonjs/Box/index.js +0 -17
  528. package/dist/commonjs/Box/index.js.map +0 -1
  529. package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js +0 -20
  530. package/dist/commonjs/ThemeProvider/TwigsThemeProvider.js.map +0 -1
  531. package/dist/commonjs/ThemeProvider/index.js +0 -17
  532. package/dist/commonjs/ThemeProvider/index.js.map +0 -1
  533. package/dist/commonjs/config/theme.js +0 -201
  534. package/dist/commonjs/config/theme.js.map +0 -1
  535. package/dist/commonjs/index.js +0 -28
  536. package/dist/commonjs/index.js.map +0 -1
  537. package/dist/commonjs/utils/index.js +0 -2
  538. package/dist/commonjs/utils/index.js.map +0 -1
  539. package/dist/module/Box/box.js +0 -77
  540. package/dist/module/Box/box.js.map +0 -1
  541. package/dist/module/Box/index.js +0 -4
  542. package/dist/module/Box/index.js.map +0 -1
  543. package/dist/module/ThemeProvider/TwigsThemeProvider.js +0 -14
  544. package/dist/module/ThemeProvider/TwigsThemeProvider.js.map +0 -1
  545. package/dist/module/ThemeProvider/index.js +0 -4
  546. package/dist/module/ThemeProvider/index.js.map +0 -1
  547. package/dist/module/config/theme.js +0 -197
  548. package/dist/module/config/theme.js.map +0 -1
  549. package/dist/module/index.js +0 -5
  550. package/dist/module/index.js.map +0 -1
  551. package/dist/module/utils/index.js +0 -2
  552. package/dist/module/utils/index.js.map +0 -1
  553. package/dist/types/Box/box.d.ts +0 -23
  554. package/dist/types/Box/box.d.ts.map +0 -1
  555. package/dist/types/Box/index.d.ts +0 -2
  556. package/dist/types/Box/index.d.ts.map +0 -1
  557. package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts +0 -8
  558. package/dist/types/ThemeProvider/TwigsThemeProvider.d.ts.map +0 -1
  559. package/dist/types/ThemeProvider/index.d.ts +0 -2
  560. package/dist/types/ThemeProvider/index.d.ts.map +0 -1
  561. package/dist/types/config/theme.d.ts +0 -195
  562. package/dist/types/config/theme.d.ts.map +0 -1
  563. package/dist/types/index.d.ts +0 -3
  564. package/dist/types/index.d.ts.map +0 -1
  565. package/dist/types/utils/index.d.ts +0 -1
  566. package/dist/types/utils/index.d.ts.map +0 -1
  567. package/src/Box/box.tsx +0 -82
  568. package/src/Box/index.tsx +0 -1
  569. package/src/ThemeProvider/TwigsThemeProvider.tsx +0 -13
  570. package/src/ThemeProvider/index.ts +0 -1
  571. package/src/config/theme.ts +0 -195
  572. package/src/index.ts +0 -2
  573. package/src/utils/index.ts +0 -0
  574. /package/{dist → lib}/commonjs/package.json +0 -0
  575. /package/{dist → lib}/module/package.json +0 -0
@@ -0,0 +1,21 @@
1
+ import type { MarginProps, CommonStyleProps, BaseAccessibilityProps } from '../utils';
2
+ export type SeparatorOrientation = 'horizontal' | 'vertical';
3
+ export interface SeparatorProps extends MarginProps, CommonStyleProps, BaseAccessibilityProps {
4
+ /**
5
+ * The orientation of the separator.
6
+ * @default 'horizontal'
7
+ */
8
+ orientation?: SeparatorOrientation;
9
+ /**
10
+ * Custom color for the separator line.
11
+ * @default theme.colors.neutral200
12
+ */
13
+ color?: string;
14
+ /**
15
+ * When true, the separator is purely decorative and will be hidden
16
+ * from assistive technologies.
17
+ * @default false
18
+ */
19
+ decorative?: boolean;
20
+ }
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,23 @@
1
+ /** Step counter circle dimensions. */
2
+ export declare const COUNTER_SIZE = 20;
3
+ export declare const COUNTER_BORDER_WIDTH = 1.5;
4
+ export declare const COUNTER_BORDER_RADIUS = 999;
5
+ /** Tick icon dimensions inside completed counter. */
6
+ export declare const TICK_ICON_SIZE = 11;
7
+ export declare const TICK_STROKE_WIDTH = 1.5;
8
+ /** Step item layout. */
9
+ export declare const ITEM_HEIGHT = 48;
10
+ export declare const ITEM_PADDING_HORIZONTAL = 8;
11
+ export declare const ITEM_GAP = 8;
12
+ /** Container layout. */
13
+ export declare const CONTAINER_PADDING_HORIZONTAL = 24;
14
+ export declare const CONTAINER_GAP = 16;
15
+ /** Connector dimensions. */
16
+ export declare const CONNECTOR_WIDTH = 24;
17
+ /** Active underline dimensions. */
18
+ export declare const UNDERLINE_HEIGHT = 1;
19
+ export declare const ACTIVE_UNDERLINE_HEIGHT = 2;
20
+ /** Typography. */
21
+ export declare const STEP_FONT_SIZE = 14;
22
+ export declare const STEP_LETTER_SPACING = 0.028;
23
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,10 @@
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import type { TwigsTheme } from '../theme';
3
+ export type StepState = 'active' | 'completed' | 'inactive' | 'disabled';
4
+ export declare function getStepState(stepIndex: number, activeStep: number, allowClick: boolean): StepState;
5
+ export declare function getCounterStyles(theme: TwigsTheme, state: StepState): ViewStyle;
6
+ export declare function getCounterTextStyles(theme: TwigsTheme, state: StepState): TextStyle;
7
+ export declare function getLabelTextStyles(theme: TwigsTheme, state: StepState): TextStyle;
8
+ export declare function getContainerStyles(theme: TwigsTheme): ViewStyle;
9
+ export declare function getUnderlineStyles(theme: TwigsTheme): ViewStyle;
10
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export declare const TickIcon: React.FC<{
3
+ color: string;
4
+ }>;
5
+ export declare const ArrowConnectorIcon: React.FC<{
6
+ color: string;
7
+ }>;
8
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1,5 @@
1
+ export { Stepper } from './stepper';
2
+ export { StepperItem } from './stepper-item';
3
+ export { StepperConnector } from './stepper-connector';
4
+ export type { StepperProps, StepperItemProps } from './types';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const StepperConnector: React.FC;
3
+ //# sourceMappingURL=stepper-connector.d.ts.map
@@ -0,0 +1,12 @@
1
+ export interface StepperContextValue {
2
+ /** Index of the currently active step. */
3
+ activeStep: number;
4
+ /** Total number of steps. */
5
+ totalSteps: number;
6
+ /** Called when a step trigger is pressed. */
7
+ onStepPress: (step: number) => void;
8
+ }
9
+ declare const StepperContext: import("react").Context<StepperContextValue | null>;
10
+ export declare function useStepperContext(): StepperContextValue;
11
+ export { StepperContext };
12
+ //# sourceMappingURL=stepper-context.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { View } from 'react-native';
3
+ import type { StepperItemProps } from './types';
4
+ /** StepperItem is a declarative child — it does not render itself directly. */
5
+ export declare const StepperItem: React.ForwardRefExoticComponent<StepperItemProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=stepper-item.d.ts.map
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { type StepState } from './helpers';
3
+ interface StepTriggerProps {
4
+ index: number;
5
+ label: string;
6
+ state: StepState;
7
+ isCompleted: boolean;
8
+ allowClick: boolean;
9
+ onPress: (step: number) => void;
10
+ onTriggerLayout?: (index: number, x: number, width: number) => void;
11
+ }
12
+ export declare const StepTrigger: React.FC<StepTriggerProps>;
13
+ export {};
14
+ //# sourceMappingURL=stepper-trigger.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { StepperProps } from './types';
4
+ /** Root Stepper component. Renders a trigger bar with step items and active content. */
5
+ export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=stepper.d.ts.map
@@ -0,0 +1,51 @@
1
+ export declare const styles: {
2
+ root: {
3
+ flexDirection: "column";
4
+ };
5
+ triggerContainer: {
6
+ flexGrow: number;
7
+ flexDirection: "row";
8
+ alignItems: "center";
9
+ justifyContent: "center";
10
+ paddingHorizontal: number;
11
+ gap: number;
12
+ };
13
+ triggerContainerFitted: {
14
+ flexDirection: "row";
15
+ alignItems: "center";
16
+ justifyContent: "center";
17
+ paddingHorizontal: number;
18
+ gap: number;
19
+ };
20
+ item: {
21
+ flex: number;
22
+ flexDirection: "row";
23
+ alignItems: "center";
24
+ justifyContent: "center";
25
+ height: number;
26
+ paddingHorizontal: number;
27
+ gap: number;
28
+ };
29
+ staticBorder: {
30
+ height: number;
31
+ };
32
+ activeUnderline: {
33
+ position: "absolute";
34
+ bottom: number;
35
+ height: number;
36
+ };
37
+ triggerWrapper: {
38
+ overflow: "hidden";
39
+ };
40
+ connector: {
41
+ width: number;
42
+ justifyContent: "center";
43
+ };
44
+ disabled: {
45
+ opacity: number;
46
+ };
47
+ content: {
48
+ flexGrow: number;
49
+ };
50
+ };
51
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,25 @@
1
+ import type { ViewProps, PressableProps } from 'react-native';
2
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
3
+ /** Props for the root Stepper container. */
4
+ export interface StepperProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
5
+ /** Index of the currently active step (0-based). */
6
+ activeStep: number;
7
+ /** Called when a step trigger is pressed. */
8
+ onStepChange?: (step: number) => void;
9
+ /** Custom connector renderer between step triggers. */
10
+ renderConnector?: () => React.ReactNode;
11
+ /** Content to render — should be StepperItem elements. */
12
+ children: React.ReactNode;
13
+ /** Whether the step triggers can scroll horizontally (default: true). When false, steps share equal width and labels truncate. */
14
+ scrollable?: boolean;
15
+ }
16
+ /** Props for an individual step trigger within the Stepper. */
17
+ export interface StepperItemProps extends Omit<PressableProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
18
+ /** Text label displayed next to the step number. */
19
+ label: string;
20
+ /** Whether this step trigger is clickable. */
21
+ allowClick?: boolean;
22
+ /** Content rendered when this step is active. */
23
+ children?: React.ReactNode;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,17 @@
1
+ import type { SwitchColor, SwitchSize } from './types';
2
+ export interface SwitchSizeConfig {
3
+ track: {
4
+ width: number;
5
+ height: number;
6
+ };
7
+ thumb: {
8
+ size: number;
9
+ offPosition: number;
10
+ onPosition: number;
11
+ };
12
+ }
13
+ export declare const SWITCH_SIZE_CONFIGS: Record<SwitchSize, SwitchSizeConfig>;
14
+ export declare const DEFAULT_SWITCH_SIZE: SwitchSize;
15
+ export declare const CHECKED_COLOR_MAP: Record<SwitchColor, 'primary500' | 'secondary600'>;
16
+ export declare const getSwitchSizeConfig: (size: SwitchSize) => SwitchSizeConfig;
17
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Switch } from './switch';
2
+ export type { SwitchProps, SwitchSize, SwitchColor } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import type { TwigsTheme } from '../theme';
2
+ export declare const createSwitchStyles: (theme: TwigsTheme) => {
3
+ switchBase: {
4
+ borderRadius: number;
5
+ justifyContent: "center";
6
+ };
7
+ thumbBase: {
8
+ borderRadius: number;
9
+ backgroundColor: string;
10
+ };
11
+ };
12
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { SwitchProps } from './types';
4
+ /** Toggle switch with animated thumb, supporting controlled and uncontrolled modes. */
5
+ export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=switch.d.ts.map
@@ -0,0 +1,29 @@
1
+ import type { PressableProps } from 'react-native';
2
+ import type { BaseAccessibilityProps, CommonStyleProps } from '../utils';
3
+ export type SwitchSize = 'sm' | 'md';
4
+ export type SwitchColor = 'primary' | 'secondary';
5
+ export interface SwitchProps extends Omit<PressableProps, 'onPress' | 'style'>, CommonStyleProps, BaseAccessibilityProps {
6
+ /**
7
+ * Controlled toggle state (RN-style API). Alias for `checked`.
8
+ * @deprecated Use `checked` instead. Will be removed in a future major version.
9
+ */
10
+ value?: boolean;
11
+ /**
12
+ * Called with the next value when toggled (RN-style API). Alias for `onChange`.
13
+ * @deprecated Use `onChange` instead. Will be removed in a future major version.
14
+ */
15
+ onValueChange?: (value: boolean) => void;
16
+ /** Controlled toggle state (web-style API). Takes precedence over `value`. */
17
+ checked?: boolean;
18
+ /** Initial state for uncontrolled usage. @default false */
19
+ defaultChecked?: boolean;
20
+ /** Called with the next checked value when toggled (web-style API). */
21
+ onChange?: (checked: boolean) => void;
22
+ /** Whether the switch is disabled. @default false */
23
+ disabled?: boolean;
24
+ /** Size preset. @default 'md' */
25
+ size?: SwitchSize;
26
+ /** Color preset. @default 'primary' */
27
+ color?: SwitchColor;
28
+ }
29
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,18 @@
1
+ import type { TabsSize, TabsVariant } from './types';
2
+ interface SizeConfig {
3
+ height: number;
4
+ paddingHorizontal: number;
5
+ fontSize: number;
6
+ lineHeight: number;
7
+ }
8
+ export declare const SIZE_CONFIG: Record<TabsSize, SizeConfig>;
9
+ export declare const DEFAULT_SIZE: TabsSize;
10
+ export declare const DEFAULT_VARIANT: TabsVariant;
11
+ export declare const INDICATOR_HEIGHT = 2;
12
+ export declare const SLIDE_DURATION = 200;
13
+ export declare const SLIDE_TIMING_CONFIG: {
14
+ readonly duration: 200;
15
+ readonly easing: import("react-native-reanimated").EasingFunction;
16
+ };
17
+ export {};
18
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { ViewStyle, TextStyle } from 'react-native';
3
+ import type { TwigsTheme } from '../theme';
4
+ import type { TabsSize, TabsVariant } from './types';
5
+ export interface TriggerMeta {
6
+ value: string;
7
+ disabled: boolean;
8
+ }
9
+ export declare function getTriggerInfo(children: React.ReactNode): TriggerMeta[];
10
+ export declare const TRIGGER_SIZE_STYLES: Record<TabsSize, ViewStyle>;
11
+ export declare function getTriggerTextStyles(theme: TwigsTheme, variant: TabsVariant, isActive: boolean, disabled: boolean, size: TabsSize): TextStyle;
12
+ export declare function getIndicatorColorStyles(theme: TwigsTheme, variant: TabsVariant): ViewStyle;
13
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,6 @@
1
+ export { Tabs } from './tabs';
2
+ export { TabsList } from './tabs-list';
3
+ export { TabsTrigger } from './tabs-trigger';
4
+ export { TabsContent } from './tabs-content';
5
+ export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, TabsSize, TabsVariant, } from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,39 @@
1
+ export declare const styles: {
2
+ root: {
3
+ flexDirection: "column";
4
+ };
5
+ list: {
6
+ width: "100%";
7
+ };
8
+ scrollContent: {
9
+ flexGrow: number;
10
+ };
11
+ inner: {
12
+ flexDirection: "row";
13
+ alignItems: "stretch";
14
+ position: "relative";
15
+ };
16
+ innerFitted: {
17
+ flexDirection: "row";
18
+ alignItems: "stretch";
19
+ position: "relative";
20
+ width: "100%";
21
+ };
22
+ trigger: {
23
+ flexDirection: "row";
24
+ alignItems: "center";
25
+ justifyContent: "center";
26
+ };
27
+ fittedTrigger: {
28
+ flex: number;
29
+ };
30
+ indicator: {
31
+ position: "absolute";
32
+ bottom: number;
33
+ left: number;
34
+ };
35
+ disabled: {
36
+ opacity: number;
37
+ };
38
+ };
39
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { TabsContentProps } from './types';
4
+ /** Content panel shown when its matching tab trigger is active. */
5
+ export declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=tabs-content.d.ts.map
@@ -0,0 +1,23 @@
1
+ import type { TabsSize, TabsVariant } from './types';
2
+ export interface TabsContextValue {
3
+ /** Currently active tab value. */
4
+ activeValue: string;
5
+ /** Called when a trigger is pressed. */
6
+ onSelect: (value: string) => void;
7
+ }
8
+ export interface TabsListContextValue {
9
+ /** Size variant applied to triggers. */
10
+ size: TabsSize;
11
+ /** Color variant applied to triggers and indicator. */
12
+ variant: TabsVariant;
13
+ /** Report measured width for indicator positioning. */
14
+ reportWidth: (value: string, width: number) => void;
15
+ /** Whether the tab list is scrollable. */
16
+ scrollable: boolean;
17
+ }
18
+ declare const TabsContext: import("react").Context<TabsContextValue | null>;
19
+ declare const TabsListContext: import("react").Context<TabsListContextValue | null>;
20
+ export declare function useTabsContext(): TabsContextValue;
21
+ export declare function useTabsListContext(): TabsListContextValue;
22
+ export { TabsContext, TabsListContext };
23
+ //# sourceMappingURL=tabs-context.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { TabsListProps } from './types';
4
+ /** Horizontal row of tab triggers with an animated active indicator. */
5
+ export declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=tabs-list.d.ts.map
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { TabsTriggerProps } from './types';
3
+ /** Individual tab button within a TabsList. */
4
+ export declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<import("react-native").View>>;
5
+ //# sourceMappingURL=tabs-trigger.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { TabsProps } from './types';
4
+ /** Root container for a tabbed interface. Manages active tab state. */
5
+ export declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=tabs.d.ts.map
@@ -0,0 +1,43 @@
1
+ import type { ViewProps, PressableProps } from 'react-native';
2
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
3
+ /** Size variant for tab triggers. */
4
+ export type TabsSize = 'md' | 'lg';
5
+ /** Color variant for the active tab indicator and text. */
6
+ export type TabsVariant = 'primary' | 'dark';
7
+ /** Props for the root Tabs container. */
8
+ export interface TabsProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
9
+ /** Currently active tab value (controlled). */
10
+ value?: string;
11
+ /** Default active tab value (uncontrolled). */
12
+ defaultValue?: string;
13
+ /** Called when the active tab changes. */
14
+ onValueChange?: (value: string) => void;
15
+ }
16
+ /** Props for the TabsList container that holds tab triggers. */
17
+ export interface TabsListProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
18
+ /** Size variant for tab triggers. */
19
+ size?: TabsSize;
20
+ /** Color variant for the active indicator and text. */
21
+ variant?: TabsVariant;
22
+ /** Whether the tab triggers can scroll horizontally (default: true). When false, triggers share equal width. */
23
+ scrollable?: boolean;
24
+ }
25
+ /** Props for an individual tab trigger button. */
26
+ export interface TabsTriggerProps extends Omit<PressableProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
27
+ /** Unique value identifying this tab — must match a TabsContent value. */
28
+ value: string;
29
+ /** Whether this trigger is disabled. */
30
+ disabled?: boolean;
31
+ /** Content to render inside the trigger. */
32
+ children: React.ReactNode;
33
+ }
34
+ /** Props for a tab content panel. */
35
+ export interface TabsContentProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
36
+ /** Value matching a TabsTrigger — panel is visible when this tab is active. */
37
+ value: string;
38
+ /** Whether to keep the content mounted when the tab is inactive. */
39
+ forceMount?: boolean;
40
+ /** Content to render inside the panel. */
41
+ children: React.ReactNode;
42
+ }
43
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const DEFAULT_FONT_SIZE = 14;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,10 @@
1
+ import type { TextStyle } from 'react-native';
2
+ import type { ThemeFonts } from '../theme/default-theme';
3
+ import type { TextWeight, TextProps } from './types';
4
+ /** Priority: weight (theme alias) › fontFamily/fontWeight (explicit) › theme default. */
5
+ export declare const resolveFontStyle: (themeFonts: ThemeFonts, options: {
6
+ weight?: TextWeight;
7
+ fontFamily?: string;
8
+ fontWeight?: TextProps["fontWeight"];
9
+ }) => Pick<TextStyle, "fontFamily" | "fontWeight">;
10
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Text } from './text';
2
+ export type { TextProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { Text as RNText } from 'react-native';
3
+ import type { TextProps } from './types';
4
+ /** Themed text component with typography, spacing, and truncation props. */
5
+ export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<RNText>>;
6
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1,51 @@
1
+ import { ReactNode } from 'react';
2
+ import { AccessibilityRole, TextStyle } from 'react-native';
3
+ import { MarginProps, PaddingProps } from '../utils';
4
+ export type TextWeight = 'regular' | 'medium' | 'bold';
5
+ /**
6
+ * Props for the Text component.
7
+ * Extends `MarginProps` and `PaddingProps` for spacing shorthand.
8
+ * `css` is applied before `style` for layered text style overrides.
9
+ */
10
+ export interface TextProps extends MarginProps, PaddingProps {
11
+ children?: ReactNode;
12
+ /** Text styles applied before `style`. */
13
+ css?: TextStyle;
14
+ /** Text styles applied last for final overrides. */
15
+ style?: TextStyle;
16
+ /**
17
+ * Used to locate this element in end-to-end tests.
18
+ * @see https://reactnative.dev/docs/text#testid
19
+ */
20
+ testID?: string;
21
+ fontSize?: number;
22
+ fontFamily?: string;
23
+ color?: string;
24
+ /** Semantic font weight that maps to a theme font family. Takes precedence over `fontWeight`. */
25
+ weight?: TextWeight;
26
+ /**
27
+ * @deprecated Use `weight` instead. This prop only works reliably with the System font.
28
+ * Will be removed in a future major version.
29
+ */
30
+ fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
31
+ textAlign?: 'left' | 'center' | 'right' | 'justify';
32
+ textDecoration?: 'none' | 'underline' | 'line-through' | 'underline line-through';
33
+ textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase';
34
+ fontStyle?: 'normal' | 'italic';
35
+ lineHeight?: number;
36
+ letterSpacing?: number;
37
+ numberOfLines?: number;
38
+ ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip';
39
+ accessible?: boolean;
40
+ accessibilityRole?: AccessibilityRole;
41
+ accessibilityLabel?: string;
42
+ accessibilityHint?: string;
43
+ accessibilityState?: {
44
+ disabled?: boolean;
45
+ selected?: boolean;
46
+ checked?: boolean | 'mixed';
47
+ busy?: boolean;
48
+ expanded?: boolean;
49
+ };
50
+ }
51
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,24 @@
1
+ import type { TextAreaSize } from './types';
2
+ export interface TextAreaSizeConfig {
3
+ /** Border radius in dp. */
4
+ borderRadius: number;
5
+ /** Placeholder / input text font size in dp. */
6
+ fontSize: number;
7
+ /** Horizontal padding inside the textarea in dp. */
8
+ paddingHorizontal: number;
9
+ /** Vertical padding inside the textarea in dp. */
10
+ paddingVertical: number;
11
+ /** Font size for the label text above the textarea. */
12
+ labelFontSize: number;
13
+ /** Line height for label text. */
14
+ labelLineHeight: number;
15
+ /** Letter spacing for label text. */
16
+ labelLetterSpacing: number;
17
+ /** Line height for placeholder / input text. */
18
+ inputLineHeight: number;
19
+ }
20
+ /** Default number of visible text rows. */
21
+ export declare const DEFAULT_ROWS = 3;
22
+ /** Resolved size config for a given text-area size. */
23
+ export declare const getSizeConfig: (size: TextAreaSize) => TextAreaSizeConfig;
24
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { TextArea } from './text-area';
2
+ export type { TextAreaProps, TextAreaSize, TextAreaVariant } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,37 @@
1
+ /** Static layout styles — no theme colors here. Theme-dependent styles go in the component. */
2
+ export declare const styles: {
3
+ container: {
4
+ position: "relative";
5
+ width: "100%";
6
+ };
7
+ fullWidth: {
8
+ width: "100%";
9
+ };
10
+ inputWrapper: {
11
+ position: "relative";
12
+ width: "100%";
13
+ borderWidth: number;
14
+ borderStyle: "solid";
15
+ };
16
+ textInput: {
17
+ outlineStyle?: string | undefined;
18
+ outlineWidth?: number | undefined;
19
+ outlineColor?: string | undefined;
20
+ flex: number;
21
+ margin: number;
22
+ padding: number;
23
+ borderWidth: number;
24
+ backgroundColor: string;
25
+ textAlignVertical: "top";
26
+ };
27
+ labelRow: {
28
+ flexDirection: "row";
29
+ justifyContent: "space-between";
30
+ alignItems: "center";
31
+ };
32
+ labelWithIndicator: {
33
+ flexDirection: "row";
34
+ alignItems: "center";
35
+ };
36
+ };
37
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { TextInput as RNTextInput } from 'react-native';
3
+ import type { TextAreaProps } from './types';
4
+ /** Themed multi-line text area with auto-grow, label, error state, and character count. */
5
+ export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<RNTextInput>>;
6
+ //# sourceMappingURL=text-area.d.ts.map