@multiplatform.one/components 7.1.0 → 7.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.
@@ -12,6 +12,8 @@
12
12
  * - intent: accent (default indicator hue) / error / warning / success
13
13
  * - overflow: horizontal scroll with web edge fades when tabs exceed width
14
14
  * - lazyMount: panels mount on first visit and stay mounted (state preserved)
15
+ * - fill: root + panel host grow into a bounded parent (Tabs contract,
16
+ * docs/theme-propagation-spec.md)
15
17
  *
16
18
  * LC-71: selected = underline or sliding fill; unselected have zero chrome;
17
19
  * keyboard ring on the focused tab only. LC-72: underline rounds only the
@@ -84,6 +86,27 @@ export interface TabsProps {
84
86
  compact?: boolean;
85
87
  /** Mount panels on first visit and keep them mounted (preserves state) */
86
88
  lazyMount?: boolean;
89
+ /**
90
+ * Grow into a bounded parent.
91
+ *
92
+ * By default every box in this component is `flex: 0 0 auto`, so the strip
93
+ * and the panels size to their content and the whole thing sits at the top
94
+ * of whatever contains it. That is right on a page, and wrong inside a box
95
+ * with a declared height — a modal, a sheet, a split pane — where the panel
96
+ * is supposed to take the leftover room and scroll inside it.
97
+ *
98
+ * `fill` opens the flex chain the panel needs: the tamagui root, the panel
99
+ * host and the active panel each get `flex: 1` plus `minHeight: 0`, which is
100
+ * the pair that lets a flex child shrink below its content height instead of
101
+ * pushing the container open. The strip keeps its intrinsic height, so it
102
+ * stays put while the panel scrolls under it.
103
+ *
104
+ * One prop rather than a style passthrough because the fix is three boxes
105
+ * deep: a `contentProps` escape hatch would reach the panel host and leave
106
+ * the root at `flex: 0 0 auto`, so the panel would still resolve against
107
+ * zero. A consumer cannot express this correctly from outside.
108
+ */
109
+ fill?: boolean;
87
110
  /** automatic (focus selects, default) or manual (Enter/Space selects). Web only. */
88
111
  activationMode?: "automatic" | "manual";
89
112
  /** Loop arrow-key navigation past the ends */
@@ -121,6 +144,15 @@ function underlineStackRadius(position: GroupPosition, radius: string | number |
121
144
  };
122
145
  }
123
146
 
147
+ /**
148
+ * The fill chain, in one place so the three boxes cannot drift apart.
149
+ * `flex: 1` grows into the leftover room; `minHeight: 0` is what lets the box
150
+ * shrink below its content instead of pushing its container open — a filling
151
+ * panel needs both on every link of the chain, or the innermost one resolves
152
+ * against zero.
153
+ */
154
+ const fillProps = { flex: 1, minHeight: 0 } as const;
155
+
124
156
  // ── Styled components ─────────────────────────────────────────
125
157
 
