@objectifthunes/limestone-sdk 0.1.7 → 0.1.9

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 (334) hide show
  1. package/README.md +50 -18
  2. package/dist/animations/confetti/confetti.d.ts +4 -0
  3. package/dist/animations/confetti/confetti.d.ts.map +1 -0
  4. package/dist/animations/confetti/confetti.js +10 -0
  5. package/dist/animations/confetti/confetti.js.map +1 -0
  6. package/dist/animations/confetti/index.d.ts +4 -0
  7. package/dist/animations/confetti/index.d.ts.map +1 -0
  8. package/dist/animations/confetti/index.js +3 -0
  9. package/dist/animations/confetti/index.js.map +1 -0
  10. package/dist/animations/confetti/types.d.ts +24 -0
  11. package/dist/animations/confetti/types.d.ts.map +1 -0
  12. package/dist/animations/confetti/types.js +2 -0
  13. package/dist/animations/confetti/types.js.map +1 -0
  14. package/dist/animations/confetti/use-confetti.d.ts +4 -0
  15. package/dist/animations/confetti/use-confetti.d.ts.map +1 -0
  16. package/dist/animations/confetti/use-confetti.js +35 -0
  17. package/dist/animations/confetti/use-confetti.js.map +1 -0
  18. package/dist/animations/error-shake/error-shake.d.ts +4 -0
  19. package/dist/animations/error-shake/error-shake.d.ts.map +1 -0
  20. package/dist/animations/error-shake/error-shake.js +10 -0
  21. package/dist/animations/error-shake/error-shake.js.map +1 -0
  22. package/dist/animations/error-shake/index.d.ts +4 -0
  23. package/dist/animations/error-shake/index.d.ts.map +1 -0
  24. package/dist/animations/error-shake/index.js +3 -0
  25. package/dist/animations/error-shake/index.js.map +1 -0
  26. package/dist/animations/error-shake/types.d.ts +14 -0
  27. package/dist/animations/error-shake/types.d.ts.map +1 -0
  28. package/dist/animations/error-shake/types.js +2 -0
  29. package/dist/animations/error-shake/types.js.map +1 -0
  30. package/dist/animations/error-shake/use-error-shake.d.ts +4 -0
  31. package/dist/animations/error-shake/use-error-shake.d.ts.map +1 -0
  32. package/dist/animations/error-shake/use-error-shake.js +15 -0
  33. package/dist/animations/error-shake/use-error-shake.js.map +1 -0
  34. package/dist/animations/index.d.ts +4 -0
  35. package/dist/animations/index.d.ts.map +1 -1
  36. package/dist/animations/index.js +2 -0
  37. package/dist/animations/index.js.map +1 -1
  38. package/dist/components/content/block-quote/block-quote.d.ts +4 -0
  39. package/dist/components/content/block-quote/block-quote.d.ts.map +1 -0
  40. package/dist/components/content/block-quote/block-quote.js +12 -0
  41. package/dist/components/content/block-quote/block-quote.js.map +1 -0
  42. package/dist/components/content/block-quote/index.d.ts +4 -0
  43. package/dist/components/content/block-quote/index.d.ts.map +1 -0
  44. package/dist/components/content/block-quote/index.js +4 -0
  45. package/dist/components/content/block-quote/index.js.map +1 -0
  46. package/dist/components/content/block-quote/types.d.ts +26 -0
  47. package/dist/components/content/block-quote/types.d.ts.map +1 -0
  48. package/dist/components/content/block-quote/types.js +2 -0
  49. package/dist/components/content/block-quote/types.js.map +1 -0
  50. package/dist/components/content/block-quote/use-block-quote.d.ts +4 -0
  51. package/dist/components/content/block-quote/use-block-quote.d.ts.map +1 -0
  52. package/dist/components/content/block-quote/use-block-quote.js +59 -0
  53. package/dist/components/content/block-quote/use-block-quote.js.map +1 -0
  54. package/dist/components/content/callout/callout.d.ts +4 -0
  55. package/dist/components/content/callout/callout.d.ts.map +1 -0
  56. package/dist/components/content/callout/callout.js +12 -0
  57. package/dist/components/content/callout/callout.js.map +1 -0
  58. package/dist/components/content/callout/index.d.ts +4 -0
  59. package/dist/components/content/callout/index.d.ts.map +1 -0
  60. package/dist/components/content/callout/index.js +4 -0
  61. package/dist/components/content/callout/index.js.map +1 -0
  62. package/dist/components/content/callout/types.d.ts +33 -0
  63. package/dist/components/content/callout/types.d.ts.map +1 -0
  64. package/dist/components/content/callout/types.js +2 -0
  65. package/dist/components/content/callout/types.js.map +1 -0
  66. package/dist/components/content/callout/use-callout.d.ts +4 -0
  67. package/dist/components/content/callout/use-callout.d.ts.map +1 -0
  68. package/dist/components/content/callout/use-callout.js +81 -0
  69. package/dist/components/content/callout/use-callout.js.map +1 -0
  70. package/dist/components/content/code-block/code-block.d.ts +4 -0
  71. package/dist/components/content/code-block/code-block.d.ts.map +1 -0
  72. package/dist/components/content/code-block/code-block.js +12 -0
  73. package/dist/components/content/code-block/code-block.js.map +1 -0
  74. package/dist/components/content/code-block/index.d.ts +4 -0
  75. package/dist/components/content/code-block/index.d.ts.map +1 -0
  76. package/dist/components/content/code-block/index.js +4 -0
  77. package/dist/components/content/code-block/index.js.map +1 -0
  78. package/dist/components/content/code-block/types.d.ts +35 -0
  79. package/dist/components/content/code-block/types.d.ts.map +1 -0
  80. package/dist/components/content/code-block/types.js +2 -0
  81. package/dist/components/content/code-block/types.js.map +1 -0
  82. package/dist/components/content/code-block/use-code-block.d.ts +4 -0
  83. package/dist/components/content/code-block/use-code-block.d.ts.map +1 -0
  84. package/dist/components/content/code-block/use-code-block.js +81 -0
  85. package/dist/components/content/code-block/use-code-block.js.map +1 -0
  86. package/dist/components/content/index.d.ts +11 -0
  87. package/dist/components/content/index.d.ts.map +1 -0
  88. package/dist/components/content/index.js +7 -0
  89. package/dist/components/content/index.js.map +1 -0
  90. package/dist/components/content/markdown-renderer/index.d.ts +4 -0
  91. package/dist/components/content/markdown-renderer/index.d.ts.map +1 -0
  92. package/dist/components/content/markdown-renderer/index.js +4 -0
  93. package/dist/components/content/markdown-renderer/index.js.map +1 -0
  94. package/dist/components/content/markdown-renderer/markdown-renderer.d.ts +4 -0
  95. package/dist/components/content/markdown-renderer/markdown-renderer.d.ts.map +1 -0
  96. package/dist/components/content/markdown-renderer/markdown-renderer.js +12 -0
  97. package/dist/components/content/markdown-renderer/markdown-renderer.js.map +1 -0
  98. package/dist/components/content/markdown-renderer/types.d.ts +40 -0
  99. package/dist/components/content/markdown-renderer/types.d.ts.map +1 -0
  100. package/dist/components/content/markdown-renderer/types.js +2 -0
  101. package/dist/components/content/markdown-renderer/types.js.map +1 -0
  102. package/dist/components/content/markdown-renderer/use-markdown-renderer.d.ts +4 -0
  103. package/dist/components/content/markdown-renderer/use-markdown-renderer.d.ts.map +1 -0
  104. package/dist/components/content/markdown-renderer/use-markdown-renderer.js +177 -0
  105. package/dist/components/content/markdown-renderer/use-markdown-renderer.js.map +1 -0
  106. package/dist/components/content/rich-text-editor/index.d.ts +4 -0
  107. package/dist/components/content/rich-text-editor/index.d.ts.map +1 -0
  108. package/dist/components/content/rich-text-editor/index.js +4 -0
  109. package/dist/components/content/rich-text-editor/index.js.map +1 -0
  110. package/dist/components/content/rich-text-editor/rich-text-editor.d.ts +4 -0
  111. package/dist/components/content/rich-text-editor/rich-text-editor.d.ts.map +1 -0
  112. package/dist/components/content/rich-text-editor/rich-text-editor.js +12 -0
  113. package/dist/components/content/rich-text-editor/rich-text-editor.js.map +1 -0
  114. package/dist/components/content/rich-text-editor/types.d.ts +37 -0
  115. package/dist/components/content/rich-text-editor/types.d.ts.map +1 -0
  116. package/dist/components/content/rich-text-editor/types.js +2 -0
  117. package/dist/components/content/rich-text-editor/types.js.map +1 -0
  118. package/dist/components/content/rich-text-editor/use-rich-text-editor.d.ts +4 -0
  119. package/dist/components/content/rich-text-editor/use-rich-text-editor.d.ts.map +1 -0
  120. package/dist/components/content/rich-text-editor/use-rich-text-editor.js +78 -0
  121. package/dist/components/content/rich-text-editor/use-rich-text-editor.js.map +1 -0
  122. package/dist/components/data-display/activity-ring/activity-ring.d.ts +4 -0
  123. package/dist/components/data-display/activity-ring/activity-ring.d.ts.map +1 -0
  124. package/dist/components/data-display/activity-ring/activity-ring.js +10 -0
  125. package/dist/components/data-display/activity-ring/activity-ring.js.map +1 -0
  126. package/dist/components/data-display/activity-ring/index.d.ts +4 -0
  127. package/dist/components/data-display/activity-ring/index.d.ts.map +1 -0
  128. package/dist/components/data-display/activity-ring/index.js +3 -0
  129. package/dist/components/data-display/activity-ring/index.js.map +1 -0
  130. package/dist/components/data-display/activity-ring/types.d.ts +35 -0
  131. package/dist/components/data-display/activity-ring/types.d.ts.map +1 -0
  132. package/dist/components/data-display/activity-ring/types.js +2 -0
  133. package/dist/components/data-display/activity-ring/types.js.map +1 -0
  134. package/dist/components/data-display/activity-ring/use-activity-ring.d.ts +4 -0
  135. package/dist/components/data-display/activity-ring/use-activity-ring.d.ts.map +1 -0
  136. package/dist/components/data-display/activity-ring/use-activity-ring.js +61 -0
  137. package/dist/components/data-display/activity-ring/use-activity-ring.js.map +1 -0
  138. package/dist/components/data-display/chart/chart.d.ts +4 -0
  139. package/dist/components/data-display/chart/chart.d.ts.map +1 -0
  140. package/dist/components/data-display/chart/chart.js +10 -0
  141. package/dist/components/data-display/chart/chart.js.map +1 -0
  142. package/dist/components/data-display/chart/index.d.ts +4 -0
  143. package/dist/components/data-display/chart/index.d.ts.map +1 -0
  144. package/dist/components/data-display/chart/index.js +3 -0
  145. package/dist/components/data-display/chart/index.js.map +1 -0
  146. package/dist/components/data-display/chart/types.d.ts +86 -0
  147. package/dist/components/data-display/chart/types.d.ts.map +1 -0
  148. package/dist/components/data-display/chart/types.js +2 -0
  149. package/dist/components/data-display/chart/types.js.map +1 -0
  150. package/dist/components/data-display/chart/use-chart.d.ts +4 -0
  151. package/dist/components/data-display/chart/use-chart.d.ts.map +1 -0
  152. package/dist/components/data-display/chart/use-chart.js +172 -0
  153. package/dist/components/data-display/chart/use-chart.js.map +1 -0
  154. package/dist/components/data-display/countdown-timer/countdown-timer.d.ts +4 -0
  155. package/dist/components/data-display/countdown-timer/countdown-timer.d.ts.map +1 -0
  156. package/dist/components/data-display/countdown-timer/countdown-timer.js +10 -0
  157. package/dist/components/data-display/countdown-timer/countdown-timer.js.map +1 -0
  158. package/dist/components/data-display/countdown-timer/index.d.ts +4 -0
  159. package/dist/components/data-display/countdown-timer/index.d.ts.map +1 -0
  160. package/dist/components/data-display/countdown-timer/index.js +3 -0
  161. package/dist/components/data-display/countdown-timer/index.js.map +1 -0
  162. package/dist/components/data-display/countdown-timer/types.d.ts +37 -0
  163. package/dist/components/data-display/countdown-timer/types.d.ts.map +1 -0
  164. package/dist/components/data-display/countdown-timer/types.js +2 -0
  165. package/dist/components/data-display/countdown-timer/types.js.map +1 -0
  166. package/dist/components/data-display/countdown-timer/use-countdown-timer.d.ts +4 -0
  167. package/dist/components/data-display/countdown-timer/use-countdown-timer.d.ts.map +1 -0
  168. package/dist/components/data-display/countdown-timer/use-countdown-timer.js +81 -0
  169. package/dist/components/data-display/countdown-timer/use-countdown-timer.js.map +1 -0
  170. package/dist/components/data-display/credit-card-display/credit-card-display.d.ts +4 -0
  171. package/dist/components/data-display/credit-card-display/credit-card-display.d.ts.map +1 -0
  172. package/dist/components/data-display/credit-card-display/credit-card-display.js +10 -0
  173. package/dist/components/data-display/credit-card-display/credit-card-display.js.map +1 -0
  174. package/dist/components/data-display/credit-card-display/index.d.ts +4 -0
  175. package/dist/components/data-display/credit-card-display/index.d.ts.map +1 -0
  176. package/dist/components/data-display/credit-card-display/index.js +3 -0
  177. package/dist/components/data-display/credit-card-display/index.js.map +1 -0
  178. package/dist/components/data-display/credit-card-display/types.d.ts +41 -0
  179. package/dist/components/data-display/credit-card-display/types.d.ts.map +1 -0
  180. package/dist/components/data-display/credit-card-display/types.js +2 -0
  181. package/dist/components/data-display/credit-card-display/types.js.map +1 -0
  182. package/dist/components/data-display/credit-card-display/use-credit-card-display.d.ts +4 -0
  183. package/dist/components/data-display/credit-card-display/use-credit-card-display.d.ts.map +1 -0
  184. package/dist/components/data-display/credit-card-display/use-credit-card-display.js +72 -0
  185. package/dist/components/data-display/credit-card-display/use-credit-card-display.js.map +1 -0
  186. package/dist/components/data-display/data-table/data-table.d.ts +4 -0
  187. package/dist/components/data-display/data-table/data-table.d.ts.map +1 -0
  188. package/dist/components/data-display/data-table/data-table.js +10 -0
  189. package/dist/components/data-display/data-table/data-table.js.map +1 -0
  190. package/dist/components/data-display/data-table/index.d.ts +4 -0
  191. package/dist/components/data-display/data-table/index.d.ts.map +1 -0
  192. package/dist/components/data-display/data-table/index.js +3 -0
  193. package/dist/components/data-display/data-table/index.js.map +1 -0
  194. package/dist/components/data-display/data-table/types.d.ts +51 -0
  195. package/dist/components/data-display/data-table/types.d.ts.map +1 -0
  196. package/dist/components/data-display/data-table/types.js +2 -0
  197. package/dist/components/data-display/data-table/types.js.map +1 -0
  198. package/dist/components/data-display/data-table/use-data-table.d.ts +4 -0
  199. package/dist/components/data-display/data-table/use-data-table.d.ts.map +1 -0
  200. package/dist/components/data-display/data-table/use-data-table.js +75 -0
  201. package/dist/components/data-display/data-table/use-data-table.js.map +1 -0
  202. package/dist/components/data-display/index.d.ts +10 -0
  203. package/dist/components/data-display/index.d.ts.map +1 -1
  204. package/dist/components/data-display/index.js +5 -0
  205. package/dist/components/data-display/index.js.map +1 -1
  206. package/dist/components/index.d.ts +15 -4
  207. package/dist/components/index.d.ts.map +1 -1
  208. package/dist/components/index.js +9 -2
  209. package/dist/components/index.js.map +1 -1
  210. package/dist/components/inputs/calendar/calendar.d.ts +4 -0
  211. package/dist/components/inputs/calendar/calendar.d.ts.map +1 -0
  212. package/dist/components/inputs/calendar/calendar.js +10 -0
  213. package/dist/components/inputs/calendar/calendar.js.map +1 -0
  214. package/dist/components/inputs/calendar/index.d.ts +4 -0
  215. package/dist/components/inputs/calendar/index.d.ts.map +1 -0
  216. package/dist/components/inputs/calendar/index.js +3 -0
  217. package/dist/components/inputs/calendar/index.js.map +1 -0
  218. package/dist/components/inputs/calendar/types.d.ts +52 -0
  219. package/dist/components/inputs/calendar/types.d.ts.map +1 -0
  220. package/dist/components/inputs/calendar/types.js +2 -0
  221. package/dist/components/inputs/calendar/types.js.map +1 -0
  222. package/dist/components/inputs/calendar/use-calendar.d.ts +4 -0
  223. package/dist/components/inputs/calendar/use-calendar.d.ts.map +1 -0
  224. package/dist/components/inputs/calendar/use-calendar.js +192 -0
  225. package/dist/components/inputs/calendar/use-calendar.js.map +1 -0
  226. package/dist/components/inputs/index.d.ts +4 -0
  227. package/dist/components/inputs/index.d.ts.map +1 -1
  228. package/dist/components/inputs/index.js +2 -0
  229. package/dist/components/inputs/index.js.map +1 -1
  230. package/dist/components/inputs/signature-pad/index.d.ts +4 -0
  231. package/dist/components/inputs/signature-pad/index.d.ts.map +1 -0
  232. package/dist/components/inputs/signature-pad/index.js +3 -0
  233. package/dist/components/inputs/signature-pad/index.js.map +1 -0
  234. package/dist/components/inputs/signature-pad/signature-pad.d.ts +4 -0
  235. package/dist/components/inputs/signature-pad/signature-pad.d.ts.map +1 -0
  236. package/dist/components/inputs/signature-pad/signature-pad.js +10 -0
  237. package/dist/components/inputs/signature-pad/signature-pad.js.map +1 -0
  238. package/dist/components/inputs/signature-pad/types.d.ts +47 -0
  239. package/dist/components/inputs/signature-pad/types.d.ts.map +1 -0
  240. package/dist/components/inputs/signature-pad/types.js +2 -0
  241. package/dist/components/inputs/signature-pad/types.js.map +1 -0
  242. package/dist/components/inputs/signature-pad/use-signature-pad.d.ts +4 -0
  243. package/dist/components/inputs/signature-pad/use-signature-pad.d.ts.map +1 -0
  244. package/dist/components/inputs/signature-pad/use-signature-pad.js +60 -0
  245. package/dist/components/inputs/signature-pad/use-signature-pad.js.map +1 -0
  246. package/dist/components/interactive/drag-to-reorder/drag-to-reorder.d.ts +4 -0
  247. package/dist/components/interactive/drag-to-reorder/drag-to-reorder.d.ts.map +1 -0
  248. package/dist/components/interactive/drag-to-reorder/drag-to-reorder.js +10 -0
  249. package/dist/components/interactive/drag-to-reorder/drag-to-reorder.js.map +1 -0
  250. package/dist/components/interactive/drag-to-reorder/index.d.ts +4 -0
  251. package/dist/components/interactive/drag-to-reorder/index.d.ts.map +1 -0
  252. package/dist/components/interactive/drag-to-reorder/index.js +3 -0
  253. package/dist/components/interactive/drag-to-reorder/index.js.map +1 -0
  254. package/dist/components/interactive/drag-to-reorder/types.d.ts +24 -0
  255. package/dist/components/interactive/drag-to-reorder/types.d.ts.map +1 -0
  256. package/dist/components/interactive/drag-to-reorder/types.js +2 -0
  257. package/dist/components/interactive/drag-to-reorder/types.js.map +1 -0
  258. package/dist/components/interactive/drag-to-reorder/use-drag-to-reorder.d.ts +4 -0
  259. package/dist/components/interactive/drag-to-reorder/use-drag-to-reorder.d.ts.map +1 -0
  260. package/dist/components/interactive/drag-to-reorder/use-drag-to-reorder.js +44 -0
  261. package/dist/components/interactive/drag-to-reorder/use-drag-to-reorder.js.map +1 -0
  262. package/dist/components/interactive/index.d.ts +10 -0
  263. package/dist/components/interactive/index.d.ts.map +1 -1
  264. package/dist/components/interactive/index.js +5 -0
  265. package/dist/components/interactive/index.js.map +1 -1
  266. package/dist/components/interactive/page-view/index.d.ts +4 -0
  267. package/dist/components/interactive/page-view/index.d.ts.map +1 -0
  268. package/dist/components/interactive/page-view/index.js +3 -0
  269. package/dist/components/interactive/page-view/index.js.map +1 -0
  270. package/dist/components/interactive/page-view/page-view.d.ts +4 -0
  271. package/dist/components/interactive/page-view/page-view.d.ts.map +1 -0
  272. package/dist/components/interactive/page-view/page-view.js +10 -0
  273. package/dist/components/interactive/page-view/page-view.js.map +1 -0
  274. package/dist/components/interactive/page-view/types.d.ts +24 -0
  275. package/dist/components/interactive/page-view/types.d.ts.map +1 -0
  276. package/dist/components/interactive/page-view/types.js +2 -0
  277. package/dist/components/interactive/page-view/types.js.map +1 -0
  278. package/dist/components/interactive/page-view/use-page-view.d.ts +4 -0
  279. package/dist/components/interactive/page-view/use-page-view.d.ts.map +1 -0
  280. package/dist/components/interactive/page-view/use-page-view.js +45 -0
  281. package/dist/components/interactive/page-view/use-page-view.js.map +1 -0
  282. package/dist/components/interactive/parallax-header/index.d.ts +4 -0
  283. package/dist/components/interactive/parallax-header/index.d.ts.map +1 -0
  284. package/dist/components/interactive/parallax-header/index.js +3 -0
  285. package/dist/components/interactive/parallax-header/index.js.map +1 -0
  286. package/dist/components/interactive/parallax-header/parallax-header.d.ts +4 -0
  287. package/dist/components/interactive/parallax-header/parallax-header.d.ts.map +1 -0
  288. package/dist/components/interactive/parallax-header/parallax-header.js +10 -0
  289. package/dist/components/interactive/parallax-header/parallax-header.js.map +1 -0
  290. package/dist/components/interactive/parallax-header/types.d.ts +16 -0
  291. package/dist/components/interactive/parallax-header/types.d.ts.map +1 -0
  292. package/dist/components/interactive/parallax-header/types.js +2 -0
  293. package/dist/components/interactive/parallax-header/types.js.map +1 -0
  294. package/dist/components/interactive/parallax-header/use-parallax-header.d.ts +4 -0
  295. package/dist/components/interactive/parallax-header/use-parallax-header.d.ts.map +1 -0
  296. package/dist/components/interactive/parallax-header/use-parallax-header.js +24 -0
  297. package/dist/components/interactive/parallax-header/use-parallax-header.js.map +1 -0
  298. package/dist/components/interactive/pinch-to-zoom/index.d.ts +4 -0
  299. package/dist/components/interactive/pinch-to-zoom/index.d.ts.map +1 -0
  300. package/dist/components/interactive/pinch-to-zoom/index.js +3 -0
  301. package/dist/components/interactive/pinch-to-zoom/index.js.map +1 -0
  302. package/dist/components/interactive/pinch-to-zoom/pinch-to-zoom.d.ts +4 -0
  303. package/dist/components/interactive/pinch-to-zoom/pinch-to-zoom.d.ts.map +1 -0
  304. package/dist/components/interactive/pinch-to-zoom/pinch-to-zoom.js +10 -0
  305. package/dist/components/interactive/pinch-to-zoom/pinch-to-zoom.js.map +1 -0
  306. package/dist/components/interactive/pinch-to-zoom/types.d.ts +25 -0
  307. package/dist/components/interactive/pinch-to-zoom/types.d.ts.map +1 -0
  308. package/dist/components/interactive/pinch-to-zoom/types.js +2 -0
  309. package/dist/components/interactive/pinch-to-zoom/types.js.map +1 -0
  310. package/dist/components/interactive/pinch-to-zoom/use-pinch-to-zoom.d.ts +4 -0
  311. package/dist/components/interactive/pinch-to-zoom/use-pinch-to-zoom.d.ts.map +1 -0
  312. package/dist/components/interactive/pinch-to-zoom/use-pinch-to-zoom.js +38 -0
  313. package/dist/components/interactive/pinch-to-zoom/use-pinch-to-zoom.js.map +1 -0
  314. package/dist/components/interactive/pull-to-refresh/index.d.ts +4 -0
  315. package/dist/components/interactive/pull-to-refresh/index.d.ts.map +1 -0
  316. package/dist/components/interactive/pull-to-refresh/index.js +3 -0
  317. package/dist/components/interactive/pull-to-refresh/index.js.map +1 -0
  318. package/dist/components/interactive/pull-to-refresh/pull-to-refresh.d.ts +4 -0
  319. package/dist/components/interactive/pull-to-refresh/pull-to-refresh.d.ts.map +1 -0
  320. package/dist/components/interactive/pull-to-refresh/pull-to-refresh.js +10 -0
  321. package/dist/components/interactive/pull-to-refresh/pull-to-refresh.js.map +1 -0
  322. package/dist/components/interactive/pull-to-refresh/types.d.ts +21 -0
  323. package/dist/components/interactive/pull-to-refresh/types.d.ts.map +1 -0
  324. package/dist/components/interactive/pull-to-refresh/types.js +2 -0
  325. package/dist/components/interactive/pull-to-refresh/types.js.map +1 -0
  326. package/dist/components/interactive/pull-to-refresh/use-pull-to-refresh.d.ts +4 -0
  327. package/dist/components/interactive/pull-to-refresh/use-pull-to-refresh.d.ts.map +1 -0
  328. package/dist/components/interactive/pull-to-refresh/use-pull-to-refresh.js +28 -0
  329. package/dist/components/interactive/pull-to-refresh/use-pull-to-refresh.js.map +1 -0
  330. package/dist/index.d.ts +16 -4
  331. package/dist/index.d.ts.map +1 -1
  332. package/dist/index.js +9 -2
  333. package/dist/index.js.map +1 -1
  334. package/package.json +1 -1
