@adaptabletools/adaptable-cjs 20.0.1 → 20.0.2

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,4 +1,6 @@
1
1
  import { Adaptable, AdaptableNoCodeWizard as ABWizard } from './Adaptable';
2
+ import { AdaptableLogger as ABLogger } from './AdaptableLogger';
2
3
  export { default as AdaptableWizardView } from '../View/AdaptableWizardView';
3
4
  export default Adaptable;
4
5
  export declare const AdaptableNoCodeWizard: typeof ABWizard;
6
+ export declare const AdaptableLogger: typeof ABLogger;
@@ -3,10 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.AdaptableNoCodeWizard = exports.AdaptableWizardView = void 0;
6
+ exports.AdaptableLogger = exports.AdaptableNoCodeWizard = exports.AdaptableWizardView = void 0;
7
7
  const Adaptable_1 = require("./Adaptable");
8
+ const AdaptableLogger_1 = require("./AdaptableLogger");
8
9
  var AdaptableWizardView_1 = require("../View/AdaptableWizardView");
9
10
  Object.defineProperty(exports, "AdaptableWizardView", { enumerable: true, get: function () { return __importDefault(AdaptableWizardView_1).default; } });
10
11
  exports.default = Adaptable_1.Adaptable;
11
12
  exports.AdaptableNoCodeWizard = Adaptable_1.AdaptableNoCodeWizard;
12
- //export const init = initFn;
13
+ exports.AdaptableLogger = AdaptableLogger_1.AdaptableLogger;
@@ -11,7 +11,6 @@ const rebass_1 = require("rebass");
11
11
  const infinite_react_1 = require("@infinite-table/infinite-react");
12
12
  const react_1 = require("react");
13
13
  const join_1 = tslib_1.__importDefault(require("../utils/join"));
14
- const ROW_HEIGHT = 40;
15
14
  const checkboxStyle = {
16
15
  position: 'relative',
17
16
  top: 1,
@@ -334,7 +333,7 @@ const Select = function (props) {
334
333
  data: filteredOptions, primaryKey: "value", selectionMode: isMulti ? 'multi-row' : 'single-row',
335
334
  // @ts-ignore
336
335
  onRowSelectionChange: isLoading ? null : isMulti ? onRowSelectionChange : onSingleRowSelectionChange, rowSelection: rowSelection, isRowDisabled: isRowDisabled },
337
- React.createElement(infinite_react_1.InfiniteTable, { header: isMulti && showHeaderSelectionCheckbox ? true : false, rowClassName: rowClassName, showZebraRows: false, onCellClick: isLoading ? null : onCellClick, keyboardNavigation: isLoading ? false : 'row', activeRowIndex: focusedOptionIndex, keyboardSelection: true, rowHeight: ROW_HEIGHT, columns: isMulti ? INFINITE_COLUMNS_WITH_CHECKBOX : INFINITE_COLUMNS_WITH_RADIO, domProps: INFINITE_DOM_PROPS })));
336
+ React.createElement(infinite_react_1.InfiniteTable, { header: isMulti && showHeaderSelectionCheckbox ? true : false, rowClassName: rowClassName, showZebraRows: false, rowHeight: '--ab-grid-row-height', onCellClick: isLoading ? null : onCellClick, keyboardNavigation: isLoading ? false : 'row', activeRowIndex: focusedOptionIndex, keyboardSelection: true, columns: isMulti ? INFINITE_COLUMNS_WITH_CHECKBOX : INFINITE_COLUMNS_WITH_RADIO, domProps: INFINITE_DOM_PROPS })));
338
337
  };
339
338
  }, [isMulti, showHeaderSelectionCheckbox]);
340
339
  const DropdownIndicator = React.useMemo(() => {
@@ -421,7 +420,7 @@ const Select = function (props) {
421
420
  zIndex: 999999,
422
421
  boxShadow: 'var(--ab-cmp-select-menu__box-shadow)',
423
422
  minWidth: `var(--ab-cmp-select-menu__min-width)`,
424
- '--ab-cmp-select-menu__min-height': `min(${((props.options || []).length + (showHeaderSelectionCheckbox ? 1 : 0)) * ROW_HEIGHT}px, 20rem)`,
423
+ '--ab-cmp-select-menu__min-height': `min(${(props.options || []).length + (showHeaderSelectionCheckbox ? 1 : 0)} * var(--ab-grid-row-height), 20rem)`,
425
424
  ...commonStyles(state),
426
425
  ...props.menuStyle,
427
426
  };
package/src/env.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
5
- PUBLISH_TIMESTAMP: 1743270632298 || Date.now(),
6
- VERSION: "20.0.1" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1743601283268 || Date.now(),
6
+ VERSION: "20.0.2" || '--current-version--',
7
7
  };