panelui-native 0.116.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. package/README.md +3 -1
  2. package/lib/module/components/accordion/index.js.map +1 -1
  3. package/lib/module/components/ai-input/index.js.map +1 -1
  4. package/lib/module/components/alert/index.js.map +1 -1
  5. package/lib/module/components/animated-badge/index.js +1 -2
  6. package/lib/module/components/animated-badge/index.js.map +1 -1
  7. package/lib/module/components/area-chart/index.js +15 -3
  8. package/lib/module/components/area-chart/index.js.map +1 -1
  9. package/lib/module/components/attachment/index.js.map +1 -1
  10. package/lib/module/components/avatar/index.js.map +1 -1
  11. package/lib/module/components/avatar-cropper/index.js.map +1 -1
  12. package/lib/module/components/badge/index.js.map +1 -1
  13. package/lib/module/components/bar-chart/index.js +15 -3
  14. package/lib/module/components/bar-chart/index.js.map +1 -1
  15. package/lib/module/components/breadcrumb/index.js.map +1 -1
  16. package/lib/module/components/bubble-chart/index.js +13 -3
  17. package/lib/module/components/bubble-chart/index.js.map +1 -1
  18. package/lib/module/components/bump-chart/index.js +15 -3
  19. package/lib/module/components/bump-chart/index.js.map +1 -1
  20. package/lib/module/components/button/index.js.map +1 -1
  21. package/lib/module/components/button-group/index.js.map +1 -1
  22. package/lib/module/components/calendar/index.js.map +1 -1
  23. package/lib/module/components/candlestick-chart/index.js +15 -3
  24. package/lib/module/components/candlestick-chart/index.js.map +1 -1
  25. package/lib/module/components/card/index.js.map +1 -1
  26. package/lib/module/components/checkbox/index.js.map +1 -1
  27. package/lib/module/components/chip/index.js.map +1 -1
  28. package/lib/module/components/collapsible/index.js.map +1 -1
  29. package/lib/module/components/color-picker/index.js +13 -5
  30. package/lib/module/components/color-picker/index.js.map +1 -1
  31. package/lib/module/components/combobox/index.js +1 -2
  32. package/lib/module/components/combobox/index.js.map +1 -1
  33. package/lib/module/components/context-menu/index.js +1 -2
  34. package/lib/module/components/context-menu/index.js.map +1 -1
  35. package/lib/module/components/countdown/index.js.map +1 -1
  36. package/lib/module/components/dialog/index.js.map +1 -1
  37. package/lib/module/components/empty-state/index.js.map +1 -1
  38. package/lib/module/components/fab/index.js +2 -1
  39. package/lib/module/components/fab/index.js.map +1 -1
  40. package/lib/module/components/feedback/index.js +1 -2
  41. package/lib/module/components/feedback/index.js.map +1 -1
  42. package/lib/module/components/field/index.js.map +1 -1
  43. package/lib/module/components/file-upload/index.js.map +1 -1
  44. package/lib/module/components/flip-card/index.js +1 -2
  45. package/lib/module/components/flip-card/index.js.map +1 -1
  46. package/lib/module/components/frame/index.js +1 -2
  47. package/lib/module/components/frame/index.js.map +1 -1
  48. package/lib/module/components/grid-item/index.js.map +1 -1
  49. package/lib/module/components/heatmap-chart/index.js +1 -2
  50. package/lib/module/components/heatmap-chart/index.js.map +1 -1
  51. package/lib/module/components/image-viewer/index.js +1 -2
  52. package/lib/module/components/image-viewer/index.js.map +1 -1
  53. package/lib/module/components/input/index.js +1 -2
  54. package/lib/module/components/input/index.js.map +1 -1
  55. package/lib/module/components/input-group/index.js.map +1 -1
  56. package/lib/module/components/item/index.js.map +1 -1
  57. package/lib/module/components/kpi/index.js +1 -2
  58. package/lib/module/components/kpi/index.js.map +1 -1
  59. package/lib/module/components/label/index.js.map +1 -1
  60. package/lib/module/components/leaderboard/index.js.map +1 -1
  61. package/lib/module/components/line-chart/index.js +15 -3
  62. package/lib/module/components/line-chart/index.js.map +1 -1
  63. package/lib/module/components/live-line-chart/index.js +16 -4
  64. package/lib/module/components/live-line-chart/index.js.map +1 -1
  65. package/lib/module/components/map/native-style.js +38 -7
  66. package/lib/module/components/map/native-style.js.map +1 -1
  67. package/lib/module/components/markdown-editor/index.js.map +1 -1
  68. package/lib/module/components/marker/index.js.map +1 -1
  69. package/lib/module/components/marquee/index.js +2 -1
  70. package/lib/module/components/marquee/index.js.map +1 -1
  71. package/lib/module/components/message/index.js.map +1 -1
  72. package/lib/module/components/message-scroller/index.js +2 -3
  73. package/lib/module/components/message-scroller/index.js.map +1 -1
  74. package/lib/module/components/meter/index.js.map +1 -1
  75. package/lib/module/components/mirror-area-chart/index.js +15 -3
  76. package/lib/module/components/mirror-area-chart/index.js.map +1 -1
  77. package/lib/module/components/number-input/index.js +1 -2
  78. package/lib/module/components/number-input/index.js.map +1 -1
  79. package/lib/module/components/otp-input/index.js +1 -2
  80. package/lib/module/components/otp-input/index.js.map +1 -1
  81. package/lib/module/components/page-header/index.js +1 -2
  82. package/lib/module/components/page-header/index.js.map +1 -1
  83. package/lib/module/components/pagination/index.js.map +1 -1
  84. package/lib/module/components/panelside/index.js +8 -7
  85. package/lib/module/components/panelside/index.js.map +1 -1
  86. package/lib/module/components/planner/index.js +1 -2
  87. package/lib/module/components/planner/index.js.map +1 -1
  88. package/lib/module/components/plot/index.js +15 -3
  89. package/lib/module/components/plot/index.js.map +1 -1
  90. package/lib/module/components/popover/index.js +1 -2
  91. package/lib/module/components/popover/index.js.map +1 -1
  92. package/lib/module/components/post/index.js +1 -2
  93. package/lib/module/components/post/index.js.map +1 -1
  94. package/lib/module/components/progress/index.js.map +1 -1
  95. package/lib/module/components/progress-button/index.js +1 -2
  96. package/lib/module/components/progress-button/index.js.map +1 -1
  97. package/lib/module/components/pyramid-chart/index.js +15 -3
  98. package/lib/module/components/pyramid-chart/index.js.map +1 -1
  99. package/lib/module/components/qr-code/index.js.map +1 -1
  100. package/lib/module/components/questionnaire/index.js +1 -2
  101. package/lib/module/components/questionnaire/index.js.map +1 -1
  102. package/lib/module/components/radio-group/index.js.map +1 -1
  103. package/lib/module/components/rating/index.js +1 -2
  104. package/lib/module/components/rating/index.js.map +1 -1
  105. package/lib/module/components/scatter-chart/index.js +13 -3
  106. package/lib/module/components/scatter-chart/index.js.map +1 -1
  107. package/lib/module/components/scroll-header/index.js +5 -4
  108. package/lib/module/components/scroll-header/index.js.map +1 -1
  109. package/lib/module/components/search-bar/index.js +1 -2
  110. package/lib/module/components/search-bar/index.js.map +1 -1
  111. package/lib/module/components/section-progress/index.js +3 -2
  112. package/lib/module/components/section-progress/index.js.map +1 -1
  113. package/lib/module/components/select/index.js.map +1 -1
  114. package/lib/module/components/separator/index.js.map +1 -1
  115. package/lib/module/components/shimmer/index.js +8 -1
  116. package/lib/module/components/shimmer/index.js.map +1 -1
  117. package/lib/module/components/signature/index.js.map +1 -1
  118. package/lib/module/components/sketch/index.js.map +1 -1
  119. package/lib/module/components/slide-button/index.js +1 -2
  120. package/lib/module/components/slide-button/index.js.map +1 -1
  121. package/lib/module/components/slider/index.js +1 -2
  122. package/lib/module/components/slider/index.js.map +1 -1
  123. package/lib/module/components/sortable/index.js +6 -7
  124. package/lib/module/components/sortable/index.js.map +1 -1
  125. package/lib/module/components/splitter/index.js +3 -2
  126. package/lib/module/components/splitter/index.js.map +1 -1
  127. package/lib/module/components/stack-card/index.js +3 -2
  128. package/lib/module/components/stack-card/index.js.map +1 -1
  129. package/lib/module/components/steps/index.js.map +1 -1
  130. package/lib/module/components/support/index.js.map +1 -1
  131. package/lib/module/components/surface/index.js.map +1 -1
  132. package/lib/module/components/swipe/index.js.map +1 -1
  133. package/lib/module/components/switch/index.js.map +1 -1
  134. package/lib/module/components/table/index.js +1 -2
  135. package/lib/module/components/table/index.js.map +1 -1
  136. package/lib/module/components/tabs/index.js +2 -1
  137. package/lib/module/components/tabs/index.js.map +1 -1
  138. package/lib/module/components/tag-input/index.js +1 -2
  139. package/lib/module/components/tag-input/index.js.map +1 -1
  140. package/lib/module/components/text-animation/index.js +2 -1
  141. package/lib/module/components/text-animation/index.js.map +1 -1
  142. package/lib/module/components/textarea/index.js +1 -2
  143. package/lib/module/components/textarea/index.js.map +1 -1
  144. package/lib/module/components/time-picker/index.js.map +1 -1
  145. package/lib/module/components/timeline/index.js.map +1 -1
  146. package/lib/module/components/toast/index.js +1 -0
  147. package/lib/module/components/toast/index.js.map +1 -1
  148. package/lib/module/components/toggle-button/index.js.map +1 -1
  149. package/lib/module/components/tooltip/index.js +1 -2
  150. package/lib/module/components/tooltip/index.js.map +1 -1
  151. package/lib/module/components/tour/index.js.map +1 -1
  152. package/lib/module/components/tree/index.js +2 -1
  153. package/lib/module/components/tree/index.js.map +1 -1
  154. package/lib/module/components/typography/index.js.map +1 -1
  155. package/lib/module/components/waterfall-chart/index.js +15 -3
  156. package/lib/module/components/waterfall-chart/index.js.map +1 -1
  157. package/lib/module/hooks/use-keyboard-avoidance.js +0 -1
  158. package/lib/module/hooks/use-keyboard-avoidance.js.map +1 -1
  159. package/lib/module/hooks/use-reveal-progress.js.map +1 -1
  160. package/lib/module/hooks/use-scroll-sections.js.map +1 -1
  161. package/lib/module/icons/index.js +22 -1
  162. package/lib/module/icons/index.js.map +1 -1
  163. package/lib/module/index.js +4 -0
  164. package/lib/module/index.js.map +1 -1
  165. package/lib/module/primitives/animated-pressable.js.map +1 -1
  166. package/lib/module/primitives/chart-accessibility.js +9 -1
  167. package/lib/module/primitives/chart-accessibility.js.map +1 -1
  168. package/lib/module/primitives/glass.js.map +1 -1
  169. package/lib/module/primitives/refs.js +4 -0
  170. package/lib/module/primitives/refs.js.map +1 -0
  171. package/lib/module/primitives/scroll-progress.js.map +1 -1
  172. package/lib/module/primitives/text.js.map +1 -1
  173. package/lib/module/primitives/web-deps.js +17 -0
  174. package/lib/module/primitives/web-deps.js.map +1 -0
  175. package/lib/module/uniwind-env.d.ts +1 -0
  176. package/lib/typescript/src/components/accordion/index.d.ts +8 -7
  177. package/lib/typescript/src/components/accordion/index.d.ts.map +1 -1
  178. package/lib/typescript/src/components/ai-input/index.d.ts.map +1 -1
  179. package/lib/typescript/src/components/alert/index.d.ts +9 -8
  180. package/lib/typescript/src/components/alert/index.d.ts.map +1 -1
  181. package/lib/typescript/src/components/animated-badge/index.d.ts +5 -4
  182. package/lib/typescript/src/components/animated-badge/index.d.ts.map +1 -1
  183. package/lib/typescript/src/components/area-chart/index.d.ts +11 -1
  184. package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -1
  185. package/lib/typescript/src/components/attachment/index.d.ts +10 -9
  186. package/lib/typescript/src/components/attachment/index.d.ts.map +1 -1
  187. package/lib/typescript/src/components/avatar/index.d.ts +7 -6
  188. package/lib/typescript/src/components/avatar/index.d.ts.map +1 -1
  189. package/lib/typescript/src/components/avatar-cropper/index.d.ts.map +1 -1
  190. package/lib/typescript/src/components/badge/index.d.ts +5 -4
  191. package/lib/typescript/src/components/badge/index.d.ts.map +1 -1
  192. package/lib/typescript/src/components/bar-chart/index.d.ts +11 -1
  193. package/lib/typescript/src/components/bar-chart/index.d.ts.map +1 -1
  194. package/lib/typescript/src/components/bottom-sheet/index.d.ts +1 -1
  195. package/lib/typescript/src/components/breadcrumb/index.d.ts +9 -8
  196. package/lib/typescript/src/components/breadcrumb/index.d.ts.map +1 -1
  197. package/lib/typescript/src/components/bubble-chart/index.d.ts +11 -1
  198. package/lib/typescript/src/components/bubble-chart/index.d.ts.map +1 -1
  199. package/lib/typescript/src/components/bump-chart/index.d.ts +11 -1
  200. package/lib/typescript/src/components/bump-chart/index.d.ts.map +1 -1
  201. package/lib/typescript/src/components/button/index.d.ts +4 -4
  202. package/lib/typescript/src/components/button/index.d.ts.map +1 -1
  203. package/lib/typescript/src/components/button-group/index.d.ts +5 -4
  204. package/lib/typescript/src/components/button-group/index.d.ts.map +1 -1
  205. package/lib/typescript/src/components/calendar/index.d.ts.map +1 -1
  206. package/lib/typescript/src/components/candlestick-chart/index.d.ts +11 -1
  207. package/lib/typescript/src/components/candlestick-chart/index.d.ts.map +1 -1
  208. package/lib/typescript/src/components/card/index.d.ts +16 -15
  209. package/lib/typescript/src/components/card/index.d.ts.map +1 -1
  210. package/lib/typescript/src/components/checkbox/index.d.ts +5 -4
  211. package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -1
  212. package/lib/typescript/src/components/chip/index.d.ts +4 -4
  213. package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
  214. package/lib/typescript/src/components/collapsible/index.d.ts +7 -6
  215. package/lib/typescript/src/components/collapsible/index.d.ts.map +1 -1
  216. package/lib/typescript/src/components/color-picker/index.d.ts +13 -13
  217. package/lib/typescript/src/components/color-picker/index.d.ts.map +1 -1
  218. package/lib/typescript/src/components/combobox/index.d.ts.map +1 -1
  219. package/lib/typescript/src/components/context-menu/index.d.ts.map +1 -1
  220. package/lib/typescript/src/components/countdown/index.d.ts +5 -4
  221. package/lib/typescript/src/components/countdown/index.d.ts.map +1 -1
  222. package/lib/typescript/src/components/dialog/index.d.ts +11 -10
  223. package/lib/typescript/src/components/dialog/index.d.ts.map +1 -1
  224. package/lib/typescript/src/components/empty-state/index.d.ts +12 -11
  225. package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -1
  226. package/lib/typescript/src/components/fab/index.d.ts +7 -6
  227. package/lib/typescript/src/components/fab/index.d.ts.map +1 -1
  228. package/lib/typescript/src/components/feedback/index.d.ts +6 -5
  229. package/lib/typescript/src/components/feedback/index.d.ts.map +1 -1
  230. package/lib/typescript/src/components/field/index.d.ts +12 -11
  231. package/lib/typescript/src/components/field/index.d.ts.map +1 -1
  232. package/lib/typescript/src/components/file-upload/index.d.ts +5 -4
  233. package/lib/typescript/src/components/file-upload/index.d.ts.map +1 -1
  234. package/lib/typescript/src/components/flip-card/index.d.ts +5 -4
  235. package/lib/typescript/src/components/flip-card/index.d.ts.map +1 -1
  236. package/lib/typescript/src/components/frame/index.d.ts +14 -13
  237. package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
  238. package/lib/typescript/src/components/grid-item/index.d.ts +30 -29
  239. package/lib/typescript/src/components/grid-item/index.d.ts.map +1 -1
  240. package/lib/typescript/src/components/heatmap-chart/index.d.ts +3 -2
  241. package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
  242. package/lib/typescript/src/components/image-viewer/index.d.ts.map +1 -1
  243. package/lib/typescript/src/components/input/index.d.ts +5 -4
  244. package/lib/typescript/src/components/input/index.d.ts.map +1 -1
  245. package/lib/typescript/src/components/input-group/index.d.ts +6 -5
  246. package/lib/typescript/src/components/input-group/index.d.ts.map +1 -1
  247. package/lib/typescript/src/components/item/index.d.ts +34 -33
  248. package/lib/typescript/src/components/item/index.d.ts.map +1 -1
  249. package/lib/typescript/src/components/kpi/index.d.ts +6 -5
  250. package/lib/typescript/src/components/kpi/index.d.ts.map +1 -1
  251. package/lib/typescript/src/components/label/index.d.ts +4 -3
  252. package/lib/typescript/src/components/label/index.d.ts.map +1 -1
  253. package/lib/typescript/src/components/leaderboard/index.d.ts +3 -2
  254. package/lib/typescript/src/components/leaderboard/index.d.ts.map +1 -1
  255. package/lib/typescript/src/components/line-chart/index.d.ts +11 -1
  256. package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
  257. package/lib/typescript/src/components/live-line-chart/index.d.ts +11 -1
  258. package/lib/typescript/src/components/live-line-chart/index.d.ts.map +1 -1
  259. package/lib/typescript/src/components/map/native-style.d.ts.map +1 -1
  260. package/lib/typescript/src/components/markdown-editor/index.d.ts +6 -5
  261. package/lib/typescript/src/components/markdown-editor/index.d.ts.map +1 -1
  262. package/lib/typescript/src/components/marker/index.d.ts +7 -6
  263. package/lib/typescript/src/components/marker/index.d.ts.map +1 -1
  264. package/lib/typescript/src/components/marquee/index.d.ts.map +1 -1
  265. package/lib/typescript/src/components/message/index.d.ts +13 -12
  266. package/lib/typescript/src/components/message/index.d.ts.map +1 -1
  267. package/lib/typescript/src/components/message-scroller/index.d.ts.map +1 -1
  268. package/lib/typescript/src/components/meter/index.d.ts +5 -4
  269. package/lib/typescript/src/components/meter/index.d.ts.map +1 -1
  270. package/lib/typescript/src/components/mirror-area-chart/index.d.ts +11 -1
  271. package/lib/typescript/src/components/mirror-area-chart/index.d.ts.map +1 -1
  272. package/lib/typescript/src/components/number-input/index.d.ts +5 -4
  273. package/lib/typescript/src/components/number-input/index.d.ts.map +1 -1
  274. package/lib/typescript/src/components/otp-input/index.d.ts +5 -4
  275. package/lib/typescript/src/components/otp-input/index.d.ts.map +1 -1
  276. package/lib/typescript/src/components/page-header/index.d.ts +15 -14
  277. package/lib/typescript/src/components/page-header/index.d.ts.map +1 -1
  278. package/lib/typescript/src/components/pagination/index.d.ts +9 -8
  279. package/lib/typescript/src/components/pagination/index.d.ts.map +1 -1
  280. package/lib/typescript/src/components/panelside/index.d.ts.map +1 -1
  281. package/lib/typescript/src/components/planner/index.d.ts +3 -2
  282. package/lib/typescript/src/components/planner/index.d.ts.map +1 -1
  283. package/lib/typescript/src/components/plot/index.d.ts +11 -1
  284. package/lib/typescript/src/components/plot/index.d.ts.map +1 -1
  285. package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
  286. package/lib/typescript/src/components/post/index.d.ts +15 -14
  287. package/lib/typescript/src/components/post/index.d.ts.map +1 -1
  288. package/lib/typescript/src/components/progress/index.d.ts +5 -4
  289. package/lib/typescript/src/components/progress/index.d.ts.map +1 -1
  290. package/lib/typescript/src/components/progress-button/index.d.ts +5 -4
  291. package/lib/typescript/src/components/progress-button/index.d.ts.map +1 -1
  292. package/lib/typescript/src/components/pyramid-chart/index.d.ts +11 -1
  293. package/lib/typescript/src/components/pyramid-chart/index.d.ts.map +1 -1
  294. package/lib/typescript/src/components/qr-code/index.d.ts +11 -10
  295. package/lib/typescript/src/components/qr-code/index.d.ts.map +1 -1
  296. package/lib/typescript/src/components/questionnaire/index.d.ts +4 -3
  297. package/lib/typescript/src/components/questionnaire/index.d.ts.map +1 -1
  298. package/lib/typescript/src/components/radio-group/index.d.ts +6 -5
  299. package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
  300. package/lib/typescript/src/components/rating/index.d.ts +4 -4
  301. package/lib/typescript/src/components/rating/index.d.ts.map +1 -1
  302. package/lib/typescript/src/components/scatter-chart/index.d.ts +11 -1
  303. package/lib/typescript/src/components/scatter-chart/index.d.ts.map +1 -1
  304. package/lib/typescript/src/components/scroll-header/index.d.ts +11 -10
  305. package/lib/typescript/src/components/scroll-header/index.d.ts.map +1 -1
  306. package/lib/typescript/src/components/search-bar/index.d.ts +5 -4
  307. package/lib/typescript/src/components/search-bar/index.d.ts.map +1 -1
  308. package/lib/typescript/src/components/section-progress/index.d.ts.map +1 -1
  309. package/lib/typescript/src/components/select/index.d.ts.map +1 -1
  310. package/lib/typescript/src/components/selection-mode/index.d.ts +2 -2
  311. package/lib/typescript/src/components/selection-mode/index.d.ts.map +1 -1
  312. package/lib/typescript/src/components/separator/index.d.ts +17 -16
  313. package/lib/typescript/src/components/separator/index.d.ts.map +1 -1
  314. package/lib/typescript/src/components/shimmer/index.d.ts.map +1 -1
  315. package/lib/typescript/src/components/signature/index.d.ts +2 -2
  316. package/lib/typescript/src/components/signature/index.d.ts.map +1 -1
  317. package/lib/typescript/src/components/sketch/index.d.ts.map +1 -1
  318. package/lib/typescript/src/components/slide-button/index.d.ts +5 -4
  319. package/lib/typescript/src/components/slide-button/index.d.ts.map +1 -1
  320. package/lib/typescript/src/components/slider/index.d.ts +4 -4
  321. package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
  322. package/lib/typescript/src/components/sortable/index.d.ts.map +1 -1
  323. package/lib/typescript/src/components/spinner/index.d.ts +11 -11
  324. package/lib/typescript/src/components/spinner/index.d.ts.map +1 -1
  325. package/lib/typescript/src/components/splitter/index.d.ts.map +1 -1
  326. package/lib/typescript/src/components/stack-card/index.d.ts +11 -10
  327. package/lib/typescript/src/components/stack-card/index.d.ts.map +1 -1
  328. package/lib/typescript/src/components/steps/index.d.ts +9 -8
  329. package/lib/typescript/src/components/steps/index.d.ts.map +1 -1
  330. package/lib/typescript/src/components/support/index.d.ts +22 -21
  331. package/lib/typescript/src/components/support/index.d.ts.map +1 -1
  332. package/lib/typescript/src/components/surface/index.d.ts +35 -34
  333. package/lib/typescript/src/components/surface/index.d.ts.map +1 -1
  334. package/lib/typescript/src/components/swipe/index.d.ts +8 -7
  335. package/lib/typescript/src/components/swipe/index.d.ts.map +1 -1
  336. package/lib/typescript/src/components/switch/index.d.ts +5 -4
  337. package/lib/typescript/src/components/switch/index.d.ts.map +1 -1
  338. package/lib/typescript/src/components/table/index.d.ts +14 -13
  339. package/lib/typescript/src/components/table/index.d.ts.map +1 -1
  340. package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
  341. package/lib/typescript/src/components/tag-input/index.d.ts +5 -4
  342. package/lib/typescript/src/components/tag-input/index.d.ts.map +1 -1
  343. package/lib/typescript/src/components/text-animation/index.d.ts.map +1 -1
  344. package/lib/typescript/src/components/textarea/index.d.ts +5 -4
  345. package/lib/typescript/src/components/textarea/index.d.ts.map +1 -1
  346. package/lib/typescript/src/components/time-picker/index.d.ts.map +1 -1
  347. package/lib/typescript/src/components/timeline/index.d.ts +18 -17
  348. package/lib/typescript/src/components/timeline/index.d.ts.map +1 -1
  349. package/lib/typescript/src/components/toast/index.d.ts +2 -2
  350. package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
  351. package/lib/typescript/src/components/toggle-button/index.d.ts +6 -5
  352. package/lib/typescript/src/components/toggle-button/index.d.ts.map +1 -1
  353. package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -1
  354. package/lib/typescript/src/components/tour/index.d.ts.map +1 -1
  355. package/lib/typescript/src/components/tree/index.d.ts +10 -9
  356. package/lib/typescript/src/components/tree/index.d.ts.map +1 -1
  357. package/lib/typescript/src/components/typography/index.d.ts +101 -100
  358. package/lib/typescript/src/components/typography/index.d.ts.map +1 -1
  359. package/lib/typescript/src/components/waterfall-chart/index.d.ts +11 -1
  360. package/lib/typescript/src/components/waterfall-chart/index.d.ts.map +1 -1
  361. package/lib/typescript/src/hooks/use-keyboard-avoidance.d.ts +3 -2
  362. package/lib/typescript/src/hooks/use-keyboard-avoidance.d.ts.map +1 -1
  363. package/lib/typescript/src/hooks/use-reveal-progress.d.ts +2 -2
  364. package/lib/typescript/src/hooks/use-reveal-progress.d.ts.map +1 -1
  365. package/lib/typescript/src/hooks/use-scroll-sections.d.ts +3 -2
  366. package/lib/typescript/src/hooks/use-scroll-sections.d.ts.map +1 -1
  367. package/lib/typescript/src/icons/index.d.ts +40 -0
  368. package/lib/typescript/src/icons/index.d.ts.map +1 -1
  369. package/lib/typescript/src/index.d.ts +1 -0
  370. package/lib/typescript/src/index.d.ts.map +1 -1
  371. package/lib/typescript/src/primitives/animated-pressable.d.ts +3 -2
  372. package/lib/typescript/src/primitives/animated-pressable.d.ts.map +1 -1
  373. package/lib/typescript/src/primitives/chart-accessibility.d.ts +5 -6
  374. package/lib/typescript/src/primitives/chart-accessibility.d.ts.map +1 -1
  375. package/lib/typescript/src/primitives/glass.d.ts +3 -2
  376. package/lib/typescript/src/primitives/glass.d.ts.map +1 -1
  377. package/lib/typescript/src/primitives/refs.d.ts +25 -0
  378. package/lib/typescript/src/primitives/refs.d.ts.map +1 -0
  379. package/lib/typescript/src/primitives/scroll-progress.d.ts.map +1 -1
  380. package/lib/typescript/src/primitives/text.d.ts +41 -40
  381. package/lib/typescript/src/primitives/text.d.ts.map +1 -1
  382. package/lib/typescript/src/primitives/web-deps.d.ts +11 -0
  383. package/lib/typescript/src/primitives/web-deps.d.ts.map +1 -0
  384. package/package.json +12 -7
  385. package/src/components/accordion/index.tsx +7 -6
  386. package/src/components/ai-input/index.tsx +2 -1
  387. package/src/components/alert/index.tsx +6 -5
  388. package/src/components/animated-badge/index.tsx +2 -1
  389. package/src/components/area-chart/index.tsx +31 -3
  390. package/src/components/attachment/index.tsx +9 -8
  391. package/src/components/avatar/index.tsx +4 -3
  392. package/src/components/avatar-cropper/index.tsx +2 -1
  393. package/src/components/badge/index.tsx +2 -1
  394. package/src/components/bar-chart/index.tsx +40 -3
  395. package/src/components/breadcrumb/index.tsx +8 -7
  396. package/src/components/bubble-chart/index.tsx +23 -2
  397. package/src/components/bump-chart/index.tsx +31 -3
  398. package/src/components/button/index.tsx +2 -1
  399. package/src/components/button-group/index.tsx +2 -1
  400. package/src/components/calendar/index.tsx +2 -1
  401. package/src/components/candlestick-chart/index.tsx +25 -2
  402. package/src/components/card/index.tsx +7 -6
  403. package/src/components/checkbox/index.tsx +2 -1
  404. package/src/components/chip/index.tsx +2 -1
  405. package/src/components/collapsible/index.tsx +6 -5
  406. package/src/components/color-picker/index.tsx +29 -15
  407. package/src/components/combobox/index.tsx +3 -2
  408. package/src/components/context-menu/index.tsx +2 -1
  409. package/src/components/countdown/index.tsx +2 -1
  410. package/src/components/dialog/index.tsx +3 -2
  411. package/src/components/empty-state/index.tsx +7 -6
  412. package/src/components/fab/index.tsx +6 -4
  413. package/src/components/feedback/index.tsx +5 -4
  414. package/src/components/field/index.tsx +11 -10
  415. package/src/components/file-upload/index.tsx +4 -3
  416. package/src/components/flip-card/index.tsx +4 -3
  417. package/src/components/frame/index.tsx +13 -12
  418. package/src/components/grid-item/index.tsx +10 -9
  419. package/src/components/heatmap-chart/index.tsx +2 -1
  420. package/src/components/image-viewer/index.tsx +2 -1
  421. package/src/components/input/index.tsx +2 -1
  422. package/src/components/input-group/index.tsx +4 -3
  423. package/src/components/item/index.tsx +11 -10
  424. package/src/components/kpi/index.tsx +3 -2
  425. package/src/components/label/index.tsx +3 -2
  426. package/src/components/leaderboard/index.tsx +2 -1
  427. package/src/components/line-chart/index.tsx +31 -3
  428. package/src/components/live-line-chart/index.tsx +31 -4
  429. package/src/components/map/native-style.ts +31 -4
  430. package/src/components/markdown-editor/index.tsx +11 -11
  431. package/src/components/marker/index.tsx +4 -3
  432. package/src/components/marquee/index.tsx +2 -1
  433. package/src/components/message/index.tsx +10 -9
  434. package/src/components/message-scroller/index.tsx +4 -4
  435. package/src/components/meter/index.tsx +2 -1
  436. package/src/components/mirror-area-chart/index.tsx +25 -2
  437. package/src/components/number-input/index.tsx +2 -1
  438. package/src/components/otp-input/index.tsx +4 -3
  439. package/src/components/page-header/index.tsx +12 -11
  440. package/src/components/pagination/index.tsx +6 -5
  441. package/src/components/panelside/index.tsx +8 -7
  442. package/src/components/planner/index.tsx +7 -7
  443. package/src/components/plot/index.tsx +37 -3
  444. package/src/components/popover/index.tsx +2 -1
  445. package/src/components/post/index.tsx +12 -11
  446. package/src/components/progress/index.tsx +2 -1
  447. package/src/components/progress-button/index.tsx +2 -1
  448. package/src/components/pyramid-chart/index.tsx +25 -2
  449. package/src/components/qr-code/index.tsx +8 -7
  450. package/src/components/questionnaire/index.tsx +4 -3
  451. package/src/components/radio-group/index.tsx +3 -2
  452. package/src/components/rating/index.tsx +2 -1
  453. package/src/components/scatter-chart/index.tsx +23 -2
  454. package/src/components/scroll-header/index.tsx +13 -11
  455. package/src/components/search-bar/index.tsx +7 -8
  456. package/src/components/section-progress/index.tsx +3 -2
  457. package/src/components/select/index.tsx +2 -1
  458. package/src/components/separator/index.tsx +2 -1
  459. package/src/components/shimmer/index.tsx +11 -2
  460. package/src/components/signature/index.tsx +2 -1
  461. package/src/components/sketch/index.tsx +2 -1
  462. package/src/components/slide-button/index.tsx +2 -1
  463. package/src/components/slider/index.tsx +2 -1
  464. package/src/components/sortable/index.tsx +5 -7
  465. package/src/components/splitter/index.tsx +3 -2
  466. package/src/components/stack-card/index.tsx +9 -7
  467. package/src/components/steps/index.tsx +8 -7
  468. package/src/components/support/index.tsx +17 -16
  469. package/src/components/surface/index.tsx +2 -1
  470. package/src/components/swipe/index.tsx +5 -4
  471. package/src/components/switch/index.tsx +2 -1
  472. package/src/components/table/index.tsx +11 -10
  473. package/src/components/tabs/index.tsx +4 -2
  474. package/src/components/tag-input/index.tsx +5 -5
  475. package/src/components/text-animation/index.tsx +2 -1
  476. package/src/components/textarea/index.tsx +3 -3
  477. package/src/components/time-picker/index.tsx +2 -1
  478. package/src/components/timeline/index.tsx +17 -16
  479. package/src/components/toast/index.tsx +2 -2
  480. package/src/components/toggle-button/index.tsx +3 -2
  481. package/src/components/tooltip/index.tsx +2 -1
  482. package/src/components/tour/index.tsx +3 -2
  483. package/src/components/tree/index.tsx +11 -9
  484. package/src/components/typography/index.tsx +8 -7
  485. package/src/components/waterfall-chart/index.tsx +35 -2
  486. package/src/hooks/use-keyboard-avoidance.ts +3 -2
  487. package/src/hooks/use-reveal-progress.ts +3 -2
  488. package/src/hooks/use-scroll-sections.ts +3 -2
  489. package/src/icons/index.tsx +21 -2
  490. package/src/index.ts +14 -0
  491. package/src/primitives/animated-pressable.tsx +2 -1
  492. package/src/primitives/chart-accessibility.ts +9 -5
  493. package/src/primitives/glass.tsx +3 -2
  494. package/src/primitives/refs.ts +45 -0
  495. package/src/primitives/scroll-progress.tsx +2 -1
  496. package/src/primitives/text.tsx +2 -1
  497. package/src/primitives/web-deps.ts +14 -0
  498. package/lib/module/uniwind-env.d.js +0 -4
  499. package/lib/module/uniwind-env.d.js.map +0 -1