package/README.md CHANGED
@@ -1,36 +1,68 @@
1
- # @objectifthunes/limestone-sdk
1
+ # Limestone SDK
2
2
 
3
- Contracts-first, LLM-first mobile toolkit for React Native + Expo.
3
+ > Contracts-first, LLM-first mobile toolkit for React Native + Expo. 155+ headless components, 16 ports, hexagonal architecture.
4
4
 
5
- ## Architecture
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @objectifthunes/limestone-sdk
9
+ ```
6
10
 
7
- Ports (TypeScript interfaces) define contracts for native features. Adapters implement those ports for specific libraries (Expo modules by default). Headless UI components provide logic via hooks; theme adapters give them visuals.
11
+ ## What's Inside
12
+
13
+ | Category | Count | Highlights |
14
+ |----------|-------|------------|
15
+ | Primitives | 13 | Box, Text, Button, IconButton, Link, Skeleton... |
16
+ | Layout | 5 | Stack, Grid, ScrollView, SafeArea... |
17
+ | Inputs | 17 | TextInput, Select, DatePicker, Calendar, Autocomplete, SignaturePad... |
18
+ | Navigation | 9 | Header, TabBar, Tabs, CollapsibleHeader, PageIndicator... |
19
+ | Overlays | 6 | Modal, Tooltip, Menu, ContextMenu, Lightbox... |
20
+ | Feedback | 9 | Toast, Dialog, Badge, Banner, ConnectionStatus... |
21
+ | Data Display | 17 | Card, List, Chart, DataTable, ActivityRing, RatingStars... |
22
+ | Screens | 20 | Auth, Dashboard, ProductDetail, Cart, Feed, OrderTracking... |
23
+ | Media | 8 | VideoPlayer, Carousel, QRScanner, MapView, AudioPlayer... |
24
+ | Forms | 3 | Form, FormField, FormError |
25
+ | 3D | 6 | Scene3D, ModelViewer, Panorama360, BeforeAfter3D... |
26
+ | AR | 8 | ARView, ARPlacement, ARMeasure, ARNavigation... |
27
+ | Interactive | 6 | SwipeableRow, DragToReorder, PinchToZoom, ParallaxHeader... |
28
+ | Social | 5 | StoryRow, ReactionPicker, CommentThread, MentionInput... |
29
+ | Content | 5 | MarkdownRenderer, CodeBlock, RichTextEditor, BlockQuote, Callout |
30
+ | Animations | 8 | FadeIn, SlideUp, Shimmer, Confetti, ErrorShake... |
31
+
32
+ ## Architecture
8
33
 
9
34
  ```
