@multiplatform.one/components 7.54.1 → 7.56.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 (532) hide show
  1. package/dist/cjs/Accordion/index.native.js +1 -1
  2. package/dist/cjs/Accordion/index.native.js.map +1 -1
  3. package/dist/cjs/Alert/index.native.js.map +1 -1
  4. package/dist/cjs/AnimateHeight/index.native.js.map +1 -1
  5. package/dist/cjs/Avatar/getInitials.native.js.map +1 -1
  6. package/dist/cjs/Avatar/index.native.js.map +1 -1
  7. package/dist/cjs/Badge/index.native.js.map +1 -1
  8. package/dist/cjs/Button.native.js.map +1 -1
  9. package/dist/cjs/Card.native.js.map +1 -1
  10. package/dist/cjs/CardFooter.native.js.map +1 -1
  11. package/dist/cjs/CardHeader.cjs +22 -8
  12. package/dist/cjs/CardHeader.native.js +21 -7
  13. package/dist/cjs/CardHeader.native.js.map +1 -1
  14. package/dist/cjs/Carousel/index.native.js +2 -2
  15. package/dist/cjs/Carousel/index.native.js.map +1 -1
  16. package/dist/cjs/Chip/index.native.js.map +1 -1
  17. package/dist/cjs/Collapsible.native.js.map +1 -1
  18. package/dist/cjs/ContextMenu/index.native.js.map +1 -1
  19. package/dist/cjs/CopyField/index.native.js.map +1 -1
  20. package/dist/cjs/Dialog.native.js.map +1 -1
  21. package/dist/cjs/DotIndicator/index.native.js.map +1 -1
  22. package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
  23. package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
  24. package/dist/cjs/Heading.native.js.map +1 -1
  25. package/dist/cjs/Meter/index.native.js +1 -1
  26. package/dist/cjs/Meter/index.native.js.map +1 -1
  27. package/dist/cjs/Meter/meter.native.js.map +1 -1
  28. package/dist/cjs/OverflowRow/index.native.js +1 -1
  29. package/dist/cjs/OverflowRow/index.native.js.map +1 -1
  30. package/dist/cjs/Pagination.native.js +1 -1
  31. package/dist/cjs/Pagination.native.js.map +1 -1
  32. package/dist/cjs/Popover.native.js.map +1 -1
  33. package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
  34. package/dist/cjs/Quote/index.native.js.map +1 -1
  35. package/dist/cjs/ScrollView/revealFocusedField.native.js.map +1 -1
  36. package/dist/cjs/Separator/index.native.js.map +1 -1
  37. package/dist/cjs/Sheet.native.js.map +1 -1
  38. package/dist/cjs/SheetModal/detents.cjs +18 -1
  39. package/dist/cjs/SheetModal/detents.native.js +19 -1
  40. package/dist/cjs/SheetModal/detents.native.js.map +1 -1
  41. package/dist/cjs/SheetModal/index.cjs +13 -3
  42. package/dist/cjs/SheetModal/index.native.js +1 -2
  43. package/dist/cjs/SheetModal/index.native.js.map +1 -1
  44. package/dist/cjs/SheetModal/useSheetFrameFocus.native.js.map +1 -1
  45. package/dist/cjs/Skeleton/index.native.js.map +1 -1
  46. package/dist/cjs/SkipLink/index.native.js.map +1 -1
  47. package/dist/cjs/SortableList/SortableHandle.native.js.map +1 -1
  48. package/dist/cjs/SortableList/index.native.js.map +1 -1
  49. package/dist/cjs/SortableList/useSortableRows.native.js.map +1 -1
  50. package/dist/cjs/Tabs/index.cjs +10 -12
  51. package/dist/cjs/Tabs/index.native.js +11 -13
  52. package/dist/cjs/Tabs/index.native.js.map +1 -1
  53. package/dist/cjs/Text.native.js.map +1 -1
  54. package/dist/cjs/ThemePresetPicker/index.native.js +2 -2
  55. package/dist/cjs/ThemePresetPicker/index.native.js.map +1 -1
  56. package/dist/cjs/Toast/index.native.js.map +1 -1
  57. package/dist/cjs/Toast/store.native.js.map +1 -1
  58. package/dist/cjs/Tooltip/nativePress.native.js.map +1 -1
  59. package/dist/cjs/Tooltip/tooltipShared.native.js.map +1 -1
  60. package/dist/cjs/TreeSelect/index.native.js +1 -1
  61. package/dist/cjs/TreeSelect/index.native.js.map +1 -1
  62. package/dist/cjs/TreeSelect/treeSelectModel.native.js.map +1 -1
  63. package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
  64. package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
  65. package/dist/cjs/Video/types.native.js.map +1 -1
  66. package/dist/cjs/Wheel/index.native.js.map +1 -1
  67. package/dist/cjs/Wizard/index.native.js +2 -2
  68. package/dist/cjs/Wizard/index.native.js.map +1 -1
  69. package/dist/cjs/actions/ActionBar.native.js.map +1 -1
  70. package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
  71. package/dist/cjs/actions/devWarn.native.js.map +1 -1
  72. package/dist/cjs/actions/index.native.js.map +1 -1
  73. package/dist/cjs/actions/severity.native.js.map +1 -1
  74. package/dist/cjs/appShell/Dock.native.js.map +1 -1
  75. package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
  76. package/dist/cjs/appShell/SettingsSplit.native.js +1 -1
  77. package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
  78. package/dist/cjs/appShell/Springboard.native.js +1 -1
  79. package/dist/cjs/appShell/Springboard.native.js.map +1 -1
  80. package/dist/cjs/appShell/SystemBar.native.js.map +1 -1
  81. package/dist/cjs/appShell/TabBar.native.js +1 -1
  82. package/dist/cjs/appShell/TabBar.native.js.map +1 -1
  83. package/dist/cjs/appShell/appTile.native.js +1 -1
  84. package/dist/cjs/appShell/appTile.native.js.map +1 -1
  85. package/dist/cjs/appShell/index.native.js.map +1 -1
  86. package/dist/cjs/charts/Axis.native.js.map +1 -1
  87. package/dist/cjs/charts/BarChart.native.js.map +1 -1
  88. package/dist/cjs/charts/ChartDataView.native.js +1 -1
  89. package/dist/cjs/charts/ChartDataView.native.js.map +1 -1
  90. package/dist/cjs/charts/ChartSurface.native.js.map +1 -1
  91. package/dist/cjs/charts/LineChart.native.js.map +1 -1
  92. package/dist/cjs/charts/PieChart.native.js.map +1 -1
  93. package/dist/cjs/charts/Sparkline.native.js.map +1 -1
  94. package/dist/cjs/charts/accessibility.native.js.map +1 -1
  95. package/dist/cjs/charts/chartHeight.native.js.map +1 -1
  96. package/dist/cjs/charts/composeChart.native.js.map +1 -1
  97. package/dist/cjs/charts/index.native.js.map +1 -1
  98. package/dist/cjs/charts/math.native.js.map +1 -1
  99. package/dist/cjs/charts/series.native.js.map +1 -1
  100. package/dist/cjs/charts/svg.native.js.map +1 -1
  101. package/dist/cjs/charts/types.native.js.map +1 -1
  102. package/dist/cjs/charts/useChartTheme.native.js.map +1 -1
  103. package/dist/cjs/code/Code/index.native.js.map +1 -1
  104. package/dist/cjs/code/CodeBlock/index.native.js +7 -7
  105. package/dist/cjs/code/CodeBlock/index.native.js.map +1 -1
  106. package/dist/cjs/code/HighlightedCode/index.native.js.map +1 -1
  107. package/dist/cjs/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
  108. package/dist/cjs/code/Highlighter/index.native.js.map +1 -1
  109. package/dist/cjs/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
  110. package/dist/cjs/code/Pre/index.native.js.map +1 -1
  111. package/dist/cjs/code/index.native.js +5 -5
  112. package/dist/cjs/code/index.native.js.map +1 -1
  113. package/dist/cjs/componentColors.native.js.map +1 -1
  114. package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
  115. package/dist/cjs/feedback/NotifyHost.native.js +2 -2
  116. package/dist/cjs/feedback/NotifyHost.native.js.map +1 -1
  117. package/dist/cjs/feedback/copy.native.js.map +1 -1
  118. package/dist/cjs/feedback/index.native.js.map +1 -1
  119. package/dist/cjs/feedback/notify.native.js.map +1 -1
  120. package/dist/cjs/feedback/route.native.js.map +1 -1
  121. package/dist/cjs/feedback/store.native.js.map +1 -1
  122. package/dist/cjs/hooks/index.native.js +1 -1
  123. package/dist/cjs/hooks/index.native.js.map +1 -1
  124. package/dist/cjs/hooks/useClipboard.native.js.map +1 -1
  125. package/dist/cjs/hooks/useDocumentTitle.native.js.map +1 -1
  126. package/dist/cjs/icons/CheckRegular.native.js.map +1 -1
  127. package/dist/cjs/icons/MinusRegular.native.js.map +1 -1
  128. package/dist/cjs/icons/index.native.js.map +1 -1
  129. package/dist/cjs/icons/lucide.native.js.map +1 -1
  130. package/dist/cjs/icons/themed.native.js.map +1 -1
  131. package/dist/cjs/images/Image/ImageFrame.native.js +1 -1
  132. package/dist/cjs/images/Image/ImageFrame.native.js.map +1 -1
  133. package/dist/cjs/images/Image/index.native.js +1 -1
  134. package/dist/cjs/images/Image/shared.native.js +1 -1
  135. package/dist/cjs/images/Image/shared.native.js.map +1 -1
  136. package/dist/cjs/images/Image/types.native.js.map +1 -1
  137. package/dist/cjs/images/index.native.js.map +1 -1
  138. package/dist/cjs/index.native.js +32 -32
  139. package/dist/cjs/index.native.js.map +1 -1
  140. package/dist/cjs/knobImmuneExports.native.js.map +1 -1
  141. package/dist/cjs/layouts/AsyncBoundary.native.js +2 -2
  142. package/dist/cjs/layouts/AsyncBoundary.native.js.map +1 -1
  143. package/dist/cjs/layouts/Debug/index.native.js.map +1 -1
  144. package/dist/cjs/layouts/EmptyState.cjs +107 -33
  145. package/dist/cjs/layouts/EmptyState.native.js +111 -37
  146. package/dist/cjs/layouts/EmptyState.native.js.map +1 -1
  147. package/dist/cjs/layouts/IdentityPlate.cjs +127 -0
  148. package/dist/cjs/layouts/IdentityPlate.native.js +135 -0
  149. package/dist/cjs/layouts/IdentityPlate.native.js.map +1 -0
  150. package/dist/cjs/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
  151. package/dist/cjs/layouts/PageTemplates.native.js.map +1 -1
  152. package/dist/cjs/layouts/PaneScaffold.native.js.map +1 -1
  153. package/dist/cjs/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
  154. package/dist/cjs/layouts/StatusDot.cjs +72 -0
  155. package/dist/cjs/layouts/StatusDot.native.js +77 -0
  156. package/dist/cjs/layouts/StatusDot.native.js.map +1 -0
  157. package/dist/cjs/layouts/ViewSwitcher.native.js.map +1 -1
  158. package/dist/cjs/layouts/attachments.native.js +1 -1
  159. package/dist/cjs/layouts/attachments.native.js.map +1 -1
  160. package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
  161. package/dist/cjs/layouts/index.cjs +6 -0
  162. package/dist/cjs/layouts/index.native.js +9 -3
  163. package/dist/cjs/layouts/index.native.js.map +1 -1
  164. package/dist/cjs/layouts/page.cjs +12 -4
  165. package/dist/cjs/layouts/page.native.js +14 -6
  166. package/dist/cjs/layouts/page.native.js.map +1 -1
  167. package/dist/cjs/layouts/pageHeadingScope.native.js.map +1 -1
  168. package/dist/cjs/layouts/screenScroll.native.js.map +1 -1
  169. package/dist/cjs/layouts/shellSidebarSlot.native.js.map +1 -1
  170. package/dist/cjs/layouts/sidebar.native.js +1 -1
  171. package/dist/cjs/layouts/sidebar.native.js.map +1 -1
  172. package/dist/cjs/layouts/tags.native.js +2 -2
  173. package/dist/cjs/layouts/tags.native.js.map +1 -1
  174. package/dist/cjs/layouts/timeline.native.js +2 -2
  175. package/dist/cjs/layouts/timeline.native.js.map +1 -1
  176. package/dist/cjs/layouts/toolbar.native.js +1 -1
  177. package/dist/cjs/layouts/toolbar.native.js.map +1 -1
  178. package/dist/cjs/shared/actionScan.native.js.map +1 -1
  179. package/dist/cjs/shared/i18n.native.js.map +1 -1
  180. package/dist/cjs/shared/restoreRetries.native.js.map +1 -1
  181. package/dist/cjs/shared/t.native.js.map +1 -1
  182. package/dist/cjs/shared/textRidesText.native.js.map +1 -1
  183. package/dist/cjs/shared/useReturnFocusOnClose.native.js.map +1 -1
  184. package/dist/cjs/surfaces.cjs +4 -2
  185. package/dist/cjs/surfaces.native.js +5 -3
  186. package/dist/cjs/surfaces.native.js.map +1 -1
  187. package/dist/cjs/tamagui.native.js +1 -1
  188. package/dist/cjs/tamagui.native.js.map +1 -1
  189. package/dist/cjs/testSetup.native.js.map +1 -1
  190. package/dist/cjs/utils/setTinted.native.js.map +1 -1
  191. package/dist/cjs/utils/unwrapText.native.js.map +1 -1
  192. package/dist/cjs/views/Calendar.native.js +1 -1
  193. package/dist/cjs/views/Calendar.native.js.map +1 -1
  194. package/dist/cjs/views/Dashboard.native.js +2 -2
  195. package/dist/cjs/views/Dashboard.native.js.map +1 -1
  196. package/dist/cjs/views/Gantt.native.js +2 -2
  197. package/dist/cjs/views/Gantt.native.js.map +1 -1
  198. package/dist/cjs/views/GanttDateGrip.native.js.map +1 -1
  199. package/dist/cjs/views/ImageGrid.native.js +1 -1
  200. package/dist/cjs/views/ImageGrid.native.js.map +1 -1
  201. package/dist/cjs/views/Kanban.native.js +1 -1
  202. package/dist/cjs/views/List.native.js.map +1 -1
  203. package/dist/cjs/views/Matrix.native.js +2 -2
  204. package/dist/cjs/views/Matrix.native.js.map +1 -1
  205. package/dist/cjs/views/ReportBuilder.native.js +2 -2
  206. package/dist/cjs/views/ReportBuilder.native.js.map +1 -1
  207. package/dist/cjs/views/TreeView.native.js.map +1 -1
  208. package/dist/cjs/views/calendarMath.native.js.map +1 -1
  209. package/dist/cjs/views/ganttIntervals.native.js.map +1 -1
  210. package/dist/cjs/views/ganttMath.native.js.map +1 -1
  211. package/dist/cjs/views/index.native.js +1 -1
  212. package/dist/cjs/views/index.native.js.map +1 -1
  213. package/dist/cjs/views/kanbanDnd.native.js.map +1 -1
  214. package/dist/cjs/views/matrixMath.native.js.map +1 -1
  215. package/dist/cjs/views/treeViewDnd.native.js.map +1 -1
  216. package/dist/cjs/views/treeViewLayout.native.js.map +1 -1
  217. package/dist/cjs/views/treeViewMotion.native.js.map +1 -1
  218. package/dist/cjs/views/treeViewReveal.native.js.map +1 -1
  219. package/dist/esm/CardHeader.mjs +24 -10
  220. package/dist/esm/CardHeader.mjs.map +1 -1
  221. package/dist/esm/CardHeader.native.js +23 -9
  222. package/dist/esm/CardHeader.native.js.map +1 -1
  223. package/dist/esm/SheetModal/detents.mjs +15 -1
  224. package/dist/esm/SheetModal/detents.mjs.map +1 -1
  225. package/dist/esm/SheetModal/detents.native.js +16 -1
  226. package/dist/esm/SheetModal/detents.native.js.map +1 -1
  227. package/dist/esm/SheetModal/index.mjs +14 -4
  228. package/dist/esm/SheetModal/index.mjs.map +1 -1
  229. package/dist/esm/SheetModal/index.native.js +2 -3
  230. package/dist/esm/SheetModal/index.native.js.map +1 -1
  231. package/dist/esm/Tabs/index.mjs +10 -12
  232. package/dist/esm/Tabs/index.mjs.map +1 -1
  233. package/dist/esm/Tabs/index.native.js +10 -12
  234. package/dist/esm/Tabs/index.native.js.map +1 -1
  235. package/dist/esm/layouts/EmptyState.mjs +103 -29
  236. package/dist/esm/layouts/EmptyState.mjs.map +1 -1
  237. package/dist/esm/layouts/EmptyState.native.js +107 -33
  238. package/dist/esm/layouts/EmptyState.native.js.map +1 -1
  239. package/dist/esm/layouts/IdentityPlate.mjs +102 -0
  240. package/dist/esm/layouts/IdentityPlate.mjs.map +1 -0
  241. package/dist/esm/layouts/IdentityPlate.native.js +107 -0
  242. package/dist/esm/layouts/IdentityPlate.native.js.map +1 -0
  243. package/dist/esm/layouts/StatusDot.mjs +45 -0
  244. package/dist/esm/layouts/StatusDot.mjs.map +1 -0
  245. package/dist/esm/layouts/StatusDot.native.js +47 -0
  246. package/dist/esm/layouts/StatusDot.native.js.map +1 -0
  247. package/dist/esm/layouts/index.mjs +3 -1
  248. package/dist/esm/layouts/index.mjs.map +1 -1
  249. package/dist/esm/layouts/index.native.js +3 -1
  250. package/dist/esm/layouts/index.native.js.map +1 -1
  251. package/dist/esm/layouts/page.mjs +12 -5
  252. package/dist/esm/layouts/page.mjs.map +1 -1
  253. package/dist/esm/layouts/page.native.js +12 -5
  254. package/dist/esm/layouts/page.native.js.map +1 -1
  255. package/dist/esm/surfaces.mjs +5 -3
  256. package/dist/esm/surfaces.mjs.map +1 -1
  257. package/dist/esm/surfaces.native.js +5 -3
  258. package/dist/esm/surfaces.native.js.map +1 -1
  259. package/dist/jsx/Accordion/index.native.js +1 -1
  260. package/dist/jsx/Accordion/index.native.js.map +1 -1
  261. package/dist/jsx/Alert/index.native.js.map +1 -1
  262. package/dist/jsx/AnimateHeight/index.native.js.map +1 -1
  263. package/dist/jsx/Avatar/getInitials.native.js.map +1 -1
  264. package/dist/jsx/Avatar/index.native.js.map +1 -1
  265. package/dist/jsx/Badge/index.native.js.map +1 -1
  266. package/dist/jsx/Button.native.js.map +1 -1
  267. package/dist/jsx/Card.native.js.map +1 -1
  268. package/dist/jsx/CardFooter.native.js.map +1 -1
  269. package/dist/jsx/CardHeader.mjs +24 -10
  270. package/dist/jsx/CardHeader.mjs.map +1 -1
  271. package/dist/jsx/CardHeader.native.js +21 -7
  272. package/dist/jsx/CardHeader.native.js.map +1 -1
  273. package/dist/jsx/Carousel/index.native.js +2 -2
  274. package/dist/jsx/Carousel/index.native.js.map +1 -1
  275. package/dist/jsx/Chip/index.native.js.map +1 -1
  276. package/dist/jsx/Collapsible.native.js.map +1 -1
  277. package/dist/jsx/ContextMenu/index.native.js.map +1 -1
  278. package/dist/jsx/CopyField/index.native.js.map +1 -1
  279. package/dist/jsx/Dialog.native.js.map +1 -1
  280. package/dist/jsx/DotIndicator/index.native.js.map +1 -1
  281. package/dist/jsx/DropdownMenu/index.native.js.map +1 -1
  282. package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
  283. package/dist/jsx/Heading.native.js.map +1 -1
  284. package/dist/jsx/Meter/index.native.js +1 -1
  285. package/dist/jsx/Meter/index.native.js.map +1 -1
  286. package/dist/jsx/Meter/meter.native.js.map +1 -1
  287. package/dist/jsx/OverflowRow/index.native.js +1 -1
  288. package/dist/jsx/OverflowRow/index.native.js.map +1 -1
  289. package/dist/jsx/Pagination.native.js +1 -1
  290. package/dist/jsx/Pagination.native.js.map +1 -1
  291. package/dist/jsx/Popover.native.js.map +1 -1
  292. package/dist/jsx/ProgressSteps/index.native.js.map +1 -1
  293. package/dist/jsx/Quote/index.native.js.map +1 -1
  294. package/dist/jsx/ScrollView/revealFocusedField.native.js.map +1 -1
  295. package/dist/jsx/Separator/index.native.js.map +1 -1
  296. package/dist/jsx/Sheet.native.js.map +1 -1
  297. package/dist/jsx/SheetModal/detents.mjs +15 -1
  298. package/dist/jsx/SheetModal/detents.mjs.map +1 -1
  299. package/dist/jsx/SheetModal/detents.native.js +19 -1
  300. package/dist/jsx/SheetModal/detents.native.js.map +1 -1
  301. package/dist/jsx/SheetModal/index.mjs +14 -4
  302. package/dist/jsx/SheetModal/index.mjs.map +1 -1
  303. package/dist/jsx/SheetModal/index.native.js +1 -2
  304. package/dist/jsx/SheetModal/index.native.js.map +1 -1
  305. package/dist/jsx/SheetModal/useSheetFrameFocus.native.js.map +1 -1
  306. package/dist/jsx/Skeleton/index.native.js.map +1 -1
  307. package/dist/jsx/SkipLink/index.native.js.map +1 -1
  308. package/dist/jsx/SortableList/SortableHandle.native.js.map +1 -1
  309. package/dist/jsx/SortableList/index.native.js.map +1 -1
  310. package/dist/jsx/SortableList/useSortableRows.native.js.map +1 -1
  311. package/dist/jsx/Tabs/index.mjs +10 -12
  312. package/dist/jsx/Tabs/index.mjs.map +1 -1
  313. package/dist/jsx/Tabs/index.native.js +11 -13
  314. package/dist/jsx/Tabs/index.native.js.map +1 -1
  315. package/dist/jsx/Text.native.js.map +1 -1
  316. package/dist/jsx/ThemePresetPicker/index.native.js +2 -2
  317. package/dist/jsx/ThemePresetPicker/index.native.js.map +1 -1
  318. package/dist/jsx/Toast/index.native.js.map +1 -1
  319. package/dist/jsx/Toast/store.native.js.map +1 -1
  320. package/dist/jsx/Tooltip/nativePress.native.js.map +1 -1
  321. package/dist/jsx/Tooltip/tooltipShared.native.js.map +1 -1
  322. package/dist/jsx/TreeSelect/index.native.js +1 -1
  323. package/dist/jsx/TreeSelect/index.native.js.map +1 -1
  324. package/dist/jsx/TreeSelect/treeSelectModel.native.js.map +1 -1
  325. package/dist/jsx/Video/PlayerChrome.native.js.map +1 -1
  326. package/dist/jsx/Video/VideoFrame.native.js.map +1 -1
  327. package/dist/jsx/Video/types.native.js.map +1 -1
  328. package/dist/jsx/Wheel/index.native.js.map +1 -1
  329. package/dist/jsx/Wizard/index.native.js +2 -2
  330. package/dist/jsx/Wizard/index.native.js.map +1 -1
  331. package/dist/jsx/actions/ActionBar.native.js.map +1 -1
  332. package/dist/jsx/actions/DestructiveAction.native.js.map +1 -1
  333. package/dist/jsx/actions/devWarn.native.js.map +1 -1
  334. package/dist/jsx/actions/index.native.js.map +1 -1
  335. package/dist/jsx/actions/severity.native.js.map +1 -1
  336. package/dist/jsx/appShell/Dock.native.js.map +1 -1
  337. package/dist/jsx/appShell/ScopeMenu.native.js.map +1 -1
  338. package/dist/jsx/appShell/SettingsSplit.native.js +1 -1
  339. package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
  340. package/dist/jsx/appShell/Springboard.native.js +1 -1
  341. package/dist/jsx/appShell/Springboard.native.js.map +1 -1
  342. package/dist/jsx/appShell/SystemBar.native.js.map +1 -1
  343. package/dist/jsx/appShell/TabBar.native.js +1 -1
  344. package/dist/jsx/appShell/TabBar.native.js.map +1 -1
  345. package/dist/jsx/appShell/appTile.native.js +1 -1
  346. package/dist/jsx/appShell/appTile.native.js.map +1 -1
  347. package/dist/jsx/appShell/index.native.js.map +1 -1
  348. package/dist/jsx/charts/Axis.native.js.map +1 -1
  349. package/dist/jsx/charts/BarChart.native.js.map +1 -1
  350. package/dist/jsx/charts/ChartDataView.native.js +1 -1
  351. package/dist/jsx/charts/ChartDataView.native.js.map +1 -1
  352. package/dist/jsx/charts/ChartSurface.native.js.map +1 -1
  353. package/dist/jsx/charts/LineChart.native.js.map +1 -1
  354. package/dist/jsx/charts/PieChart.native.js.map +1 -1
  355. package/dist/jsx/charts/Sparkline.native.js.map +1 -1
  356. package/dist/jsx/charts/accessibility.native.js.map +1 -1
  357. package/dist/jsx/charts/chartHeight.native.js.map +1 -1
  358. package/dist/jsx/charts/composeChart.native.js.map +1 -1
  359. package/dist/jsx/charts/index.native.js.map +1 -1
  360. package/dist/jsx/charts/math.native.js.map +1 -1
  361. package/dist/jsx/charts/series.native.js.map +1 -1
  362. package/dist/jsx/charts/svg.native.js.map +1 -1
  363. package/dist/jsx/charts/types.native.js.map +1 -1
  364. package/dist/jsx/charts/useChartTheme.native.js.map +1 -1
  365. package/dist/jsx/code/Code/index.native.js.map +1 -1
  366. package/dist/jsx/code/CodeBlock/index.native.js +7 -7
  367. package/dist/jsx/code/CodeBlock/index.native.js.map +1 -1
  368. package/dist/jsx/code/HighlightedCode/index.native.js.map +1 -1
  369. package/dist/jsx/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
  370. package/dist/jsx/code/Highlighter/index.native.js.map +1 -1
  371. package/dist/jsx/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
  372. package/dist/jsx/code/Pre/index.native.js.map +1 -1
  373. package/dist/jsx/code/index.native.js +5 -5
  374. package/dist/jsx/code/index.native.js.map +1 -1
  375. package/dist/jsx/componentColors.native.js.map +1 -1
  376. package/dist/jsx/feedback/ConfirmDialog.native.js.map +1 -1
  377. package/dist/jsx/feedback/NotifyHost.native.js +2 -2
  378. package/dist/jsx/feedback/NotifyHost.native.js.map +1 -1
  379. package/dist/jsx/feedback/copy.native.js.map +1 -1
  380. package/dist/jsx/feedback/index.native.js.map +1 -1
  381. package/dist/jsx/feedback/notify.native.js.map +1 -1
  382. package/dist/jsx/feedback/route.native.js.map +1 -1
  383. package/dist/jsx/feedback/store.native.js.map +1 -1
  384. package/dist/jsx/hooks/index.native.js +1 -1
  385. package/dist/jsx/hooks/index.native.js.map +1 -1
  386. package/dist/jsx/hooks/useClipboard.native.js.map +1 -1
  387. package/dist/jsx/hooks/useDocumentTitle.native.js.map +1 -1
  388. package/dist/jsx/icons/CheckRegular.native.js.map +1 -1
  389. package/dist/jsx/icons/MinusRegular.native.js.map +1 -1
  390. package/dist/jsx/icons/index.native.js.map +1 -1
  391. package/dist/jsx/icons/lucide.native.js.map +1 -1
  392. package/dist/jsx/icons/themed.native.js.map +1 -1
  393. package/dist/jsx/images/Image/ImageFrame.native.js +1 -1
  394. package/dist/jsx/images/Image/ImageFrame.native.js.map +1 -1
  395. package/dist/jsx/images/Image/index.native.js +1 -1
  396. package/dist/jsx/images/Image/shared.native.js +1 -1
  397. package/dist/jsx/images/Image/shared.native.js.map +1 -1
  398. package/dist/jsx/images/Image/types.native.js.map +1 -1
  399. package/dist/jsx/images/index.native.js.map +1 -1
  400. package/dist/jsx/index.native.js +32 -32
  401. package/dist/jsx/index.native.js.map +1 -1
  402. package/dist/jsx/knobImmuneExports.native.js.map +1 -1
  403. package/dist/jsx/layouts/AsyncBoundary.native.js +2 -2
  404. package/dist/jsx/layouts/AsyncBoundary.native.js.map +1 -1
  405. package/dist/jsx/layouts/Debug/index.native.js.map +1 -1
  406. package/dist/jsx/layouts/EmptyState.mjs +103 -29
  407. package/dist/jsx/layouts/EmptyState.mjs.map +1 -1
  408. package/dist/jsx/layouts/EmptyState.native.js +111 -37
  409. package/dist/jsx/layouts/EmptyState.native.js.map +1 -1
  410. package/dist/jsx/layouts/IdentityPlate.mjs +102 -0
  411. package/dist/jsx/layouts/IdentityPlate.mjs.map +1 -0
  412. package/dist/jsx/layouts/IdentityPlate.native.js +135 -0
  413. package/dist/jsx/layouts/IdentityPlate.native.js.map +1 -0
  414. package/dist/jsx/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
  415. package/dist/jsx/layouts/PageTemplates.native.js.map +1 -1
  416. package/dist/jsx/layouts/PaneScaffold.native.js.map +1 -1
  417. package/dist/jsx/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
  418. package/dist/jsx/layouts/StatusDot.mjs +45 -0
  419. package/dist/jsx/layouts/StatusDot.mjs.map +1 -0
  420. package/dist/jsx/layouts/StatusDot.native.js +77 -0
  421. package/dist/jsx/layouts/StatusDot.native.js.map +1 -0
  422. package/dist/jsx/layouts/ViewSwitcher.native.js.map +1 -1
  423. package/dist/jsx/layouts/attachments.native.js +1 -1
  424. package/dist/jsx/layouts/attachments.native.js.map +1 -1
  425. package/dist/jsx/layouts/breadcrumbs.native.js.map +1 -1
  426. package/dist/jsx/layouts/index.mjs +3 -1
  427. package/dist/jsx/layouts/index.mjs.map +1 -1
  428. package/dist/jsx/layouts/index.native.js +9 -3
  429. package/dist/jsx/layouts/index.native.js.map +1 -1
  430. package/dist/jsx/layouts/page.mjs +12 -5
  431. package/dist/jsx/layouts/page.mjs.map +1 -1
  432. package/dist/jsx/layouts/page.native.js +14 -6
  433. package/dist/jsx/layouts/page.native.js.map +1 -1
  434. package/dist/jsx/layouts/pageHeadingScope.native.js.map +1 -1
  435. package/dist/jsx/layouts/screenScroll.native.js.map +1 -1
  436. package/dist/jsx/layouts/shellSidebarSlot.native.js.map +1 -1
  437. package/dist/jsx/layouts/sidebar.native.js +1 -1
  438. package/dist/jsx/layouts/sidebar.native.js.map +1 -1
  439. package/dist/jsx/layouts/tags.native.js +2 -2
  440. package/dist/jsx/layouts/tags.native.js.map +1 -1
  441. package/dist/jsx/layouts/timeline.native.js +2 -2
  442. package/dist/jsx/layouts/timeline.native.js.map +1 -1
  443. package/dist/jsx/layouts/toolbar.native.js +1 -1
  444. package/dist/jsx/layouts/toolbar.native.js.map +1 -1
  445. package/dist/jsx/shared/actionScan.native.js.map +1 -1
  446. package/dist/jsx/shared/i18n.native.js.map +1 -1
  447. package/dist/jsx/shared/restoreRetries.native.js.map +1 -1
  448. package/dist/jsx/shared/t.native.js.map +1 -1
  449. package/dist/jsx/shared/textRidesText.native.js.map +1 -1
  450. package/dist/jsx/shared/useReturnFocusOnClose.native.js.map +1 -1
  451. package/dist/jsx/surfaces.mjs +5 -3
  452. package/dist/jsx/surfaces.mjs.map +1 -1
  453. package/dist/jsx/surfaces.native.js +5 -3
  454. package/dist/jsx/surfaces.native.js.map +1 -1
  455. package/dist/jsx/tamagui.native.js +1 -1
  456. package/dist/jsx/tamagui.native.js.map +1 -1
  457. package/dist/jsx/testSetup.native.js.map +1 -1
  458. package/dist/jsx/utils/setTinted.native.js.map +1 -1
  459. package/dist/jsx/utils/unwrapText.native.js.map +1 -1
  460. package/dist/jsx/views/Calendar.native.js +1 -1
  461. package/dist/jsx/views/Calendar.native.js.map +1 -1
  462. package/dist/jsx/views/Dashboard.native.js +2 -2
  463. package/dist/jsx/views/Dashboard.native.js.map +1 -1
  464. package/dist/jsx/views/Gantt.native.js +2 -2
  465. package/dist/jsx/views/Gantt.native.js.map +1 -1
  466. package/dist/jsx/views/GanttDateGrip.native.js.map +1 -1
  467. package/dist/jsx/views/ImageGrid.native.js +1 -1
  468. package/dist/jsx/views/ImageGrid.native.js.map +1 -1
  469. package/dist/jsx/views/Kanban.native.js +1 -1
  470. package/dist/jsx/views/List.native.js.map +1 -1
  471. package/dist/jsx/views/Matrix.native.js +2 -2
  472. package/dist/jsx/views/Matrix.native.js.map +1 -1
  473. package/dist/jsx/views/ReportBuilder.native.js +2 -2
  474. package/dist/jsx/views/ReportBuilder.native.js.map +1 -1
  475. package/dist/jsx/views/TreeView.native.js.map +1 -1
  476. package/dist/jsx/views/calendarMath.native.js.map +1 -1
  477. package/dist/jsx/views/ganttIntervals.native.js.map +1 -1
  478. package/dist/jsx/views/ganttMath.native.js.map +1 -1
  479. package/dist/jsx/views/index.native.js +1 -1
  480. package/dist/jsx/views/index.native.js.map +1 -1
  481. package/dist/jsx/views/kanbanDnd.native.js.map +1 -1
  482. package/dist/jsx/views/matrixMath.native.js.map +1 -1
  483. package/dist/jsx/views/treeViewDnd.native.js.map +1 -1
  484. package/dist/jsx/views/treeViewLayout.native.js.map +1 -1
  485. package/dist/jsx/views/treeViewMotion.native.js.map +1 -1
  486. package/dist/jsx/views/treeViewReveal.native.js.map +1 -1
  487. package/package.json +9 -9
  488. package/src/Card.stories.tsx +83 -1
  489. package/src/CardHeader.spec.tsx +22 -0
  490. package/src/CardHeader.tsx +30 -13
  491. package/src/DropdownMenu/DropdownMenu.stories.tsx +1 -1
  492. package/src/OverflowRow/OverflowRow.stories.tsx +2 -2
  493. package/src/SheetFrame.stories.tsx +64 -1
  494. package/src/SheetModal/SheetModal.spec.tsx +18 -1
  495. package/src/SheetModal/detents.ts +28 -0
  496. package/src/SheetModal/index.native.tsx +2 -3
  497. package/src/SheetModal/index.tsx +15 -5
  498. package/src/Tabs/Tabs.gutter.spec.tsx +1 -1
  499. package/src/Tabs/Tabs.panelHeight.spec.tsx +5 -5
  500. package/src/Tabs/Tabs.scroll.spec.tsx +5 -5
  501. package/src/Tabs/Tabs.stories.tsx +9 -9
  502. package/src/Tabs/index.tsx +11 -4
  503. package/src/layouts/EmptyState.spec.tsx +33 -31
  504. package/src/layouts/EmptyState.stories.tsx +66 -3
  505. package/src/layouts/EmptyState.tsx +132 -42
  506. package/src/layouts/IdentityPlate.stories.tsx +150 -0
  507. package/src/layouts/IdentityPlate.tsx +117 -0
  508. package/src/layouts/StatusDot.tsx +53 -0
  509. package/src/layouts/index.tsx +13 -0
  510. package/src/layouts/navBar.spec.tsx +62 -2
  511. package/src/layouts/page.tsx +23 -9
  512. package/src/sheetScroll.native-press.spec.tsx +93 -0
  513. package/src/surfaces.tsx +7 -4
  514. package/types/CardHeader.d.ts +6 -1
  515. package/types/CardHeader.d.ts.map +1 -1
  516. package/types/SheetModal/detents.d.ts +21 -0
  517. package/types/SheetModal/detents.d.ts.map +1 -1
  518. package/types/SheetModal/index.d.ts +6 -1
  519. package/types/SheetModal/index.d.ts.map +1 -1
  520. package/types/SheetModal/index.native.d.ts.map +1 -1
  521. package/types/Tabs/index.d.ts.map +1 -1
  522. package/types/layouts/EmptyState.d.ts +17 -5
  523. package/types/layouts/EmptyState.d.ts.map +1 -1
  524. package/types/layouts/IdentityPlate.d.ts +26 -0
  525. package/types/layouts/IdentityPlate.d.ts.map +1 -0
  526. package/types/layouts/StatusDot.d.ts +13 -0
  527. package/types/layouts/StatusDot.d.ts.map +1 -0
  528. package/types/layouts/index.d.ts +2 -0
  529. package/types/layouts/index.d.ts.map +1 -1
  530. package/types/layouts/page.d.ts +14 -3
  531. package/types/layouts/page.d.ts.map +1 -1
  532. package/types/surfaces.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/components",
