@progress/kendo-theme-bootstrap 5.0.0-beta.1 → 5.0.0-beta.5

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.
Files changed (83) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +2458 -2464
  3. package/dist/all.scss +3258 -3048
  4. package/dist/bootstrap-dataviz-v4.scss +8 -0
  5. package/dist/bootstrap-main-dark.scss +6 -6
  6. package/dist/bootstrap-main.scss +6 -6
  7. package/lib/swatches/bootstrap-dataviz-v4.json +51 -0
  8. package/lib/swatches/bootstrap-main-dark.json +6 -6
  9. package/lib/swatches/bootstrap-main.json +6 -6
  10. package/package.json +3 -3
  11. package/scss/appbar/_variables.scss +1 -1
  12. package/scss/autocomplete/_variables.scss +0 -19
  13. package/scss/avatar/index.md +0 -0
  14. package/scss/button/_layout.scss +0 -8
  15. package/scss/button/_theme.scss +0 -81
  16. package/scss/button/_variables.scss +48 -20
  17. package/scss/button/index.md +0 -0
  18. package/scss/chat/_variables.scss +0 -7
  19. package/scss/checkbox/_index.scss +2 -1
  20. package/scss/checkbox/_variables.scss +59 -68
  21. package/scss/checkbox/index.md +0 -0
  22. package/scss/chip/_index.scss +1 -0
  23. package/scss/chip/_variables.scss +12 -12
  24. package/scss/chip/index.md +0 -0
  25. package/scss/color-preview/_variables.scss +1 -0
  26. package/scss/coloreditor/_variables.scss +3 -3
  27. package/scss/colorpicker/_index.scss +1 -2
  28. package/scss/colorpicker/_variables.scss +1 -20
  29. package/scss/combobox/_variables.scss +1 -31
  30. package/scss/dataviz/_variables.scss +5 -5
  31. package/scss/dateinput/_index.scss +0 -4
  32. package/scss/dateinput/_variables.scss +1 -1
  33. package/scss/datepicker/_index.scss +1 -3
  34. package/scss/datetimepicker/_index.scss +5 -3
  35. package/scss/datetimepicker/_variables.scss +2 -1
  36. package/scss/dropdowngrid/index.md +0 -0
  37. package/scss/fab/_theme.scss +51 -56
  38. package/scss/fab/_variables.scss +128 -72
  39. package/scss/fab/index.md +0 -0
  40. package/scss/filter/_index.scss +1 -1
  41. package/scss/gantt/_index.scss +1 -1
  42. package/scss/grid/_index.scss +1 -1
  43. package/scss/grid/_theme.scss +0 -6
  44. package/scss/grid/_variables.scss +8 -8
  45. package/scss/imageeditor/_variables.scss +1 -0
  46. package/scss/index.scss +2 -1
  47. package/scss/input/_variables.scss +18 -28
  48. package/scss/list/_index.scss +1 -0
  49. package/scss/list/_theme.scss +0 -20
  50. package/scss/list/_variables.scss +18 -18
  51. package/scss/list/index.md +0 -0
  52. package/scss/listbox/_variables.scss +1 -1
  53. package/scss/menu/_theme.scss +0 -10
  54. package/scss/menu/_variables.scss +55 -45
  55. package/scss/orgchart/_variables.scss +2 -2
  56. package/scss/panelbar/_variables.scss +5 -0
  57. package/scss/pdf-viewer/_variables.scss +2 -5
  58. package/scss/pivotgrid/_variables.scss +0 -3
  59. package/scss/radio/_index.scss +1 -1
  60. package/scss/radio/_variables.scss +69 -88
  61. package/scss/radio/index.md +0 -0
  62. package/scss/scheduler/_index.scss +1 -1
  63. package/scss/spreadsheet/_index.scss +1 -1
  64. package/scss/switch/index.md +0 -0
  65. package/scss/table/_variables.scss +13 -13
  66. package/scss/taskboard/_variables.scss +0 -2
  67. package/scss/timepicker/_index.scss +3 -3
  68. package/scss/timepicker/_variables.scss +1 -1
  69. package/scss/{datetime → timeselector}/_index.scss +2 -5
  70. package/scss/timeselector/_layout.scss +1 -0
  71. package/scss/timeselector/_theme.scss +1 -0
  72. package/scss/timeselector/_variables.scss +32 -0
  73. package/scss/toolbar/_variables.scss +2 -0
  74. package/scss/treeview/_layout.scss +5 -15
  75. package/scss/treeview/_variables.scss +125 -46
  76. package/scss/utils/_border.scss +1 -2
  77. package/scss/virtual-scroller/_index.scss +10 -0
  78. package/scss/virtual-scroller/_layout.scss +1 -0
  79. package/scss/virtual-scroller/_theme.scss +1 -0
  80. package/scss/virtual-scroller/_variables.scss +1 -0
  81. package/scss/datetime/_layout.scss +0 -25
  82. package/scss/datetime/_theme.scss +0 -14
  83. package/scss/datetime/_variables.scss +0 -53
