@adaptabletools/adaptable-cjs 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 +2 -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 +2 -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 +2 -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 +2 -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 +17 -1
- package/src/Redux/ActionsReducers/UserInterfaceRedux.d.ts +11 -0
- package/src/Redux/ActionsReducers/UserInterfaceRedux.js +26 -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 +47 -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 +35 -0
- 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.cjs.tsbuildinfo +1 -1
|
@@ -37,9 +37,9 @@ class AdaptableUpgradeHelper {
|
|
|
37
37
|
let updatedState = structuredClone(state);
|
|
38
38
|
for (const version of versionUpgrades) {
|
|
39
39
|
if (version > fromVersion && version <= toVersion) {
|
|
40
|
-
upgradeHelper.logger.info(`Migration to ${version} started
|
|
40
|
+
upgradeHelper.logger.info(`Migration to version ${version} started.`);
|
|
41
41
|
updatedState = upgradeHelper.versionUpgrades.get(version).migrateState(updatedState);
|
|
42
|
-
upgradeHelper.logger.info(`Migration to ${version}
|
|
42
|
+
upgradeHelper.logger.info(`Migration to version ${version} completed.`);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
return updatedState;
|
|
@@ -102,7 +102,7 @@ class VersionUpgrade17 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
102
102
|
// let dashboardState: any = this.api.dashboardApi.getDashboardState();
|
|
103
103
|
let dashboardState = state.Dashboard;
|
|
104
104
|
if (dashboardState?.VisibleButtons) {
|
|
105
|
-
this.logger.warn(`
|
|
105
|
+
this.logger.warn(`Migrating deprecated DashboardState.VisibleButtons: [${dashboardState.VisibleButtons}].`);
|
|
106
106
|
state.Dashboard.ModuleButtons = [
|
|
107
107
|
...state.Dashboard.ModuleButtons,
|
|
108
108
|
...dashboardState.VisibleButtons,
|
|
@@ -249,7 +249,7 @@ class VersionUpgrade17 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
249
249
|
if (!formatColumnsWithColumnStyles.length) {
|
|
250
250
|
return state;
|
|
251
251
|
}
|
|
252
|
-
this.logger.info(`
|
|
252
|
+
this.logger.info(`Migrating ${formatColumnsWithColumnStyles.length} FormatColumn styles to StyledColumns.`, formatColumnsWithColumnStyles);
|
|
253
253
|
// delete the format columns with column styles
|
|
254
254
|
state.FormatColumn.FormatColumns = state.FormatColumn.FormatColumns?.filter((fc) => !fc.ColumnStyle);
|
|
255
255
|
const styledColumns = formatColumnsWithColumnStyles
|
|
@@ -277,7 +277,7 @@ class VersionUpgrade17 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
277
277
|
const deprecatedToolPanelConfigs = state.ToolPanel
|
|
278
278
|
?.VisibleToolPanels;
|
|
279
279
|
if (deprecatedToolPanelConfigs?.length) {
|
|
280
|
-
this.logger.warn(`
|
|
280
|
+
this.logger.warn(`Migrating deprecated ToolPanelState.VisibleToolPanels: [${deprecatedToolPanelConfigs}].`);
|
|
281
281
|
const migratedToolPanelConfigs = deprecatedToolPanelConfigs.map((toolPanel) => ({
|
|
282
282
|
Name: toolPanel,
|
|
283
283
|
State: 'collapsed',
|
|
@@ -340,7 +340,7 @@ class VersionUpgrade17 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
340
340
|
cc.CalculatedColumnSettings = {
|
|
341
341
|
DataType: 'number',
|
|
342
342
|
};
|
|
343
|
-
this.logger.warn(`
|
|
343
|
+
this.logger.warn(`Migrating Calculated Column "${cc.ColumnId}": adding default CalculatedColumnSettings.`);
|
|
344
344
|
}
|
|
345
345
|
});
|
|
346
346
|
return state;
|
|
@@ -153,7 +153,7 @@ class VersionUpgrade20 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
153
153
|
return state;
|
|
154
154
|
}
|
|
155
155
|
migrateColTypeToDataType(state) {
|
|
156
|
-
this.logger.info(
|
|
156
|
+
this.logger.info('Migrating column types to data types.');
|
|
157
157
|
// Calculated Column DataType
|
|
158
158
|
const calculatedColumnState = state.CalculatedColumn;
|
|
159
159
|
if (calculatedColumnState && calculatedColumnState.CalculatedColumns) {
|
|
@@ -164,7 +164,7 @@ class VersionUpgrade20 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
164
164
|
}
|
|
165
165
|
const newDataType = mapOldTypeToDataType(cc.CalculatedColumnSettings.DataType);
|
|
166
166
|
if (newDataType === 'unknown') {
|
|
167
|
-
this.logger.warn(`Calculated Column ${cc.ColumnId} has
|
|
167
|
+
this.logger.warn(`Calculated Column "${cc.ColumnId}" has unrecognized DataType: "${cc.CalculatedColumnSettings.DataType}".`);
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
170
170
|
cc.CalculatedColumnSettings.DataType = newDataType;
|
|
@@ -182,7 +182,7 @@ class VersionUpgrade20 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
182
182
|
}
|
|
183
183
|
const newDataType = mapOldTypeToDataType(fc.FreeTextColumnSettings.DataType);
|
|
184
184
|
if (newDataType === 'unknown') {
|
|
185
|
-
this.logger.warn(`FreeText Column ${fc.ColumnId} has
|
|
185
|
+
this.logger.warn(`FreeText Column "${fc.ColumnId}" has unrecognized DataType: "${fc.FreeTextColumnSettings.DataType}".`);
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
188
188
|
fc.FreeTextColumnSettings.DataType = newDataType;
|
|
@@ -192,7 +192,7 @@ class VersionUpgrade20 extends VersionUpgrade_1.VersionUpgrade {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
migrateSparklineState(state) {
|
|
195
|
-
this.logger.info(
|
|
195
|
+
this.logger.info('Migrating Sparkline state.');
|
|
196
196
|
const sparklineState = state.StyledColumn;
|
|
197
197
|
if (sparklineState && sparklineState.StyledColumns) {
|
|
198
198
|
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