3
- "version": "7.54.1",
3
+ "version": "7.56.0",
4
4
  "description": "multiplatform.one ui components",
5
5
  "keywords": [
6
6
  "components",
@@ -58,11 +58,11 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@floating-ui/react": "^0.27.20",
61
- "@multiplatform.one/forms": "^7.54.1",
62
- "@multiplatform.one/i18n": "^7.54.1",
63
- "@multiplatform.one/platform": "^7.54.1",
64
- "@multiplatform.one/router": "^7.54.1",
65
- "@multiplatform.one/theme": "^7.54.1",
61
+ "@multiplatform.one/forms": "^7.56.0",
62
+ "@multiplatform.one/i18n": "^7.56.0",
63
+ "@multiplatform.one/platform": "^7.56.0",
64
+ "@multiplatform.one/router": "^7.56.0",
65
+ "@multiplatform.one/theme": "^7.56.0",
66
66
  "@phosphor-icons/react": "^2.1.10",
67
67
  "@shopify/flash-list": "^2.3.1",
68
68
  "@tamagui/colors": "2.7.6",
@@ -89,9 +89,9 @@
89
89
  "tamagui": "2.7.6"
90
90
  },
91
91
  "devDependencies": {
92
- "@multiplatform.one/config": "7.54.1",
93
- "@multiplatform.one/storybook": "7.54.1",
94
- "@multiplatform.one/test-utils": "7.54.1",
92
+ "@multiplatform.one/config": "7.56.0",
93
+ "@multiplatform.one/storybook": "7.56.0",
94
+ "@multiplatform.one/test-utils": "7.56.0",
95
95
  "@tamagui/build": "2.7.6",
96
96
  "@testing-library/jest-dom": "^7.0.1",
97
97
  "@testing-library/react": "^16.3.3",
@@ -1,8 +1,25 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
2
2
  // Catalog Button (G-15 story honesty / LC-18, UX-P06).
3
- import { Button, Form, FormActions, Input, formReadableMaxWidth } from "@multiplatform.one/forms";
3
+ import {
4
+ Button,
5
+ DescriptionList,
6
+ Form,
7
+ FormActions,
8
+ Input,
9
+ formReadableMaxWidth,
10
+ } from "@multiplatform.one/forms";
11
+ import {
12
+ CompassIcon,
13
+ FileCodeIcon,
14
+ HouseLineIcon,
15
+ LinkIcon,
16
+ ShieldCheckIcon,
17
+ StarIcon,
18
+ } from "@phosphor-icons/react";
4
19
  import { XStack, YStack } from "tamagui";
5
20
  import { Card } from "./Card";
21
+ import { StatusDot } from "./layouts/StatusDot";
22
+ import { reportCopy } from "./feedback/copy";
6
23
  import { Paragraph, SizableText } from "./Text";
7
24
 
8
25
  const meta: Meta<typeof Card> = {
@@ -111,3 +128,68 @@ export const LongContent: Story = {
111
128
  </Card>
112
129
  ),
113
130
  };
131
+
132
+ // ── Sign-on (LC-169, FZ-7970 r3) ───────────────────────────────
133
+ // The SHC console's Identity › Sign-on cards rebuilt on MPO parts. Clay on
134
+ // the console's: "The shc cards still look like shit. There's no visual
135
+ // hairachy it's all just text that runs together", then on round 3: "Good but
136
+ // use better hierarchy communication with icons less verbose where possible."
137
+ // The three console cards repeated realm master and the same issuer, so the
138
+ // shared facts sit once in the first card and the checks card carries only
139
+ // what differs: each check's status as a dot and one word. Rows are inline
140
+ // (glyph and label leading, value trailing); the URLs stack, mono, cut in the
141
+ // middle, with copy.
142
+
143
+ const issuer = "https://91-98-47-56.sslip.io/auth/realms/master";
144
+
145
+ export const SignOn: Story = {
146
+ name: "Sign-on (LC-169)",
147
+ parameters: { layout: "fullscreen" },
148
+ render: (args) => (
149
+ <YStack padding="$4" gap="$3" backgroundColor="$background" minHeight="100%">
150
+ <Card {...args}>
151
+ <Card.Header status={<StatusDot tone="positive">OK</StatusDot>}>Sign-on</Card.Header>
152
+ <DescriptionList
153
+ placement="inline"
154
+ maxWidth="fluid"
155
+ onCopyResult={(ok) => reportCopy(ok)}
156
+ items={[
157
+ { icon: <ShieldCheckIcon />, term: "Realm", value: "master" },
158
+ { icon: <LinkIcon />, term: "Issuer", value: issuer, identifier: true },
159
+ ]}
160
+ />
161
+ </Card>
162
+ <Card {...args}>
163
+ <Card.Header>Checks</Card.Header>
164
+ <DescriptionList
165
+ placement="inline"
166
+ maxWidth="fluid"
167
+ onCopyResult={(ok) => reportCopy(ok)}
168
+ items={[
169
+ {
170
+ icon: <StarIcon />,
171
+ term: "Default realm",
172
+ children: <StatusDot tone="positive">OK</StatusDot>,
173
+ },
174
+ {
175
+ icon: <HouseLineIcon />,
176
+ term: "Realm for this host",
177
+ children: <StatusDot tone="positive">OK</StatusDot>,
178
+ },
179
+ {
180
+ icon: <CompassIcon />,
181
+ term: "Discovery",
182
+ children: <StatusDot tone="positive">OK</StatusDot>,
183
+ },
184
+ {
185
+ icon: <FileCodeIcon />,
186
+ term: "Configuration",
187
+ value: `${issuer}/.well-known/openid-configuration`,
188
+ identifier: true,
189
+ },
190
+ ]}
191
+ />
192
+ </Card>
193
+ </YStack>
194
+ ),
195
+ };
@@ -141,3 +141,25 @@ describe("CardHeader design-law — T-HEADING text node (R7 / LC-82)", () => {
141
141
  expect(container.querySelector('[data-slot="header"]')?.textContent).toContain("Title");
142
142
  });
143
143
  });