@@ -0,0 +1,8 @@
1
+ $series-a: #0275d8;
2
+ $series-b: #5bc0de;
3
+ $series-c: #5cb85c;
4
+ $series-d: #f0ad4e;
5
+ $series-e: #e67d4a;
6
+ $series-f: #d9534f;
7
+
8
+ @import "all.scss";
@@ -24,11 +24,11 @@ $button-text: #ffffff;
24
24
  $button-bg: #343a40;
25
25
  $link-text: #0d6efd;
26
26
  $link-hover-text: #0a58ca;
27
- $series-a: #0275d8;
28
- $series-b: #5bc0de;
29
- $series-c: #5cb85c;
30
- $series-d: #f0ad4e;
31
- $series-e: #e67d4a;
32
- $series-f: #d9534f;
27
+ $series-a: #0d6efd;
28
+ $series-b: #6f42c1;
29
+ $series-c: #20c997;
30
+ $series-d: #198754;
31
+ $series-e: #ffc107;
32
+ $series-f: #dc3545;
33
33
 
34
34
  @import "all.scss";
@@ -23,11 +23,11 @@ $button-text: #212529;
23
23
  $button-bg: #e4e7eb;
24
24
  $link-text: #0d6efd;
25
25
  $link-hover-text: #0a58ca;
26
- $series-a: #0275d8;
27
- $series-b: #5bc0de;
28
- $series-c: #5cb85c;
29
- $series-d: #f0ad4e;
30
- $series-e: #e67d4a;
31
- $series-f: #d9534f;
26
+ $series-a: #0d6efd;
27
+ $series-b: #6f42c1;
28
+ $series-c: #20c997;
29
+ $series-d: #198754;
30
+ $series-e: #ffc107;
31
+ $series-f: #dc3545;
32
32
 
33
33
  @import "all.scss";
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@progress/kendo-theme-tasks@1.11.0/lib/schemas/kendo-swatch.json",
3
+ "name": "Bootstrap Dataviz v4",
4
+ "product": "kendo",
5
+ "base": "@progress/kendo-theme-bootstrap",
6
+ "previewColors": [
7
+ "#0275d8",
8
+ "#5bc0de",
9
+ "#5cb85c",
10
+ "#f0ad4e",
11
+ "#e67d4a"
12
+ ],
13
+ "components": [],
14
+ "groups": [
15
+ {
16
+ "name": "Dataviz",
17
+ "variables": {
18
+ "series-a": {
19
+ "name": "Series A",
20
+ "type": "color",
21
+ "value": "#0275d8"
22
+ },
23
+ "series-b": {
24
+ "name": "Series B",
25
+ "type": "color",
26
+ "value": "#5bc0de"
27
+ },
28
+ "series-c": {
29
+ "name": "Series C",
30
+ "type": "color",
31
+ "value": "#5cb85c"
32
+ },
33
+ "series-d": {
34
+ "name": "Series D",
35
+ "type": "color",
36
+ "value": "#f0ad4e"
37
+ },
38
+ "series-e": {
39
+ "name": "Series E",
40
+ "type": "color",
41
+ "value": "#e67d4a"
42
+ },
43
+ "series-f": {
44
+ "name": "Series F",
45
+ "type": "color",
46
+ "value": "#d9534f"
47
+ }
48
+ }
49
+ }
50
+ ]
51
+ }
@@ -182,32 +182,32 @@
182
182
  "series-a": {
183
183
  "name": "Series A",
184
184
  "type": "color",
185
- "value": "#0275d8"
185
+ "value": "#0d6efd"
186
186
  },
