@multiplatform.one/components 7.45.1 → 7.47.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 (679) hide show
  1. package/dist/cjs/Alert/index.cjs +1 -1
  2. package/dist/cjs/Alert/index.native.js +1 -1
  3. package/dist/cjs/Alert/index.native.js.map +1 -1
  4. package/dist/cjs/Carousel/index.cjs +1 -1
  5. package/dist/cjs/Carousel/index.native.js +1 -1
  6. package/dist/cjs/Carousel/index.native.js.map +1 -1
  7. package/dist/cjs/Chip/index.cjs +18 -7
  8. package/dist/cjs/Chip/index.native.js +20 -8
  9. package/dist/cjs/Chip/index.native.js.map +1 -1
  10. package/dist/cjs/DropdownMenu/index.cjs +5 -1
  11. package/dist/cjs/DropdownMenu/index.native.js +5 -1
  12. package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
  13. package/dist/cjs/ErrorBoundary/index.cjs +2 -2
  14. package/dist/cjs/ErrorBoundary/index.native.js +2 -2
  15. package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
  16. package/dist/cjs/Heading.cjs +8 -127
  17. package/dist/cjs/Heading.native.js +7 -133
  18. package/dist/cjs/Heading.native.js.map +1 -1
  19. package/dist/cjs/OverflowRow/index.cjs +1 -0
  20. package/dist/cjs/OverflowRow/index.native.js +1 -0
  21. package/dist/cjs/OverflowRow/index.native.js.map +1 -1
  22. package/dist/cjs/Pagination.cjs +4 -1
  23. package/dist/cjs/Pagination.native.js +4 -1
  24. package/dist/cjs/Pagination.native.js.map +1 -1
  25. package/dist/cjs/Popover.cjs +145 -0
  26. package/dist/cjs/Popover.native.js +174 -0
  27. package/dist/cjs/Popover.native.js.map +1 -0
  28. package/dist/cjs/ProgressSteps/index.cjs +1 -1
  29. package/dist/cjs/ProgressSteps/index.native.js +1 -1
  30. package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
  31. package/dist/cjs/Quote/index.cjs +1 -0
  32. package/dist/cjs/Quote/index.native.js +1 -0
  33. package/dist/cjs/Quote/index.native.js.map +1 -1
  34. package/dist/cjs/SkipLink/index.cjs +1 -2
  35. package/dist/cjs/SkipLink/index.native.js +1 -2
  36. package/dist/cjs/SkipLink/index.native.js.map +1 -1
  37. package/dist/cjs/SortableList/index.cjs +2 -1
  38. package/dist/cjs/SortableList/index.native.js +2 -1
  39. package/dist/cjs/SortableList/index.native.js.map +1 -1
  40. package/dist/cjs/SortableList/useSortableRows.cjs +2 -2
  41. package/dist/cjs/SortableList/useSortableRows.native.js +2 -2
  42. package/dist/cjs/SortableList/useSortableRows.native.js.map +1 -1
  43. package/dist/cjs/Text.cjs +5 -116
  44. package/dist/cjs/Text.native.js +4 -120
  45. package/dist/cjs/Text.native.js.map +1 -1
  46. package/dist/cjs/ThemePlayground/index.cjs +3 -2
  47. package/dist/cjs/ThemePresetPicker/index.cjs +21 -22
  48. package/dist/cjs/ThemePresetPicker/index.native.js +21 -22
  49. package/dist/cjs/ThemePresetPicker/index.native.js.map +1 -1
  50. package/dist/cjs/Tooltip/index.cjs +6 -0
  51. package/dist/cjs/TreeSelect/index.cjs +2 -1
  52. package/dist/cjs/TreeSelect/index.native.js +2 -1
  53. package/dist/cjs/TreeSelect/index.native.js.map +1 -1
  54. package/dist/cjs/Video/PlayerChrome.cjs +1 -1
  55. package/dist/cjs/Video/PlayerChrome.native.js +1 -1
  56. package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
  57. package/dist/cjs/Video/VideoFrame.cjs +2 -1
  58. package/dist/cjs/Video/VideoFrame.native.js +2 -1
  59. package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
  60. package/dist/cjs/Video/index.cjs +3 -1
  61. package/dist/cjs/actions/DestructiveAction.cjs +3 -2
  62. package/dist/cjs/actions/DestructiveAction.native.js +3 -2
  63. package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
  64. package/dist/cjs/appShell/ScopeMenu.cjs +2 -1
  65. package/dist/cjs/appShell/ScopeMenu.native.js +2 -1
  66. package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
  67. package/dist/cjs/appShell/SettingsSplit.cjs +5 -4
  68. package/dist/cjs/appShell/SettingsSplit.native.js +5 -4
  69. package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
  70. package/dist/cjs/appShell/Springboard.cjs +2 -1
  71. package/dist/cjs/appShell/Springboard.native.js +2 -1
  72. package/dist/cjs/appShell/Springboard.native.js.map +1 -1
  73. package/dist/cjs/appShell/SystemBar.cjs +2 -1
  74. package/dist/cjs/appShell/SystemBar.native.js +2 -1
  75. package/dist/cjs/appShell/SystemBar.native.js.map +1 -1
  76. package/dist/cjs/feedback/ConfirmDialog.cjs +1 -1
  77. package/dist/cjs/feedback/ConfirmDialog.native.js +1 -1
  78. package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
  79. package/dist/cjs/knobImmuneExports.cjs +0 -1
  80. package/dist/cjs/knobImmuneExports.native.js +0 -1
  81. package/dist/cjs/knobImmuneExports.native.js.map +1 -1
  82. package/dist/cjs/layouts/attachments.cjs +11 -10
  83. package/dist/cjs/layouts/attachments.native.js +11 -10
  84. package/dist/cjs/layouts/attachments.native.js.map +1 -1
  85. package/dist/cjs/layouts/breadcrumbs.cjs +3 -2
  86. package/dist/cjs/layouts/breadcrumbs.native.js +3 -2
  87. package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
  88. package/dist/cjs/layouts/page.cjs +80 -8
  89. package/dist/cjs/layouts/page.native.js +82 -8
  90. package/dist/cjs/layouts/page.native.js.map +1 -1
  91. package/dist/cjs/layouts/sidebar.cjs +3 -1
  92. package/dist/cjs/layouts/sidebar.native.js +3 -1
  93. package/dist/cjs/layouts/sidebar.native.js.map +1 -1
  94. package/dist/cjs/layouts/tags.cjs +2 -1
  95. package/dist/cjs/layouts/tags.native.js +2 -1
  96. package/dist/cjs/layouts/tags.native.js.map +1 -1
  97. package/dist/cjs/layouts/timeline.cjs +14 -13
  98. package/dist/cjs/layouts/timeline.native.js +14 -13
  99. package/dist/cjs/layouts/timeline.native.js.map +1 -1
  100. package/dist/cjs/layouts/toolbar.cjs +2 -1
  101. package/dist/cjs/layouts/toolbar.native.js +2 -1
  102. package/dist/cjs/layouts/toolbar.native.js.map +1 -1
  103. package/dist/cjs/linearGradientSetup.cjs +18 -0
  104. package/dist/cjs/linearGradientSetup.native.js +4 -0
  105. package/dist/cjs/linearGradientSetup.native.js.map +1 -0
  106. package/dist/cjs/tamagui.cjs +2 -1
  107. package/dist/cjs/tamagui.native.js +2 -1
  108. package/dist/cjs/tamagui.native.js.map +1 -1
  109. package/dist/cjs/views/Calendar.cjs +14 -13
  110. package/dist/cjs/views/Calendar.native.js +14 -13
  111. package/dist/cjs/views/Calendar.native.js.map +1 -1
  112. package/dist/cjs/views/Gantt.cjs +188 -55
  113. package/dist/cjs/views/Gantt.native.js +201 -55
  114. package/dist/cjs/views/Gantt.native.js.map +1 -1
  115. package/dist/cjs/views/GanttDateGrip.cjs +216 -0
  116. package/dist/cjs/views/GanttDateGrip.native.js +259 -0
  117. package/dist/cjs/views/GanttDateGrip.native.js.map +1 -0
  118. package/dist/cjs/views/Kanban.cjs +3 -2
  119. package/dist/cjs/views/Kanban.native.js +3 -2
  120. package/dist/cjs/views/Kanban.native.js.map +1 -1
  121. package/dist/cjs/views/List.cjs +13 -3
  122. package/dist/cjs/views/List.native.js +14 -3
  123. package/dist/cjs/views/List.native.js.map +1 -1
  124. package/dist/cjs/views/Matrix.cjs +2 -1
  125. package/dist/cjs/views/Matrix.native.js +2 -1
  126. package/dist/cjs/views/Matrix.native.js.map +1 -1
  127. package/dist/cjs/views/TreeView.cjs +3 -2
  128. package/dist/cjs/views/TreeView.native.js +3 -2
  129. package/dist/cjs/views/TreeView.native.js.map +1 -1
  130. package/dist/cjs/views/ganttIntervals.cjs +85 -0
  131. package/dist/cjs/views/ganttIntervals.native.js +92 -0
  132. package/dist/cjs/views/ganttIntervals.native.js.map +1 -0
  133. package/dist/esm/Alert/index.mjs +2 -2
  134. package/dist/esm/Alert/index.mjs.map +1 -1
  135. package/dist/esm/Alert/index.native.js +2 -2
  136. package/dist/esm/Alert/index.native.js.map +1 -1
  137. package/dist/esm/Carousel/index.mjs +1 -1
  138. package/dist/esm/Carousel/index.mjs.map +1 -1
  139. package/dist/esm/Carousel/index.native.js +1 -1
  140. package/dist/esm/Carousel/index.native.js.map +1 -1
  141. package/dist/esm/Chip/index.mjs +18 -7
  142. package/dist/esm/Chip/index.mjs.map +1 -1
  143. package/dist/esm/Chip/index.native.js +20 -8
  144. package/dist/esm/Chip/index.native.js.map +1 -1
  145. package/dist/esm/DropdownMenu/index.mjs +5 -1
  146. package/dist/esm/DropdownMenu/index.mjs.map +1 -1
  147. package/dist/esm/DropdownMenu/index.native.js +5 -1
  148. package/dist/esm/DropdownMenu/index.native.js.map +1 -1
  149. package/dist/esm/ErrorBoundary/index.mjs +1 -1
  150. package/dist/esm/ErrorBoundary/index.mjs.map +1 -1
  151. package/dist/esm/ErrorBoundary/index.native.js +1 -1
  152. package/dist/esm/ErrorBoundary/index.native.js.map +1 -1
  153. package/dist/esm/Heading.mjs +1 -120
  154. package/dist/esm/Heading.mjs.map +1 -1
  155. package/dist/esm/Heading.native.js +1 -127
  156. package/dist/esm/Heading.native.js.map +1 -1
  157. package/dist/esm/OverflowRow/index.mjs.map +1 -1
  158. package/dist/esm/OverflowRow/index.native.js.map +1 -1
  159. package/dist/esm/Pagination.mjs +4 -1
  160. package/dist/esm/Pagination.mjs.map +1 -1
  161. package/dist/esm/Pagination.native.js +4 -1
  162. package/dist/esm/Pagination.native.js.map +1 -1
  163. package/dist/esm/Popover.mjs +120 -0
  164. package/dist/esm/Popover.mjs.map +1 -0
  165. package/dist/esm/Popover.native.js +146 -0
  166. package/dist/esm/Popover.native.js.map +1 -0
  167. package/dist/esm/ProgressSteps/index.mjs +2 -2
  168. package/dist/esm/ProgressSteps/index.mjs.map +1 -1
  169. package/dist/esm/ProgressSteps/index.native.js +2 -2
  170. package/dist/esm/ProgressSteps/index.native.js.map +1 -1
  171. package/dist/esm/Quote/index.mjs +2 -1
  172. package/dist/esm/Quote/index.mjs.map +1 -1
  173. package/dist/esm/Quote/index.native.js +2 -1
  174. package/dist/esm/Quote/index.native.js.map +1 -1
  175. package/dist/esm/SkipLink/index.mjs +1 -2
  176. package/dist/esm/SkipLink/index.mjs.map +1 -1
  177. package/dist/esm/SkipLink/index.native.js +1 -2
  178. package/dist/esm/SkipLink/index.native.js.map +1 -1
  179. package/dist/esm/SortableList/index.mjs +5 -4
  180. package/dist/esm/SortableList/index.mjs.map +1 -1
  181. package/dist/esm/SortableList/index.native.js +5 -4
  182. package/dist/esm/SortableList/index.native.js.map +1 -1
  183. package/dist/esm/SortableList/useSortableRows.mjs +2 -2
  184. package/dist/esm/SortableList/useSortableRows.mjs.map +1 -1
  185. package/dist/esm/SortableList/useSortableRows.native.js +2 -2
  186. package/dist/esm/SortableList/useSortableRows.native.js.map +1 -1
  187. package/dist/esm/Text.mjs +1 -112
  188. package/dist/esm/Text.mjs.map +1 -1
  189. package/dist/esm/Text.native.js +1 -117
  190. package/dist/esm/Text.native.js.map +1 -1
  191. package/dist/esm/ThemePlayground/index.mjs +2 -1
  192. package/dist/esm/ThemePlayground/index.mjs.map +1 -1
  193. package/dist/esm/ThemePresetPicker/index.mjs +21 -22
  194. package/dist/esm/ThemePresetPicker/index.mjs.map +1 -1
  195. package/dist/esm/ThemePresetPicker/index.native.js +21 -22
  196. package/dist/esm/ThemePresetPicker/index.native.js.map +1 -1
  197. package/dist/esm/Tooltip/index.mjs +6 -0
  198. package/dist/esm/Tooltip/index.mjs.map +1 -1
  199. package/dist/esm/TreeSelect/index.mjs +6 -5
  200. package/dist/esm/TreeSelect/index.mjs.map +1 -1
  201. package/dist/esm/TreeSelect/index.native.js +6 -5
  202. package/dist/esm/TreeSelect/index.native.js.map +1 -1
  203. package/dist/esm/Video/PlayerChrome.mjs +1 -1
  204. package/dist/esm/Video/PlayerChrome.mjs.map +1 -1
  205. package/dist/esm/Video/PlayerChrome.native.js +1 -1
  206. package/dist/esm/Video/PlayerChrome.native.js.map +1 -1
  207. package/dist/esm/Video/VideoFrame.mjs +3 -2
  208. package/dist/esm/Video/VideoFrame.mjs.map +1 -1
  209. package/dist/esm/Video/VideoFrame.native.js +3 -2
  210. package/dist/esm/Video/VideoFrame.native.js.map +1 -1
  211. package/dist/esm/Video/index.mjs +3 -1
  212. package/dist/esm/Video/index.mjs.map +1 -1
  213. package/dist/esm/actions/DestructiveAction.mjs +2 -1
  214. package/dist/esm/actions/DestructiveAction.mjs.map +1 -1
  215. package/dist/esm/actions/DestructiveAction.native.js +2 -1
  216. package/dist/esm/actions/DestructiveAction.native.js.map +1 -1
  217. package/dist/esm/appShell/ScopeMenu.mjs +2 -1
  218. package/dist/esm/appShell/ScopeMenu.mjs.map +1 -1
  219. package/dist/esm/appShell/ScopeMenu.native.js +2 -1
  220. package/dist/esm/appShell/ScopeMenu.native.js.map +1 -1
  221. package/dist/esm/appShell/SettingsSplit.mjs +5 -4
  222. package/dist/esm/appShell/SettingsSplit.mjs.map +1 -1
  223. package/dist/esm/appShell/SettingsSplit.native.js +5 -4
  224. package/dist/esm/appShell/SettingsSplit.native.js.map +1 -1
  225. package/dist/esm/appShell/Springboard.mjs +3 -2
  226. package/dist/esm/appShell/Springboard.mjs.map +1 -1
  227. package/dist/esm/appShell/Springboard.native.js +3 -2
  228. package/dist/esm/appShell/Springboard.native.js.map +1 -1
  229. package/dist/esm/appShell/SystemBar.mjs +2 -1
  230. package/dist/esm/appShell/SystemBar.mjs.map +1 -1
  231. package/dist/esm/appShell/SystemBar.native.js +2 -1
  232. package/dist/esm/appShell/SystemBar.native.js.map +1 -1
  233. package/dist/esm/feedback/ConfirmDialog.mjs +1 -1
  234. package/dist/esm/feedback/ConfirmDialog.mjs.map +1 -1
  235. package/dist/esm/feedback/ConfirmDialog.native.js +1 -1
  236. package/dist/esm/feedback/ConfirmDialog.native.js.map +1 -1
  237. package/dist/esm/knobImmuneExports.mjs +0 -1
  238. package/dist/esm/knobImmuneExports.mjs.map +1 -1
  239. package/dist/esm/knobImmuneExports.native.js +0 -1
  240. package/dist/esm/knobImmuneExports.native.js.map +1 -1
  241. package/dist/esm/layouts/attachments.mjs +3 -2
  242. package/dist/esm/layouts/attachments.mjs.map +1 -1
  243. package/dist/esm/layouts/attachments.native.js +3 -2
  244. package/dist/esm/layouts/attachments.native.js.map +1 -1
  245. package/dist/esm/layouts/breadcrumbs.mjs +3 -2
  246. package/dist/esm/layouts/breadcrumbs.mjs.map +1 -1
  247. package/dist/esm/layouts/breadcrumbs.native.js +3 -2
  248. package/dist/esm/layouts/breadcrumbs.native.js.map +1 -1
  249. package/dist/esm/layouts/page.mjs +80 -10
  250. package/dist/esm/layouts/page.mjs.map +1 -1
  251. package/dist/esm/layouts/page.native.js +82 -10
  252. package/dist/esm/layouts/page.native.js.map +1 -1
  253. package/dist/esm/layouts/sidebar.mjs +5 -3
  254. package/dist/esm/layouts/sidebar.mjs.map +1 -1
  255. package/dist/esm/layouts/sidebar.native.js +5 -3
  256. package/dist/esm/layouts/sidebar.native.js.map +1 -1
  257. package/dist/esm/layouts/tags.mjs +6 -5
  258. package/dist/esm/layouts/tags.mjs.map +1 -1
  259. package/dist/esm/layouts/tags.native.js +6 -5
  260. package/dist/esm/layouts/tags.native.js.map +1 -1
  261. package/dist/esm/layouts/timeline.mjs +4 -3
  262. package/dist/esm/layouts/timeline.mjs.map +1 -1
  263. package/dist/esm/layouts/timeline.native.js +4 -3
  264. package/dist/esm/layouts/timeline.native.js.map +1 -1
  265. package/dist/esm/layouts/toolbar.mjs +2 -1
  266. package/dist/esm/layouts/toolbar.mjs.map +1 -1
  267. package/dist/esm/layouts/toolbar.native.js +2 -1
  268. package/dist/esm/layouts/toolbar.native.js.map +1 -1
  269. package/dist/esm/linearGradientSetup.mjs +2 -0
  270. package/dist/esm/linearGradientSetup.mjs.map +1 -0
  271. package/dist/esm/linearGradientSetup.native.js +2 -0
  272. package/dist/esm/linearGradientSetup.native.js.map +1 -0
  273. package/dist/esm/tamagui.mjs +2 -1
  274. package/dist/esm/tamagui.mjs.map +1 -1
  275. package/dist/esm/tamagui.native.js +2 -1
  276. package/dist/esm/tamagui.native.js.map +1 -1
  277. package/dist/esm/views/Calendar.mjs +7 -6
  278. package/dist/esm/views/Calendar.mjs.map +1 -1
  279. package/dist/esm/views/Calendar.native.js +7 -6
  280. package/dist/esm/views/Calendar.native.js.map +1 -1
  281. package/dist/esm/views/Gantt.mjs +196 -63
  282. package/dist/esm/views/Gantt.mjs.map +1 -1
  283. package/dist/esm/views/Gantt.native.js +209 -63
  284. package/dist/esm/views/Gantt.native.js.map +1 -1
  285. package/dist/esm/views/GanttDateGrip.mjs +191 -0
  286. package/dist/esm/views/GanttDateGrip.mjs.map +1 -0
  287. package/dist/esm/views/GanttDateGrip.native.js +231 -0
  288. package/dist/esm/views/GanttDateGrip.native.js.map +1 -0
  289. package/dist/esm/views/Kanban.mjs +5 -4
  290. package/dist/esm/views/Kanban.mjs.map +1 -1
  291. package/dist/esm/views/Kanban.native.js +3 -2
  292. package/dist/esm/views/Kanban.native.js.map +1 -1
  293. package/dist/esm/views/List.mjs +13 -5
  294. package/dist/esm/views/List.mjs.map +1 -1
  295. package/dist/esm/views/List.native.js +14 -5
  296. package/dist/esm/views/List.native.js.map +1 -1
  297. package/dist/esm/views/Matrix.mjs +10 -9
  298. package/dist/esm/views/Matrix.mjs.map +1 -1
  299. package/dist/esm/views/Matrix.native.js +10 -9
  300. package/dist/esm/views/Matrix.native.js.map +1 -1
  301. package/dist/esm/views/TreeView.mjs +5 -4
  302. package/dist/esm/views/TreeView.mjs.map +1 -1
  303. package/dist/esm/views/TreeView.native.js +5 -4
  304. package/dist/esm/views/TreeView.native.js.map +1 -1
  305. package/dist/esm/views/ganttIntervals.mjs +57 -0
  306. package/dist/esm/views/ganttIntervals.mjs.map +1 -0
  307. package/dist/esm/views/ganttIntervals.native.js +61 -0
  308. package/dist/esm/views/ganttIntervals.native.js.map +1 -0
  309. package/dist/jsx/Alert/index.mjs +2 -2
  310. package/dist/jsx/Alert/index.mjs.map +1 -1
  311. package/dist/jsx/Alert/index.native.js +1 -1
  312. package/dist/jsx/Alert/index.native.js.map +1 -1
  313. package/dist/jsx/Carousel/index.mjs +1 -1
  314. package/dist/jsx/Carousel/index.mjs.map +1 -1
  315. package/dist/jsx/Carousel/index.native.js +1 -1
  316. package/dist/jsx/Carousel/index.native.js.map +1 -1
  317. package/dist/jsx/Chip/index.mjs +18 -7
  318. package/dist/jsx/Chip/index.mjs.map +1 -1
  319. package/dist/jsx/Chip/index.native.js +20 -8
  320. package/dist/jsx/Chip/index.native.js.map +1 -1
  321. package/dist/jsx/DropdownMenu/index.mjs +5 -1
  322. package/dist/jsx/DropdownMenu/index.mjs.map +1 -1
  323. package/dist/jsx/DropdownMenu/index.native.js +5 -1
  324. package/dist/jsx/DropdownMenu/index.native.js.map +1 -1
  325. package/dist/jsx/ErrorBoundary/index.mjs +1 -1
  326. package/dist/jsx/ErrorBoundary/index.mjs.map +1 -1
  327. package/dist/jsx/ErrorBoundary/index.native.js +2 -2
  328. package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
  329. package/dist/jsx/Heading.mjs +1 -120
  330. package/dist/jsx/Heading.mjs.map +1 -1
  331. package/dist/jsx/Heading.native.js +7 -133
  332. package/dist/jsx/Heading.native.js.map +1 -1
  333. package/dist/jsx/OverflowRow/index.mjs.map +1 -1
  334. package/dist/jsx/OverflowRow/index.native.js +1 -0
  335. package/dist/jsx/OverflowRow/index.native.js.map +1 -1
  336. package/dist/jsx/Pagination.mjs +4 -1
  337. package/dist/jsx/Pagination.mjs.map +1 -1
  338. package/dist/jsx/Pagination.native.js +4 -1
  339. package/dist/jsx/Pagination.native.js.map +1 -1
  340. package/dist/jsx/Popover.mjs +120 -0
  341. package/dist/jsx/Popover.mjs.map +1 -0
  342. package/dist/jsx/Popover.native.js +174 -0
  343. package/dist/jsx/Popover.native.js.map +1 -0
  344. package/dist/jsx/ProgressSteps/index.mjs +2 -2
  345. package/dist/jsx/ProgressSteps/index.mjs.map +1 -1
  346. package/dist/jsx/ProgressSteps/index.native.js +1 -1
  347. package/dist/jsx/ProgressSteps/index.native.js.map +1 -1
  348. package/dist/jsx/Quote/index.mjs +2 -1
  349. package/dist/jsx/Quote/index.mjs.map +1 -1
  350. package/dist/jsx/Quote/index.native.js +1 -0
  351. package/dist/jsx/Quote/index.native.js.map +1 -1
  352. package/dist/jsx/SkipLink/index.mjs +1 -2
  353. package/dist/jsx/SkipLink/index.mjs.map +1 -1
  354. package/dist/jsx/SkipLink/index.native.js +1 -2
  355. package/dist/jsx/SkipLink/index.native.js.map +1 -1
  356. package/dist/jsx/SortableList/index.mjs +5 -4
  357. package/dist/jsx/SortableList/index.mjs.map +1 -1
  358. package/dist/jsx/SortableList/index.native.js +2 -1
  359. package/dist/jsx/SortableList/index.native.js.map +1 -1
  360. package/dist/jsx/SortableList/useSortableRows.mjs +2 -2
  361. package/dist/jsx/SortableList/useSortableRows.mjs.map +1 -1
  362. package/dist/jsx/SortableList/useSortableRows.native.js +2 -2
  363. package/dist/jsx/SortableList/useSortableRows.native.js.map +1 -1
  364. package/dist/jsx/Text.mjs +1 -112
  365. package/dist/jsx/Text.mjs.map +1 -1
  366. package/dist/jsx/Text.native.js +4 -120
  367. package/dist/jsx/Text.native.js.map +1 -1
  368. package/dist/jsx/ThemePlayground/index.mjs +2 -1
  369. package/dist/jsx/ThemePlayground/index.mjs.map +1 -1
  370. package/dist/jsx/ThemePresetPicker/index.mjs +21 -22
  371. package/dist/jsx/ThemePresetPicker/index.mjs.map +1 -1
  372. package/dist/jsx/ThemePresetPicker/index.native.js +21 -22
  373. package/dist/jsx/ThemePresetPicker/index.native.js.map +1 -1
  374. package/dist/jsx/Tooltip/index.mjs +6 -0
  375. package/dist/jsx/Tooltip/index.mjs.map +1 -1
  376. package/dist/jsx/TreeSelect/index.mjs +6 -5
  377. package/dist/jsx/TreeSelect/index.mjs.map +1 -1
  378. package/dist/jsx/TreeSelect/index.native.js +2 -1
  379. package/dist/jsx/TreeSelect/index.native.js.map +1 -1
  380. package/dist/jsx/Video/PlayerChrome.mjs +1 -1
  381. package/dist/jsx/Video/PlayerChrome.mjs.map +1 -1
  382. package/dist/jsx/Video/PlayerChrome.native.js +1 -1
  383. package/dist/jsx/Video/PlayerChrome.native.js.map +1 -1
  384. package/dist/jsx/Video/VideoFrame.mjs +3 -2
  385. package/dist/jsx/Video/VideoFrame.mjs.map +1 -1
  386. package/dist/jsx/Video/VideoFrame.native.js +2 -1
  387. package/dist/jsx/Video/VideoFrame.native.js.map +1 -1
  388. package/dist/jsx/Video/index.mjs +3 -1
  389. package/dist/jsx/Video/index.mjs.map +1 -1
  390. package/dist/jsx/actions/DestructiveAction.mjs +2 -1
  391. package/dist/jsx/actions/DestructiveAction.mjs.map +1 -1
  392. package/dist/jsx/actions/DestructiveAction.native.js +3 -2
  393. package/dist/jsx/actions/DestructiveAction.native.js.map +1 -1
  394. package/dist/jsx/appShell/ScopeMenu.mjs +2 -1
  395. package/dist/jsx/appShell/ScopeMenu.mjs.map +1 -1
  396. package/dist/jsx/appShell/ScopeMenu.native.js +2 -1
  397. package/dist/jsx/appShell/ScopeMenu.native.js.map +1 -1
  398. package/dist/jsx/appShell/SettingsSplit.mjs +5 -4
  399. package/dist/jsx/appShell/SettingsSplit.mjs.map +1 -1
  400. package/dist/jsx/appShell/SettingsSplit.native.js +5 -4
  401. package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
  402. package/dist/jsx/appShell/Springboard.mjs +3 -2
  403. package/dist/jsx/appShell/Springboard.mjs.map +1 -1
  404. package/dist/jsx/appShell/Springboard.native.js +2 -1
  405. package/dist/jsx/appShell/Springboard.native.js.map +1 -1
  406. package/dist/jsx/appShell/SystemBar.mjs +2 -1
  407. package/dist/jsx/appShell/SystemBar.mjs.map +1 -1
  408. package/dist/jsx/appShell/SystemBar.native.js +2 -1
  409. package/dist/jsx/appShell/SystemBar.native.js.map +1 -1
  410. package/dist/jsx/feedback/ConfirmDialog.mjs +1 -1
  411. package/dist/jsx/feedback/ConfirmDialog.mjs.map +1 -1
  412. package/dist/jsx/feedback/ConfirmDialog.native.js +1 -1
  413. package/dist/jsx/feedback/ConfirmDialog.native.js.map +1 -1
  414. package/dist/jsx/knobImmuneExports.mjs +0 -1
  415. package/dist/jsx/knobImmuneExports.mjs.map +1 -1
  416. package/dist/jsx/knobImmuneExports.native.js +0 -1
  417. package/dist/jsx/knobImmuneExports.native.js.map +1 -1
  418. package/dist/jsx/layouts/attachments.mjs +3 -2
  419. package/dist/jsx/layouts/attachments.mjs.map +1 -1
  420. package/dist/jsx/layouts/attachments.native.js +11 -10
  421. package/dist/jsx/layouts/attachments.native.js.map +1 -1
  422. package/dist/jsx/layouts/breadcrumbs.mjs +3 -2
  423. package/dist/jsx/layouts/breadcrumbs.mjs.map +1 -1
  424. package/dist/jsx/layouts/breadcrumbs.native.js +3 -2
  425. package/dist/jsx/layouts/breadcrumbs.native.js.map +1 -1
  426. package/dist/jsx/layouts/page.mjs +80 -10
  427. package/dist/jsx/layouts/page.mjs.map +1 -1
  428. package/dist/jsx/layouts/page.native.js +82 -8
  429. package/dist/jsx/layouts/page.native.js.map +1 -1
  430. package/dist/jsx/layouts/sidebar.mjs +5 -3
  431. package/dist/jsx/layouts/sidebar.mjs.map +1 -1
  432. package/dist/jsx/layouts/sidebar.native.js +3 -1
  433. package/dist/jsx/layouts/sidebar.native.js.map +1 -1
  434. package/dist/jsx/layouts/tags.mjs +6 -5
  435. package/dist/jsx/layouts/tags.mjs.map +1 -1
  436. package/dist/jsx/layouts/tags.native.js +2 -1
  437. package/dist/jsx/layouts/tags.native.js.map +1 -1
  438. package/dist/jsx/layouts/timeline.mjs +4 -3
  439. package/dist/jsx/layouts/timeline.mjs.map +1 -1
  440. package/dist/jsx/layouts/timeline.native.js +14 -13
  441. package/dist/jsx/layouts/timeline.native.js.map +1 -1
  442. package/dist/jsx/layouts/toolbar.mjs +2 -1
  443. package/dist/jsx/layouts/toolbar.mjs.map +1 -1
  444. package/dist/jsx/layouts/toolbar.native.js +2 -1
  445. package/dist/jsx/layouts/toolbar.native.js.map +1 -1
  446. package/dist/jsx/linearGradientSetup.mjs +2 -0
  447. package/dist/jsx/linearGradientSetup.mjs.map +1 -0
  448. package/dist/jsx/linearGradientSetup.native.js +4 -0
  449. package/dist/jsx/linearGradientSetup.native.js.map +1 -0
  450. package/dist/jsx/tamagui.mjs +2 -1
  451. package/dist/jsx/tamagui.mjs.map +1 -1
  452. package/dist/jsx/tamagui.native.js +2 -1
  453. package/dist/jsx/tamagui.native.js.map +1 -1
  454. package/dist/jsx/views/Calendar.mjs +7 -6
  455. package/dist/jsx/views/Calendar.mjs.map +1 -1
  456. package/dist/jsx/views/Calendar.native.js +14 -13
  457. package/dist/jsx/views/Calendar.native.js.map +1 -1
  458. package/dist/jsx/views/Gantt.mjs +196 -63
  459. package/dist/jsx/views/Gantt.mjs.map +1 -1
  460. package/dist/jsx/views/Gantt.native.js +201 -55
  461. package/dist/jsx/views/Gantt.native.js.map +1 -1
  462. package/dist/jsx/views/GanttDateGrip.mjs +191 -0
  463. package/dist/jsx/views/GanttDateGrip.mjs.map +1 -0
  464. package/dist/jsx/views/GanttDateGrip.native.js +259 -0
  465. package/dist/jsx/views/GanttDateGrip.native.js.map +1 -0
  466. package/dist/jsx/views/Kanban.mjs +5 -4
  467. package/dist/jsx/views/Kanban.mjs.map +1 -1
  468. package/dist/jsx/views/Kanban.native.js +3 -2
  469. package/dist/jsx/views/Kanban.native.js.map +1 -1
  470. package/dist/jsx/views/List.mjs +13 -5
  471. package/dist/jsx/views/List.mjs.map +1 -1
  472. package/dist/jsx/views/List.native.js +14 -3
  473. package/dist/jsx/views/List.native.js.map +1 -1
  474. package/dist/jsx/views/Matrix.mjs +10 -9
  475. package/dist/jsx/views/Matrix.mjs.map +1 -1
  476. package/dist/jsx/views/Matrix.native.js +2 -1
  477. package/dist/jsx/views/Matrix.native.js.map +1 -1
  478. package/dist/jsx/views/TreeView.mjs +5 -4
  479. package/dist/jsx/views/TreeView.mjs.map +1 -1
  480. package/dist/jsx/views/TreeView.native.js +3 -2
  481. package/dist/jsx/views/TreeView.native.js.map +1 -1
  482. package/dist/jsx/views/ganttIntervals.mjs +57 -0
  483. package/dist/jsx/views/ganttIntervals.mjs.map +1 -0
  484. package/dist/jsx/views/ganttIntervals.native.js +92 -0
  485. package/dist/jsx/views/ganttIntervals.native.js.map +1 -0
  486. package/package.json +12 -10
  487. package/src/Accordion/Accordion.stories.tsx +2 -1
  488. package/src/Alert/Alert.stories.tsx +2 -1
  489. package/src/Alert/index.tsx +2 -1
  490. package/src/AnimateHeight/AnimateHeight.stories.tsx +2 -1
  491. package/src/Avatar/Avatar.stories.tsx +2 -1
  492. package/src/Badge/Badge.stories.tsx +2 -1
  493. package/src/Card.stories.tsx +2 -1
  494. package/src/CardFooter.stories.tsx +2 -1
  495. package/src/CardHeader.stories.tsx +2 -1
  496. package/src/Carousel/Carousel.stories.tsx +2 -1
  497. package/src/Carousel/index.tsx +1 -1
  498. package/src/Chip/Chip.borderLadder.spec.tsx +3 -3
  499. package/src/Chip/Chip.ink.spec.tsx +70 -2
  500. package/src/Chip/Chip.spec.tsx +7 -4
  501. package/src/Chip/Chip.stories.tsx +2 -1
  502. package/src/Chip/index.tsx +29 -7
  503. package/src/ContextMenu/ContextMenu.stories.tsx +2 -1
  504. package/src/DialogContent.stories.tsx +2 -1
  505. package/src/DotIndicator/DotIndicator.stories.tsx +2 -1
  506. package/src/DropdownMenu/DropdownMenu.stories.tsx +21 -1
  507. package/src/DropdownMenu/index.tsx +6 -0
  508. package/src/ErrorBoundary/ErrorBoundary.stories.tsx +2 -1
  509. package/src/ErrorBoundary/index.tsx +1 -1
  510. package/src/Heading.native.spec.tsx +13 -5
  511. package/src/Heading.spec.tsx +55 -11
  512. package/src/Heading.tsx +3 -66
  513. package/src/Meter/Meter.spec.tsx +4 -4
  514. package/src/OverflowRow/index.tsx +1 -0
  515. package/src/Pagination.stories.tsx +2 -1
  516. package/src/Pagination.tsx +9 -1
  517. package/src/Panel.stories.tsx +2 -1
  518. package/src/Popover.coverTrigger.spec.tsx +99 -0
  519. package/src/Popover.tsx +180 -0
  520. package/src/PopoverContent.stories.tsx +23 -1
  521. package/src/ProgressSteps/index.tsx +5 -1
  522. package/src/Quote/index.tsx +9 -2
  523. package/src/Separator/Separator.stories.tsx +2 -1
  524. package/src/SheetFrame.stories.tsx +2 -1
  525. package/src/SheetModal/SheetModal.stories.tsx +2 -1
  526. package/src/Skeleton/Skeleton.stories.tsx +2 -1
  527. package/src/SkipLink/SkipLink.stories.tsx +2 -1
  528. package/src/SkipLink/index.tsx +1 -2
  529. package/src/SortableList/index.tsx +14 -6
  530. package/src/SortableList/useSortableRows.ts +3 -2
  531. package/src/Tabs/Tabs.stories.tsx +2 -1
  532. package/src/Text.spec.tsx +22 -0
  533. package/src/Text.tsx +9 -133
  534. package/src/ThemePlayground/ExpoThemeColors.stories.tsx +60 -0
  535. package/src/ThemePlayground/index.tsx +2 -1
  536. package/src/ThemePresetPicker/ThemePresetPicker.spec.tsx +20 -0
  537. package/src/ThemePresetPicker/ThemePresetPicker.stories.spec.tsx +34 -12
  538. package/src/ThemePresetPicker/ThemePresetPicker.stories.tsx +11 -3
  539. package/src/ThemePresetPicker/index.tsx +35 -29
  540. package/src/Toast/Toast.stories.tsx +2 -1
  541. package/src/Tooltip/Tooltip.spec.tsx +14 -1
  542. package/src/Tooltip/index.tsx +7 -0
  543. package/src/TreeSelect/index.tsx +10 -9
  544. package/src/Video/PlayerChrome.tsx +1 -1
  545. package/src/Video/VideoFrame.tsx +4 -3
  546. package/src/Video/index.tsx +3 -1
  547. package/src/Wheel/Wheel.stories.tsx +2 -1
  548. package/src/actions/ActionBar.stories.tsx +2 -1
  549. package/src/actions/DestructiveAction.stories.tsx +2 -1
  550. package/src/actions/DestructiveAction.tsx +2 -1
  551. package/src/appShell/ScopeMenu.tsx +2 -1
  552. package/src/appShell/SettingsSplit.stories.tsx +2 -1
  553. package/src/appShell/SettingsSplit.tsx +6 -5
  554. package/src/appShell/Springboard.tsx +3 -2
  555. package/src/appShell/SystemBar.tsx +2 -1
  556. package/src/charts/Axis.stories.tsx +2 -1
  557. package/src/charts/ChartSurface.stories.tsx +2 -1
  558. package/src/charts/Charts.stories.tsx +2 -1
  559. package/src/code/CodeInline.stories.tsx +3 -1
  560. package/src/feedback/ConfirmDialog.stories.tsx +2 -1
  561. package/src/feedback/ConfirmDialog.tsx +1 -1
  562. package/src/feedback/Notify.stories.tsx +2 -1
  563. package/src/icons/CheckRegular.stories.tsx +2 -1
  564. package/src/icons/MinusRegular.stories.tsx +2 -1
  565. package/src/knobImmuneExports.ts +0 -1
  566. package/src/layouts/AsyncBoundary.stories.tsx +2 -1
  567. package/src/layouts/Attachments.stories.tsx +2 -1
  568. package/src/layouts/Debug/DebugLayout.stories.tsx +2 -1
  569. package/src/layouts/KeyboardAvoidingWrapper/KeyboardAvoidingWrapper.stories.tsx +2 -2
  570. package/src/layouts/PageHeader.stories.tsx +2 -1
  571. package/src/layouts/PageSection.stories.tsx +2 -1
  572. package/src/layouts/PageTemplates.stories.tsx +64 -2
  573. package/src/layouts/PaneScaffold.stories.tsx +2 -2
  574. package/src/layouts/SafeAreaWrapper/SafeAreaWrapper.stories.tsx +2 -2
  575. package/src/layouts/Screen.stories.tsx +2 -1
  576. package/src/layouts/Sidebar.stories.tsx +2 -1
  577. package/src/layouts/Tags.stories.tsx +2 -1
  578. package/src/layouts/Timeline.stories.tsx +2 -1
  579. package/src/layouts/Toolbar.stories.tsx +2 -1
  580. package/src/layouts/ViewSwitcher.stories.tsx +2 -1
  581. package/src/layouts/attachments.tsx +4 -3
  582. package/src/layouts/breadcrumbs.tsx +4 -3
  583. package/src/layouts/page.tsx +98 -9
  584. package/src/layouts/pageChrome.phone.spec.tsx +58 -0
  585. package/src/layouts/sidebar.tsx +7 -5
  586. package/src/layouts/tags-trigger.spec.tsx +3 -3
  587. package/src/layouts/tags.tsx +14 -9
  588. package/src/layouts/timeline.tsx +6 -5
  589. package/src/layouts/toolbar.tsx +2 -1
  590. package/src/linearGradientSetup.native.spec.ts +19 -0
  591. package/src/linearGradientSetup.native.ts +3 -0
  592. package/src/linearGradientSetup.ts +1 -0
  593. package/src/tamagui.spec.ts +2 -3
  594. package/src/tamagui.ts +2 -2
  595. package/src/views/Calendar.tsx +12 -11
  596. package/src/views/Gantt.intervals.spec.tsx +69 -0
  597. package/src/views/Gantt.scroll.spec.tsx +42 -0
  598. package/src/views/Gantt.spec.tsx +4 -5
  599. package/src/views/Gantt.stories.tsx +19 -0
  600. package/src/views/Gantt.tsx +230 -106
  601. package/src/views/GanttDateGrip.native.spec.tsx +118 -0
  602. package/src/views/GanttDateGrip.tsx +266 -0
  603. package/src/views/ImageGrid.stories.tsx +2 -1
  604. package/src/views/Kanban.native.spec.tsx +98 -0
  605. package/src/views/Kanban.native.tsx +3 -2
  606. package/src/views/Kanban.stories.tsx +2 -1
  607. package/src/views/Kanban.tsx +15 -6
  608. package/src/views/List.spec.tsx +18 -0
  609. package/src/views/List.tsx +17 -2
  610. package/src/views/Matrix.tsx +22 -17
  611. package/src/views/TreeView.reveal.stories.tsx +2 -1
  612. package/src/views/TreeView.tsx +15 -6
  613. package/src/views/dataIdentity.spec.tsx +5 -1
  614. package/src/views/ganttIntervals.spec.ts +84 -0
  615. package/src/views/ganttIntervals.ts +91 -0
  616. package/src/views/index.ts +2 -0
  617. package/types/Alert/index.d.ts.map +1 -1
  618. package/types/Chip/index.d.ts +5 -3
  619. package/types/Chip/index.d.ts.map +1 -1
  620. package/types/Collapsible.d.ts +1 -1
  621. package/types/DropdownMenu/index.d.ts +3 -1
  622. package/types/DropdownMenu/index.d.ts.map +1 -1
  623. package/types/Heading.d.ts +2 -9
  624. package/types/Heading.d.ts.map +1 -1
  625. package/types/OverflowRow/index.d.ts +1 -0
  626. package/types/OverflowRow/index.d.ts.map +1 -1
  627. package/types/Pagination.d.ts +6 -1
  628. package/types/Pagination.d.ts.map +1 -1
  629. package/types/Popover.d.ts +114 -0
  630. package/types/Popover.d.ts.map +1 -0
  631. package/types/ProgressSteps/index.d.ts.map +1 -1
  632. package/types/Quote/index.d.ts.map +1 -1
  633. package/types/SkipLink/index.d.ts.map +1 -1
  634. package/types/SortableList/index.d.ts.map +1 -1
  635. package/types/SortableList/useSortableRows.d.ts.map +1 -1
  636. package/types/Tabs/index.d.ts +1 -1
  637. package/types/Text.d.ts +2 -12
  638. package/types/Text.d.ts.map +1 -1
  639. package/types/ThemePlayground/index.d.ts.map +1 -1
  640. package/types/ThemePresetPicker/index.d.ts +3 -1
  641. package/types/ThemePresetPicker/index.d.ts.map +1 -1
  642. package/types/Tooltip/index.d.ts.map +1 -1
  643. package/types/TreeSelect/index.d.ts.map +1 -1
  644. package/types/Video/VideoFrame.d.ts.map +1 -1
  645. package/types/Video/index.d.ts.map +1 -1
  646. package/types/actions/DestructiveAction.d.ts.map +1 -1
  647. package/types/appShell/ScopeMenu.d.ts.map +1 -1
  648. package/types/appShell/SettingsSplit.d.ts.map +1 -1
  649. package/types/appShell/Springboard.d.ts.map +1 -1
  650. package/types/appShell/SystemBar.d.ts.map +1 -1
  651. package/types/knobImmuneExports.d.ts.map +1 -1
  652. package/types/layouts/attachments.d.ts.map +1 -1
  653. package/types/layouts/breadcrumbs.d.ts.map +1 -1
  654. package/types/layouts/page.d.ts +21 -3
  655. package/types/layouts/page.d.ts.map +1 -1
  656. package/types/layouts/sidebar.d.ts.map +1 -1
  657. package/types/layouts/tags.d.ts.map +1 -1
  658. package/types/layouts/timeline.d.ts.map +1 -1
  659. package/types/layouts/toolbar.d.ts.map +1 -1
  660. package/types/linearGradientSetup.d.ts +2 -0
  661. package/types/linearGradientSetup.d.ts.map +1 -0
  662. package/types/linearGradientSetup.native.d.ts +2 -0
  663. package/types/linearGradientSetup.native.d.ts.map +1 -0
  664. package/types/tamagui.d.ts +3 -2
  665. package/types/tamagui.d.ts.map +1 -1
  666. package/types/views/Calendar.d.ts.map +1 -1
  667. package/types/views/Gantt.d.ts +9 -21
  668. package/types/views/Gantt.d.ts.map +1 -1
  669. package/types/views/GanttDateGrip.d.ts +22 -0
  670. package/types/views/GanttDateGrip.d.ts.map +1 -0
  671. package/types/views/Kanban.d.ts.map +1 -1
  672. package/types/views/List.d.ts +17 -0
  673. package/types/views/List.d.ts.map +1 -1
  674. package/types/views/Matrix.d.ts.map +1 -1
  675. package/types/views/TreeView.d.ts.map +1 -1
  676. package/types/views/ganttIntervals.d.ts +11 -0
  677. package/types/views/ganttIntervals.d.ts.map +1 -0
  678. package/types/views/index.d.ts +1 -0
  679. package/types/views/index.d.ts.map +1 -1