144
+
145
+ describe("CardHeader status (LC-169)", () => {
146
+ afterEach(cleanup);
147
+
148
+ it("status rides beside the title, never in its text run", () => {
149
+ const { container } = renderWithProviders(
150
+ <CardHeader status={<span data-testid="pill">ok</span>}>Default realm</CardHeader>,
151
+ );
152
+ const title = titleText(container as HTMLElement, "Default realm");
153
+ expect(title.textContent).toBe("Default realm");
154
+ const slot = container.querySelector('[data-slot="status"]') as HTMLElement;
155
+ expect(slot).not.toBeNull();
156
+ expect(slot.contains(screen.getByTestId("pill"))).toBe(true);
157
+ expect(title.contains(slot)).toBe(false);
158
+ expect(slot.parentElement).toBe(title.parentElement);
159
+ });
160
+
161
+ it("draws no status slot when none is given", () => {
162
+ const { container } = renderWithProviders(<CardHeader>Discovery</CardHeader>);
163
+ expect(container.querySelector('[data-slot="status"]')).toBeNull();
164
+ });
165
+ });
@@ -1,6 +1,6 @@
1
1
  import { useResolvedKnobs } from "@multiplatform.one/theme";
2
2
  import type { ReactNode } from "react";
3
- import { Card as TamaguiCard, SizableText, type ViewProps } from "tamagui";
3
+ import { Card as TamaguiCard, SizableText, XStack, type ViewProps } from "tamagui";
4
4
  import { wrapBareTextChildren } from "./shared/textRidesText";
