@adaptabletools/adaptable 22.0.0-canary.6 → 22.0.0-canary.8
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 +63 -74
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +6 -6
- package/src/AdaptableOptions/ContainerOptions.d.ts +55 -15
- package/src/AdaptableState/AdaptableState.d.ts +2 -0
- package/src/AdaptableState/AlertState.d.ts +1 -2
- package/src/AdaptableState/Common/AdaptableColumnContext.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableObject.d.ts +4 -0
- package/src/AdaptableState/Common/AdaptableRowContext.d.ts +11 -0
- package/src/AdaptableState/Common/AdaptableRowContext.js +1 -0
- package/src/AdaptableState/Common/BaseContext.d.ts +2 -0
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +7 -0
- package/src/AdaptableState/Common/NamedObject.d.ts +10 -0
- package/src/AdaptableState/Common/NamedObject.js +1 -0
- package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
- package/src/AdaptableState/Common/Schedule.d.ts +2 -2
- package/src/AdaptableState/Common/SuspendableObject.d.ts +10 -0
- package/src/AdaptableState/Common/SuspendableObject.js +1 -0
- package/src/AdaptableState/Common/TransposeConfig.d.ts +11 -9
- package/src/AdaptableState/CustomSortState.d.ts +1 -1
- package/src/AdaptableState/FormatColumnState.d.ts +1 -1
- package/src/AdaptableState/InitialState.d.ts +9 -0
- package/src/AdaptableState/LayoutState.d.ts +2 -3
- package/src/AdaptableState/PlusMinusState.d.ts +1 -1
- package/src/AdaptableState/ShortcutState.d.ts +1 -1
- package/src/AdaptableState/StyledColumnState.d.ts +1 -1
- package/src/AdaptableState/UserInterfaceState.d.ts +14 -0
- package/src/AdaptableState/UserInterfaceState.js +1 -0
- package/src/Api/AlertApi.d.ts +6 -0
- package/src/Api/CustomSortApi.d.ts +6 -0
- package/src/Api/FlashingCellApi.d.ts +6 -0
- package/src/Api/FormatColumnApi.d.ts +10 -4
- package/src/Api/GridApi.d.ts +5 -9
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -0
- package/src/Api/Implementation/AlertApiImpl.js +5 -6
- package/src/Api/Implementation/ChartingApiImpl.js +2 -2
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -0
- package/src/Api/Implementation/CustomSortApiImpl.js +3 -0
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +3 -0
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -5
- package/src/Api/Implementation/FormatColumnApiImpl.js +6 -5
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -6
- package/src/Api/Implementation/GridApiImpl.js +9 -9
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -0
- package/src/Api/Implementation/LayoutApiImpl.js +4 -1
- package/src/Api/Implementation/NamedQueryApiImpl.js +2 -2
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +1 -0
- package/src/Api/Implementation/PlusMinusApiImpl.js +3 -0
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +3 -0
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ShortcutApiImpl.js +3 -0
- package/src/Api/Implementation/SystemStatusApiImpl.js +6 -9
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +13 -0
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -2
- package/src/Api/Internal/LayoutInternalApi.js +1 -1
- package/src/Api/Internal/NamedQueryInternalApi.js +4 -4
- package/src/Api/LayoutApi.d.ts +6 -0
- package/src/Api/PlusMinusApi.d.ts +6 -0
- package/src/Api/ScheduleApi.d.ts +6 -0
- package/src/Api/ShortcutApi.d.ts +6 -0
- package/src/Api/UserInterfaceApi.d.ts +17 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +8 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +15 -0
- package/src/Redux/ActionsReducers/UserInterfaceRedux.d.ts +11 -0
- package/src/Redux/ActionsReducers/UserInterfaceRedux.js +21 -0
- package/src/Redux/Store/AdaptableStore.js +45 -16
- package/src/Strategy/BulkUpdateModule.js +8 -8
- package/src/Strategy/PlusMinusModule.js +1 -1
- package/src/Strategy/QuickSearchModule.js +1 -1
- package/src/Strategy/SettingsPanelModule.js +11 -7
- package/src/Strategy/SmartEditModule.js +10 -10
- package/src/Utilities/Services/DataService.js +1 -1
- package/src/Utilities/Services/Fdc3Service.js +4 -4
- package/src/Utilities/Services/ModuleService.js +1 -3
- package/src/Utilities/Services/ThemeService.js +2 -6
- package/src/Utilities/Services/ValidationService.js +1 -1
- package/src/Utilities/logDeprecation.js +3 -4
- package/src/Utilities/resolveContainerElement.d.ts +23 -0
- package/src/Utilities/resolveContainerElement.js +44 -0
- package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
- package/src/View/Components/CellPopup/index.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
- package/src/View/Components/EntityRulesEditor/Utilities.js +5 -5
- package/src/View/Components/NewScopeComponent.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -8
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +1 -1
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +36 -1
- package/src/View/Components/WizardSummaryPage.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -3
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
- package/src/View/Dashboard/CustomToolbar.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +3 -3
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/TransposedPopup.js +144 -138
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +3 -3
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +5 -5
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +11 -11
- package/src/View/StateManagement/handleExportState.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
- package/src/View/UIHelper.d.ts +2 -1
- package/src/View/UIHelper.js +8 -14
- package/src/agGrid/Adaptable.js +11 -11
- package/src/agGrid/AdaptableAgGrid.d.ts +12 -8
- package/src/agGrid/AdaptableAgGrid.js +150 -82
- package/src/agGrid/AgGridAdapter.js +8 -8
- package/src/agGrid/AgGridColumnAdapter.js +1 -1
- package/src/agGrid/AgGridExportAdapter.js +5 -5
- package/src/agGrid/AgGridFloatingFilterAdapter.js +1 -1
- package/src/agGrid/AgGridMenuAdapter.js +9 -1
- package/src/agGrid/AgGridThemeAdapter.js +2 -2
- package/src/components/CheckBox/index.js +1 -1
- package/src/components/Dropdown/Arrows.js +1 -1
- package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/index.js +1 -1
- package/src/components/Select/Select.js +1 -1
- package/src/components/Tree/TreeDropdown/index.js +1 -1
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +62 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.js +2 -2
- package/src/migration/VersionUpgrade17.js +4 -4
- package/src/migration/VersionUpgrade20.js +4 -4
- package/src/types.d.ts +5 -2
- package/themes/dark.css +30 -29
- package/themes/light.css +4 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -34,9 +34,9 @@ export class AdaptableUpgradeHelper {
|
|
|
34
34
|
let updatedState = structuredClone(state);
|
|
35
35
|
for (const version of versionUpgrades) {
|
|
36
36
|
if (version > fromVersion && version <= toVersion) {
|
|
37
|
-
upgradeHelper.logger.info(`Migration to ${version} started
|
|
37
|
+
upgradeHelper.logger.info(`Migration to version ${version} started.`);
|
|
38
38
|
updatedState = upgradeHelper.versionUpgrades.get(version).migrateState(updatedState);
|
|
39
|
-
upgradeHelper.logger.info(`Migration to ${version}
|
|
39
|
+
upgradeHelper.logger.info(`Migration to version ${version} completed.`);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
return updatedState;
|
|
@@ -98,7 +98,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
98
98
|
// let dashboardState: any = this.api.dashboardApi.getDashboardState();
|
|
99
99
|
let dashboardState = state.Dashboard;
|
|
100
100
|
if (dashboardState?.VisibleButtons) {
|
|
101
|
-
this.logger.warn(`
|
|
101
|
+
this.logger.warn(`Migrating deprecated DashboardState.VisibleButtons: [${dashboardState.VisibleButtons}].`);
|
|
102
102
|
state.Dashboard.ModuleButtons = [
|
|
103
103
|
...state.Dashboard.ModuleButtons,
|
|
104
104
|
...dashboardState.VisibleButtons,
|
|
@@ -245,7 +245,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
245
245
|
if (!formatColumnsWithColumnStyles.length) {
|
|
246
246
|
return state;
|
|
247
247
|
}
|
|
248
|
-
this.logger.info(`
|
|
248
|
+
this.logger.info(`Migrating ${formatColumnsWithColumnStyles.length} FormatColumn styles to StyledColumns.`, formatColumnsWithColumnStyles);
|
|
249
249
|
// delete the format columns with column styles
|
|
250
250
|
state.FormatColumn.FormatColumns = state.FormatColumn.FormatColumns?.filter((fc) => !fc.ColumnStyle);
|
|
251
251
|
const styledColumns = formatColumnsWithColumnStyles
|
|
@@ -273,7 +273,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
273
273
|
const deprecatedToolPanelConfigs = state.ToolPanel
|
|
274
274
|
?.VisibleToolPanels;
|
|
275
275
|
if (deprecatedToolPanelConfigs?.length) {
|
|
276
|
-
this.logger.warn(`
|
|
276
|
+
this.logger.warn(`Migrating deprecated ToolPanelState.VisibleToolPanels: [${deprecatedToolPanelConfigs}].`);
|
|
277
277
|
const migratedToolPanelConfigs = deprecatedToolPanelConfigs.map((toolPanel) => ({
|
|
278
278
|
Name: toolPanel,
|
|
279
279
|
State: 'collapsed',
|
|
@@ -336,7 +336,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
336
336
|
cc.CalculatedColumnSettings = {
|
|
337
337
|
DataType: 'number',
|
|
338
338
|
};
|
|
339
|
-
this.logger.warn(`
|
|
339
|
+
this.logger.warn(`Migrating Calculated Column "${cc.ColumnId}": adding default CalculatedColumnSettings.`);
|
|
340
340
|
}
|
|
341
341
|
});
|
|
342
342
|
return state;
|
|
@@ -149,7 +149,7 @@ export class VersionUpgrade20 extends VersionUpgrade {
|
|
|
149
149
|
return state;
|
|
150
150
|
}
|
|
151
151
|
migrateColTypeToDataType(state) {
|
|
152
|
-
this.logger.info(
|
|
152
|
+
this.logger.info('Migrating column types to data types.');
|
|
153
153
|
// Calculated Column DataType
|
|
154
154
|
const calculatedColumnState = state.CalculatedColumn;
|
|
155
155
|
if (calculatedColumnState && calculatedColumnState.CalculatedColumns) {
|
|
@@ -160,7 +160,7 @@ export class VersionUpgrade20 extends VersionUpgrade {
|
|
|
160
160
|
}
|
|
161
161
|
const newDataType = mapOldTypeToDataType(cc.CalculatedColumnSettings.DataType);
|
|
162
162
|
if (newDataType === 'unknown') {
|
|
163
|
-
this.logger.warn(`Calculated Column ${cc.ColumnId} has
|
|
163
|
+
this.logger.warn(`Calculated Column "${cc.ColumnId}" has unrecognized DataType: "${cc.CalculatedColumnSettings.DataType}".`);
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
166
166
|
cc.CalculatedColumnSettings.DataType = newDataType;
|
|
@@ -178,7 +178,7 @@ export class VersionUpgrade20 extends VersionUpgrade {
|
|
|
178
178
|
}
|
|
179
179
|
const newDataType = mapOldTypeToDataType(fc.FreeTextColumnSettings.DataType);
|
|
180
180
|
if (newDataType === 'unknown') {
|
|
181
|
-
this.logger.warn(`FreeText Column ${fc.ColumnId} has
|
|
181
|
+
this.logger.warn(`FreeText Column "${fc.ColumnId}" has unrecognized DataType: "${fc.FreeTextColumnSettings.DataType}".`);
|
|
182
182
|
}
|
|
183
183
|
else {
|
|
184
184
|
fc.FreeTextColumnSettings.DataType = newDataType;
|
|
@@ -188,7 +188,7 @@ export class VersionUpgrade20 extends VersionUpgrade {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
migrateSparklineState(state) {
|
|
191
|
-
this.logger.info(
|
|
191
|
+
this.logger.info('Migrating Sparkline state.');
|
|
192
192
|
const sparklineState = state.StyledColumn;
|
|
193
193
|
if (sparklineState && sparklineState.StyledColumns) {
|
|
194
194
|
sparklineState.StyledColumns.forEach((styledColumn) => {
|
package/src/types.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export type { AggregatedBooleanFunctionName } from './Utilities/ExpressionFuncti
|
|
|
10
10
|
export type { AggregatedScalarFunctionName } from './Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions';
|
|
11
11
|
export type { AdaptableOptions } from './AdaptableOptions/AdaptableOptions';
|
|
12
12
|
export { AdaptablePlugin } from './AdaptableOptions/AdaptablePlugin';
|
|
13
|
-
export type { ContainerOptions } from './AdaptableOptions/ContainerOptions';
|
|
13
|
+
export type { ContainerOptions, AdaptableContainerValue, AdaptableCSSSelector, InitContainerContext, ContainerContext, } from './AdaptableOptions/ContainerOptions';
|
|
14
14
|
export type { FlashingCellOptions, FlashTarget } from './AdaptableOptions/FlashingCellOptions';
|
|
15
15
|
export type { ToastPositions, ToastTransitions, NotificationsOptions, } from './AdaptableOptions/NotificationsOptions';
|
|
16
16
|
export type { AlertOptions, CommandHandler, AlertForm, AlertFormContext, AlertMessageContext, DataChangeDetectionPolicy, } from './AdaptableOptions/AlertOptions';
|
|
@@ -172,11 +172,13 @@ export type { CellDataChangedInfo } from './AdaptableState/Common/CellDataChange
|
|
|
172
172
|
export type { RowDataChangedInfo, RowDataChangeTrigger, } from './AdaptableState/Common/RowDataChangedInfo';
|
|
173
173
|
export type { DataChangedScope } from './AdaptableState/Common/DataChangedScope';
|
|
174
174
|
export type { DataUpdateConfig } from './AdaptableState/Common/DataUpdateConfig';
|
|
175
|
+
export type { DataRowConfig } from './AdaptableState/Common/DataUpdateConfig';
|
|
175
176
|
export type { AdaptableFormData, AdaptableForm, AdaptableFormField, AdaptableFormFieldType, } from './AdaptableState/Common/AdaptableForm';
|
|
176
177
|
export type { AdaptableButton } from './AdaptableState/Common/AdaptableButton';
|
|
177
178
|
export type { AdaptableMenuItem, UserMenuItem, ColumnMenuContext, ContextMenuContext, AdaptableContextMenuItem, AdaptableColumnMenuItem, AdaptableColumnMenuItemName, AdaptableContextMenuItemName, AgGridMenuItem, MenuCategory, MenuSeparator, } from './AdaptableState/Common/Menu';
|
|
178
179
|
export type { BaseContext } from './AdaptableState/Common/BaseContext';
|
|
179
|
-
export type { AdaptableColumnContext } from './AdaptableState/Common/AdaptableColumnContext';
|
|
180
|
+
export type { AdaptableColumnContext, AdaptableColumnsContext } from './AdaptableState/Common/AdaptableColumnContext';
|
|
181
|
+
export type { AdaptableRowContext } from './AdaptableState/Common/AdaptableRowContext';
|
|
180
182
|
export type { FormContext } from './AdaptableState/Common/FormContext';
|
|
181
183
|
export type { Schedule } from './AdaptableState/Common/Schedule';
|
|
182
184
|
export type { ButtonStyle } from './AdaptableState/Common/ButtonStyle';
|
|
@@ -209,6 +211,7 @@ export type { Shortcut, ShortcutState, ShortcutScopeDataType, } from './Adaptabl
|
|
|
209
211
|
export type { SharedEntity, AdaptableSharedEntity, CustomSharedEntity, TeamSharingState, SharedEntityType, AdaptableSharedEntityConfig, CustomSharedEntityConfig, } from './AdaptableState/TeamSharingState';
|
|
210
212
|
export type { AdaptableTheme, ThemeState } from './AdaptableState/ThemeState';
|
|
211
213
|
export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityMode, } from './AdaptableState/ToolPanelState';
|
|
214
|
+
export type { UserInterfaceState } from './AdaptableState/UserInterfaceState';
|
|
212
215
|
export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, VueFrameworkComponent, CustomRenderFunction, CustomRenderContext, } from './agGrid/AdaptableFrameworkComponent';
|
|
213
216
|
export type { Fdc3Options, GridDataContextMapping, ActionColumnDefaultConfiguration, ResolveContextDataContext, RaiseIntentConfig, BroadcastConfig, HandleFdc3IntentContext, HandleFdc3Context, Fdc3ButtonContext, Fdc3AdaptableButton, HandleFdc3IntentResolutionContext, UIControlConfig, Fdc3IntentOptions, Fdc3ContextOptions, RaiseIntentConfiguration, BroadcastConfiguration, FDC3ActionColumn, } from './AdaptableOptions/Fdc3Options';
|
|
214
217
|
export type { CommentState, CommentThread, AdaptableComment } from './AdaptableState/CommentState';
|
package/themes/dark.css
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
.
|
|
2
|
-
--
|
|
1
|
+
@layer adaptable.theme {
|
|
2
|
+
.ab--theme-dark {
|
|
3
|
+
--ab-theme-loaded: dark;
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
--ab-cmp-input--disabled__background: #232323; /* #b6b7b8 */
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
--ab-color-defaultbackground: #3e444c;
|
|
8
|
+
--ab-color-text-on-defaultbackground: #e2e2e2;
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
--ab-color-primary: #262d2f;
|
|
11
|
+
--ab-color-primarylight: #3d3e3f;
|
|
12
|
+
--ab-color-primarydark: #1c2021;
|
|
13
|
+
--ab-color-text-on-primary: #e2e2e2; /* F2F2F2 */
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
--ab-color-shadow: rgb(255 255 255 / 0.45);
|
|
16
|
+
--ab-cmp-modal-backdrop__background: rgba(255, 255, 255, 0.2);
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
--ab-dashboard__border: #555;
|
|
19
|
+
--ab-cmp-dropdownbutton-list-separator__border: 1px solid #555;
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
--ab-gridheader--filtered__background: var(--ab-color-defaultbackground);
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
--ab-cmp-checkbox__border-color: var(--ab-color-text-on-primary);
|
|
24
|
+
--ab-cmp-checkbox--checked__border-color: var(--ab-color-accent);
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
input[type='number'].ab-Input::-webkit-outer-spin-button,
|
|
27
|
+
input[type='number'].ab-Input::-webkit-inner-spin-button {
|
|
28
|
+
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" viewBox="4 0 18 18" version="1.1"><path fill="%23f7f7f7" d="M7 10l5 5 5-5z" transform="translate(0, 2)"/><path fill="%23f7f7f7" d="M7 14l5-5 5 5z" transform="translate(0, -6)"/></svg>')
|
|
29
|
+
no-repeat center center;
|
|
30
|
+
}
|
|
29
31
|
}
|
|
30
|
-
}
|
|
31
32
|
|
|
32
|
-
/*
|
|
33
|
+
/*
|
|
33
34
|
The following are only redefined here so that the DARK theme in Storybook
|
|
34
35
|
can be previewed correctly as that relies on an element (not the document element)
|
|
35
36
|
to have the class ab--theme-dark.
|
|
@@ -38,11 +39,11 @@ For our production release those are not needed and could be removed
|
|
|
38
39
|
as our dark theme is anyways applied on the document element.
|
|
39
40
|
|
|
40
41
|
*/
|
|
41
|
-
.ab--theme-dark {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
.ab--theme-dark {
|
|
43
|
+
--ab-color-inputcolor: var(--ab-color-text-on-primary);
|
|
44
|
+
--ab-cmp-input__color: var(--ab-color-inputcolor);
|
|
45
|
+
--ab-cmp-input__background: var(--ab-color-defaultbackground);
|
|
46
|
+
--ab-cmp-input--disabled__background: var(--ab-color-primarylight);
|
|
47
|
+
--ab-cmp-field-wrap__background: var(--ab-color-defaultbackground);
|
|
48
|
+
}
|
|
48
49
|
}
|
package/themes/light.css
CHANGED