@@ -119,6 +119,11 @@ export interface PaginationProps extends Omit<XStackProps, "children" | "onChang
119
119
  * governs a strip mark's size.
120
120
  */
121
121
  variant?: "dots" | "bars" | "numbered" | "simple";
122
+ /**
123
+ * The last page is not known (a list without a count): `total` is only how
124
+ * far the pager may step, so the simple variant reads "Page 3", never "3 of 4".
125
+ */
126
+ openEnded?: boolean;
122
127
  /** Total number of items across all pages (numbered summary slot) */
123
128
  totalItems?: number;
124
129
  /** Items per page (numbered summary slot) */
@@ -152,6 +157,7 @@ export function Pagination({
152
157
  siblingCount = 1,
153
158
  boundaryCount = 1,
154
159
  showFirstLast = false,
160
+ openEnded = false,
155
161
  ...stackProps
156
162
  }: PaginationProps) {
157
163
  const { t } = useTranslation();
@@ -324,7 +330,9 @@ export function Pagination({
324
330
  flexShrink={1}
325
331
  minWidth={0}
326
332
  >
327
- {bidiIsolate(withInterp(t("{{page}} of {{total}}"), { page: currentPage, total }))}
333
+ {openEnded
334
+ ? withInterp(t("Page {{number}}"), { number: currentPage })
335
+ : bidiIsolate(withInterp(t("{{page}} of {{total}}"), { page: currentPage, total }))}
328
336
  </Text>
329
337
  ) : isNumbered ? (
330
338
  <XStack alignItems="center" {...knobProps.gap}>
@@ -1,8 +1,9 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
2
  // Catalog Button + Input (G-15 story honesty / LC-56, UX-P06).
3
3
  import { Button, Input } from "@multiplatform.one/forms";
4
- import { Paragraph, SizableText, XStack, YStack } from "tamagui";
4
+ import { XStack, YStack } from "tamagui";
5
5
  import { Panel } from "./surfaces";
6
+ import { Paragraph, SizableText } from "./Text";
6
7
 
7
8
  const meta: Meta<typeof Panel> = {
8
9
  title: "Components/Panel",
@@ -0,0 +1,99 @@
1
+ import { afterEach, describe, expect, it, vi } from "vitest";
2
+ import { fireEvent, waitFor, within } from "@testing-library/react";
3
+ import { renderWithProviders } from "@multiplatform.one/test-utils";
4
+ import { Button } from "@multiplatform.one/forms";
5
+ import { Popover } from "./index";
6
+ import { PopoverContent } from "./surfaces";
7
+ import { Popover as TamaguiPopover } from "tamagui";
8
+
9
+ afterEach(() => vi.restoreAllMocks());
10
+
11
+ describe("Popover cover-trigger adapter", () => {
12
+ it("preserves all published composition helpers", () => {
13
+ for (const key of [
14
+ "Trigger",
15
+ "Content",
16
+ "Anchor",
17
+ "Arrow",
18
+ "ScrollView",
19
+ "Adapt",
20
+ "FocusScope",
21
+ ] as const) {
22
+ expect(Popover[key]).toBe(TamaguiPopover[key]);
23
+ }
24
+ });
25
+
26
+ it("opens by pointer and lets Popover.Close dismiss a collision sheet", async () => {
27
+ const original = HTMLElement.prototype.getBoundingClientRect;
28
+ vi.spyOn(HTMLElement.prototype, "getBoundingClientRect").mockImplementation(
29
+ function (this: HTMLElement) {
30
+ if (this.hasAttribute("data-fp-reference"))
31
+ return {
32
+ x: 40,
33
+ y: window.innerHeight - 40,
34
+ left: 40,
35
+ top: window.innerHeight - 40,
36
+ right: 160,
37
+ bottom: window.innerHeight,
38
+ width: 120,
39
+ height: 40,
40
+ toJSON: () => ({}),
41
+ };
42
+ return original.call(this);
43
+ },
44
+ );
45
+ const result = renderWithProviders(
46
+ <Popover anchorMode="cover-trigger">
47
+ <Popover.Trigger asChild>
48
+ <Button>Filters</Button>
49
+ </Popover.Trigger>
50
+ <PopoverContent>
51
+ <Popover.Close asChild>
52
+ <Button>Apply</Button>
53
+ </Popover.Close>
54
+ </PopoverContent>
55
+ </Popover>,
56
+ );
57
+ const trigger = result.getByRole("button", { name: "Filters" });
58
+ fireEvent.mouseDown(trigger, { detail: 1 });
59
+ fireEvent.mouseUp(trigger, { detail: 1 });
60
+ fireEvent.click(trigger, { detail: 1 });
61
+ const sheet = await result.findByTestId("floating-panel-sheet");
62
+ expect(result.queryByTestId("floating-panel-viewport")).toBeNull();
63
+ fireEvent.click(within(sheet).getByRole("button", { name: "Apply" }));
64
+ await waitFor(() => expect(document.activeElement).toBe(trigger));
65
+ });
66
+ it("keeps ordinary Popover composition on its existing overlay", async () => {
67
+ const result = renderWithProviders(
68
+ <Popover defaultOpen>
69
+ <Popover.Trigger asChild>
70
+ <Button>Details</Button>
71
+ </Popover.Trigger>
72
+ <PopoverContent>
73
+ <Button>Existing content</Button>
74
+ </PopoverContent>
75
+ </Popover>,
76
+ );
77
+ expect(await result.findByRole("button", { name: "Existing content" })).toBeTruthy();
78
+ expect(result.queryByTestId("floating-panel-viewport")).toBeNull();
79
+ });
80
+ it("uses the shared floating panel and preserves compositional close", async () => {
81
+ const result = renderWithProviders(
82
+ <Popover anchorMode="cover-trigger" triggerRow={<Button>Filters</Button>}>
83
+ <Popover.Trigger asChild>
84
+ <Button>Filters</Button>
85
+ </Popover.Trigger>
86
+ <PopoverContent>
87
+ <Popover.Close asChild>
88
+ <Button>Apply filters</Button>
89
+ </Popover.Close>
90
+ </PopoverContent>
91
+ </Popover>,
92
+ );
93
+ fireEvent.click(result.getByRole("button", { name: "Filters" }), { detail: 0 });
94
+ const panel = await result.findByTestId("floating-panel-viewport");
95
+ expect(within(panel).getByRole("button", { name: "Filters" })).toBeTruthy();
96
+ fireEvent.click(result.getByRole("button", { name: "Apply filters" }));
97
+ await waitFor(() => expect(result.queryByTestId("floating-panel-viewport")).toBeNull());
98
+ });
99
+ });
@@ -0,0 +1,180 @@
1
+ import {
2
+ Children,
3
+ Fragment,
4
+ cloneElement,
5
+ createContext,
6
+ forwardRef,
7
+ isValidElement,
8
+ useImperativeHandle,
9
+ useEffect,
10
+ useContext,
11
+ useState,
12
+ type ComponentProps,
13
+ type ComponentRef,
14
+ type ReactElement,
15
+ type ReactNode,
16
+ } from "react";
17
+ import { FloatingPanel } from "@multiplatform.one/forms";
18
+ import {
19
+ Popover as TamaguiPopover,
20
+ View,
21
+ useControllableState,
22
+ withStaticProperties,
23
+ } from "tamagui";
24
+ import type { PopoverProps as TamaguiPopoverProps } from "tamagui";
25
+ import { PopoverContent } from "./surfaces";
26
+
27
+ export type PopoverProps = TamaguiPopoverProps & {
28
+ anchorMode?: "cover-trigger" | "attach";
29
+ triggerRow?: ReactNode;
30
+ };
31
+
32
+ export type Popover = {
33
+ anchorTo: (rect: { x: number; y: number; width: number; height: number }) => void;
34
+ toggle: () => void;
35
+ open: () => void;
36
+ close: () => void;
37
+ setOpen: (open: boolean) => void;
38
+ };
39
+
40
+ const CoverPopoverContext = createContext<(() => void) | null>(null);
41
+
42
+ const PopoverClose = forwardRef<
43
+ ComponentRef<typeof TamaguiPopover.Close>,
44
+ ComponentProps<typeof TamaguiPopover.Close>
45
+ >(function PopoverClose(props, ref) {
46
+ const close = useContext(CoverPopoverContext);
47
+ if (!close) return <TamaguiPopover.Close {...props} ref={ref} />;
48
+ return (
49
+ <View
50
+ {...props}
51
+ ref={ref}
52
+ onPress={(event) => {
53
+ props.onPress?.(event);
54
+ if (!event.defaultPrevented) close();
55
+ }}
56
+ />
57
+ );
58
+ });
59
+
60
+ function parts(children: ReactNode): ReactElement<Record<string, any>>[] {
61
+ return Children.toArray(children).flatMap((child) => {
62
+ if (!isValidElement<Record<string, any>>(child)) return [];
63
+ return child.type === Fragment ? parts(child.props.children) : [child];
64
+ });
65
+ }
66
+
67
+ const CoverPopover = forwardRef<Popover, PopoverProps>(function CoverPopover(
68
+ {
69
+ children,
70
+ open: openProp,
71
+ defaultOpen = false,
72
+ onOpenChange,
73
+ triggerRow,
74
+ anchorMode: _anchorMode,
75
+ ..._props
76
+ },
77
+ ref,
78
+ ) {
79
+ const [open, setOpen] = useControllableState({
80
+ prop: openProp,
81
+ defaultProp: defaultOpen,
82
+ onChange: onOpenChange,
83
+ });
84
+ const [anchorRect, setAnchorRect] = useState<Parameters<Popover["anchorTo"]>[0]>();
85
+ useImperativeHandle(
86
+ ref,
87
+ () => ({
88
+ anchorTo: setAnchorRect,
89
+ toggle: () => setOpen(!open),
90
+ open: () => setOpen(true),
91
+ close: () => setOpen(false),
92
+ setOpen,
93
+ }),
94
+ [open, setOpen],
95
+ );
96
+ const childrenParts = parts(children);
97
+ const triggerPart = childrenParts.find((child) => child.type === TamaguiPopover.Trigger);
98
+ const content = childrenParts.filter(
99
+ (child) => child.type === TamaguiPopover.Content || child.type === PopoverContent,
100
+ );
101
+ const unsupported = [
102
+ "onOpenAutoFocus",
103
+ "onCloseAutoFocus",
104
+ "onEscapeKeyDown",
105
+ "onPointerDownOutside",
106
+ "onFocusOutside",
107
+ "onInteractOutside",
108
+ "trapFocus",
109
+ "disableOutsidePointerEvents",
110
+ "disableFocusScope",
111
+ "forceMount",
112
+ ];
113
+ const unsupportedContent = content.some((child) =>
114
+ unsupported.some((key) => child.props[key] != null),
115
+ );
116
+ useEffect(() => {
117
+ if (process.env.NODE_ENV !== "production" && (!content.length || unsupportedContent)) {
118
+ console.warn(
119
+ "Popover cover-trigger requires a direct Popover.Content or PopoverContent child and uses FloatingPanel focus and dismissal. Content-specific focus and dismissal overrides are not supported in this mode.",
120
+ );
121
+ }
122
+ }, [content.length, unsupportedContent]);
123
+ const trigger = triggerPart?.props.children ?? triggerRow;
124
+ const decorated = isValidElement(trigger)
125
+ ? cloneElement(trigger as ReactElement<Record<string, unknown>>, {
126
+ "aria-haspopup": "dialog",
127
+ "aria-expanded": open,
128
+ })
129
+ : trigger;
130
+ return (
131
+ <CoverPopoverContext.Provider value={() => setOpen(false)}>
132
+ <FloatingPanel
133
+ open={open}
134
+ onOpenChange={setOpen}
135
+ anchorMode="cover-trigger"
136
+ trigger={decorated}
137
+ triggerRow={triggerRow}
138
+ anchorRect={anchorRect}
139
+ triggerSizing="content"
140
+ contentPadding="none"
141
+ >
142
+ {content.map((child, index) => {
143
+ const { children: body, ...contentProps } = child.props;
144
+ const viewProps = Object.fromEntries(
145
+ Object.entries(contentProps).filter(([key]) => !unsupported.includes(key)),
146
+ );
147
+ return (
148
+ <View key={child.key ?? index} {...(viewProps as ComponentProps<typeof View>)}>
149
+ {body}
150
+ </View>
151
+ );
152
+ })}
153
+ </FloatingPanel>
154
+ </CoverPopoverContext.Provider>
155
+ );
156
+ });
157
+
158
+ const PopoverRoot = forwardRef<Popover, PopoverProps>(function PopoverRoot(
159
+ { anchorMode, triggerRow, ...props },
160
+ ref,
161
+ ) {
162
+ if (anchorMode === "cover-trigger")
163
+ return <CoverPopover ref={ref} {...props} anchorMode={anchorMode} triggerRow={triggerRow} />;
164
+ return (
165
+ <CoverPopoverContext.Provider value={null}>
166
+ <TamaguiPopover ref={ref} {...props} />
167
+ </CoverPopoverContext.Provider>
168
+ );
169
+ });
170
+
171
+ export const Popover = withStaticProperties(PopoverRoot, {
172
+ Trigger: TamaguiPopover.Trigger,
173
+ Content: TamaguiPopover.Content,
174
+ Close: PopoverClose,
175
+ Anchor: TamaguiPopover.Anchor,
176
+ Adapt: TamaguiPopover.Adapt,
177
+ FocusScope: TamaguiPopover.FocusScope,
178
+ Arrow: TamaguiPopover.Arrow,
179
+ ScrollView: TamaguiPopover.ScrollView,
180
+ });
@@ -3,8 +3,10 @@ import { useState } from "react";
3
3
  // Catalog Button (G-15 story honesty / LC-18, UX-P06).
4
4
  import { Button } from "@multiplatform.one/forms";
5
5
  import { OVERLAY_ANCHOR_GAP, useResolvedKnobs } from "@multiplatform.one/theme";
6
- import { Paragraph, Popover, SizableText, YStack } from "tamagui";
6
+ import { YStack } from "tamagui";
7
+ import { Popover } from "./Popover";
7
8
  import { PopoverContent } from "./surfaces";
9
+ import { Paragraph, SizableText } from "./Text";
8
10
 
9
11
  function PopoverHarness({
10
12
  placement = "bottom" as const,
@@ -67,3 +69,23 @@ export const PlacementTop: Story = {
67
69
  export const Closed: Story = {
68
70
  render: () => <PopoverHarness startOpen={false} />,
69
71
  };
72
+
73
+ export const CoverTrigger: Story = {
74
+ render: () => (
75
+ <YStack padding="$4" alignItems="flex-start">
76
+ <Popover anchorMode="cover-trigger" triggerRow={<Button>Panel filters</Button>}>
77
+ <Popover.Trigger asChild>
78
+ <Button>Panel filters</Button>
79
+ </Popover.Trigger>
80
+ <PopoverContent>
81
+ <YStack padding="$4" gap="$3">
82
+ <SizableText>Filter entries</SizableText>
83
+ <Popover.Close asChild>
84
+ <Button>Apply filters</Button>
85
+ </Popover.Close>
86
+ </YStack>
87
+ </PopoverContent>
88
+ </Popover>
89
+ </YStack>
90
+ ),
91
+ };
@@ -1,4 +1,5 @@
1
1
  import {
2
+ edgeColorAt,
2
3
  transitionProps,
3
4
  MIN_PRESS_TARGET,
4
5
  ensureKeyboardModalityTracking,
@@ -202,7 +203,10 @@ export function ProgressSteps({
202
203
  : kind === "current"
203
204
  ? currentFill
204
205
  : "transparent";
205
- const markerBorder = kind === "upcoming" ? componentColors.indicator.track : markerBg;
206
+ const markerBorder =
207
+ kind === "upcoming"
208
+ ? edgeColorAt(componentColors.indicator.track, knobProps.borderWidthStop)
209
+ : markerBg;
206
210
  const markerFg =
207
211
  kind === "upcoming"
208
212
  ? knobProps.textAccentColor
@@ -1,4 +1,4 @@
1
- import { useResolvedKnobs } from "@multiplatform.one/theme";
1
+ import { edgeColorAt, useResolvedKnobs } from "@multiplatform.one/theme";
2
2
  import type { ReactNode } from "react";
3
3
  import type { GetProps } from "tamagui";
4
4
  import { SizableText, View, XStack, YStack, styled } from "tamagui";
@@ -74,7 +74,14 @@ export function Quote({ children, cite, ...props }: QuoteProps) {
74
74
  marginVertical={knobProps.gap.gap}
75
75
  {...props}
76
76
  >
77
- {railWidth > 0 ? <QuoteRail width={railWidth} minWidth={railWidth} aria-hidden /> : null}
77
+ {railWidth > 0 ? (
78
+ <QuoteRail
79
+ width={railWidth}
80
+ minWidth={railWidth}
81
+ backgroundColor={edgeColorAt(componentColors.indicator.track, knobProps.borderWidthStop)}
82
+ aria-hidden
83
+ />
84
+ ) : null}
78
85
  <QuoteBody {...knobProps.panelPadding} {...knobProps.gap}>
79
86
  <QuoteBlock render="blockquote">
80
87
  {/* LC-82 TEXT-RIDES-TEXT: wrap ALL bare string/number children
@@ -1,7 +1,8 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
- import { SizableText, Text, XStack, YStack } from "tamagui";
2
+ import { SizableText, XStack, YStack } from "tamagui";
3
3
  import { sectionHeading } from "../componentColors";
4
4
  import { Separator } from "./index";
5
+ import { Text } from "../Text";
5
6
 
6
7
  const meta: Meta<typeof Separator> = {
7
8
  title: "Components/Separator",
@@ -2,9 +2,10 @@ import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
2
  import { useEffect, useState } from "react";
3
3
  // Catalog Button (G-15 story honesty / LC-18, UX-P06).
4
4
  import { Button } from "@multiplatform.one/forms";
5
- import { isWeb, Paragraph, SizableText, YStack } from "tamagui";
5
+ import { isWeb, YStack } from "tamagui";
6
6
  import { SheetModal } from "./SheetModal";
7
7
  import { SheetFrame } from "./surfaces";
8
+ import { Paragraph, SizableText } from "./Text";
8
9
 
9
10
  function SheetHarness({ long = false, startOpen = true }: { long?: boolean; startOpen?: boolean }) {
10
11
  const [open, setOpen] = useState(startOpen);
@@ -10,9 +10,10 @@ import { Button, Input } from "@multiplatform.one/forms";
10
10
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
11
11
  import { useRef, useState } from "react";
12
12
  import { Platform, useWindowDimensions, type LayoutChangeEvent } from "react-native";
13
- import { Paragraph, SizableText, YStack } from "tamagui";
13
+ import { YStack } from "tamagui";
14
14
  import { ActionBar } from "../actions/ActionBar";
15
15
  import { SheetModal } from "./index";
16
+ import { Paragraph, SizableText } from "../Text";
16
17
 
17
18
  function Harness({
18
19
  scrollable = false,
@@ -1,7 +1,8 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
- import { XStack, YStack, Text, View } from "tamagui";
2
+ import { XStack, YStack, View } from "tamagui";
3
3
  import { Card } from "../surfaces";
4
4
  import { Skeleton, type SkeletonVariant } from "./index";
5
+ import { Text } from "../Text";
5
6
 
6
7
  const meta: Meta<typeof Skeleton> = {
7
8
  title: "Components/Skeleton",
@@ -1,7 +1,8 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
2
  import { Button, Input } from "@multiplatform.one/forms";
3
- import { SizableText, XStack, YStack, View } from "tamagui";
3
+ import { XStack, YStack, View } from "tamagui";
4
4
  import { SkipLink } from "./index";
5
+ import { SizableText } from "../Text";
5
6
 
6
7
  const meta: Meta<typeof SkipLink> = {
7
8
  title: "Components/SkipLink",
@@ -157,7 +157,7 @@ export function SkipLink({
157
157
  event.preventDefault();
158
158
  }
159
159
  if (target) focusSkipTarget(target);
160
- onSkip?.(target instanceof HTMLElement ? target : null);
160
+ onSkip?.(typeof HTMLElement !== "undefined" && target instanceof HTMLElement ? target : null);
161
161
  };
162
162
 
163
163
  return (
@@ -176,7 +176,6 @@ export function SkipLink({
176
176
  >
177
177
  <SkipLinkSurface
178
178
  {...knobProps.elevatedSurface}
179
- borderWidth={Math.max(knobProps.elevatedSurface.borderWidth, 1)}
180
179
  elevation={knobProps.elevatedSurface.elevation ?? "$2"}
181
180
  >
182
181
  <SizableText
@@ -6,11 +6,19 @@ import {
6
6
  wasKeyboardFocus,
7
7
  } from "@multiplatform.one/theme";
8
8
  import { useCallback, useId, useRef, useState, type ReactNode } from "react";
9
- import { type SizeTokens, Text, View, XStack, YStack, type YStackProps } from "tamagui";
9
+ import {
10
+ type SizeTokens,
11
+ Text as TamaguiText,
12
+ View,
13
+ XStack,
14
+ YStack,
15
+ type YStackProps,
16
+ } from "tamagui";
10
17
  import { useTranslation } from "../shared/i18n";
11
18
  import { LIFT_SCALE } from "../views/kanbanDnd";
12
19
  import { SortableHandle, SortableHandleWell } from "./SortableHandle";
13
20
  import { useSortableRows } from "./useSortableRows";
21
+ import { Text } from "../Text";
14
22
 
15
23
  export { SortableHandle, SortableHandleWell } from "./SortableHandle";
16
24
  export { SortableSessionProvider, useSortableRows } from "./useSortableRows";
@@ -100,9 +108,9 @@ export function SortableList<T>({
100
108
  >
101
109
  {items.length === 0 ? (
102
110
  <YStack minHeight={88} alignItems="center" justifyContent="center" opacity={0.5}>
103
- <Text {...knobProps.body} color="$color11">
111
+ <TamaguiText {...knobProps.body} color="$color11">
104
112
  {emptyMessage}
105
- </Text>
113
+ </TamaguiText>
106
114
  </YStack>
107
115
  ) : (
108
116
  items.map((item, index) => {
@@ -158,9 +166,9 @@ export function SortableList<T>({
158
166
  {renderItem ? (
159
167
  renderItem(item, index)
160
168
  ) : (
161
- <Text {...knobProps.body} color="$color12" numberOfLines={1} flex={1}>
169
+ <TamaguiText {...knobProps.body} color="$color12" numberOfLines={1} flex={1}>
162
170
  {label}
163
- </Text>
171
+ </TamaguiText>
164
172
  )}
165
173
  </XStack>
166
174
  </XStack>
@@ -190,7 +198,7 @@ export function SortableList<T>({
190
198
  >
191
199
  <XStack alignItems="center" gap="$2" minHeight={MIN_PRESS_TARGET}>
192
200
  <SortableHandle label={sortable.session.label} itemId={sortable.session.id} dragging />
193
- <Text {...knobProps.body}>{sortable.session.label}</Text>
201
+ <TamaguiText {...knobProps.body}>{sortable.session.label}</TamaguiText>
194
202
  </XStack>
195
203
  </View>
196
204
  ) : null}
@@ -231,7 +231,7 @@ export function useSortableRows<T>({
231
231
  );
232
232
 
233
233
  useEffect(() => {
234
- if (!enabled || !canListenOnWindow()) return;
234
+ if (!enabled || typeof document === "undefined" || !canListenOnWindow()) return;
235
235
  const onKey = (e: KeyboardEvent) => {
236
236
  const current = sessionRef.current;
237
237
  if (current) {
@@ -294,7 +294,8 @@ export function useSortableRows<T>({
294
294
  index: number,
295
295
  e: { pointerType?: string; clientY: number; pointerId?: number; preventDefault?: () => void },
296
296
  ) => {
297
- if (!enabled || !rowEnabled(index) || !canListenOnWindow()) return;
297
+ if (!enabled || !rowEnabled(index) || typeof document === "undefined" || !canListenOnWindow())
298
+ return;
298
299
  e.preventDefault?.();
299
300
  const pointerType = e.pointerType ?? "mouse";
300
301
  let lifted = false;
@@ -9,10 +9,11 @@ import {
9
9
  import { Button, Input } from "@multiplatform.one/forms";
10
10
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
11
11
  import React from "react";
12
- import { ScrollView, Text, XStack, YStack } from "tamagui";
12
+ import { ScrollView, XStack, YStack } from "tamagui";
13
13
  import { Chip } from "../Chip";
14
14
  import { ScrollView as PanelScrollView } from "../ScrollView";
15
15
  import { Tabs, type TabsItem } from "./index";
16
+ import { Text } from "../Text";
16
17
 
17
18
  const meta: Meta<typeof Tabs> = {
18
19
  title: "Components/Tabs",
package/src/Text.spec.tsx CHANGED
@@ -239,6 +239,28 @@ describe("registered body stop", () => {
239
239
  expect(node.className).toContain("_lh-27px");
240
240
  });
241
241
  }
242
+ // FZ-7739: a consumer step brings its own leading, so the voices raw text
243
+ // swept onto keep the size's pair instead of 13/23 at `$2`.
244
+ for (const Voice of [Text, Paragraph]) {
245
+ it(`${Voice.name} leads a consumer token size on that step`, () => {
246
+ const { getByText } = renderWithProviders(
247
+ <TamaguiProvider config={bodyConfig} defaultTheme="light">
248
+ <Voice fontSize="$2">{LABEL}</Voice>
249
+ </TamaguiProvider>,
250
+ { tamagui: false },
251
+ );
252
+ const style = getComputedStyle(getByText(LABEL));
253
+ const stop = bodyConfig.fonts.body;
254
+ expect(style.fontSize).toBe(`${stop.size[2]}px`);
255
+ expect(style.lineHeight).toBe(`${stop.lineHeight?.[2]}px`);
256
+ });
257
+ }
258
+ it("Text leaves a numeric consumer size on its natural leading", () => {
259
+ const { getByText } = renderWithProviders(<Text fontSize={19}>{LABEL}</Text>);
260
+ const node = getByText(LABEL);
261
+ expect(node.className).toContain("_fos-19px");
262
+ expect(node.className).not.toMatch(/(?:^| )_lh-/);
263
+ });
242
264
  it("Paragraph keeps the consumer size variant", () => {
243
265
  const { getByText } = renderWithProviders(<Paragraph size="$6">{LABEL}</Paragraph>);
244
266
  expect(getByText(LABEL).className).toContain("_fos-f-size-6");