-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material): migrate theme to the dart-sass module system
BREAKING CHANGE Starting with the R4 2024 release, all Kendo themes are now migrated to the SASS module system. This breaking change is due to the `node-sass` package reaching its official end of life. For more information, please refer to the following links: * https://sass-lang.com/blog/the-module-system-is-launched/ * sass/node-sass@107ded9
- Loading branch information
Showing
446 changed files
with
6,711 additions
and
4,868 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,19 @@ | ||
@import "../core/_index.scss"; | ||
@import "../utils/_index.scss"; | ||
|
||
|
||
// Module meta | ||
$_kendo-module-meta: ( | ||
name: "action-buttons", | ||
dependencies: ( | ||
"button", | ||
"icon" | ||
) | ||
); | ||
|
||
|
||
// Dependencies | ||
@import "../button/_index.scss"; | ||
|
||
@use "../core/_index.scss" as *; | ||
@use "../utils/_index.scss" as *; | ||
@use "../button/_index.scss" as *; | ||
|
||
// Component | ||
@import "./_variables.scss"; | ||
@import "./_layout.scss"; | ||
@import "./_theme.scss"; | ||
|
||
|
||
// Register | ||
@import "../core/module-system/index.import.scss"; | ||
@include module-register( $_kendo-module-meta... ); | ||
|
||
|
||
@forward "./_variables.scss"; | ||
@use "./_layout.scss" as *; | ||
@use "./_theme.scss" as *; | ||
// Expose | ||
@mixin kendo-action-buttons--styles() { | ||
@include module-render( "action-buttons" ) { | ||
@include import-once( "action-buttons" ) { | ||
@include core-styles(); | ||
@include kendo-button--styles(); | ||
@include kendo-action-buttons--layout(); | ||
@include kendo-action-buttons--theme(); | ||
@include kendo-utils--flex-grid--justify-content(); | ||
} | ||
} | ||
|
||
@if $kendo-auto-bootstrap { | ||
@include kendo-action-buttons--styles(); | ||
} |
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
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 |
---|---|---|
@@ -1,45 +1,25 @@ | ||
@import "../core/_index.scss"; | ||
@import "../utils/_index.scss"; | ||
|
||
|
||
// Module meta | ||
$_kendo-module-meta: ( | ||
name: "action-sheet", | ||
dependencies: ( | ||
"icon", | ||
"listgroup", | ||
"popup" | ||
) | ||
); | ||
|
||
|
||
// Dependencies | ||
@import "../icons/_index.scss"; | ||
@import "../listgroup/_index.scss"; | ||
@import "../popup/_index.scss"; | ||
|
||
@use "../core/_index.scss" as *; | ||
@use "../icons/_index.scss" as *; | ||
@use "../utils/_index.scss" as *; | ||
@use "../listgroup/_index.scss" as *; | ||
@use "../popup/_index.scss" as *; | ||
|
||
// Component | ||
@import "./_variables.scss"; | ||
@import "./_layout.scss"; | ||
@import "./_theme.scss"; | ||
|
||
|
||
// Register | ||
@import "../core/module-system/index.import.scss"; | ||
@include module-register( $_kendo-module-meta... ); | ||
|
||
@forward "./_variables.scss"; | ||
@use "./_layout.scss" as *; | ||
@use "./_theme.scss" as *; | ||
|
||
// Expose | ||
@mixin kendo-action-sheet--styles() { | ||
@include module-render( "action-sheet" ) { | ||
@include import-once( "action-sheet" ) { | ||
@include core-styles(); | ||
@include kendo-icon--styles(); | ||
@include kendo-listgroup--styles(); | ||
@include kendo-popup--styles(); | ||
@include kendo-action-sheet--layout(); | ||
@include kendo-action-sheet--theme(); | ||
@include kendo-utils--layout--overflow(); | ||
@include kendo-utils--typography--text-align(); | ||
} | ||
} | ||
|
||
@if $kendo-auto-bootstrap { | ||
@include kendo-action-sheet--styles(); | ||
} |
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
Oops, something went wrong.