mig-schema-table 3.0.66 → 3.0.67

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.
@@ -513,7 +513,10 @@ function SchemaTable({ Heading = VariableSizeList, checkedIndexes, config, custo
513
513
  setSearchQuery("");
514
514
  }, [useFilterStateHash]);
515
515
  const onSearchBlur = React.useCallback(() => {
516
- if (useFilterStateHash && searchQuery !== locationHash.searchQuery) {
516
+ if (useFilterStateHash &&
517
+ // prevent hash change for undefined vs empty string compare
518
+ (searchQuery || locationHash.searchQuery) &&
519
+ searchQuery !== locationHash.searchQuery) {
517
520
  window.location.hash = serializeLocationHash(Object.assign(Object.assign({}, locationHash), { searchQuery }));
518
521
  }
519
522
  }, [locationHash, searchQuery, useFilterStateHash]);
package/dist/index.css CHANGED
@@ -76,6 +76,9 @@
76
76
  padding-right: 8px;
77
77
  user-select: none;
78
78
  }
79
+ .schema-table-th:first-child {
80
+ border-left: 1px solid #ddd;
81
+ }
79
82
  .schema-table-th div {
80
83
  overflow: hidden;
81
84
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mig-schema-table",
3
- "version": "3.0.66",
3
+ "version": "3.0.67",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/"