187
187
  "series-b": {
188
188
  "name": "Series B",
189
189
  "type": "color",
190
- "value": "#5bc0de"
190
+ "value": "#6f42c1"
191
191
  },
192
192
  "series-c": {
193
193
  "name": "Series C",
194
194
  "type": "color",
195
- "value": "#5cb85c"
195
+ "value": "#20c997"
196
196
  },
197
197
  "series-d": {
198
198
  "name": "Series D",
199
199
  "type": "color",
200
- "value": "#f0ad4e"
200
+ "value": "#198754"
201
201
  },
202
202
  "series-e": {
203
203
  "name": "Series E",
204
204
  "type": "color",
205
- "value": "#e67d4a"
205
+ "value": "#ffc107"
206
206
  },
207
207
  "series-f": {
208
208
  "name": "Series F",
209
209
  "type": "color",
210
- "value": "#d9534f"
210
+ "value": "#dc3545"
211
211
  }
212
212
  }
213
213
  }
@@ -172,32 +172,32 @@
172
172
  "series-a": {
173
173
  "name": "Series A",
174
174
  "type": "color",
175
- "value": "#0275d8"
175
+ "value": "#0d6efd"
176
176
  },
177
177
  "series-b": {
178
178
  "name": "Series B",
179
179
  "type": "color",
180
- "value": "#5bc0de"
180
+ "value": "#6f42c1"
181
181
  },
182
182
  "series-c": {
183
183
  "name": "Series C",
184
184
  "type": "color",
185
- "value": "#5cb85c"
185
+ "value": "#20c997"
186
186
  },
187
187
  "series-d": {
188
188
  "name": "Series D",
189
189
  "type": "color",
190
- "value": "#f0ad4e"
190
+ "value": "#198754"
191
191
  },
192
192
  "series-e": {
193
193
  "name": "Series E",
194
194
  "type": "color",
195
- "value": "#e67d4a"
195
+ "value": "#ffc107"
196
196
  },
197
197
  "series-f": {
198
198
  "name": "Series F",
199
199
  "type": "color",
200
- "value": "#d9534f"
200
+ "value": "#dc3545"
201
201
  }
202
202
  }
203
203
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-bootstrap",
3
3
  "description": "Bootstrap theme for Kendo UI",
4
- "version": "5.0.0-beta.1",
4
+ "version": "5.0.0-beta.5",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -49,8 +49,8 @@
49
49
  "postpublish": "echo 'no postpublish for bootstrap theme'"
50
50
  },
51
51
  "dependencies": {
52
- "@progress/kendo-theme-default": "^5.0.0-beta.1",
52
+ "@progress/kendo-theme-default": "^5.0.0-beta.5",
53
53
  "bootstrap": "^5.1.0"
54
54
  },
55
- "gitHead": "5f6c640b397e7dfb0481ea1eecd8fbce7abb967f"
55
+ "gitHead": "f9a49055787d0553b82bdf0782b3a78e0fb58139"
56
56
  }
@@ -2,7 +2,7 @@
2
2
  $appbar-margin-y: null !default;
3
3
  $appbar-margin-x: null !default;
4
4
  $appbar-padding-y: map-get( $spacing, 2 ) !default;
5
- $appbar-padding-x: map-get( $spacing, 4 ) !default;
5
+ $appbar-padding-x: map-get( $spacing, 2 ) !default;
6
6
  $appbar-border-width: 0px !default;