10
35
  Ports (interfaces) → Core logic ← Adapters (implementations)
11
36
  ```
12
37
 
13
- ## Install
14
-
15
- ```bash
16
- npm install @objectifthunes/limestone-sdk
17
- ```
38
+ 16 ports for native features (biometrics, camera, location, etc.). 33 adapter factories across 4 subpaths (expo-*, r3f, viro, dev). Delete any adapter — core still compiles.
18
39
 
19
40
  ## Quick Start
20
41
 
21
- ```ts
22
- import { defineTheme, ThemeProvider } from '@objectifthunes/limestone-sdk';
23
- import { obsidianTheme } from '@objectifthunes/limestone-theme-obsidian';
42
+ ```tsx
43
+ import { defineConfig, LimestoneProvider } from '@objectifthunes/limestone-sdk';
44
+ import { obsidianTheme } from '@objectifthunes/limestone-sdk';
45
+ import { createExpoBiometrics } from '@objectifthunes/limestone-sdk/expo-biometrics';
46
+
47
+ const config = defineConfig({
48
+ theme: obsidianTheme,
49
+ adapters: { biometrics: createExpoBiometrics() },
50
+ });
24
51
 
25
- // Wrap your app root
26
- <ThemeProvider theme={obsidianTheme}>
27
- <App />
28
- </ThemeProvider>
52
+ export default function App() {
53
+ return (
54
+ <LimestoneProvider config={config}>
55
+ <RootNavigator />
56
+ </LimestoneProvider>
57
+ );
58
+ }
29
59
  ```
