@multiplatform.one/table 9.0.10 → 9.0.11

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 (26) hide show
  1. package/dist/cjs/components/DataTable/index.native.js +2 -1
  2. package/dist/cjs/components/DataTable/index.native.js.map +1 -1
  3. package/dist/cjs/components/DataTablePagination/index.cjs +11 -6
  4. package/dist/cjs/components/DataTablePagination/index.native.js +11 -6
  5. package/dist/cjs/components/DataTablePagination/index.native.js.map +1 -1
  6. package/dist/esm/components/DataTable/index.native.js +2 -1
  7. package/dist/esm/components/DataTable/index.native.js.map +1 -1
  8. package/dist/esm/components/DataTablePagination/index.mjs +12 -7
  9. package/dist/esm/components/DataTablePagination/index.mjs.map +1 -1
  10. package/dist/esm/components/DataTablePagination/index.native.js +12 -7
  11. package/dist/esm/components/DataTablePagination/index.native.js.map +1 -1
  12. package/dist/jsx/components/DataTable/index.native.js +2 -1
  13. package/dist/jsx/components/DataTable/index.native.js.map +1 -1
  14. package/dist/jsx/components/DataTablePagination/index.mjs +12 -7
  15. package/dist/jsx/components/DataTablePagination/index.mjs.map +1 -1
  16. package/dist/jsx/components/DataTablePagination/index.native.js +11 -6
  17. package/dist/jsx/components/DataTablePagination/index.native.js.map +1 -1
  18. package/package.json +12 -12
  19. package/src/components/DataTable/index.native.tsx +1 -0
  20. package/src/components/DataTable/smallTableFooter.spec.tsx +8 -8
  21. package/src/components/DataTablePagination/DataTablePagination.density.spec.tsx +132 -0
  22. package/src/components/DataTablePagination/DataTablePagination.width.spec.tsx +5 -5
  23. package/src/components/DataTablePagination/index.tsx +10 -4
  24. package/types/components/DataTable/index.native.d.ts.map +1 -1
  25. package/types/components/DataTablePagination/index.d.ts +3 -3
  26. package/types/components/DataTablePagination/index.d.ts.map +1 -1
