@xh/hoist 47.0.0 → 47.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## v47.0.1 - 2022-03-06
4
+
5
+ [Commit Log](https://github.com/xh/hoist-react/compare/v47.0.0...v47.0.1)
6
+
7
+ ### 🐞 Bug Fixes
8
+
9
+ * Fix to mobile `ColChooser` error re. internal model handling.
10
+
3
11
  ## v47.0.0 - 2022-03-04
4
12
 
5
13
  ### 🎁 New Features
@@ -171,7 +171,8 @@ export class ActivityTrackingModel extends HoistModel {
171
171
  {...Col.impersonating, hidden},
172
172
  {...Col.elapsed, headerName: 'Elapsed (avg)', hidden},
173
173
  {...Col.dateRange, hidden},
174
- {...Col.entryCount}
174
+ {...Col.entryCount},
175
+ {field: 'count', hidden}
175
176
  ]
176
177
  });
177
178
 
@@ -38,6 +38,7 @@ export const [ColChooser, colChooser] = hoistCmp.withFactory({
38
38
  render({model, className}) {
39
39
  const {isOpen, gridModel, pinnedColumn, visibleColumns, hiddenColumns, showRestoreDefaults} = model,
40
40
  impl = useLocalModel(LocalModel);
41
+
41
42
  return dialogPanel({
42
43
  isOpen,
43
44
  title: 'Choose Columns',
@@ -52,7 +53,7 @@ export const [ColChooser, colChooser] = hoistCmp.withFactory({
52
53
  className: 'xh-col-chooser__section',
53
54
  scrollable: true,
54
55
  items: [
55
- row({col: pinnedColumn}),
56
+ row({col: pinnedColumn, model: impl}),
56
57
  droppable({
57
58
  droppableId: 'visible-columns',
58
59
  item: (dndProps) => columnList({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "47.0.0",
3
+ "version": "47.0.1",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",