@xh/hoist 79.0.0-SNAPSHOT.1766170418182 → 79.0.0-SNAPSHOT.1766244066570

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
@@ -9,6 +9,7 @@
9
9
  allows for dynamic addition, removal, and drag-and-drop reordering of tabs with the ability to
10
10
  persist "favorited" tab state across sessions. Additionally, existing static `TabSwitcher` now
11
11
  supports context-menu items. See `TabContainerConfig.switcher`.
12
+ * Changed the icon used for the Grid autosize buttons and menu option (to 🪄).
12
13
 
13
14
  ### 💥 Breaking Changes
14
15
 
@@ -19,7 +20,7 @@
19
20
  * Renamed `GridModel.applyColumnStateChanges()` to `updateColumnState()` for clarity and better
20
21
  symmetry with `setColumnState()`. The prior method remains as an alias but is now deprecated and
21
22
  scheduled for removal in v82.
22
- * `TabSwitcherProps` has moved to `cmp/tab/Types.ts` but is still exported from `cmp/tab/index.ts`.
23
+ * Moved `TabSwitcherProps` to `cmp/tab/Types.ts` but maintained export from `cmp/tab/index.ts`.
23
24
  Some apps may need to update their imports.
24
25
  * `TabContainerConfig.switcher` has been repurposed to accept a `TabSwitcherConfig`. To pass
25
26
  `TabSwitcherProps` via a parent `TabContainer`, use `TabContainerProps.switcher`.
@@ -27,8 +28,8 @@
27
28
  ### 🐞 Bug Fixes
28
29
 
29
30
  * Fixed column chooser to display columns in the same order as they appear in the grid.
30
- * Defaulted Highcharts font to Hoist default (--xh-font-family)
31
- * Restore previous behavior of highcharts treemap labels with regard to visibilty and positioning.
31
+ * Defaulted Highcharts font to Hoist default `--xh-font-family`.
32
+ * Restore previous behavior of Highcharts treemap labels with regard to visibility and positioning.
32
33
  * Tweaked `GridFindField` to forward a provided `ref` to its underlying `TextInput`.
33
34
  * Fixed bug where `SelectEditor` with `queryFn` would not commit on enter keydown.
34
35
 
@@ -110,7 +110,7 @@ function replaceHoistToken(token: string, gridModel: GridModel): Some<RecordActi
110
110
  case 'autosizeColumns':
111
111
  return new RecordAction({
112
112
  text: 'Autosize Columns',
113
- icon: Icon.arrowsLeftRight(),
113
+ icon: Icon.magic(),
114
114
  hidden: !gridModel?.autosizeEnabled,
115
115
  actionFn: () => gridModel.autosizeAsync({showMask: true})
116
116
  });
@@ -58,8 +58,8 @@ export const [ColAutosizeButton, colAutosizeButton] = hoistCmp.withFactory<ColAu
58
58
 
59
59
  return button({
60
60
  ref,
61
- icon: withDefault(icon, Icon.arrowsLeftRight()),
62
- title: withDefault(title, 'Autosize Columns'),
61
+ icon: withDefault(icon, Icon.magic()),
62
+ title: withDefault(title, 'Autosize columns'),
63
63
  disabled: withDefault(disabled, gridModel?.empty),
64
64
  className,
65
65
  onClick,
@@ -57,7 +57,7 @@ export const [ColAutosizeButton, colAutosizeButton] = hoistCmp.withFactory<ColAu
57
57
  }));
58
58
 
59
59
  return button({
60
- icon: withDefault(icon, Icon.arrowsLeftRight()),
60
+ icon: withDefault(icon, Icon.magic()),
61
61
  disabled: withDefault(disabled, gridModel?.empty),
62
62
  className,
63
63
  onClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1766170418182",
3
+ "version": "79.0.0-SNAPSHOT.1766244066570",
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",