@adaptabletools/adaptable 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;
@@ -1,7 +1,8 @@
1
1
  import { Adaptable,
2
2
  //init as initFn,
3
3
  AdaptableNoCodeWizard as ABWizard, } from './Adaptable';
4
+ import { AdaptableLogger as ABLogger } from './AdaptableLogger';
4
5
  export { default as AdaptableWizardView } from '../View/AdaptableWizardView';
5
6
  export default Adaptable;
6
7
  export const AdaptableNoCodeWizard = ABWizard;
7
- //export const init = initFn;
8
+ export const AdaptableLogger = ABLogger;
@@ -7,7 +7,6 @@ import { Box } from 'rebass';
7
7
  import { DataSource, InfiniteTable, } from '@infinite-table/infinite-react';
8
8
  import { useMemo } from 'react';
9
9
  import join from '../utils/join';
10
- const ROW_HEIGHT = 40;
11
10
  const checkboxStyle = {
12
11
  position: 'relative',
13
12
  top: 1,
@@ -330,7 +329,7 @@ export const Select = function (props) {
330
329
  data: filteredOptions, primaryKey: "value", selectionMode: isMulti ? 'multi-row' : 'single-row',
331
330
  // @ts-ignore
332
331
  onRowSelectionChange: isLoading ? null : isMulti ? onRowSelectionChange : onSingleRowSelectionChange, rowSelection: rowSelection, isRowDisabled: isRowDisabled },
333
- React.createElement(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 })));
332
+ React.createElement(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 })));
334
333
  };
335
334
  }, [isMulti, showHeaderSelectionCheckbox]);
336
335
  const DropdownIndicator = React.useMemo(() => {
@@ -417,7 +416,7 @@ export const Select = function (props) {
417
416
  zIndex: 999999,
418
417
  boxShadow: 'var(--ab-cmp-select-menu__box-shadow)',
419
418
  minWidth: `var(--ab-cmp-select-menu__min-width)`,
420
- '--ab-cmp-select-menu__min-height': `min(${((props.options || []).length + (showHeaderSelectionCheckbox ? 1 : 0)) * ROW_HEIGHT}px, 20rem)`,
419
+ '--ab-cmp-select-menu__min-height': `min(${(props.options || []).length + (showHeaderSelectionCheckbox ? 1 : 0)} * var(--ab-grid-row-height), 20rem)`,
421
420
  ...commonStyles(state),
422
421
  ...props.menuStyle,
423
422
  };
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  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" || '',
3
- PUBLISH_TIMESTAMP: 1743270603331 || Date.now(),
4
- VERSION: "20.0.1" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1743601254997 || Date.now(),
4
+ VERSION: "20.0.2" || '--current-version--',
5
5
  };