7
7
 
8
8
  $appbar-zindex: 1000 !default;
@@ -1,20 +1 @@
1
1
  // Autocomplete
2
- $autocomplete-bg: $kendo-input-bg !default;
3
- $autocomplete-text: $kendo-input-text !default;
4
- $autocomplete-border: $kendo-input-border !default;
5
- $autocomplete-shadow: $kendo-input-shadow !default;
6
-
7
- $autocomplete-hovered-bg: $kendo-input-hover-bg !default;
8
- $autocomplete-hovered-text: $kendo-input-hover-text !default;
9
- $autocomplete-hovered-border: $kendo-input-hover-border !default;
10
- $autocomplete-hovered-shadow: $kendo-input-hover-shadow !default;
11
-
12
- $autocomplete-focused-bg: $kendo-input-focus-bg !default;
13
- $autocomplete-focused-text: $kendo-input-focus-text !default;
14
- $autocomplete-focused-border: $kendo-input-focus-border !default;
15
- $autocomplete-focused-shadow: $kendo-input-focus-shadow !default;
16
-
17
- $autocomplete-disabled-bg: null !default;
18
- $autocomplete-disabled-text: null !default;
19
- $autocomplete-disabled-border: null !default;
20
- $autocomplete-disabled-shadow: null !default;
File without changes
@@ -1,9 +1 @@
1
1
  @import "~@progress/kendo-theme-default/scss/button/_layout.scss";
2
-
3
- @include exports("button/layout/bootstrap") {
4
-
5
- // Default button
6
- .k-button {
7
- transition: $kendo-button-color-transition;
8
- }
9
- }
@@ -1,82 +1 @@
1
1
  @import "~@progress/kendo-theme-default/scss/button/_theme.scss";
2
-
3
- @include exports( "button/theme/bootstrap" ) {
4
-
5
- // Solid Buttons
6
- @each $name, $color in $kendo-button-theme-colors {
7
- .k-button-solid-#{$name} {
8
- @if ($name != "base") {
9
- background-image: none;
10
-
11
- // Hover state
12
- &:hover,
13
- &.k-hover {
14
- color: contrast-wcag( try-darken( $color, 7.5% ) );
15
- background-color: try-darken( $color, 7.5% );
16
- border-color: try-darken( $color, 10% );
17
- }
18
-
19
- // Focus state
20
- &:focus,
21
- &.k-focus {
22
- box-shadow: 0 0 0 3px rgba( $color, .5 );
23
- }
24
-
25
- // Active state
26
- &:active,
27
- &.k-active {
28
- color: contrast-wcag( try-darken( $color, 10% ) );
29
- background-color: try-darken( $color, 10% );
30
- border-color: try-darken( $color, 12.5% );
31
- }
32
-
33
- // Selected
34
- &.k-selected {
35
- color: contrast-wcag( try-darken( $color, 10% ) );
36
- background-color: try-darken( $color, 10% );
37
- border-color: try-darken( $color, 12.5% );
38
- }
39
- }
40
- }
41
- }
42
-
43
-
44
- // Outline Buttons
45
- @each $name, $color in $kendo-button-theme-colors {
46
- .k-button-outline-#{$name} {
47
- @if ($name != "base") {
48
-
49
- // Focus state
50
- &:focus,
51
- &.k-focus {
52
- box-shadow: 0 0 0 3px rgba( $color, .5 );
53
- }
54
- }
55
- }
56
- }
57
-
58
-
59
- // Menu button
60
- .k-menu-button {}
61
-
62
-
63
- // Button group
64
- .k-button-group {
65
-
66
- .k-button:focus,
67
- .k-button.k-focus,
68
- .k-button-outline:focus,
69
- .k-button-outline.k-focus {
70
- @include box-shadow( $kendo-button-group-focus-shadow );
71
- }
72
-
73
- }
74
-
75
-
76
- // Split button
77
- .k-split-button:focus,
78
- .k-split-button.k-focus {
79
- @include box-shadow( $kendo-button-focus-shadow );
80
- }
81
-
82
- }
@@ -6,10 +6,7 @@ $kendo-button-border-width: $btn-border-width !default;
6
6
 