@@ -0,0 +1,132 @@
1
+ /**
2
+ * LC-272 TABLE-CHROME-TRACKS-DENSITY (FZ-8999). Clay on the round 51 DataTable
3
+ * shot: "don't you feel the controls seem a bit big as well? like for the
4
+ * pagination?" The pager's chevrons, page buttons, size Select and jumper
5
+ * drew at the ambient control token, a key above the table's cells, and the
6
+ * range "3–4 of 5" printed twice. Inside a table every pager control now draws
7
+ * at the cells' token, one key below the table, keeps a 44pt press target
8
+ * through its slop, and the range shows once.
9
+ */
10
+ import { createElement, forwardRef, useEffect } from "react";
11
+ import { ICON_BUTTON_GLYPH_PX } from "@multiplatform.one/forms";
12
+ import { renderWithProviders } from "@multiplatform.one/test-utils";
13
+ import {
14
+ defaultScaleInputs,
15
+ generateScale,
16
+ MIN_PRESS_TARGET,
17
+ sizeTokenBelow,
18
+ } from "@multiplatform.one/theme";
19
+ import { screen } from "@testing-library/react";
20
+ import { describe, expect, it, vi } from "vitest";
21
+
22
+ vi.mock("tamagui", async (importOriginal) => {
23
+ const actual = await importOriginal<typeof import("tamagui")>();
24
+ return {
25
+ ...actual,
26
+ XStack: forwardRef((props: any, ref) => {
27
+ const onLayout = props["aria-label"] === "Table pagination" ? props.onLayout : undefined;
28
+ useEffect(() => {
29
+ onLayout?.({ nativeEvent: { layout: { width: 1200, height: 44, x: 0, y: 0 } } });
30
+ }, [onLayout]);
31
+ return createElement(actual.XStack, { ...props, ref });
32
+ }),
33
+ useMedia: (...args: any[]) => ({ ...(actual.useMedia as any)(...args), sm: true }),
34
+ };
35
+ });
36
+
37
+ import type { DataTableColumn } from "../../types";
38
+ import { DataTable } from "../DataTable";
39
+
40
+ type Row = { id: number; name: string };
41
+ const rows: Row[] = [1, 2, 3, 4, 5].map((id) => ({ id, name: `Person ${id}` }));
42
+ const columns: DataTableColumn<Row>[] = [
43
+ { accessorKey: "id", header: "ID" },
44
+ { accessorKey: "name", header: "Name" },
45
+ ];
46
+
47
+ const tableToken = "$true";
48
+ const chromeToken = sizeTokenBelow(tableToken);
49
+ const chromePx = String(
50
+ (generateScale(defaultScaleInputs).tokens.size as Record<string, number>)[chromeToken],
51
+ );
52
+
53
+ function renderTable() {
54
+ return renderWithProviders(
55
+ <DataTable
56
+ data={rows}
57
+ columns={columns}
58
+ size={tableToken}
59
+ enableFiltering={false}
60
+ enableGlobalSearch={false}
61
+ enableColumnVisibility={false}
62
+ pageSizeOptions={[2, 5]}
63
+ initialState={{ pagination: { pageIndex: 1, pageSize: 2 } }}
64
+ readOnly
65
+ />,
66
+ );
67
+ }
68
+
69
+ describe("a table's pager tracks the table's density (LC-272, FZ-8999)", () => {
70
+ it("draws the page buttons at the cells' token", () => {
71
+ renderTable();
72
+ expect(screen.getByLabelText("Page 2").getAttribute("data-size-token")).toBe(chromeToken);
73
+ expect(screen.getByLabelText("Page 1").getAttribute("data-size-token")).toBe(chromeToken);
74
+ });
75
+
76
+ it("draws the chevrons at the cells' token", () => {
77
+ renderTable();
78
+ for (const name of [
79
+ "Go to first page",
80
+ "Go to previous page",
81
+ "Go to next page",
82
+ "Go to last page",
83
+ ]) {
84
+ expect(screen.getByLabelText(name).getAttribute("data-size-token")).toBe(chromeToken);
85
+ }
86
+ });
87
+
88
+ it("draws the chevron glyphs at the cells' icon size, under the bar's row floor", () => {
89
+ renderTable();
90
+ const widths = [
91
+ "Go to first page",
92
+ "Go to previous page",
93
+ "Go to next page",
94
+ "Go to last page",
95
+ ].map((name) =>
96
+ Number(screen.getByLabelText(name).querySelector("svg")?.getAttribute("width")),
97
+ );
98
+ for (const width of widths) {
99
+ expect(width).toBeGreaterThan(0);
100
+ expect(width).toBeLessThan(ICON_BUTTON_GLYPH_PX);
101
+ }
102
+ expect(new Set(widths).size).toBe(1);
103
+ });
104
+
105
+ it("draws the rows-per-page Select at the cells' height", () => {
106
+ renderTable();
107
+ expect(screen.getByLabelText("Select rows per page").getAttribute("data-visual-height")).toBe(
108
+ chromePx,
109
+ );
110
+ });
111
+
112
+ it("draws the go-to-page field at the cells' height", () => {
113
+ renderTable();
114
+ const field = screen.getByLabelText("Page number").closest("[data-visual-height]");
115
+ expect(field?.getAttribute("data-visual-height")).toBe(chromePx);
116
+ });
117
+
118
+ it("keeps a 44pt press target on each smaller page control through its slop", () => {
119
+ renderTable();
120
+ const visual = Number(chromePx);
121
+ expect(visual).toBeLessThan(MIN_PRESS_TARGET);
122
+ const slop = String(Math.ceil((MIN_PRESS_TARGET - visual) / 2));
123
+ for (const name of ["Page 1", "Go to next page"]) {
124
+ expect(screen.getByLabelText(name).getAttribute("data-mp-press-slop")).toBe(slop);
125
+ }
126
+ });
127
+
128
+ it("prints the range once", () => {
129
+ const { container } = renderTable();
130
+ expect(container.textContent?.split("3–4 of 5").length).toBe(2);
131
+ });
132
+ });
@@ -50,12 +50,12 @@ beforeEach(() => {
50
50
  describe("bounded small table pagination", () => {
51
51
  it("preserves the default footprint and grows for wide numeric options", () => {
52
52
  const { rerender } = renderWithProviders(<DataTablePagination size="$3" />);
53
- expect(observed.sizeWidth).toBe(92);
53
+ expect(observed.sizeWidth).toBe(84);
54
54
  rerender(<DataTablePagination size="$3" pageSizeOptions={[10, 25, 1000000]} />);
55
- expect(observed.sizeWidth).toBeGreaterThan(92);
55
+ expect(observed.sizeWidth).toBeGreaterThan(84);
56
56
  });
57
57
 
58
- it("budgets the page-size Select at the ambient token, whatever the footer size", () => {
58
+ it("budgets the page-size Select one key below the table's token (LC-272)", () => {
59
59
  const renderPager = (small: boolean) => (
60
60
  <Preset>
61
61
  <DataTablePagination size={small ? "$3" : undefined} />
@@ -63,9 +63,9 @@ describe("bounded small table pagination", () => {
63
63
  );
64
64
  const { rerender } = renderWithProviders(renderPager(false));
65
65
  const width = observed.sizeWidth;
66
- expect(width).toBe(92);
66
+ expect(width).toBe(88);
67
67
  rerender(renderPager(true));
68
- expect(observed.sizeWidth).toBe(width);
68
+ expect(observed.sizeWidth).toBe(84);
69
69
  });
70
70
 
71
71
  it("starts safely and responds to container width even on a desktop viewport", () => {
@@ -6,6 +6,7 @@ import {
6
6
  textFieldInset,
7
7
  usePageGutter,
8
8
  useResolvedKnobs,
9
+ sizeTokenBelow,
9
10
  sizeTokenStep,
10
11
  } from "@multiplatform.one/theme";
11
12
  import { Pagination, getPaginationItems, Text } from "@multiplatform.one/components";
@@ -38,9 +39,9 @@ export interface DataTablePaginationProps {
38
39
  trailing?: React.ReactNode;
39
40
  /**
40
41
  * Size token (Tamagui's own `size`). Below `$true` the footer packs: no
41
- * page jump, no first/last, and inside a table no range readout. The size
42
- * Select and the jumper keep the ambient token: the pager's page controls
43
- * hold the 44px press floor, so a smaller field would sit below them.
42
+ * page jump, no first/last, and inside a table no range readout. Inside a
43
+ * table every control draws one key below it, level with each other
44
+ * (LC-272); standalone they keep the ambient token.
44
45
  */
45
46
  size?: SizeTokens;
46
47
  }
@@ -111,8 +112,10 @@ export function DataTablePagination(props: DataTablePaginationProps) {
111
112
 
112
113
  const { sm } = useMedia();
113
114
  const theme = useTheme() as unknown as Record<string, unknown>;
114
- const { knobProps } = useResolvedKnobs();
115
115
  const { knobProps: footerKnobs } = useResolvedKnobs({ size: props.size });
116
+ const { knobProps } = useResolvedKnobs(
117
+ insideTable ? { size: sizeTokenBelow(footerKnobs.sizeToken) } : undefined,
118
+ );
116
119
  const small = sizeTokenStep(footerKnobs.sizeToken) < 0;
117
120
  const fieldRecipe = sizeRecipeForToken(knobProps.sizeToken, { touch: isTouchSurface() });
118
121
  const selectInset = Number(
@@ -224,6 +227,7 @@ export function DataTablePagination(props: DataTablePaginationProps) {
224
227
  onPageChange={(page) => handlePageChange(page - 1)}
225
228
  aria-label="Page"
226
229
  padding={0}
230
+ size={insideTable ? knobProps.sizeToken : undefined}
227
231
  />
228
232
  {trailing ? (
229
233
  <XStack flex={1} justifyContent="flex-end" data-pagination-trailing="">
@@ -296,6 +300,7 @@ export function DataTablePagination(props: DataTablePaginationProps) {
296
300
  showFirstLast={!simplePager && !small && !isMobile}
297
301
  aria-label="Page"
298
302
  padding={0}
303
+ size={insideTable ? knobProps.sizeToken : undefined}
299
304
  />
300
305
  ) : null;
301
306
 
@@ -373,6 +378,7 @@ export function DataTablePagination(props: DataTablePaginationProps) {
373
378
  showSummary={showRange}
374
379
  aria-label="Page"
375
380
  padding={0}
381
+ size={insideTable ? knobProps.sizeToken : undefined}
376
382
  />
377
383
  ) : (
378
384
  rangeControl
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.native.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAuCH,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,EAAwB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAkBzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACnF,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAqE1D,iBAAS,aAAa,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAC9E,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EAAE,aAAa,EACxB,UAAU,EAAE,cAAc,EAC1B,WAAmB,EACnB,aAAmB,EACnB,WAAW,EACX,eAAuB,EACvB,gBAAwB,EACxB,aAAqB,EACrB,eAAsB,EACtB,gBAAgB,EAChB,aAAoB,EACpB,gBAAuB,EACvB,eAAe,EACf,cAAwB,EACxB,QAAQ,EACR,cAAc,EACd,sBAA6B,EAC7B,oBAA4B,EAC5B,oBAA4B,EAC5B,kBAAyB,EACzB,WAAmB,EACnB,YAAsB,EACtB,MAAe,EACf,oBAA4B,EAC5B,oBAAoB,EACpB,sBAA0B,EAC1B,kBAA0B,EAC1B,kBAAkB,EAClB,UAAU,EACV,kBAA0B,EAC1B,UAAkB,EAClB,cAAc,EAAE,kBAAkB,EAClC,WAAW,EACX,mBAA2B,EAC3B,gBAAoB,EACpB,cAAsB,EACtB,wBAAwB,EAAE,yBAAiC,EAC3D,UAAU,EACV,QAAQ,EACR,QAAgB,EAChB,YAAY,EACZ,IAAI,EACJ,IAAI,EAAE,QAAQ,EACd,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,OAAW,EACX,OAAO,EACP,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,aAAa,EACb,gBAAgB,EAEhB,aAAa,EAAE,cAAc,EAC7B,aAAa,EACb,SAAS,EAAE,UAAU,EACrB,IAAI,EACJ,QAAgB,EAChB,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,kBAAkB,EAAE,eAAe,EACnC,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,KAAK,CAAC,2CA8mC3B;AAED,eAAO,MAAM,SAAS;;;;;;;;;;CAUpB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.native.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAuCH,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,EAAwB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE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AAc,EAAE,kBAAkB,EAClC,WAAW,EACX,mBAA2B,EAC3B,gBAAoB,EACpB,cAAsB,EACtB,wBAAwB,EAAE,yBAAiC,EAC3D,UAAU,EACV,QAAQ,EACR,QAAgB,EAChB,YAAY,EACZ,IAAI,EACJ,IAAI,EAAE,QAAQ,EACd,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,OAAW,EACX,OAAO,EACP,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,aAAa,EACb,gBAAgB,EAEhB,aAAa,EAAE,cAAc,EAC7B,aAAa,EACb,SAAS,EAAE,UAAU,EACrB,IAAI,EACJ,QAAgB,EAChB,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,kBAAkB,EAAE,eAAe,EACnC,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,KAAK,CAAC,2CA+mC3B;AAED,eAAO,MAAM,SAAS;;;;;;;;;;CAUpB,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,OAAO,SAAS,CAAC"}
@@ -20,9 +20,9 @@ export interface DataTablePaginationProps {
20
20
  trailing?: React.ReactNode;
21
21
  /**
22
22
  * Size token (Tamagui's own `size`). Below `$true` the footer packs: no
23
- * page jump, no first/last, and inside a table no range readout. The size
24
- * Select and the jumper keep the ambient token: the pager's page controls
25
- * hold the 44px press floor, so a smaller field would sit below them.
23
+ * page jump, no first/last, and inside a table no range readout. Inside a
24
+ * table every control draws one key below it, level with each other
25
+ * (LC-272); standalone they keep the ambient token.
26
26
  */
27
27
  size?: SizeTokens;
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DataTablePagination/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,UAAU,EAAmD,MAAM,SAAS,CAAC;AAC3F,OAAO,KAAK,EAAE,eAA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