Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dropdown-tree): add size, shape and color customization to dropd…
…own tree BREAKING CHANGE: Use high-level picker for dropdown tree base Dropdown tree reuses the picker base component size, rounded and fill component options.
- Loading branch information
Showing
6 changed files
with
15 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// Dropdowntree | ||
$dropdowntree-popup-spacer-x: $padding-x !default; | ||
$dropdowntree-popup-spacer-y: $dropdowntree-popup-spacer-x !default; | ||
$dropdowntree-filter-shadow: none !default; | ||
$dropdowntree-filter-spacer: 0px !default; | ||
$dropdowntree-popup-padding-x: map-get( $spacing, 2 ) !default; | ||
$dropdowntree-popup-padding-y: map-get( $spacing, 2 ) !default; |
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,5 +1,3 @@ | ||
// Dropdowntree | ||
$dropdowntree-popup-spacer-x: $padding-y-lg !default; | ||
$dropdowntree-popup-spacer-y: $dropdowntree-popup-spacer-x !default; | ||
$dropdowntree-filter-shadow: $popup-shadow !default; | ||
$dropdowntree-filter-spacer: $dropdowntree-popup-spacer-y !default; | ||
$dropdowntree-popup-padding-x: map-get( $spacing, 2 ) !default; | ||
$dropdowntree-popup-padding-y: map-get( $spacing, 2 ) !default; |
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,20 +1,19 @@ | ||
@include exports("dropdowntree/layout") { | ||
|
||
.k-dropdowntree { | ||
@extend .k-multiselect; | ||
@extend .k-dropdown-list; | ||
} | ||
// Dropdown tree | ||
.k-dropdown-tree {} | ||
|
||
// Dropdowntree popup | ||
.k-popup-dropdowntree { | ||
padding: 0; | ||
|
||
.k-check-all { | ||
padding: $dropdowntree-popup-spacer-y $dropdowntree-popup-spacer-x; | ||
padding: $dropdowntree-popup-padding-y $dropdowntree-popup-padding-x; | ||
} | ||
|
||
.k-treeview { | ||
padding: $dropdowntree-popup-spacer-y $dropdowntree-popup-spacer-x; | ||
padding: $dropdowntree-popup-padding-y $dropdowntree-popup-padding-x; | ||
} | ||
} | ||
|
||
} |
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,5 +1,6 @@ | ||
@include exports("dropdowntree/theme") { | ||
|
||
// Dropdown tree doesn't need any theme, because it extends dropdown list and multiselects | ||
// Dropdown tree | ||
.k-dropdown-tree {} | ||
|
||
} |
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,5 +1,3 @@ | ||
// Dropdowntree | ||
$dropdowntree-popup-spacer-x: $padding-y-lg !default; | ||
$dropdowntree-popup-spacer-y: $dropdowntree-popup-spacer-x !default; | ||
$dropdowntree-filter-shadow: $popup-shadow !default; | ||
$dropdowntree-filter-spacer: $dropdowntree-popup-spacer-y !default; | ||
$dropdowntree-popup-padding-x: map-get( $spacing, 2 ) !default; | ||
$dropdowntree-popup-padding-y: map-get( $spacing, 2 ) !default; |
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,5 +1,3 @@ | ||
// Dropdowntree | ||
$dropdowntree-popup-spacer-x: $padding-x !default; | ||
$dropdowntree-popup-spacer-y: $dropdowntree-popup-spacer-x !default; | ||
$dropdowntree-filter-shadow: none !default; | ||
$dropdowntree-filter-spacer: 0px !default; | ||
$dropdowntree-popup-padding-x: map-get( $spacing, 2 ) !default; | ||
$dropdowntree-popup-padding-y: map-get( $spacing, 2 ) !default; |