@adaptabletools/adaptable-react-aggrid 12.0.0-canary.1 → 12.0.0-canary.4
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/base.css +41 -14
- package/index.css +49 -14
- package/package.json +2 -2
- package/src/components/AdaptableOptionsWizardView.js +2 -1
- package/src/setupFrameworkComponents.js +2 -1
package/base.css
CHANGED
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
padding: 0 !important;
|
|
673
673
|
overflow: hidden !important;
|
|
674
674
|
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
675
|
-
border: 0 !important
|
|
675
|
+
border: 0 !important;
|
|
676
676
|
}
|
|
677
677
|
/* Buttons */
|
|
678
678
|
.rdp-button_reset {
|
|
@@ -692,19 +692,20 @@
|
|
|
692
692
|
.rdp-button {
|
|
693
693
|
border: 2px solid transparent;
|
|
694
694
|
}
|
|
695
|
-
.rdp-button[disabled] {
|
|
695
|
+
.rdp-button[aria-disabled='true'] {
|
|
696
696
|
opacity: 0.25;
|
|
697
|
+
pointer-events: none;
|
|
697
698
|
}
|
|
698
|
-
.rdp-button:not([disabled]) {
|
|
699
|
+
.rdp-button:not([aria-disabled='true']) {
|
|
699
700
|
cursor: pointer;
|
|
700
701
|
}
|
|
701
|
-
.rdp-button:focus
|
|
702
|
-
.rdp-button:active
|
|
702
|
+
.rdp-button:focus,
|
|
703
|
+
.rdp-button:active {
|
|
703
704
|
color: inherit;
|
|
704
705
|
border: var(--rdp-outline);
|
|
705
706
|
background-color: var(--rdp-background-color);
|
|
706
707
|
}
|
|
707
|
-
.rdp-button:hover:not([disabled]) {
|
|
708
|
+
.rdp-button:hover:not([aria-disabled='true']) {
|
|
708
709
|
background-color: var(--rdp-background-color);
|
|
709
710
|
}
|
|
710
711
|
.rdp-months {
|
|
@@ -814,8 +815,8 @@
|
|
|
814
815
|
opacity: unset;
|
|
815
816
|
color: unset;
|
|
816
817
|
}
|
|
817
|
-
.rdp-dropdown:focus:not([disabled])
|
|
818
|
-
.rdp-dropdown:active:not([disabled])
|
|
818
|
+
.rdp-dropdown:focus:not([disabled]) + .rdp-caption_label,
|
|
819
|
+
.rdp-dropdown:active:not([disabled]) + .rdp-caption_label {
|
|
819
820
|
border: var(--rdp-outline);
|
|
820
821
|
border-radius: 6px;
|
|
821
822
|
background-color: var(--rdp-background-color);
|
|
@@ -843,7 +844,7 @@
|
|
|
843
844
|
.rdp-tbody {
|
|
844
845
|
border: 0;
|
|
845
846
|
}
|
|
846
|
-
.rdp-
|
|
847
|
+
.rdp-tfoot {
|
|
847
848
|
margin: 0.5em;
|
|
848
849
|
}
|
|
849
850
|
.rdp-cell {
|
|
@@ -873,14 +874,14 @@
|
|
|
873
874
|
.rdp-day_today:not(.rdp-day_outside) {
|
|
874
875
|
font-weight: bold;
|
|
875
876
|
}
|
|
876
|
-
.rdp-day_selected:not([disabled]),
|
|
877
|
-
.rdp-day_selected:focus:not([disabled]),
|
|
878
|
-
.rdp-day_selected:active:not([disabled]),
|
|
879
|
-
.rdp-day_selected:hover:not([disabled]) {
|
|
877
|
+
.rdp-day_selected:not([aria-disabled='true']),
|
|
878
|
+
.rdp-day_selected:focus:not([aria-disabled='true']),
|
|
879
|
+
.rdp-day_selected:active:not([aria-disabled='true']),
|
|
880
|
+
.rdp-day_selected:hover:not([aria-disabled='true']) {
|
|
880
881
|
color: white;
|
|
881
882
|
background-color: var(--rdp-accent-color);
|
|
882
883
|
}
|
|
883
|
-
.rdp-day_selected:focus:not([disabled]) {
|
|
884
|
+
.rdp-day_selected:focus:not([aria-disabled='true']) {
|
|
884
885
|
border: var(--rdp-outline-selected);
|
|
885
886
|
}
|
|
886
887
|
.rdp:not([dir='rtl']) .rdp-day_range_start:not(.rdp-day_range_end) {
|
|
@@ -1782,6 +1783,10 @@
|
|
|
1782
1783
|
--ab-cmp-progress-indicator__padding: var(--ab-space-3);
|
|
1783
1784
|
--ab-cmp-progress-indicator__background: var(--ab-color-primary);
|
|
1784
1785
|
--ab-cmp-progress-indicator__color: var(--ab-color-text-on-primary); }
|
|
1786
|
+
:root {
|
|
1787
|
+
--ab-cmp-icon__fill: var(--ab-icon-fill);
|
|
1788
|
+
--ab-cmp-icon__height: 17px;
|
|
1789
|
+
--ab-cmp-icon__width: 17px; }
|
|
1785
1790
|
:root {
|
|
1786
1791
|
--ab-cmp-wizard__padding: var(--ab-space-5);
|
|
1787
1792
|
--ab-cmp-wizard__margin: var(--ab-space-1);
|
|
@@ -3117,6 +3122,24 @@ html.ab--theme-dark .ab-ListBoxFilterForm--aggrid-style {
|
|
|
3117
3122
|
button.ab-StatusBar__SubPanel:hover {
|
|
3118
3123
|
background-color: var(--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover);
|
|
3119
3124
|
cursor: pointer; }
|
|
3125
|
+
.ab-StatusBar {
|
|
3126
|
+
display: flex;
|
|
3127
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border);
|
|
3128
|
+
border-left: var(--ab-cmp-adaptable-statusbar__border); }
|
|
3129
|
+
.ab-StatusBar__SubPanel {
|
|
3130
|
+
padding: var(--ab-cmp-adaptable-statusbar-sub-panel__padding);
|
|
3131
|
+
border: 0;
|
|
3132
|
+
background: none;
|
|
3133
|
+
font-weight: 400;
|
|
3134
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border); }
|
|
3135
|
+
.ab-StatusBar__SubPanel:last-child {
|
|
3136
|
+
border-right: 0; }
|
|
3137
|
+
.ab-StatusBar__SubPanel,
|
|
3138
|
+
.ab-StatusBar__SubPanel .ab-SimpleButton {
|
|
3139
|
+
color: var(--ab-cmp-adaptable-statusbar__color); }
|
|
3140
|
+
button.ab-StatusBar__SubPanel:hover {
|
|
3141
|
+
background-color: var(--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover);
|
|
3142
|
+
cursor: pointer; }
|
|
3120
3143
|
.ab-alert--error {
|
|
3121
3144
|
background: var(--ab-color-error); }
|
|
3122
3145
|
.ab-alert--success {
|
|
@@ -3156,6 +3179,10 @@ button.ab-StatusBar__SubPanel:hover {
|
|
|
3156
3179
|
column-gap: var(--ab-space-1); }
|
|
3157
3180
|
.ab-ActionColumn > button.ab-SimpleButton {
|
|
3158
3181
|
height: 100%; }
|
|
3182
|
+
.adaptableRowActionButtons.ag-cell {
|
|
3183
|
+
padding: 0; }
|
|
3184
|
+
.adaptableRowActionButtons.ag-cell .ab-ActionColumn {
|
|
3185
|
+
column-gap: 0; }
|
|
3159
3186
|
.Toastify__toast-container {
|
|
3160
3187
|
border-style: none;
|
|
3161
3188
|
border-width: 0px; }
|
package/index.css
CHANGED
|
@@ -1177,7 +1177,7 @@ template {
|
|
|
1177
1177
|
padding: 0 !important;
|
|
1178
1178
|
overflow: hidden !important;
|
|
1179
1179
|
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
1180
|
-
border: 0 !important
|
|
1180
|
+
border: 0 !important;
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
/* Buttons */
|
|
@@ -1201,22 +1201,23 @@ template {
|
|
|
1201
1201
|
border: 2px solid transparent;
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
|
-
.rdp-button[disabled] {
|
|
1204
|
+
.rdp-button[aria-disabled='true'] {
|
|
1205
1205
|
opacity: 0.25;
|
|
1206
|
+
pointer-events: none;
|
|
1206
1207
|
}
|
|
1207
1208
|
|
|
1208
|
-
.rdp-button:not([disabled]) {
|
|
1209
|
+
.rdp-button:not([aria-disabled='true']) {
|
|
1209
1210
|
cursor: pointer;
|
|
1210
1211
|
}
|
|
1211
1212
|
|
|
1212
|
-
.rdp-button:focus
|
|
1213
|
-
.rdp-button:active
|
|
1213
|
+
.rdp-button:focus,
|
|
1214
|
+
.rdp-button:active {
|
|
1214
1215
|
color: inherit;
|
|
1215
1216
|
border: var(--rdp-outline);
|
|
1216
1217
|
background-color: var(--rdp-background-color);
|
|
1217
1218
|
}
|
|
1218
1219
|
|
|
1219
|
-
.rdp-button:hover:not([disabled]) {
|
|
1220
|
+
.rdp-button:hover:not([aria-disabled='true']) {
|
|
1220
1221
|
background-color: var(--rdp-background-color);
|
|
1221
1222
|
}
|
|
1222
1223
|
|
|
@@ -1347,8 +1348,8 @@ template {
|
|
|
1347
1348
|
color: unset;
|
|
1348
1349
|
}
|
|
1349
1350
|
|
|
1350
|
-
.rdp-dropdown:focus:not([disabled])
|
|
1351
|
-
.rdp-dropdown:active:not([disabled])
|
|
1351
|
+
.rdp-dropdown:focus:not([disabled]) + .rdp-caption_label,
|
|
1352
|
+
.rdp-dropdown:active:not([disabled]) + .rdp-caption_label {
|
|
1352
1353
|
border: var(--rdp-outline);
|
|
1353
1354
|
border-radius: 6px;
|
|
1354
1355
|
background-color: var(--rdp-background-color);
|
|
@@ -1382,7 +1383,7 @@ template {
|
|
|
1382
1383
|
border: 0;
|
|
1383
1384
|
}
|
|
1384
1385
|
|
|
1385
|
-
.rdp-
|
|
1386
|
+
.rdp-tfoot {
|
|
1386
1387
|
margin: 0.5em;
|
|
1387
1388
|
}
|
|
1388
1389
|
|
|
@@ -1417,15 +1418,15 @@ template {
|
|
|
1417
1418
|
font-weight: bold;
|
|
1418
1419
|
}
|
|
1419
1420
|
|
|
1420
|
-
.rdp-day_selected:not([disabled]),
|
|
1421
|
-
.rdp-day_selected:focus:not([disabled]),
|
|
1422
|
-
.rdp-day_selected:active:not([disabled]),
|
|
1423
|
-
.rdp-day_selected:hover:not([disabled]) {
|
|
1421
|
+
.rdp-day_selected:not([aria-disabled='true']),
|
|
1422
|
+
.rdp-day_selected:focus:not([aria-disabled='true']),
|
|
1423
|
+
.rdp-day_selected:active:not([aria-disabled='true']),
|
|
1424
|
+
.rdp-day_selected:hover:not([aria-disabled='true']) {
|
|
1424
1425
|
color: white;
|
|
1425
1426
|
background-color: var(--rdp-accent-color);
|
|
1426
1427
|
}
|
|
1427
1428
|
|
|
1428
|
-
.rdp-day_selected:focus:not([disabled]) {
|
|
1429
|
+
.rdp-day_selected:focus:not([aria-disabled='true']) {
|
|
1429
1430
|
border: var(--rdp-outline-selected);
|
|
1430
1431
|
}
|
|
1431
1432
|
|
|
@@ -2451,6 +2452,11 @@ template {
|
|
|
2451
2452
|
--ab-cmp-progress-indicator__background: var(--ab-color-primary);
|
|
2452
2453
|
--ab-cmp-progress-indicator__color: var(--ab-color-text-on-primary); }
|
|
2453
2454
|
|
|
2455
|
+
:root {
|
|
2456
|
+
--ab-cmp-icon__fill: var(--ab-icon-fill);
|
|
2457
|
+
--ab-cmp-icon__height: 17px;
|
|
2458
|
+
--ab-cmp-icon__width: 17px; }
|
|
2459
|
+
|
|
2454
2460
|
:root {
|
|
2455
2461
|
--ab-cmp-wizard__padding: var(--ab-space-5);
|
|
2456
2462
|
--ab-cmp-wizard__margin: var(--ab-space-1);
|
|
@@ -4107,6 +4113,29 @@ button.ab-StatusBar__SubPanel:hover {
|
|
|
4107
4113
|
background-color: var(--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover);
|
|
4108
4114
|
cursor: pointer; }
|
|
4109
4115
|
|
|
4116
|
+
.ab-StatusBar {
|
|
4117
|
+
display: flex;
|
|
4118
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border);
|
|
4119
|
+
border-left: var(--ab-cmp-adaptable-statusbar__border); }
|
|
4120
|
+
|
|
4121
|
+
.ab-StatusBar__SubPanel {
|
|
4122
|
+
padding: var(--ab-cmp-adaptable-statusbar-sub-panel__padding);
|
|
4123
|
+
border: 0;
|
|
4124
|
+
background: none;
|
|
4125
|
+
font-weight: 400;
|
|
4126
|
+
border-right: var(--ab-cmp-adaptable-statusbar__border); }
|
|
4127
|
+
|
|
4128
|
+
.ab-StatusBar__SubPanel:last-child {
|
|
4129
|
+
border-right: 0; }
|
|
4130
|
+
|
|
4131
|
+
.ab-StatusBar__SubPanel,
|
|
4132
|
+
.ab-StatusBar__SubPanel .ab-SimpleButton {
|
|
4133
|
+
color: var(--ab-cmp-adaptable-statusbar__color); }
|
|
4134
|
+
|
|
4135
|
+
button.ab-StatusBar__SubPanel:hover {
|
|
4136
|
+
background-color: var(--ab-cmp-adaptable-statusbar-sub-panel-icon__background-color-hover);
|
|
4137
|
+
cursor: pointer; }
|
|
4138
|
+
|
|
4110
4139
|
.ab-alert--error {
|
|
4111
4140
|
background: var(--ab-color-error); }
|
|
4112
4141
|
|
|
@@ -4160,6 +4189,12 @@ button.ab-StatusBar__SubPanel:hover {
|
|
|
4160
4189
|
.ab-ActionColumn > button.ab-SimpleButton {
|
|
4161
4190
|
height: 100%; }
|
|
4162
4191
|
|
|
4192
|
+
.adaptableRowActionButtons.ag-cell {
|
|
4193
|
+
padding: 0; }
|
|
4194
|
+
|
|
4195
|
+
.adaptableRowActionButtons.ag-cell .ab-ActionColumn {
|
|
4196
|
+
column-gap: 0; }
|
|
4197
|
+
|
|
4163
4198
|
.Toastify__toast-container {
|
|
4164
4199
|
border-style: none;
|
|
4165
4200
|
border-width: 0px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-react-aggrid",
|
|
3
|
-
"version": "12.0.0-canary.
|
|
3
|
+
"version": "12.0.0-canary.4",
|
|
4
4
|
"description": "React version of AdapTable - the powerful AG Grid add-on that provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "contact sales@adaptabletools.com for details",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"tslib": "^2.0.0",
|
|
22
|
-
"@adaptabletools/adaptable": "12.0.0-canary.
|
|
22
|
+
"@adaptabletools/adaptable": "12.0.0-canary.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@ag-grid-community/all-modules": ">=27.2.0",
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const agGrid_1 = require("@adaptabletools/adaptable/agGrid");
|
|
7
7
|
const AdaptableReact_1 = tslib_1.__importDefault(require("./AdaptableReact"));
|
|
8
|
-
|
|
8
|
+
const AdaptableOptionsWizardView = (props) => {
|
|
9
9
|
const { shouldRenderAdaptable, adaptableProps } = props, adaptableWizardViewProps = tslib_1.__rest(props, ["shouldRenderAdaptable", "adaptableProps"]);
|
|
10
10
|
const [options, setOptions] = React.useState(null);
|
|
11
11
|
if (!options) {
|
|
@@ -20,3 +20,4 @@ exports.AdaptableOptionsWizardView = (props) => {
|
|
|
20
20
|
}
|
|
21
21
|
return React.createElement(React.Fragment, null);
|
|
22
22
|
};
|
|
23
|
+
exports.AdaptableOptionsWizardView = AdaptableOptionsWizardView;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_dom_1 = require("react-dom");
|
|
7
7
|
const logger_1 = require("./logger");
|
|
8
|
-
|
|
8
|
+
const setupFrameworkComponents = (adaptableApi) => {
|
|
9
9
|
adaptableApi.internalApi
|
|
10
10
|
.getAdaptableInstance()
|
|
11
11
|
._onIncludeFired('FrameworkComponentChange', ({ command, frameworkComponent, containerDomNode, componentType }) => {
|
|
@@ -30,3 +30,4 @@ exports.setupFrameworkComponents = (adaptableApi) => {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
|
+
exports.setupFrameworkComponents = setupFrameworkComponents;
|