126
158
  const StripWrapper = styled(View, {
@@ -218,6 +250,7 @@ export function Tabs({
218
250
  size,
219
251
  compact,
220
252
  lazyMount = false,
253
+ fill = false,
221
254
  activationMode = "automatic",
222
255
  loop = true,
223
256
  disabled = false,
@@ -380,7 +413,12 @@ export function Tabs({
380
413
  activationMode={activationMode}
381
414
  width="100%"
382
415
  flexDirection="column"
416
+ // The root is the first link in the chain a filling panel needs.
417
+ // `flex: 1` alone is not enough — without `minHeight: 0` the column
418
+ // refuses to shrink below its content and the panel never gets a box.
419
+ {...(fill ? fillProps : undefined)}
383
420
  data-tabs-variant={variant}
421
+ data-tabs-fill={fill ? "true" : undefined}
384
422
  data-size-token={visualSizeToken}
385
423
  data-density={knobProps.density}
386
424
  data-visual-px={sizePx}
@@ -547,7 +585,11 @@ export function Tabs({
547
585
  </ScrollView>
548
586
  </StripWrapper>
549
587
 
550
- <YStack>
588
+ {/*
589
+ The panel host. Under `fill` it is the second link in the chain: it
590
+ grows into what the strip leaves and permits its own child to shrink.
591
+ */}
592
+ <YStack data-tabs-panels="" {...(fill ? fillProps : undefined)}>
551
593
  {items.map((item) => {
552
594
  if (item.content === undefined) return null;
553
595
  const isActive = item.value === currentValue;
@@ -559,6 +601,7 @@ export function Tabs({
559
601
  value={item.value}
560
602
  forceMount
561
603
  display={isActive ? "flex" : "none"}
604
+ {...(fill ? fillProps : undefined)}
562
605
  {...knobProps.panelPadding}
563
606
  tabIndex={-1}
564
607
  outlineWidth={0}
@@ -573,6 +616,7 @@ export function Tabs({
573
616
  <TamaguiTabs.Content
574
617
  key={item.value}
575
618
  value={item.value}
619
+ {...(fill ? fillProps : undefined)}
576
620
  {...knobProps.panelPadding}
577
621
  tabIndex={-1}
578
622
  outlineWidth={0}
@@ -27,6 +27,7 @@ import { renderWithProviders } from "@multiplatform.one/test-utils";
27
27
  import * as tamagui from "tamagui";
28
28
  import { afterEach, describe, expect, it } from "vitest";
29
29
  import * as pkg from "./index";
30
+ import { componentColors, sectionHeading } from "./componentColors";
30
31
  import { knobImmuneExports } from "./knobImmuneExports";
31
32
 
32
33
  const barrel = pkg as Record<string, unknown>;
@@ -99,6 +100,27 @@ describe("export surface partition (LC-70)", () => {
99
100
  });
100
101
  });
101
102
 
103
+ describe("semantic colour layer is importable by a stable name", () => {
104
+ // A token map whose own header says "use these instead of hardcoding
105
+ // $color3, $color10" is only useful if a consumer can reach it without
106
+ // deep-pathing into another package's file layout. `./src/*` is an escape
107
+ // hatch, not an API.
108
+ it("exports componentColors and sectionHeading from the barrel", () => {
109
+ expect(pkg.componentColors).toBe(componentColors);
110
+ expect(pkg.sectionHeading).toBe(sectionHeading);
111
+ });
112
+
113
+ it("keeps the surface tier distinct from the interactive tier", () => {
114
+ // The distinction is the whole reason the layer exists: a panel is not a
115
+ // control, and a consumer that cannot import this reaches for
116
+ // `$borderColor` (the control frame) on a panel edge.
117
+ expect(pkg.componentColors.surface.background).not.toBe(
118
+ pkg.componentColors.interactive.background,
119
+ );
120
+ expect(pkg.componentColors.surface.border).not.toBe(pkg.componentColors.interactive.border);
121
+ });
122
+ });
123
+
102
124
  describe("Spinner shadow (LC-70 census hit)", () => {
103
125
  afterEach(cleanup);
104
126
 
package/src/index.ts CHANGED
@@ -111,6 +111,19 @@ export type { ButtonProps } from "./Button";
111
111
  export type { ImageProps } from "./images/Image";
112
112
  export { Image } from "./images/Image";
113
113
 
114
+ // The semantic colour tiers and the section-heading metrics the catalog
115
+ // paints with. Named exports, not a star, so the curated surface stays
116
+ // explicit (LC-70) — these are token maps, not catalog parts: they render
117
+ // nothing and a consumer spreads them onto its own frames exactly as the
118
+ // catalog does. They were reachable only through the `./src/*` deep-path
119
+ // hatch before, which is why a consumer that wanted the SURFACE tier
120
+ // (`$color2` / `$color6`) rather than the CONTROL tier restated the two
121
+ // tokens by hand instead of importing the layer that defines them
122
+ // (SHC console `features/console/src/surface.ts`). A semantic layer whose
123
+ // own header says "use these instead of hardcoding $color3, $color10" has
124
+ // to be importable by a stable name.
125
+ export { componentColors, sectionHeading } from "./componentColors";
126
+
114
127
  // ---------------------------------------------------------------------------
115
128
  // Tamagui shorthand type augmentation
116
129
  //
@@ -12,6 +12,8 @@
12
12
  * - intent: accent (default indicator hue) / error / warning / success
13
13
  * - overflow: horizontal scroll with web edge fades when tabs exceed width
14
14
  * - lazyMount: panels mount on first visit and stay mounted (state preserved)
15
+ * - fill: root + panel host grow into a bounded parent (Tabs contract,
16
+ * docs/theme-propagation-spec.md)
15
17
  *
16
18
  * LC-71: selected = underline or sliding fill; unselected have zero chrome;
17
19
  * keyboard ring on the focused tab only. LC-72: underline rounds only the
@@ -61,6 +63,27 @@ export interface TabsProps {
61
63
  compact?: boolean;
62
64
  /** Mount panels on first visit and keep them mounted (preserves state) */
63
65
  lazyMount?: boolean;
66
+ /**
67
+ * Grow into a bounded parent.
68
+ *
69
+ * By default every box in this component is `flex: 0 0 auto`, so the strip
70
+ * and the panels size to their content and the whole thing sits at the top
71
+ * of whatever contains it. That is right on a page, and wrong inside a box
72
+ * with a declared height — a modal, a sheet, a split pane — where the panel
73
+ * is supposed to take the leftover room and scroll inside it.
74
+ *
75
+ * `fill` opens the flex chain the panel needs: the tamagui root, the panel
76
+ * host and the active panel each get `flex: 1` plus `minHeight: 0`, which is
77
+ * the pair that lets a flex child shrink below its content height instead of
78
+ * pushing the container open. The strip keeps its intrinsic height, so it
79
+ * stays put while the panel scrolls under it.
80
+ *
81
+ * One prop rather than a style passthrough because the fix is three boxes
82
+ * deep: a `contentProps` escape hatch would reach the panel host and leave
83
+ * the root at `flex: 0 0 auto`, so the panel would still resolve against
84
+ * zero. A consumer cannot express this correctly from outside.
85
+ */
86
+ fill?: boolean;
64
87
  /** automatic (focus selects, default) or manual (Enter/Space selects). Web only. */
65
88
  activationMode?: "automatic" | "manual";
66
89
  /** Loop arrow-key navigation past the ends */
@@ -156,7 +179,7 @@ declare const Trigger: import("tamagui").TamaguiComponent<import("@tamagui/web")
156
179
  readonly activeStyle: "style";
157
180
  };
158
181
  } & import("@tamagui/web").StaticConfigPublic>;
159
- export declare function Tabs({ items, value, defaultValue, onChange, variant, accent, error, warning, success, size, compact, lazyMount, activationMode, loop, disabled, }: TabsProps): import("react/jsx-runtime").JSX.Element | null;
182
+ export declare function Tabs({ items, value, defaultValue, onChange, variant, accent, error, warning, success, size, compact, lazyMount, fill, activationMode, loop, disabled, }: TabsProps): import("react/jsx-runtime").JSX.Element | null;
160
183
  export declare namespace Tabs {
161
184
  var List: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | "size" | "unstyled" | keyof import("@tamagui/web").StackStyleBase | "fullscreen"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
162
185
  unstyled?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Tabs/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAgBH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,SAAS,CAAC;AAMnD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,WAAW,CAAC;AACpD,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,QAAQ;IACvB,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,KAAK,EAAE,SAAS,CAAC;I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;;;;;;gBAAq8C,CAAC;gBAA2C,CAAC;YAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;8CAnblt1C,CAAC;AAkCH,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,OAAqB,EACrB,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAiB,EACjB,IAAY,EACZ,cAA4B,EAC5B,IAAW,EACX,QAAgB,GACjB,EAAE,SAAS,kDAwXX;yBAzYe,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAiZwz9B,CAAC;;;;;;;;oBAAq8C,CAAC;oBAA2C,CAAC;gBAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAk1R,CAAC;;;;;;;;oBAAq8C,CAAC;oBAA2C,CAAC;gBAAuC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADpt1C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC"}
package/types/index.d.ts CHANGED
@@ -49,6 +49,7 @@ export { Button } from "./Button";
49
49
  export type { ButtonProps } from "./Button";
50
50
  export type { ImageProps } from "./images/Image";
51
51
  export { Image } from "./images/Image";
52
+ export { componentColors, sectionHeading } from "./componentColors";
52
53
  import type { shorthands as _shorthands } from "@tamagui/shorthands";
53
54
  declare module "@tamagui/web" {
54
55
  interface TamaguiCustomConfig {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QA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