@progress/kendo-theme-core 5.10.1-dev.1 → 5.10.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.
@@ -0,0 +1,477 @@
1
+ $_kendo-dependencies: (
2
+ action-sheet: (
3
+ "icon",
4
+ "listgroup",
5
+ "popup"
6
+ ),
7
+ actions: (),
8
+ adaptive: (),
9
+ appbar: (),
10
+ autocomplete: (
11
+ "button",
12
+ "icon",
13
+ "input",
14
+ "list",
15
+ "popup"
16
+ ),
17
+ avatar: (),
18
+ badge: (),
19
+ bottom-navigation: (
20
+ "icon"
21
+ ),
22
+ breadcrumb: (
23
+ "icon",
24
+ "textbox"
25
+ ),
26
+ button: (
27
+ "badge",
28
+ "icon"
29
+ ),
30
+ calendar: (
31
+ "button",
32
+ "list"
33
+ ),
34
+ captcha: (
35
+ "button",
36
+ "slider",
37
+ "textbox"
38
+ ),
39
+ card: (
40
+ "actions",
41
+ "button",
42
+ // "utils/flex",
43
+ // "utils/grid"
44
+ ),
45
+ chat: (
46
+ "avatar",
47
+ "card",
48
+ "textbox",
49
+ "toolbar"
50
+ ),
51
+ checkbox: (),
52
+ chip: (),
53
+ color-editor: (
54
+ "actions",
55
+ "color-palette",
56
+ "color-preview",
57
+ "color-gradient"
58
+ ),
59
+ color-gradient: (
60
+ "button",
61
+ "numeric-textbox",
62
+ "slider",
63
+ "textbox",
64
+ // "utils/flex"
65
+ ),
66
+ color-palette: (
67
+ "color-preview",
68
+ // "utils/flex"
69
+ ),
70
+ color-preview: (),
71
+ color-picker: (
72
+ "button",
73
+ "color-editor",
74
+ "input",
75
+ "popup"
76
+ ),
77
+ combobox: (
78
+ "button",
79
+ "input",
80
+ "popup",
81
+ "list"
82
+ ),
83
+ cursor: (),
84
+ dataviz: (
85
+ "popup",
86
+ "tooltip"
87
+ ),
88
+ date-input: (
89
+ "input"
90
+ ),
91
+ date-picker: (
92
+ "button",
93
+ "calendar",
94
+ "icon",
95
+ "input",
96
+ "popup"
97
+ ),
98
+ date-range-picker: (
99
+ "date-picker"
100
+ ),
101
+ date-time-picker: (
102
+ "date-picker",
103
+ "time-picker"
104
+ ),
105
+ dialog: (
106
+ "window"
107
+ ),
108
+ draggable: (),
109
+ drawer: (
110
+ "list",
111
+ "overlay"
112
+ ),
113
+ dropdown-grid: (
114
+ "button",
115
+ "grid",
116
+ "icon",
117
+ "input",
118
+ "popup",
119
+ "table"
120
+ ),
121
+ dropdown-list: (
122
+ "button",
123
+ "icon",
124
+ "input",
125
+ "list",
126
+ "popup"
127
+ ),
128
+ dropdown-tree: (
129
+ "button",
130
+ "icon",
131
+ "input",
132
+ "popup",
133
+ "treeview"
134
+ ),
135
+ dropzone: (),
136
+ editor: (
137
+ "button",
138
+ "checkbox",
139
+ "color-picker",
140
+ "combobox",
141
+ "dropdown-list",
142
+ "toolbar",
143
+ "upload",
144
+ "window"
145
+ ),
146
+ expander: (
147
+ "icon",
148
+ "list",
149
+ // "utils/display",
150
+ // "utils/flex"
151
+ ),
152
+ fab: (
153
+ "button",
154
+ "badge",
155
+ // "utils/position"
156
+ ),
157
+ file-manager: (
158
+ "breadcrumb",
159
+ "dialog",
160
+ "grid",
161
+ "icon",
162
+ "input",
163
+ "listview",
164
+ "menu",
165
+ "splitter",
166
+ "switch",
167
+ "toolbar",
168
+ "treeview",
169
+ "upload"
170
+ ),
171
+ filter: (
172
+ "button",
173
+ "checkbox",
174
+ "date-time-picker",
175
+ "dropdown-list",
176
+ "input",
177
+ "numeric-textbox",
178
+ "textbox",
179
+ "toolbar"
180
+ ),
181
+ floating-label: (
182
+ "input"
183
+ ),
184
+ form: (
185
+ "actions",
186
+ "button",
187
+ "toolbar"
188
+ ),
189
+ gantt: (
190
+ "button",
191
+ "date-time-picker",
192
+ "input",
193
+ "numeric-textbox",
194
+ "splitter",
195
+ "treelist",
196
+ "validator",
197
+ "window"
198
+ ),
199
+ grid: (
200
+ "actions",
201
+ "button",
202
+ "checkbox",
203
+ "dialog",
204
+ "input",
205
+ "list",
206
+ "menu",
207
+ "pager",
208
+ "popup",
209
+ "radio",
210
+ "skeleton",
211
+ "toolbar",
212
+ "validator"
213
+ ),
214
+ icon: (),
215
+ image-editor: (
216
+ "checkbox",
217
+ "dropdown-list",
218
+ "form",
219
+ "numeric-textbox",
220
+ "toolbar"
221
+ ),
222
+ input: (
223
+ "button",
224
+ "icon"
225
+ ),
226
+ list: (),
227
+ listbox: (
228
+ "button",
229
+ "list"
230
+ ),
231
+ listgroup: (),
232
+ listview: (
233
+ "pager",
234
+ // "utils/grid",
235
+ // "utils/flex"
236
+ ),
237
+ loader: (),
238
+ map: (
239
+ "button",
240
+ "scroller",
241
+ // "utils/position"
242
+ ),
243
+ masked-textbox: (
244
+ "button",
245
+ "input"
246
+ ),
247
+ media-player: (
248
+ "slider",
249
+ "toolbar"
250
+ ),
251
+ menu: (
252
+ "button",
253
+ "icon",
254
+ "popup"
255
+ ),
256
+ menu-button: (
257
+ "button",
258
+ "menu"
259
+ ),
260
+ messagebox: (),
261
+ multiselect: (
262
+ "button",
263
+ "chip",
264
+ "icon",
265
+ "input",
266
+ "list",
267
+ "popup"
268
+ ),
269
+ notification: (
270
+ "button",
271
+ "icon",
272
+ "popup"
273
+ ),
274
+ numeric-textbox: (
275
+ "button",
276
+ "icon",
277
+ "input"
278
+ ),
279
+ orgchart: (
280
+ "button",
281
+ "card",
282
+ "dropdown-list",
283
+ "icon",
284
+ "menu",
285
+ "textbox",
286
+ "upload",
287
+ "window"
288
+ ),
289
+ overlay: (),
290
+ pager: (
291
+ "dropdown-list",
292
+ "icon",
293
+ "list",
294
+ "toolbar"
295
+ ),
296
+ panelbar: (
297
+ "icon"
298
+ ),
299
+ pdf-viewer: (
300
+ "button",
301
+ "combobox",
302
+ "dialog",
303
+ "dropzone",
304
+ "pager",
305
+ "textbox",
306
+ "toolbar",
307
+ "window"
308
+ ),
309
+ pivotgrid: (
310
+ "dialog",
311
+ "grid",
312
+ "list",
313
+ "treeview",
314
+ // "utils/flex",
315
+ // "utils/grid",
316
+ // "utils/position"
317
+ ),
318
+ popover: (
319
+ "card",
320
+ "popup"
321
+ ),
322
+ popup: (),
323
+ progressbar: (),
324
+ radio: (),
325
+ rating: (
326
+ "icon"
327
+ ),
328
+ responsive-panel: (),
329
+ ripple: (),
330
+ scheduler: (
331
+ "button",
332
+ "date-time-picker",
333
+ "dialog",
334
+ "dropdown-list",
335
+ "toolbar",
336
+ "tooltip"
337
+ ),
338
+ scroller: (),
339
+ scroll-view: (
340
+ "button"
341
+ ),
342
+ searchbox: (
343
+ "button",
344
+ "input"
345
+ ),
346
+ signature: (
347
+ "button",
348
+ "input"
349
+ ),
350
+ skeleton: (),
351
+ slider: (
352
+ "button",
353
+ "tooltip"
354
+ ),
355
+ split-button: (
356
+ "button",
357
+ "menu"
358
+ ),
359
+ splitter: (
360
+ "icon"
361
+ ),
362
+ spreadsheet: (
363
+ "button",
364
+ "checkbox",
365
+ "color-picker",
366
+ "combobox",
367
+ "date-time-picker",
368
+ "dropdown-list",
369
+ "list",
370
+ "menu",
371
+ "radio",
372
+ "tabstrip",
373
+ "toolbar",
374
+ "treeview",
375
+ "upload",
376
+ "window"
377
+ ),
378
+ stepper: (
379
+ "icon",
380
+ "progressbar"
381
+ ),
382
+ switch: (),
383
+ table: (),
384
+ tabstrip: (
385
+ "button",
386
+ "icon"
387
+ ),
388
+ task-board: (
389
+ "card",
390
+ "form",
391
+ "searchbox",
392
+ "textbox",
393
+ "toolbar"
394
+ ),
395
+ textarea: (
396
+ "button",
397
+ "icon",
398
+ "input"
399
+ ),
400
+ textbox: (
401
+ "button",
402
+ "icon",
403
+ "input"
404
+ ),
405
+ tile-layout: (
406
+ "card"
407
+ ),
408
+ time-duration-picker: (
409
+ "button",
410
+ "icon",
411
+ "input",
412
+ "list",
413
+ "popup",
414
+ "time-selector"
415
+ ),
416
+ time-selector: (
417
+ "actions",
418
+ "button",
419
+ "list"
420
+ ),
421
+ timeline: (
422
+ "button",
423
+ "card",
424
+ "icon"
425
+ ),
426
+ time-picker: (
427
+ "button",
428
+ "icon",
429
+ "input",
430
+ "list",
431
+ "popup",
432
+ "time-selector"
433
+ ),
434
+ toolbar: (
435
+ "button",
436
+ "icon",
437
+ "menu",
438
+ "popup"
439
+ ),
440
+ tooltip: (
441
+ "button",
442
+ "icon",
443
+ "popup"
444
+ ),
445
+ treelist: (
446
+ "grid"
447
+ ),
448
+ treeview: (
449
+ "checkbox",
450
+ "icon"
451
+ ),
452
+ typography: (),
453
+ upload: (
454
+ "actions",
455
+ "button",
456
+ "dropzone",
457
+ "icon",
458
+ "listgroup",
459
+ "toolbar"
460
+ ),
461
+ utils: (),
462
+ validator: (
463
+ "tooltip"
464
+ ),
465
+ virtual-scroller: (),
466
+ window: (
467
+ "actions",
468
+ "button",
469
+ "icon",
470
+ "overlay"
471
+ ),
472
+ wizard: (
473
+ "button",
474
+ "form",
475
+ "stepper"
476
+ )
477
+ );
@@ -0,0 +1,48 @@
1
+ @import "./_components.scss";
2
+ @import "./_dependencies.scss";
3
+
4
+ $_deps: ();
5
+ $_imported: ();
6
+
7
+ @mixin module-register( $name: null, $dependencies: null ) {
8
+ @if (k-list-index( $kendo-components, $name) != null) {
9
+ $_deps: k-map-merge( $_deps, ( $name: $dependencies ) );
10
+
11
+ @if $dependencies {
12
+ @each $dep in $dependencies {
13
+ @if ( k-list-index( $kendo-components, $dep ) == null ) {
14
+ // sass-lint:disable-block no-warn
15
+ @warn "The module \"#{$name}\" depends on module \"#{$dep}\", but the styles will not be loaded!";
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+
22
+ @mixin module-render( $name: null ) {
23
+ $dependencies: k-map-get( $_deps, $name );
24
+
25
+ @if $dependencies {
26
+ @each $dep in $dependencies {
27
+ @if ( k-list-index( $_imported, $dep ) == null ) {
28
+ // sass-lint:disable-block no-warn
29
+ @warn "The module \"#{$name}\" depends on module \"#{$dep}\", but the styles have not been loaded yet!";
30
+ }
31
+ }
32
+ }
33
+
34
+ @if ( k-list-index( $kendo-components, $name ) != null ) and ( k-list-index( $_imported, $name ) == null ) {
35
+ $_imported: k-list-append( $_imported, $name );
36
+ @content;
37
+ }
38
+ }
39
+
40
+ @mixin verify-dependencies() {
41
+ @each $component in $kendo-components {
42
+ @if (k-map-has-key( $_kendo-dependencies, $component) == false) {
43
+ // sass-lint:disable-block no-warn
44
+ @error "Module '#{$component}' is not defined.";
45
+ }
46
+ }
47
+ }
48
+ @include verify-dependencies();
@@ -0,0 +1,10 @@
1
+ /// @name k-sr-only
2
+ /// @description This class could be assigned to elements which should be visually hidden, but remain accessible for screen readers.
3
+ /// @group accessibility
4
+ .k-sr-only {
5
+ position: absolute;
6
+ left: -1px;
7
+ width: 1px;
8
+ height: 1px;
9
+ overflow: hidden;
10
+ }
@@ -0,0 +1,4 @@
1
+ .k-theme-test-class,
2
+ .k-common-test-class {
3
+ opacity: 0;
4
+ }
@@ -0,0 +1,56 @@
1
+ // Basic layout
2
+ .k-hstack {
3
+ display: flex;
4
+ flex-flow: row nowrap;
5
+ }
6
+ .k-vstack {
7
+ display: flex;
8
+ flex-flow: column nowrap;
9
+ }
10
+ .k-spacer {
11
+ flex: none;
12
+ flex-grow: 1;
13
+ }
14
+
15
+
16
+ // Separator
17
+ .k-separator {
18
+ width: auto;
19
+ height: 0;
20
+ border-width: 1px 0 0;
21
+ border-style: solid;
22
+ border-color: inherit;
23
+ display: block;
24
+ flex-grow: 0 !important; // sass-lint:disable-line no-important
25
+ flex-shrink: 0 !important; // sass-lint:disable-line no-important
26
+ align-self: stretch;
27
+ }
28
+ .k-separator-horizontal,
29
+ .k-vstack > .k-separator {
30
+ width: auto;
31
+ height: 0;
32
+ border-width: 1px 0 0;
33
+ }
34
+ .k-separator-vertical,
35
+ .k-hstack > .k-separator {
36
+ width: 0;
37
+ height: auto;
38
+ border-width: 0 0 0 1px;
39
+ }
40
+
41
+ hr.k-separator {
42
+ margin: 0;
43
+ padding: 0;
44
+ }
45
+
46
+
47
+ // Hidden
48
+ .k-hidden {
49
+ display: none !important; // sass-lint:disable-line no-important
50
+ }
51
+
52
+
53
+ // RTL
54
+ .k-rtl {
55
+ direction: rtl;
56
+ }
@@ -0,0 +1,11 @@
1
+ // Hidden attribute
2
+ [hidden] {
3
+ display: none !important; // sass-lint:disable-line no-important
4
+ }
5
+
6
+
7
+ // Hide script tags
8
+ // see https://github.com/telerik/kendo-themes/issues/2360
9
+ script {
10
+ display: none !important; // sass-lint:disable-line no-important
11
+ }
@@ -0,0 +1,4 @@
1
+ @import "./_accessibility.scss";
2
+ @import "./_asp-fallback.scss";
3
+ @import "./_layout";
4
+ @import "./_normalize.scss";