30
60
 
31
- ## Status
61
+ ## Documentation
32
62
 
33
- v0.1.0 Foundation phase. See CHANGELOG.md for progress.
63
+ - [Docs Site](https://objectifthunes.github.io/limestone-sdk)
64
+ - [CLAUDE.md](./CLAUDE.md) — Full API reference for LLMs
65
+ - [llms.txt](https://objectifthunes.github.io/limestone-sdk/llms.txt) — Machine-readable summary
34
66
 
35
67
  ## License
36
68
 
@@ -0,0 +1,4 @@
1
+ import { createElement } from 'react';
2
+ import type { ConfettiProps } from './types.js';
3
+ export declare function Confetti(props: ConfettiProps): ReturnType<typeof createElement>;
4
+ //# sourceMappingURL=confetti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confetti.d.ts","sourceRoot":"","sources":["../../../src/animations/confetti/confetti.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAK/E"}
@@ -0,0 +1,10 @@
1
+ import { createElement } from 'react';
2
+ import { View } from 'react-native';
3
+ import { useTheme } from '../../theme/context.js';
4
+ import { useConfetti } from './use-confetti.js';
5
+ export function Confetti(props) {
6
+ const { tokens } = useTheme();
7
+ const { containerStyle } = useConfetti(tokens, props);
8
+ return createElement(View, { style: containerStyle });
9
+ }
10
+ //# sourceMappingURL=confetti.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confetti.js","sourceRoot":"","sources":["../../../src/animations/confetti/confetti.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC3C,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9B,MAAM,EAAE,cAAc,EAAE,GAAG,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAEtD,OAAO,aAAa,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC,CAAC;AACxD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Confetti } from './confetti.js';
2
+ export { useConfetti } from './use-confetti.js';
3
+ export type { ConfettiProps, ConfettiParticle, UseConfettiResult } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/confetti/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Confetti } from './confetti.js';
2
+ export { useConfetti } from './use-confetti.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/animations/confetti/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { ResolvedBoxStyle } from '../../components/use-component-style.js';
2
+ export interface ConfettiParticle {
3
+ id: string;
4
+ x: number;
5
+ y: number;
6
+ rotation: number;
7
+ color: string;
8
+ size: number;
9
+ }
10
+ export interface ConfettiProps {
11
+ trigger: boolean;
12
+ colors?: string[];
13
+ particleCount?: number;
14
+ duration?: number;
15
+ spread?: number;
16
+ }
17
+ export interface UseConfettiResult {
18
+ containerStyle: ResolvedBoxStyle;
19
+ isAnimating: boolean;
20
+ particles: ConfettiParticle[];
21
+ duration: number;
22
+ spread: number;
23
+ }
24
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/animations/confetti/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,gBAAgB,CAAC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/animations/confetti/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ThemeTokens } from '../../theme/tokens.js';
2
+ import type { ConfettiProps, UseConfettiResult } from './types.js';
3
+ export declare function useConfetti(tokens: ThemeTokens, props: ConfettiProps): UseConfettiResult;
4
+ //# sourceMappingURL=use-confetti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-confetti.d.ts","sourceRoot":"","sources":["../../../src/animations/confetti/use-confetti.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAoB,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGrF,wBAAgB,WAAW,CACzB,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,aAAa,GACnB,iBAAiB,CA0CnB"}
@@ -0,0 +1,35 @@
1
+ export function useConfetti(tokens, props) {
2
+ const { trigger, colors = [
3
+ tokens.colors.primary,
4
+ tokens.colors.accent,
5
+ '#22c55e',
6
+ '#eab308',
7
+ '#ef4444',
8
+ ], particleCount = 50, duration = 2000, spread = 60, } = props;
9
+ const containerStyle = {
10
+ position: 'absolute',
11
+ top: 0,
12
+ left: 0,
13
+ right: 0,
14
+ bottom: 0,
15
+ pointerEvents: 'none',
16
+ };
17
+ const particles = trigger
18
+ ? Array.from({ length: particleCount }, (_, i) => ({
19
+ id: `particle-${i}`,
20
+ x: 0.2 + (i / (particleCount - 1 || 1)) * 0.6,
21
+ y: 0.5,
22
+ rotation: (i * 137.5) % 360,
23
+ color: colors[i % colors.length],
24
+ size: 6 + (i % 7),
25
+ }))
26
+ : [];
27
+ return {
28
+ containerStyle,
29
+ isAnimating: trigger,
30
+ particles,
31
+ duration,
32
+ spread,
33
+ };
34
+ }
35
+ //# sourceMappingURL=use-confetti.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-confetti.js","sourceRoot":"","sources":["../../../src/animations/confetti/use-confetti.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CACzB,MAAmB,EACnB,KAAoB;IAEpB,MAAM,EACJ,OAAO,EACP,MAAM,GAAG;QACP,MAAM,CAAC,MAAM,CAAC,OAAO;QACrB,MAAM,CAAC,MAAM,CAAC,MAAM;QACpB,SAAS;QACT,SAAS;QACT,SAAS;KACV,EACD,aAAa,GAAG,EAAE,EAClB,QAAQ,GAAG,IAAI,EACf,MAAM,GAAG,EAAE,GACZ,GAAG,KAAK,CAAC;IAEV,MAAM,cAAc,GAAqB;QACvC,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,aAAa,EAAE,MAAM;KACF,CAAC;IAEtB,MAAM,SAAS,GAAuB,OAAO;QAC3C,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YAC/C,EAAE,EAAE,YAAY,CAAC,EAAE;YACnB,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG;YAC7C,CAAC,EAAE,GAAG;YACN,QAAQ,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,GAAG;YAC3B,KAAK,EAAE,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAE;YACjC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;SAClB,CAAC,CAAC;QACL,CAAC,CAAC,EAAE,CAAC;IAEP,OAAO;QACL,cAAc;QACd,WAAW,EAAE,OAAO;QACpB,SAAS;QACT,QAAQ;QACR,MAAM;KACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { createElement } from 'react';
2
+ import type { ErrorShakeProps } from './types.js';
3
+ export declare function ErrorShake(props: ErrorShakeProps): ReturnType<typeof createElement>;
4
+ //# sourceMappingURL=error-shake.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-shake.d.ts","sourceRoot":"","sources":["../../../src/animations/error-shake/error-shake.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAKnF"}
@@ -0,0 +1,10 @@
1
+ import { createElement } from 'react';
2
+ import { View } from 'react-native';
3
+ import { useTheme } from '../../theme/context.js';
4
+ import { useErrorShake } from './use-error-shake.js';
5
+ export function ErrorShake(props) {
6
+ const { tokens } = useTheme();
7
+ const { shakeStyle } = useErrorShake(tokens, props);
8
+ return createElement(View, { style: shakeStyle });
9
+ }
10
+ //# sourceMappingURL=error-shake.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-shake.js","sourceRoot":"","sources":["../../../src/animations/error-shake/error-shake.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,UAAU,UAAU,CAAC,KAAsB;IAC/C,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9B,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAEpD,OAAO,aAAa,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACpD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ErrorShake } from './error-shake.js';
2
+ export { useErrorShake } from './use-error-shake.js';
3
+ export type { ErrorShakeProps, UseErrorShakeResult } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/error-shake/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ErrorShake } from './error-shake.js';
2
+ export { useErrorShake } from './use-error-shake.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/animations/error-shake/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { ResolvedBoxStyle } from '../../components/use-component-style.js';
2
+ export interface ErrorShakeProps {
3
+ trigger: boolean;
4
+ intensity?: number;
5
+ oscillations?: number;
6
+ speed?: number;
7
+ }
8
+ export interface UseErrorShakeResult {
9
+ shakeStyle: ResolvedBoxStyle;
10
+ isShaking: boolean;
11
+ totalDuration: number;
12
+ keyframes: number[];
13
+ }
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/animations/error-shake/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/animations/error-shake/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ThemeTokens } from '../../theme/tokens.js';
2
+ import type { ErrorShakeProps, UseErrorShakeResult } from './types.js';
3
+ export declare function useErrorShake(_tokens: ThemeTokens, props: ErrorShakeProps): UseErrorShakeResult;
4
+ //# sourceMappingURL=use-error-shake.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-error-shake.d.ts","sourceRoot":"","sources":["../../../src/animations/error-shake/use-error-shake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGvE,wBAAgB,aAAa,CAC3B,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,eAAe,GACrB,mBAAmB,CAqBrB"}
@@ -0,0 +1,15 @@
1
+ export function useErrorShake(_tokens, props) {
2
+ const { trigger, intensity = 8, oscillations = 3, speed = 50, } = props;
3
+ const keyframes = [0, intensity, -intensity, intensity / 2, -intensity / 2, 0];
4
+ const totalDuration = oscillations * 2 * speed;
5
+ const shakeStyle = {
6
+ transform: [{ translateX: 0 }],
7
+ };
8
+ return {
9
+ shakeStyle,
10
+ isShaking: trigger,
11
+ totalDuration,
12
+ keyframes,
13
+ };
14
+ }
15
+ //# sourceMappingURL=use-error-shake.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-error-shake.js","sourceRoot":"","sources":["../../../src/animations/error-shake/use-error-shake.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,aAAa,CAC3B,OAAoB,EACpB,KAAsB;IAEtB,MAAM,EACJ,OAAO,EACP,SAAS,GAAG,CAAC,EACb,YAAY,GAAG,CAAC,EAChB,KAAK,GAAG,EAAE,GACX,GAAG,KAAK,CAAC;IAEV,MAAM,SAAS,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,SAAS,EAAE,SAAS,GAAG,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,aAAa,GAAG,YAAY,GAAG,CAAC,GAAG,KAAK,CAAC;IAE/C,MAAM,UAAU,GAAqB;QACnC,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;KACX,CAAC;IAEtB,OAAO;QACL,UAAU;QACV,SAAS,EAAE,OAAO;QAClB,aAAa;QACb,SAAS;KACV,CAAC;AACJ,CAAC"}
@@ -2,4 +2,8 @@ export { FadeIn, SlideUp, ScalePress, SpringBounce, Stagger } from './primitives
2
2
  export type { FadeInProps, SlideUpProps, ScalePressProps, SpringBounceProps, StaggerProps } from './primitives.js';
