@xh/hoist 80.0.0-SNAPSHOT.1768600489622 → 80.0.0-SNAPSHOT.1768604486805

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,3 +1,4 @@
1
+ import type { GridFilterBindTarget } from '@xh/hoist/cmp/grid';
1
2
  import { HoistBase, PlainObject, Some } from '@xh/hoist/core';
2
3
  import { Field, FieldSpec, Filter, FilterBindTarget, FilterLike, FilterValueSource, StoreRecord, StoreRecordId, StoreRecordOrId, StoreValidationMessagesMap, StoreValidationResultsMap, ValidationResult } from '@xh/hoist/data';
3
4
  import { StoreValidator } from '@xh/hoist/data/impl/StoreValidator';
@@ -124,7 +125,7 @@ export type StoreRecordIdSpec = string | ((data: PlainObject) => StoreRecordId);
124
125
  /**
125
126
  * A managed and observable set of local, in-memory Records.
126
127
  */
127
- export declare class Store extends HoistBase implements FilterBindTarget, FilterValueSource {
128
+ export declare class Store extends HoistBase implements FilterBindTarget, FilterValueSource, GridFilterBindTarget {
128
129
  static isStore(obj: unknown): obj is Store;
129
130
  readonly isFilterValueSource = true;
130
131
  fields: Field[];
@@ -1,3 +1,4 @@
1
+ import type { GridFilterBindTarget } from '@xh/hoist/cmp/grid';
1
2
  import { HoistBase, PlainObject, Some } from '@xh/hoist/core';
2
3
  import { Cube, CubeField, Filter, FilterBindTarget, FilterLike, FilterValueSource, Query, QueryConfig, Store, StoreChangeLog, StoreRecordId } from '@xh/hoist/data';
3
4
  import { ViewRowData } from '@xh/hoist/data/cube/ViewRowData';
@@ -33,7 +34,7 @@ export interface DimensionValue {
33
34
  * Primary interface for consuming grouped and aggregated data from the cube.
34
35
  * Applications should create via the {@link Cube.createView} factory.
35
36
  */
36
- export declare class View extends HoistBase implements FilterBindTarget, FilterValueSource {
37
+ export declare class View extends HoistBase implements FilterBindTarget, FilterValueSource, GridFilterBindTarget {
37
38
  static isView(obj: unknown): obj is View;
38
39
  readonly isFilterValueSource = true;
39
40
  /** Query defining this View. Update via {@link updateQuery}. */
package/data/Store.ts CHANGED
@@ -5,6 +5,7 @@
5
5
  * Copyright © 2026 Extremely Heavy Industries Inc.
6
6
  */
7
7
 
8
+ import type {GridFilterBindTarget} from '@xh/hoist/cmp/grid';
8
9
  import {HoistBase, managed, PlainObject, Some, XH} from '@xh/hoist/core';
9
10
  import {
10
11
  Field,
@@ -191,7 +192,10 @@ export type StoreRecordIdSpec = string | ((data: PlainObject) => StoreRecordId);
191
192
  /**
192
193
  * A managed and observable set of local, in-memory Records.
193
194
  */
194
- export class Store extends HoistBase implements FilterBindTarget, FilterValueSource {
195
+ export class Store
196
+ extends HoistBase
197
+ implements FilterBindTarget, FilterValueSource, GridFilterBindTarget
198
+ {
195
199
  static isStore(obj: unknown): obj is Store {
196
200
  return obj instanceof Store;
197
201
  }
package/data/cube/View.ts CHANGED
@@ -5,6 +5,7 @@
5
5
  * Copyright © 2026 Extremely Heavy Industries Inc.
6
6
  */
7
7
 
8
+ import type {GridFilterBindTarget} from '@xh/hoist/cmp/grid';
8
9
  import {HoistBase, PlainObject, Some} from '@xh/hoist/core';
9
10
  import {
10
11
  Cube,
@@ -66,7 +67,10 @@ export interface DimensionValue {
66
67
  * Primary interface for consuming grouped and aggregated data from the cube.
67
68
  * Applications should create via the {@link Cube.createView} factory.
68
69
  */
69
- export class View extends HoistBase implements FilterBindTarget, FilterValueSource {
70
+ export class View
71
+ extends HoistBase
72
+ implements FilterBindTarget, FilterValueSource, GridFilterBindTarget
73
+ {
70
74
  static isView(obj: unknown): obj is View {
71
75
  return obj instanceof View;
72
76
  }
@@ -153,6 +153,7 @@ const tabCmp = hoistCmp.factory<TabProps>(({tab, index, localModel, model}) => {
153
153
  className: classNames(
154
154
  'xh-dynamic-tab-switcher__tabs__tab',
155
155
  isActive && 'xh-dynamic-tab-switcher__tabs__tab--active',
156
+ isFavorite && 'xh-dynamic-tab-switcher__tabs__tab--favorite',
156
157
  snapshot.isDragging && 'xh-dynamic-tab-switcher__tabs__tab--dragging'
157
158
  ),
158
159
  onClick: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "80.0.0-SNAPSHOT.1768600489622",
3
+ "version": "80.0.0-SNAPSHOT.1768604486805",
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",