@multiplatform.one/components 9.1.0 → 9.2.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 (203) hide show
  1. package/dist/cjs/SheetModal/SheetBodyRegion.cjs +44 -0
  2. package/dist/cjs/SheetModal/SheetBodyRegion.native.js +48 -0
  3. package/dist/cjs/SheetModal/SheetBodyRegion.native.js.map +1 -0
  4. package/dist/cjs/SheetModal/SheetHeader.cjs +11 -14
  5. package/dist/cjs/SheetModal/SheetHeader.native.js +11 -14
  6. package/dist/cjs/SheetModal/SheetHeader.native.js.map +1 -1
  7. package/dist/cjs/SheetModal/index.cjs +57 -18
  8. package/dist/cjs/SheetModal/index.native.js +87 -65
  9. package/dist/cjs/SheetModal/index.native.js.map +1 -1
  10. package/dist/cjs/actions/StandardAction.cjs +62 -1
  11. package/dist/cjs/actions/StandardAction.native.js +63 -1
  12. package/dist/cjs/actions/StandardAction.native.js.map +1 -1
  13. package/dist/cjs/appShell/TabHost.native.js +24 -3
  14. package/dist/cjs/appShell/TabHost.native.js.map +1 -1
  15. package/dist/cjs/appShell/bottomChrome.cjs +3 -0
  16. package/dist/cjs/appShell/bottomChrome.native.js +3 -0
  17. package/dist/cjs/appShell/bottomChrome.native.js.map +1 -1
  18. package/dist/cjs/appShell/index.cjs +2 -1
  19. package/dist/cjs/appShell/index.native.js +2 -1
  20. package/dist/cjs/appShell/index.native.js.map +1 -1
  21. package/dist/cjs/charts/ChartDataView.cjs +0 -1
  22. package/dist/cjs/charts/ChartDataView.native.js +0 -1
  23. package/dist/cjs/charts/ChartDataView.native.js.map +1 -1
  24. package/dist/cjs/icons/lucide.cjs +16 -8
  25. package/dist/cjs/icons/lucide.native.js +16 -8
  26. package/dist/cjs/icons/lucide.native.js.map +1 -1
  27. package/dist/cjs/icons/themed.cjs +4 -1
  28. package/dist/cjs/icons/themed.native.js +4 -1
  29. package/dist/cjs/icons/themed.native.js.map +1 -1
  30. package/dist/cjs/layouts/page.cjs +25 -2
  31. package/dist/cjs/layouts/page.native.js +27 -2
  32. package/dist/cjs/layouts/page.native.js.map +1 -1
  33. package/dist/cjs/layouts/timeline.cjs +4 -3
  34. package/dist/cjs/layouts/timeline.native.js +4 -3
  35. package/dist/cjs/layouts/timeline.native.js.map +1 -1
  36. package/dist/cjs/surfaces.cjs +1 -1
  37. package/dist/cjs/surfaces.native.js +1 -1
  38. package/dist/cjs/surfaces.native.js.map +1 -1
  39. package/dist/cjs/views/FilePreview.cjs +1 -1
  40. package/dist/cjs/views/FilePreview.native.js +1 -1
  41. package/dist/cjs/views/FilePreview.native.js.map +1 -1
  42. package/dist/esm/SheetModal/SheetBodyRegion.mjs +19 -0
  43. package/dist/esm/SheetModal/SheetBodyRegion.mjs.map +1 -0
  44. package/dist/esm/SheetModal/SheetBodyRegion.native.js +20 -0
  45. package/dist/esm/SheetModal/SheetBodyRegion.native.js.map +1 -0
  46. package/dist/esm/SheetModal/SheetHeader.mjs +11 -14
  47. package/dist/esm/SheetModal/SheetHeader.mjs.map +1 -1
  48. package/dist/esm/SheetModal/SheetHeader.native.js +11 -14
  49. package/dist/esm/SheetModal/SheetHeader.native.js.map +1 -1
  50. package/dist/esm/SheetModal/index.mjs +61 -22
  51. package/dist/esm/SheetModal/index.mjs.map +1 -1
  52. package/dist/esm/SheetModal/index.native.js +89 -67
  53. package/dist/esm/SheetModal/index.native.js.map +1 -1
  54. package/dist/esm/actions/StandardAction.mjs +63 -2
  55. package/dist/esm/actions/StandardAction.mjs.map +1 -1
  56. package/dist/esm/actions/StandardAction.native.js +64 -2
  57. package/dist/esm/actions/StandardAction.native.js.map +1 -1
  58. package/dist/esm/appShell/TabHost.native.js +26 -5
  59. package/dist/esm/appShell/TabHost.native.js.map +1 -1
  60. package/dist/esm/appShell/bottomChrome.mjs +2 -1
  61. package/dist/esm/appShell/bottomChrome.mjs.map +1 -1
  62. package/dist/esm/appShell/bottomChrome.native.js +2 -1
  63. package/dist/esm/appShell/bottomChrome.native.js.map +1 -1
  64. package/dist/esm/appShell/index.mjs +2 -2
  65. package/dist/esm/appShell/index.mjs.map +1 -1
  66. package/dist/esm/appShell/index.native.js +2 -2
  67. package/dist/esm/appShell/index.native.js.map +1 -1
  68. package/dist/esm/charts/ChartDataView.mjs +0 -1
  69. package/dist/esm/charts/ChartDataView.mjs.map +1 -1
  70. package/dist/esm/charts/ChartDataView.native.js +0 -1
  71. package/dist/esm/charts/ChartDataView.native.js.map +1 -1
  72. package/dist/esm/icons/lucide.mjs +11 -3
  73. package/dist/esm/icons/lucide.mjs.map +1 -1
  74. package/dist/esm/icons/lucide.native.js +11 -3
  75. package/dist/esm/icons/lucide.native.js.map +1 -1
  76. package/dist/esm/icons/themed.mjs +4 -1
  77. package/dist/esm/icons/themed.mjs.map +1 -1
  78. package/dist/esm/icons/themed.native.js +4 -1
  79. package/dist/esm/icons/themed.native.js.map +1 -1
  80. package/dist/esm/layouts/page.mjs +26 -3
  81. package/dist/esm/layouts/page.mjs.map +1 -1
  82. package/dist/esm/layouts/page.native.js +28 -3
  83. package/dist/esm/layouts/page.native.js.map +1 -1
  84. package/dist/esm/layouts/timeline.mjs +2 -1
  85. package/dist/esm/layouts/timeline.mjs.map +1 -1
  86. package/dist/esm/layouts/timeline.native.js +2 -1
  87. package/dist/esm/layouts/timeline.native.js.map +1 -1
  88. package/dist/esm/surfaces.mjs +1 -1
  89. package/dist/esm/surfaces.mjs.map +1 -1
  90. package/dist/esm/surfaces.native.js +1 -1
  91. package/dist/esm/surfaces.native.js.map +1 -1
  92. package/dist/esm/views/FilePreview.mjs +1 -1
  93. package/dist/esm/views/FilePreview.mjs.map +1 -1
  94. package/dist/esm/views/FilePreview.native.js +1 -1
  95. package/dist/esm/views/FilePreview.native.js.map +1 -1
  96. package/dist/jsx/SheetModal/SheetBodyRegion.mjs +19 -0
  97. package/dist/jsx/SheetModal/SheetBodyRegion.mjs.map +1 -0
  98. package/dist/jsx/SheetModal/SheetBodyRegion.native.js +48 -0
  99. package/dist/jsx/SheetModal/SheetBodyRegion.native.js.map +1 -0
  100. package/dist/jsx/SheetModal/SheetHeader.mjs +11 -14
  101. package/dist/jsx/SheetModal/SheetHeader.mjs.map +1 -1
  102. package/dist/jsx/SheetModal/SheetHeader.native.js +11 -14
  103. package/dist/jsx/SheetModal/SheetHeader.native.js.map +1 -1
  104. package/dist/jsx/SheetModal/index.mjs +61 -22
  105. package/dist/jsx/SheetModal/index.mjs.map +1 -1
  106. package/dist/jsx/SheetModal/index.native.js +87 -65
  107. package/dist/jsx/SheetModal/index.native.js.map +1 -1
  108. package/dist/jsx/actions/StandardAction.mjs +63 -2
  109. package/dist/jsx/actions/StandardAction.mjs.map +1 -1
  110. package/dist/jsx/actions/StandardAction.native.js +63 -1
  111. package/dist/jsx/actions/StandardAction.native.js.map +1 -1
  112. package/dist/jsx/appShell/TabHost.native.js +24 -3
  113. package/dist/jsx/appShell/TabHost.native.js.map +1 -1
  114. package/dist/jsx/appShell/bottomChrome.mjs +2 -1
  115. package/dist/jsx/appShell/bottomChrome.mjs.map +1 -1
  116. package/dist/jsx/appShell/bottomChrome.native.js +3 -0
  117. package/dist/jsx/appShell/bottomChrome.native.js.map +1 -1
  118. package/dist/jsx/appShell/index.mjs +2 -2
  119. package/dist/jsx/appShell/index.mjs.map +1 -1
  120. package/dist/jsx/appShell/index.native.js +2 -1
  121. package/dist/jsx/charts/ChartDataView.mjs +0 -1
  122. package/dist/jsx/charts/ChartDataView.mjs.map +1 -1
  123. package/dist/jsx/charts/ChartDataView.native.js +0 -1
  124. package/dist/jsx/charts/ChartDataView.native.js.map +1 -1
  125. package/dist/jsx/icons/lucide.mjs +11 -3
  126. package/dist/jsx/icons/lucide.mjs.map +1 -1
  127. package/dist/jsx/icons/lucide.native.js +16 -8
  128. package/dist/jsx/icons/lucide.native.js.map +1 -1
  129. package/dist/jsx/icons/themed.mjs +4 -1
  130. package/dist/jsx/icons/themed.mjs.map +1 -1
  131. package/dist/jsx/icons/themed.native.js +4 -1
  132. package/dist/jsx/icons/themed.native.js.map +1 -1
  133. package/dist/jsx/layouts/page.mjs +26 -3
  134. package/dist/jsx/layouts/page.mjs.map +1 -1
  135. package/dist/jsx/layouts/page.native.js +27 -2
  136. package/dist/jsx/layouts/page.native.js.map +1 -1
  137. package/dist/jsx/layouts/timeline.mjs +2 -1
  138. package/dist/jsx/layouts/timeline.mjs.map +1 -1
  139. package/dist/jsx/layouts/timeline.native.js +4 -3
  140. package/dist/jsx/layouts/timeline.native.js.map +1 -1
  141. package/dist/jsx/surfaces.mjs +1 -1
  142. package/dist/jsx/surfaces.mjs.map +1 -1
  143. package/dist/jsx/surfaces.native.js +1 -1
  144. package/dist/jsx/views/FilePreview.mjs +1 -1
  145. package/dist/jsx/views/FilePreview.mjs.map +1 -1
  146. package/dist/jsx/views/FilePreview.native.js +1 -1
  147. package/dist/jsx/views/FilePreview.native.js.map +1 -1
  148. package/package.json +7 -7
  149. package/src/SheetFrame.stories.tsx +2 -2
  150. package/src/SheetModal/SheetBodyRegion.tsx +19 -0
  151. package/src/SheetModal/SheetHeader.tsx +23 -27
  152. package/src/SheetModal/SheetModal.grabber.spec.tsx +52 -10
  153. package/src/SheetModal/SheetModal.native.spec.tsx +90 -6
  154. package/src/SheetModal/SheetModal.noHeaderBar.spec.tsx +103 -0
  155. package/src/SheetModal/SheetModal.onDismiss.spec.tsx +35 -0
  156. package/src/SheetModal/SheetModal.stories.spec.tsx +11 -13
  157. package/src/SheetModal/SheetModal.stories.tsx +2 -6
  158. package/src/SheetModal/SheetModal.titleRow.spec.tsx +203 -0
  159. package/src/SheetModal/index.native.tsx +83 -54
  160. package/src/SheetModal/index.tsx +99 -25
  161. package/src/SheetScrollView/SheetScrollView.stories.tsx +2 -2
  162. package/src/actions/StandardAction.tsx +72 -4
  163. package/src/appShell/TabHost.native.tsx +50 -5
  164. package/src/appShell/TabHost.nestedScroll.spec.tsx +177 -0
  165. package/src/appShell/bottomChrome.ts +2 -0
  166. package/src/appShell/index.ts +1 -1
  167. package/src/charts/ChartDataView.tsx +0 -1
  168. package/src/charts/Charts.stories.tsx +20 -0
  169. package/src/icons/lucide.glyphGrid.spec.tsx +41 -0
  170. package/src/icons/lucide.ts +21 -2
  171. package/src/icons/themed.tsx +6 -2
  172. package/src/layouts/page.tsx +35 -2
  173. package/src/layouts/severityShape.spec.tsx +31 -0
  174. package/src/layouts/timeline.tsx +1 -1
  175. package/src/surfaces.spec.tsx +6 -2
  176. package/src/surfaces.tsx +1 -1
  177. package/src/views/FilePreview.tsx +1 -8
  178. package/src/views/filePreview.spec.tsx +3 -4
  179. package/types/Chip/index.d.ts +1 -1
  180. package/types/Collapsible.d.ts +1 -1
  181. package/types/Dialog.d.ts +3 -3
  182. package/types/SheetModal/SheetBodyRegion.d.ts +9 -0
  183. package/types/SheetModal/SheetBodyRegion.d.ts.map +1 -0
  184. package/types/SheetModal/SheetHeader.d.ts +4 -4
  185. package/types/SheetModal/SheetHeader.d.ts.map +1 -1
  186. package/types/SheetModal/index.d.ts +12 -4
  187. package/types/SheetModal/index.d.ts.map +1 -1
  188. package/types/SheetModal/index.native.d.ts +1 -1
  189. package/types/SheetModal/index.native.d.ts.map +1 -1
  190. package/types/actions/StandardAction.d.ts +4 -3
  191. package/types/actions/StandardAction.d.ts.map +1 -1
  192. package/types/appShell/TabHost.native.d.ts.map +1 -1
  193. package/types/appShell/bottomChrome.d.ts +1 -0
  194. package/types/appShell/bottomChrome.d.ts.map +1 -1
  195. package/types/appShell/index.d.ts +1 -1
  196. package/types/appShell/index.d.ts.map +1 -1
  197. package/types/charts/ChartDataView.d.ts.map +1 -1
  198. package/types/icons/lucide.d.ts +7 -3
  199. package/types/icons/lucide.d.ts.map +1 -1
  200. package/types/icons/themed.d.ts.map +1 -1
  201. package/types/layouts/page.d.ts.map +1 -1
  202. package/types/layouts/timeline.d.ts.map +1 -1
  203. package/types/views/FilePreview.d.ts.map +1 -1
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @vitest-environment jsdom
3
+ *
4
+ * FZ-8996: MPO's own lucide MenuIcon inside a Button drew as one solid blob,
5
+ * because Button outlined it with Phosphor's 8-unit bold stroke on lucide's
6
+ * 24-unit grid. MPO's lucide re-exports carry their grid, so Button leaves
7
+ * their stroke alone. The repro is WealthFlow's header button.
8
+ */
9
+
10
+ import { Button } from "@multiplatform.one/forms";
11
+ import { renderWithProviders } from "@multiplatform.one/test-utils";
12
+ import { cleanup, screen } from "@testing-library/react";
13
+ import { afterEach, describe, expect, it } from "vitest";
14
+ import { Eye, MenuIcon, Pencil } from "./lucide";
15
+
16
+ afterEach(cleanup);
17
+
18
+ function strokeWidths(label: string): string[] {
19
+ const button = screen.getByLabelText(label);
20
+ return Array.from(button.querySelectorAll("svg, svg *"))
21
+ .map((node) => node.getAttribute("stroke-width") ?? node.getAttribute("strokeWidth"))
22
+ .filter((value): value is string => value != null);
23
+ }
24
+
25
+ describe("MPO's lucide icons keep their own stroke in a Button (FZ-8996)", () => {
26
+ it.each([
27
+ ["component", <Button key="c" size="$3" chromeless icon={MenuIcon} aria-label="Controls" />],
28
+ ["element", <Button key="e" icon={<MenuIcon />} aria-label="Controls" />],
29
+ ])("MenuIcon as a %s draws lucide's 2-unit lines, not an 8-unit blob", (_kind, ui) => {
30
+ renderWithProviders(ui);
31
+ const widths = strokeWidths("Controls");
32
+ expect(widths.length).toBeGreaterThan(0);
33
+ expect(widths.every((w) => Number(w) <= 2)).toBe(true);
34
+ });
35
+
36
+ it("every lucide re-export is marked", () => {
37
+ for (const Icon of [Eye, MenuIcon, Pencil]) {
38
+ expect((Icon as unknown as { mpGlyphGrid?: number }).mpGlyphGrid).toBe(24);
39
+ }
40
+ });
41
+ });
@@ -1,6 +1,25 @@
1
1
  /** Thin re-export so apps/packages/features never import @tamagui/lucide-icons-2. */
