@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,57 @@
1
+ export { Alert } from './alert';
2
+ export type { AlertProps, AlertStatus } from './alert';
3
+ export { Avatar, AvatarGroup } from './avatar';
4
+ export type { AvatarProps, AvatarGroupProps, AvatarSize, AvatarSizeProp } from './avatar';
5
+ export { Badge } from './badge';
6
+ export type { BadgeProps, BadgeSize, BadgeColor, BadgeRounded } from './badge';
7
+ export { Box } from './box';
8
+ export type { BoxProps } from './box';
9
+ export { Button } from './button';
10
+ export type { ButtonProps, ButtonSize, ButtonColor, ButtonVariant } from './button';
11
+ export { LinkButton } from './link-button';
12
+ export type { LinkButtonProps, LinkButtonSize, LinkButtonColor, LinkButtonVariant, } from './link-button';
13
+ export { LineLoader, CircleLoader } from './loader';
14
+ export type { LineLoaderProps, CircleLoaderProps, LineLoaderSize, CircleLoaderSize, LoaderColor, } from './loader';
15
+ export { IconButton } from './icon-button';
16
+ export type { IconButtonProps, IconButtonSize, IconButtonColor, IconButtonVariant, IconButtonRounded, } from './icon-button';
17
+ export { Chip } from './chip';
18
+ export type { ChipProps, ChipSize, ChipColor, ChipRounded } from './chip';
19
+ export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, } from './dropdown';
20
+ export type { DropdownMenuProps, DropdownMenuTriggerProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuSeparatorProps, DropdownMenuSize, } from './dropdown';
21
+ export { Checkbox } from './checkbox';
22
+ export type { CheckboxProps, CheckboxSize, CheckedState } from './checkbox';
23
+ export { Flex } from './flex';
24
+ export type { FlexProps } from './flex';
25
+ export { Modal, ModalContent, ModalHeader, ModalTitle, ModalDescription, ModalBody, ModalFooter, } from './modal';
26
+ export type { ModalProps, ModalContentProps, ModalHeaderProps, ModalTitleProps, ModalDescriptionProps, ModalBodyProps, ModalFooterProps, ModalSize, ModalAnimationType, } from './modal';
27
+ export { Radio } from './radio';
28
+ export type { RadioProps, RadioSize } from './radio';
29
+ export { SegmentedButton } from './segmented-button';
30
+ export type { SegmentedButtonProps, SegmentedButtonOption, SegmentedButtonRounded, } from './segmented-button';
31
+ export { Separator } from './separator';
32
+ export type { SeparatorProps, SeparatorOrientation } from './separator';
33
+ export { Stepper, StepperItem, StepperConnector } from './stepper';
34
+ export type { StepperProps, StepperItemProps } from './stepper';
35
+ export { Tabs, TabsList, TabsTrigger, TabsContent } from './tabs';
36
+ export type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps, TabsSize, TabsVariant, } from './tabs';
37
+ export { Switch } from './switch';
38
+ export type { SwitchProps, SwitchSize, SwitchColor } from './switch';
39
+ export { Tooltip } from './tooltip';
40
+ export type { TooltipProps, TooltipSide, TooltipAlign } from './tooltip';
41
+ export { Text } from './text';
42
+ export type { TextProps } from './text';
43
+ export { ToastProvider, toast, useToast } from './toast';
44
+ export type { ToastOptions, ToastProviderProps, ToastVariant, ToastPosition, ToastState, ToastContextType, ToastItemProps, UseToastReturn, } from './toast';
45
+ export { TextArea } from './text-area';
46
+ export type { TextAreaProps, TextAreaSize, TextAreaVariant } from './text-area';
47
+ export { TextInput } from './text-input';
48
+ export type { TextInputProps, TextInputSize, TextInputVariant } from './text-input';
49
+ export { BottomSheet, BottomSheetModal, BottomSheetHeader, BottomSheetView, BottomSheetScrollView, BottomSheetSectionList, BottomSheetFlatList, BottomSheetVirtualizedList, BottomSheetTextInput, BottomSheetHandle, BottomSheetBackdrop, BottomSheetFooter, BottomSheetFooterContainer, BottomSheetModalProvider, BottomSheetDraggableView, useBottomSheet, useBottomSheetModal, useBottomSheetSpringConfigs, useBottomSheetTimingConfigs, useBottomSheetInternal, useBottomSheetModalInternal, useScrollEventsHandlersDefault, useGestureEventsHandlersDefault, useBottomSheetGestureHandlers, useScrollHandler, useScrollableSetter, useBottomSheetScrollableCreator, createBottomSheetScrollableComponent, TouchableHighlight, TouchableOpacity, TouchableWithoutFeedback, enableLogging, } from './bottom-sheet';
50
+ export type { BottomSheetProps, BottomSheetModalProps, BottomSheetHeaderProps, BottomSheetHandleProps, BottomSheetBackgroundProps, BottomSheetBackdropProps, BottomSheetFooterProps, BottomSheetFlatListMethods, BottomSheetScrollViewMethods, BottomSheetSectionListMethods, BottomSheetVirtualizedListMethods, BottomSheetScrollableProps, ScrollEventsHandlersHookType, GestureEventsHandlersHookType, ScrollEventHandlerCallbackType, GestureEventHandlerCallbackType, } from './bottom-sheet';
51
+ export { AnimatedView, resolveMargin, resolvePadding, createTextStyle, colorOpacity, } from './utils';
52
+ export type { MarginProps, PaddingProps, ResolvedSpacing, CommonStyleProps, BaseAccessibilityProps, } from './utils';
53
+ export { defaultTheme, theme } from './theme';
54
+ export type { TwigsTheme, ThemeColors, ThemeSpace, ThemeFontSizes, ThemeFonts, ThemeFontWeights, ThemeLineHeights, ThemeLetterSpacings, ThemeSizes, ThemeBorderWidths, ThemeBorderStyles, ThemeRadii, ThemeShadows, ThemeZIndices, ThemeTransitions, } from './theme';
55
+ export { TwigsProvider, useTheme } from './context';
56
+ export type { TwigsProviderProps, DeepPartial } from './context';
57
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,22 @@
1
+ import type { LinkButtonSize, LinkButtonVariant } from './types';
2
+ export interface LinkButtonSizeConfig {
3
+ fontSize: string;
4
+ lineHeight: string;
5
+ letterSpacing: number;
6
+ }
7
+ /**
8
+ * Size configuration keyed by theme token names.
9
+ * fontSize/lineHeight are theme token keys resolved at render time.
10
+ */
11
+ export declare const SIZE_CONFIG: Record<LinkButtonSize, LinkButtonSizeConfig>;
12
+ export interface LinkButtonVariantConfig {
13
+ fontFamily: 'regular' | 'medium' | 'bold';
14
+ }
15
+ /**
16
+ * Variant configuration keyed by theme font-family token names.
17
+ * fontFamily is a theme token key resolved at render time.
18
+ */
19
+ export declare const VARIANT_CONFIG: Record<LinkButtonVariant, LinkButtonVariantConfig>;
20
+ export declare const PRESSED_BG_OPACITY = 0.15;
21
+ export declare const DISABLED_OPACITY = 0.5;
22
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,12 @@
1
+ import type { TextStyle, ViewStyle } from 'react-native';
2
+ import type { TwigsTheme } from '../theme';
3
+ import type { LinkButtonSize, LinkButtonColor, LinkButtonVariant } from './types';
4
+ export declare const getLinkButtonTextStyles: ({ size, color, variant, pressed, theme, }: {
5
+ size: LinkButtonSize;
6
+ color: LinkButtonColor;
7
+ variant: LinkButtonVariant;
8
+ pressed: boolean;
9
+ theme: TwigsTheme;
10
+ }) => TextStyle;
11
+ export declare const getLinkButtonPressedStyle: (color: LinkButtonColor, theme: TwigsTheme) => ViewStyle;
12
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { LinkButton } from './link-button';
2
+ export type { LinkButtonProps, LinkButtonSize, LinkButtonColor, LinkButtonVariant } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { LinkButtonProps } from './types';
4
+ /**
5
+ * A text-only pressable element styled as a hyperlink with underline decoration.
6
+ * Supports size, color, and variant options with pressed/disabled states.
7
+ */
8
+ export declare const LinkButton: React.ForwardRefExoticComponent<LinkButtonProps & React.RefAttributes<View>>;
9
+ //# sourceMappingURL=link-button.d.ts.map
@@ -0,0 +1,25 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { PressableProps, TextStyle } from 'react-native';
3
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
4
+ export type LinkButtonSize = 'sm' | 'md';
5
+ export type LinkButtonColor = 'primary' | 'secondary' | 'light';
6
+ export type LinkButtonVariant = 'medium' | 'bold';
7
+ /**
8
+ * Props for the LinkButton component.
9
+ * A text-only pressable element styled as a hyperlink with underline decoration.
10
+ */
11
+ export interface LinkButtonProps extends Omit<PressableProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
12
+ /** Text content rendered inside the link button. */
13
+ children: ReactNode;
14
+ /** Size preset controlling font size and line height. @default 'md' */
15
+ size?: LinkButtonSize;
16
+ /** Color preset. @default 'primary' */
17
+ color?: LinkButtonColor;
18
+ /** Visual variant controlling font weight. @default 'medium' */
19
+ variant?: LinkButtonVariant;
20
+ /** Whether the link button is disabled. @default false */
21
+ disabled?: boolean;
22
+ /** Override styles applied to the link text. */
23
+ textStyle?: TextStyle;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { CircleLoaderProps } from './types';
4
+ /** Animated circular spinner using SVG arcs with a rotating quarter-circle indicator. */
5
+ export declare const CircleLoader: React.ForwardRefExoticComponent<CircleLoaderProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=circle-loader.d.ts.map
@@ -0,0 +1,8 @@
1
+ import type { LineLoaderSize, CircleLoaderSize } from './types';
2
+ export declare const LINE_LOADER_DIMENSIONS: Record<LineLoaderSize, {
3
+ width: number;
4
+ height: number;
5
+ }>;
6
+ export declare const CIRCLE_LOADER_DIAMETERS: Record<CircleLoaderSize, number>;
7
+ export declare const CIRCLE_STROKE_WIDTHS: Record<CircleLoaderSize, number>;
8
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { TwigsTheme } from '../theme';
2
+ import type { LoaderColor } from './types';
3
+ export interface LoaderColorPair {
4
+ bg: string;
5
+ fg: string;
6
+ }
7
+ /** Resolves a LoaderColor preset to background (track/ring) and foreground (dot/arc) hex values. */
8
+ export declare function getLoaderColors(theme: TwigsTheme, color: LoaderColor): LoaderColorPair;
9
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { LineLoader } from './line-loader';
2
+ export { CircleLoader } from './circle-loader';
3
+ export type { LineLoaderProps, CircleLoaderProps, LineLoaderSize, CircleLoaderSize, LoaderColor, } from './types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { LineLoaderProps } from './types';
4
+ /** Animated horizontal line loader with a sliding dot indicator. */
5
+ export declare const LineLoader: React.ForwardRefExoticComponent<LineLoaderProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=line-loader.d.ts.map
@@ -0,0 +1,19 @@
1
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
2
+ export type LineLoaderSize = 'sm' | 'md' | 'lg' | 'xl';
3
+ export type CircleLoaderSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
4
+ export type LoaderColor = 'primary' | 'secondary' | 'bright' | 'negative' | 'accent';
5
+ /** Props for the LineLoader component. */
6
+ export interface LineLoaderProps extends CommonStyleProps, BaseAccessibilityProps {
7
+ /** Size preset. @default 'sm' */
8
+ size?: LineLoaderSize;
9
+ /** Color preset. @default 'primary' */
10
+ color?: LoaderColor;
11
+ }
12
+ /** Props for the CircleLoader component. */
13
+ export interface CircleLoaderProps extends CommonStyleProps, BaseAccessibilityProps {
14
+ /** Size preset. @default 'md' */
15
+ size?: CircleLoaderSize;
16
+ /** Color preset. @default 'primary' */
17
+ color?: LoaderColor;
18
+ }
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,26 @@
1
+ import type { ModalSize, ModalAnimationType } from './types';
2
+ interface ContentSizeConfig {
3
+ /** Horizontal margin from screen edge (applied to each side) */
4
+ horizontalMargin: number;
5
+ }
6
+ export declare const CONTENT_SIZE_CONFIG: Record<ModalSize, ContentSizeConfig>;
7
+ export declare const DEFAULT_SIZE: ModalSize;
8
+ export declare const DEFAULT_ANIMATION_TYPE: ModalAnimationType;
9
+ export declare const CONTENT_BORDER_RADIUS = 16;
10
+ export declare const CONTENT_PADDING_HORIZONTAL = 16;
11
+ export declare const HEADER_PADDING_TOP = 32;
12
+ export declare const HEADER_PADDING_HORIZONTAL = 16;
13
+ export declare const HEADER_GAP = 4;
14
+ export declare const BODY_PADDING_HORIZONTAL = 16;
15
+ export declare const BODY_PADDING_VERTICAL = 16;
16
+ export declare const FOOTER_PADDING_HORIZONTAL = 16;
17
+ export declare const FOOTER_PADDING_BOTTOM = 16;
18
+ export declare const FOOTER_PADDING_TOP = 24;
19
+ export declare const FOOTER_GAP = 8;
20
+ export declare const TITLE_FONT_SIZE = 18;
21
+ export declare const TITLE_LINE_HEIGHT = 26;
22
+ export declare const DESCRIPTION_FONT_SIZE = 16;
23
+ export declare const DESCRIPTION_LINE_HEIGHT = 24;
24
+ export declare const BACKDROP_OPACITY = 0.5;
25
+ export {};
26
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,8 @@
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import type { TwigsTheme } from '../theme';
3
+ import type { ModalSize } from './types';
4
+ export declare function getBackdropStyle(theme: TwigsTheme): ViewStyle;
5
+ export declare function getContentStyles(theme: TwigsTheme, size: ModalSize, screenWidth: number): ViewStyle;
6
+ export declare function getTitleStyles(theme: TwigsTheme): TextStyle;
7
+ export declare function getDescriptionStyles(theme: TwigsTheme): TextStyle;
8
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,9 @@
1
+ export { Modal } from './modal';
2
+ export { ModalContent } from './modal-content';
3
+ export { ModalHeader } from './modal-header';
4
+ export { ModalTitle } from './modal-title';
5
+ export { ModalDescription } from './modal-description';
6
+ export { ModalBody } from './modal-body';
7
+ export { ModalFooter } from './modal-footer';
8
+ export type { ModalProps, ModalContentProps, ModalHeaderProps, ModalTitleProps, ModalDescriptionProps, ModalBodyProps, ModalFooterProps, ModalSize, ModalAnimationType, } from './types';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { ModalBodyProps } from './types';
4
+ /**
5
+ * ModalBody renders the main content area between header and footer.
6
+ * Supports optional scrolling via the `scrollable` prop.
7
+ */
8
+ export declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<View>>;
9
+ //# sourceMappingURL=modal-body.d.ts.map
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { ModalContentProps } from './types';
4
+ /**
5
+ * ModalContent renders the white card container with rounded corners and shadow.
6
+ * Place inside Modal as the direct child.
7
+ */
8
+ export declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<View>>;
9
+ //# sourceMappingURL=modal-content.d.ts.map
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ModalDescriptionProps } from './types';
3
+ /**
4
+ * ModalDescription renders secondary descriptive text below the title.
5
+ */
6
+ export declare const ModalDescription: React.FC<ModalDescriptionProps>;
7
+ //# sourceMappingURL=modal-description.d.ts.map
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { ModalFooterProps } from './types';
4
+ /**
5
+ * ModalFooter renders the action area at the bottom of the modal.
6
+ * Children (typically Buttons) are laid out in a row with equal width.
7
+ */
8
+ export declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<View>>;
9
+ //# sourceMappingURL=modal-footer.d.ts.map
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { ModalHeaderProps } from './types';
4
+ /**
5
+ * ModalHeader renders a header section containing title and description.
6
+ * Centered layout with gap between children.
7
+ */
8
+ export declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<View>>;
9
+ //# sourceMappingURL=modal-header.d.ts.map
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ModalTitleProps } from './types';
3
+ /**
4
+ * ModalTitle renders the modal title text with bold typography.
5
+ */
6
+ export declare const ModalTitle: React.FC<ModalTitleProps>;
7
+ //# sourceMappingURL=modal-title.d.ts.map
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { ModalProps } from './types';
4
+ /**
5
+ * Modal root component wrapping React Native Modal.
6
+ * Provides a backdrop overlay and centers children.
7
+ *
8
+ * Mobile deviation: Uses `visible` prop instead of Radix Trigger/Close pattern.
9
+ * Android back button triggers `onClose` via `onRequestClose`.
10
+ */
11
+ export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<View>>;
12
+ //# sourceMappingURL=modal.d.ts.map
@@ -0,0 +1,38 @@
1
+ export declare const styles: {
2
+ overlay: {
3
+ flex: number;
4
+ justifyContent: "center";
5
+ alignItems: "center";
6
+ };
7
+ backdropPressable: {
8
+ position: "absolute";
9
+ left: 0;
10
+ right: 0;
11
+ top: 0;
12
+ bottom: 0;
13
+ };
14
+ content: {
15
+ overflow: "hidden";
16
+ };
17
+ header: {
18
+ paddingTop: number;
19
+ paddingHorizontal: number;
20
+ gap: number;
21
+ alignItems: "center";
22
+ };
23
+ body: {
24
+ paddingHorizontal: number;
25
+ paddingVertical: number;
26
+ };
27
+ footer: {
28
+ paddingHorizontal: number;
29
+ paddingBottom: number;
30
+ paddingTop: number;
31
+ flexDirection: "row";
32
+ gap: number;
33
+ };
34
+ footerChild: {
35
+ flex: number;
36
+ };
37
+ };
38
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,87 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { ViewProps, TextStyle } from 'react-native';
3
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
4
+ /** Modal size variants controlling content width */
5
+ export type ModalSize = 'sm' | 'md' | 'lg' | 'full';
6
+ /** Modal animation type */
7
+ export type ModalAnimationType = 'none' | 'fade' | 'slide';
8
+ /**
9
+ * Props for the Modal root component.
10
+ * Wraps React Native Modal with a backdrop overlay and centers children.
11
+ */
12
+ export interface ModalProps extends BaseAccessibilityProps {
13
+ /** Whether the modal is visible */
14
+ visible: boolean;
15
+ /** Called when the modal should close (backdrop press, Android back button) */
16
+ onClose?: () => void;
17
+ /** Whether pressing the backdrop closes the modal (default: true) */
18
+ closeOnBackdropPress?: boolean;
19
+ /** Animation type for the modal (default: 'fade') */
20
+ animationType?: ModalAnimationType;
21
+ /** Modal content — typically a ModalContent with sub-components */
22
+ children: ReactNode;
23
+ }
24
+ /**
25
+ * Props for the ModalContent component.
26
+ * White card container with rounded corners and shadow.
27
+ */
28
+ export interface ModalContentProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
29
+ /** Size variant controlling width (default: 'md') */
30
+ size?: ModalSize;
31
+ /** Content children — ModalHeader, ModalBody, ModalFooter, or custom content */
32
+ children: ReactNode;
33
+ }
34
+ /**
35
+ * Props for the ModalHeader component.
36
+ * Header section containing title and description.
37
+ */
38
+ export interface ModalHeaderProps extends Omit<ViewProps, 'style'>, CommonStyleProps {
39
+ /** Header children — typically ModalTitle and ModalDescription */
40
+ children: ReactNode;
41
+ }
42
+ /** Common text style props for text-based sub-components */
43
+ export interface ModalTextStyleProps {
44
+ /** Custom text styles (applied before style) */
45
+ css?: TextStyle;
46
+ /** Custom text styles (applied last for overrides) */
47
+ style?: TextStyle;
48
+ }
49
+ /**
50
+ * Props for the ModalTitle component.
51
+ * Title text displayed in the modal header.
52
+ */
53
+ export interface ModalTitleProps extends ModalTextStyleProps {
54
+ /** Title text content */
55
+ children: ReactNode;
56
+ /** Test ID */
57
+ testID?: string;
58
+ }
59
+ /**
60
+ * Props for the ModalDescription component.
61
+ * Description text displayed below the title.
62
+ */
63
+ export interface ModalDescriptionProps extends ModalTextStyleProps {
64
+ /** Description text content */
65
+ children: ReactNode;
66
+ /** Test ID */
67
+ testID?: string;
68
+ }
69
+ /**
70
+ * Props for the ModalBody component.
71
+ * Main content area between header and footer.
72
+ */
73
+ export interface ModalBodyProps extends Omit<ViewProps, 'style'>, CommonStyleProps {
74
+ /** Body content */
75
+ children: ReactNode;
76
+ /** Whether the body content is scrollable (default: false) */
77
+ scrollable?: boolean;
78
+ }
79
+ /**
80
+ * Props for the ModalFooter component.
81
+ * Action button area at the bottom of the modal.
82
+ */
83
+ export interface ModalFooterProps extends Omit<ViewProps, 'style'>, CommonStyleProps {
84
+ /** Footer children — typically Button components */
85
+ children: ReactNode;
86
+ }
87
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { RadioSize } from './types';
2
+ export interface RadioSizeConfig {
3
+ outerSize: number;
4
+ innerSize: number;
5
+ }
6
+ export declare const RADIO_SIZE_CONFIGS: Record<RadioSize, RadioSizeConfig>;
7
+ /** Resolved size config for a given radio size. */
8
+ export declare const getRadioSizeConfig: (size: RadioSize) => RadioSizeConfig;
9
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Radio } from './radio';
2
+ export type { RadioProps, RadioSize } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { RadioProps } from './types';
4
+ /** Radio button with outer ring and inner dot, supporting an optional label. */
5
+ export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=radio.d.ts.map
@@ -0,0 +1,24 @@
1
+ import type { TwigsTheme } from '../theme';
2
+ export declare const createRadioStyles: (theme: TwigsTheme) => {
3
+ outerCircle: {
4
+ borderWidth: number;
5
+ backgroundColor: string;
6
+ alignItems: "center";
7
+ justifyContent: "center";
8
+ };
9
+ innerCircle: {
10
+ backgroundColor: string;
11
+ };
12
+ labelContainer: {
13
+ marginLeft: number;
14
+ };
15
+ container: {
16
+ flexDirection: "row";
17
+ alignItems: "center";
18
+ alignSelf: "flex-start";
19
+ };
20
+ containerDisabled: {
21
+ opacity: number;
22
+ };
23
+ };
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,23 @@
1
+ import { ReactNode, RefObject } from 'react';
2
+ import { View, ViewStyle } from 'react-native';
3
+ import { CommonStyleProps, BaseAccessibilityProps } from '../utils';
4
+ export type RadioSize = 'sm' | 'md';
5
+ export interface RadioProps extends CommonStyleProps, BaseAccessibilityProps {
6
+ /** Whether this radio button is selected. @default false */
7
+ selected?: boolean;
8
+ /** Called with the toggled value when pressed. */
9
+ onSelect?: (selected: boolean) => void;
10
+ /** Whether the radio button is disabled. @default false */
11
+ disabled?: boolean;
12
+ /** Optional label rendered beside the radio circle. */
13
+ children?: ReactNode;
14
+ /** Size preset. @default 'sm' */
15
+ size?: RadioSize;
16
+ /** Ref forwarded to the outer Pressable container. */
17
+ containerRef?: RefObject<View>;
18
+ /** Style overrides for the label container. */
19
+ labelStyle?: ViewStyle;
20
+ /** Style overrides for the outer radio circle. */
21
+ radioStyle?: ViewStyle;
22
+ }
23
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,21 @@
1
+ import type { SegmentedButtonRounded } from './types';
2
+ export declare const CONTAINER_HEIGHT = 48;
3
+ export declare const SEGMENT_PADDING_HORIZONTAL = 20;
4
+ export declare const SEGMENT_FONT_SIZE = 14;
5
+ export declare const SEGMENT_LINE_HEIGHT = 20;
6
+ export declare const SEGMENT_LETTER_SPACING = 0.2;
7
+ export declare const SELECTED_BORDER_WIDTH = 1.5;
8
+ export declare const SELECTED_SHADOW: {
9
+ readonly shadowOffset: {
10
+ readonly width: 1;
11
+ readonly height: 1;
12
+ };
13
+ readonly shadowOpacity: 0.04;
14
+ readonly shadowRadius: 5;
15
+ };
16
+ export declare const SELECTED_ELEVATION = 2;
17
+ export declare const CONTAINER_BG_OPACITY = 0.08;
18
+ export declare const ROUNDED_RADII: Record<SegmentedButtonRounded, number>;
19
+ export declare const DEFAULT_ROUNDED: SegmentedButtonRounded;
20
+ export declare const SLIDE_DURATION = 200;
21
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,8 @@
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import type { TwigsTheme } from '../theme';
3
+ import type { SegmentedButtonRounded } from './types';
4
+ export declare function getContainerStyles(theme: TwigsTheme, rounded: SegmentedButtonRounded, fullWidth: boolean): ViewStyle;
5
+ export declare function getIndicatorStyles(theme: TwigsTheme, rounded: SegmentedButtonRounded): ViewStyle;
6
+ export declare function getSegmentTextStyles(theme: TwigsTheme, selected: boolean): TextStyle;
7
+ export declare function getSegmentPressedStyles(theme: TwigsTheme, rounded: SegmentedButtonRounded): ViewStyle;
8
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { SegmentedButton } from './segmented-button';
2
+ export type { SegmentedButtonProps, SegmentedButtonOption, SegmentedButtonRounded } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { SegmentedButtonProps } from './types';
4
+ /** Horizontal group of mutually exclusive options with an animated sliding indicator. */
5
+ export declare const SegmentedButton: React.ForwardRefExoticComponent<SegmentedButtonProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=segmented-button.d.ts.map
@@ -0,0 +1,24 @@
1
+ export declare const styles: {
2
+ container: {
3
+ flexDirection: "row";
4
+ alignItems: "center";
5
+ overflow: "hidden";
6
+ };
7
+ indicator: {
8
+ position: "absolute";
9
+ top: number;
10
+ bottom: number;
11
+ };
12
+ segment: {
13
+ flex: number;
14
+ flexDirection: "row";
15
+ alignItems: "center";
16
+ justifyContent: "center";
17
+ alignSelf: "stretch";
18
+ paddingHorizontal: number;
19
+ };
20
+ disabled: {
21
+ opacity: number;
22
+ };
23
+ };
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1,30 @@
1
+ import type { ViewProps } from 'react-native';
2
+ import type { CommonStyleProps, BaseAccessibilityProps } from '../utils';
3
+ /** Individual option in a segmented button group. */
4
+ export interface SegmentedButtonOption {
5
+ /** Unique value identifying this option. */
6
+ value: string;
7
+ /** Display label for this option. */
8
+ label: string;
9
+ /** Whether this individual option is disabled. */
10
+ disabled?: boolean;
11
+ }
12
+ export type SegmentedButtonRounded = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
13
+ /** Props for the SegmentedButton component. */
14
+ export interface SegmentedButtonProps extends Omit<ViewProps, 'style'>, CommonStyleProps, BaseAccessibilityProps {
15
+ /** Array of options to display as segments. */
16
+ options: SegmentedButtonOption[];
17
+ /** Currently selected value (controlled). */
18
+ value?: string;
19
+ /** Default selected value (uncontrolled). */
20
+ defaultValue?: string;
21
+ /** Called when the selected value changes. */
22
+ onChange?: (value: string) => void;
23
+ /** Border radius variant of the container and segments. */
24
+ rounded?: SegmentedButtonRounded;
25
+ /** Whether the entire segmented button is disabled. */
26
+ disabled?: boolean;
27
+ /** Whether the component should stretch to fill its parent width. */
28
+ fullWidth?: boolean;
29
+ }
30
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Separator } from './separator';
2
+ export type { SeparatorProps, SeparatorOrientation } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { SeparatorProps } from './types';
4
+ /** Visual divider line, horizontal or vertical, with optional decorative mode. */
5
+ export declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<View>>;
6
+ //# sourceMappingURL=separator.d.ts.map