@adaptabletools/adaptable-react-aggrid 24.0.0-canary.7 → 24.0.0-canary.9
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/index.css
CHANGED
|
@@ -1026,6 +1026,9 @@
|
|
|
1026
1026
|
.twa\:max-w-3xl {
|
|
1027
1027
|
max-width: var(--twa-container-3xl);
|
|
1028
1028
|
}
|
|
1029
|
+
.twa\:max-w-28 {
|
|
1030
|
+
max-width: calc(var(--ab-base-space) * 28);
|
|
1031
|
+
}
|
|
1029
1032
|
.twa\:max-w-50 {
|
|
1030
1033
|
max-width: calc(var(--ab-base-space) * 50);
|
|
1031
1034
|
}
|
|
@@ -7065,10 +7068,6 @@
|
|
|
7065
7068
|
--ab-cmp-icon__fill: var(--ab-icon-fill);
|
|
7066
7069
|
--ab-cmp-icon__height: 17px;
|
|
7067
7070
|
--ab-cmp-icon__width: 17px;
|
|
7068
|
-
--ab-cmp-wizard__padding: calc(var(--ab-base-space) * 16);
|
|
7069
|
-
--ab-cmp-wizard__margin: var(--ab-base-space);
|
|
7070
|
-
--ab-cmp-wizard__background: var(--ab-color-primary);
|
|
7071
|
-
--ab-cmp-wizard__color: var(--ab-color-primary-foreground);
|
|
7072
7071
|
--ab-cmp-button-border-radius: 0px;
|
|
7073
7072
|
--ab-cmp-button-disabled-opacity: 0.5;
|
|
7074
7073
|
--ab-cmp-button-background: var(--ab-color-primary);
|
|
@@ -9037,21 +9036,6 @@
|
|
|
9037
9036
|
bottom: calc(var(--ab-popover-triangle-size) * -1);
|
|
9038
9037
|
transform: translate3d(calc(var(--ab-popover-triangle-size) * -0.5), 0px, 0px);
|
|
9039
9038
|
}
|
|
9040
|
-
.ab-NocodeWizard,.ab-NocodeWizard *,.ab-NocodeWizard *:before,.ab-NocodeWizard *:after {
|
|
9041
|
-
box-sizing: border-box;
|
|
9042
|
-
}
|
|
9043
|
-
.ab-NocodeWizard {
|
|
9044
|
-
padding: var(--ab-cmp-wizard__padding);
|
|
9045
|
-
margin: var(--ab-cmp-wizard__margin);
|
|
9046
|
-
background: var(--ab-cmp-wizard__background);
|
|
9047
|
-
color: var(--ab-cmp-wizard__color);
|
|
9048
|
-
height: 100%;
|
|
9049
|
-
}
|
|
9050
|
-
.ab-NocodeWizardFormBox {
|
|
9051
|
-
border: 1px solid var(--ab-color-primarydark);
|
|
9052
|
-
border-radius: var(--ab-border-radius);
|
|
9053
|
-
background-color: var(--ab-color-background);
|
|
9054
|
-
}
|
|
9055
9039
|
.ab-Button.ab-Button {
|
|
9056
9040
|
border-radius: var(--ab-cmp-button-border-radius);
|
|
9057
9041
|
padding: calc(var(--ab-base-space) * 2);
|
|
@@ -9521,6 +9505,10 @@
|
|
|
9521
9505
|
min-width: 0;
|
|
9522
9506
|
max-width: none;
|
|
9523
9507
|
width: 100%;
|
|
9508
|
+
--ab-color-input-background: var(--ab-color-primarylight);
|
|
9509
|
+
}
|
|
9510
|
+
.ab--theme-dark .ab-AgGridColumnFilter-host--tool-panel, .ab--theme-dark .ab-ColumnFilter--tool-panel {
|
|
9511
|
+
--ab-color-input-background: unset;
|
|
9524
9512
|
}
|
|
9525
9513
|
.ab-IconSelector__Popup {
|
|
9526
9514
|
color: var(--ab-cmp-icon-selector__popup__color);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-react-aggrid",
|
|
3
|
-
"version": "24.0.0-canary.
|
|
3
|
+
"version": "24.0.0-canary.9",
|
|
4
4
|
"description": "React version of AdapTable - the powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "contact sales@adaptabletools.com for details",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"react-redux": "9.2.0",
|
|
10
10
|
"tslib": "^2.8.1",
|
|
11
|
-
"@adaptabletools/adaptable": "24.0.0-canary.
|
|
11
|
+
"@adaptabletools/adaptable": "24.0.0-canary.9"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"ag-grid-enterprise": ">=36.2.0",
|
package/src/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from '@adaptabletools/adaptable';
|
|
|
2
2
|
export declare const AdaptableNumberEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptableNumberCellEditorParams & import("react").RefAttributes<unknown>>;
|
|
3
3
|
export declare const AdaptablePercentageEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptablePercentageCellEditorParams & import("react").RefAttributes<unknown>>;
|
|
4
4
|
export declare const AdaptableDateEditor: import("react").ForwardRefExoticComponent<import("@adaptabletools/adaptable").AdaptableDateEditorParams & import("react").RefAttributes<unknown>>;
|
|
5
|
-
export { AdaptableOptionsWizardView } from './components/AdaptableOptionsWizardView';
|
|
6
5
|
export { Adaptable } from './components/AdaptableProvider';
|
|
7
6
|
export { Icon } from '@adaptabletools/adaptable/src/components/icons';
|
|
8
7
|
export * from './components/useAdaptableState';
|
package/src/index.js
CHANGED
|
@@ -3,7 +3,6 @@ export * from '@adaptabletools/adaptable';
|
|
|
3
3
|
export const AdaptableNumberEditor = AdaptableReactNumberEditor;
|
|
4
4
|
export const AdaptablePercentageEditor = AdaptableReactPercentageEditor;
|
|
5
5
|
export const AdaptableDateEditor = AdaptableReactDateEditor;
|
|
6
|
-
export { AdaptableOptionsWizardView } from './components/AdaptableOptionsWizardView';
|
|
7
6
|
export { Adaptable } from './components/AdaptableProvider';
|
|
8
7
|
export { Icon } from '@adaptabletools/adaptable/src/components/icons';
|
|
9
8
|
export * from './components/useAdaptableState';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AdaptableWizardView } from '@adaptabletools/adaptable';
|
|
3
|
-
import AdaptableReact from './AdaptableReact';
|
|
4
|
-
interface AdaptableOptionsWizardViewProps extends React.ComponentProps<typeof AdaptableWizardView> {
|
|
5
|
-
shouldRenderAdaptable?: boolean;
|
|
6
|
-
adaptableProps?: Omit<React.ComponentProps<typeof AdaptableReact>, 'adaptableOptions'>;
|
|
7
|
-
}
|
|
8
|
-
export declare const AdaptableOptionsWizardView: React.FunctionComponent<AdaptableOptionsWizardViewProps>;
|
|
9
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { AdaptableWizardView } from '@adaptabletools/adaptable';
|
|
4
|
-
import AdaptableReact from './AdaptableReact';
|
|
5
|
-
export const AdaptableOptionsWizardView = (props) => {
|
|
6
|
-
const { shouldRenderAdaptable, adaptableProps, ...adaptableWizardViewProps } = props;
|
|
7
|
-
const [adaptableConfig, setAdaptableConfig] = React.useState(null);
|
|
8
|
-
if (!adaptableConfig) {
|
|
9
|
-
return (_jsx(AdaptableWizardView, { ...adaptableWizardViewProps, onInit: (adaptableOptions, gridOptions) => {
|
|
10
|
-
setAdaptableConfig({ adaptableOptions, gridOptions });
|
|
11
|
-
props?.onInit(adaptableOptions, gridOptions);
|
|
12
|
-
} }));
|
|
13
|
-
}
|
|
14
|
-
if (adaptableConfig && props.shouldRenderAdaptable) {
|
|
15
|
-
const preparedAdaptableProps = {
|
|
16
|
-
...adaptableProps,
|
|
17
|
-
adaptableOptions: adaptableConfig.adaptableOptions,
|
|
18
|
-
gridOptions: adaptableConfig.gridOptions,
|
|
19
|
-
};
|
|
20
|
-
return _jsx(AdaptableReact, { ...preparedAdaptableProps });
|
|
21
|
-
}
|
|
22
|
-
return _jsx(_Fragment, {});
|
|
23
|
-
};
|