2
- export { Eye, EyeOff, Github, Info, Mail, Pencil } from "@tamagui/lucide-icons-2";
2
+ import { markGlyphGrid } from "@multiplatform.one/forms";
3
+ import {
4
+ Eye as LucideEye,
5
+ EyeOff as LucideEyeOff,
6
+ Github as LucideGithub,
7
+ Info as LucideInfo,
8
+ Mail as LucideMail,
9
+ Menu as LucideMenu,
10
+ Pencil as LucidePencil,
11
+ } from "@tamagui/lucide-icons-2";
12
+
13
+ // FZ-8996: lucide draws on a 24-unit grid with its own stroke, so a Button
14
+ // must not outline it with Phosphor's 256-grid bold stroke.
15
+ const LUCIDE_GRID = 24;
16
+ export const Eye = markGlyphGrid(LucideEye, LUCIDE_GRID);
17
+ export const EyeOff = markGlyphGrid(LucideEyeOff, LUCIDE_GRID);
18
+ export const Github = markGlyphGrid(LucideGithub, LUCIDE_GRID);
19
+ export const Info = markGlyphGrid(LucideInfo, LUCIDE_GRID);
20
+ export const Mail = markGlyphGrid(LucideMail, LUCIDE_GRID);
21
+ export const Pencil = markGlyphGrid(LucidePencil, LUCIDE_GRID);
3
22
  // Aliased: bare `Menu` is the lucide hamburger. Tamagui Menu / create-menu
