css-tokens.d.ts 901 B

123456789101112131415161718192021222324252627
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import { VersionChanges } from '../../update-tool/version-changes';
  9. export interface CssTokenUpgradeData {
  10. /** The CSS selector to replace. */
  11. replace: string;
  12. /** The new CSS selector. */
  13. replaceWith: string;
  14. /**
  15. * Controls which file types in which this replacement is made. If omitted, it is made in all
  16. * files.
  17. */
  18. replaceIn?: {
  19. /** Replace this name in stylesheet files. */
  20. stylesheet?: boolean;
  21. /** Replace this name in HTML files. */
  22. html?: boolean;
  23. /** Replace this name in TypeScript strings. */
  24. tsStringLiterals?: boolean;
  25. };
  26. }
  27. export declare const cssTokens: VersionChanges<CssTokenUpgradeData>;