@erquhart/heroui-native 1.0.0-beta.10.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 (1342) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +109 -0
  3. package/lib/module/components/accordion/accordion.animation.js +145 -0
  4. package/lib/module/components/accordion/accordion.animation.js.map +1 -0
  5. package/lib/module/components/accordion/accordion.constants.js +53 -0
  6. package/lib/module/components/accordion/accordion.constants.js.map +1 -0
  7. package/lib/module/components/accordion/accordion.js +288 -0
  8. package/lib/module/components/accordion/accordion.js.map +1 -0
  9. package/lib/module/components/accordion/accordion.md +406 -0
  10. package/lib/module/components/accordion/accordion.styles.js +90 -0
  11. package/lib/module/components/accordion/accordion.styles.js.map +1 -0
  12. package/lib/module/components/accordion/accordion.types.js +4 -0
  13. package/lib/module/components/accordion/accordion.types.js.map +1 -0
  14. package/lib/module/components/accordion/chevron-down-icon.js +24 -0
  15. package/lib/module/components/accordion/chevron-down-icon.js.map +1 -0
  16. package/lib/module/components/accordion/index.js +5 -0
  17. package/lib/module/components/accordion/index.js.map +1 -0
  18. package/lib/module/components/avatar/avatar.animation.js +111 -0
  19. package/lib/module/components/avatar/avatar.animation.js.map +1 -0
  20. package/lib/module/components/avatar/avatar.constants.js +20 -0
  21. package/lib/module/components/avatar/avatar.constants.js.map +1 -0
  22. package/lib/module/components/avatar/avatar.context.js +11 -0
  23. package/lib/module/components/avatar/avatar.context.js.map +1 -0
  24. package/lib/module/components/avatar/avatar.js +222 -0
  25. package/lib/module/components/avatar/avatar.js.map +1 -0
  26. package/lib/module/components/avatar/avatar.md +376 -0
  27. package/lib/module/components/avatar/avatar.styles.js +150 -0
  28. package/lib/module/components/avatar/avatar.styles.js.map +1 -0
  29. package/lib/module/components/avatar/avatar.types.js +4 -0
  30. package/lib/module/components/avatar/avatar.types.js.map +1 -0
  31. package/lib/module/components/avatar/index.js +4 -0
  32. package/lib/module/components/avatar/index.js.map +1 -0
  33. package/lib/module/components/avatar/person-icon.js +23 -0
  34. package/lib/module/components/avatar/person-icon.js.map +1 -0
  35. package/lib/module/components/bottom-sheet/bottom-sheet.animation.js +37 -0
  36. package/lib/module/components/bottom-sheet/bottom-sheet.animation.js.map +1 -0
  37. package/lib/module/components/bottom-sheet/bottom-sheet.constants.js +16 -0
  38. package/lib/module/components/bottom-sheet/bottom-sheet.constants.js.map +1 -0
  39. package/lib/module/components/bottom-sheet/bottom-sheet.js +329 -0
  40. package/lib/module/components/bottom-sheet/bottom-sheet.js.map +1 -0
  41. package/lib/module/components/bottom-sheet/bottom-sheet.md +341 -0
  42. package/lib/module/components/bottom-sheet/bottom-sheet.styles.js +61 -0
  43. package/lib/module/components/bottom-sheet/bottom-sheet.styles.js.map +1 -0
  44. package/lib/module/components/bottom-sheet/bottom-sheet.types.js +4 -0
  45. package/lib/module/components/bottom-sheet/bottom-sheet.types.js.map +1 -0
  46. package/lib/module/components/bottom-sheet/index.js +4 -0
  47. package/lib/module/components/bottom-sheet/index.js.map +1 -0
  48. package/lib/module/components/button/button.constants.js +10 -0
  49. package/lib/module/components/button/button.constants.js.map +1 -0
  50. package/lib/module/components/button/button.js +201 -0
  51. package/lib/module/components/button/button.js.map +1 -0
  52. package/lib/module/components/button/button.md +316 -0
  53. package/lib/module/components/button/button.styles.js +88 -0
  54. package/lib/module/components/button/button.styles.js.map +1 -0
  55. package/lib/module/components/button/button.types.js +4 -0
  56. package/lib/module/components/button/button.types.js.map +1 -0
  57. package/lib/module/components/button/index.js +4 -0
  58. package/lib/module/components/button/index.js.map +1 -0
  59. package/lib/module/components/card/card.constants.js +14 -0
  60. package/lib/module/components/card/card.constants.js.map +1 -0
  61. package/lib/module/components/card/card.js +169 -0
  62. package/lib/module/components/card/card.js.map +1 -0
  63. package/lib/module/components/card/card.md +187 -0
  64. package/lib/module/components/card/card.styles.js +32 -0
  65. package/lib/module/components/card/card.styles.js.map +1 -0
  66. package/lib/module/components/card/card.types.js +4 -0
  67. package/lib/module/components/card/card.types.js.map +1 -0
  68. package/lib/module/components/card/index.js +4 -0
  69. package/lib/module/components/card/index.js.map +1 -0
  70. package/lib/module/components/checkbox/checkbox.animation.js +164 -0
  71. package/lib/module/components/checkbox/checkbox.animation.js.map +1 -0
  72. package/lib/module/components/checkbox/checkbox.constants.js +8 -0
  73. package/lib/module/components/checkbox/checkbox.constants.js.map +1 -0
  74. package/lib/module/components/checkbox/checkbox.js +188 -0
  75. package/lib/module/components/checkbox/checkbox.js.map +1 -0
  76. package/lib/module/components/checkbox/checkbox.md +305 -0
  77. package/lib/module/components/checkbox/checkbox.styles.js +104 -0
  78. package/lib/module/components/checkbox/checkbox.styles.js.map +1 -0
  79. package/lib/module/components/checkbox/checkbox.types.js +4 -0
  80. package/lib/module/components/checkbox/checkbox.types.js.map +1 -0
  81. package/lib/module/components/checkbox/index.js +4 -0
  82. package/lib/module/components/checkbox/index.js.map +1 -0
  83. package/lib/module/components/chip/chip.animation.js +17 -0
  84. package/lib/module/components/chip/chip.animation.js.map +1 -0
  85. package/lib/module/components/chip/chip.constants.js +10 -0
  86. package/lib/module/components/chip/chip.constants.js.map +1 -0
  87. package/lib/module/components/chip/chip.js +118 -0
  88. package/lib/module/components/chip/chip.js.map +1 -0
  89. package/lib/module/components/chip/chip.md +190 -0
  90. package/lib/module/components/chip/chip.styles.js +206 -0
  91. package/lib/module/components/chip/chip.styles.js.map +1 -0
  92. package/lib/module/components/chip/chip.types.js +4 -0
  93. package/lib/module/components/chip/chip.types.js.map +1 -0
  94. package/lib/module/components/chip/index.js +4 -0
  95. package/lib/module/components/chip/index.js.map +1 -0
  96. package/lib/module/components/dialog/dialog.animation.js +8 -0
  97. package/lib/module/components/dialog/dialog.animation.js.map +1 -0
  98. package/lib/module/components/dialog/dialog.constants.js +16 -0
  99. package/lib/module/components/dialog/dialog.constants.js.map +1 -0
  100. package/lib/module/components/dialog/dialog.js +340 -0
  101. package/lib/module/components/dialog/dialog.js.map +1 -0
  102. package/lib/module/components/dialog/dialog.md +363 -0
  103. package/lib/module/components/dialog/dialog.styles.js +80 -0
  104. package/lib/module/components/dialog/dialog.styles.js.map +1 -0
  105. package/lib/module/components/dialog/dialog.types.js +4 -0
  106. package/lib/module/components/dialog/dialog.types.js.map +1 -0
  107. package/lib/module/components/dialog/index.js +4 -0
  108. package/lib/module/components/dialog/index.js.map +1 -0
  109. package/lib/module/components/divider/divider.constants.js +9 -0
  110. package/lib/module/components/divider/divider.constants.js.map +1 -0
  111. package/lib/module/components/divider/divider.js +58 -0
  112. package/lib/module/components/divider/divider.js.map +1 -0
  113. package/lib/module/components/divider/divider.md +98 -0
  114. package/lib/module/components/divider/divider.styles.js +47 -0
  115. package/lib/module/components/divider/divider.styles.js.map +1 -0
  116. package/lib/module/components/divider/divider.types.js +4 -0
  117. package/lib/module/components/divider/divider.types.js.map +1 -0
  118. package/lib/module/components/divider/index.js +4 -0
  119. package/lib/module/components/divider/index.js.map +1 -0
  120. package/lib/module/components/error-view/error-view.animation.js +44 -0
  121. package/lib/module/components/error-view/error-view.animation.js.map +1 -0
  122. package/lib/module/components/error-view/error-view.constants.js +31 -0
  123. package/lib/module/components/error-view/error-view.constants.js.map +1 -0
  124. package/lib/module/components/error-view/error-view.js +66 -0
  125. package/lib/module/components/error-view/error-view.js.map +1 -0
  126. package/lib/module/components/error-view/error-view.md +177 -0
  127. package/lib/module/components/error-view/error-view.styles.js +15 -0
  128. package/lib/module/components/error-view/error-view.styles.js.map +1 -0
  129. package/lib/module/components/error-view/error-view.types.js +4 -0
  130. package/lib/module/components/error-view/error-view.types.js.map +1 -0
  131. package/lib/module/components/error-view/index.js +4 -0
  132. package/lib/module/components/error-view/index.js.map +1 -0
  133. package/lib/module/components/form-field/form-field.animation.js +17 -0
  134. package/lib/module/components/form-field/form-field.animation.js.map +1 -0
  135. package/lib/module/components/form-field/form-field.constants.js +13 -0
  136. package/lib/module/components/form-field/form-field.constants.js.map +1 -0
  137. package/lib/module/components/form-field/form-field.context.js +13 -0
  138. package/lib/module/components/form-field/form-field.context.js.map +1 -0
  139. package/lib/module/components/form-field/form-field.js +257 -0
  140. package/lib/module/components/form-field/form-field.js.map +1 -0
  141. package/lib/module/components/form-field/form-field.md +243 -0
  142. package/lib/module/components/form-field/form-field.styles.js +36 -0
  143. package/lib/module/components/form-field/form-field.styles.js.map +1 -0
  144. package/lib/module/components/form-field/form-field.types.js +4 -0
  145. package/lib/module/components/form-field/form-field.types.js.map +1 -0
  146. package/lib/module/components/form-field/index.js +4 -0
  147. package/lib/module/components/form-field/index.js.map +1 -0
  148. package/lib/module/components/popover/arrow-svg.js +161 -0
  149. package/lib/module/components/popover/arrow-svg.js.map +1 -0
  150. package/lib/module/components/popover/index.js +4 -0
  151. package/lib/module/components/popover/index.js.map +1 -0
  152. package/lib/module/components/popover/popover.animation.js +8 -0
  153. package/lib/module/components/popover/popover.animation.js.map +1 -0
  154. package/lib/module/components/popover/popover.constants.js +37 -0
  155. package/lib/module/components/popover/popover.constants.js.map +1 -0
  156. package/lib/module/components/popover/popover.js +502 -0
  157. package/lib/module/components/popover/popover.js.map +1 -0
  158. package/lib/module/components/popover/popover.md +521 -0
  159. package/lib/module/components/popover/popover.styles.js +87 -0
  160. package/lib/module/components/popover/popover.styles.js.map +1 -0
  161. package/lib/module/components/popover/popover.types.js +4 -0
  162. package/lib/module/components/popover/popover.types.js.map +1 -0
  163. package/lib/module/components/pressable-feedback/index.js +5 -0
  164. package/lib/module/components/pressable-feedback/index.js.map +1 -0
  165. package/lib/module/components/pressable-feedback/pressable-feedback.animation.js +291 -0
  166. package/lib/module/components/pressable-feedback/pressable-feedback.animation.js.map +1 -0
  167. package/lib/module/components/pressable-feedback/pressable-feedback.constants.js +13 -0
  168. package/lib/module/components/pressable-feedback/pressable-feedback.constants.js.map +1 -0
  169. package/lib/module/components/pressable-feedback/pressable-feedback.js +220 -0
  170. package/lib/module/components/pressable-feedback/pressable-feedback.js.map +1 -0
  171. package/lib/module/components/pressable-feedback/pressable-feedback.md +246 -0
  172. package/lib/module/components/pressable-feedback/pressable-feedback.styles.js +104 -0
  173. package/lib/module/components/pressable-feedback/pressable-feedback.styles.js.map +1 -0
  174. package/lib/module/components/pressable-feedback/pressable-feedback.types.js +4 -0
  175. package/lib/module/components/pressable-feedback/pressable-feedback.types.js.map +1 -0
  176. package/lib/module/components/radio-group/index.js +4 -0
  177. package/lib/module/components/radio-group/index.js.map +1 -0
  178. package/lib/module/components/radio-group/radio-group.animation.js +80 -0
  179. package/lib/module/components/radio-group/radio-group.animation.js.map +1 -0
  180. package/lib/module/components/radio-group/radio-group.constants.js +16 -0
  181. package/lib/module/components/radio-group/radio-group.constants.js.map +1 -0
  182. package/lib/module/components/radio-group/radio-group.js +266 -0
  183. package/lib/module/components/radio-group/radio-group.js.map +1 -0
  184. package/lib/module/components/radio-group/radio-group.md +303 -0
  185. package/lib/module/components/radio-group/radio-group.styles.js +95 -0
  186. package/lib/module/components/radio-group/radio-group.styles.js.map +1 -0
  187. package/lib/module/components/radio-group/radio-group.types.js +4 -0
  188. package/lib/module/components/radio-group/radio-group.types.js.map +1 -0
  189. package/lib/module/components/scroll-shadow/index.js +4 -0
  190. package/lib/module/components/scroll-shadow/index.js.map +1 -0
  191. package/lib/module/components/scroll-shadow/scroll-shadow.animation.js +95 -0
  192. package/lib/module/components/scroll-shadow/scroll-shadow.animation.js.map +1 -0
  193. package/lib/module/components/scroll-shadow/scroll-shadow.constants.js +24 -0
  194. package/lib/module/components/scroll-shadow/scroll-shadow.constants.js.map +1 -0
  195. package/lib/module/components/scroll-shadow/scroll-shadow.js +211 -0
  196. package/lib/module/components/scroll-shadow/scroll-shadow.js.map +1 -0
  197. package/lib/module/components/scroll-shadow/scroll-shadow.md +191 -0
  198. package/lib/module/components/scroll-shadow/scroll-shadow.styles.js +50 -0
  199. package/lib/module/components/scroll-shadow/scroll-shadow.styles.js.map +1 -0
  200. package/lib/module/components/scroll-shadow/scroll-shadow.types.js +4 -0
  201. package/lib/module/components/scroll-shadow/scroll-shadow.types.js.map +1 -0
  202. package/lib/module/components/select/index.js +4 -0
  203. package/lib/module/components/select/index.js.map +1 -0
  204. package/lib/module/components/select/select.animation.js +8 -0
  205. package/lib/module/components/select/select.animation.js.map +1 -0
  206. package/lib/module/components/select/select.constants.js +40 -0
  207. package/lib/module/components/select/select.constants.js.map +1 -0
  208. package/lib/module/components/select/select.js +608 -0
  209. package/lib/module/components/select/select.js.map +1 -0
  210. package/lib/module/components/select/select.md +735 -0
  211. package/lib/module/components/select/select.styles.js +143 -0
  212. package/lib/module/components/select/select.styles.js.map +1 -0
  213. package/lib/module/components/select/select.types.js +4 -0
  214. package/lib/module/components/select/select.types.js.map +1 -0
  215. package/lib/module/components/skeleton/index.js +4 -0
  216. package/lib/module/components/skeleton/index.js.map +1 -0
  217. package/lib/module/components/skeleton/linear-gradient.js +44 -0
  218. package/lib/module/components/skeleton/linear-gradient.js.map +1 -0
  219. package/lib/module/components/skeleton/skeleton.animation.js +256 -0
  220. package/lib/module/components/skeleton/skeleton.animation.js.map +1 -0
  221. package/lib/module/components/skeleton/skeleton.constants.js +42 -0
  222. package/lib/module/components/skeleton/skeleton.constants.js.map +1 -0
  223. package/lib/module/components/skeleton/skeleton.js +157 -0
  224. package/lib/module/components/skeleton/skeleton.js.map +1 -0
  225. package/lib/module/components/skeleton/skeleton.md +200 -0
  226. package/lib/module/components/skeleton/skeleton.styles.js +59 -0
  227. package/lib/module/components/skeleton/skeleton.styles.js.map +1 -0
  228. package/lib/module/components/skeleton/skeleton.types.js +4 -0
  229. package/lib/module/components/skeleton/skeleton.types.js.map +1 -0
  230. package/lib/module/components/skeleton-group/index.js +4 -0
  231. package/lib/module/components/skeleton-group/index.js.map +1 -0
  232. package/lib/module/components/skeleton-group/skeleton-group.constants.js +10 -0
  233. package/lib/module/components/skeleton-group/skeleton-group.constants.js.map +1 -0
  234. package/lib/module/components/skeleton-group/skeleton-group.js +82 -0
  235. package/lib/module/components/skeleton-group/skeleton-group.js.map +1 -0
  236. package/lib/module/components/skeleton-group/skeleton-group.md +247 -0
  237. package/lib/module/components/skeleton-group/skeleton-group.styles.js +11 -0
  238. package/lib/module/components/skeleton-group/skeleton-group.styles.js.map +1 -0
  239. package/lib/module/components/skeleton-group/skeleton-group.types.js +4 -0
  240. package/lib/module/components/skeleton-group/skeleton-group.types.js.map +1 -0
  241. package/lib/module/components/spinner/index.js +4 -0
  242. package/lib/module/components/spinner/index.js.map +1 -0
  243. package/lib/module/components/spinner/spinner-icon.js +64 -0
  244. package/lib/module/components/spinner/spinner-icon.js.map +1 -0
  245. package/lib/module/components/spinner/spinner.animation.js +119 -0
  246. package/lib/module/components/spinner/spinner.animation.js.map +1 -0
  247. package/lib/module/components/spinner/spinner.constants.js +37 -0
  248. package/lib/module/components/spinner/spinner.constants.js.map +1 -0
  249. package/lib/module/components/spinner/spinner.js +143 -0
  250. package/lib/module/components/spinner/spinner.js.map +1 -0
  251. package/lib/module/components/spinner/spinner.md +199 -0
  252. package/lib/module/components/spinner/spinner.styles.js +46 -0
  253. package/lib/module/components/spinner/spinner.styles.js.map +1 -0
  254. package/lib/module/components/spinner/spinner.types.js +4 -0
  255. package/lib/module/components/spinner/spinner.types.js.map +1 -0
  256. package/lib/module/components/surface/index.js +4 -0
  257. package/lib/module/components/surface/index.js.map +1 -0
  258. package/lib/module/components/surface/surface.animation.js +17 -0
  259. package/lib/module/components/surface/surface.animation.js.map +1 -0
  260. package/lib/module/components/surface/surface.constants.js +9 -0
  261. package/lib/module/components/surface/surface.constants.js.map +1 -0
  262. package/lib/module/components/surface/surface.js +65 -0
  263. package/lib/module/components/surface/surface.js.map +1 -0
  264. package/lib/module/components/surface/surface.md +141 -0
  265. package/lib/module/components/surface/surface.styles.js +26 -0
  266. package/lib/module/components/surface/surface.styles.js.map +1 -0
  267. package/lib/module/components/surface/surface.types.js +4 -0
  268. package/lib/module/components/surface/surface.types.js.map +1 -0
  269. package/lib/module/components/switch/index.js +5 -0
  270. package/lib/module/components/switch/index.js.map +1 -0
  271. package/lib/module/components/switch/switch.animation.js +183 -0
  272. package/lib/module/components/switch/switch.animation.js.map +1 -0
  273. package/lib/module/components/switch/switch.constants.js +23 -0
  274. package/lib/module/components/switch/switch.constants.js.map +1 -0
  275. package/lib/module/components/switch/switch.js +223 -0
  276. package/lib/module/components/switch/switch.js.map +1 -0
  277. package/lib/module/components/switch/switch.md +332 -0
  278. package/lib/module/components/switch/switch.styles.js +83 -0
  279. package/lib/module/components/switch/switch.styles.js.map +1 -0
  280. package/lib/module/components/switch/switch.types.js +4 -0
  281. package/lib/module/components/switch/switch.types.js.map +1 -0
  282. package/lib/module/components/tabs/index.js +4 -0
  283. package/lib/module/components/tabs/index.js.map +1 -0
  284. package/lib/module/components/tabs/tabs.animation.js +139 -0
  285. package/lib/module/components/tabs/tabs.animation.js.map +1 -0
  286. package/lib/module/components/tabs/tabs.constants.js +16 -0
  287. package/lib/module/components/tabs/tabs.constants.js.map +1 -0
  288. package/lib/module/components/tabs/tabs.context.js +24 -0
  289. package/lib/module/components/tabs/tabs.context.js.map +1 -0
  290. package/lib/module/components/tabs/tabs.js +329 -0
  291. package/lib/module/components/tabs/tabs.js.map +1 -0
  292. package/lib/module/components/tabs/tabs.md +492 -0
  293. package/lib/module/components/tabs/tabs.styles.js +120 -0
  294. package/lib/module/components/tabs/tabs.styles.js.map +1 -0
  295. package/lib/module/components/tabs/tabs.types.js +4 -0
  296. package/lib/module/components/tabs/tabs.types.js.map +1 -0
  297. package/lib/module/components/text-field/index.js +4 -0
  298. package/lib/module/components/text-field/index.js.map +1 -0
  299. package/lib/module/components/text-field/text-field.animation.js +228 -0
  300. package/lib/module/components/text-field/text-field.animation.js.map +1 -0
  301. package/lib/module/components/text-field/text-field.constants.js +37 -0
  302. package/lib/module/components/text-field/text-field.constants.js.map +1 -0
  303. package/lib/module/components/text-field/text-field.js +324 -0
  304. package/lib/module/components/text-field/text-field.js.map +1 -0
  305. package/lib/module/components/text-field/text-field.md +377 -0
  306. package/lib/module/components/text-field/text-field.styles.js +96 -0
  307. package/lib/module/components/text-field/text-field.styles.js.map +1 -0
  308. package/lib/module/components/text-field/text-field.types.js +4 -0
  309. package/lib/module/components/text-field/text-field.types.js.map +1 -0
  310. package/lib/module/components/toast/index.js +4 -0
  311. package/lib/module/components/toast/index.js.map +1 -0
  312. package/lib/module/components/toast/toast.animation.js +315 -0
  313. package/lib/module/components/toast/toast.animation.js.map +1 -0
  314. package/lib/module/components/toast/toast.constants.js +13 -0
  315. package/lib/module/components/toast/toast.constants.js.map +1 -0
  316. package/lib/module/components/toast/toast.js +382 -0
  317. package/lib/module/components/toast/toast.js.map +1 -0
  318. package/lib/module/components/toast/toast.md +417 -0
  319. package/lib/module/components/toast/toast.styles.js +88 -0
  320. package/lib/module/components/toast/toast.styles.js.map +1 -0
  321. package/lib/module/components/toast/toast.types.js +4 -0
  322. package/lib/module/components/toast/toast.types.js.map +1 -0
  323. package/lib/module/helpers/components/animated-check-icon.js +53 -0
  324. package/lib/module/helpers/components/animated-check-icon.js.map +1 -0
  325. package/lib/module/helpers/components/bottom-sheet-content-container.js +49 -0
  326. package/lib/module/helpers/components/bottom-sheet-content-container.js.map +1 -0
  327. package/lib/module/helpers/components/check-icon.js +25 -0
  328. package/lib/module/helpers/components/check-icon.js.map +1 -0
  329. package/lib/module/helpers/components/close-icon.js +25 -0
  330. package/lib/module/helpers/components/close-icon.js.map +1 -0
  331. package/lib/module/helpers/components/full-window-overlay.js +7 -0
  332. package/lib/module/helpers/components/full-window-overlay.js.map +1 -0
  333. package/lib/module/helpers/components/hero-text.js +66 -0
  334. package/lib/module/helpers/components/hero-text.js.map +1 -0
  335. package/lib/module/helpers/components/index.js +8 -0
  336. package/lib/module/helpers/components/index.js.map +1 -0
  337. package/lib/module/helpers/contexts/animation-settings-context.js +14 -0
  338. package/lib/module/helpers/contexts/animation-settings-context.js.map +1 -0
  339. package/lib/module/helpers/contexts/index.js +4 -0
  340. package/lib/module/helpers/contexts/index.js.map +1 -0
  341. package/lib/module/helpers/hooks/index.js +14 -0
  342. package/lib/module/helpers/hooks/index.js.map +1 -0
  343. package/lib/module/helpers/hooks/use-augmented-ref.js +23 -0
  344. package/lib/module/helpers/hooks/use-augmented-ref.js.map +1 -0
  345. package/lib/module/helpers/hooks/use-combined-animation-disabled-state.js +48 -0
  346. package/lib/module/helpers/hooks/use-combined-animation-disabled-state.js.map +1 -0
  347. package/lib/module/helpers/hooks/use-controllable-state.js +83 -0
  348. package/lib/module/helpers/hooks/use-controllable-state.js.map +1 -0
  349. package/lib/module/helpers/hooks/use-keyboard-status.js +21 -0
  350. package/lib/module/helpers/hooks/use-keyboard-status.js.map +1 -0
  351. package/lib/module/helpers/hooks/use-popup-bottom-sheet-content-animation.js +56 -0
  352. package/lib/module/helpers/hooks/use-popup-bottom-sheet-content-animation.js.map +1 -0
  353. package/lib/module/helpers/hooks/use-popup-dialog-content-animation.js +157 -0
  354. package/lib/module/helpers/hooks/use-popup-dialog-content-animation.js.map +1 -0
  355. package/lib/module/helpers/hooks/use-popup-overlay-animation.js +58 -0
  356. package/lib/module/helpers/hooks/use-popup-overlay-animation.js.map +1 -0
  357. package/lib/module/helpers/hooks/use-popup-popover-content-animation.js +103 -0
  358. package/lib/module/helpers/hooks/use-popup-popover-content-animation.js.map +1 -0
  359. package/lib/module/helpers/hooks/use-popup-root-animation.js +200 -0
  360. package/lib/module/helpers/hooks/use-popup-root-animation.js.map +1 -0
  361. package/lib/module/helpers/hooks/use-relative-position.js +220 -0
  362. package/lib/module/helpers/hooks/use-relative-position.js.map +1 -0
  363. package/lib/module/helpers/hooks/use-resolved-style-property.js +89 -0
  364. package/lib/module/helpers/hooks/use-resolved-style-property.js.map +1 -0
  365. package/lib/module/helpers/theme/color-kit/index.js +2338 -0
  366. package/lib/module/helpers/theme/color-kit/index.js.map +1 -0
  367. package/lib/module/helpers/theme/color-kit/types.js +2 -0
  368. package/lib/module/helpers/theme/color-kit/types.js.map +1 -0
  369. package/lib/module/helpers/theme/hooks/use-is-on-surface.js +8 -0
  370. package/lib/module/helpers/theme/hooks/use-is-on-surface.js.map +1 -0
  371. package/lib/module/helpers/theme/hooks/use-theme-color.js +43 -0
  372. package/lib/module/helpers/theme/hooks/use-theme-color.js.map +1 -0
  373. package/lib/module/helpers/theme/index.js +7 -0
  374. package/lib/module/helpers/theme/index.js.map +1 -0
  375. package/lib/module/helpers/theme/types.js +22 -0
  376. package/lib/module/helpers/theme/types.js.map +1 -0
  377. package/lib/module/helpers/theme/utils/cn.js +16 -0
  378. package/lib/module/helpers/theme/utils/cn.js.map +1 -0
  379. package/lib/module/helpers/theme/utils/combine-styles.js +16 -0
  380. package/lib/module/helpers/theme/utils/combine-styles.js.map +1 -0
  381. package/lib/module/helpers/types/animation.js +4 -0
  382. package/lib/module/helpers/types/animation.js.map +1 -0
  383. package/lib/module/helpers/types/bottom-sheet.js +4 -0
  384. package/lib/module/helpers/types/bottom-sheet.js.map +1 -0
  385. package/lib/module/helpers/types/index.js +7 -0
  386. package/lib/module/helpers/types/index.js.map +1 -0
  387. package/lib/module/helpers/types/misc.js +2 -0
  388. package/lib/module/helpers/types/misc.js.map +1 -0
  389. package/lib/module/helpers/types/primitives.js +4 -0
  390. package/lib/module/helpers/types/primitives.js.map +1 -0
  391. package/lib/module/helpers/utils/animation.js +212 -0
  392. package/lib/module/helpers/utils/animation.js.map +1 -0
  393. package/lib/module/helpers/utils/children-to-string.js +69 -0
  394. package/lib/module/helpers/utils/children-to-string.js.map +1 -0
  395. package/lib/module/helpers/utils/create-context.js +29 -0
  396. package/lib/module/helpers/utils/create-context.js.map +1 -0
  397. package/lib/module/helpers/utils/ease-gradient/create-interpolation.js +29 -0
  398. package/lib/module/helpers/utils/ease-gradient/create-interpolation.js.map +1 -0
  399. package/lib/module/helpers/utils/ease-gradient/index.js +60 -0
  400. package/lib/module/helpers/utils/ease-gradient/index.js.map +1 -0
  401. package/lib/module/helpers/utils/get-element-by-display-name.js +8 -0
  402. package/lib/module/helpers/utils/get-element-by-display-name.js.map +1 -0
  403. package/lib/module/helpers/utils/get-element-with-default.js +11 -0
  404. package/lib/module/helpers/utils/get-element-with-default.js.map +1 -0
  405. package/lib/module/helpers/utils/has-prop.js +15 -0
  406. package/lib/module/helpers/utils/has-prop.js.map +1 -0
  407. package/lib/module/helpers/utils/index.js +10 -0
  408. package/lib/module/helpers/utils/index.js.map +1 -0
  409. package/lib/module/index.js +36 -0
  410. package/lib/module/index.js.map +1 -0
  411. package/lib/module/package.json +1 -0
  412. package/lib/module/primitives/README.md +27 -0
  413. package/lib/module/primitives/accordion/accordion.js +208 -0
  414. package/lib/module/primitives/accordion/accordion.js.map +1 -0
  415. package/lib/module/primitives/accordion/accordion.types.js +4 -0
  416. package/lib/module/primitives/accordion/accordion.types.js.map +1 -0
  417. package/lib/module/primitives/accordion/accordion.utils.js +9 -0
  418. package/lib/module/primitives/accordion/accordion.utils.js.map +1 -0
  419. package/lib/module/primitives/accordion/index.js +5 -0
  420. package/lib/module/primitives/accordion/index.js.map +1 -0
  421. package/lib/module/primitives/activity-indicator/activity-indicator.js +43 -0
  422. package/lib/module/primitives/activity-indicator/activity-indicator.js.map +1 -0
  423. package/lib/module/primitives/activity-indicator/activity-indicator.types.js +4 -0
  424. package/lib/module/primitives/activity-indicator/activity-indicator.types.js.map +1 -0
  425. package/lib/module/primitives/activity-indicator/index.js +5 -0
  426. package/lib/module/primitives/activity-indicator/index.js.map +1 -0
  427. package/lib/module/primitives/avatar/avatar.js +133 -0
  428. package/lib/module/primitives/avatar/avatar.js.map +1 -0
  429. package/lib/module/primitives/avatar/avatar.types.js +4 -0
  430. package/lib/module/primitives/avatar/avatar.types.js.map +1 -0
  431. package/lib/module/primitives/avatar/avatar.utils.js +98 -0
  432. package/lib/module/primitives/avatar/avatar.utils.js.map +1 -0
  433. package/lib/module/primitives/avatar/index.js +5 -0
  434. package/lib/module/primitives/avatar/index.js.map +1 -0
  435. package/lib/module/primitives/bottom-sheet/bottom-sheet.js +214 -0
  436. package/lib/module/primitives/bottom-sheet/bottom-sheet.js.map +1 -0
  437. package/lib/module/primitives/bottom-sheet/bottom-sheet.types.js +4 -0
  438. package/lib/module/primitives/bottom-sheet/bottom-sheet.types.js.map +1 -0
  439. package/lib/module/primitives/bottom-sheet/index.js +5 -0
  440. package/lib/module/primitives/bottom-sheet/index.js.map +1 -0
  441. package/lib/module/primitives/checkbox/checkbox.js +99 -0
  442. package/lib/module/primitives/checkbox/checkbox.js.map +1 -0
  443. package/lib/module/primitives/checkbox/checkbox.types.js +4 -0
  444. package/lib/module/primitives/checkbox/checkbox.types.js.map +1 -0
  445. package/lib/module/primitives/checkbox/index.js +5 -0
  446. package/lib/module/primitives/checkbox/index.js.map +1 -0
  447. package/lib/module/primitives/dialog/dialog.js +234 -0
  448. package/lib/module/primitives/dialog/dialog.js.map +1 -0
  449. package/lib/module/primitives/dialog/dialog.types.js +4 -0
  450. package/lib/module/primitives/dialog/dialog.types.js.map +1 -0
  451. package/lib/module/primitives/dialog/index.js +5 -0
  452. package/lib/module/primitives/dialog/index.js.map +1 -0
  453. package/lib/module/primitives/label/index.js +5 -0
  454. package/lib/module/primitives/label/index.js.map +1 -0
  455. package/lib/module/primitives/label/label.js +33 -0
  456. package/lib/module/primitives/label/label.js.map +1 -0
  457. package/lib/module/primitives/label/label.types.js +4 -0
  458. package/lib/module/primitives/label/label.types.js.map +1 -0
  459. package/lib/module/primitives/popover/index.js +5 -0
  460. package/lib/module/primitives/popover/index.js.map +1 -0
  461. package/lib/module/primitives/popover/popover.js +340 -0
  462. package/lib/module/primitives/popover/popover.js.map +1 -0
  463. package/lib/module/primitives/popover/popover.types.js +4 -0
  464. package/lib/module/primitives/popover/popover.types.js.map +1 -0
  465. package/lib/module/primitives/portal/index.js +4 -0
  466. package/lib/module/primitives/portal/index.js.map +1 -0
  467. package/lib/module/primitives/portal/portal.js +105 -0
  468. package/lib/module/primitives/portal/portal.js.map +1 -0
  469. package/lib/module/primitives/radio-group/index.js +5 -0
  470. package/lib/module/primitives/radio-group/index.js.map +1 -0
  471. package/lib/module/primitives/radio-group/radio-group.js +92 -0
  472. package/lib/module/primitives/radio-group/radio-group.js.map +1 -0
  473. package/lib/module/primitives/radio-group/radio-group.types.js +4 -0
  474. package/lib/module/primitives/radio-group/radio-group.types.js.map +1 -0
  475. package/lib/module/primitives/select/index.js +5 -0
  476. package/lib/module/primitives/select/index.js.map +1 -0
  477. package/lib/module/primitives/select/select.js +555 -0
  478. package/lib/module/primitives/select/select.js.map +1 -0
  479. package/lib/module/primitives/select/select.types.js +4 -0
  480. package/lib/module/primitives/select/select.types.js.map +1 -0
  481. package/lib/module/primitives/slot/index.js +4 -0
  482. package/lib/module/primitives/slot/index.js.map +1 -0
  483. package/lib/module/primitives/slot/slot.js +78 -0
  484. package/lib/module/primitives/slot/slot.js.map +1 -0
  485. package/lib/module/primitives/slot/types.js +4 -0
  486. package/lib/module/primitives/slot/types.js.map +1 -0
  487. package/lib/module/primitives/slot/utils.js +79 -0
  488. package/lib/module/primitives/slot/utils.js.map +1 -0
  489. package/lib/module/primitives/switch/index.js +5 -0
  490. package/lib/module/primitives/switch/index.js.map +1 -0
  491. package/lib/module/primitives/switch/switch.js +57 -0
  492. package/lib/module/primitives/switch/switch.js.map +1 -0
  493. package/lib/module/primitives/switch/switch.types.js +4 -0
  494. package/lib/module/primitives/switch/switch.types.js.map +1 -0
  495. package/lib/module/primitives/tabs/index.js +5 -0
  496. package/lib/module/primitives/tabs/index.js.map +1 -0
  497. package/lib/module/primitives/tabs/tabs.js +169 -0
  498. package/lib/module/primitives/tabs/tabs.js.map +1 -0
  499. package/lib/module/primitives/tabs/tabs.types.js +4 -0
  500. package/lib/module/primitives/tabs/tabs.types.js.map +1 -0
  501. package/lib/module/primitives/toast/index.js +5 -0
  502. package/lib/module/primitives/toast/index.js.map +1 -0
  503. package/lib/module/primitives/toast/toast.js +117 -0
  504. package/lib/module/primitives/toast/toast.js.map +1 -0
  505. package/lib/module/primitives/toast/toast.types.js +4 -0
  506. package/lib/module/primitives/toast/toast.types.js.map +1 -0
  507. package/lib/module/providers/animation-settings/index.js +4 -0
  508. package/lib/module/providers/animation-settings/index.js.map +1 -0
  509. package/lib/module/providers/animation-settings/provider.js +43 -0
  510. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  511. package/lib/module/providers/animation-settings/types.js +4 -0
  512. package/lib/module/providers/animation-settings/types.js.map +1 -0
  513. package/lib/module/providers/hero-ui-native/index.js +5 -0
  514. package/lib/module/providers/hero-ui-native/index.js.map +1 -0
  515. package/lib/module/providers/hero-ui-native/provider.js +92 -0
  516. package/lib/module/providers/hero-ui-native/provider.js.map +1 -0
  517. package/lib/module/providers/hero-ui-native/provider.md +332 -0
  518. package/lib/module/providers/hero-ui-native/types.js +4 -0
  519. package/lib/module/providers/hero-ui-native/types.js.map +1 -0
  520. package/lib/module/providers/text-component/index.js +5 -0
  521. package/lib/module/providers/text-component/index.js.map +1 -0
  522. package/lib/module/providers/text-component/provider.js +8 -0
  523. package/lib/module/providers/text-component/provider.js.map +1 -0
  524. package/lib/module/providers/text-component/types.js +4 -0
  525. package/lib/module/providers/text-component/types.js.map +1 -0
  526. package/lib/module/providers/toast/index.js +5 -0
  527. package/lib/module/providers/toast/index.js.map +1 -0
  528. package/lib/module/providers/toast/insets-container.js +46 -0
  529. package/lib/module/providers/toast/insets-container.js.map +1 -0
  530. package/lib/module/providers/toast/provider.js +366 -0
  531. package/lib/module/providers/toast/provider.js.map +1 -0
  532. package/lib/module/providers/toast/reducer.js +28 -0
  533. package/lib/module/providers/toast/reducer.js.map +1 -0
  534. package/lib/module/providers/toast/toast-config.context.js +25 -0
  535. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  536. package/lib/module/providers/toast/toast-item-renderer.js +35 -0
  537. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  538. package/lib/module/providers/toast/types.js +4 -0
  539. package/lib/module/providers/toast/types.js.map +1 -0
  540. package/lib/module/styles/index.css +3 -0
  541. package/lib/module/styles/theme.css +205 -0
  542. package/lib/module/styles/theme.md +423 -0
  543. package/lib/module/styles/utilities.css +8 -0
  544. package/lib/module/styles/variables.css +113 -0
  545. package/lib/typescript/package.json +1 -0
  546. package/lib/typescript/src/components/accordion/accordion.animation.d.ts +38 -0
  547. package/lib/typescript/src/components/accordion/accordion.animation.d.ts.map +1 -0
  548. package/lib/typescript/src/components/accordion/accordion.constants.d.ts +44 -0
  549. package/lib/typescript/src/components/accordion/accordion.constants.d.ts.map +1 -0
  550. package/lib/typescript/src/components/accordion/accordion.d.ts +53 -0
  551. package/lib/typescript/src/components/accordion/accordion.d.ts.map +1 -0
  552. package/lib/typescript/src/components/accordion/accordion.styles.d.ts +130 -0
  553. package/lib/typescript/src/components/accordion/accordion.styles.d.ts.map +1 -0
  554. package/lib/typescript/src/components/accordion/accordion.types.d.ts +228 -0
  555. package/lib/typescript/src/components/accordion/accordion.types.d.ts.map +1 -0
  556. package/lib/typescript/src/components/accordion/chevron-down-icon.d.ts +8 -0
  557. package/lib/typescript/src/components/accordion/chevron-down-icon.d.ts.map +1 -0
  558. package/lib/typescript/src/components/accordion/index.d.ts +4 -0
  559. package/lib/typescript/src/components/accordion/index.d.ts.map +1 -0
  560. package/lib/typescript/src/components/avatar/avatar.animation.d.ts +33 -0
  561. package/lib/typescript/src/components/avatar/avatar.animation.d.ts.map +1 -0
  562. package/lib/typescript/src/components/avatar/avatar.constants.d.ts +14 -0
  563. package/lib/typescript/src/components/avatar/avatar.constants.d.ts.map +1 -0
  564. package/lib/typescript/src/components/avatar/avatar.context.d.ts +7 -0
  565. package/lib/typescript/src/components/avatar/avatar.context.d.ts.map +1 -0
  566. package/lib/typescript/src/components/avatar/avatar.d.ts +33 -0
  567. package/lib/typescript/src/components/avatar/avatar.d.ts.map +1 -0
  568. package/lib/typescript/src/components/avatar/avatar.styles.d.ts +269 -0
  569. package/lib/typescript/src/components/avatar/avatar.styles.d.ts.map +1 -0
  570. package/lib/typescript/src/components/avatar/avatar.types.d.ts +188 -0
  571. package/lib/typescript/src/components/avatar/avatar.types.d.ts.map +1 -0
  572. package/lib/typescript/src/components/avatar/index.d.ts +3 -0
  573. package/lib/typescript/src/components/avatar/index.d.ts.map +1 -0
  574. package/lib/typescript/src/components/avatar/person-icon.d.ts +7 -0
  575. package/lib/typescript/src/components/avatar/person-icon.d.ts.map +1 -0
  576. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.animation.d.ts +15 -0
  577. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.animation.d.ts.map +1 -0
  578. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.constants.d.ts +14 -0
  579. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.constants.d.ts.map +1 -0
  580. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.d.ts +54 -0
  581. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.d.ts.map +1 -0
  582. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.styles.d.ts +16 -0
  583. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.styles.d.ts.map +1 -0
  584. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.types.d.ts +177 -0
  585. package/lib/typescript/src/components/bottom-sheet/bottom-sheet.types.d.ts.map +1 -0
  586. package/lib/typescript/src/components/bottom-sheet/index.d.ts +3 -0
  587. package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -0
  588. package/lib/typescript/src/components/button/button.constants.d.ts +8 -0
  589. package/lib/typescript/src/components/button/button.constants.d.ts.map +1 -0
  590. package/lib/typescript/src/components/button/button.d.ts +31 -0
  591. package/lib/typescript/src/components/button/button.d.ts.map +1 -0
  592. package/lib/typescript/src/components/button/button.styles.d.ts +113 -0
  593. package/lib/typescript/src/components/button/button.styles.d.ts.map +1 -0
  594. package/lib/typescript/src/components/button/button.types.d.ts +74 -0
  595. package/lib/typescript/src/components/button/button.types.d.ts.map +1 -0
  596. package/lib/typescript/src/components/button/index.d.ts +3 -0
  597. package/lib/typescript/src/components/button/index.d.ts.map +1 -0
  598. package/lib/typescript/src/components/card/card.constants.d.ts +12 -0
  599. package/lib/typescript/src/components/card/card.constants.d.ts.map +1 -0
  600. package/lib/typescript/src/components/card/card.d.ts +37 -0
  601. package/lib/typescript/src/components/card/card.d.ts.map +1 -0
  602. package/lib/typescript/src/components/card/card.styles.d.ts +10 -0
  603. package/lib/typescript/src/components/card/card.styles.d.ts.map +1 -0
  604. package/lib/typescript/src/components/card/card.types.d.ts +73 -0
  605. package/lib/typescript/src/components/card/card.types.d.ts.map +1 -0
  606. package/lib/typescript/src/components/card/index.d.ts +3 -0
  607. package/lib/typescript/src/components/card/index.d.ts.map +1 -0
  608. package/lib/typescript/src/components/checkbox/checkbox.animation.d.ts +34 -0
  609. package/lib/typescript/src/components/checkbox/checkbox.animation.d.ts.map +1 -0
  610. package/lib/typescript/src/components/checkbox/checkbox.constants.d.ts +6 -0
  611. package/lib/typescript/src/components/checkbox/checkbox.constants.d.ts.map +1 -0
  612. package/lib/typescript/src/components/checkbox/checkbox.d.ts +27 -0
  613. package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -0
  614. package/lib/typescript/src/components/checkbox/checkbox.styles.d.ts +77 -0
  615. package/lib/typescript/src/components/checkbox/checkbox.styles.d.ts.map +1 -0
  616. package/lib/typescript/src/components/checkbox/checkbox.types.d.ts +184 -0
  617. package/lib/typescript/src/components/checkbox/checkbox.types.d.ts.map +1 -0
  618. package/lib/typescript/src/components/checkbox/index.d.ts +3 -0
  619. package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -0
  620. package/lib/typescript/src/components/chip/chip.animation.d.ts +11 -0
  621. package/lib/typescript/src/components/chip/chip.animation.d.ts.map +1 -0
  622. package/lib/typescript/src/components/chip/chip.constants.d.ts +8 -0
  623. package/lib/typescript/src/components/chip/chip.constants.d.ts.map +1 -0
  624. package/lib/typescript/src/components/chip/chip.d.ts +24 -0
  625. package/lib/typescript/src/components/chip/chip.d.ts.map +1 -0
  626. package/lib/typescript/src/components/chip/chip.styles.d.ts +184 -0
  627. package/lib/typescript/src/components/chip/chip.styles.d.ts.map +1 -0
  628. package/lib/typescript/src/components/chip/chip.types.d.ts +56 -0
  629. package/lib/typescript/src/components/chip/chip.types.d.ts.map +1 -0
  630. package/lib/typescript/src/components/chip/index.d.ts +3 -0
  631. package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
  632. package/lib/typescript/src/components/dialog/dialog.animation.d.ts +4 -0
  633. package/lib/typescript/src/components/dialog/dialog.animation.d.ts.map +1 -0
  634. package/lib/typescript/src/components/dialog/dialog.constants.d.ts +14 -0
  635. package/lib/typescript/src/components/dialog/dialog.constants.d.ts.map +1 -0
  636. package/lib/typescript/src/components/dialog/dialog.d.ts +56 -0
  637. package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -0
  638. package/lib/typescript/src/components/dialog/dialog.styles.d.ts +15 -0
  639. package/lib/typescript/src/components/dialog/dialog.styles.d.ts.map +1 -0
  640. package/lib/typescript/src/components/dialog/dialog.types.d.ts +224 -0
  641. package/lib/typescript/src/components/dialog/dialog.types.d.ts.map +1 -0
  642. package/lib/typescript/src/components/dialog/index.d.ts +3 -0
  643. package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
  644. package/lib/typescript/src/components/divider/divider.constants.d.ts +7 -0
  645. package/lib/typescript/src/components/divider/divider.constants.d.ts.map +1 -0
  646. package/lib/typescript/src/components/divider/divider.d.ts +15 -0
  647. package/lib/typescript/src/components/divider/divider.d.ts.map +1 -0
  648. package/lib/typescript/src/components/divider/divider.styles.d.ts +30 -0
  649. package/lib/typescript/src/components/divider/divider.styles.d.ts.map +1 -0
  650. package/lib/typescript/src/components/divider/divider.types.d.ts +35 -0
  651. package/lib/typescript/src/components/divider/divider.types.d.ts.map +1 -0
  652. package/lib/typescript/src/components/divider/index.d.ts +3 -0
  653. package/lib/typescript/src/components/divider/index.d.ts.map +1 -0
  654. package/lib/typescript/src/components/error-view/error-view.animation.d.ts +12 -0
  655. package/lib/typescript/src/components/error-view/error-view.animation.d.ts.map +1 -0
  656. package/lib/typescript/src/components/error-view/error-view.constants.d.ts +24 -0
  657. package/lib/typescript/src/components/error-view/error-view.constants.d.ts.map +1 -0
  658. package/lib/typescript/src/components/error-view/error-view.d.ts +11 -0
  659. package/lib/typescript/src/components/error-view/error-view.d.ts.map +1 -0
  660. package/lib/typescript/src/components/error-view/error-view.styles.d.ts +67 -0
  661. package/lib/typescript/src/components/error-view/error-view.styles.d.ts.map +1 -0
  662. package/lib/typescript/src/components/error-view/error-view.types.d.ts +57 -0
  663. package/lib/typescript/src/components/error-view/error-view.types.d.ts.map +1 -0
  664. package/lib/typescript/src/components/error-view/index.d.ts +3 -0
  665. package/lib/typescript/src/components/error-view/index.d.ts.map +1 -0
  666. package/lib/typescript/src/components/form-field/form-field.animation.d.ts +11 -0
  667. package/lib/typescript/src/components/form-field/form-field.animation.d.ts.map +1 -0
  668. package/lib/typescript/src/components/form-field/form-field.constants.d.ts +11 -0
  669. package/lib/typescript/src/components/form-field/form-field.constants.d.ts.map +1 -0
  670. package/lib/typescript/src/components/form-field/form-field.context.d.ts +8 -0
  671. package/lib/typescript/src/components/form-field/form-field.context.d.ts.map +1 -0
  672. package/lib/typescript/src/components/form-field/form-field.d.ts +37 -0
  673. package/lib/typescript/src/components/form-field/form-field.d.ts.map +1 -0
  674. package/lib/typescript/src/components/form-field/form-field.styles.d.ts +21 -0
  675. package/lib/typescript/src/components/form-field/form-field.styles.d.ts.map +1 -0
  676. package/lib/typescript/src/components/form-field/form-field.types.d.ts +62 -0
  677. package/lib/typescript/src/components/form-field/form-field.types.d.ts.map +1 -0
  678. package/lib/typescript/src/components/form-field/index.d.ts +3 -0
  679. package/lib/typescript/src/components/form-field/index.d.ts.map +1 -0
  680. package/lib/typescript/src/components/popover/arrow-svg.d.ts +15 -0
  681. package/lib/typescript/src/components/popover/arrow-svg.d.ts.map +1 -0
  682. package/lib/typescript/src/components/popover/index.d.ts +3 -0
  683. package/lib/typescript/src/components/popover/index.d.ts.map +1 -0
  684. package/lib/typescript/src/components/popover/popover.animation.d.ts +4 -0
  685. package/lib/typescript/src/components/popover/popover.animation.d.ts.map +1 -0
  686. package/lib/typescript/src/components/popover/popover.constants.d.ts +32 -0
  687. package/lib/typescript/src/components/popover/popover.constants.d.ts.map +1 -0
  688. package/lib/typescript/src/components/popover/popover.d.ts +56 -0
  689. package/lib/typescript/src/components/popover/popover.d.ts.map +1 -0
  690. package/lib/typescript/src/components/popover/popover.styles.d.ts +16 -0
  691. package/lib/typescript/src/components/popover/popover.styles.d.ts.map +1 -0
  692. package/lib/typescript/src/components/popover/popover.types.d.ts +336 -0
  693. package/lib/typescript/src/components/popover/popover.types.d.ts.map +1 -0
  694. package/lib/typescript/src/components/pressable-feedback/index.d.ts +3 -0
  695. package/lib/typescript/src/components/pressable-feedback/index.d.ts.map +1 -0
  696. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.animation.d.ts +75 -0
  697. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.animation.d.ts.map +1 -0
  698. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.constants.d.ts +11 -0
  699. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.constants.d.ts.map +1 -0
  700. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.d.ts +31 -0
  701. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.d.ts.map +1 -0
  702. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.styles.d.ts +105 -0
  703. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.styles.d.ts.map +1 -0
  704. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.types.d.ts +332 -0
  705. package/lib/typescript/src/components/pressable-feedback/pressable-feedback.types.d.ts.map +1 -0
  706. package/lib/typescript/src/components/radio-group/index.d.ts +3 -0
  707. package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -0
  708. package/lib/typescript/src/components/radio-group/radio-group.animation.d.ts +26 -0
  709. package/lib/typescript/src/components/radio-group/radio-group.animation.d.ts.map +1 -0
  710. package/lib/typescript/src/components/radio-group/radio-group.constants.d.ts +14 -0
  711. package/lib/typescript/src/components/radio-group/radio-group.constants.d.ts.map +1 -0
  712. package/lib/typescript/src/components/radio-group/radio-group.d.ts +53 -0
  713. package/lib/typescript/src/components/radio-group/radio-group.d.ts.map +1 -0
  714. package/lib/typescript/src/components/radio-group/radio-group.styles.d.ts +92 -0
  715. package/lib/typescript/src/components/radio-group/radio-group.styles.d.ts.map +1 -0
  716. package/lib/typescript/src/components/radio-group/radio-group.types.d.ts +136 -0
  717. package/lib/typescript/src/components/radio-group/radio-group.types.d.ts.map +1 -0
  718. package/lib/typescript/src/components/scroll-shadow/index.d.ts +3 -0
  719. package/lib/typescript/src/components/scroll-shadow/index.d.ts.map +1 -0
  720. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.animation.d.ts +25 -0
  721. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.animation.d.ts.map +1 -0
  722. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.constants.d.ts +19 -0
  723. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.constants.d.ts.map +1 -0
  724. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.d.ts +18 -0
  725. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.d.ts.map +1 -0
  726. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.styles.d.ts +42 -0
  727. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -0
  728. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.types.d.ts +98 -0
  729. package/lib/typescript/src/components/scroll-shadow/scroll-shadow.types.d.ts.map +1 -0
  730. package/lib/typescript/src/components/select/index.d.ts +3 -0
  731. package/lib/typescript/src/components/select/index.d.ts.map +1 -0
  732. package/lib/typescript/src/components/select/select.animation.d.ts +4 -0
  733. package/lib/typescript/src/components/select/select.animation.d.ts.map +1 -0
  734. package/lib/typescript/src/components/select/select.constants.d.ts +35 -0
  735. package/lib/typescript/src/components/select/select.constants.d.ts.map +1 -0
  736. package/lib/typescript/src/components/select/select.d.ts +66 -0
  737. package/lib/typescript/src/components/select/select.d.ts.map +1 -0
  738. package/lib/typescript/src/components/select/select.styles.d.ts +121 -0
  739. package/lib/typescript/src/components/select/select.styles.d.ts.map +1 -0
  740. package/lib/typescript/src/components/select/select.types.d.ts +391 -0
  741. package/lib/typescript/src/components/select/select.types.d.ts.map +1 -0
  742. package/lib/typescript/src/components/skeleton/index.d.ts +3 -0
  743. package/lib/typescript/src/components/skeleton/index.d.ts.map +1 -0
  744. package/lib/typescript/src/components/skeleton/linear-gradient.d.ts +6 -0
  745. package/lib/typescript/src/components/skeleton/linear-gradient.d.ts.map +1 -0
  746. package/lib/typescript/src/components/skeleton/skeleton.animation.d.ts +44 -0
  747. package/lib/typescript/src/components/skeleton/skeleton.animation.d.ts.map +1 -0
  748. package/lib/typescript/src/components/skeleton/skeleton.constants.d.ts +32 -0
  749. package/lib/typescript/src/components/skeleton/skeleton.constants.d.ts.map +1 -0
  750. package/lib/typescript/src/components/skeleton/skeleton.d.ts +15 -0
  751. package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -0
  752. package/lib/typescript/src/components/skeleton/skeleton.styles.d.ts +16 -0
  753. package/lib/typescript/src/components/skeleton/skeleton.styles.d.ts.map +1 -0
  754. package/lib/typescript/src/components/skeleton/skeleton.types.d.ts +173 -0
  755. package/lib/typescript/src/components/skeleton/skeleton.types.d.ts.map +1 -0
  756. package/lib/typescript/src/components/skeleton-group/index.d.ts +3 -0
  757. package/lib/typescript/src/components/skeleton-group/index.d.ts.map +1 -0
  758. package/lib/typescript/src/components/skeleton-group/skeleton-group.constants.d.ts +8 -0
  759. package/lib/typescript/src/components/skeleton-group/skeleton-group.constants.d.ts.map +1 -0
  760. package/lib/typescript/src/components/skeleton-group/skeleton-group.d.ts +24 -0
  761. package/lib/typescript/src/components/skeleton-group/skeleton-group.d.ts.map +1 -0
  762. package/lib/typescript/src/components/skeleton-group/skeleton-group.styles.d.ts +5 -0
  763. package/lib/typescript/src/components/skeleton-group/skeleton-group.styles.d.ts.map +1 -0
  764. package/lib/typescript/src/components/skeleton-group/skeleton-group.types.d.ts +28 -0
  765. package/lib/typescript/src/components/skeleton-group/skeleton-group.types.d.ts.map +1 -0
  766. package/lib/typescript/src/components/spinner/index.d.ts +3 -0
  767. package/lib/typescript/src/components/spinner/index.d.ts.map +1 -0
  768. package/lib/typescript/src/components/spinner/spinner-icon.d.ts +6 -0
  769. package/lib/typescript/src/components/spinner/spinner-icon.d.ts.map +1 -0
  770. package/lib/typescript/src/components/spinner/spinner.animation.d.ts +27 -0
  771. package/lib/typescript/src/components/spinner/spinner.animation.d.ts.map +1 -0
  772. package/lib/typescript/src/components/spinner/spinner.constants.d.ts +30 -0
  773. package/lib/typescript/src/components/spinner/spinner.constants.d.ts.map +1 -0
  774. package/lib/typescript/src/components/spinner/spinner.d.ts +23 -0
  775. package/lib/typescript/src/components/spinner/spinner.d.ts.map +1 -0
  776. package/lib/typescript/src/components/spinner/spinner.styles.d.ts +24 -0
  777. package/lib/typescript/src/components/spinner/spinner.styles.d.ts.map +1 -0
  778. package/lib/typescript/src/components/spinner/spinner.types.d.ts +131 -0
  779. package/lib/typescript/src/components/spinner/spinner.types.d.ts.map +1 -0
  780. package/lib/typescript/src/components/surface/index.d.ts +3 -0
  781. package/lib/typescript/src/components/surface/index.d.ts.map +1 -0
  782. package/lib/typescript/src/components/surface/surface.animation.d.ts +11 -0
  783. package/lib/typescript/src/components/surface/surface.animation.d.ts.map +1 -0
  784. package/lib/typescript/src/components/surface/surface.constants.d.ts +7 -0
  785. package/lib/typescript/src/components/surface/surface.constants.d.ts.map +1 -0
  786. package/lib/typescript/src/components/surface/surface.d.ts +16 -0
  787. package/lib/typescript/src/components/surface/surface.d.ts.map +1 -0
  788. package/lib/typescript/src/components/surface/surface.styles.d.ts +32 -0
  789. package/lib/typescript/src/components/surface/surface.styles.d.ts.map +1 -0
  790. package/lib/typescript/src/components/surface/surface.types.d.ts +40 -0
  791. package/lib/typescript/src/components/surface/surface.types.d.ts.map +1 -0
  792. package/lib/typescript/src/components/switch/index.d.ts +3 -0
  793. package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
  794. package/lib/typescript/src/components/switch/switch.animation.d.ts +46 -0
  795. package/lib/typescript/src/components/switch/switch.animation.d.ts.map +1 -0
  796. package/lib/typescript/src/components/switch/switch.constants.d.ts +20 -0
  797. package/lib/typescript/src/components/switch/switch.constants.d.ts.map +1 -0
  798. package/lib/typescript/src/components/switch/switch.d.ts +42 -0
  799. package/lib/typescript/src/components/switch/switch.d.ts.map +1 -0
  800. package/lib/typescript/src/components/switch/switch.styles.d.ts +28 -0
  801. package/lib/typescript/src/components/switch/switch.styles.d.ts.map +1 -0
  802. package/lib/typescript/src/components/switch/switch.types.d.ts +184 -0
  803. package/lib/typescript/src/components/switch/switch.types.d.ts.map +1 -0
  804. package/lib/typescript/src/components/tabs/index.d.ts +3 -0
  805. package/lib/typescript/src/components/tabs/index.d.ts.map +1 -0
  806. package/lib/typescript/src/components/tabs/tabs.animation.d.ts +26 -0
  807. package/lib/typescript/src/components/tabs/tabs.animation.d.ts.map +1 -0
  808. package/lib/typescript/src/components/tabs/tabs.constants.d.ts +12 -0
  809. package/lib/typescript/src/components/tabs/tabs.constants.d.ts.map +1 -0
  810. package/lib/typescript/src/components/tabs/tabs.context.d.ts +13 -0
  811. package/lib/typescript/src/components/tabs/tabs.context.d.ts.map +1 -0
  812. package/lib/typescript/src/components/tabs/tabs.d.ts +44 -0
  813. package/lib/typescript/src/components/tabs/tabs.d.ts.map +1 -0
  814. package/lib/typescript/src/components/tabs/tabs.styles.d.ts +103 -0
  815. package/lib/typescript/src/components/tabs/tabs.styles.d.ts.map +1 -0
  816. package/lib/typescript/src/components/tabs/tabs.types.d.ts +239 -0
  817. package/lib/typescript/src/components/tabs/tabs.types.d.ts.map +1 -0
  818. package/lib/typescript/src/components/text-field/index.d.ts +3 -0
  819. package/lib/typescript/src/components/text-field/index.d.ts.map +1 -0
  820. package/lib/typescript/src/components/text-field/text-field.animation.d.ts +47 -0
  821. package/lib/typescript/src/components/text-field/text-field.animation.d.ts.map +1 -0
  822. package/lib/typescript/src/components/text-field/text-field.constants.d.ts +30 -0
  823. package/lib/typescript/src/components/text-field/text-field.constants.d.ts.map +1 -0
  824. package/lib/typescript/src/components/text-field/text-field.d.ts +47 -0
  825. package/lib/typescript/src/components/text-field/text-field.d.ts.map +1 -0
  826. package/lib/typescript/src/components/text-field/text-field.styles.d.ts +203 -0
  827. package/lib/typescript/src/components/text-field/text-field.styles.d.ts.map +1 -0
  828. package/lib/typescript/src/components/text-field/text-field.types.d.ts +324 -0
  829. package/lib/typescript/src/components/text-field/text-field.types.d.ts.map +1 -0
  830. package/lib/typescript/src/components/toast/index.d.ts +3 -0
  831. package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
  832. package/lib/typescript/src/components/toast/toast.animation.d.ts +29 -0
  833. package/lib/typescript/src/components/toast/toast.animation.d.ts.map +1 -0
  834. package/lib/typescript/src/components/toast/toast.constants.d.ts +11 -0
  835. package/lib/typescript/src/components/toast/toast.constants.d.ts.map +1 -0
  836. package/lib/typescript/src/components/toast/toast.d.ts +56 -0
  837. package/lib/typescript/src/components/toast/toast.d.ts.map +1 -0
  838. package/lib/typescript/src/components/toast/toast.styles.d.ts +61 -0
  839. package/lib/typescript/src/components/toast/toast.styles.d.ts.map +1 -0
  840. package/lib/typescript/src/components/toast/toast.types.d.ts +278 -0
  841. package/lib/typescript/src/components/toast/toast.types.d.ts.map +1 -0
  842. package/lib/typescript/src/helpers/components/animated-check-icon.d.ts +12 -0
  843. package/lib/typescript/src/helpers/components/animated-check-icon.d.ts.map +1 -0
  844. package/lib/typescript/src/helpers/components/bottom-sheet-content-container.d.ts +20 -0
  845. package/lib/typescript/src/helpers/components/bottom-sheet-content-container.d.ts.map +1 -0
  846. package/lib/typescript/src/helpers/components/check-icon.d.ts +8 -0
  847. package/lib/typescript/src/helpers/components/check-icon.d.ts.map +1 -0
  848. package/lib/typescript/src/helpers/components/close-icon.d.ts +8 -0
  849. package/lib/typescript/src/helpers/components/close-icon.d.ts.map +1 -0
  850. package/lib/typescript/src/helpers/components/full-window-overlay.d.ts +4 -0
  851. package/lib/typescript/src/helpers/components/full-window-overlay.d.ts.map +1 -0
  852. package/lib/typescript/src/helpers/components/hero-text.d.ts +51 -0
  853. package/lib/typescript/src/helpers/components/hero-text.d.ts.map +1 -0
  854. package/lib/typescript/src/helpers/components/index.d.ts +6 -0
  855. package/lib/typescript/src/helpers/components/index.d.ts.map +1 -0
  856. package/lib/typescript/src/helpers/contexts/animation-settings-context.d.ts +12 -0
  857. package/lib/typescript/src/helpers/contexts/animation-settings-context.d.ts.map +1 -0
  858. package/lib/typescript/src/helpers/contexts/index.d.ts +3 -0
  859. package/lib/typescript/src/helpers/contexts/index.d.ts.map +1 -0
  860. package/lib/typescript/src/helpers/hooks/index.d.ts +12 -0
  861. package/lib/typescript/src/helpers/hooks/index.d.ts.map +1 -0
  862. package/lib/typescript/src/helpers/hooks/use-augmented-ref.d.ts +9 -0
  863. package/lib/typescript/src/helpers/hooks/use-augmented-ref.d.ts.map +1 -0
  864. package/lib/typescript/src/helpers/hooks/use-combined-animation-disabled-state.d.ts +22 -0
  865. package/lib/typescript/src/helpers/hooks/use-combined-animation-disabled-state.d.ts.map +1 -0
  866. package/lib/typescript/src/helpers/hooks/use-controllable-state.d.ts +22 -0
  867. package/lib/typescript/src/helpers/hooks/use-controllable-state.d.ts.map +1 -0
  868. package/lib/typescript/src/helpers/hooks/use-keyboard-status.d.ts +2 -0
  869. package/lib/typescript/src/helpers/hooks/use-keyboard-status.d.ts.map +1 -0
  870. package/lib/typescript/src/helpers/hooks/use-popup-bottom-sheet-content-animation.d.ts +27 -0
  871. package/lib/typescript/src/helpers/hooks/use-popup-bottom-sheet-content-animation.d.ts.map +1 -0
  872. package/lib/typescript/src/helpers/hooks/use-popup-dialog-content-animation.d.ts +70 -0
  873. package/lib/typescript/src/helpers/hooks/use-popup-dialog-content-animation.d.ts.map +1 -0
  874. package/lib/typescript/src/helpers/hooks/use-popup-overlay-animation.d.ts +21 -0
  875. package/lib/typescript/src/helpers/hooks/use-popup-overlay-animation.d.ts.map +1 -0
  876. package/lib/typescript/src/helpers/hooks/use-popup-popover-content-animation.d.ts +51 -0
  877. package/lib/typescript/src/helpers/hooks/use-popup-popover-content-animation.d.ts.map +1 -0
  878. package/lib/typescript/src/helpers/hooks/use-popup-root-animation.d.ts +33 -0
  879. package/lib/typescript/src/helpers/hooks/use-popup-root-animation.d.ts.map +1 -0
  880. package/lib/typescript/src/helpers/hooks/use-relative-position.d.ts +61 -0
  881. package/lib/typescript/src/helpers/hooks/use-relative-position.d.ts.map +1 -0
  882. package/lib/typescript/src/helpers/hooks/use-resolved-style-property.d.ts +60 -0
  883. package/lib/typescript/src/helpers/hooks/use-resolved-style-property.d.ts.map +1 -0
  884. package/lib/typescript/src/helpers/theme/color-kit/index.d.ts +92 -0
  885. package/lib/typescript/src/helpers/theme/color-kit/index.d.ts.map +1 -0
  886. package/lib/typescript/src/helpers/theme/color-kit/types.d.ts +202 -0
  887. package/lib/typescript/src/helpers/theme/color-kit/types.d.ts.map +1 -0
  888. package/lib/typescript/src/helpers/theme/hooks/use-is-on-surface.d.ts +2 -0
  889. package/lib/typescript/src/helpers/theme/hooks/use-is-on-surface.d.ts.map +1 -0
  890. package/lib/typescript/src/helpers/theme/hooks/use-theme-color.d.ts +25 -0
  891. package/lib/typescript/src/helpers/theme/hooks/use-theme-color.d.ts.map +1 -0
  892. package/lib/typescript/src/helpers/theme/index.d.ts +5 -0
  893. package/lib/typescript/src/helpers/theme/index.d.ts.map +1 -0
  894. package/lib/typescript/src/helpers/theme/types.d.ts +25 -0
  895. package/lib/typescript/src/helpers/theme/types.d.ts.map +1 -0
  896. package/lib/typescript/src/helpers/theme/utils/cn.d.ts +3 -0
  897. package/lib/typescript/src/helpers/theme/utils/cn.d.ts.map +1 -0
  898. package/lib/typescript/src/helpers/theme/utils/combine-styles.d.ts +13 -0
  899. package/lib/typescript/src/helpers/theme/utils/combine-styles.d.ts.map +1 -0
  900. package/lib/typescript/src/helpers/types/animation.d.ts +157 -0
  901. package/lib/typescript/src/helpers/types/animation.d.ts.map +1 -0
  902. package/lib/typescript/src/helpers/types/bottom-sheet.d.ts +72 -0
  903. package/lib/typescript/src/helpers/types/bottom-sheet.d.ts.map +1 -0
  904. package/lib/typescript/src/helpers/types/index.d.ts +5 -0
  905. package/lib/typescript/src/helpers/types/index.d.ts.map +1 -0
  906. package/lib/typescript/src/helpers/types/misc.d.ts +3 -0
  907. package/lib/typescript/src/helpers/types/misc.d.ts.map +1 -0
  908. package/lib/typescript/src/helpers/types/primitives.d.ts +120 -0
  909. package/lib/typescript/src/helpers/types/primitives.d.ts.map +1 -0
  910. package/lib/typescript/src/helpers/utils/animation.d.ts +120 -0
  911. package/lib/typescript/src/helpers/utils/animation.d.ts.map +1 -0
  912. package/lib/typescript/src/helpers/utils/children-to-string.d.ts +18 -0
  913. package/lib/typescript/src/helpers/utils/children-to-string.d.ts.map +1 -0
  914. package/lib/typescript/src/helpers/utils/create-context.d.ts +28 -0
  915. package/lib/typescript/src/helpers/utils/create-context.d.ts.map +1 -0
  916. package/lib/typescript/src/helpers/utils/ease-gradient/create-interpolation.d.ts +15 -0
  917. package/lib/typescript/src/helpers/utils/ease-gradient/create-interpolation.d.ts.map +1 -0
  918. package/lib/typescript/src/helpers/utils/ease-gradient/index.d.ts +28 -0
  919. package/lib/typescript/src/helpers/utils/ease-gradient/index.d.ts.map +1 -0
  920. package/lib/typescript/src/helpers/utils/get-element-by-display-name.d.ts +4 -0
  921. package/lib/typescript/src/helpers/utils/get-element-by-display-name.d.ts.map +1 -0
  922. package/lib/typescript/src/helpers/utils/get-element-with-default.d.ts +4 -0
  923. package/lib/typescript/src/helpers/utils/get-element-with-default.d.ts.map +1 -0
  924. package/lib/typescript/src/helpers/utils/has-prop.d.ts +9 -0
  925. package/lib/typescript/src/helpers/utils/has-prop.d.ts.map +1 -0
  926. package/lib/typescript/src/helpers/utils/index.d.ts +8 -0
  927. package/lib/typescript/src/helpers/utils/index.d.ts.map +1 -0
  928. package/lib/typescript/src/index.d.ts +29 -0
  929. package/lib/typescript/src/index.d.ts.map +1 -0
  930. package/lib/typescript/src/primitives/accordion/accordion.d.ts +30 -0
  931. package/lib/typescript/src/primitives/accordion/accordion.d.ts.map +1 -0
  932. package/lib/typescript/src/primitives/accordion/accordion.types.d.ts +84 -0
  933. package/lib/typescript/src/primitives/accordion/accordion.types.d.ts.map +1 -0
  934. package/lib/typescript/src/primitives/accordion/accordion.utils.d.ts +3 -0
  935. package/lib/typescript/src/primitives/accordion/accordion.utils.d.ts.map +1 -0
  936. package/lib/typescript/src/primitives/accordion/index.d.ts +3 -0
  937. package/lib/typescript/src/primitives/accordion/index.d.ts.map +1 -0
  938. package/lib/typescript/src/primitives/activity-indicator/activity-indicator.d.ts +6 -0
  939. package/lib/typescript/src/primitives/activity-indicator/activity-indicator.d.ts.map +1 -0
  940. package/lib/typescript/src/primitives/activity-indicator/activity-indicator.types.d.ts +22 -0
  941. package/lib/typescript/src/primitives/activity-indicator/activity-indicator.types.d.ts.map +1 -0
  942. package/lib/typescript/src/primitives/activity-indicator/index.d.ts +3 -0
  943. package/lib/typescript/src/primitives/activity-indicator/index.d.ts.map +1 -0
  944. package/lib/typescript/src/primitives/avatar/avatar.d.ts +23 -0
  945. package/lib/typescript/src/primitives/avatar/avatar.d.ts.map +1 -0
  946. package/lib/typescript/src/primitives/avatar/avatar.types.d.ts +42 -0
  947. package/lib/typescript/src/primitives/avatar/avatar.types.d.ts.map +1 -0
  948. package/lib/typescript/src/primitives/avatar/avatar.utils.d.ts +44 -0
  949. package/lib/typescript/src/primitives/avatar/avatar.utils.d.ts.map +1 -0
  950. package/lib/typescript/src/primitives/avatar/index.d.ts +3 -0
  951. package/lib/typescript/src/primitives/avatar/index.d.ts.map +1 -0
  952. package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.d.ts +38 -0
  953. package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.d.ts.map +1 -0
  954. package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.types.d.ts +87 -0
  955. package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.types.d.ts.map +1 -0
  956. package/lib/typescript/src/primitives/bottom-sheet/index.d.ts +3 -0
  957. package/lib/typescript/src/primitives/bottom-sheet/index.d.ts.map +1 -0
  958. package/lib/typescript/src/primitives/checkbox/checkbox.d.ts +17 -0
  959. package/lib/typescript/src/primitives/checkbox/checkbox.d.ts.map +1 -0
  960. package/lib/typescript/src/primitives/checkbox/checkbox.types.d.ts +30 -0
  961. package/lib/typescript/src/primitives/checkbox/checkbox.types.d.ts.map +1 -0
  962. package/lib/typescript/src/primitives/checkbox/index.d.ts +3 -0
  963. package/lib/typescript/src/primitives/checkbox/index.d.ts.map +1 -0
  964. package/lib/typescript/src/primitives/dialog/dialog.d.ts +38 -0
  965. package/lib/typescript/src/primitives/dialog/dialog.d.ts.map +1 -0
  966. package/lib/typescript/src/primitives/dialog/dialog.types.d.ts +87 -0
  967. package/lib/typescript/src/primitives/dialog/dialog.types.d.ts.map +1 -0
  968. package/lib/typescript/src/primitives/dialog/index.d.ts +3 -0
  969. package/lib/typescript/src/primitives/dialog/index.d.ts.map +1 -0
  970. package/lib/typescript/src/primitives/label/index.d.ts +3 -0
  971. package/lib/typescript/src/primitives/label/index.d.ts.map +1 -0
  972. package/lib/typescript/src/primitives/label/label.d.ts +12 -0
  973. package/lib/typescript/src/primitives/label/label.d.ts.map +1 -0
  974. package/lib/typescript/src/primitives/label/label.types.d.ts +26 -0
  975. package/lib/typescript/src/primitives/label/label.types.d.ts.map +1 -0
  976. package/lib/typescript/src/primitives/popover/index.d.ts +3 -0
  977. package/lib/typescript/src/primitives/popover/index.d.ts.map +1 -0
  978. package/lib/typescript/src/primitives/popover/popover.d.ts +38 -0
  979. package/lib/typescript/src/primitives/popover/popover.d.ts.map +1 -0
  980. package/lib/typescript/src/primitives/popover/popover.types.d.ts +165 -0
  981. package/lib/typescript/src/primitives/popover/popover.types.d.ts.map +1 -0
  982. package/lib/typescript/src/primitives/portal/index.d.ts +2 -0
  983. package/lib/typescript/src/primitives/portal/index.d.ts.map +1 -0
  984. package/lib/typescript/src/primitives/portal/portal.d.ts +25 -0
  985. package/lib/typescript/src/primitives/portal/portal.d.ts.map +1 -0
  986. package/lib/typescript/src/primitives/radio-group/index.d.ts +3 -0
  987. package/lib/typescript/src/primitives/radio-group/index.d.ts.map +1 -0
  988. package/lib/typescript/src/primitives/radio-group/radio-group.d.ts +20 -0
  989. package/lib/typescript/src/primitives/radio-group/radio-group.d.ts.map +1 -0
  990. package/lib/typescript/src/primitives/radio-group/radio-group.types.d.ts +46 -0
  991. package/lib/typescript/src/primitives/radio-group/radio-group.types.d.ts.map +1 -0
  992. package/lib/typescript/src/primitives/select/index.d.ts +3 -0
  993. package/lib/typescript/src/primitives/select/index.d.ts.map +1 -0
  994. package/lib/typescript/src/primitives/select/select.d.ts +70 -0
  995. package/lib/typescript/src/primitives/select/select.d.ts.map +1 -0
  996. package/lib/typescript/src/primitives/select/select.types.d.ts +264 -0
  997. package/lib/typescript/src/primitives/select/select.types.d.ts.map +1 -0
  998. package/lib/typescript/src/primitives/slot/index.d.ts +2 -0
  999. package/lib/typescript/src/primitives/slot/index.d.ts.map +1 -0
  1000. package/lib/typescript/src/primitives/slot/slot.d.ts +9 -0
  1001. package/lib/typescript/src/primitives/slot/slot.d.ts.map +1 -0
  1002. package/lib/typescript/src/primitives/slot/types.d.ts +11 -0
  1003. package/lib/typescript/src/primitives/slot/types.d.ts.map +1 -0
  1004. package/lib/typescript/src/primitives/slot/utils.d.ts +8 -0
  1005. package/lib/typescript/src/primitives/slot/utils.d.ts.map +1 -0
  1006. package/lib/typescript/src/primitives/switch/index.d.ts +3 -0
  1007. package/lib/typescript/src/primitives/switch/index.d.ts.map +1 -0
  1008. package/lib/typescript/src/primitives/switch/switch.d.ts +8 -0
  1009. package/lib/typescript/src/primitives/switch/switch.d.ts.map +1 -0
  1010. package/lib/typescript/src/primitives/switch/switch.types.d.ts +44 -0
  1011. package/lib/typescript/src/primitives/switch/switch.types.d.ts.map +1 -0
  1012. package/lib/typescript/src/primitives/tabs/index.d.ts +3 -0
  1013. package/lib/typescript/src/primitives/tabs/index.d.ts.map +1 -0
  1014. package/lib/typescript/src/primitives/tabs/tabs.d.ts +40 -0
  1015. package/lib/typescript/src/primitives/tabs/tabs.d.ts.map +1 -0
  1016. package/lib/typescript/src/primitives/tabs/tabs.types.d.ts +48 -0
  1017. package/lib/typescript/src/primitives/tabs/tabs.types.d.ts.map +1 -0
  1018. package/lib/typescript/src/primitives/toast/index.d.ts +3 -0
  1019. package/lib/typescript/src/primitives/toast/index.d.ts.map +1 -0
  1020. package/lib/typescript/src/primitives/toast/toast.d.ts +24 -0
  1021. package/lib/typescript/src/primitives/toast/toast.d.ts.map +1 -0
  1022. package/lib/typescript/src/primitives/toast/toast.types.d.ts +56 -0
  1023. package/lib/typescript/src/primitives/toast/toast.types.d.ts.map +1 -0
  1024. package/lib/typescript/src/providers/animation-settings/index.d.ts +3 -0
  1025. package/lib/typescript/src/providers/animation-settings/index.d.ts.map +1 -0
  1026. package/lib/typescript/src/providers/animation-settings/provider.d.ts +23 -0
  1027. package/lib/typescript/src/providers/animation-settings/provider.d.ts.map +1 -0
  1028. package/lib/typescript/src/providers/animation-settings/types.d.ts +26 -0
  1029. package/lib/typescript/src/providers/animation-settings/types.d.ts.map +1 -0
  1030. package/lib/typescript/src/providers/hero-ui-native/index.d.ts +3 -0
  1031. package/lib/typescript/src/providers/hero-ui-native/index.d.ts.map +1 -0
  1032. package/lib/typescript/src/providers/hero-ui-native/provider.d.ts +42 -0
  1033. package/lib/typescript/src/providers/hero-ui-native/provider.d.ts.map +1 -0
  1034. package/lib/typescript/src/providers/hero-ui-native/types.d.ts +80 -0
  1035. package/lib/typescript/src/providers/hero-ui-native/types.d.ts.map +1 -0
  1036. package/lib/typescript/src/providers/text-component/index.d.ts +3 -0
  1037. package/lib/typescript/src/providers/text-component/index.d.ts.map +1 -0
  1038. package/lib/typescript/src/providers/text-component/provider.d.ts +4 -0
  1039. package/lib/typescript/src/providers/text-component/provider.d.ts.map +1 -0
  1040. package/lib/typescript/src/providers/text-component/types.d.ts +51 -0
  1041. package/lib/typescript/src/providers/text-component/types.d.ts.map +1 -0
  1042. package/lib/typescript/src/providers/toast/index.d.ts +4 -0
  1043. package/lib/typescript/src/providers/toast/index.d.ts.map +1 -0
  1044. package/lib/typescript/src/providers/toast/insets-container.d.ts +35 -0
  1045. package/lib/typescript/src/providers/toast/insets-container.d.ts.map +1 -0
  1046. package/lib/typescript/src/providers/toast/provider.d.ts +32 -0
  1047. package/lib/typescript/src/providers/toast/provider.d.ts.map +1 -0
  1048. package/lib/typescript/src/providers/toast/reducer.d.ts +6 -0
  1049. package/lib/typescript/src/providers/toast/reducer.d.ts.map +1 -0
  1050. package/lib/typescript/src/providers/toast/toast-config.context.d.ts +20 -0
  1051. package/lib/typescript/src/providers/toast/toast-config.context.d.ts.map +1 -0
  1052. package/lib/typescript/src/providers/toast/toast-item-renderer.d.ts +7 -0
  1053. package/lib/typescript/src/providers/toast/toast-item-renderer.d.ts.map +1 -0
  1054. package/lib/typescript/src/providers/toast/types.d.ts +355 -0
  1055. package/lib/typescript/src/providers/toast/types.d.ts.map +1 -0
  1056. package/package.json +177 -0
  1057. package/src/components/accordion/accordion.animation.ts +178 -0
  1058. package/src/components/accordion/accordion.constants.ts +62 -0
  1059. package/src/components/accordion/accordion.md +406 -0
  1060. package/src/components/accordion/accordion.styles.ts +95 -0
  1061. package/src/components/accordion/accordion.tsx +330 -0
  1062. package/src/components/accordion/accordion.types.ts +262 -0
  1063. package/src/components/accordion/chevron-down-icon.tsx +25 -0
  1064. package/src/components/accordion/index.ts +16 -0
  1065. package/src/components/avatar/avatar.animation.ts +123 -0
  1066. package/src/components/avatar/avatar.constants.ts +19 -0
  1067. package/src/components/avatar/avatar.context.ts +11 -0
  1068. package/src/components/avatar/avatar.md +376 -0
  1069. package/src/components/avatar/avatar.styles.ts +153 -0
  1070. package/src/components/avatar/avatar.tsx +298 -0
  1071. package/src/components/avatar/avatar.types.ts +231 -0
  1072. package/src/components/avatar/index.ts +12 -0
  1073. package/src/components/avatar/person-icon.tsx +23 -0
  1074. package/src/components/bottom-sheet/bottom-sheet.animation.ts +42 -0
  1075. package/src/components/bottom-sheet/bottom-sheet.constants.ts +13 -0
  1076. package/src/components/bottom-sheet/bottom-sheet.md +341 -0
  1077. package/src/components/bottom-sheet/bottom-sheet.styles.ts +67 -0
  1078. package/src/components/bottom-sheet/bottom-sheet.tsx +395 -0
  1079. package/src/components/bottom-sheet/bottom-sheet.types.ts +199 -0
  1080. package/src/components/bottom-sheet/index.ts +16 -0
  1081. package/src/components/button/button.constants.ts +7 -0
  1082. package/src/components/button/button.md +316 -0
  1083. package/src/components/button/button.styles.ts +89 -0
  1084. package/src/components/button/button.tsx +248 -0
  1085. package/src/components/button/button.types.ts +88 -0
  1086. package/src/components/button/index.ts +8 -0
  1087. package/src/components/card/card.constants.ts +11 -0
  1088. package/src/components/card/card.md +187 -0
  1089. package/src/components/card/card.styles.ts +37 -0
  1090. package/src/components/card/card.tsx +148 -0
  1091. package/src/components/card/card.types.ts +77 -0
  1092. package/src/components/card/index.ts +9 -0
  1093. package/src/components/checkbox/checkbox.animation.ts +201 -0
  1094. package/src/components/checkbox/checkbox.constants.ts +6 -0
  1095. package/src/components/checkbox/checkbox.md +305 -0
  1096. package/src/components/checkbox/checkbox.styles.ts +106 -0
  1097. package/src/components/checkbox/checkbox.tsx +245 -0
  1098. package/src/components/checkbox/checkbox.types.ts +211 -0
  1099. package/src/components/checkbox/index.ts +2 -0
  1100. package/src/components/chip/chip.animation.ts +18 -0
  1101. package/src/components/chip/chip.constants.ts +7 -0
  1102. package/src/components/chip/chip.md +190 -0
  1103. package/src/components/chip/chip.styles.ts +235 -0
  1104. package/src/components/chip/chip.tsx +125 -0
  1105. package/src/components/chip/chip.types.ts +69 -0
  1106. package/src/components/chip/index.ts +2 -0
  1107. package/src/components/dialog/dialog.animation.ts +9 -0
  1108. package/src/components/dialog/dialog.constants.ts +13 -0
  1109. package/src/components/dialog/dialog.md +363 -0
  1110. package/src/components/dialog/dialog.styles.ts +84 -0
  1111. package/src/components/dialog/dialog.tsx +392 -0
  1112. package/src/components/dialog/dialog.types.ts +244 -0
  1113. package/src/components/dialog/index.ts +12 -0
  1114. package/src/components/divider/divider.constants.ts +6 -0
  1115. package/src/components/divider/divider.md +98 -0
  1116. package/src/components/divider/divider.styles.ts +47 -0
  1117. package/src/components/divider/divider.tsx +62 -0
  1118. package/src/components/divider/divider.types.ts +40 -0
  1119. package/src/components/divider/index.ts +6 -0
  1120. package/src/components/error-view/error-view.animation.ts +52 -0
  1121. package/src/components/error-view/error-view.constants.ts +31 -0
  1122. package/src/components/error-view/error-view.md +177 -0
  1123. package/src/components/error-view/error-view.styles.ts +17 -0
  1124. package/src/components/error-view/error-view.tsx +73 -0
  1125. package/src/components/error-view/error-view.types.ts +70 -0
  1126. package/src/components/error-view/index.ts +2 -0
  1127. package/src/components/form-field/form-field.animation.ts +18 -0
  1128. package/src/components/form-field/form-field.constants.ts +10 -0
  1129. package/src/components/form-field/form-field.context.ts +13 -0
  1130. package/src/components/form-field/form-field.md +243 -0
  1131. package/src/components/form-field/form-field.styles.ts +40 -0
  1132. package/src/components/form-field/form-field.tsx +301 -0
  1133. package/src/components/form-field/form-field.types.ts +86 -0
  1134. package/src/components/form-field/index.ts +7 -0
  1135. package/src/components/popover/arrow-svg.tsx +180 -0
  1136. package/src/components/popover/index.ts +19 -0
  1137. package/src/components/popover/popover.animation.ts +9 -0
  1138. package/src/components/popover/popover.constants.ts +34 -0
  1139. package/src/components/popover/popover.md +521 -0
  1140. package/src/components/popover/popover.styles.ts +92 -0
  1141. package/src/components/popover/popover.tsx +637 -0
  1142. package/src/components/popover/popover.types.ts +370 -0
  1143. package/src/components/pressable-feedback/index.ts +3 -0
  1144. package/src/components/pressable-feedback/pressable-feedback.animation.ts +380 -0
  1145. package/src/components/pressable-feedback/pressable-feedback.constants.ts +11 -0
  1146. package/src/components/pressable-feedback/pressable-feedback.md +246 -0
  1147. package/src/components/pressable-feedback/pressable-feedback.styles.ts +106 -0
  1148. package/src/components/pressable-feedback/pressable-feedback.tsx +291 -0
  1149. package/src/components/pressable-feedback/pressable-feedback.types.ts +350 -0
  1150. package/src/components/radio-group/index.ts +17 -0
  1151. package/src/components/radio-group/radio-group.animation.ts +92 -0
  1152. package/src/components/radio-group/radio-group.constants.ts +14 -0
  1153. package/src/components/radio-group/radio-group.md +303 -0
  1154. package/src/components/radio-group/radio-group.styles.ts +101 -0
  1155. package/src/components/radio-group/radio-group.tsx +327 -0
  1156. package/src/components/radio-group/radio-group.types.ts +152 -0
  1157. package/src/components/scroll-shadow/index.ts +6 -0
  1158. package/src/components/scroll-shadow/scroll-shadow.animation.ts +132 -0
  1159. package/src/components/scroll-shadow/scroll-shadow.constants.ts +21 -0
  1160. package/src/components/scroll-shadow/scroll-shadow.md +191 -0
  1161. package/src/components/scroll-shadow/scroll-shadow.styles.ts +47 -0
  1162. package/src/components/scroll-shadow/scroll-shadow.tsx +246 -0
  1163. package/src/components/scroll-shadow/scroll-shadow.types.ts +121 -0
  1164. package/src/components/select/index.ts +25 -0
  1165. package/src/components/select/select.animation.ts +9 -0
  1166. package/src/components/select/select.constants.ts +37 -0
  1167. package/src/components/select/select.md +735 -0
  1168. package/src/components/select/select.styles.ts +154 -0
  1169. package/src/components/select/select.tsx +736 -0
  1170. package/src/components/select/select.types.ts +432 -0
  1171. package/src/components/skeleton/index.ts +6 -0
  1172. package/src/components/skeleton/linear-gradient.tsx +45 -0
  1173. package/src/components/skeleton/skeleton.animation.ts +349 -0
  1174. package/src/components/skeleton/skeleton.constants.ts +39 -0
  1175. package/src/components/skeleton/skeleton.md +200 -0
  1176. package/src/components/skeleton/skeleton.styles.ts +57 -0
  1177. package/src/components/skeleton/skeleton.tsx +183 -0
  1178. package/src/components/skeleton/skeleton.types.ts +191 -0
  1179. package/src/components/skeleton-group/index.ts +6 -0
  1180. package/src/components/skeleton-group/skeleton-group.constants.ts +7 -0
  1181. package/src/components/skeleton-group/skeleton-group.md +247 -0
  1182. package/src/components/skeleton-group/skeleton-group.styles.ts +8 -0
  1183. package/src/components/skeleton-group/skeleton-group.tsx +94 -0
  1184. package/src/components/skeleton-group/skeleton-group.types.ts +28 -0
  1185. package/src/components/spinner/index.ts +9 -0
  1186. package/src/components/spinner/spinner-icon.tsx +49 -0
  1187. package/src/components/spinner/spinner.animation.ts +150 -0
  1188. package/src/components/spinner/spinner.constants.ts +36 -0
  1189. package/src/components/spinner/spinner.md +199 -0
  1190. package/src/components/spinner/spinner.styles.ts +46 -0
  1191. package/src/components/spinner/spinner.tsx +195 -0
  1192. package/src/components/spinner/spinner.types.ts +158 -0
  1193. package/src/components/surface/index.ts +2 -0
  1194. package/src/components/surface/surface.animation.ts +18 -0
  1195. package/src/components/surface/surface.constants.ts +6 -0
  1196. package/src/components/surface/surface.md +141 -0
  1197. package/src/components/surface/surface.styles.ts +26 -0
  1198. package/src/components/surface/surface.tsx +66 -0
  1199. package/src/components/surface/surface.types.ts +47 -0
  1200. package/src/components/switch/index.ts +2 -0
  1201. package/src/components/switch/switch.animation.ts +246 -0
  1202. package/src/components/switch/switch.constants.ts +26 -0
  1203. package/src/components/switch/switch.md +332 -0
  1204. package/src/components/switch/switch.styles.ts +85 -0
  1205. package/src/components/switch/switch.tsx +280 -0
  1206. package/src/components/switch/switch.types.ts +208 -0
  1207. package/src/components/tabs/index.ts +7 -0
  1208. package/src/components/tabs/tabs.animation.ts +167 -0
  1209. package/src/components/tabs/tabs.constants.ts +16 -0
  1210. package/src/components/tabs/tabs.context.ts +28 -0
  1211. package/src/components/tabs/tabs.md +492 -0
  1212. package/src/components/tabs/tabs.styles.ts +127 -0
  1213. package/src/components/tabs/tabs.tsx +372 -0
  1214. package/src/components/tabs/tabs.types.ts +263 -0
  1215. package/src/components/text-field/index.ts +10 -0
  1216. package/src/components/text-field/text-field.animation.ts +299 -0
  1217. package/src/components/text-field/text-field.constants.ts +36 -0
  1218. package/src/components/text-field/text-field.md +377 -0
  1219. package/src/components/text-field/text-field.styles.ts +106 -0
  1220. package/src/components/text-field/text-field.tsx +375 -0
  1221. package/src/components/text-field/text-field.types.ts +349 -0
  1222. package/src/components/toast/index.ts +2 -0
  1223. package/src/components/toast/toast.animation.ts +381 -0
  1224. package/src/components/toast/toast.constants.ts +10 -0
  1225. package/src/components/toast/toast.md +417 -0
  1226. package/src/components/toast/toast.styles.ts +91 -0
  1227. package/src/components/toast/toast.tsx +428 -0
  1228. package/src/components/toast/toast.types.ts +316 -0
  1229. package/src/helpers/components/animated-check-icon.tsx +78 -0
  1230. package/src/helpers/components/bottom-sheet-content-container.tsx +49 -0
  1231. package/src/helpers/components/check-icon.tsx +28 -0
  1232. package/src/helpers/components/close-icon.tsx +29 -0
  1233. package/src/helpers/components/full-window-overlay.tsx +6 -0
  1234. package/src/helpers/components/hero-text.tsx +71 -0
  1235. package/src/helpers/components/index.ts +5 -0
  1236. package/src/helpers/contexts/animation-settings-context.tsx +19 -0
  1237. package/src/helpers/contexts/index.ts +5 -0
  1238. package/src/helpers/hooks/index.ts +11 -0
  1239. package/src/helpers/hooks/use-augmented-ref.ts +32 -0
  1240. package/src/helpers/hooks/use-combined-animation-disabled-state.ts +49 -0
  1241. package/src/helpers/hooks/use-controllable-state.ts +102 -0
  1242. package/src/helpers/hooks/use-keyboard-status.ts +22 -0
  1243. package/src/helpers/hooks/use-popup-bottom-sheet-content-animation.ts +77 -0
  1244. package/src/helpers/hooks/use-popup-dialog-content-animation.ts +279 -0
  1245. package/src/helpers/hooks/use-popup-overlay-animation.ts +70 -0
  1246. package/src/helpers/hooks/use-popup-popover-content-animation.ts +154 -0
  1247. package/src/helpers/hooks/use-popup-root-animation.ts +248 -0
  1248. package/src/helpers/hooks/use-relative-position.ts +353 -0
  1249. package/src/helpers/hooks/use-resolved-style-property.ts +118 -0
  1250. package/src/helpers/theme/color-kit/index.ts +2392 -0
  1251. package/src/helpers/theme/color-kit/types.ts +212 -0
  1252. package/src/helpers/theme/hooks/use-is-on-surface.ts +8 -0
  1253. package/src/helpers/theme/hooks/use-theme-color.ts +56 -0
  1254. package/src/helpers/theme/index.ts +4 -0
  1255. package/src/helpers/theme/types.ts +89 -0
  1256. package/src/helpers/theme/utils/cn.ts +12 -0
  1257. package/src/helpers/theme/utils/combine-styles.ts +17 -0
  1258. package/src/helpers/types/animation.ts +183 -0
  1259. package/src/helpers/types/bottom-sheet.ts +74 -0
  1260. package/src/helpers/types/index.ts +4 -0
  1261. package/src/helpers/types/misc.ts +10 -0
  1262. package/src/helpers/types/primitives.ts +146 -0
  1263. package/src/helpers/utils/animation.ts +266 -0
  1264. package/src/helpers/utils/children-to-string.ts +78 -0
  1265. package/src/helpers/utils/create-context.ts +60 -0
  1266. package/src/helpers/utils/ease-gradient/create-interpolation.ts +35 -0
  1267. package/src/helpers/utils/ease-gradient/index.ts +97 -0
  1268. package/src/helpers/utils/get-element-by-display-name.ts +15 -0
  1269. package/src/helpers/utils/get-element-with-default.ts +17 -0
  1270. package/src/helpers/utils/has-prop.ts +18 -0
  1271. package/src/helpers/utils/index.ts +7 -0
  1272. package/src/index.tsx +33 -0
  1273. package/src/primitives/README.md +27 -0
  1274. package/src/primitives/accordion/accordion.tsx +270 -0
  1275. package/src/primitives/accordion/accordion.types.ts +117 -0
  1276. package/src/primitives/accordion/accordion.utils.ts +12 -0
  1277. package/src/primitives/accordion/index.ts +2 -0
  1278. package/src/primitives/activity-indicator/activity-indicator.tsx +50 -0
  1279. package/src/primitives/activity-indicator/activity-indicator.types.ts +24 -0
  1280. package/src/primitives/activity-indicator/index.ts +2 -0
  1281. package/src/primitives/avatar/avatar.tsx +171 -0
  1282. package/src/primitives/avatar/avatar.types.ts +62 -0
  1283. package/src/primitives/avatar/avatar.utils.ts +102 -0
  1284. package/src/primitives/avatar/index.ts +2 -0
  1285. package/src/primitives/bottom-sheet/bottom-sheet.tsx +246 -0
  1286. package/src/primitives/bottom-sheet/bottom-sheet.types.ts +127 -0
  1287. package/src/primitives/bottom-sheet/index.ts +2 -0
  1288. package/src/primitives/checkbox/checkbox.tsx +121 -0
  1289. package/src/primitives/checkbox/checkbox.types.ts +39 -0
  1290. package/src/primitives/checkbox/index.ts +2 -0
  1291. package/src/primitives/dialog/dialog.tsx +274 -0
  1292. package/src/primitives/dialog/dialog.types.ts +129 -0
  1293. package/src/primitives/dialog/index.ts +2 -0
  1294. package/src/primitives/label/index.ts +2 -0
  1295. package/src/primitives/label/label.tsx +24 -0
  1296. package/src/primitives/label/label.types.ts +37 -0
  1297. package/src/primitives/popover/index.ts +2 -0
  1298. package/src/primitives/popover/popover.tsx +394 -0
  1299. package/src/primitives/popover/popover.types.ts +202 -0
  1300. package/src/primitives/portal/index.ts +1 -0
  1301. package/src/primitives/portal/portal.tsx +126 -0
  1302. package/src/primitives/radio-group/index.ts +2 -0
  1303. package/src/primitives/radio-group/radio-group.tsx +114 -0
  1304. package/src/primitives/radio-group/radio-group.types.ts +65 -0
  1305. package/src/primitives/select/index.ts +2 -0
  1306. package/src/primitives/select/select.tsx +641 -0
  1307. package/src/primitives/select/select.types.ts +333 -0
  1308. package/src/primitives/slot/index.ts +1 -0
  1309. package/src/primitives/slot/slot.tsx +121 -0
  1310. package/src/primitives/slot/types.ts +19 -0
  1311. package/src/primitives/slot/utils.ts +90 -0
  1312. package/src/primitives/switch/index.ts +2 -0
  1313. package/src/primitives/switch/switch.tsx +61 -0
  1314. package/src/primitives/switch/switch.types.ts +55 -0
  1315. package/src/primitives/tabs/index.ts +2 -0
  1316. package/src/primitives/tabs/tabs.tsx +202 -0
  1317. package/src/primitives/tabs/tabs.types.ts +77 -0
  1318. package/src/primitives/toast/index.ts +2 -0
  1319. package/src/primitives/toast/toast.tsx +138 -0
  1320. package/src/primitives/toast/toast.types.ts +86 -0
  1321. package/src/providers/animation-settings/index.ts +8 -0
  1322. package/src/providers/animation-settings/provider.tsx +47 -0
  1323. package/src/providers/animation-settings/types.ts +27 -0
  1324. package/src/providers/hero-ui-native/index.ts +2 -0
  1325. package/src/providers/hero-ui-native/provider.md +332 -0
  1326. package/src/providers/hero-ui-native/provider.tsx +92 -0
  1327. package/src/providers/hero-ui-native/types.ts +82 -0
  1328. package/src/providers/text-component/index.ts +2 -0
  1329. package/src/providers/text-component/provider.tsx +9 -0
  1330. package/src/providers/text-component/types.ts +52 -0
  1331. package/src/providers/toast/index.ts +3 -0
  1332. package/src/providers/toast/insets-container.tsx +74 -0
  1333. package/src/providers/toast/provider.tsx +426 -0
  1334. package/src/providers/toast/reducer.ts +34 -0
  1335. package/src/providers/toast/toast-config.context.ts +27 -0
  1336. package/src/providers/toast/toast-item-renderer.tsx +45 -0
  1337. package/src/providers/toast/types.ts +367 -0
  1338. package/src/styles/index.css +3 -0
  1339. package/src/styles/theme.css +205 -0
  1340. package/src/styles/theme.md +423 -0
  1341. package/src/styles/utilities.css +8 -0
  1342. package/src/styles/variables.css +113 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","tv","combineStyles","root","base","item","variants","isDisabled","true","defaultVariants","itemIndicator","isOnSurface","false","isSelected","isInvalid","compoundVariants","className","itemIndicatorThumb","errorMessage","radioGroupStyles","styleSheet","create","borderCurve"],"sourceRoot":"../../../../src","sources":["components/radio-group/radio-group.styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,EAAE,QAAQ,mBAAmB;AACtC,SAASC,aAAa,QAAQ,6CAA0C;AAExE,MAAMC,IAAI,GAAGF,EAAE,CAAC;EACdG,IAAI,EAAE;AACR,CAAC,CAAC;AAEF,MAAMC,IAAI,GAAGJ,EAAE,CAAC;EACdG,IAAI,EAAE,6CAA6C;EACnDE,QAAQ,EAAE;IACRC,UAAU,EAAE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f;AACF,CAAC,CAAC;AAEF,eAAeH,gBAAgB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=radio-group.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/radio-group/radio-group.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { default as ScrollShadow } from "./scroll-shadow.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default","ScrollShadow"],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,YAAY,QAAQ,oBAAiB","ignoreList":[]}
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ import { Extrapolation, interpolate, useAnimatedScrollHandler, useAnimatedStyle, useDerivedValue, useSharedValue, withTiming } from 'react-native-reanimated';
4
+ import { useCombinedAnimationDisabledState } from "../../helpers/hooks/index.js";
5
+ import { getAnimationValueProperty, getIsAnimationDisabledValue, getRootAnimationState } from "../../helpers/utils/animation.js";
6
+ import { SHADOW_EXIT_ANIMATION_DURATION } from "./scroll-shadow.constants.js";
7
+ // --------------------------------------------------
8
+
9
+ /**
10
+ * Animation hook for ScrollShadow root component
11
+ * Handles cascading animation disabled state and all animation logic
12
+ */
13
+ export function useScrollShadowRootAnimation(options) {
14
+ const {
15
+ animation,
16
+ orientation,
17
+ size,
18
+ visibility,
19
+ isEnabled
20
+ } = options;
21
+ const {
22
+ animationConfig,
23
+ isAnimationDisabled
24
+ } = getRootAnimationState(animation);
25
+ const isAllAnimationsDisabled = useCombinedAnimationDisabledState(animation);
26
+ const isAnimationDisabledValue = getIsAnimationDisabledValue({
27
+ isAnimationDisabled,
28
+ isAllAnimationsDisabled
29
+ });
30
+
31
+ // Opacity animation values
32
+ const topOpacityValue = getAnimationValueProperty({
33
+ animationValue: animationConfig?.opacity,
34
+ property: 'value',
35
+ defaultValue: [0, 1]
36
+ });
37
+
38
+ // Reverse array for bottom shadow: [1, 0]
39
+ const bottomOpacityValue = [topOpacityValue[1], topOpacityValue[0]];
40
+ const scrollOffset = useSharedValue(0);
41
+ const contentSize = useSharedValue(0);
42
+ const containerSize = useSharedValue(0);
43
+ const localScrollHandler = useAnimatedScrollHandler({
44
+ onScroll: event => {
45
+ const offset = orientation === 'vertical' ? event.contentOffset.y : event.contentOffset.x;
46
+ scrollOffset.set(offset);
47
+ }
48
+ });
49
+ const topShadowOpacity = useDerivedValue(() => {
50
+ if (isAnimationDisabledValue) {
51
+ return 1;
52
+ }
53
+ if (!isEnabled) return withTiming(0, {
54
+ duration: SHADOW_EXIT_ANIMATION_DURATION
55
+ });
56
+ if (visibility === 'none') return withTiming(0, {
57
+ duration: SHADOW_EXIT_ANIMATION_DURATION
58
+ });
59
+ if (visibility === 'bottom' || visibility === 'right') return withTiming(0, {
60
+ duration: SHADOW_EXIT_ANIMATION_DURATION
61
+ });
62
+ return interpolate(scrollOffset.get(), [0, size / 4], topOpacityValue, Extrapolation.CLAMP);
63
+ });
64
+ const bottomShadowOpacity = useDerivedValue(() => {
65
+ if (isAnimationDisabledValue) {
66
+ return 1;
67
+ }
68
+ if (!isEnabled) return withTiming(0, {
69
+ duration: SHADOW_EXIT_ANIMATION_DURATION
70
+ });
71
+ if (visibility === 'none') return withTiming(0, {
72
+ duration: SHADOW_EXIT_ANIMATION_DURATION
73
+ });
74
+ if (visibility === 'top' || visibility === 'left') return withTiming(0, {
75
+ duration: SHADOW_EXIT_ANIMATION_DURATION
76
+ });
77
+ return interpolate(scrollOffset.get() + containerSize.get(), [contentSize.get() - size / 4, contentSize.get()], bottomOpacityValue, Extrapolation.CLAMP);
78
+ });
79
+ const topShadowStyle = useAnimatedStyle(() => ({
80
+ opacity: topShadowOpacity.get()
81
+ }));
82
+ const bottomShadowStyle = useAnimatedStyle(() => ({
83
+ opacity: bottomShadowOpacity.get()
84
+ }));
85
+ return {
86
+ scrollOffset,
87
+ contentSize,
88
+ containerSize,
89
+ localScrollHandler,
90
+ topShadowStyle,
91
+ bottomShadowStyle,
92
+ isAllAnimationsDisabled
93
+ };
94
+ }
95
+ //# sourceMappingURL=scroll-shadow.animation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Extrapolation","interpolate","useAnimatedScrollHandler","useAnimatedStyle","useDerivedValue","useSharedValue","withTiming","useCombinedAnimationDisabledState","getAnimationValueProperty","getIsAnimationDisabledValue","getRootAnimationState","SHADOW_EXIT_ANIMATION_DURATION","useScrollShadowRootAnimation","options","animation","orientation","size","visibility","isEnabled","animationConfig","isAnimationDisabled","isAllAnimationsDisabled","isAnimationDisabledValue","topOpacityValue","animationValue","opacity","property","defaultValue","bottomOpacityValue","scrollOffset","contentSize","containerSize","localScrollHandler","onScroll","event","offset","contentOffset","y","x","set","topShadowOpacity","duration","get","CLAMP","bottomShadowOpacity","topShadowStyle","bottomShadowStyle"],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/scroll-shadow.animation.ts"],"mappings":";;AAAA,SACEA,aAAa,EACbC,WAAW,EACXC,wBAAwB,EACxBC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,iCAAiC,QAAQ,8BAAqB;AACvE,SACEC,yBAAyB,EACzBC,2BAA2B,EAC3BC,qBAAqB,QAChB,kCAA+B;AACtC,SAASC,8BAA8B,QAAQ,8BAA2B;AAO1E;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,4BAA4BA,CAACC,OAM5C,EAAE;EACD,MAAM;IAAEC,SAAS;IAAEC,WAAW;IAAEC,IAAI;IAAEC,UAAU;IAAEC;EAAU,CAAC,GAAGL,OAAO;EAEvE,MAAM;IAAEM,eAAe;IAAEC;EAAoB,CAAC,GAC5CV,qBAAqB,CAACI,SAAS,CAAC;EAElC,MAAMO,uBAAuB,GAAGd,iCAAiC,CAACO,SAAS,CAAC;EA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IAClBa,cAAc;IACdC,iBAAiB;IACjBzB;EACF,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Display name constants for ScrollShadow components
5
+ */
6
+ export const SCROLL_SHADOW_DISPLAY_NAME = {
7
+ ROOT: 'HeroUINative.ScrollShadow'
8
+ };
9
+
10
+ /**
11
+ * Default size for gradient shadows in pixels
12
+ */
13
+ export const DEFAULT_SHADOW_SIZE = 50;
14
+
15
+ /**
16
+ * Animation duration for shadow opacity transitions in milliseconds
17
+ */
18
+ export const SHADOW_EXIT_ANIMATION_DURATION = 200;
19
+
20
+ /**
21
+ * Default scroll event throttle for performance
22
+ */
23
+ export const DEFAULT_SCROLL_EVENT_THROTTLE = 16;
24
+ //# sourceMappingURL=scroll-shadow.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SCROLL_SHADOW_DISPLAY_NAME","ROOT","DEFAULT_SHADOW_SIZE","SHADOW_EXIT_ANIMATION_DURATION","DEFAULT_SCROLL_EVENT_THROTTLE"],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/scroll-shadow.constants.ts"],"mappings":";;AAAA;AACA;AACA;AACA,OAAO,MAAMA,0BAA0B,GAAG;EACxCC,IAAI,EAAE;AACR,CAAU;;AAEV;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAG,EAAE;;AAErC;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAG,GAAG;;AAEjD;AACA;AACA;AACA,OAAO,MAAMC,6BAA6B,GAAG,EAAE","ignoreList":[]}
@@ -0,0 +1,211 @@
1
+ "use strict";
2
+
3
+ import { cloneElement, createElement, forwardRef, isValidElement } from 'react';
4
+ import { StyleSheet, View } from 'react-native';
5
+ import Animated, { useComposedEventHandler } from 'react-native-reanimated';
6
+ import { colorKit, useThemeColor } from "../../helpers/theme/index.js";
7
+ import { easeGradient } from "../../helpers/utils/index.js";
8
+ import { useScrollShadowRootAnimation } from "./scroll-shadow.animation.js";
9
+ import { DEFAULT_SCROLL_EVENT_THROTTLE, DEFAULT_SHADOW_SIZE, SCROLL_SHADOW_DISPLAY_NAME } from "./scroll-shadow.constants.js";
10
+ import { nativeStyles, scrollShadowStyles } from "./scroll-shadow.styles.js";
11
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
+ /**
13
+ * Cache for animated components to prevent remounting on every render.
14
+ * Using WeakMap ensures components are garbage collected when no longer referenced.
15
+ */
16
+ const animatedComponentCache = new WeakMap();
17
+
18
+ /**
19
+ * Gets or creates a cached animated component for the given component type.
20
+ * This prevents creating new component types on every render, which would cause
21
+ * React to treat them as different components and trigger unmount/remount cycles.
22
+ *
23
+ * @param ComponentType - The original component type to create an animated version of
24
+ * @returns The cached animated component type
25
+ */
26
+ function getAnimatedComponent(ComponentType) {
27
+ let cached = animatedComponentCache.get(ComponentType);
28
+ if (!cached) {
29
+ try {
30
+ cached = Animated.createAnimatedComponent(ComponentType);
31
+ animatedComponentCache.set(ComponentType, cached);
32
+ } catch (error) {
33
+ throw new Error(`ScrollShadow: Failed to create animated component: ${error instanceof Error ? error.message : String(error)}`);
34
+ }
35
+ }
36
+ return cached;
37
+ }
38
+ const ScrollShadowRoot = /*#__PURE__*/forwardRef((props, ref) => {
39
+ const {
40
+ children,
41
+ size = DEFAULT_SHADOW_SIZE,
42
+ orientation: orientationProp,
43
+ visibility = 'auto',
44
+ color,
45
+ isEnabled = true,
46
+ className,
47
+ style,
48
+ LinearGradientComponent,
49
+ animation,
50
+ ...restProps
51
+ } = props;
52
+ const themeColorBackground = useThemeColor('background');
53
+ const shadowColor = color || themeColorBackground;
54
+ const containerStyles = scrollShadowStyles({
55
+ className
56
+ });
57
+ const childHorizontal = children?.props && typeof children?.props === 'object' && 'horizontal' in children.props ? children.props.horizontal : false;
58
+ const orientation = orientationProp || (childHorizontal ? 'horizontal' : 'vertical');
59
+
60
+ // Get all animation logic from root hook
61
+ const {
62
+ contentSize,
63
+ containerSize,
64
+ localScrollHandler,
65
+ topShadowStyle,
66
+ bottomShadowStyle
67
+ } = useScrollShadowRootAnimation({
68
+ animation,
69
+ orientation,
70
+ size,
71
+ visibility,
72
+ isEnabled
73
+ });
74
+ const onContentSizeChange = (w, h) => {
75
+ const contentDimension = orientation === 'vertical' ? h : w;
76
+ contentSize.set(contentDimension);
77
+ children.props?.onContentSizeChange?.(w, h);
78
+ };
79
+ const onLayout = event => {
80
+ const {
81
+ width,
82
+ height
83
+ } = event.nativeEvent.layout;
84
+ const containerDimension = orientation === 'vertical' ? height : width;
85
+ containerSize.set(containerDimension);
86
+ children.props?.onLayout?.(event);
87
+ };
88
+ const outerScrollHandler = children.props?.onScroll;
89
+ const handlers = outerScrollHandler ? [localScrollHandler, outerScrollHandler] : [localScrollHandler];
90
+ const onScroll = useComposedEventHandler(handlers);
91
+ const scrollEventThrottle = children.props?.scrollEventThrottle || DEFAULT_SCROLL_EVENT_THROTTLE;
92
+ if (! /*#__PURE__*/isValidElement(children)) {
93
+ return null;
94
+ }
95
+ const isAnimatedComponent = children.type?.displayName?.includes('AnimatedComponent') || children.type?.__isAnimatedComponent;
96
+ const enhancedChild = isAnimatedComponent ? /*#__PURE__*/cloneElement(children, {
97
+ onContentSizeChange,
98
+ onLayout,
99
+ scrollEventThrottle,
100
+ onScroll
101
+ }) : /*#__PURE__*/createElement(getAnimatedComponent(children.type), {
102
+ ...children.props,
103
+ onContentSizeChange,
104
+ onLayout,
105
+ scrollEventThrottle,
106
+ onScroll
107
+ });
108
+ const {
109
+ colors: topLeftColors,
110
+ locations: topLeftLocations
111
+ } = easeGradient({
112
+ colorStops: {
113
+ 0: {
114
+ color: colorKit.setAlpha(shadowColor, 1).hex()
115
+ },
116
+ 1: {
117
+ color: colorKit.setAlpha(shadowColor, 0).hex()
118
+ }
119
+ }
120
+ });
121
+ const {
122
+ colors: bottomRightColors,
123
+ locations: bottomRightLocations
124
+ } = easeGradient({
125
+ colorStops: {
126
+ 0: {
127
+ color: colorKit.setAlpha(shadowColor, 0).hex()
128
+ },
129
+ 1: {
130
+ color: colorKit.setAlpha(shadowColor, 1).hex()
131
+ }
132
+ }
133
+ });
134
+ return /*#__PURE__*/_jsxs(View, {
135
+ ref: ref,
136
+ className: containerStyles,
137
+ style: style,
138
+ ...restProps,
139
+ children: [enhancedChild, orientation === 'vertical' ? /*#__PURE__*/_jsx(Animated.View, {
140
+ style: [nativeStyles.topShadow, {
141
+ height: size
142
+ }, topShadowStyle],
143
+ children: /*#__PURE__*/_jsx(LinearGradientComponent, {
144
+ colors: topLeftColors,
145
+ locations: topLeftLocations,
146
+ style: StyleSheet.absoluteFill
147
+ })
148
+ }) : /*#__PURE__*/_jsx(Animated.View, {
149
+ style: [nativeStyles.leftShadow, {
150
+ width: size
151
+ }, topShadowStyle],
152
+ children: /*#__PURE__*/_jsx(LinearGradientComponent, {
153
+ colors: topLeftColors,
154
+ locations: topLeftLocations,
155
+ start: {
156
+ x: 0,
157
+ y: 0
158
+ },
159
+ end: {
160
+ x: 1,
161
+ y: 0
162
+ },
163
+ style: StyleSheet.absoluteFill
164
+ })
165
+ }), orientation === 'vertical' ? /*#__PURE__*/_jsx(Animated.View, {
166
+ style: [nativeStyles.bottomShadow, {
167
+ height: size
168
+ }, bottomShadowStyle],
169
+ children: /*#__PURE__*/_jsx(LinearGradientComponent, {
170
+ colors: bottomRightColors,
171
+ locations: bottomRightLocations,
172
+ style: StyleSheet.absoluteFill
173
+ })
174
+ }) : /*#__PURE__*/_jsx(Animated.View, {
175
+ style: [nativeStyles.rightShadow, {
176
+ width: size
177
+ }, bottomShadowStyle],
178
+ children: /*#__PURE__*/_jsx(LinearGradientComponent, {
179
+ colors: bottomRightColors,
180
+ locations: bottomRightLocations,
181
+ start: {
182
+ x: 0,
183
+ y: 0
184
+ },
185
+ end: {
186
+ x: 1,
187
+ y: 0
188
+ },
189
+ style: StyleSheet.absoluteFill
190
+ })
191
+ })]
192
+ });
193
+ });
194
+ ScrollShadowRoot.displayName = SCROLL_SHADOW_DISPLAY_NAME.ROOT;
195
+
196
+ /**
197
+ * Compound ScrollShadow component
198
+ *
199
+ * @component ScrollShadow - Main container that wraps any scrollable component and adds
200
+ * dynamic gradient shadows at the edges. Automatically detects scroll position and content
201
+ * overflow to show/hide shadows intelligently.
202
+ *
203
+ * The component intercepts scroll events from the child scrollable component and manages
204
+ * shadow visibility based on scroll position and content size. Supports both vertical
205
+ * and horizontal orientations.
206
+ *
207
+ * @see Full documentation: https://heroui.com/components/scroll-shadow
208
+ */
209
+
210
+ export default ScrollShadowRoot;
211
+ //# sourceMappingURL=scroll-shadow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cloneElement","createElement","forwardRef","isValidElement","StyleSheet","View","Animated","useComposedEventHandler","colorKit","useThemeColor","easeGradient","useScrollShadowRootAnimation","DEFAULT_SCROLL_EVENT_THROTTLE","DEFAULT_SHADOW_SIZE","SCROLL_SHADOW_DISPLAY_NAME","nativeStyles","scrollShadowStyles","jsx","_jsx","jsxs","_jsxs","animatedComponentCache","WeakMap","getAnimatedComponent","ComponentType","cached","get","createAnimatedComponent","set","error","Error","message","String","ScrollShadowRoot","props","ref","children","size","orientation","orientationProp","visibility","color","isEnabled","className","style","LinearGradientComponent","animation","restProps","themeColorBackground","shadowColor","containerStyles","childHorizontal","horizontal","contentSize","containerSize","localScrollHandler","topShadowStyle","bottomShadowStyle","onContentSizeChange","w","h","contentDimension","onLayout","event","width","height","nativeEvent","layout","containerDimension","outerScrollHandler","onScroll","handlers","scrollEventThrottle","isAnimatedComponent","type","displayName","includes","__isAnimatedComponent","enhancedChild","colors","topLeftColors","locations","topLeftLocations","colorStops","setAlpha","hex","bottomRightColors","bottomRightLocations","topShadow","absoluteFill","leftShadow","start","x","y","end","bottomShadow","rightShadow","ROOT"],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/scroll-shadow.tsx"],"mappings":";;AAAA,SACEA,YAAY,EACZC,aAAa,EACbC,UAAU,EACVC,cAAc,QAET,OAAO;AACd,SAASC,U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QACtBC,GAAG,EAAE;UAAEF,CAAC,EAAE,CAAC;UAAEC,CAAC,EAAE;QAAE,CAAE;QACpBjD,KAAK,EAAExC,UAAU,CAACqF;MAAa,CAChC;IAAC,CACW,CAChB,EAGAnD,WAAW,KAAK,UAAU,gBACzBpB,IAAA,CAACZ,QAAQ,CAACD,IAAI;MACZuC,KAAK,EAAE,CACL7B,YAAY,CAACgF,YAAY,EACzB;QAAE9B,MAAM,EAAE5B;MAAK,CAAC,EAChBoB,iBAAiB,CACjB;MAAArB,QAAA,eAEFlB,IAAA,CAAC2B,uBAAuB;QACtBkC,MAAM,EAAEO,iBAAkB;QAC1BL,SAAS,EAAEM,oBAAqB;QAChC3C,KAAK,EAAExC,UAAU,CAACqF;MAAa,CAChC;IAAC,CACW,CAAC,gBAEhBvE,IAAA,CAACZ,QAAQ,CAACD,IAAI;MACZuC,KAAK,EAAE,CAAC7B,YAAY,CAACiF,WAAW,EAAE;QAAEhC,KAAK,EAAE3B;MAAK,CAAC,EAAEoB,iBAAiB,CAAE;MAAArB,QAAA,eAEtElB,IAAA,CAAC2B,uBAAuB;QACtBkC,MAAM,EAAEO,iBAAkB;QAC1BL,SAAS,EAAEM,oBAAqB;QAChCI,KAAK,EAAE;UAAEC,CAAC,EAAE,CAAC;UAAEC,CAAC,EAAE;QAAE,CAAE;QACtBC,GAAG,EAAE;UAAEF,CAAC,EAAE,CAAC;UAAEC,CAAC,EAAE;QAAE,CAAE;QACpBjD,KAAK,EAAExC,UAAU,CAACqF;MAAa,CAChC;IAAC,CACW,CAChB;EAAA,CACG,CAAC;AAEX,CAAC,CAAC;AAEFxD,gBAAgB,CAAC0C,WAAW,GAAG7D,0BAA0B,CAACmF,IAAI;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAehE,gBAAgB","ignoreList":[]}
@@ -0,0 +1,191 @@
1
+ # ScrollShadow
2
+
3
+ Adds dynamic gradient shadows to scrollable content based on scroll position and overflow.
4
+
5
+ ## Imports
6
+
7
+ Note: Before importing this component, ensure you have completed the setup as per the [Quick Start guide](../../../README.md).
8
+
9
+ ```tsx
10
+ import { ScrollShadow } from 'heroui-native';
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### Basic Usage
16
+
17
+ Wrap any scrollable component to automatically add edge shadows.
18
+
19
+ ```tsx
20
+ <ScrollShadow LinearGradientComponent={LinearGradient}>
21
+ <ScrollView>...</ScrollView>
22
+ </ScrollShadow>
23
+ ```
24
+
25
+ ### Horizontal Scrolling
26
+
27
+ The component auto-detects horizontal scrolling from the child's `horizontal` prop.
28
+
29
+ ```tsx
30
+ <ScrollShadow LinearGradientComponent={LinearGradient}>
31
+ <FlatList horizontal data={data} renderItem={...} />
32
+ </ScrollShadow>
33
+ ```
34
+
35
+ ### Custom Shadow Size
36
+
37
+ Control the gradient shadow height/width with the `size` prop.
38
+
39
+ ```tsx
40
+ <ScrollShadow size={100} LinearGradientComponent={LinearGradient}>
41
+ <ScrollView>...</ScrollView>
42
+ </ScrollShadow>
43
+ ```
44
+
45
+ ### Visibility Control
46
+
47
+ Specify which shadows to display using the `visibility` prop.
48
+
49
+ ```tsx
50
+ <ScrollShadow visibility="top" LinearGradientComponent={LinearGradient}>
51
+ <ScrollView>...</ScrollView>
52
+ </ScrollShadow>
53
+
54
+ <ScrollShadow visibility="bottom" LinearGradientComponent={LinearGradient}>
55
+ <ScrollView>...</ScrollView>
56
+ </ScrollShadow>
57
+
58
+ <ScrollShadow visibility="none" LinearGradientComponent={LinearGradient}>
59
+ <ScrollView>...</ScrollView>
60
+ </ScrollShadow>
61
+ ```
62
+
63
+ ### Custom Shadow Color
64
+
65
+ Override the default shadow color which uses the theme's background.
66
+
67
+ ```tsx
68
+ <ScrollShadow color="#ffffff" LinearGradientComponent={LinearGradient}>
69
+ <ScrollView>...</ScrollView>
70
+ </ScrollShadow>
71
+ ```
72
+
73
+ ### With Custom Scroll Handler
74
+
75
+ **Important:** ScrollShadow internally converts the child to a Reanimated animated component. If you need to use the `onScroll` prop, you must use `useAnimatedScrollHandler` from react-native-reanimated.
76
+
77
+ ```tsx
78
+ import { LinearGradient } from 'expo-linear-gradient';
79
+ import Animated, { useAnimatedScrollHandler } from 'react-native-reanimated';
80
+
81
+ const scrollHandler = useAnimatedScrollHandler({
82
+ onScroll: (event) => {
83
+ console.log(event.contentOffset.y);
84
+ },
85
+ });
86
+
87
+ <ScrollShadow LinearGradientComponent={LinearGradient}>
88
+ <Animated.ScrollView onScroll={scrollHandler}>...</Animated.ScrollView>
89
+ </ScrollShadow>;
90
+ ```
91
+
92
+ ## Example
93
+
94
+ ```tsx
95
+ import { ScrollShadow, Surface } from 'heroui-native';
96
+ import { LinearGradient } from 'expo-linear-gradient';
97
+ import { FlatList, ScrollView, Text, View } from 'react-native';
98
+
99
+ export default function ScrollShadowExample() {
100
+ const horizontalData = Array.from({ length: 10 }, (_, i) => ({
101
+ id: i,
102
+ title: `Card ${i + 1}`,
103
+ }));
104
+
105
+ return (
106
+ <View className="flex-1 bg-background">
107
+ <Text className="px-5 py-3 text-lg font-semibold">Horizontal List</Text>
108
+ <ScrollShadow LinearGradientComponent={LinearGradient}>
109
+ <FlatList
110
+ data={horizontalData}
111
+ horizontal
112
+ renderItem={({ item }) => (
113
+ <Surface variant="2" className="w-32 h-24 justify-center px-4">
114
+ <Text>{item.title}</Text>
115
+ </Surface>
116
+ )}
117
+ showsHorizontalScrollIndicator={false}
118
+ contentContainerClassName="p-5 gap-4"
119
+ />
120
+ </ScrollShadow>
121
+
122
+ <Text className="px-5 py-3 text-lg font-semibold">Vertical Content</Text>
123
+ <ScrollShadow
124
+ size={80}
125
+ className="h-48"
126
+ LinearGradientComponent={LinearGradient}
127
+ >
128
+ <ScrollView
129
+ contentContainerClassName="p-5"
130
+ showsVerticalScrollIndicator={false}
131
+ >
132
+ <Text className="mb-4 text-2xl font-bold">Long Content</Text>
133
+ <Text className="mb-4 text-base leading-6">
134
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
135
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
136
+ ad minim veniam, quis nostrud exercitation ullamco laboris.
137
+ </Text>
138
+ <Text className="mb-4 text-base leading-6">
139
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem
140
+ accusantium doloremque laudantium, totam rem aperiam, eaque ipsa
141
+ quae ab illo inventore veritatis et quasi architecto beatae vitae.
142
+ </Text>
143
+ </ScrollView>
144
+ </ScrollShadow>
145
+ </View>
146
+ );
147
+ }
148
+ ```
149
+
150
+ ## API Reference
151
+
152
+ ### ScrollShadow
153
+
154
+ | prop | type | default | description |
155
+ | ------------------------- | ---------------------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------- |
156
+ | `children` | `React.ReactElement` | - | The scrollable component to enhance with shadows. Must be a single React element (ScrollView, FlatList, etc.) |
157
+ | `LinearGradientComponent` | `ComponentType<LinearGradientProps>` | **required** | LinearGradient component from any compatible library (expo-linear-gradient, react-native-linear-gradient, etc.) |
158
+ | `size` | `number` | `50` | Size (height/width) of the gradient shadow in pixels |
159
+ | `orientation` | `'horizontal' \| 'vertical'` | auto-detect | Orientation of the scroll shadow. If not provided, will auto-detect from child's `horizontal` prop |
160
+ | `visibility` | `'auto' \| 'top' \| 'bottom' \| 'left' \| 'right' \| 'both' \| 'none'` | `'auto'` | Visibility mode for the shadows. 'auto' shows shadows based on scroll position and content overflow |
161
+ | `color` | `string` | theme color | Custom color for the gradient shadow. If not provided, uses the theme's background color |
162
+ | `isEnabled` | `boolean` | `true` | Whether the shadow effect is enabled |
163
+ | `animation` | `ScrollShadowRootAnimation` | - | Animation configuration |
164
+ | `className` | `string` | - | Additional CSS classes to apply to the container |
165
+ | `...ViewProps` | `ViewProps` | - | All standard React Native View props are supported |
166
+
167
+ #### ScrollShadowRootAnimation
168
+
169
+ Animation configuration for ScrollShadow component. Can be:
170
+
171
+ - `false` or `"disabled"`: Disable only root animations
172
+ - `"disable-all"`: Disable all animations including children
173
+ - `true` or `undefined`: Use default animations
174
+ - `object`: Custom animation configuration
175
+
176
+ | prop | type | default | description |
177
+ | --------------- | --------------------------------------- | -------- | --------------------------------------------------------------------------- |
178
+ | `state` | `'disabled' \| 'disable-all' \| boolean` | - | Disable animations while customizing properties |
179
+ | `opacity.value` | `[number, number]` | `[0, 1]` | Opacity values [initial, active]. For bottom/right shadow, this is reversed |
180
+
181
+ ### LinearGradientProps
182
+
183
+ The `LinearGradientComponent` prop expects a component that accepts these props:
184
+
185
+ | prop | type | description |
186
+ | ----------- | --------------------------------- | ------------------------------------------------------------------ |
187
+ | `colors` | `any` | Array of colors for the gradient |
188
+ | `locations` | `any` (optional) | Array of numbers defining the location of each gradient color stop |
189
+ | `start` | `any` (optional) | Start point of the gradient (e.g., `{ x: 0, y: 0 }`) |
190
+ | `end` | `any` (optional) | End point of the gradient (e.g., `{ x: 1, y: 0 }`) |
191
+ | `style` | `StyleProp<ViewStyle>` (optional) | Style to apply to the gradient view |
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet } from 'react-native';
4
+ import { tv } from 'tailwind-variants';
5
+
6
+ /**
7
+ * ScrollShadow component styles using tailwind-variants
8
+ */
9
+ export const scrollShadowStyles = tv({
10
+ base: ''
11
+ });
12
+
13
+ /**
14
+ * Native styles for properties not supported by NativeWind
15
+ */
16
+ export const nativeStyles = StyleSheet.create({
17
+ topShadow: {
18
+ position: 'absolute',
19
+ top: 0,
20
+ left: 0,
21
+ right: 0,
22
+ zIndex: 10,
23
+ pointerEvents: 'none'
24
+ },
25
+ bottomShadow: {
26
+ position: 'absolute',
27
+ bottom: 0,
28
+ left: 0,
29
+ right: 0,
30
+ zIndex: 10,
31
+ pointerEvents: 'none'
32
+ },
33
+ leftShadow: {
34
+ position: 'absolute',
35
+ top: 0,
36
+ bottom: 0,
37
+ left: 0,
38
+ zIndex: 10,
39
+ pointerEvents: 'none'
40
+ },
41
+ rightShadow: {
42
+ position: 'absolute',
43
+ top: 0,
44
+ bottom: 0,
45
+ right: 0,
46
+ zIndex: 10,
47
+ pointerEvents: 'none'
48
+ }
49
+ });
50
+ //# sourceMappingURL=scroll-shadow.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","tv","scrollShadowStyles","base","nativeStyles","create","topShadow","position","top","left","right","zIndex","pointerEvents","bottomShadow","bottom","leftShadow","rightShadow"],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/scroll-shadow.styles.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,EAAE,QAAQ,mBAAmB;;AAEtC;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAGD,EAAE,CAAC;EACnCE,IAAI,EAAE;AACR,CAAC,CAAC;;AAEF;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAGJ,UAAU,CAACK,MAAM,CAAC;EAC5CC,SAAS,EAAE;IACTC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE;EACjB,CAAC;EACDC,YAAY,EAAE;IACZN,QAAQ,EAAE,UAAU;IACpBO,MAAM,EAAE,CAAC;IACTL,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE;EACjB,CAAC;EACDG,UAAU,EAAE;IACVR,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNM,MAAM,EAAE,CAAC;IACTL,IAAI,EAAE,CAAC;IACPE,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE;EACjB,CAAC;EACDI,WAAW,EAAE;IACXT,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNM,MAAM,EAAE,CAAC;IACTJ,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=scroll-shadow.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/scroll-shadow/scroll-shadow.types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { default as Select, useSelect, useSelectAnimation, useSelectItem } from "./select.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default","Select","useSelect","useSelectAnimation","useSelectItem"],"sourceRoot":"../../../../src","sources":["components/select/index.ts"],"mappings":";;AAAA,SACEA,OAAO,IAAIC,MAAM,EACjBC,SAAS,EACTC,kBAAkB,EAClBC,aAAa,QACR,aAAU","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ import { createContext } from "../../helpers/utils/index.js";
4
+ const [SelectAnimationProvider, useSelectAnimation] = createContext({
5
+ name: 'SelectAnimationContext'
6
+ });
7
+ export { SelectAnimationProvider, useSelectAnimation };
8
+ //# sourceMappingURL=select.animation.js.map