frame.select 1.0.5 → 1.0.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ItemList.d.ts","sourceRoot":"","sources":["../../src/components/ItemList.tsx"],"names":[],"mappings":"AASA,OAAO,EAIL,IAAI,EAGL,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAsB,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,aAAa,CAAC,CAAC;IACvB,QAAQ,EAAE,CAAC,EAAE,CAAC;IACd,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/C,UAAU,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,iBAAS,QAAQ,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EAC5C,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAiB,EACjB,KAA8D,GAC/D,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAwJhC;AAED,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"ItemList.d.ts","sourceRoot":"","sources":["../../src/components/ItemList.tsx"],"names":[],"mappings":"AASA,OAAO,EAIL,IAAI,EAGL,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAsB,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,aAAa,CAAC,CAAC;IACvB,QAAQ,EAAE,CAAC,EAAE,CAAC;IACd,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/C,UAAU,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,iBAAS,QAAQ,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,EAC5C,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAiB,EACjB,KAA8D,GAC/D,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAsJhC;AAED,eAAe,QAAQ,CAAC"}
@@ -86,13 +86,12 @@ function ItemList({ itemList, renderItem, itemFilter, clickFunc, extraColumns =
86
86
  getCoreRowModel: getCoreRowModel(),
87
87
  getFilteredRowModel: getFilteredRowModel(),
88
88
  });
89
- return (React.createElement("div", null,
90
- React.createElement(TableContainer, { style: style },
91
- React.createElement(Table, { stickyHeader: true, "aria-label": "sticky table" },
92
- React.createElement(TableHead, null, table.getHeaderGroups().map((headerGroup) => (React.createElement(TableRow, { key: headerGroup.id, "data-testid": headerGroup.id }, headerGroup.headers.map((header) => (React.createElement(TableCell, { key: header.id }, displayHeader(header)))))))),
93
- React.createElement(TableBody, null, table.getRowModel().rows.map((row) => (React.createElement(TableRow, { key: row.id }, row.getVisibleCells().map((cell) => {
94
- // console.log(`cell: ${JSON.stringify(cell, null)}`)
95
- return displayBody(cell);
96
- })))))))));
89
+ return (React.createElement(TableContainer, { "data-testid": "frame.select-TableContainer", style: style },
90
+ React.createElement(Table, { stickyHeader: true, "aria-label": "sticky table" },
91
+ React.createElement(TableHead, null, table.getHeaderGroups().map((headerGroup) => (React.createElement(TableRow, { key: headerGroup.id, "data-testid": headerGroup.id }, headerGroup.headers.map((header) => (React.createElement(TableCell, { key: header.id }, displayHeader(header)))))))),
92
+ React.createElement(TableBody, null, table.getRowModel().rows.map((row) => (React.createElement(TableRow, { key: row.id }, row.getVisibleCells().map((cell) => {
93
+ // console.log(`cell: ${JSON.stringify(cell, null)}`)
94
+ return displayBody(cell);
95
+ }))))))));
97
96
  }
98
97
  export default ItemList;
@@ -1 +1 @@
1
- {"root":["../src/app.tsx","../src/index.ts","../src/main.tsx","../src/vite-env.d.ts","../src/components/itemfilter.test.tsx","../src/components/itemfilter.tsx","../src/components/itemlist.test.tsx","../src/components/itemlist.tsx","../src/components/itemtypes.ts"],"version":"5.8.3"}
1
+ {"root":["../src/app.tsx","../src/index.ts","../src/main.tsx","../src/vite-env.d.ts","../src/components/itemfilter.test.tsx","../src/components/itemfilter.tsx","../src/components/itemlist.test.tsx","../src/components/itemlist.tsx","../src/components/itemtypes.ts"],"version":"5.9.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frame.select",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "A React component for selecting items from a list with a search bar.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,29 +20,29 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@emotion/react": "^11.14.0",
23
- "@emotion/styled": "^11.14.0",
24
- "@mui/icons-material": "^7.0.0",
25
- "@mui/material": "^7.0.0",
26
- "@tanstack/react-table": "^8.21.2",
27
- "react": "^19.0.0",
28
- "react-dom": "^19.0.0"
23
+ "@emotion/styled": "^11.14.1",
24
+ "@mui/icons-material": "^7.3.1",
25
+ "@mui/material": "^7.3.1",
26
+ "@tanstack/react-table": "^8.21.3",
27
+ "react": "^19.1.1",
28
+ "react-dom": "^19.1.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@eslint/js": "^9.21.0",
32
- "@testing-library/dom": "^10.4.0",
33
- "@testing-library/jest-dom": "^6.6.3",
31
+ "@eslint/js": "^9.33.0",
32
+ "@testing-library/dom": "^10.4.1",
33
+ "@testing-library/jest-dom": "^6.7.0",
34
34
  "@testing-library/react": "^16.2.0",
35
- "@types/react": "^19.0.10",
36
- "@types/react-dom": "^19.1.2",
37
- "@vitejs/plugin-react": "^4.3.4",
38
- "eslint": "^9.21.0",
35
+ "@types/react": "^19.1.10",
36
+ "@types/react-dom": "^19.1.7",
37
+ "@vitejs/plugin-react": "^5.0.1",
38
+ "eslint": "^9.33.0",
39
39
  "eslint-plugin-react-hooks": "^5.1.0",
40
- "eslint-plugin-react-refresh": "^0.4.19",
41
- "globals": "^16.0.0",
42
- "jsdom": "^26.0.0",
43
- "typescript": "~5.8.3",
44
- "typescript-eslint": "^8.24.1",
45
- "vite": "^6.2.0",
46
- "vitest": "^3.0.9"
40
+ "eslint-plugin-react-refresh": "^0.4.20",
41
+ "globals": "^16.3.0",
42
+ "jsdom": "^26.1.0",
43
+ "typescript": "~5.9.2",
44
+ "typescript-eslint": "^8.40.0",
45
+ "vite": "^7.1.3",
46
+ "vitest": "^3.2.4"
47
47
  }
48
48
  }