Skip to content
Closed
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
## 76.0.0-SNAPSHOT - unreleased

### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - upgrade to Hoist Core, change to Tab constructor)
* The constructor for `TabModel` has changed to take its owning container as a second argument.
* The constructor for `TabModel` has changed to take its owning container as a second argument.
(Most applications do not create `TabModels` directly, but it is possible.)
* `checkVersion` and related methods' import path has changed. Update imports from
`@xh/hoist/utils/js/VersionUtils` to `@xh/hoist/utils/version` (Unlikely to affect most apps).
* `logDebug, logWarn, logError` and related methods' import path has changed. Update imports from
`@xh/hoist/utils/js` to `@xh/hoist/utils/log`.

### 🎁 New Features

Expand Down
3 changes: 2 additions & 1 deletion admin/tabs/userData/roles/graph/RoleGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import {panel} from '@xh/hoist/desktop/cmp/panel';
import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
import {Icon} from '@xh/hoist/icon';
import {Highcharts} from '@xh/hoist/kit/highcharts';
import {logError, pluralize} from '@xh/hoist/utils/js';
import {pluralize} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {isEmpty} from 'lodash';
import {RoleModel} from '../RoleModel';
import {RoleGraphModel} from './RoleGraphModel';
Expand Down
3 changes: 2 additions & 1 deletion appcontainer/AppContainerModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ import {
TrackService,
WebSocketService
} from '@xh/hoist/svc';
import {checkMinVersion, createSingleton, throwIf} from '@xh/hoist/utils/js';
import {checkMinVersion} from '@xh/hoist/utils/version';
import {createSingleton, throwIf} from '@xh/hoist/utils/js';
import {compact, isEmpty} from 'lodash';
import {AboutDialogModel} from './AboutDialogModel';
import {BannerSourceModel} from './BannerSourceModel';
Expand Down
2 changes: 1 addition & 1 deletion cmp/ag-grid/AgGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
XH
} from '@xh/hoist/core';
import {AgGridReact, GridOptions} from '@xh/hoist/kit/ag-grid';
import {logError} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {splitLayoutProps} from '@xh/hoist/utils/react';
import classNames from 'classnames';
import {isNil} from 'lodash';
Expand Down
3 changes: 2 additions & 1 deletion cmp/chart/Chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import {
import {useContextMenu} from '@xh/hoist/dynamics/desktop';
import {Highcharts} from '@xh/hoist/kit/highcharts';
import {runInAction} from '@xh/hoist/mobx';
import {logError, mergeDeep} from '@xh/hoist/utils/js';
import {mergeDeep} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {
createObservableRef,
getLayoutProps,
Expand Down
2 changes: 1 addition & 1 deletion cmp/chart/impl/ChartContextMenuItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Copyright © 2025 Extremely Heavy Industries Inc.
*/
import type {ChartMenuContext, ChartMenuToken} from '@xh/hoist/cmp/chart/Types';
import {logWarn} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {cloneDeep, isEmpty, isString} from 'lodash';
import {ChartModel} from '@xh/hoist/cmp/chart';
import {isMenuItem, type MenuItem, type MenuItemLike} from '@xh/hoist/core';
Expand Down
3 changes: 2 additions & 1 deletion cmp/grid/columns/Column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import {
RecordActionSpec,
StoreRecord
} from '@xh/hoist/data';
import {logDebug, logWarn, throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
import {logDebug, logWarn} from '@xh/hoist/utils/log';
import {throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
import classNames from 'classnames';
import {
castArray,
Expand Down
3 changes: 2 additions & 1 deletion cmp/grid/helpers/GridCountLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import {box} from '@xh/hoist/cmp/layout';
import {BoxProps, hoistCmp, HoistProps, useContextModel} from '@xh/hoist/core';
import {fmtNumber} from '@xh/hoist/format';
import {logError, pluralize, singularize, withDefault} from '@xh/hoist/utils/js';
import {pluralize, singularize, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {GridModel} from '../GridModel';

export interface GridCountLabelProps extends HoistProps, BoxProps {
Expand Down
3 changes: 2 additions & 1 deletion cmp/grid/impl/ColumnWidthCalculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {GridAutosizeOptions} from '@xh/hoist/cmp/grid/GridAutosizeOptions';
import {XH} from '@xh/hoist/core';
import {CompoundFilter, FieldFilter, Filter, StoreRecord} from '@xh/hoist/data';
import {forEachAsync} from '@xh/hoist/utils/async';
import {logWarn, stripTags} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {stripTags} from '@xh/hoist/utils/js';
import {
forOwn,
groupBy,
Expand Down
2 changes: 1 addition & 1 deletion cmp/grid/impl/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
import {Column, ColumnGroup, ColumnRenderer, GroupRowRenderer} from '@xh/hoist/cmp/grid';
import {HeaderClassParams} from '@xh/hoist/kit/ag-grid';
import {logWarn} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {castArray, isFunction} from 'lodash';

/** @internal */
Expand Down
3 changes: 2 additions & 1 deletion cmp/relativetimestamp/RelativeTimestamp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import {fmtCompactDate, fmtDateTime} from '@xh/hoist/format';
import {action, computed, makeObservable, observable} from '@xh/hoist/mobx';
import {Timer} from '@xh/hoist/utils/async';
import {DAYS, HOURS, LocalDate, SECONDS} from '@xh/hoist/utils/datetime';
import {apiDeprecated, logWarn, withDefault} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {apiDeprecated, withDefault} from '@xh/hoist/utils/js';

interface RelativeTimestampProps extends HoistProps, BoxProps, RelativeTimestampOptions {
/**
Expand Down
3 changes: 2 additions & 1 deletion cmp/treemap/TreeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import {errorMessage} from '@xh/hoist/cmp/error';
import {mask} from '@xh/hoist/cmp/mask';
import {Highcharts} from '@xh/hoist/kit/highcharts';
import {wait} from '@xh/hoist/promise';
import {logError, logWithDebug} from '@xh/hoist/utils/js';
import {logWithDebug} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {
createObservableRef,
getLayoutProps,
Expand Down
12 changes: 2 additions & 10 deletions core/HoistBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,8 @@ import {
runInAction,
when as mobxWhen
} from '@xh/hoist/mobx';
import {
getOrCreate,
logDebug,
logError,
logInfo,
logWarn,
throwIf,
withDebug,
withInfo
} from '@xh/hoist/utils/js';
import {getOrCreate, throwIf} from '@xh/hoist/utils/js';
import {logDebug, logError, logInfo, logWarn, withDebug, withInfo} from '@xh/hoist/utils/log';
import {
debounce as lodashDebounce,
isFunction,
Expand Down
3 changes: 2 additions & 1 deletion core/HoistBaseDecorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/
import {wait} from '@xh/hoist/promise';
import {observable} from 'mobx';
import {logError, throwIf} from '../utils/js';
import {logError} from '@xh/hoist/utils/log';
import {throwIf} from '../utils/js';
import {HoistBaseClass, PersistableState, PersistenceProvider, PersistOptions} from './';

/**
Expand Down
3 changes: 2 additions & 1 deletion core/HoistComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import {
formatSelector,
HoistModel
} from './model';
import {logError, throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
import {throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {getLayoutProps, useOnMount, useOnUnmount} from '@xh/hoist/utils/react';
import classNames from 'classnames';
import {isFunction, isPlainObject, isObject} from 'lodash';
Expand Down
3 changes: 2 additions & 1 deletion core/XH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import {
WebSocketService,
ClientHealthService
} from '@xh/hoist/svc';
import {getLogLevel, setLogLevel, LogLevel} from '@xh/hoist/utils/js/LogUtils';
import type {LogLevel} from './types/Types';
import {getLogLevel, setLogLevel} from '@xh/hoist/utils/log';
import {camelCase, flatten, isString, uniqueId} from 'lodash';
import {Router, State} from 'router5';
import {CancelFn} from 'router5/types/types/base';
Expand Down
3 changes: 2 additions & 1 deletion core/exception/ExceptionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/
import {Exception} from './Exception';
import {fragment, span} from '@xh/hoist/cmp/layout';
import {logDebug, logError, logWarn, stripTags} from '@xh/hoist/utils/js';
import {stripTags} from '@xh/hoist/utils/js';
import {logDebug, logError, logWarn} from '@xh/hoist/utils/log';
import {Icon} from '@xh/hoist/icon';
import {forOwn, has, isArray, isNil, isObject, omitBy, pick, set} from 'lodash';
import {HoistException, PlainObject, XH} from '../';
Expand Down
3 changes: 2 additions & 1 deletion core/load/LoadSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import {
} from '../';
import {LoadSpec, Loadable} from './';
import {makeObservable, observable, runInAction} from '@xh/hoist/mobx';
import {logDebug, logError, throwIf} from '@xh/hoist/utils/js';
import {throwIf} from '@xh/hoist/utils/js';
import {logDebug, logError} from '@xh/hoist/utils/log';
import {isPlainObject, pull} from 'lodash';

/**
Expand Down
3 changes: 2 additions & 1 deletion core/persist/PersistenceProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/

import {olderThan} from '@xh/hoist/utils/datetime';
import {logDebug, logError, throwIf} from '@xh/hoist/utils/js';
import {logDebug, logError} from '@xh/hoist/utils/log';
import {throwIf} from '@xh/hoist/utils/js';
import {
cloneDeep,
compact,
Expand Down
6 changes: 6 additions & 0 deletions core/types/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ export type PageState =
* The page is in the process of being unloaded by the browser (this is a terminal state x_x).
*/
| 'terminated';

/** Severity Level for log statement */
export type LogLevel = 'error' | 'warn' | 'info' | 'debug';

/** Object identifying the source of log statement. Typically, a javascript class */
export type LogSource = string | {displayName: string} | {constructor: {name: string}};
2 changes: 1 addition & 1 deletion data/filter/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import {Some} from '@xh/hoist/core';
import {CompoundFilter, FunctionFilter} from '@xh/hoist/data';
import {logError} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {castArray, flatMap, groupBy, isArray, isFunction} from 'lodash';
import {FieldFilter} from './FieldFilter';
import {Filter} from './Filter';
Expand Down
3 changes: 2 additions & 1 deletion data/impl/RecordSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/

import equal from 'fast-deep-equal';
import {logWarn, throwIf} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {throwIf} from '@xh/hoist/utils/js';
import {maxBy, isNil} from 'lodash';
import {StoreRecord, StoreRecordId} from '../StoreRecord';
import {Store} from '../Store';
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/grid/ColAutosizeButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {GridAutosizeOptions, GridModel} from '@xh/hoist/cmp/grid';
import {hoistCmp, useContextModel} from '@xh/hoist/core';
import '@xh/hoist/desktop/register';
import {Icon} from '@xh/hoist/icon';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';
import {button, ButtonProps} from '../Button';

export interface ColAutosizeButtonProps extends ButtonProps {
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/grid/ColChooserButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {ColChooserModel} from '@xh/hoist/desktop/cmp/grid/impl/colchooser/ColCho
import '@xh/hoist/desktop/register';
import {Icon} from '@xh/hoist/icon';
import {popover, Position} from '@xh/hoist/kit/blueprint';
import {logError, stopPropagation, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {stopPropagation, withDefault} from '@xh/hoist/utils/js';
import {button, ButtonProps} from '../Button';

export interface ColChooserButtonProps extends ButtonProps {
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/grid/ExpandToLevelButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import '@xh/hoist/desktop/register';
import {Icon} from '@xh/hoist/icon';
import {menu, popover, Position} from '@xh/hoist/kit/blueprint';
import {parseMenuItems} from '@xh/hoist/utils/impl';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';
import {ReactNode} from 'react';
import {button, ButtonProps} from '../Button';

Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/grid/ExportButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
import '@xh/hoist/desktop/register';
import {Icon} from '@xh/hoist/icon';
import {ExportOptions} from '@xh/hoist/svc';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';
import {button, ButtonProps} from '../Button';

export interface ExportButtonProps extends ButtonProps {
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/panel/ModalToggleButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {button, ButtonProps} from '@xh/hoist/desktop/cmp/button/Button';
import {PanelModel} from '@xh/hoist/desktop/cmp/panel';
import '@xh/hoist/desktop/register';
import {Icon} from '@xh/hoist/icon';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';

export interface ModalToggleButtonProps extends ButtonProps {
panelModel?: PanelModel;
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/button/zoneGrid/ZoneMapperButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {ZoneMapperModel} from '@xh/hoist/cmp/zoneGrid/impl/ZoneMapperModel';
import {zoneMapper} from '@xh/hoist/desktop/cmp/zoneGrid/impl/ZoneMapper';
import {Icon} from '@xh/hoist/icon';
import {popover, Position} from '@xh/hoist/kit/blueprint';
import {logError, stopPropagation, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {stopPropagation, withDefault} from '@xh/hoist/utils/js';
import {button, ButtonProps} from '../Button';

export interface ZoneMapperButtonProps extends ButtonProps {
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/dash/container/impl/DashContainerUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import {PlainObject} from '@xh/hoist/core';
import {DashContainerModel} from '@xh/hoist/desktop/cmp/dash';
import {serializeIcon} from '@xh/hoist/icon';
import {logDebug, throwIf} from '@xh/hoist/utils/js';
import {logDebug} from '@xh/hoist/utils/log';
import {throwIf} from '@xh/hoist/utils/js';
import {isArray, isEmpty, isFinite, isNil, isPlainObject, isString, round} from 'lodash';
import {DashContainerViewSpec} from '../DashContainerViewSpec';
import GoldenLayout, {ContentItem} from 'golden-layout';
Expand Down
3 changes: 2 additions & 1 deletion desktop/cmp/form/FormField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import {fmtDate, fmtDateTime, fmtJson, fmtNumber} from '@xh/hoist/format';
import {Icon} from '@xh/hoist/icon';
import {tooltip} from '@xh/hoist/kit/blueprint';
import {isLocalDate} from '@xh/hoist/utils/datetime';
import {errorIf, getTestId, logWarn, TEST_ID, throwIf, withDefault} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {errorIf, getTestId, TEST_ID, throwIf, withDefault} from '@xh/hoist/utils/js';
import {getLayoutProps, getReactElementName, useOnMount, useOnUnmount} from '@xh/hoist/utils/react';
import classNames from 'classnames';
import {isBoolean, isDate, isEmpty, isFinite, isNil, isUndefined, kebabCase} from 'lodash';
Expand Down
2 changes: 1 addition & 1 deletion desktop/cmp/grid/editors/BooleanEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '@xh/hoist/desktop/register';
import {EditorProps} from './EditorProps';
import './Editors.scss';
import {useInlineEditorModel} from './impl/InlineEditorModel';
import {logWarn} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';

export interface BooleanEditorProps extends EditorProps<CheckboxProps> {
/**
Expand Down
2 changes: 1 addition & 1 deletion desktop/cmp/panel/Panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
import {useContextMenu, useHotkeys} from '@xh/hoist/desktop/hooks';
import '@xh/hoist/desktop/register';
import {HotkeyConfig} from '@xh/hoist/kit/blueprint';
import {logWarn} from '@xh/hoist/utils/js';
import {logWarn} from '@xh/hoist/utils/log';
import {splitLayoutProps} from '@xh/hoist/utils/react';
import {castArray, omitBy} from 'lodash';
import {Children, isValidElement, ReactElement, ReactNode, useLayoutEffect, useRef} from 'react';
Expand Down
2 changes: 1 addition & 1 deletion desktop/hooks/UseContextMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import type {ContextMenuSpec} from '@xh/hoist/core';
import {contextMenu} from '@xh/hoist/desktop/cmp/contextmenu/ContextMenu';
import {showContextMenu} from '@xh/hoist/kit/blueprint';
import {logError} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {isArray, isEmpty, isFunction, isUndefined} from 'lodash';
import {cloneElement, isValidElement, MouseEvent, ReactElement} from 'react';

Expand Down
3 changes: 2 additions & 1 deletion kit/ag-grid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* Copyright © 2025 Extremely Heavy Industries Inc.
*/

import {checkVersion, logError} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {checkVersion} from '@xh/hoist/utils/version';

/**
* The exports below are ag-Grid components provided at runtime by applications.
Expand Down
3 changes: 2 additions & 1 deletion kit/highcharts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* Copyright © 2025 Extremely Heavy Industries Inc.
*/

import {checkVersion, logError} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {checkVersion} from '@xh/hoist/utils/version';

export let Highcharts = null;

Expand Down
3 changes: 2 additions & 1 deletion mobile/cmp/button/grid/ColAutosizeButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
import {Icon} from '@xh/hoist/icon';
import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
import '@xh/hoist/mobile/register';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';

export interface ColAutosizeButtonProps extends ButtonProps {
/** GridModel to which this button should bind. Will find nearest in context if not provided. */
Expand Down
3 changes: 2 additions & 1 deletion mobile/cmp/button/grid/ColChooserButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
import {Icon} from '@xh/hoist/icon';
import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
import '@xh/hoist/mobile/register';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';

export interface ColChooserButtonProps extends ButtonProps {
/** GridModel to which this button should bind. Will find nearest in context if not provided. */
Expand Down
3 changes: 2 additions & 1 deletion mobile/cmp/button/grid/ExpandCollapseButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
import {Icon} from '@xh/hoist/icon';
import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
import '@xh/hoist/mobile/register';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';
import {isEmpty} from 'lodash';

export interface ExpandCollapseButtonProps extends ButtonProps {
Expand Down
3 changes: 2 additions & 1 deletion mobile/cmp/button/grid/ExpandToLevelButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {GridModel} from '@xh/hoist/cmp/grid';
import {hoistCmp, MenuItemLike, useContextModel} from '@xh/hoist/core';
import {Icon} from '@xh/hoist/icon';
import '@xh/hoist/mobile/register';
import {logError, withDefault} from '@xh/hoist/utils/js';
import {logError} from '@xh/hoist/utils/log';
import {withDefault} from '@xh/hoist/utils/js';
import {menuButton, MenuButtonProps} from '../../menu';

export interface ExpandToLevelButtonProps extends MenuButtonProps {
Expand Down
Loading
Loading