@multiplatform.one/table 7.88.1 → 7.88.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/table",
3
- "version": "7.88.1",
3
+ "version": "7.88.2",
4
4
  "description": "Advanced table components with filtering, pagination, sorting, and URL state management",
5
5
  "keywords": [
6
6
  "cross-platform",
@@ -84,13 +84,13 @@
84
84
  "access": "public"
85
85
  },
86
86
  "dependencies": {
87
- "@multiplatform.one/components": "^7.88.1",
88
- "@multiplatform.one/forms": "^7.88.1",
89
- "@multiplatform.one/platform": "^7.88.1",
90
- "@multiplatform.one/rich-text": "^7.88.1",
91
- "@multiplatform.one/router": "^7.88.1",
92
- "@multiplatform.one/table-primitives": "^7.88.1",
93
- "@multiplatform.one/theme": "^7.88.1",
87
+ "@multiplatform.one/components": "^7.88.2",
88
+ "@multiplatform.one/forms": "^7.88.2",
89
+ "@multiplatform.one/platform": "^7.88.2",
90
+ "@multiplatform.one/rich-text": "^7.88.2",
91
+ "@multiplatform.one/router": "^7.88.2",
92
+ "@multiplatform.one/table-primitives": "^7.88.2",
93
+ "@multiplatform.one/theme": "^7.88.2",
94
94
  "@phosphor-icons/react": "^2.1.10",
95
95
  "@shopify/flash-list": "^2.3.1",
96
96
  "@tamagui/roving-focus": "2.7.6",
@@ -100,10 +100,10 @@
100
100
  "tamagui": "2.7.6"
101
101
  },
102
102
  "devDependencies": {
103
- "@multiplatform.one/config": "7.88.1",
104
- "@multiplatform.one/router": "7.88.1",
105
- "@multiplatform.one/storybook": "7.88.1",
106
- "@multiplatform.one/test-utils": "7.88.1",
103
+ "@multiplatform.one/config": "7.88.2",
104
+ "@multiplatform.one/router": "7.88.2",
105
+ "@multiplatform.one/storybook": "7.88.2",
106
+ "@multiplatform.one/test-utils": "7.88.2",
107
107
  "@tamagui/build": "2.7.6",
108
108
  "@testing-library/react": "^16.3.3",
109
109
  "@types/react-dom": "^19.2.3",
@@ -3484,7 +3484,7 @@ const statRows = [
3484
3484
 
3485
3485
  const statColumns: DataTableColumn<(typeof statRows)[number]>[] = [
3486
3486
  { id: "stat", accessorKey: "stat", header: "Stat" },
3487
- { id: "base_stat", accessorKey: "base_stat", header: "Base Stat", align: "right" },
3487
+ { id: "base_stat", accessorKey: "base_stat", header: "Base stat", align: "right" },
3488
3488
  { id: "effort", accessorKey: "effort", header: "Effort", align: "right" },
3489
3489
  ];
3490
3490
 
@@ -28,7 +28,7 @@ const rows: Stat[] = [
28
28
 
29
29
  const columns: DataTableColumn<Stat>[] = [
30
30
  { id: "stat", accessorKey: "stat", header: "Stat" },
31
- { id: "base_stat", accessorKey: "base_stat", header: "Base Stat", align: "right" },
31
+ { id: "base_stat", accessorKey: "base_stat", header: "Base stat", align: "right" },
32
32
  ];
33
33
 
34
34
  const tableProps = {
@@ -91,6 +91,6 @@ describe("native DataTable numeric header", () => {
91
91
  const headerRow = header(container, "base_stat").querySelector<HTMLElement>("[data-align]");
92
92
  const first = headerRow?.firstElementChild;
93
93
  expect(first?.querySelector("svg")).toBeTruthy();
94
- expect(headerRow?.textContent).toContain("Base Stat");
94
+ expect(headerRow?.textContent).toContain("Base stat");
95
95
  });
96
96
  });
@@ -31,7 +31,7 @@ export const phoneReport = () => (
31
31
  layout="table"
32
32
  aria-label="Pokemon report"
33
33
  columns={[
34
- { accessorKey: "name", header: "Pokemon Name" },
34
+ { accessorKey: "name", header: "Pokemon name" },
35
35
  { accessorKey: "id", header: "Poke ID" },
36
36
  { accessorKey: "weight", header: "Weight" },
37
37
  ]}
@@ -52,7 +52,7 @@ export const onPhonePage = () => (
52
52
  layout="table"
53
53
  aria-label="Pokemon report"
54
54
  columns={[
55
- { accessorKey: "name", header: "Pokemon Name" },
55
+ { accessorKey: "name", header: "Pokemon name" },
56
56
  { accessorKey: "id", header: "Poke ID" },
57
57
  { accessorKey: "weight", header: "Weight" },
58
58
  ]}
@@ -71,7 +71,7 @@ export const pinnedOverflow = () => (
71
71
  layout="table"
72
72
  aria-label="Pokemon overflow report"
73
73
  columns={[
74
- { accessorKey: "name", header: "Pokemon Name", width: "$14" },
74
+ { accessorKey: "name", header: "Pokemon name", width: "$14" },
75
75
  { accessorKey: "id", header: "Poke ID", type: "number" },
76
76
  { accessorKey: "weight", header: "Weight", type: "number" },
77
77
  { accessorKey: "height", header: "Height", type: "number" },
@@ -22,7 +22,7 @@ describe("SimpleTable column widths", () => {
22
22
  it("allocates remaining space to text while preserving numeric minima", () => {
23
23
  const columns = resolveSimpleTableColumns(
24
24
  [
25
- { accessorKey: "name", header: "Pokemon Name" },
25
+ { accessorKey: "name", header: "Pokemon name" },
26
26
  { accessorKey: "id", header: "ID" },
27
27
  ],
28
28
  [{ name: "Pikachu", id: 25 }],
@@ -19,7 +19,7 @@ describe("SimpleTable", () => {
19
19
  const { container } = renderWithProviders(
20
20
  <SimpleTableDesktop
21
21
  columns={[
22
- { accessorKey: "name", header: "Pokemon Name" },
22
+ { accessorKey: "name", header: "Pokemon name" },
23
23
  { accessorKey: "id", header: "Poke ID" },
24
24
  { accessorKey: "weight", header: "Weight" },
25
25
  ]}
@@ -70,7 +70,7 @@ describe("table chrome labels follow the fontWeight knob (K13 A)", () => {
70
70
  <Preset overrides={{ fontWeight: stop } as never}>
71
71
  <DataTable
72
72
  data={rows}
73
- columns={[{ id: "name", accessorKey: "name", header: "Pokemon Name" }]}
73
+ columns={[{ id: "name", accessorKey: "name", header: "Pokemon name" }]}
74
74
  layout="table"
75
75
  enablePagination={false}
76
76
  readOnly
@@ -78,7 +78,7 @@ describe("table chrome labels follow the fontWeight knob (K13 A)", () => {
78
78
  </Preset>
79
79
  </Theme>,
80
80
  );
81
- expect(classes(screen.getByText("Pokemon Name"), "_fow-")).toEqual(expected);
81
+ expect(classes(screen.getByText("Pokemon name"), "_fow-")).toEqual(expected);
82
82
  },
83
83
  );
84
84
  }