@progress/kendo-theme-core 5.12.1-dev.1 → 5.12.1-dev.2

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/dist/all.css CHANGED
@@ -21,17 +21,18 @@
21
21
  flex-flow: column nowrap;
22
22
  }
23
23
 
24
- .k-flex {
24
+ .k-spacer, .k-flex {
25
25
  flex: 1 1 auto;
26
26
  }
27
27
 
28
- .k-spacer {
28
+ .k-spacer-sized {
29
29
  flex: none;
30
- flex-grow: 1;
31
30
  }
32
31
 
33
- .k-spacer-sized {
34
- flex-grow: 0;
32
+ .k-float-wrap::after, .k-floatwrap::after {
33
+ content: "";
34
+ display: block;
35
+ clear: both;
35
36
  }
36
37
 
37
38
  .k-flex-layout {
package/dist/all.scss CHANGED
@@ -2073,6 +2073,16 @@ $data-uris: () !default;
2073
2073
  box-shadow: none;
2074
2074
  }
2075
2075
 
2076
+ // #endregion
2077
+ // #region @import "./_focus-indicator.scss"; -> packages/core/scss/mixins/_focus-indicator.scss
2078
+ @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow" ) {
2079
+ @if $kendo-enable-focus-contrast and k-list-nth($indicator, 1) {
2080
+ @include box-shadow( if( $inset, inset, null ) 0 0 0 2px if( $themeable, currentColor, rgb( 0, 0, 0 ) ) );
2081
+ } @else {
2082
+ @include box-shadow( $indicator... );
2083
+ }
2084
+ }
2085
+
2076
2086
  // #endregion
2077
2087
  // #region @import "./_gradient.scss"; -> packages/core/scss/mixins/_gradient.scss
2078
2088
  @mixin linear-gradient( $gradient: null ) {
@@ -2880,15 +2890,21 @@ $_imported: ();
2880
2890
  display: flex;
2881
2891
  flex-flow: column nowrap;
2882
2892
  }
2883
- .k-flex {
2893
+
2894
+ // Spacer
2895
+ .k-spacer {
2884
2896
  flex: 1 1 auto;
2885
2897
  }
2886
- .k-spacer {
2898
+ .k-spacer-sized {
2887
2899
  flex: none;
2888
- flex-grow: 1;
2889
2900
  }
2890
- .k-spacer-sized {
2891
- flex-grow: 0;
2901
+
2902
+
2903
+ // Float wrap
2904
+ .k-float-wrap::after {
2905
+ content: "";
2906
+ display: block;
2907
+ clear: both;
2892
2908
  }
2893
2909
 
2894
2910
 
@@ -2952,8 +2968,10 @@ hr.k-separator {
2952
2968
 
2953
2969
 
2954
2970
  // Legacy aliases
2955
- .k-hbox { @extend .k-hstack; }
2956
- .k-vbox { @extend .k-vstack; }
2971
+ .k-hbox { @extend .k-hstack !optional; }
2972
+ .k-vbox { @extend .k-vstack !optional; }
2973
+ .k-floatwrap { @extend .k-float-wrap !optional; }
2974
+ .k-flex { @extend .k-spacer !optional; }
2957
2975
 
2958
2976
  // #endregion
2959
2977
  // #region @import "./_normalize.scss"; -> packages/core/scss/styles/_normalize.scss
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": "5.12.1-dev.1",
4
+ "version": "5.12.1-dev.2",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -28,6 +28,16 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "scripts": {},
32
- "gitHead": "6b89eb7de787b8a794d7ead79e0c4218abf59b18"
31
+ "scripts": {
32
+ "build": "sass-build",
33
+ "sass": "sass-build",
34
+ "docs": "node ../../scripts/sassdoc.js",
35
+ "predocs": "npm run resolve-variables",
36
+ "resolve-variables": "node ../../scripts/resolve-variables.js",
37
+ "nuget-pack": "jq '.version' package.json | xargs nuget pack package.nuspec -Version",
38
+ "nuget-push": "nuget push *.nupkg -ApiKey $NUGET_API_KEY -Source $NUGET_FEED -SkipDuplicate",
39
+ "prepublishOnly": "node ../../scripts/themes-prepublish.js",
40
+ "postpublish": "echo 'no postpublish for core theme'"
41
+ },
42
+ "gitHead": "14365a5e53996a453f9d6ad72894a3e4666e6ede"
33
43
  }
@@ -0,0 +1,7 @@
1
+ @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow" ) {
2
+ @if $kendo-enable-focus-contrast and k-list-nth($indicator, 1) {
3
+ @include box-shadow( if( $inset, inset, null ) 0 0 0 2px if( $themeable, currentColor, rgb( 0, 0, 0 ) ) );
4
+ } @else {
5
+ @include box-shadow( $indicator... );
6
+ }
7
+ }
@@ -2,6 +2,7 @@
2
2
  @import "./_box-shadow.scss";
3
3
  @import "./_data-uri.scss";
4
4
  @import "./_disabled.scss";
5
+ @import "./_focus-indicator.scss";
5
6
  @import "./_gradient.scss";
6
7
  @import "./_hide-scrollbar.scss";
7
8
  @import "./_import-once.scss";
@@ -7,15 +7,21 @@
7
7
  display: flex;
8
8
  flex-flow: column nowrap;
9
9
  }
10
- .k-flex {
10
+
11
+ // Spacer
12
+ .k-spacer {
11
13
  flex: 1 1 auto;
12
14
  }
13
- .k-spacer {
15
+ .k-spacer-sized {
14
16
  flex: none;
15
- flex-grow: 1;
16
17
  }
17
- .k-spacer-sized {
18
- flex-grow: 0;
18
+
19
+
20
+ // Float wrap
21
+ .k-float-wrap::after {
22
+ content: "";
23
+ display: block;
24
+ clear: both;
19
25
  }
20
26
 
21
27
 
@@ -79,5 +85,7 @@ hr.k-separator {
79
85
 
80
86
 
81
87
  // Legacy aliases
82
- .k-hbox { @extend .k-hstack; }
83
- .k-vbox { @extend .k-vstack; }
88
+ .k-hbox { @extend .k-hstack !optional; }
89
+ .k-vbox { @extend .k-vstack !optional; }
90
+ .k-floatwrap { @extend .k-float-wrap !optional; }
91
+ .k-flex { @extend .k-spacer !optional; }