5
5
 
6
6
  /**
@@ -9,9 +9,16 @@ import { wrapBareTextChildren } from "./shared/textRidesText";
9
9
  * Nested hue is opt-in on the Card frame (R12) — this part does not wrap Tint.
10
10
  * This host is a zero-padding slot
11
11
  * (LC-09); T-HEADING rides the title TEXT node (LC-82 / R7), never the View.
12
+ *
13
+ * LC-169 CARD-HIERARCHY: the title is the card's headline, and a status is a
14
+ * pill or dot in `status`, beside the title, never words in the text run.
12
15
  */
13
16
 
14
- export type CardHeaderProps = ViewProps & { children?: ReactNode };
17
+ export type CardHeaderProps = ViewProps & {
18
+ children?: ReactNode;
19
+ /** A status pill or dot (a Chip, a Badge dot) drawn beside the title. */
20
+ status?: ReactNode;
21
+ };
15
22
 
16
23
  /**
17
24
  * Tamagui styled hosts drop JSX `data-*` on native (Toast gallery hole), so
@@ -29,8 +36,18 @@ function hostData(attrs: Record<string, string>): Record<string, unknown> {
29
36
  return { dataSet };
30
37
  }
31
38
 
32
- export function CardHeader({ children, ...props }: CardHeaderProps) {
39
+ export function CardHeader({ children, status, ...props }: CardHeaderProps) {
33
40
  const { knobProps } = useResolvedKnobs({ component: "Card" });
41
+ const title = wrapBareTextChildren(children, (label, key) => (
42
+ <SizableText
43
+ key={key}
44
+ flexShrink={1}
45
+ {...knobProps.heading}
46
+ {...hostData({ "data-heading-font": String(knobProps.heading.fontFamily) })}
47
+ >
48
+ {label}
49
+ </SizableText>
50
+ ));
34
51
  return (
35
52
  <TamaguiCard.Header
36
53
  padding={0}
@@ -38,16 +55,16 @@ export function CardHeader({ children, ...props }: CardHeaderProps) {
38
55
  {...hostData({ "data-slot": "header" })}
39
56
  {...props}
40
57
  >
41
- {wrapBareTextChildren(children, (label, key) => (
42
- <SizableText
43
- key={key}
44
- flexShrink={1}
45
- {...knobProps.heading}
46
- {...hostData({ "data-heading-font": String(knobProps.heading.fontFamily) })}
47
- >
48
- {label}
49
- </SizableText>
50
- ))}
58
+ {status == null ? (
59
+ title
60
+ ) : (
61
+ <XStack alignItems="center" minWidth={0} {...knobProps.gapSm}>
62
+ {title}
63
+ <XStack flexShrink={0} alignItems="center" {...hostData({ "data-slot": "status" })}>
64
+ {status}
65
+ </XStack>
66
+ </XStack>
67
+ )}
51
68
  </TamaguiCard.Header>
52
69
  );
53
70
  }
@@ -74,7 +74,7 @@ export const CoverTrigger: Story = {
74
74
  </DropdownMenu>
75
75
  <DropdownMenu
76
76
  anchorMode="cover-trigger"
77
- items={[{ label: "Overview" }, { label: "Accounts" }]}
77
+ items={[{ label: "Activity" }, { label: "Accounts" }]}
78
78
  >
79
79
  <Button icon={CaretDownIcon}>WealthFlow navigation</Button>
80
80
  </DropdownMenu>
@@ -13,11 +13,11 @@ const meta: Meta<typeof OverflowRow> = {
13
13
  };
14
14
  export default meta;
15
15
  type Story = StoryObj<typeof OverflowRow>;
16
- const labels = ["Overview", "Activity", "Accounts", "Categories", "Reports", "Settings"];
16
+ const labels = ["Activity", "Accounts", "Budgets", "Categories", "Reports", "Settings"];
17
17
 
18
18
  function NavigationRow() {
19
19
  const [offset, setOffset] = useState(0);
20
- const [selected, setSelected] = useState("Overview");
20
+ const [selected, setSelected] = useState("Activity");
21
21
  return (
22
22
  <YStack gap="$3" width="$20" maxWidth="100%">
23
23
  <OverflowRow onScroll={(event) => setOffset(Math.round(event.nativeEvent.contentOffset.x))}>
@@ -2,9 +2,11 @@ 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, YStack } from "tamagui";
5
+ import { isWeb, Sheet, YStack } from "tamagui";
6
+ import { ScrollView } from "./ScrollView";
6
7
  import { SheetModal } from "./SheetModal";
7
8
  import { SheetFrame } from "./surfaces";
9
+ import { Tabs } from "./Tabs";
8
10
  import { Paragraph, SizableText } from "./Text";
9
11
 
10
12
  function SheetHarness({ long = false, startOpen = true }: { long?: boolean; startOpen?: boolean }) {
@@ -47,6 +49,62 @@ function SheetHarness({ long = false, startOpen = true }: { long?: boolean; star
47
49
  );
48
50
  }
49
51
 
52
+ function panelRows(label: string) {
53
+ return (
54
+ <ScrollView>
55
+ <YStack gap="$2">
56
+ {Array.from({ length: 40 }).map((_, i) => (
57
+ <Paragraph key={i}>
58
+ {label} row {i + 1}
59
+ </Paragraph>
60
+ ))}
61
+ </YStack>
62
+ </ScrollView>
63
+ );
64
+ }
65
+
66
+ /**
67
+ * FZ-7771: an inline draggable sheet whose frame holds Tabs with scrolling
68
+ * panels, the SHC stack-sheet shape. The rows scroll; the grabber drags.
69
+ */
70
+ function TabsInSheetHarness() {
71
+ const [position, setPosition] = useState(0);
72
+ return (
73
+ <YStack flex={1} minHeight={640}>
74
+ <Paragraph>Scroll the rows. Drag the grabber to resize the sheet.</Paragraph>
75
+ <Sheet
76
+ open
77
+ modal={false}
78
+ snapPoints={[85, 50]}
79
+ snapPointsMode="percent"
80
+ position={position}
81
+ onPositionChange={setPosition}
82
+ dismissOnSnapToBottom={false}
83
+ >
84
+ <Sheet.Handle
85
+ backgroundColor="$color8"
86
+ opacity={0.45}
87
+ height={5}
88
+ width={36}
89
+ borderRadius={100}
90
+ aria-label="Resize"
91
+ />
92
+ <SheetFrame borderBottomLeftRadius={0} borderBottomRightRadius={0}>
93
+ <SizableText fontWeight="600">Stack</SizableText>
94
+ <Tabs
95
+ fill
96
+ defaultValue="services"
97
+ items={[
98
+ { value: "services", label: "Services", content: panelRows("Service") },
99
+ { value: "events", label: "Events", content: panelRows("Event") },
100
+ ]}
101
+ />
102
+ </SheetFrame>
103
+ </Sheet>
104
+ </YStack>
105
+ );
106
+ }
107
+
50
108
  const meta: Meta<typeof SheetFrame> = {
51
109
  title: "Components/SheetFrame",
52
110
  component: SheetFrame,
@@ -77,3 +135,8 @@ export const LongScroll: Story = {
77
135
  export const Closed: Story = {
78
136
  render: () => <SheetHarness startOpen={false} />,
79
137
  };
138
+
139
+ export const TabsInDraggableSheet: Story = {
140
+ parameters: { nativeGallery: { scroll: false } },
141
+ render: () => <TabsInSheetHarness />,
142
+ };
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from "vitest";
2
- import { mediumDetent, minSheetHeight, resolveSheetDetents } from "./detents";
2
+ import { mediumDetent, minSheetHeight, resolveSheetDetents, resolveWebSnap } from "./detents";
3
3
 
4
4
  /*
5
5
  * MPO-68 AC-4 — "SheetModal's snapPoint prop either drives a detent or is
@@ -86,3 +86,20 @@ describe("resolveSheetDetents", () => {
86
86
  expect(new Set(detents).size).toBe(detents.length);
87
87
  });
88
88
  });
89
+
90
+ describe("resolveWebSnap (FZ-7977)", () => {
91
+ it("a sheet with no snapPoint opens at its content's height", () => {
92
+ expect(resolveWebSnap({})).toEqual({ snapPointsMode: "fit" });
93
+ });
94
+
95
+ it("a caller's percent still sets the rest", () => {
96
+ expect(resolveWebSnap({ snapPoint: 85 })).toEqual({
97
+ snapPointsMode: "percent",
98
+ snapPoints: [85],
99
+ });
100
+ });
101
+
102
+ it("a fill sheet has no intrinsic height, so it keeps a percent rest", () => {
103
+ expect(resolveWebSnap({ fill: true })).toEqual({ snapPointsMode: "percent", snapPoints: [60] });
104
+ });
105
+ });
@@ -53,3 +53,31 @@ export function resolveSheetDetents({
53
53
  const floor = Math.min(minSheetHeight, travel);
54
54
  return Array.from(new Set(points.filter((h) => h >= floor))).sort((a, b) => b - a);
55
55
  }
56
+
57
+ /** The large detent: the tallest a content-sized sheet grows, as a fraction of the window. */
58
+ export const largeDetentRatio = 0.85;
59
+
60
+ /** Percent rest of a `fill` sheet with no `snapPoint`: it has no intrinsic height to fit. */
61
+ export const fillSnapPoint = 60;
62
+
63
+ export type WebSnap =
64
+ | { snapPointsMode: "fit" }
65
+ | { snapPointsMode: "percent"; snapPoints: number[] };
66
+
67
+ /**
68
+ * The web Sheet's snap props. FZ-7977: a sheet with no `snapPoint` opens at
69
+ * its content's height (capped at the large detent), the way the native twin
70
+ * already sizes to content, instead of a fixed 60% with a dead band under
71
+ * short content. A caller's percent still wins, and a `fill` sheet, which has
72
+ * no intrinsic height, keeps a percent rest.
73
+ */
74
+ export function resolveWebSnap({
75
+ snapPoint,
76
+ fill,
77
+ }: {
78
+ snapPoint?: number;
79
+ fill?: boolean;
80
+ }): WebSnap {
81
+ if (snapPoint === undefined && !fill) return { snapPointsMode: "fit" };
82
+ return { snapPointsMode: "percent", snapPoints: [snapPoint ?? fillSnapPoint] };
83
+ }
@@ -41,7 +41,7 @@ import {
41
41
  } from "react-native";
42
42
  import { SafeAreaInsetsContext, initialWindowMetrics } from "react-native-safe-area-context";
43
43
 
44
- import { minSheetHeight, resolveSheetDetents } from "./detents";
44
+ import { largeDetentRatio, minSheetHeight, resolveSheetDetents } from "./detents";
45
45
  import { useTranslation } from "../shared/i18n";
46
46
  import { useKeyboardInset } from "../shared/useKeyboardInset";
47
47
  import { View, YStack } from "tamagui";
@@ -50,7 +50,6 @@ import { DialogRegionContext } from "../surfaces";
50
50
  import type { SheetModalProps } from "./index";
51
51
  export type { SheetModalProps } from "./index";
52
52
 
53
- const sheetMaxHeightRatio = 0.85;
54
53
  const bottomInset = Platform.OS === "ios" ? 24 : 16;
55
54
  // Backdrop left visible above the sheet, so the scrim stays tappable.
56
55
  const backdropStrip = 48;
@@ -111,7 +110,7 @@ export function SheetModal({
111
110
  const available = Math.max(0, windowHeight - keyboardInset);
112
111
  const maxHeight = Math.max(
113
112
  minSheetHeight,
114
- Math.round(Math.min(windowHeight * sheetMaxHeightRatio, available - topInset - backdropStrip)),
113
+ Math.round(Math.min(windowHeight * largeDetentRatio, available - topInset - backdropStrip)),
115
114
  );
116
115
 
117
116
  /*
@@ -12,8 +12,9 @@
12
12
  import { transitionProps, useResolvedKnobs } from "@multiplatform.one/theme";
13
13
  import { OverlayStackProvider, useOverlayZIndex } from "@multiplatform.one/forms";
14
14
  import { useEffect, useId, useRef, type ReactNode } from "react";
15
- import { isWeb, Sheet, View } from "tamagui";
15
+ import { isWeb, Sheet, View, useWindowDimensions } from "tamagui";
16
16
  import { DialogRegionContext, SheetFrame } from "../surfaces";
17
+ import { largeDetentRatio, resolveWebSnap } from "./detents";
17
18
  import { useSheetFrameFocus } from "./useSheetFrameFocus";
18
19
 
19
20
  export interface SheetModalProps {
@@ -22,7 +23,12 @@ export interface SheetModalProps {
22
23
  children?: ReactNode;
23
24
  /** Fixed content above the (scrollable) body, e.g. the sheet title. */
24
25
  header?: ReactNode;
25
- /** Percent snap point. Web: the Sheet's snap point. Native: a drag detent. */
26
+ /**
27
+ * Percent snap point. Web: the Sheet's snap point. Native: a drag detent.
28
+ * Omitted: the sheet opens at its content's height, capped at the large
29
+ * detent (HIG: a sheet as tall as what it holds). A `fill` sheet has no
30
+ * intrinsic height, so it falls back to 60%.
31
+ */
26
32
  snapPoint?: number;
27
33
  /** Wrap children in the sheet's scroll container. */
28
34
  scrollable?: boolean;
@@ -72,10 +78,12 @@ export function SheetModal({
72
78
  onOpenChange,
73
79
  children,
74
80
  header,
75
- snapPoint = 60,
81
+ snapPoint,
76
82
  scrollable,
77
83
  fill = false,
78
84
  }: SheetModalProps) {
85
+ const snap = resolveWebSnap({ snapPoint, fill });
86
+ const { height: windowHeight } = useWindowDimensions();
79
87
  const { knobProps } = useResolvedKnobs();
80
88
  const sheetZIndex = useOverlayZIndex("sheet");
81
89
  const transition = knobProps.motion.slide.transition;
@@ -91,8 +99,7 @@ export function SheetModal({
91
99
  open={open}
92
100
  onOpenChange={onOpenChange}
93
101
  dismissOnSnapToBottom
94
- snapPointsMode="percent"
95
- snapPoints={[snapPoint]}
102
+ {...snap}
96
103
  transition={transition}
97
104
  zIndex={sheetZIndex}
98
105
  portalProps={{ zIndex: sheetZIndex }}
@@ -121,6 +128,9 @@ export function SheetModal({
121
128
  "aria-labelledby": header ? titleId : undefined,
122
129
  } as Record<string, unknown>)}
123
130
  {...knobProps.gap}
131
+ {...(snap.snapPointsMode === "fit"
132
+ ? { maxHeight: Math.round(windowHeight * largeDetentRatio) }
133
+ : null)}
124
134
  borderBottomLeftRadius={0}
125
135
  borderBottomRightRadius={0}
126
136
  overflow="hidden"
@@ -17,7 +17,7 @@ import { Tabs } from "./index";
17
17
  afterEach(cleanup);
18
18
 
19
19
  const items = [
20
- { value: "overview", label: "Overview", content: "Abilities" },
20
+ { value: "abilities", label: "Abilities", content: "Static, Lightning Rod" },
21
21
  { value: "stats", label: "Stats", content: "Stats content" },
22
22
  ];
23
23
 
@@ -34,7 +34,7 @@ afterEach(() => {
34
34
  });
35
35
 
36
36
  const items = [
37
- { value: "overview", label: "Overview", content: "Overview content" },
37
+ { value: "abilities", label: "Abilities", content: "Abilities content" },
38
38
  { value: "stats", label: "Stats", content: "Stats content" },
39
39
  { value: "moves", label: "Moves", content: "Loading moves" },
40
40
  ];
@@ -68,18 +68,18 @@ describe.each(["underline", "contained", "band"] as const)("%s panel height", (v
68
68
  layout("stats", 0);
69
69
  expect(getComputedStyle(host).minHeight).toBe("360px");
70
70
  hostLayout(360);
71
- fireEvent.click(screen.getByRole("tab", { name: "Overview" }));
71
+ fireEvent.click(screen.getByRole("tab", { name: "Abilities" }));
72
72
  expect(getComputedStyle(host).minHeight).toBe("360px");
73
- layout("overview", 400);
73
+ layout("abilities", 400);
74
74
  expect(getComputedStyle(host).minHeight).toBe("");
75
- layout("overview", 180);
75
+ layout("abilities", 180);
76
76
  expect(getComputedStyle(host).minHeight).toBe("");
77
77
  },
78
78
  );
79
79
 
80
80
  it("caps controlled switches at the window height and releases on width changes", () => {
81
81
  const tree = renderWithProviders(
82
- <Tabs items={items} lazyMount value="overview" variant={variant} />,
82
+ <Tabs items={items} lazyMount value="abilities" variant={variant} />,
83
83
  );
84
84
  hostLayout(2000);
85
85
  tree.rerender(<Tabs items={items} lazyMount value="stats" variant={variant} />);
@@ -7,7 +7,7 @@ import { Tabs, type TabsVariant } from "./index";
7
7
  afterEach(cleanup);
8
8
 
9
9
  const items = [
10
- { value: "overview", label: "Overview", content: <input aria-label="Overview note" /> },
10
+ { value: "abilities", label: "Abilities", content: <input aria-label="Abilities note" /> },
11
11
  { value: "stats", label: "Stats", content: <input aria-label="Stats note" /> },
12
12
  { value: "moves", label: "Moves", content: <input aria-label="Moves note" /> },
13
13
  { value: "unvisited", label: "Unvisited", content: <input aria-label="Unvisited note" /> },
@@ -27,7 +27,7 @@ describe.each<TabsVariant>(["underline", "contained", "band"])("%s lazy panels",
27
27
  );
28
28
  }
29
29
  function Harness({ value }: { value?: string }) {
30
- const [selected, setSelected] = useState("overview");
30
+ const [selected, setSelected] = useState("abilities");
31
31
  return (
32
32
  <Profiler id="tabs" onRender={capture}>
33
33
  <Tabs
@@ -47,10 +47,10 @@ describe.each<TabsVariant>(["underline", "contained", "band"])("%s lazy panels",
47
47
  </Profiler>
48
48
  );
49
49
  }
50
- const tree = renderWithProviders(<Harness value="overview" />);
50
+ const tree = renderWithProviders(<Harness value="abilities" />);
51
51
  expect(commits.length).toBeGreaterThan(0);
52
- expect(commits.every((panels) => panels.join() === "Overview note")).toBe(true);
53
- for (const value of ["stats", "moves", "overview", "stats", "moves"]) {
52
+ expect(commits.every((panels) => panels.join() === "Abilities note")).toBe(true);
53
+ for (const value of ["stats", "moves", "abilities", "stats", "moves"]) {
54
54
  commits.length = 0;
55
55
  const label = items.find((item) => item.value === value)!.label;
56
56
  if (mode === "controlled prop") tree.rerender(<Harness value={value} />);
@@ -49,9 +49,9 @@ export default meta;
49
49
 
50
50
  type Story = StoryObj<typeof Tabs>;
51
51
 
52
- const Panel = ({ title, body }: { title: string; body: string }) => (
52
+ const Panel = ({ title, body }: { title?: string; body: string }) => (
53
53
  <YStack gap="$2">
54
- <Text fontWeight="700">{title}</Text>
54
+ {title ? <Text fontWeight="700">{title}</Text> : null}
55
55
  <Text color="$color11">{body}</Text>
56
56
  </YStack>
57
57
  );
@@ -265,12 +265,12 @@ export const ScrollContinuity: Story = {
265
265
  lazyMount
266
266
  items={[
267
267
  {
268
- value: "overview",
269
- label: "Overview",
268
+ value: "activity",
269
+ label: "Activity",
270
270
  content: (
271
271
  <YStack gap="$2">
272
272
  {Array.from({ length: 8 }, (_, index) => (
273
- <Text key={index}>Overview row {index + 1}</Text>
273
+ <Text key={index}>Activity row {index + 1}</Text>
274
274
  ))}
275
275
  </YStack>
276
276
  ),
@@ -386,8 +386,8 @@ export const EqualBand: Story = {
386
386
  variant="band"
387
387
  ariaLabel="Sections"
388
388
  items={[
389
- { value: "overview", label: "Overview" },
390
389
  { value: "activity", label: "Activity" },
390
+ { value: "members", label: "Members" },
391
391
  { value: "resources", label: "Resources" },
392
392
  { value: "reports", label: "Reports" },
393
393
  { value: "settings", label: "Settings" },
@@ -472,9 +472,9 @@ export const InPageGutter: Story = {
472
472
  {...args}
473
473
  items={[
474
474
  {
475
- value: "overview",
476
- label: "Overview",
477
- content: <Panel title="Abilities" body="Compound Eyes, Tinted Lens." />,
475
+ value: "abilities",
476
+ label: "Abilities",
477
+ content: <Panel body="Compound Eyes, Tinted Lens." />,
478
478
  },
479
479
  {
480
480
  value: "stats",
@@ -299,6 +299,15 @@ export function tabsScrollIntoViewX(
299
299
  // neither :focus-visible nor focusVisibleStyle fire for the redirected tab —
300
300
  // the ring is painted manually via the theme keyboard-modality tracker.
301
301
 
302
+ /**
303
+ * FZ-7771: web only. On native these focus pseudos make tamagui claim the
304
+ * touch responder at its start, so the panel took every touch from the
305
+ * ScrollView inside it and from a Sheet around it.
306
+ */
307
+ const panelFocusReset = isWeb
308
+ ? { focusStyle: { outlineWidth: 0 }, focusVisibleStyle: { outlineWidth: 0 } }
309
+ : undefined;
310
+
302
311
  /**
303
312
  * Underline tabs sit on a full-bleed hairline, so only the TOP outer corners
304
313
  * round (LC-72 adapted to a baseline). Bottoms stay square against the rule.
@@ -965,8 +974,7 @@ function TabsRoot({
965
974
  {...panelInset}
966
975
  tabIndex={-1}
967
976
  outlineWidth={0}
968
- focusStyle={{ outlineWidth: 0 }}
969
- focusVisibleStyle={{ outlineWidth: 0 }}
977
+ {...panelFocusReset}
970
978
  >
971
979
  {panelBody(item.content)}
972
980
  </TamaguiTabs.Content>
@@ -981,8 +989,7 @@ function TabsRoot({
981
989
  {...panelInset}
982
990
  tabIndex={-1}
983
991
  outlineWidth={0}
984
- focusStyle={{ outlineWidth: 0 }}
985
- focusVisibleStyle={{ outlineWidth: 0 }}
992
+ {...panelFocusReset}
986
993
  >
987
994
  {panelBody(item.content)}
988
995
  </TamaguiTabs.Content>