@@ -23,157 +23,158 @@
23
23
  * people rebuilding per screen.
24
24
  */
25
25
  import { type ReactNode } from 'react';
26
- import { View, type Text as RNText, type ViewProps } from 'react-native';
26
+ import { type ViewProps } from 'react-native';
27
27
  import { type VariantProps } from 'tailwind-variants';
28
28
  import { type TextProps } from '../../primitives/text.js';
29
+ import type { TextRef, ViewRef } from '../../primitives/refs.js';
29
30
  declare const typographyVariants: import("tailwind-variants").TVReturnType<{
30
31
  type: {
31
- h1: string;
32
- h2: string;
33
- h3: string;
34
- h4: string;
35
- h5: string;
36
- h6: string;
32
+ h1: "text-4xl font-bold tracking-tight";
33
+ h2: "text-3xl font-semibold tracking-tight";
34
+ h3: "text-2xl font-semibold tracking-tight";
35
+ h4: "text-xl font-semibold";
36
+ h5: "text-lg font-semibold";
37
+ h6: "text-base font-semibold";
37
38
  /** The sentence under a heading, set larger and quieter than body. */
38
- lead: string;
39
- body: string;
40
- 'body-sm': string;
41
- 'body-xs': string;
39
+ lead: "text-xl font-normal text-muted-foreground";
40
+ body: "text-base font-normal";
41
+ 'body-sm': "text-sm font-normal";
42
+ 'body-xs': "text-xs font-normal";
42
43
  /** Body, one step up — for a number or a name that carries the row. */
43
- large: string;
44
- small: string;
45
- blockquote: string;
46
- code: string;
44
+ large: "text-lg font-semibold";
45
+ small: "text-sm font-medium leading-tight";
46
+ blockquote: "text-base font-normal italic";
47
+ code: "font-mono text-sm text-foreground";
47
48
  };
48
49
  weight: {
49
- normal: string;
50
- medium: string;
51
- semibold: string;
52
- bold: string;
50
+ normal: "font-normal";
51
+ medium: "font-medium";
52
+ semibold: "font-semibold";
53
+ bold: "font-bold";
53
54
  };
54
55
  align: {
55
- start: string;
56
- end: string;
57
- left: string;
58
- center: string;
59
- right: string;
56
+ start: "text-start";
57
+ end: "text-end";
58
+ left: "text-left";
59
+ center: "text-center";
60
+ right: "text-right";
60
61
  };
61
62
  transform: {
62
- uppercase: string;
63
- lowercase: string;
64
- capitalize: string;
63
+ uppercase: "uppercase";
64
+ lowercase: "lowercase";
65
+ capitalize: "capitalize";
65
66
  };
66
67
  underline: {
67
- true: string;
68
+ true: "underline";
68
69
  };
69
70
  italic: {
70
- true: string;
71
+ true: "italic";
71
72
  };
72
73
  strike: {
73
- true: string;
74
+ true: "line-through";
74
75
  };
75
76
  muted: {
76
- true: string;
77
+ true: "text-muted-foreground";
77
78
  };
78
79
  }, undefined, "text-foreground", {
79
80
  type: {
80
- h1: string;
81
- h2: string;
82
- h3: string;
83
- h4: string;
84
- h5: string;
85
- h6: string;
81
+ h1: "text-4xl font-bold tracking-tight";
82
+ h2: "text-3xl font-semibold tracking-tight";
83
+ h3: "text-2xl font-semibold tracking-tight";
84
+ h4: "text-xl font-semibold";
85
+ h5: "text-lg font-semibold";
86
+ h6: "text-base font-semibold";
86
87
  /** The sentence under a heading, set larger and quieter than body. */
87
- lead: string;
88
- body: string;
89
- 'body-sm': string;
90
- 'body-xs': string;
88
+ lead: "text-xl font-normal text-muted-foreground";
89
+ body: "text-base font-normal";
90
+ 'body-sm': "text-sm font-normal";
91
+ 'body-xs': "text-xs font-normal";
91
92
  /** Body, one step up — for a number or a name that carries the row. */
92
- large: string;
93
- small: string;
94
- blockquote: string;
95
- code: string;
93
+ large: "text-lg font-semibold";
94
+ small: "text-sm font-medium leading-tight";
95
+ blockquote: "text-base font-normal italic";
96
+ code: "font-mono text-sm text-foreground";
96
97
  };
97
98
  weight: {
98
- normal: string;
99
- medium: string;
100
- semibold: string;
101
- bold: string;
99
+ normal: "font-normal";
100
+ medium: "font-medium";
101
+ semibold: "font-semibold";
102
+ bold: "font-bold";
102
103
  };
103
104
  align: {
104
- start: string;
105
- end: string;
106
- left: string;
107
- center: string;
108
- right: string;
105
+ start: "text-start";
106
+ end: "text-end";
107
+ left: "text-left";
108
+ center: "text-center";
109
+ right: "text-right";
109
110
  };
110
111
  transform: {
111
- uppercase: string;
112
- lowercase: string;
113
- capitalize: string;
112
+ uppercase: "uppercase";
113
+ lowercase: "lowercase";
114
+ capitalize: "capitalize";
114
115
  };
115
116
  underline: {
116
- true: string;
117
+ true: "underline";
117
118
  };
118
119
  italic: {
119
- true: string;
120
+ true: "italic";
120
121
  };
121
122
  strike: {
122
- true: string;
123
+ true: "line-through";
123
124
  };
124
125
  muted: {
125
- true: string;
126
+ true: "text-muted-foreground";
126
127
  };
127
- }, undefined, import("tailwind-variants").TVReturnType<{
128
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
128
129
  type: {
129
- h1: string;
130
- h2: string;
131
- h3: string;
132
- h4: string;
133
- h5: string;
134
- h6: string;
130
+ h1: "text-4xl font-bold tracking-tight";
131
+ h2: "text-3xl font-semibold tracking-tight";
132
+ h3: "text-2xl font-semibold tracking-tight";
133
+ h4: "text-xl font-semibold";
134
+ h5: "text-lg font-semibold";
135
+ h6: "text-base font-semibold";
135
136
  /** The sentence under a heading, set larger and quieter than body. */
136
- lead: string;
137
- body: string;
138
- 'body-sm': string;
139
- 'body-xs': string;
137
+ lead: "text-xl font-normal text-muted-foreground";
138
+ body: "text-base font-normal";
139
+ 'body-sm': "text-sm font-normal";
140
+ 'body-xs': "text-xs font-normal";
140
141
  /** Body, one step up — for a number or a name that carries the row. */
141
- large: string;
142
- small: string;
143
- blockquote: string;
144
- code: string;
142
+ large: "text-lg font-semibold";
143
+ small: "text-sm font-medium leading-tight";
144
+ blockquote: "text-base font-normal italic";
145
+ code: "font-mono text-sm text-foreground";
145
146
  };
146
147
  weight: {
147
- normal: string;
148
- medium: string;
149
- semibold: string;
150
- bold: string;
148
+ normal: "font-normal";
149
+ medium: "font-medium";
150
+ semibold: "font-semibold";
151
+ bold: "font-bold";
151
152
  };
152
153
  align: {
153
- start: string;
154
- end: string;
155
- left: string;
156
- center: string;
157
- right: string;
154
+ start: "text-start";
155
+ end: "text-end";
156
+ left: "text-left";
157
+ center: "text-center";
158
+ right: "text-right";
158
159
  };
159
160
  transform: {
160
- uppercase: string;
161
- lowercase: string;
162
- capitalize: string;
161
+ uppercase: "uppercase";
162
+ lowercase: "lowercase";
163
+ capitalize: "capitalize";
163
164
  };
164
165
  underline: {
165
- true: string;
166
+ true: "underline";
166
167
  };
167
168
  italic: {
168
- true: string;
169
+ true: "italic";
169
170
  };
170
171
  strike: {
171
- true: string;
172
+ true: "line-through";
172
173
  };
173
174
  muted: {
174
- true: string;
175
+ true: "text-muted-foreground";
175
176
  };
176
- }, undefined, "text-foreground", unknown, unknown, undefined>>;
177
+ }, undefined>>;
177
178
  export type TypographyType = NonNullable<VariantProps<typeof typographyVariants>['type']>;
