@multiplatform.one/table 7.23.1 → 7.23.2

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 (37) hide show
  1. package/dist/cjs/components/DataTable/DataTableMobileCards.cjs +10 -4
  2. package/dist/cjs/components/DataTable/DataTableMobileCards.native.js +12 -6
  3. package/dist/cjs/components/DataTable/DataTableMobileCards.native.js.map +1 -1
  4. package/dist/cjs/components/DataTable/DataTableRoot.cjs +5 -4
  5. package/dist/cjs/components/DataTable/DataTableRoot.native.js +5 -4
  6. package/dist/cjs/components/DataTable/DataTableRoot.native.js.map +1 -1
  7. package/dist/cjs/components/DataTable/index.native.js +6 -4
  8. package/dist/cjs/components/DataTable/index.native.js.map +1 -1
  9. package/dist/esm/components/DataTable/DataTableMobileCards.mjs +11 -5
  10. package/dist/esm/components/DataTable/DataTableMobileCards.mjs.map +1 -1
  11. package/dist/esm/components/DataTable/DataTableMobileCards.native.js +13 -7
  12. package/dist/esm/components/DataTable/DataTableMobileCards.native.js.map +1 -1
  13. package/dist/esm/components/DataTable/DataTableRoot.mjs +5 -4
  14. package/dist/esm/components/DataTable/DataTableRoot.mjs.map +1 -1
  15. package/dist/esm/components/DataTable/DataTableRoot.native.js +5 -4
  16. package/dist/esm/components/DataTable/DataTableRoot.native.js.map +1 -1
  17. package/dist/esm/components/DataTable/index.native.js +6 -4
  18. package/dist/esm/components/DataTable/index.native.js.map +1 -1
  19. package/dist/jsx/components/DataTable/DataTableMobileCards.mjs +11 -5
  20. package/dist/jsx/components/DataTable/DataTableMobileCards.mjs.map +1 -1
  21. package/dist/jsx/components/DataTable/DataTableMobileCards.native.js +12 -6
  22. package/dist/jsx/components/DataTable/DataTableMobileCards.native.js.map +1 -1
  23. package/dist/jsx/components/DataTable/DataTableRoot.mjs +5 -4
  24. package/dist/jsx/components/DataTable/DataTableRoot.mjs.map +1 -1
  25. package/dist/jsx/components/DataTable/DataTableRoot.native.js +5 -4
  26. package/dist/jsx/components/DataTable/DataTableRoot.native.js.map +1 -1
  27. package/dist/jsx/components/DataTable/index.native.js +6 -4
  28. package/dist/jsx/components/DataTable/index.native.js.map +1 -1
  29. package/package.json +12 -12
  30. package/src/components/DataTable/DataTableMobileCards.stories.tsx +12 -0
  31. package/src/components/DataTable/DataTableMobileCards.tsx +15 -6
  32. package/src/components/DataTable/DataTableRoot.tsx +3 -2
  33. package/src/components/DataTable/dataTableMobileCards.spec.tsx +127 -0
  34. package/src/components/DataTable/index.native.tsx +2 -2
  35. package/types/components/DataTable/DataTableMobileCards.d.ts +2 -1
  36. package/types/components/DataTable/DataTableMobileCards.d.ts.map +1 -1
  37. package/types/components/DataTable/DataTableRoot.d.ts.map +1 -1
@@ -12,6 +12,7 @@
12
12
 
13
13
  import type { Meta } from "@storybook/react-native-web-vite";
14
14
  import { useState } from "react";
15
+ import { fn } from "storybook/test";
15
16
  import { YStack } from "tamagui";
16
17
  import type { DataTableColumn } from "../../types";
17
18
  import { DataTable } from "./index";
@@ -79,6 +80,17 @@ export const Selection = {
79
80
  render: () => <CardTable enableRowSelection />,
80
81
  };
81
82
 