4
23
  // are unused leftovers and are not house barrel names (R9 G7). Package
5
24
  // root re-exports this as `Menu` after the curated tamagui surface.
6
- export { Menu as MenuIcon } from "@tamagui/lucide-icons-2";
25
+ export const MenuIcon = markGlyphGrid(LucideMenu, LUCIDE_GRID);
@@ -1,4 +1,5 @@
1
1
  import { useTouchSurface, sizeRecipeForToken, useGlyphColor } from "@multiplatform.one/theme";
2
+ import { glyphGrid, markGlyphGrid } from "@multiplatform.one/forms";
2
3
  import type { FC } from "react";
3
4
  import { getVariable, isWeb, useProps, useTheme } from "tamagui";
4
5
 
@@ -8,7 +9,7 @@ import { getVariable, isWeb, useProps, useTheme } from "tamagui";
8
9
  * MinusRegular contract: SVG defaults MUST NOT fall back to black).
9
10
  */
10
11
  export function themed<A extends FC>(Component: A) {
11
- return ((props: any) => {
12
+ const Themed = (props: any) => {
12
13
  const touch = useTouchSurface();
13
14
  const { color, disableTheme, size } = useProps(props);
14
15
  const theme = useTheme();
@@ -29,5 +30,8 @@ export function themed<A extends FC>(Component: A) {
29
30
  size={typeof size === "string" ? sizeRecipeForToken(size, { touch }).iconSize : size}
30
31
  />
31
32
  );
32
- }) as A;
33
+ };
34
+ // FZ-8996: the wrapper draws on its glyph's grid, so Button still knows it.
35
+ const grid = glyphGrid(Component);
36
+ return (grid === undefined ? Themed : markGlyphGrid(Themed, grid)) as unknown as A;
33
37
  }
