Skip to content

Commit

Permalink
fix(stack-layout): add component module
Browse files Browse the repository at this point in the history
  • Loading branch information
zhpenkov committed Nov 11, 2024
1 parent 04cf791 commit 8c3d630
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/default/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@forward "./ripple/_index.scss";
@forward "./table/_index.scss";
@forward "./gridlayout/_index.scss";
@forward "./stacklayout/_index.scss";
@forward "./virtual-scroller/_index.scss";
@forward "./no-data/_index.scss";
@forward "./avatar/_index.scss";
Expand Down Expand Up @@ -238,6 +239,7 @@
@use "./splitter/_index.scss" as *;
@use "./tilelayout/_index.scss" as *;
@use "./gridlayout/_index.scss" as *;
@use "./stacklayout/_index.scss" as *;
@use "./dock-manager/_index.scss" as *;
@use "./chart-wizard/_index.scss" as *;

Expand Down Expand Up @@ -407,6 +409,7 @@
@include kendo-splitter--styles();
@include kendo-tile-layout--styles();
@include kendo-grid-layout--styles();
@include kendo-stack-layout--styles();
@include kendo-dock-manager--styles();
@include kendo-chart-wizard--styles();

Expand Down
19 changes: 19 additions & 0 deletions packages/default/scss/stacklayout/_index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Dependencies
@use "../core/_index.scss" as *;
@use "../utils/_index.scss" as *;

// Component
@forward "./_variables.scss";
@use "./_layout.scss" as *;
@use "./_theme.scss" as *;

// Expose
@mixin kendo-stack-layout--styles() {
@include import-once( "stack-layout" ) {
@include core-styles();
@include kendo-stack-layout--layout();
@include kendo-stack-layout--theme();
@include kendo-utils--flex-grid--align-items();
@include kendo-utils--flex-grid--justify-content();
}
}
10 changes: 10 additions & 0 deletions packages/default/scss/stacklayout/_layout.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@mixin kendo-stack-layout--layout-base() {

// StackLayout
.k-stack-layout {}

}

@mixin kendo-stack-layout--layout() {
@include kendo-stack-layout--layout-base();
}
10 changes: 10 additions & 0 deletions packages/default/scss/stacklayout/_theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@mixin kendo-stack-layout--theme-base() {

// StackLayout
.k-stack-layout {}

}

@mixin kendo-stack-layout--theme() {
@include kendo-stack-layout--theme-base();
}
1 change: 1 addition & 0 deletions packages/default/scss/stacklayout/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// StackLayout

0 comments on commit 8c3d630

Please sign in to comment.