178
179
  export type TypographyWeight = NonNullable<VariantProps<typeof typographyVariants>['weight']>;
179
180
  export interface TypographyProps extends Omit<TextProps, 'size' | 'weight'>, VariantProps<typeof typographyVariants> {
@@ -221,13 +222,13 @@ export interface TypographyListProps extends ViewProps {
221
222
  export interface TypographyListItemProps extends Omit<TypographyProps, 'type'> {
222
223
  type?: ParagraphType;
223
224
  }
224
- export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<RNText>> & {
225
- Heading: import("react").ForwardRefExoticComponent<TypographyHeadingProps & import("react").RefAttributes<RNText>>;
226
- Paragraph: import("react").ForwardRefExoticComponent<TypographyParagraphProps & import("react").RefAttributes<RNText>>;
227
- Code: import("react").ForwardRefExoticComponent<TypographyCodeProps & Pick<ViewProps, "testID"> & import("react").RefAttributes<View>>;
228
- Blockquote: import("react").ForwardRefExoticComponent<TypographyBlockquoteProps & import("react").RefAttributes<View>>;
229
- List: import("react").ForwardRefExoticComponent<TypographyListProps & import("react").RefAttributes<View>>;
230
- ListItem: import("react").ForwardRefExoticComponent<TypographyListItemProps & import("react").RefAttributes<RNText>>;
225
+ export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<TextRef>> & {
226
+ Heading: import("react").ForwardRefExoticComponent<TypographyHeadingProps & import("react").RefAttributes<TextRef>>;
227
+ Paragraph: import("react").ForwardRefExoticComponent<TypographyParagraphProps & import("react").RefAttributes<TextRef>>;
228
+ Code: import("react").ForwardRefExoticComponent<TypographyCodeProps & Pick<ViewProps, "testID"> & import("react").RefAttributes<ViewRef>>;
229
+ Blockquote: import("react").ForwardRefExoticComponent<TypographyBlockquoteProps & import("react").RefAttributes<ViewRef>>;
230
+ List: import("react").ForwardRefExoticComponent<TypographyListProps & import("react").RefAttributes<ViewRef>>;
231
+ ListItem: import("react").ForwardRefExoticComponent<TypographyListItemProps & import("react").RefAttributes<TextRef>>;
231
232
  };
232
233
  export {};
233
234
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAG3E,QAAA,MAAM,kBAAkB;;;;;;;;QAUlB,sEAAsE;;;;;QAKtE,uEAAuE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QALvE,sEAAsE;;;;;QAKtE,uEAAuE;;;;;;;;;;;;;;;;;;;;;;;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AW,sBAAuB,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC3E,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AA6BD,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC7E,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AA0BD,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IACxE,oDAAoD;IACpD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAgBD,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC9E,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAgCD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA8BD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC5E,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AA2BD,eAAO,MAAM,UAAU;;;;;;;CAOrB,CAAC"}
@@ -297,6 +297,16 @@ export interface WaterfallChartTooltipProps {
297
297
  /** Format the running total line. Return `null` to drop it. */
298
298
  formatTotal?: (step: WaterfallStep) => string | null;
299
299
  className?: string;
300
+ /**
301
+ * How long a press has to be held before the readout takes the touch, in
302
+ * milliseconds.
303
+ *
304
+ * Until then the touch belongs to whatever else wants it: a quick tap still
305
+ * reaches a button floating over the chart, and a swipe still scrolls the
306
+ * screen the chart sits in. Set `0` to read on contact, only for a chart with
307
+ * nothing over it and no scroll view around it.
308
+ */
309
+ activateAfterLongPress?: number;
300
310
  }
301
311
  /**
302
312
  * The readout, and the drag that drives it.
@@ -310,7 +320,7 @@ export interface WaterfallChartTooltipProps {
310
320
  * summon is a readout nobody finds — and the bars here are narrower than a bar
311
321
  * chart's, since the gap between them is what the connectors run through.
312
322
  */
313
- declare function WaterfallChartTooltip({ formatValue, formatTotal, className, }: WaterfallChartTooltipProps): import("react").JSX.Element | null;
323
+ declare function WaterfallChartTooltip({ formatValue, formatTotal, className, activateAfterLongPress, }: WaterfallChartTooltipProps): import("react").JSX.Element | null;
314
324
  declare namespace WaterfallChartTooltip {
315
325
  var displayName: string;
316
326
  var layer: Layer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/waterfall-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAYL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAgBxF,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,yCAAsC,CAAC;AAuC9C,KAAK,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,YAAY,CAAC;AAElE,yDAAyD;AACzD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,+DAA+D;AAC/D,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,C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le } from 'react-native';
2
2
  import { useAnimatedStyle, type AnimatedRef } from 'react-native-reanimated';
3
+ import type { ViewRef } from '../primitives/refs.js';
3
4
  export type KeyboardAvoidanceMode = 'lift' | 'dock';
4
5
  export interface UseKeyboardAvoidanceOptions {
5
6
  /** Set false to leave the element where it is. */
@@ -30,7 +31,7 @@ export interface UseKeyboardAvoidanceOptions {
30
31
  }
31
32
  export interface UseKeyboardAvoidanceResult {
32
33
  /** Attach to the element that should stay visible. */
33
- ref: AnimatedRef<View>;
34
+ ref: AnimatedRef<ViewRef>;
34
35
  /** Attach to the same element, so a re-layout at rest cannot leave it offset. */
35
36
  onLayout: (event: LayoutChangeEvent) => void;
36
37
  /** Apply to the same element. */
@@ -1 +1 @@
1
- {"version":3,"file":"use-keyboard-avoidance.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-keyboard-avoidance.ts"],"names":[],"mappings":"AA+CA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACT,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAML,gBAAgB,EAIhB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAC;AAYjC,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,2BAA2B;IAC1C,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC,sDAAsD;IACtD,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvB,iFAAiF;IACjF,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAA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AgB,qBAAqB,IAAI,OAAO,CAS/C;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAc,EACd,MAAa,EACb,IAAa,EACb,MAAW,EACX,WAAe,GAChB,GAAE,2BAAgC,GAAG,0BAA0B,CAuJ/D"}
@@ -1,5 +1,5 @@
1
- import { type View } from 'react-native';
2
1
  import { type AnimatedRef, type SharedValue } from 'react-native-reanimated';
2
+ import type { ViewRef } from '../primitives/refs.js';
3
3
  export interface UseRevealProgressOptions {
4
4
  /**
5
5
  * Where down the viewport the element's top sits when progress is `0`, as a
@@ -21,7 +21,7 @@ export interface UseRevealProgressOptions {
21
21
  }
22
22
  export interface UseRevealProgressResult {
23
23
  /** Attach to the element whose travel drives the effect. */
24
- ref: AnimatedRef<View>;
24
+ ref: AnimatedRef<ViewRef>;
25
25
  /**
26
26
  * Attach to the same element. It is what says the element can be measured —
27
27
  * without it the effect still works, at the cost of a warning per frame for
@@ -1 +1 @@
1
- {"version":3,"file":"use-reveal-progress.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-reveal-progress.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAuB,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,4DAA4D;IAC5D,GAAG,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAW,EACX,GAAS,EACT,QAAQ,EAAE,QAAQ,EAClB,OAAc,GACf,GAAE,wBAA6B,GAAG,uBAAuB,CAyDzD"}
1
+ {"version":3,"file":"use-reveal-progress.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-reveal-progress.ts"],"names":[],"mappings":"AA6BA,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAoB,CAAC;AAElD,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,4DAA4D;IAC5D,GAAG,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,+CAA+C;IAC/C,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAW,EACX,GAAS,EACT,QAAQ,EAAE,QAAQ,EAClB,OAAc,GACf,GAAE,wBAA6B,GAAG,uBAAuB,CAyDzD"}
@@ -1,5 +1,6 @@
1
- import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, ScrollView } from 'react-native';
1
+ import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent } from 'react-native';
2
2
  import { type SharedValue } from 'react-native-reanimated';
3
+ import type { ScrollViewRef } from '../primitives/refs.js';
3
4
  export interface UseScrollSectionsOptions {
4
5
  /** Section ids, in the order they appear down the page. */
5
6
  ids: string[];
@@ -31,7 +32,7 @@ export interface ScrollSectionsPosition {
31
32
  }
32
33
  export interface UseScrollSectionsResult {
33
34
  /** Attach to the ScrollView, so `scrollTo` has something to drive. */
34
- ref: React.RefObject<ScrollView | null>;
35
+ ref: React.RefObject<ScrollViewRef | null>;
35
36
  /** The section being read. */
36
37
  active: string | undefined;
37
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"use-scroll-sections.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-scroll-sections.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3E,MAAM,WAAW,wBAAwB;IACvC,2DAA2D;IAC3D,GAAG,EAAE,MAAM,EAAE,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,mCAAmC;IACnC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACxC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;OAGG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B,kCAAkC;IAClC,WAAW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AM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,kCAAkC;IAClC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,mCAAmC;IACnC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC3C,8BAA8B;IAC9B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;OAGG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B,kCAAkC;IAClC,WAAW,EAAE;QACX,QAAQ,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;QACnE,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;QAC7C,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;QAC7D,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oEAAoE;IACpE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,8EAA8E;IAC9E,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AASD,wBAAgB,iBAAiB,CAAC,EAChC,GAAG,EACH,MAAY,EACZ,YAAiB,EACjB,aAAiB,GAClB,EAAE,wBAAwB,GAAG,uBAAuB,CAmJpD"}
@@ -50,6 +50,7 @@
50
50
  * outline could only ignore. All four are drawn here rather than mapped.
51
51
  */
52
52
  import { type ReactNode } from 'react';
53
+ import { type IconSvgElement } from '@hugeicons/react-native';
53
54
  import { type SvgProps } from 'react-native-svg';
54
55
  export interface IconProps extends SvgProps {
55
56
  /** Both dimensions — icons are always square. */
@@ -65,6 +66,45 @@ export declare function IconColorProvider({ color, children, }: {
65
66
  }): import("react").JSX.Element;
66
67
  /** The inherited icon colour, if a surface is providing one. */
67
68
  export declare function useIconColor(): string | undefined;
69
+ /**
70
+ * The defaults a glyph is drawn with when the caller passes nothing.
71
+ * The second argument to `icon()`.
72
+ */
73
+ export interface IconDefaults {
74
+ /** Both dimensions at the size this glyph is normally drawn. */
75
+ size: number;
76
+ /** The colour used when neither a prop nor a provider supplies one. */
77
+ color: string;
78
+ /** Overrides `STROKE` for a glyph that has to match something beside it. */
79
+ strokeWidth?: number;
80
+ /** Whether the glyph's meaning is a horizontal direction. */
81
+ flip?: boolean;
82
+ /** Whether the glyph is a toggle that can be solid. See `ToggleIconProps`. */
83
+ fillable?: boolean;
84
+ }
85
+ /**
86
+ * Builds one icon from a glyph and the defaults it is normally drawn with.
87
+ *
88
+ * Exported so an app can add a glyph the set does not carry, and have it
89
+ * behave exactly like the built-in icons: the same colour order (prop, then
90
+ * `IconColorProvider`, then the default), the same line weight, the same
91
+ * right-to-left mirror and the same `filled` toggle.
92
+ *
93
+ * ```tsx
94
+ * import HgViewOffIcon from '@hugeicons/core-free-icons/ViewOffIcon';
95
+ * import { icon } from 'panelui-native/icons';
96
+ *
97
+ * export const EyeOffIcon = icon(HgViewOffIcon, { size: 16, color: '#737373' });
98
+ * ```
99
+ *
100
+ * A factory rather than seventy near-identical components: what varies between
101
+ * them is data, and what does not — the colour order, the weight default, the
102
+ * mirror, the fill toggle, the prop passthrough — is worth having in exactly
103
+ * one place, where a fix reaches the whole set at once.
104
+ */
105
+ export declare function icon(glyph: IconSvgElement, defaults: IconDefaults): ({ size, color, strokeWidth, filled, style, ...props }: ToggleIconProps) => import("react").JSX.Element;
106
+ /** Another name for `icon()`, for code that prefers the `create` prefix. */
107
+ export declare const createIcon: typeof icon;
68
108
  export declare const ChevronUpIcon: ({ size, color, strokeWidth, filled, style, ...props }: ToggleIconProps) => import("react").JSX.Element;
69
109
  export declare const ChevronDownIcon: ({ size, color, strokeWidth, filled, style, ...props }: ToggleIconProps) => import("react").JSX.Element;
70
110
  export declare const ChevronLeftIcon: ({ size, color, strokeWidth, filled, style, ...props }: ToggleIconProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,OAAY,EAAW,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AA2F/D,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAEA;AAED,gEAAgE;AAChE,wBAAgB,YAAY,IAAI,MAAM,GAAG,SAAS,CAEjD;AAuGD,eAAO,MAAM,aAAa,0DA3CrB,eAAe,gCA2C8D,CAAC;AACnF,eAAO,MAAM,eAAe,0DA5CvB,eAAe,gCA4CkE,CAAC;AACvF,eAAO,MAAM,eAAe,0DA7CvB,eAAe,gCAiDlB,CAAC;AACH,eAAO,MAAM,gBAAgB,0DAlDxB,eAAe,gCAsDlB,CAAC;AACH,eAAO,MAAM,kBAAkB,0DAvD1B,eAAe,gCAuDoE,CAAC;AACzF,eAAO,MAAM,YAAY,0DAxDpB,eAAe,gCAwDkE,CAAC;AACvF,eAAO,MAAM,QAAQ,0DAzDhB,eAAe,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AAC3E,eAAO,MAAM,UAAU,0DA1MlB,eAAe,gCA0M0D,CAAC;AAC/E,eAAO,MAAM,WAAW,0DA3MnB,eAAe,gCA2M0D,CAAC;AAC/E,eAAO,MAAM,OAAO,0DA5Mf,eAAe,gCA4MoD,CAAC;AACzE,eAAO,MAAM,QAAQ,0DA7MhB,eAAe,gCA6MoD,CAAC;AAMzE,eAAO,MAAM,WAAW,0DAnNnB,eAAe,gCAuNlB,CAAC;AACH,eAAO,MAAM,aAAa,0DAxNrB,eAAe,gCA4NlB,CAAC;AAMH;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,sDAAsD;AACtD,wBAAgB,UAAU,CAAC,EAAE,IAAS,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,+BAuB3E;AAED,yBAAyB;AAEzB,yBAAyB;AACzB,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,+BAS7E;AAED;;;;GAIG;AAEH;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAUlE;AAMD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAS,EACT,KAAK,EACL,UAAsB,EACtB,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAiBrB"}
@@ -4,6 +4,7 @@ export { Portal, PortalHost, PortalProvider } from './primitives/portal.js';
4
4
  export { Scrim, hasBlur, type ScrimProps } from './primitives/scrim.js';
5
5
  export { Glass, GlassContainer, hasGlass, useGlassMaterial, type GlassProps, type GlassContainerProps, type GlassVariant, type GlassRadius, } from './primitives/glass.js';
6
6
  export { Text, type TextProps } from './primitives/text.js';
7
+ export type { ViewRef, TextRef, TextInputRef, ScrollViewRef, KeyPressEvent, SubmitEditingEvent, SelectionChangeEvent, ContentSizeChangeEvent, ViewTokenOf, } from './primitives/refs.js';
7
8
  export { Collapse, type CollapseProps } from './primitives/collapse.js';
8
9
  export { KeyboardAvoider, type KeyboardAvoiderProps, } from './primitives/keyboard-avoider.js';
9
10
  export { AnimatedPressable, type AnimatedPressableProps, } from './primitives/animated-pressable.js';