@@ -57,6 +57,7 @@ import {
57
57
  cloneElement,
58
58
  createContext,
59
59
  isValidElement,
60
+ useCallback,
60
61
  useContext,
61
62
  useState,
62
63
  type ReactElement,
@@ -180,7 +181,10 @@ export function Screen(props: ScreenProps) {
180
181
  * does not scroll. It never pins a second top bar (its `topBar` sits at the
181
182
  * head of its content), never avoids the keyboard a second time, and opens no
182
183
  * bottom edge of its own. Its large title stays a heading in the content so
183
- * the parent's bar keeps the parent's title.
184
+ * the parent's bar keeps the parent's title. Where the parent's region runs
185
+ * under the bottom chrome (a native tab screen), the scroll view it owns ends
186
+ * with the page's bottom gutter and the chrome's clearance, so its last row
187
+ * rests one gutter above the tab bar.
184
188
  */
185
189
  function NestedScreen({
186
190
  parent,
@@ -208,6 +212,7 @@ function NestedScreen({
208
212
  scrolls={scroll || parent.scrolls}
209
213
  inset={inset}
210
214
  capped={parent.capped || cap !== null}
215
+ holdBottomEdge={parent.holdBottomEdge}
211
216
  >
212
217
  {ownInset ? <PageGutter inset={ownInset}>{children}</PageGutter> : children}
213
218
  </ScreenNesting>
@@ -223,6 +228,9 @@ function NestedScreen({
223
228
  width="100%"
224
229
  {...(cap ? { maxWidth: cap, alignSelf: "center" } : null)}
225
230
  {...(ownInset ? knobProps.panelPadding : null)}
231
+ {...(ownsScroll && parent.underChrome && parent.inset
232
+ ? { paddingBottom: parent.inset }
233
+ : null)}
226
234
  {...knobProps.gapLg}
227
235
  {...rest}
228
236
  >
@@ -248,6 +256,14 @@ function NestedScreen({
248
256
  }}
249
257
  >
250
258
  {column}
259
+ {parent.underChrome ? (
260
+ <YStack
261
+ height={parent.underChrome}
262
+ flexShrink={0}
263
+ aria-hidden
264
+ data-testid="screen-chrome-clearance"
265
+ />
266
+ ) : null}
251
267
  </ScrollView>
252
268
  </YStack>
253
269
  </ScreenScrollScope>
@@ -314,6 +330,17 @@ function PageShell({
314
330
  const scrollState = useScreenScrollController();
315
331
  useReportScreenScroll(scrollState.state, Boolean(topBar), useInlinePageTitle());
316
332
  const [accessories] = useState(createBottomAccessoryStore);
333
+ const [edgeHolders, setEdgeHolders] = useState<ReadonlySet<symbol>>(() => new Set());
334
+ const holdBottomEdge = useCallback((id: symbol, held: boolean) => {
335
+ setEdgeHolders((prev) => {
336
+ if (prev.has(id) === held) return prev;
337
+ const next = new Set(prev);
338
+ if (held) next.add(id);
339
+ else next.delete(id);
340
+ return next;
341
+ });
342
+ }, []);
343
+ const edgeHeld = edgeHolders.size > 0;
317
344
  const inset = noPadding ? null : (knobProps.panelPadding.padding as string);
318
345
  const cap = maxWidth && !bleed ? maxWidth : null;
319
346
 
@@ -328,6 +355,7 @@ function PageShell({
328
355
  width="100%"
329
356
  {...(maxWidth && !bleed ? { maxWidth, alignSelf: "center" } : null)}
330
357
  {...(noPadding ? null : knobProps.panelPadding)}
358
+ {...(edgeHeld ? { paddingBottom: 0 } : null)}
331
359
  {...knobProps.gapLg}
332
360
  {...rest}
333
361
  >
@@ -335,7 +363,12 @@ function PageShell({
335
363
  insetToken lets PageHeader bleed its hairline to the column edges. */}
336
364
  <PageHeadingScope insetToken={noPadding ? null : (knobProps.panelPadding.padding as string)}>
337
365
  <PageGutter inset={noPadding ? null : (knobProps.panelPadding.padding as string)}>
338
- <ScreenNesting scrolls={scroll} inset={inset} capped={cap !== null}>
366
+ <ScreenNesting
367
+ scrolls={scroll}
368
+ inset={inset}
369
+ capped={cap !== null}
370
+ holdBottomEdge={holdBottomEdge}
371
+ >
339
372
  {children}
340
373
  </ScreenNesting>
341
374
  </PageGutter>
@@ -0,0 +1,31 @@
1
+ import { render } from "@testing-library/react";
2
+ import { expect, it } from "vitest";
3
+ import { createDefaultThemeConfig } from "@multiplatform.one/theme";
4
+ import { TamaguiProvider } from "tamagui";
5
+ import { Chip } from "../Chip";
6
+ import { StatusDot } from "./StatusDot";
7
+
8
+ it("LC-288: a status is a round mark with its word, a red category is a chip with no status mark", () => {
9
+ const config = createDefaultThemeConfig({});
10
+ const view = render(
11
+ <TamaguiProvider config={config.tamagui} defaultTheme="light">
12
+ <StatusDot tone="critical">Down</StatusDot>
13
+ <Chip color="red">Billing</Chip>
14
+ </TamaguiProvider>,
15
+ );
16
+
17
+ const mark = view.container.querySelector<HTMLElement>('[data-tone="critical"]');
18
+ expect(mark).toBeTruthy();
19
+ const markStyle = getComputedStyle(mark as HTMLElement);
20
+ expect(markStyle.width).toMatch(/^\d+(\.\d+)?px$/);
21
+ expect(markStyle.width).toBe(markStyle.height);
22
+ expect(Number.parseFloat(markStyle.borderTopLeftRadius) * 2).toBe(
23
+ Number.parseFloat(markStyle.width),
24
+ );
25
+ expect(view.getByText("Down")).toBeTruthy();
26
+
27
+ const chip = view.getByText("Billing").closest("[data-chip]") as HTMLElement;
28
+ expect(chip).toBeTruthy();
29
+ expect(chip.querySelector("[data-tone]")).toBeNull();
30
+ expect(getComputedStyle(chip).borderTopLeftRadius).not.toBe(markStyle.borderTopLeftRadius);
31
+ });
@@ -10,6 +10,7 @@ import {
10
10
  UserIcon,
11
11
  UserPlusIcon,
12
12
  } from "@phosphor-icons/react";
13
+ import { Button } from "@multiplatform.one/forms";
13
14
  import { useDirection } from "../hooks/useDirection";
14
15
  import {
15
16
  MIN_PRESS_TARGET,
@@ -30,7 +31,6 @@ import {
30
31
  import React, { useCallback, useMemo, useState } from "react";
31
32
  import { useTranslation } from "../shared/i18n";
32
33
  import {
33
- Button,
34
34
  H2,
35
35
  H3,
36
36
  H4,
@@ -89,7 +89,7 @@ describe("SheetFrame overlay chrome", () => {
89
89
  expect(sheet).not.toContain('backgroundColor: "$background"');
90
90
  expect(sheet).toContain("<Surface painted={false} elevated>");
91
91
  expect(sheet).toContain("transitionProps(knobProps.motion.overlay)");
92
- expect(sheet).toContain("containerRadius");
92
+ expect(sheet).toContain("knobProps.sheetRadius");
93
93
  expect(sheet).not.toContain("knobProps.surface");
94
94
  expect(sheet).not.toMatch(/#[0-9A-Fa-f]{3,8}/);
95
95
  });
@@ -244,9 +244,11 @@ describe("overlay containers take the Axiom 1 child-clip cap (MPO-150)", () => {
244
244
  expect(capped, "the cap must spread AFTER the uncapped scale token").toBeGreaterThan(elevated);
245
245
  });
246
246
 
247
+ const sheetStop = { medium: 20, large: 44, full: 44 } as const;
247
248
  for (const [borderRadius, stop] of Object.entries({ medium: 14, large: 20, full: 44 })) {
248
249
  {
249
250
  const capped = Math.min(stop, 16);
251
+ const sheetCapped = Math.min(sheetStop[borderRadius as keyof typeof sheetStop], 16);
250
252
  it(`caps every overlay frame at ${capped}px for borderRadius=${borderRadius} on the panelPadding role`, () => {
251
253
  render(
252
254
  <TamaguiProvider config={overlayCapConfig} defaultTheme="light">
@@ -283,7 +285,9 @@ describe("overlay containers take the Axiom 1 child-clip cap (MPO-150)", () => {
283
285
  expect(frame, `${id} frame`).toBeTruthy();
284
286
  const style = getComputedStyle(frame as Element);
285
287
  for (const corner of overlayCapCorners) {
286
- expect(style[corner], `${id} ${corner}`).toBe(`${capped}px`);
288
+ expect(style[corner], `${id} ${corner}`).toBe(
289
+ `${id === "cap-sheet" ? sheetCapped : capped}px`,
290
+ );
287
291
  }
288
292
  }
289
293
  });
package/src/surfaces.tsx CHANGED
@@ -66,7 +66,7 @@ export const SheetFrame = forwardRef<TamaguiElement, ViewProps & { children?: Re
66
66
  const frameProps = {
67
67
  ref,
68
68
  ...knobProps.elevatedSurface,
69
- ...knobProps.containerRadius,
69
+ ...knobProps.sheetRadius,
70
70
  ...knobProps.panelPadding,
71
71
  ...transitionProps(knobProps.motion.overlay),
72
72
  ...overlayFrameFocus,
@@ -508,14 +508,7 @@ export function FileViewer({ file, open, onOpenChange }: Readonly<FileViewerProp
508
508
 
509
509
  if (!isWeb || sizeClass === "compact") {
510
510
  return (
511
- <SheetModal
512
- open={open}
513
- onOpenChange={onOpenChange}
514
- header={header}
515
- fill
516
- flush
517
- snapPoint={isWeb ? 100 : 94}
518
- >
511
+ <SheetModal open={open} onOpenChange={onOpenChange} header={header} fill flush snapPoint={94}>
519
512
  <View
520
513
  testID="file-viewer-body"
521
514
  flex={1}
@@ -111,16 +111,15 @@ describe("FilePreviewRow (LC-146 round 109: a file in nested content is a row, n
111
111
  expect(row.textContent).not.toContain("hunter2");
112
112
  });
113
113
 
114
- it("opens the whole file in a full-height sheet on a phone, and ✕ closes it", async () => {
114
+ it("opens the whole file in a tall sheet on a phone with no ✕, and Escape closes it", async () => {
115
115
  const { container } = renderWithProviders(folder(compose));
116
116
  fireEvent.click(fileRow(container));
117
117
  const sheet = await viewer();
118
118
  expect(sheet.getAttribute("data-file-viewer")).toBe("sheet");
119
119
  expect(document.body.textContent).toContain("unless-stopped");
120
120
  expect(document.querySelector('[data-sheet-form="bottom"]')).not.toBeNull();
121
- const closeButton = document.querySelector<HTMLElement>('[data-testid="file-viewer-close"]')!;
122
- expect(closeButton).not.toBeNull();
123
- fireEvent.click(closeButton);
121
+ expect(document.querySelector('[data-testid="file-viewer-close"]')).toBeNull();
122
+ fireEvent.keyDown(window, { key: "Escape" });
124
123
  await waitFor(() => expect(fileRow(container).getAttribute("data-selected")).not.toBe("true"));
125
124
  });
126
125
 
@@ -87,7 +87,7 @@ export declare function chipFrameGeometry(token: string): {
87
87
  */
88
88
  export declare const ChipFrame: import("tamagui").TamaguiComponent<import("@tamagui/web").TamaDefer, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
89
89
  size?: import("tamagui").SizeTokens | undefined;
90
- variant?: "filled" | "outlined" | "solid" | "outline" | "subtle" | "ghost" | undefined;
90
+ variant?: "solid" | "filled" | "outlined" | "outline" | "subtle" | "ghost" | undefined;
91
91
  }, import("@tamagui/web").StaticConfigPublic>;
92
92
  export declare const ChipText: import("tamagui").TamaguiComponent<import("@tamagui/web").TamaDefer, import("tamagui").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
93
93
  size?: import("tamagui").SizeTokens | undefined;
@@ -7,7 +7,7 @@ export type CollapsibleTriggerProps = ComponentProps<typeof TamaguiCollapsible.T
7
7
  export declare const Collapsible: import("react").ForwardRefExoticComponent<Omit<import("tamagui").CollapsibleProps & {
8
8
  __scopeCollapsible?: string;
9
9
  } & import("react").RefAttributes<import("tamagui").TamaguiElement>, "ref"> & import("react").RefAttributes<import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods)>> & {
10
- Trigger: import("tamagui").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("tamagui").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {}>, "type" | "b" | "br" | "col" | "p" | "px" | `$${string}` | "r" | "h" | "l" | "lh" | "pt" | "ussel" | "cur" | "pe" | "ff" | "fos" | "fost" | "fow" | "ls" | "ta" | "tt" | "ww" | "ac" | "ai" | "als" | "bc" | "bg" | "bbc" | "bblr" | "bbrr" | "bbw" | "blc" | "blw" | "boc" | "bs" | "brw" | "brc" | "btc" | "btlr" | "btrr" | "btw" | "bw" | "dsp" | "f" | "fb" | "fd" | "fg" | "fs" | "fw" | "jc" | "m" | "mah" | "maw" | "mb" | "mih" | "miw" | "ml" | "mr" | "mt" | "mx" | "my" | "o" | "ov" | "pb" | "pl" | "pos" | "pr" | "py" | "shac" | "shar" | "shof" | "shop" | "t" | "w" | "zi" | `$${number}` | import("@tamagui/web").GroupMediaKeys | keyof import("tamagui").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | keyof import("react").RefAttributes<import("tamagui").TamaguiElement>> & Omit<import("tamagui").StackNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("react").RefAttributes<import("tamagui").TamaguiElement> & {
10
+ Trigger: import("tamagui").TamaguiComponent<Omit<import("@tamagui/web").GetFinalProps<import("tamagui").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {}>, "type" | "b" | "br" | "col" | "p" | "r" | "h" | "l" | "px" | `$${string}` | "lh" | "pt" | "ussel" | "cur" | "pe" | "ff" | "fos" | "fost" | "fow" | "ls" | "ta" | "tt" | "ww" | "ac" | "ai" | "als" | "bc" | "bg" | "bbc" | "bblr" | "bbrr" | "bbw" | "blc" | "blw" | "boc" | "bs" | "brw" | "brc" | "btc" | "btlr" | "btrr" | "btw" | "bw" | "dsp" | "f" | "fb" | "fd" | "fg" | "fs" | "fw" | "jc" | "m" | "mah" | "maw" | "mb" | "mih" | "miw" | "ml" | "mr" | "mt" | "mx" | "my" | "o" | "ov" | "pb" | "pl" | "pos" | "pr" | "py" | "shac" | "shar" | "shof" | "shop" | "t" | "w" | "zi" | `$${number}` | import("@tamagui/web").GroupMediaKeys | keyof import("tamagui").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> | keyof import("react").RefAttributes<import("tamagui").TamaguiElement>> & Omit<import("tamagui").StackNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("react").RefAttributes<import("tamagui").TamaguiElement> & {
11
11
  /** Web button intent; disclosure controls do not submit forms by default. */
12
12
  type?: "button" | "submit" | "reset";
13
13
  }, import("tamagui").TamaguiElement, import("tamagui").StackNonStyleProps & void & Omit<import("tamagui").StackNonStyleProps, keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("react").RefAttributes<import("tamagui").TamaguiElement> & {
package/types/Dialog.d.ts CHANGED
@@ -64,7 +64,7 @@ export declare const Dialog: import("react").ForwardRefExoticComponent<{
64
64
  elevate?: boolean | undefined;
65
65
  bordered?: boolean | undefined;
66
66
  chromeless?: boolean | "all" | undefined;
67
- }>, "children" | "style" | "className" | "theme" | "debug" | "size" | "elevation" | `$${string}` | "id" | "transparent" | "scope" | "disabled" | "group" | "onChange" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | "download" | "rel" | "target" | `$${number}` | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | import("@tamagui/web").GroupMediaKeys | "circular" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerUpCapture" | "onOpenAutoFocus" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | "trapFocus" | "onCloseAutoFocus" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
67
+ }>, "children" | "style" | "className" | "theme" | "debug" | "transparent" | "scope" | "size" | "elevation" | `$${string}` | "id" | "disabled" | "group" | "onChange" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | "download" | "rel" | "target" | `$${number}` | "elevationAndroid" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | import("@tamagui/web").GroupMediaKeys | "circular" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerUpCapture" | "onOpenAutoFocus" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | "trapFocus" | "onCloseAutoFocus" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
68
68
  unstyled?: boolean | undefined;
69
69
  elevation?: number | import("tamagui").SizeTokens | undefined;
70
70
  fullscreen?: boolean | undefined;
@@ -74,7 +74,7 @@ export declare const Dialog: import("react").ForwardRefExoticComponent<{
74
74
  elevate?: boolean | undefined;
75
75
  bordered?: boolean | undefined;
76
76
  chromeless?: boolean | "all" | undefined;
77
- } & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>>> & Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | "elevation" | "transparent" | "unstyled" | "circular" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
77
+ } & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>>> & Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "transparent" | "size" | "elevation" | "unstyled" | "circular" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
78
78
  unstyled?: boolean | undefined;
79
79
  elevation?: number | import("tamagui").SizeTokens | undefined;
80
80
  fullscreen?: boolean | undefined;
@@ -145,7 +145,7 @@ export declare const Dialog: import("react").ForwardRefExoticComponent<{
145
145
  };
146
146
  }, "onPointerDownCapture" | "context"> & {
147
147
  scope?: import("tamagui").DialogScopes;
148
- }, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | "elevation" | "transparent" | "unstyled" | "circular" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
148
+ }, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "transparent" | "size" | "elevation" | "unstyled" | "circular" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | "elevate" | "bordered" | "chromeless"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
149
149
  unstyled?: boolean | undefined;
150
150
  elevation?: number | import("tamagui").SizeTokens | undefined;
151
151
  fullscreen?: boolean | undefined;
@@ -0,0 +1,9 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * A sheet's body: a dialog region (DG-OVL-04) and a sheet body (FZ-11418), so
4
+ * an `OverlayHeader` inside draws its title as content with no ✕.
5
+ */
6
+ export declare function SheetBodyRegion({ children }: {
7
+ children?: ReactNode;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=SheetBodyRegion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SheetBodyRegion.d.ts","sourceRoot":"","sources":["../../src/SheetModal/SheetBodyRegion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAQrE"}
@@ -6,10 +6,10 @@ export declare function isOverlayHeader(node: ReactNode): node is ReactElement<O
6
6
  * icon buttons in the trailing area (LC-262 DIRECT-ACTIONS), never hidden in a
7
7
  * menu. The actions are a bar (LC-153), so they take the bar tint (LC-176).
8
8
  *
9
- * An `OverlayHeader` is the sheet's bar (FZ-8439, the iOS 26 sheet): ✕ leading,
10
- * the accent ✓ trailing, and `actions` between the title and the ✓, so the
11
- * confirm keeps the trailing edge. A lone action is not a group: on iOS its
12
- * glass is the same circle as the ✕, not a capsule.
9
+ * An `OverlayHeader` is the sheet's title row, content rather than a bar
10
+ * (FZ-11418): no ✕, the accent ✓ trailing, and `actions` between the title
11
+ * and the ✓, so the confirm keeps the trailing edge. A lone action is not a
12
+ * group: on iOS its glass is a circle, not a capsule.
13
13
  */
14
14
  export declare function SheetHeader({ header, actions, titleId, }: {
15
15
  header?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"SheetHeader.d.ts","sourceRoot":"","sources":["../../src/SheetModal/SheetHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAanF,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,IAAI,YAAY,CAAC,kBAAkB,CAAC,CAEzF;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,OAAO,GACR,EAAE;IACD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,2CAwCA"}
1
+ {"version":3,"file":"SheetHeader.d.ts","sourceRoot":"","sources":["../../src/SheetModal/SheetHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAanF,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,IAAI,YAAY,CAAC,kBAAkB,CAAC,CAEzF;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,OAAO,GACR,EAAE;IACD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,2CAoCA"}
@@ -14,9 +14,10 @@ export interface SheetModalProps {
14
14
  onOpenChange: (open: boolean) => void;
15
15
  children?: ReactNode;
16
16
  /**
17
- * Fixed content above the (scrollable) body. A sheet that confirms or
18
- * dismisses passes `OverlayHeader`: ✕ leading, the accent ✓ trailing, the
19
- * title between (FZ-8439). Its body holds no Cancel/confirm row.
17
+ * Content above the body. A sheet that confirms passes `OverlayHeader`:
18
+ * the title leading, the accent ✓ trailing, and no ✕ (FZ-8439, FZ-11418).
19
+ * That title row scrolls with a `scrollable` body. Its body holds no
20
+ * Cancel/confirm row.
20
21
  */
21
22
  header?: ReactNode;
22
23
  /**
@@ -59,6 +60,13 @@ export interface SheetModalProps {
59
60
  * does (Quick Look, Files); the header keeps the panel inset.
60
61
  */
61
62
  flush?: boolean;
63
+ /**
64
+ * Fires once the sheet is gone after a close, so a consumer can present
65
+ * what comes next without guessing at a delay: on iOS when UIKit finishes
66
+ * dismissing the modal, on Android once the close commits, on web when the
67
+ * exit slide completes.
68
+ */
69
+ onDismiss?: () => void;
62
70
  }
63
- export declare function SheetModal({ open, onOpenChange, children, header: headerContent, headerActions, snapPoint, detents, scrollable, fill, flush, }: SheetModalProps): import("react/jsx-runtime").JSX.Element;
71
+ export declare function SheetModal({ open, onOpenChange, children, header: headerContent, headerActions, snapPoint, detents, scrollable, fill, flush, onDismiss, }: SheetModalProps): import("react/jsx-runtime").JSX.Element;
64
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/SheetModal/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAcH,OAAO,EAA4B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AASjE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAkHD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EAAE,aAAa,EACrB,aAAa,EACb,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAY,EACZ,KAAa,GACd,EAAE,eAAe,2CA8GjB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/SheetModal/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAgBH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAU9E,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAoJD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EAAE,aAAa,EACrB,aAAa,EACb,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAY,EACZ,KAAa,EACb,SAAS,GACV,EAAE,eAAe,2CA0IjB"}
@@ -17,5 +17,5 @@
17
17
  */
18
18
  import type { SheetModalProps } from "./index";
19
19
  export type { SheetModalProps } from "./index";
20
- export declare function SheetModal({ open, onOpenChange, children, header: headerContent, headerActions, snapPoint, detents, scrollable, fill, flush, }: SheetModalProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function SheetModal({ open, onOpenChange, children, header: headerContent, headerActions, snapPoint, detents, scrollable, fill, flush, onDismiss, }: SheetModalProps): import("react/jsx-runtime").JSX.Element;
21
21
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/SheetModal/index.native.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAqDH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsB/C,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EAAE,aAAa,EACrB,aAAa,EACb,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAY,EACZ,KAAa,GACd,EAAE,eAAe,2CA4djB"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/SheetModal/index.native.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAqDH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqB/C,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,MAAM,EAAE,aAAa,EACrB,aAAa,EACb,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAY,EACZ,KAAa,EACb,SAAS,GACV,EAAE,eAAe,2CAwfjB"}
@@ -56,9 +56,10 @@ export interface OverlayHeaderProps {
56
56
  testID?: string;
57
57
  }
58
58
  /**
59
- * The house sheet and dialog header (LC-260, the iOS 26 sheet bar): ✕ leading
59
+ * The house dialog header (LC-260): ✕ leading
60
60
  * and an accent ✓ trailing around a centred title when the overlay confirms;
61
- * the title leading and ✕ trailing when it only dismisses.
61
+ * the title leading and ✕ trailing when it only dismisses. Inside a sheet it
62
+ * is content, not a bar (FZ-11418): no ✕, the title leading and the ✓ trailing.
62
63
  */
63
- export declare function OverlayHeader({ title, onClose, closeKind, closeLabel, onConfirm, confirmKind, confirmLabel, confirmDisabled, confirmDisabledReason, confirmLoading, actions, testID, }: OverlayHeaderProps): import("react/jsx-runtime").JSX.Element;
64
+ export declare function OverlayHeader(props: OverlayHeaderProps): import("react/jsx-runtime").JSX.Element;
64
65
  //# sourceMappingURL=StandardAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardAction.d.ts","sourceRoot":"","sources":["../../src/actions/StandardAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAuC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;A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C,EAC5B,KAAK,EACL,OAAO,EACP,SAAmB,EACnB,UAAU,EACV,SAAS,EACT,WAAoB,EACpB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,OAAO,EACP,MAAM,GACP,EAAE,kBAAkB,2CAqFpB"}
1
+ {"version":3,"file":"StandardAction.d.ts","sourceRoot":"","sources":["../../src/actions/StandardAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAuC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAM5E,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAC7C,eAAe,EACf,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,OAAO,CAC3C;IACC,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAChC,oFAAoF;IACpF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,OAAO,EACP,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAuBnB;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,6CAA+C,CAAC;AAElF,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC/B,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8CAA8C;I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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAuB,GACjE,UAAU,GAAG,IAAI,CASnB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAChD,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,GAAG,MAAM,GACvB,OAAO,CAOT;AAeD,6EAA6E;AAC7E,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,EAAE,EAAE,SAAQ,GAAG,OAAO,CAItF;AAED,0EAA0E;AAC1E,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,QAAQ,CAMxD;AAiBD,6EAA6E;AAC7E,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,OAAO,GACpB,MAAM,GAAG,IAAI,CAIf;AAED,iFAAiF;AACjF,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,SAAS,GAAG,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS,CAG3F;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,KAAK,EACL,SAAS,EACT,OAAO,EACP,UAAU,EACV,QAAQ,EACR,cAAsB,GACvB,EAAE,YAAY,GAAG;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,2CAkG/D;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,2CAI1C"}
@@ -19,4 +19,5 @@ export declare function useBottomAccessory(): ReactNode;
19
19
  export declare function setFloatingBarMounted(id: symbol, mounted: boolean): void;
20
20
  /** True while a floating TabBar is mounted and hosts the accessory. */
21
21
  export declare function useFloatingBarMounted(): boolean;
22
+ export { setBottomEdgeOwnedByTabHost, useBottomEdgeOwnedByTabHost } from "@multiplatform.one/theme";
22
23
  //# sourceMappingURL=bottomChrome.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bottomChrome.d.ts","sourceRoot":"","sources":["../../src/appShell/bottomChrome.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AA4B7D,0EAA0E;AAC1E,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,QAEnE;AAED,wFAAwF;AACxF,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAKD,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,QAEpE;AAED,uEAAuE;AACvE,wBAAgB,kBAAkB,IAAI,SAAS,CAE9C;AAED,sEAAsE;AACtE,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,QAEjE;AAED,uEAAuE;AACvE,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
1
+ {"version":3,"file":"bottomChrome.d.ts","sourceRoot":"","sources":["../../src/appShell/bottomChrome.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,OAAO,CAAC;AA4B7D,0EAA0E;AAC1E,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,QAEnE;AAED,wFAAwF;AACxF,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAKD,mFAAmF;AACnF,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,QAEpE;AAED,uEAAuE;AACvE,wBAAgB,kBAAkB,IAAI,SAAS,CAE9C;AAED,sEAAsE;AACtE,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,QAEjE;AAED,uEAAuE;AACvE,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C;AAED,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -7,6 +7,6 @@ export * from "./Springboard";
7
7
  export type { AppEntry } from "./appTile";
8
8
  export * from "./SettingsSplit";
9
9
  export * from "./AppShell";
10
- export { useBottomChromeInset } from "./bottomChrome";
10
+ export { useBottomChromeInset, useBottomEdgeOwnedByTabHost } from "./bottomChrome";
11
11
  export { BottomChromeClearance } from "./BottomChromeClearance";
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appShell/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,cAAc,eAAe,CAAC;AAC9B,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appShell/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,cAAc,eAAe,CAAC;AAC9B,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChartDataView.d.ts","sourceRoot":"","sources":["../../src/charts/ChartDataView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAanF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,4EAA4E;IAC5E,QAAQ,EAAE,CAAC,IAAI,EAAE;QACf,MAAM,EAAE,SAAS,CAAC;QAClB,IAAI,EAAE,UAAU,EAAE,CAAC;QACnB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;KAC3C,KAAK,SAAS,CAAC;CACjB;AAED,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA2F1F;AAED,6FAA6F;AAC7F,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,cAAc,EACd,KAAK,EACL,IAAI,EACJ,QAAQ,GACT,EAAE,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,GAAG;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,2UAkCA;AAsDD,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAO/D"}
1
+ {"version":3,"file":"ChartDataView.d.ts","sourceRoot":"","sources":["../../src/charts/ChartDataView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA8C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAanF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,4EAA4E;IAC5E,QAAQ,EAAE,CAAC,IAAI,EAAE;QACf,MAAM,EAAE,SAAS,CAAC;QAClB,IAAI,EAAE,UAAU,EAAE,CAAC;QACnB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;KAC3C,KAAK,SAAS,CAAC;CACjB;AAED,kFAAkF;AAClF,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA0F1F;AAED,6FAA6F;AAC7F,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,cAAc,EACd,KAAK,EACL,IAAI,EACJ,QAAQ,GACT,EAAE,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,GAAG;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,2UAkCA;AAsDD,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAO/D"}
@@ -1,4 +1,8 @@
1
- /** Thin re-export so apps/packages/features never import @tamagui/lucide-icons-2. */
2
- export { Eye, EyeOff, Github, Info, Mail, Pencil } from "@tamagui/lucide-icons-2";
3
- export { Menu as MenuIcon } from "@tamagui/lucide-icons-2";
1
+ export declare const Eye: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
2
+ export declare const EyeOff: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
3
+ export declare const Github: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
4
+ export declare const Info: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
5
+ export declare const Mail: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
6
+ export declare const Pencil: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
7
+ export declare const MenuIcon: (propsIn: import("@tamagui/helpers-icon").IconProps) => JSX.Element;
4
8
  //# sourceMappingURL=lucide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lucide.d.ts","sourceRoot":"","sources":["../../src/icons/lucide.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIlF,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"lucide.d.ts","sourceRoot":"","sources":["../../src/icons/lucide.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,GAAG,0DAdF,GAAI,CAAC,OAcqC,CAAC;AACzD,eAAO,MAAM,MAAM,0DAfL,GAAI,CAAC,OAe2C,CAAC;AAC/D,eAAO,MAAM,MAAM,0DAhBL,GAAI,CAAC,OAgB2C,CAAC;AAC/D,eAAO,MAAM,IAAI,0DAjBH,GAAI,CAAC,OAiBuC,CAAC;AAC3D,eAAO,MAAM,IAAI,0DAlBH,GAAI,CAAC,OAkBuC,CAAC;AAC3D,eAAO,MAAM,MAAM,0DAnBL,GAAI,CAAC,OAmB2C,CAAC;AAI/D,eAAO,MAAM,QAAQ,0DAvBP,GAAI,CAAC,OAuB2C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"themed.d.ts","sourceRoot":"","sources":["../../src/icons/themed.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,GAsBzC,CAAC,CACR"}
1
+ {"version":3,"file":"themed.d.ts","sourceRoot":"","sources":["../../src/icons/themed.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,GAyBkC,CAAC,CACnF"}