83
+ /**
84
+ * `onRowPress` makes each card one pressable unit. A pressed card paints one
85
+ * ramp step above the fill it rests on, never below `$color4`, so the press
86
+ * shows at every elevation and on a zebra stripe.
87
+ */
88
+ export const Pressable = {
89
+ render: () => (
90
+ <CardTable onRowPress={fn()} rowLabel={(row: Person) => `${row.firstName} ${row.lastName}`} />
91
+ ),
92
+ };
93
+
82
94
  function DeletableCards() {
83
95
  const [rows, setRows] = useState(people);
84
96
  return (
@@ -27,7 +27,11 @@ import type React from "react";
27
27
  import { useCallback } from "react";
28
28
  import { Text, View, VisuallyHidden, XStack } from "tamagui";
29
29
  import { useTranslation } from "react-i18next";
30
- import { TableCellContext, tableZebraFill } from "@multiplatform.one/table-primitives";
30
+ import {
31
+ TableCellContext,
32
+ tablePressFill,
33
+ tableZebraFill,
34
+ } from "@multiplatform.one/table-primitives";
31
35
  import type { DataTableColumn, DataTableField } from "../../types";
32
36
  import { withInterp } from "../../utils/withInterp";
33
37
  import { rowIntentProps } from "./dataTableChrome";
@@ -132,7 +136,8 @@ export interface DataTableMobileCardsProps<TData> {
132
136
  * onRowPress support: press/keyboard/AT props for one pressable row
133
137
  * (built by DataTableRoot). Cards live outside the table tree, so they
134
138
  * take the `card` variant (role="button") with the same activation,
135
- * roving focus, and inner-control isolation as grid rows.
139
+ * roving focus, and inner-control isolation as grid rows. The card paints
140
+ * its own press fill, off the fill it rests on (MPO-404).
136
141
  */
137
142
  getRowPressProps?: (row: any, rowIndex: number, variant?: "row" | "card") => Record<string, any>;
138
143
  /** In-flight refetch: do not paint empty-state over a blank body. */
@@ -189,19 +194,23 @@ export function DataTableMobileCards<TData extends Record<string, any>>({
189
194
  else if (kind === "control") controls.push(cell);
190
195
  }
191
196
  const hasBody = bare.length > 0 || figures.length > 0 || controls.length > 0;
197
+ const cardFill = knobProps.cardSurface.backgroundColor;
198
+ const restFill = tableZebraOn && index % 2 === 1 ? tableZebraFill(cardFill) : cardFill;
199
+ const pressProps = getRowPressProps?.(row, index, "card") ?? {};
192
200
 
193
201
  return (
194
202
  <View
195
203
  key={`${row.id}-${index}`}
196
204
  testID="data-table-card"
197
205
  {...knobProps.cardSurface}
198
- {...(tableZebraOn && index % 2 === 1
199
- ? { backgroundColor: tableZebraFill(knobProps.cardSurface.backgroundColor) }
200
- : {})}
206
+ backgroundColor={restFill}
201
207
  {...({
202
208
  "data-table-zebra": tableZebraOn ? (index % 2 === 0 ? "even" : "odd") : "off",
203
209
  } as any)}
204
- {...(getRowPressProps ? (getRowPressProps(row, index, "card") as any) : {})}
210
+ {...(pressProps as any)}
211
+ {...(pressProps.onPress
212
+ ? { pressStyle: { backgroundColor: tablePressFill(restFill) } }
213
+ : {})}
205
214
  {...(rowIntentProps(rowData) as any)}
206
215
  >
207
216
  {/* Card header: selection + primary-column title + row number + delete */}
@@ -609,8 +609,9 @@ export function DataTableRoot<TData extends Record<string, any> = Record<string,
609
609
  "aria-label": deriveRowLabel(row, rowIndex),
610
610
  onPress: handlePress,
611
611
  cursor: "pointer" as const,
612
- pressStyle: { backgroundColor: "$color4" },
613
- ...(variant === "card" ? { role: "button" as const } : {}),
612
+ ...(variant === "card"
613
+ ? { role: "button" as const }
614
+ : { pressStyle: { backgroundColor: "$color4" } }),
614
615
  ...(isWeb && !isSSR
615
616
  ? {
616
617
  tabIndex: rowIndex === effectiveRowPressAnchor ? 0 : -1,
@@ -19,7 +19,9 @@ import { Preset } from "@multiplatform.one/theme";
19
19
  import { fireEvent, screen, waitFor, within } from "@testing-library/react";
20
20
  import { Theme } from "tamagui";
21
21
  import { describe, expect, it, vi } from "vitest";
22
+ import type React from "react";
22
23
  import type { DataTableColumn, TableFilter } from "../../types";
24
+ import { DataTableMobileCards } from "./DataTableMobileCards";
23
25
  import { DataTable } from "./index";
24
26
 
25
27
  type Person = {
@@ -221,4 +223,129 @@ describe("DataTableMobileCards", () => {
221
223
  expect(cardFills("light").slice(0, 2)).toEqual([["_bg-background"], ["_bg-color2"]]);
222
224
  });
223
225
  });
226
+
227
+ describe("a pressed card steps off the fill it rests on (MPO-404)", () => {
228
+ type Scheme = "light" | "dark";
229
+ type Elevation = "none" | "small" | "medium" | "large";
230
+ const schemes: Scheme[] = ["light", "dark"];
231
+ const elevations: Elevation[] = ["none", "small", "medium", "large"];
232
+ const zebras = ["off", "on"] as const;
233
+
234
+ /** `rest>press` for one card, read off its atomic classes. */
235
+ function paint(card: Element): string {
236
+ const classes = Array.from(card.classList);
237
+ const rest = classes.find((name) => /^_bg-(?!0)/.test(name))?.slice("_bg-".length);
238
+ const press = classes
239
+ .find((name) => name.startsWith("_bg-0active-"))
240
+ ?.slice("_bg-0active-".length);
241
+ return `${rest}>${press}`;
242
+ }
243
+
244
+ function wrap(scheme: Scheme, ui: React.ReactElement) {
245
+ return renderWithProviders(scheme === "dark" ? <Theme name="dark">{ui}</Theme> : ui);
246
+ }
247
+
248
+ function pressedCards(scheme: Scheme, elevation: Elevation, zebra: "on" | "off") {
249
+ const { container, unmount } = wrap(
250
+ scheme,
251
+ <Preset overrides={{ tableZebra: zebra, elevation }}>
252
+ <DataTable
253
+ data={people}
254
+ columns={columns}
255
+ layout="cards"
256
+ onRowPress={vi.fn()}
257
+ onStateChange={vi.fn()}
258
+ />
259
+ </Preset>,
260
+ );
261
+ const painted = cards(container).slice(0, 2).map(paint);
262
+ unmount();
263
+ return painted;
264
+ }
265
+
266
+ let rendered: Record<string, string[]> | undefined;
267
+ const matrix = () =>
268
+ (rendered ??= Object.fromEntries(
269
+ schemes.flatMap((scheme) =>
270
+ elevations.flatMap((elevation) =>
271
+ zebras.map((zebra) => [
272
+ `${scheme} ${elevation} zebra-${zebra}`,
273
+ pressedCards(scheme, elevation, zebra),
274
+ ]),
275
+ ),
276
+ ),
277
+ ));
278
+
279
+ it("an even and an odd card change fill on press at every elevation, zebra on and off, both schemes", () => {
280
+ const unchanged = Object.entries(matrix()).flatMap(([cell, pair]) =>
281
+ pair
282
+ .filter((rp) => {
283
+ const [rest, press] = rp.split(">");
284
+ return !press || press === "undefined" || press === rest;
285
+ })
286
+ .map((rp) => `${cell}: ${rp}`),
287
+ );
288
+ expect(unchanged).toEqual([]);
289
+ });
290
+
291
+ it("presses one ramp step above the rest fill, floored at $color4", () => {
292
+ expect(matrix()).toEqual({
293
+ "light none zebra-off": ["background>color4", "background>color4"],
294
+ "light none zebra-on": ["background>color4", "color2>color4"],
295
+ "light small zebra-off": ["background>color4", "background>color4"],
296
+ "light small zebra-on": ["background>color4", "color2>color4"],
297
+ "light medium zebra-off": ["background>color4", "background>color4"],
298
+ "light medium zebra-on": ["background>color4", "color2>color4"],
299
+ "light large zebra-off": ["background>color4", "background>color4"],
300
+ "light large zebra-on": ["background>color4", "color2>color4"],
301
+ "dark none zebra-off": ["background>color4", "background>color4"],
302
+ "dark none zebra-on": ["background>color4", "color2>color4"],
303
+ "dark small zebra-off": ["color2>color4", "color2>color4"],
304
+ "dark small zebra-on": ["color2>color4", "color3>color4"],
305
+ "dark medium zebra-off": ["color3>color4", "color3>color4"],
306
+ "dark medium zebra-on": ["color3>color4", "color4>color5"],
307
+ "dark large zebra-off": ["color4>color5", "color4>color5"],
308
+ "dark large zebra-on": ["color4>color5", "color5>color6"],
309
+ });
310
+ });
311
+
312
+ it("owns its press fill whatever press props a root hands it (the native root's shape)", () => {
313
+ const nativeRootPressProps = () => ({
314
+ onPress: vi.fn(),
315
+ role: "button",
316
+ "aria-label": "Row",
317
+ pressStyle: { backgroundColor: "$color4" },
318
+ });
319
+ const rows = people.map((person, index) => ({
320
+ id: String(index),
321
+ original: person,
322
+ getIsSelected: () => false,
323
+ getVisibleCells: () => [
324
+ {
325
+ id: `${index}_firstName`,
326
+ column: { id: "firstName", columnDef: { header: "First Name" } },
327
+ getValue: () => person.firstName,
328
+ },
329
+ ],
330
+ }));
331
+ const { container } = wrap(
332
+ "dark",
333
+ <Preset overrides={{ tableZebra: "on", elevation: "large" }}>
334
+ <DataTableMobileCards
335
+ tableRows={rows}
336
+ showRowNumbers={false}
337
+ showDeleteRow={false}
338
+ readOnly
339
+ dataLength={rows.length}
340
+ minRows={0}
341
+ hasActiveFilters={false}
342
+ renderCellContent={(cell) => cell.getValue()}
343
+ onDeleteRow={vi.fn()}
344
+ getRowPressProps={nativeRootPressProps}
345
+ />
346
+ </Preset>,
347
+ );
348
+ expect(cards(container).slice(0, 2).map(paint)).toEqual(["color4>color5", "color5>color6"]);
349
+ });
350
+ });
224
351
  });
@@ -561,13 +561,13 @@ function DataTableRoot<TData extends Record<string, any> = Record<string, any>>(
561
561
  const getRowPressProps = useCallback(
562
562
  // The card list asks for the "card" variant. Native carries no DOM row
563
563
  // role for it to override, so both variants land on role="button".
564
- (row: (typeof tableRows)[0], index: number, _variant: "row" | "card" = "row") => {
564
+ (row: (typeof tableRows)[0], index: number, variant: "row" | "card" = "row") => {
565
565
  if (!rowPressActive) return {};
566
566
  return {
567
567
  onPress: () => onRowPress?.(row.original as TData, index),
568
568
  role: "button" as const,
569
569
  "aria-label": deriveRowLabel(row, index),
570
- pressStyle: { backgroundColor: "$color4" },
570
+ ...(variant === "row" ? { pressStyle: { backgroundColor: "$color4" } } : {}),
571
571
  };
572
572
  },
573
573
  [rowPressActive, onRowPress, deriveRowLabel],
@@ -75,7 +75,8 @@ export interface DataTableMobileCardsProps<TData> {
75
75
  * onRowPress support: press/keyboard/AT props for one pressable row
76
76
  * (built by DataTableRoot). Cards live outside the table tree, so they
77
77
  * take the `card` variant (role="button") with the same activation,
78
- * roving focus, and inner-control isolation as grid rows.
78
+ * roving focus, and inner-control isolation as grid rows. The card paints
79
+ * its own press fill, off the fill it rests on (MPO-404).
79
80
  */
80
81
  getRowPressProps?: (row: any, rowIndex: number, variant?: "row" | "card") => Record<string, any>;
81
82
  /** In-flight refetch: do not paint empty-state over a blank body. */
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableMobileCards.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableMobileCards.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAKhD;AAsBD,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAgB1D;AAED,MAAM,WAAW,yBAAyB,CAAC,KAAK;IAC9C,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,kFAAkF;IAClF,QAAQ,CAAC,EAA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