@adaptabletools/adaptable 23.0.0-canary.1 → 23.0.0-canary.3
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 +130 -137
- package/package.json +1 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -3
- package/src/AdaptableState/Common/AdaptableFormat.d.ts +1 -1
- package/src/AdaptableState/LayoutState.d.ts +5 -4
- package/src/AdaptableState/StyledColumnState.d.ts +7 -16
- package/src/AdaptableState/StyledColumnState.js +9 -1
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Events/ReportScheduleRan.d.ts +4 -0
- package/src/Api/Internal/EventInternalApi.js +2 -1
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/Components/Buttons/ButtonInfo.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonInfo.js +4 -3
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +1 -1
- package/src/View/Components/ColumnFilter/ColumnFilter.js +15 -5
- package/src/View/Components/ColumnFilter/FloatingFilter.js +58 -60
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -2
- package/src/View/Components/ValueSelector/index.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +3 -8
- package/src/View/GridFilter/GridFilterViewPanel.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +4 -4
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +6 -2
- package/src/View/Layout/Wizard/sections/RowSelectionSection.js +1 -1
- package/src/View/Layout/Wizard/sections/SettingsSection.js +1 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +1 -1
- package/src/View/Wizard/OnePageWizards.js +1 -1
- package/src/View/renderWithAdaptableContext.js +1 -1
- package/src/agGrid/AdaptableAgGrid.js +2 -2
- package/src/components/Card/index.js +1 -1
- package/src/components/Combobox/index.js +11 -5
- package/src/components/Datepicker/index.js +6 -6
- package/src/components/Dialog/index.js +1 -1
- package/src/components/DragAndDropContext/TabList.js +1 -1
- package/src/components/Dropdown/Arrows.js +0 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +1 -1
- package/src/components/ExpressionEditor/index.js +1 -1
- package/src/components/Input/index.js +1 -1
- package/src/components/NewDropdownButton/index.d.ts +1 -0
- package/src/components/NewDropdownButton/index.js +3 -3
- package/src/components/NewSelect/index.d.ts +2 -0
- package/src/components/NewSelect/index.js +12 -9
- package/src/components/NewTooltip/index.js +1 -1
- package/src/components/Panel/index.js +1 -1
- package/src/components/SimpleButton/index.js +1 -1
- package/src/components/Tabs/index.js +1 -1
- package/src/components/Tree/TreeDropdown/index.js +4 -8
- package/src/components/ui/button.d.ts +5 -2
- package/src/components/ui/button.js +6 -5
- package/src/components/ui/calendar.d.ts +1 -1
- package/src/components/ui/calendar.js +2 -2
- package/src/components/ui/combobox.d.ts +16 -16
- package/src/components/ui/combobox.js +39 -39
- package/src/components/ui/dropdown-menu.js +1 -1
- package/src/components/ui/input-group.d.ts +10 -9
- package/src/components/ui/input-group.js +17 -16
- package/src/components/ui/input.d.ts +2 -2
- package/src/components/ui/input.js +6 -5
- package/src/components/ui/popover.d.ts +5 -5
- package/src/components/ui/popover.js +8 -8
- package/src/components/ui/select.d.ts +7 -6
- package/src/components/ui/select.js +14 -13
- package/src/components/ui/textarea.d.ts +2 -2
- package/src/components/ui/textarea.js +5 -4
- package/src/components/ui/tooltip.d.ts +6 -5
- package/src/components/ui/tooltip.js +9 -8
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +2 -2
- package/src/layout-manager/src/index.js +5 -4
- package/src/layout-manager/src/normalizeLayoutModel.js +5 -1
- package/src/layout-manager/src/rowGroupDisplayType.d.ts +6 -0
- package/src/layout-manager/src/rowGroupDisplayType.js +24 -0
- package/src/lib/utils.d.ts +20 -0
- package/src/lib/utils.js +45 -0
- package/src/metamodel/adaptable.metamodel.d.ts +7 -26
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade23.d.ts +2 -3
- package/src/migration/VersionUpgrade23.js +4 -16
- package/themes/dark.css +7 -17
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -25,8 +25,8 @@ import { AdaptableState } from '../AdaptableState/AdaptableState';
|
|
|
25
25
|
* shape into `ZeroCentred`; standalone `ReverseGradient` ranges are left untouched.
|
|
26
26
|
*
|
|
27
27
|
* Scheduling:
|
|
28
|
-
* - Remove
|
|
29
|
-
*
|
|
28
|
+
* - Remove the legacy Schedule state section entirely (Reminders, ReportSchedules,
|
|
29
|
+
* IPushPull, OpenFin, and any other keys). Schedules now live under Export / Alert.
|
|
30
30
|
*
|
|
31
31
|
* On first load after upgrade, `AdaptableUpgradeHelper.migrateAdaptableState` runs this when
|
|
32
32
|
* `autoMigrateState` is enabled.
|
|
@@ -34,7 +34,6 @@ import { AdaptableState } from '../AdaptableState/AdaptableState';
|
|
|
34
34
|
export declare class VersionUpgrade23 extends VersionUpgrade {
|
|
35
35
|
migrateState(state: AdaptableState): AdaptableState;
|
|
36
36
|
private migrateSchedulingState;
|
|
37
|
-
private stripLegacyScheduleFields;
|
|
38
37
|
/**
|
|
39
38
|
* `RowScope` (which row kinds — data / group / summary / total — render
|
|
40
39
|
* the style) was originally a Badge-only concept. It applies equally to
|
|
@@ -24,8 +24,8 @@ import { VersionUpgrade } from './VersionUpgrade';
|
|
|
24
24
|
* shape into `ZeroCentred`; standalone `ReverseGradient` ranges are left untouched.
|
|
25
25
|
*
|
|
26
26
|
* Scheduling:
|
|
27
|
-
* - Remove
|
|
28
|
-
*
|
|
27
|
+
* - Remove the legacy Schedule state section entirely (Reminders, ReportSchedules,
|
|
28
|
+
* IPushPull, OpenFin, and any other keys). Schedules now live under Export / Alert.
|
|
29
29
|
*
|
|
30
30
|
* On first load after upgrade, `AdaptableUpgradeHelper.migrateAdaptableState` runs this when
|
|
31
31
|
* `autoMigrateState` is enabled.
|
|
@@ -39,15 +39,6 @@ export class VersionUpgrade23 extends VersionUpgrade {
|
|
|
39
39
|
return this.migrateSchedulingState(state);
|
|
40
40
|
}
|
|
41
41
|
migrateSchedulingState(state) {
|
|
42
|
-
const stripped = this.stripLegacyScheduleFields(state);
|
|
43
|
-
if (!stripped.Export) {
|
|
44
|
-
return stripped;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
...stripped,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
stripLegacyScheduleFields(state) {
|
|
51
42
|
if (!state.Schedule) {
|
|
52
43
|
return state;
|
|
53
44
|
}
|
|
@@ -56,7 +47,6 @@ export class VersionUpgrade23 extends VersionUpgrade {
|
|
|
56
47
|
(legacySchedule.OpenFinSchedules?.length ?? 0);
|
|
57
48
|
const removedReportCount = legacySchedule.ReportSchedules?.length ?? 0;
|
|
58
49
|
const removedReminderCount = legacySchedule.Reminders?.length ?? 0;
|
|
59
|
-
const { IPushPullSchedules: _ipp, OpenFinSchedules: _openFin, ReportSchedules: _reports, Reminders: _reminders, ...scheduleRest } = legacySchedule;
|
|
60
50
|
if (removedPluginCount > 0) {
|
|
61
51
|
this.logger.info(`Removed ${removedPluginCount} ipushpull/OpenFin schedule(s).`);
|
|
62
52
|
}
|
|
@@ -66,10 +56,8 @@ export class VersionUpgrade23 extends VersionUpgrade {
|
|
|
66
56
|
if (removedReminderCount > 0) {
|
|
67
57
|
this.logger.info(`Removed ${removedReminderCount} legacy Reminders from Schedule state.`);
|
|
68
58
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Schedule: scheduleRest,
|
|
72
|
-
};
|
|
59
|
+
const { Schedule: _removed, ...stateWithoutSchedule } = state;
|
|
60
|
+
return stateWithoutSchedule;
|
|
73
61
|
}
|
|
74
62
|
/**
|
|
75
63
|
* `RowScope` (which row kinds — data / group / summary / total — render
|
package/themes/dark.css
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
@layer adaptable.theme {
|
|
2
2
|
.ab--theme-dark {
|
|
3
|
-
/****** Shadcn colors ******/
|
|
4
|
-
--ab-color-background: oklch(0.145 0 0);
|
|
5
|
-
--ab-color-foreground: oklch(0.985 0 0);
|
|
6
3
|
--ab-color-secondary: oklch(0.269 0 0);
|
|
7
4
|
--ab-color-secondary-foreground: oklch(0.985 0 0);
|
|
8
5
|
--ab-color-destructive: oklch(0.396 0.141 25.723);
|
|
9
6
|
--ab-color-destructive-foreground: oklch(0.637 0.237 25.331);
|
|
10
7
|
--ab-color-border: oklch(0.269 0 0);
|
|
11
|
-
/******/
|
|
12
8
|
|
|
13
9
|
--ab-theme-loaded: dark;
|
|
14
10
|
|
|
11
|
+
--ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
|
|
15
12
|
--ab-cmp-input--disabled__background: #232323; /* #b6b7b8 */
|
|
16
13
|
|
|
17
|
-
--ab-color-defaultbackground: #3e444c
|
|
18
|
-
--ab-color-text-on-defaultbackground
|
|
19
|
-
/* Inputs/comboboxes: panel gray, not app chrome black */
|
|
20
|
-
--ab-color-input-background: var(--ab-color-defaultbackground);
|
|
14
|
+
--ab-color-background: var(--ab-color-defaultbackground, #474c52); /*old color was: #3e444c*/
|
|
15
|
+
--ab-color-foreground: var(--ab-color-text-on-defaultbackground, #e2e2e2);
|
|
21
16
|
|
|
22
17
|
--ab-color-primary: #262d2f;
|
|
23
|
-
--ab-color-primary-foreground: var(--ab-color-text-on-primary);
|
|
18
|
+
--ab-color-primary-foreground: var(--ab-color-text-on-primary, #e2e2e2);
|
|
24
19
|
--ab-color-primarylight: #3d3e3f;
|
|
25
20
|
--ab-color-primarydark: #1c2021;
|
|
26
21
|
--ab-color-text-on-primary: #e2e2e2; /* F2F2F2 */
|
|
@@ -47,11 +42,7 @@
|
|
|
47
42
|
--ab-cmp-checkbox__border-color: var(--ab-color-text-on-primary);
|
|
48
43
|
--ab-cmp-checkbox--checked__border-color: var(--ab-color-accent);
|
|
49
44
|
|
|
50
|
-
/* Tabs: darker strip, lighter active tab + panel (inactive vs active was too similar) */
|
|
51
|
-
--ab-cmp-tabs-strip__background: var(--ab-color-primary);
|
|
52
|
-
--ab-cmp-tabs-active__background: var(--ab-color-defaultbackground);
|
|
53
45
|
--ab-cmp-tabs-inactive__opacity: 0.78;
|
|
54
|
-
--ab-cmp-tabs-inactive-separator__color: #555;
|
|
55
46
|
}
|
|
56
47
|
|
|
57
48
|
.ab--theme-dark input.ab-Input[type='number']::-webkit-outer-spin-button,.ab--theme-dark input.ab-Input[type='number']::-webkit-inner-spin-button {
|
|
@@ -68,11 +59,10 @@ For our production release those are not needed and could be removed
|
|
|
68
59
|
as our dark theme is anyways applied on the document element.
|
|
69
60
|
|
|
70
61
|
*/
|
|
71
|
-
.ab--theme-dark {
|
|
62
|
+
/* .ab--theme-dark {
|
|
72
63
|
--ab-color-input-foreground: var(--ab-color-text-on-primary);
|
|
73
64
|
--ab-cmp-input__color: var(--ab-color-input-foreground);
|
|
74
|
-
--ab-cmp-input__background: var(--ab-color-defaultbackground);
|
|
75
65
|
--ab-cmp-input--disabled__background: var(--ab-color-primarylight);
|
|
76
|
-
--ab-cmp-field-wrap__background: var(--ab-color-
|
|
77
|
-
}
|
|
66
|
+
--ab-cmp-field-wrap__background: var(--ab-color-background);
|
|
67
|
+
}*/
|
|
78
68
|
}
|