ados-rcm 1.1.747 → 1.1.748

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.
@@ -40,7 +40,7 @@ declare function changePaletteMode(mode: TPaletteModes): void;
40
40
  */
41
41
  declare function editPalette(palette: Partial<TPalette>, mode?: TPaletteModes | 'all'): void;
42
42
  export type TSemantic = typeof refinedDesignTokens.semantic.light;
43
- export declare const semanticModes: ("light" | "dark")[];
43
+ export declare const semanticModes: ("dark" | "light")[];
44
44
  export type TSemanticModes = (typeof semanticModes)[number];
45
45
  export declare const semanticKeys: ("static-white" | "static-black" | "acent-brand" | "acent-brand-fill" | "label-normal" | "label-strong" | "label-neutral" | "line-normal" | "line-strong" | "line-neutral" | "background-normal" | "elevation-0" | "elevation-10" | "elevation-20" | "alert-warning" | "alert-success" | "alert-danger" | "inverse-label-normal" | "inverse-label-strong" | "inverse-label-neutral" | "inverse-line-normal" | "inverse-line-strong" | "inverse-line-neutral" | "inverse-elevation-0" | "inverse-elevation-10" | "inverse-elevation-20")[];
46
46
  export type TSemanticKeys = (typeof semanticKeys)[number];
@@ -49,7 +49,7 @@ export type TSemanticKeys = (typeof semanticKeys)[number];
49
49
  *
50
50
  * Description : get the current semantic mode.
51
51
  */
52
- declare function getCurrentSemanticMode(): "light" | "dark";
52
+ declare function getCurrentSemanticMode(): "dark" | "light";
53
53
  /**
54
54
  * getSemanticValue : (key: TSemanticKeys, mode: TSemanticModes, isDeep: boolean) => string
55
55
  *
@@ -191,10 +191,6 @@ type TAThemeEvent = IPaletteModeChangeEvent | ISemanticModeChangeEvent;
191
191
  declare function addEventListener<T extends TAThemeEvent>(param: T): void;
192
192
  declare function removeEventListener<T extends TAThemeEvent>(param: T): void;
193
193
  declare function getDeepValue(key: TPaletteKeys | TSemanticKeys | TComponentStyleKeys): string;
194
- export interface IAdditionalClasses {
195
- [key: string]: string;
196
- }
197
- declare function addClasses<T extends Record<string, string>>(classes: T): void;
198
194
  export declare const AThemes: {
199
195
  getCurrentPaletteMode: typeof getCurrentPaletteMode;
200
196
  getPaletteValue: typeof getPaletteValue;
@@ -214,6 +210,5 @@ export declare const AThemes: {
214
210
  addEventListener: typeof addEventListener;
215
211
  removeEventListener: typeof removeEventListener;
216
212
  getDeepValue: typeof getDeepValue;
217
- addClasses: typeof addClasses;
218
213
  };
219
214
  export {};