7
7
  /// Border radius of the button.
8
8
  /// @group button
9
- $kendo-button-border-radius: $btn-border-radius !default;
10
- $kendo-button-border-radius-sm: $btn-border-radius-sm !default;
11
- $kendo-button-border-radius-md: $btn-border-radius !default;
12
- $kendo-button-border-radius-lg: $btn-border-radius-lg !default;
9
+ $kendo-button-border-radius: null !default;
13
10
 
14
11
  /// Horizontal padding of the button.
15
12
  /// @group button
@@ -27,7 +24,7 @@ $kendo-button-padding-y-lg: $btn-padding-y-lg !default;
27
24
 
28
25
  /// Font family of the button.
29
26
  /// @group button
30
- $kendo-button-font-family: $btn-font-family !default;
27
+ $kendo-button-font-family: $font-family !default;
31
28
 
32
29
  /// Font sizes of the button.
33
30
  /// @group button
@@ -51,9 +48,15 @@ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-but
51
48
  /// @group button
52
49
  $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
53
50
 
51
+ $kendo-button-arrow-padding-x: $kendo-button-padding-y !default;
52
+ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
53
+
54
54
  /// Theme colors map for the button.
55
55
  /// @group button
56
- $kendo-button-theme-colors: map-merge((base: #e4e7eb), $theme-colors ) !default;
56
+ $kendo-button-theme-colors: map-merge(
57
+ $theme-colors,
58
+ ( "base": #e4e7eb )
59
+ ) !default;
57
60
 
58
61
  /// The base background of the button.
59
62
  /// @group button
@@ -79,7 +82,7 @@ $kendo-button-hover-bg: try-darken( $kendo-button-bg, 7.5% ) !default;
79
82
  $kendo-button-hover-text: null !default;
80
83
  /// The base border color of hovered button.
81
84
  /// @group button
82
- $kendo-button-hover-border: try-darken( $kendo-button-border, 10% ) !default;
85
+ $kendo-button-hover-border: try-darken( $kendo-button-bg, 10% ) !default;
83
86
  /// The base background gradient of hovered button.
84
87
  /// @group button
85
88
  $kendo-button-hover-gradient: null !default;
@@ -95,7 +98,7 @@ $kendo-button-active-bg: try-darken( $kendo-button-bg, 10% ) !default;
95
98
  $kendo-button-active-text: null !default;
96
99
  /// The base border color of active button.
97
100
  /// @group button
98
- $kendo-button-active-border: try-darken( $kendo-button-border, 12.5% ) !default;
101
+ $kendo-button-active-border: try-darken( $kendo-button-bg, 12.5% ) !default;
99
102
  /// The base background gradient of active button.
100
103
  /// @group button
101
104
  $kendo-button-active-gradient: null !default;
@@ -105,14 +108,14 @@ $kendo-button-active-shadow: null !default;
105
108
 
106
109
  /// The base background color of selected button.
107
110
  /// @group button
108
- $kendo-button-selected-bg: $kendo-button-active-bg !default;
109
- /// The base text color of selected button.
111
+ $kendo-button-selected-bg: try-darken( $primary, 10% ) !default;
112
+ /// The text color of selected buttons.
110
113
  /// @group button
111
- $kendo-button-selected-text: $kendo-button-active-text !default;
112
- /// The base border color of selected button.
114
+ $kendo-button-selected-text: contrast-wcag( $kendo-button-selected-bg ) !default;
115
+ /// The border color of selected buttons.
113
116
  /// @group button
114
- $kendo-button-selected-border: $kendo-button-active-border !default;
115
- /// The base background gradient of selected button.
117
+ $kendo-button-selected-border: try-darken( $primary, 12.5% ) !default;
118
+ /// The background gradient of selected buttons.
116
119
  /// @group button
117
120
  $kendo-button-selected-gradient: $kendo-button-active-gradient !default;
118
121
  /// The base shadow of selected button.
@@ -133,7 +136,7 @@ $kendo-button-focus-border: null !default;
133
136
  $kendo-button-focus-gradient: null !default;
134
137
  /// The base shadow of focused button.
135
138
  /// @group button
136
- $kendo-button-focus-shadow: 0 0 0 3px rgba( $kendo-button-border, .5 ) !default;
139
+ $kendo-button-focus-shadow: 0 0 0 .25rem rgba( $kendo-button-border, .5 ) !default;
137
140
 
138
141
  /// The base background of disabled button.
139
142
  /// @group button
@@ -151,6 +154,35 @@ $kendo-button-disabled-gradient: null !default;
151
154
  /// @group button
152
155
  $kendo-button-disabled-shadow: null !default;
153
156
 
157
+ // Solid button
158
+ $kendo-solid-button-gradient: null !default;
159
+ $kendo-solid-button-shade-function: "try-darken";
160
+ $kendo-solid-button-shade-text-amount: 0 !default;
161
+ $kendo-solid-button-shade-bg-amount: 0 !default;
162
+ $kendo-solid-button-shade-border-amount: 0 !default;
163
+ $kendo-solid-button-hover-shade-text-amount: null !default;
164
+ $kendo-solid-button-hover-shade-bg-amount: 7.5% !default;
165
+ $kendo-solid-button-hover-shade-border-amount: 10% !default;
166
+ $kendo-solid-button-active-shade-text-amount: null !default;
167
+ $kendo-solid-button-active-shade-bg-amount: 10% !default;
168
+ $kendo-solid-button-active-shade-border-amount: 12.5% !default;
169
+ $kendo-solid-button-shadow: true !default;
170
+ $kendo-solid-button-shadow-blur: 0px !default;
171
+ $kendo-solid-button-shadow-spread: .25rem !default;
172
+ $kendo-solid-button-shadow-opacity: .5 !default;
173
+
174
+ // Outline button
175
+ $kendo-outline-button-shadow: true !default;
176
+ $kendo-outline-button-shadow-blur: 0px !default;
177
+ $kendo-outline-button-shadow-spread: .25rem !default;
178
+ $kendo-outline-button-shadow-opacity: .5 !default;
179
+
180
+ // Link button
181
+ $kendo-link-button-shadow: true !default;
182
+ $kendo-link-button-shadow-blur: 0px !default;
183
+ $kendo-link-button-shadow-spread: .25rem !default;
184
+ $kendo-link-button-shadow-opacity: .5 !default;
185
+
154
186
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
155
187
  /// @group button
156
188
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -166,8 +198,4 @@ $kendo-flat-button-selected-opacity: .2 !default;
166
198
 
167
199
  /// The color transition of the button.
168
200
  /// @group button
169
- $kendo-button-color-transition: $transition !default;
170
-
171
- /// The base shadow of focused button group.
172
- /// @group button
173
- $kendo-button-group-focus-shadow: null !default;
201
+ $kendo-button-transition: $transition !default;
File without changes
@@ -70,10 +70,3 @@ $chat-quick-reply-border: $primary !default;
70
70
  $chat-quick-reply-hover-bg: $primary !default;
71
71
  $chat-quick-reply-hover-text: $primary-contrast !default;
72
72
  $chat-quick-reply-hover-border: $primary !default;
73
-
74
- $chat-message-box-bg: $kendo-input-bg !default;
75
- $chat-message-box-text: $kendo-input-text !default;
76
- $chat-message-box-border: inherit !default;
77
- $chat-message-box-focus-shadow: 0 0 40px rgba( $kendo-input-text, .1 ) !default;
78
-
79
- $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
@@ -2,9 +2,10 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
5
+ @import "../typography/_variables.scss";
6
6
  @import "../list/_variables.scss";
7
7
 
8
+
8
9
  // Component
9
10
  @import "_variables.scss";
10
11
  @import "_layout.scss";