3
3
  export { Shimmer, useShimmer } from './shimmer/index.js';
4
4
  export type { ShimmerProps, UseShimmerResult } from './shimmer/index.js';
5
+ export { Confetti, useConfetti } from './confetti/index.js';
6
+ export type { ConfettiProps, ConfettiParticle, UseConfettiResult } from './confetti/index.js';
7
+ export { ErrorShake, useErrorShake } from './error-shake/index.js';
8
+ export type { ErrorShakeProps, UseErrorShakeResult } from './error-shake/index.js';
5
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrF,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEnH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrF,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEnH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEzE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export { FadeIn, SlideUp, ScalePress, SpringBounce, Stagger } from './primitives.js';
2
2
  export { Shimmer, useShimmer } from './shimmer/index.js';
3
+ export { Confetti, useConfetti } from './confetti/index.js';
4
+ export { ErrorShake, useErrorShake } from './error-shake/index.js';
3
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/animations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAGrF,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { View, type ViewProps } from 'react-native';
2
+ import type { BlockQuoteProps } from './types.js';
3
+ export declare const BlockQuote: import("react").ForwardRefExoticComponent<BlockQuoteProps & Omit<ViewProps, keyof BlockQuoteProps> & import("react").RefAttributes<View>>;
4
+ //# sourceMappingURL=block-quote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-quote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/block-quote/block-quote.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,eAAO,MAAM,UAAU,2IA4BrB,CAAC"}
@@ -0,0 +1,12 @@
1
+ // src/components/content/block-quote/block-quote.tsx
2
+ import { forwardRef, createElement } from 'react';
3
+ import { View } from 'react-native';
4
+ import { useTheme } from '../../../theme/context.js';
5
+ import { useBlockQuote } from './use-block-quote.js';
6
+ export const BlockQuote = forwardRef(function BlockQuote(props, ref) {
7
+ const { tokens } = useTheme();
8
+ const { children, author: _author, source: _source, variant: _variant, size: _size, bg: _bg, p: _p, px: _px, py: _py, pt: _pt, pb: _pb, pl: _pl, pr: _pr, m: _m, mx: _mx, my: _my, mt: _mt, mb: _mb, ml: _ml, mr: _mr, rounded: _r, shadow: _sh, flex: _f, row: _row, center: _cen, w: _w, h: _h, borderWidth: _bw, borderColor: _bc, opacity: _op, overflow: _ov, position: _pos, top: _top, bottom: _bot, left: _left, right: _right, zIndex: _zi, accessibilityLabel: _al, testID, ...rest } = props;
9
+ const { containerStyle, accessibilityProps } = useBlockQuote(tokens, props);
10
+ return createElement(View, { ref, style: containerStyle, ...accessibilityProps, testID, ...rest }, children);
11
+ });
12
+ //# sourceMappingURL=block-quote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-quote.js","sourceRoot":"","sources":["../../../../src/components/content/block-quote/block-quote.tsx"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,OAAO,EAAE,UAAU,EAAE,aAAa,EAA4B,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,UAAU,CACtD,KAA+D,EAC/D,GAAc;IAEd,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9B,MAAM,EACJ,QAAQ,EACR,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EACpE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAC3D,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAC9D,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAC/F,kBAAkB,EAAE,GAAG,EACvB,MAAM,EACN,GAAG,IAAI,EACR,GAAG,KAAK,CAAC;IAEV,MAAM,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAE5E,OAAO,aAAa,CAClB,IAAW,EACX,EAAE,GAAG,EAAE,KAAK,EAAE,cAAqB,EAAE,GAAG,kBAAkB,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAC7E,QAAqB,CACtB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { BlockQuote } from './block-quote.js';
2
+ export { useBlockQuote } from './use-block-quote.js';
3
+ export type { BlockQuoteProps, UseBlockQuoteResult } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/block-quote/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ // src/components/content/block-quote/index.ts
2
+ export { BlockQuote } from './block-quote.js';
3
+ export { useBlockQuote } from './use-block-quote.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/content/block-quote/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import type { BoxStyleProps } from '../../types.js';
3
+ export interface BlockQuoteProps extends BoxStyleProps {
4
+ children?: unknown;
5
+ author?: string;
6
+ source?: string;
7
+ variant?: 'default' | 'highlight';
8
+ size?: 'sm' | 'md' | 'lg';
9
+ accessibilityLabel?: string;
10
+ testID?: string;
11
+ }
12
+ export interface UseBlockQuoteResult {
13
+ containerStyle: ViewStyle;
14
+ textStyle: TextStyle;
15
+ authorStyle: TextStyle;
16
+ sourceStyle: TextStyle;
17
+ quoteMarkStyle: TextStyle;
18
+ showAuthor: boolean;
19
+ showSource: boolean;
20
+ showQuoteMark: boolean;
21
+ accessibilityProps: {
22
+ accessibilityLabel: string;
23
+ accessibilityRole: 'text';
24
+ };
25
+ }
26
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/content/block-quote/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,aAAa;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,SAAS,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,SAAS,CAAC;IACvB,WAAW,EAAE,SAAS,CAAC;IACvB,cAAc,EAAE,SAAS,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,kBAAkB,EAAE;QAClB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/components/content/block-quote/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ThemeTokens } from '../../../theme/tokens.js';
2
+ import type { BlockQuoteProps, UseBlockQuoteResult } from './types.js';
3
+ export declare function useBlockQuote(tokens: ThemeTokens, props: BlockQuoteProps): UseBlockQuoteResult;
4
+ //# sourceMappingURL=use-block-quote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-block-quote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/block-quote/use-block-quote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAQvE,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,eAAe,GACrB,mBAAmB,CAmErB"}
@@ -0,0 +1,59 @@
1
+ const SIZE_MAP = {
2
+ sm: 14,
3
+ md: 16,
4
+ lg: 18,
5
+ };
6
+ export function useBlockQuote(tokens, props) {
7
+ const { author, source, variant = 'default', size = 'md', accessibilityLabel, } = props;
8
+ const fontSize = SIZE_MAP[size] ?? 16;
9
+ const showAuthor = !!author;
10
+ const showSource = !!source;
11
+ const showQuoteMark = variant === 'highlight';
12
+ const borderLeftColor = variant === 'highlight' ? tokens.colors.primary : tokens.colors.muted;
13
+ const containerStyle = {
14
+ borderLeftWidth: 3,
15
+ borderLeftColor,
16
+ paddingLeft: tokens.spacing.md,
17
+ paddingVertical: tokens.spacing.sm,
18
+ marginBottom: tokens.spacing.sm,
19
+ };
20
+ const textStyle = {
21
+ fontStyle: 'italic',
22
+ fontSize,
23
+ color: tokens.colors.foreground,
24
+ lineHeight: fontSize * tokens.typography.lineHeights.relaxed,
25
+ };
26
+ const authorStyle = {
27
+ fontSize: tokens.typography.sizes.sm,
28
+ fontWeight: tokens.typography.weights.bold,
29
+ color: tokens.colors.foreground,
30
+ marginTop: tokens.spacing.sm,
31
+ };
32
+ const sourceStyle = {
33
+ fontSize: tokens.typography.sizes.xs,
34
+ color: tokens.colors.mutedForeground,
35
+ fontStyle: 'italic',
36
+ };
37
+ const quoteMarkStyle = {
38
+ fontSize: tokens.typography.sizes['4xl'],
39
+ color: tokens.colors.primary,
40
+ opacity: 0.3,
41
+ lineHeight: tokens.typography.sizes['4xl'] * 0.8,
42
+ marginBottom: -tokens.spacing.xs,
43
+ };
44
+ return {
45
+ containerStyle,
46
+ textStyle,
47
+ authorStyle,
48
+ sourceStyle,
49
+ quoteMarkStyle,
50
+ showAuthor,
51
+ showSource,
52
+ showQuoteMark,
53
+ accessibilityProps: {
54
+ accessibilityLabel: accessibilityLabel ?? 'Block quote',
55
+ accessibilityRole: 'text',
56
+ },
57
+ };
58
+ }
59
+ //# sourceMappingURL=use-block-quote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-block-quote.js","sourceRoot":"","sources":["../../../../src/components/content/block-quote/use-block-quote.ts"],"names":[],"mappings":"AAIA,MAAM,QAAQ,GAA2B;IACvC,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,UAAU,aAAa,CAC3B,MAAmB,EACnB,KAAsB;IAEtB,MAAM,EACJ,MAAM,EACN,MAAM,EACN,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,IAAI,EACX,kBAAkB,GACnB,GAAG,KAAK,CAAC;IAEV,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACtC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,MAAM,aAAa,GAAG,OAAO,KAAK,WAAW,CAAC;IAE9C,MAAM,eAAe,GACnB,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAExE,MAAM,cAAc,GAAG;QACrB,eAAe,EAAE,CAAC;QAClB,eAAe;QACf,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;QAC9B,eAAe,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;QAClC,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;KAChC,CAAC;IAEF,MAAM,SAAS,GAAG;QAChB,SAAS,EAAE,QAAiB;QAC5B,QAAQ;QACR,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU;QAC/B,UAAU,EAAE,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO;KAC7D,CAAC;IAEF,MAAM,WAAW,GAAG;QAClB,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;QACpC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI;QAC1C,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU;QAC/B,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;KAC7B,CAAC;IAEF,MAAM,WAAW,GAAG;QAClB,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;QACpC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe;QACpC,SAAS,EAAE,QAAiB;KAC7B,CAAC;IAEF,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;QACxC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;QAC5B,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG;QAChD,YAAY,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;KACjC,CAAC;IAEF,OAAO;QACL,cAAc;QACd,SAAS;QACT,WAAW;QACX,WAAW;QACX,cAAc;QACd,UAAU;QACV,UAAU;QACV,aAAa;QACb,kBAAkB,EAAE;YAClB,kBAAkB,EAAE,kBAAkB,IAAI,aAAa;YACvD,iBAAiB,EAAE,MAAM;SAC1B;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { View, type ViewProps } from 'react-native';
2
+ import type { CalloutProps } from './types.js';
3
+ export declare const Callout: import("react").ForwardRefExoticComponent<CalloutProps & Omit<ViewProps, keyof CalloutProps> & import("react").RefAttributes<View>>;
4
+ //# sourceMappingURL=callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../../../src/components/content/callout/callout.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,eAAO,MAAM,OAAO,qIA4BlB,CAAC"}
@@ -0,0 +1,12 @@
1
+ // src/components/content/callout/callout.tsx
2
+ import { forwardRef, createElement } from 'react';
3
+ import { View } from 'react-native';
4
+ import { useTheme } from '../../../theme/context.js';
5
+ import { useCallout } from './use-callout.js';
6
+ export const Callout = forwardRef(function Callout(props, ref) {
7
+ const { tokens } = useTheme();
8
+ const { type: _type, title: _title, message: _message, icon: _icon, dismissible: _dismissible, onDismiss: _onDismiss, bg: _bg, p: _p, px: _px, py: _py, pt: _pt, pb: _pb, pl: _pl, pr: _pr, m: _m, mx: _mx, my: _my, mt: _mt, mb: _mb, ml: _ml, mr: _mr, rounded: _r, shadow: _sh, flex: _f, row: _row, center: _cen, w: _w, h: _h, borderWidth: _bw, borderColor: _bc, opacity: _op, overflow: _ov, position: _pos, top: _top, bottom: _bot, left: _left, right: _right, zIndex: _zi, accessibilityLabel: _al, testID, ...rest } = props;
9
+ const { containerStyle, accessibilityProps } = useCallout(tokens, props);
10
+ return createElement(View, { ref, style: containerStyle, ...accessibilityProps, testID, ...rest });
11
+ });
12
+ //# sourceMappingURL=callout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout.js","sourceRoot":"","sources":["../../../../src/components/content/callout/callout.tsx"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAY,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,OAAO,CAChD,KAAyD,EACzD,GAAc;IAEd,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC9B,MAAM,EACJ,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,WAAW,EAAE,YAAY,EACzB,SAAS,EAAE,UAAU,EACrB,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EACpE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAC3D,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAC9D,QAAQ,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAC/F,kBAAkB,EAAE,GAAG,EACvB,MAAM,EACN,GAAG,IAAI,EACR,GAAG,KAAK,CAAC;IAEV,MAAM,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAEzE,OAAO,aAAa,CAClB,IAAW,EACX,EAAE,GAAG,EAAE,KAAK,EAAE,cAAqB,EAAE,GAAG,kBAAkB,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,CAC9E,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { Callout } from './callout.js';
2
+ export { useCallout } from './use-callout.js';
3
+ export type { CalloutProps, UseCalloutResult, CalloutType } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/callout/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ // src/components/content/callout/index.ts
2
+ export { Callout } from './callout.js';
3
+ export { useCallout } from './use-callout.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/content/callout/index.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import type { BoxStyleProps } from '../../types.js';
3
+ export type CalloutType = 'info' | 'warning' | 'error' | 'tip';
4
+ export interface CalloutProps extends BoxStyleProps {
5
+ type: CalloutType;
6
+ title?: string;
7
+ message: string;
8
+ icon?: string;
9
+ dismissible?: boolean;
10
+ onDismiss?: () => void;
11
+ accessibilityLabel?: string;
12
+ testID?: string;
13
+ }
14
+ export interface UseCalloutResult {
15
+ containerStyle: ViewStyle;
16
+ headerRowStyle: ViewStyle;
17
+ titleRowStyle: ViewStyle;
18
+ titleStyle: TextStyle;
19
+ messageStyle: TextStyle;
20
+ iconColor: string;
21
+ iconSize: number;
22
+ dismissButtonStyle: ViewStyle;
23
+ dismissIconColor: string;
24
+ showTitle: boolean;
25
+ showIcon: boolean;
26
+ showDismiss: boolean;
27
+ accessibilityProps: {
28
+ accessibilityLabel: string;
29
+ accessibilityRole: 'alert' | 'note';
30
+ accessibilityLiveRegion: 'assertive' | 'polite';
31
+ };
32
+ }
33
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/content/callout/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,SAAS,CAAC;IAC1B,cAAc,EAAE,SAAS,CAAC;IAC1B,aAAa,EAAE,SAAS,CAAC;IACzB,UAAU,EAAE,SAAS,CAAC;IACtB,YAAY,EAAE,SAAS,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,SAAS,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE;QAClB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,iBAAiB,EAAE,OAAO,GAAG,MAAM,CAAC;QACpC,uBAAuB,EAAE,WAAW,GAAG,QAAQ,CAAC;KACjD,CAAC;CACH"}