@progress/kendo-theme-core 14.7.0-dev.11 → 14.7.0-dev.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-core",
3
3
  "description": "A collection of functions and mixins used for building themes for Kendo UI",
4
- "version": "14.7.0-dev.11",
4
+ "version": "14.7.0-dev.12",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -2,6 +2,7 @@
2
2
  @use "../../functions/index.scss" as *;
3
3
  @use "../../spacing/index.scss" as *;
4
4
  @use "../../border-radii/index.scss" as *;
5
+ @use "../icons/_variables.scss" as *;
5
6
  @use "_variables.scss" as *;
6
7
 
7
8
  @mixin kendo-column-menu--layout-base() {
@@ -57,6 +58,20 @@
57
58
  font-size: $_font-size;
58
59
  line-height: $_line-height;
59
60
  }
61
+
62
+ // Items without start actions are pushed by the actions width so their text lines up with items that have them.
63
+ // Action width = icon + k-spacing(1) padding on both sides; the gap to the text is k-spacing(1).
64
+ &:where(:has(.k-group-menu-item > .k-group-menu-item-actions:first-child)) .k-group-menu-item {
65
+ padding-inline-start: calc( #{$_padding-x} + ( #{$ki-icon-size} + #{k-spacing(1)} * 2 ) + #{k-spacing(1)} );
66
+ }
67
+
68
+ &:where(:has(.k-group-menu-item > .k-group-menu-item-actions:first-child > .k-group-menu-item-action + .k-group-menu-item-action)) .k-group-menu-item {
69
+ padding-inline-start: calc( #{$_padding-x} + ( #{$ki-icon-size} + #{k-spacing(1)} * 2 ) * 2 + #{k-spacing(1)} );
70
+ }
71
+
72
+ .k-group-menu-item:has(> .k-group-menu-item-actions:first-child) {
73
+ padding-inline-start: $_padding-x;
74
+ }
60
75
  }
61
76
  }
62
77
  }