@prt-ts/fluent-react-table-v2 9.46.7-build.1.0 → 9.46.8-build.3.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.
package/index.esm.js CHANGED
@@ -727,7 +727,6 @@ function parseChrome(line) {
727
727
  // throw out eval line/column and use top-most line/column number
728
728
  loc = submatch[1]; // url
729
729
  }
730
-
731
730
  return {
732
731
  loc: !isNative ? parts[2] : null,
733
732
  name: parts[1] || UNKNOWN_FUNCTION
@@ -1028,7 +1027,6 @@ const CodeTextOff16Filled = /*#__PURE__*/createFluentIcon('CodeTextOff16Filled',
1028
1027
  const CodeTextOff16Regular = /*#__PURE__*/createFluentIcon('CodeTextOff16Regular', "16", ["m6.12 4-1-1H7a.5.5 0 0 1 0 1h-.88ZM9.5 4h5a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm.5 2a.5.5 0 0 0 0 1h3.5a.5.5 0 0 0 0-1H10Zm-1 6H1.5a.5.5 0 0 0 0 1H9a.5.5 0 0 0 0-1Zm5.85 2.15-13-13a.5.5 0 0 0-.7.7L2.29 3H1.5a.5.5 0 0 0 0 1h1.8l2 2h-.8a.5.5 0 0 0 0 1h1.8l2 2H3.5a.5.5 0 0 0 0 1h5.8l4.85 4.85a.5.5 0 0 0 .7 0 .5.5 0 0 0 0-.7Z"]);
1029
1028
 
1030
1029
  const Dismiss24Regular = /*#__PURE__*/createFluentIcon('Dismiss24Regular', "24", ["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);
1031
-
1032
1030
  const DocumentSearch24Regular = /*#__PURE__*/createFluentIcon('DocumentSearch24Regular', "24", ["M4 4c0-1.1.9-2 2-2h6.17a2 2 0 0 1 1.42.59L19.4 8.4A2 2 0 0 1 20 9.83V20a2 2 0 0 1-2 2h-4.02c-.05-.36-.21-.7-.5-.99l-.5-.51H18a.5.5 0 0 0 .5-.5V10H14a2 2 0 0 1-2-2V3.5H6a.5.5 0 0 0-.5.5v7.1c-.53.09-1.03.26-1.5.5V4Zm10 4.5h3.38L13.5 4.62V8c0 .28.22.5.5.5ZM6.5 21c.97 0 1.87-.3 2.6-.83l2.62 2.61a.75.75 0 1 0 1.06-1.06l-2.61-2.61A4.5 4.5 0 1 0 6.5 21Zm0-1.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z"]);
1033
1031
 
1034
1032
  const Save20Filled = /*#__PURE__*/createFluentIcon('Save20Filled', "20", ["M3 5c0-1.1.9-2 2-2h1v3.5C6 7.33 6.67 8 7.5 8h4c.83 0 1.5-.67 1.5-1.5V3h.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2v-5.5c0-.83-.67-1.5-1.5-1.5h-7c-.83 0-1.5.67-1.5 1.5V17a2 2 0 0 1-2-2V5Zm9-2H7v3.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V3Zm2 8.5V17H6v-5.5c0-.28.22-.5.5-.5h7c.28 0 .5.22.5.5Z"]);
@@ -1169,10 +1167,12 @@ function DebouncedInput({ value: initialValue, onChange, debounce = 500, drawerS
1169
1167
  }
1170
1168
 
1171
1169
  const arrIncludesSome = (row, columnId, value) => {
1170
+ var _a;
1172
1171
  // Rank the item
1173
1172
  const rowValue = row.getValue(columnId);
1173
+ const lowerCaseValues = value.map((v) => `${v || ''}`.toLowerCase());
1174
1174
  const passed = Array.isArray(value) &&
1175
- ((value === null || value === void 0 ? void 0 : value.length) === 0 || value.includes(`${rowValue}`));
1175
+ ((value === null || value === void 0 ? void 0 : value.length) === 0 || lowerCaseValues.includes((_a = `${rowValue}`) === null || _a === void 0 ? void 0 : _a.toLowerCase()));
1176
1176
  return passed;
1177
1177
  };
1178
1178
  const dateRange = (row, columnId, value) => {
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@prt-ts/fluent-react-table-v2",
3
- "version": "9.46.7-build.1.0",
4
- "main": "./index.js",
5
- "types": "./index.d.ts",
3
+ "version": "9.46.8-build.3.0",
6
4
  "peerDependencies": {
7
5
  "react": ">=17.0.0",
8
6
  "react-dom": ">=17.0.0",
9
- "@fluentui/react-components": ">=9.46.7",
7
+ "@fluentui/react-components": ">=9.46.8",
10
8
  "@fluentui/react-datepicker-compat": ">=0.4.5"
11
9
  },
12
10
  "dependencies": {
@@ -24,6 +22,7 @@
24
22
  "url": "https://github.com/prt-ts/fluent-extension-packages.git"
25
23
  },
26
24
  "homepage": "https://github.com/prt-ts/fluent-extension-packages.git#readme",
25
+ "types": "./index.cjs.d.ts",
27
26
  "module": "./index.esm.js",
28
- "type": "module"
27
+ "main": "./index.cjs.js"
29
28
  }
@@ -2,7 +2,7 @@ import { TableState } from "@tanstack/react-table";
2
2
  export type TableView = {
3
3
  id: number;
4
4
  viewName: string;
5
- tableState: TableState;
5
+ tableState: Partial<TableState>;
6
6
  isGlobal?: boolean;
7
7
  isViewOwner?: boolean;
8
8
  };
File without changes