-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3088 from IgniteUI/dpetev/sass-migrations-7
#2994 Add migration for Sass theme props migration
- Loading branch information
Showing
8 changed files
with
365 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
projects/igniteui-angular/migrations/common/schema/theme-props.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"definitions": { | ||
"ThemePropertyChange": { | ||
"properties": { | ||
"name": { | ||
"description": "Name of the theme property", | ||
"type": "string" | ||
}, | ||
"owner": { | ||
"description": "Theming function this parameter belongs to", | ||
"type": "string" | ||
}, | ||
"remove": { | ||
"description": "Remove directive/component/property", | ||
"type": "boolean" | ||
}, | ||
"replaceWith": { | ||
"description": "Replace original selector/property with new one", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"owner" | ||
], | ||
"type": "object" | ||
} | ||
}, | ||
"properties": { | ||
"changes": { | ||
"description": "An array of changes to theme function properties", | ||
"items": { | ||
"$ref": "#/definitions/ThemePropertyChange" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"required": [ | ||
"changes" | ||
], | ||
"type": "object" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.