@progress/kendo-theme-fluent 8.0.2-dev.4 → 8.1.0-dev.1

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 (55) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -0
  3. package/dist/fluent-main-dark.scss +156 -0
  4. package/dist/fluent-main.css +1 -1
  5. package/dist/meta/sassdoc-data.json +14574 -4081
  6. package/dist/meta/sassdoc-raw-data.json +11878 -10106
  7. package/dist/meta/variables.json +4024 -87
  8. package/lib/swatches/all.json +1 -1
  9. package/lib/swatches/fluent-main-dark.json +768 -0
  10. package/lib/swatches/fluent-main.json +1 -1
  11. package/package.json +4 -4
  12. package/scss/button/_theme.scss +6 -0
  13. package/scss/coloreditor/_variables.scss +27 -27
  14. package/scss/colorgradient/_variables.scss +48 -48
  15. package/scss/colorpalette/_variables.scss +15 -15
  16. package/scss/core/_index.scss +3 -5
  17. package/scss/core/border-radii/_index.scss +5 -1
  18. package/scss/core/color-system/_palettes.scss +29 -3
  19. package/scss/core/color-system/_swatch-legacy.scss +10 -2
  20. package/scss/core/color-system/_swatch.scss +262 -8
  21. package/scss/core/elevation/_index.scss +10 -10
  22. package/scss/core/module-system/_components.scss +2 -1
  23. package/scss/daterangepicker/_theme.scss +1 -1
  24. package/scss/fab/_theme.scss +1 -1
  25. package/scss/filemanager/_variables.scss +56 -56
  26. package/scss/forms/_theme.scss +6 -0
  27. package/scss/gantt/index.scss +2 -1
  28. package/scss/grid/_theme.scss +2 -2
  29. package/scss/index.scss +6 -0
  30. package/scss/loader/_layout.scss +130 -0
  31. package/scss/loader/_variables.scss +14 -0
  32. package/scss/loader/index.scss +1 -0
  33. package/scss/panel/_layout.scss +29 -0
  34. package/scss/panel/_theme.scss +22 -0
  35. package/scss/panel/_variables.scss +36 -0
  36. package/scss/panel/index.scss +23 -0
  37. package/scss/popup/_layout.scss +25 -8
  38. package/scss/rating/_theme.scss +1 -1
  39. package/scss/scheduler/index.scss +2 -1
  40. package/scss/tilelayout/_variables.scss +8 -8
  41. package/scss/time-marker/_layout.scss +19 -0
  42. package/scss/time-marker/_theme.scss +21 -0
  43. package/scss/time-marker/_variables.scss +6 -0
  44. package/scss/time-marker/index.scss +22 -0
  45. package/scss/typography/_layout.scss +4 -0
  46. package/scss/core/helpers/_animations.scss +0 -706
  47. package/scss/core/helpers/_asp-fallback.scss +0 -4
  48. package/scss/core/helpers/_extra.scss +0 -22
  49. package/scss/core/helpers/_index.scss +0 -9
  50. package/scss/core/helpers/_indicators.scss +0 -33
  51. package/scss/core/helpers/_normalize.scss +0 -11
  52. package/scss/core/helpers/_reset.scss +0 -19
  53. package/scss/core/helpers/_resizing.scss +0 -120
  54. package/scss/core/helpers/_scrollbar.scss +0 -25
  55. package/scss/core/helpers/_spacer.scss +0 -13
@@ -541,7 +541,7 @@
541
541
 
542
542
  &.k-disabled .k-link,
543
543
  &.k-disabled .k-icon {
544
- @include disabled-color(
544
+ @include disabled(
545
545
  var( --kendo-disabled-text, inherit )
546
546
  );
547
547
  }
@@ -561,7 +561,7 @@
561
561
 
562
562
  .k-listgroup-item {
563
563
  &.k-disabled {
564
- @include disabled-color(
564
+ @include disabled(
565
565
  $bg: var( --kendo-disabled-bg, inherit )
566
566
  );
567
567
  }
package/scss/index.scss CHANGED
@@ -56,6 +56,7 @@
56
56
  @forward "./loader";
57
57
  @forward "./skeleton";
58
58
  @forward "./tooltip";
59
+ @forward "./time-marker";
59
60
 
60
61
 
61
62
  // Form helpers
@@ -115,6 +116,7 @@
115
116
  // Layout & containers
116
117
  @forward "./card";
117
118
  @forward "./expansion-panel";
119
+ @forward "./panel";
118
120
  @forward "./panelbar";
119
121
  @forward "./splitter";
120
122
  @forward "./tilelayout";
@@ -193,6 +195,7 @@
193
195
  @use "./loader" as *;
194
196
  @use "./skeleton" as *;
195
197
  @use "./tooltip" as *;
198
+ @use "./time-marker" as *;
196
199
 
197
200
 
198
201
  // Form helpers
@@ -277,6 +280,7 @@
277
280
  // Layout & containers
278
281
  @use "./card" as *;
279
282
  @use "./expansion-panel" as *;
283
+ @use "./panel" as *;
280
284
  @use "./panelbar" as *;
281
285
  @use "./splitter" as *;
282
286
  @use "./tilelayout" as *;
@@ -379,6 +383,7 @@
379
383
  @include loader-styles();
380
384
  @include skeleton-styles();
381
385
  @include tooltip-styles();
386
+ @include time-marker-styles();
382
387
 
383
388
 
384
389
  // Form helpers
@@ -463,6 +468,7 @@
463
468
  // Layout & containers
464
469
  @include card-styles();
465
470
  @include expansion-panel-styles();
471
+ @include panel-styles();
466
472
  @include panelbar-styles();
467
473
  @include splitter-styles();
468
474
  @include tilelayout-styles();
@@ -457,3 +457,133 @@
457
457
  }
458
458
 
459
459
  }
460
+
461
+ @mixin kendo-loading--layout() {
462
+
463
+ // Loading mask
464
+ .k-loading-mask,
465
+ .k-loading-image,
466
+ .k-loading-color {
467
+ width: 100%;
468
+ height: 100%;
469
+ box-sizing: border-box;
470
+ position: absolute;
471
+ top: 0;
472
+ left: 0;
473
+
474
+ *,
475
+ *::before,
476
+ *::after,
477
+ &::before,
478
+ &::after {
479
+ box-sizing: border-box;
480
+ }
481
+ }
482
+
483
+ .k-loading-mask {
484
+ z-index: var( --kendo-zindex-loading, #{$kendo-zindex-loading} );
485
+
486
+ &.k-opaque {
487
+ .k-loading-color {
488
+ opacity: 1;
489
+ }
490
+ }
491
+ }
492
+ .k-loading-text {
493
+ text-indent: -4000px;
494
+ text-align: center;
495
+ position: absolute;
496
+ color: var( --kendo-loading-text, #{$kendo-loading-text} );
497
+ }
498
+ .k-loading-image {
499
+ z-index: 2;
500
+ color: var( --kendo-loading-text, #{$kendo-loading-text} );
501
+ }
502
+ .k-loading-color {
503
+ background-color: var( --kendo-loading-bg, #{$kendo-loading-bg} );
504
+ opacity: var( --kendo-loading-opacity, #{$kendo-loading-opacity} );
505
+ }
506
+
507
+ // Loading indicator
508
+ .k-i-loading {
509
+ width: 1em;
510
+ height: 1em;
511
+ line-height: 1;
512
+ display: inline-flex;
513
+ flex-flow: row nowrap;
514
+ align-items: center;
515
+ justify-content: center;
516
+ vertical-align: middle;
517
+ position: relative;
518
+ background-color: transparent;
519
+ box-sizing: border-box;
520
+ color: var( --kendo-loading-text, #{$kendo-loading-text} );
521
+
522
+ &::before,
523
+ &::after {
524
+ box-sizing: border-box;
525
+ }
526
+ }
527
+
528
+ .k-i-loading::before,
529
+ .k-i-loading::after,
530
+ .k-loading-image::before,
531
+ .k-loading-image::after {
532
+ position: absolute;
533
+ top: 50%;
534
+ left: 50%;
535
+ display: inline-block;
536
+ content: "";
537
+ box-sizing: inherit;
538
+ border-radius: 50%;
539
+ border-width: .05em;
540
+ border-style: solid;
541
+ border-color: currentColor;
542
+ border-top-color: transparent;
543
+ border-bottom-color: transparent;
544
+ background-color: transparent;
545
+ }
546
+
547
+ .k-icon.k-i-loading::before,
548
+ .k-icon.k-i-loading::after {
549
+ content: "";
550
+ }
551
+
552
+ .k-i-loading::before,
553
+ .k-loading-image::before {
554
+ margin-top: -.5em;
555
+ margin-left: -.5em;
556
+ width: 1em;
557
+ height: 1em;
558
+ animation: k-loading-animation .7s linear infinite;
559
+ }
560
+
561
+ .k-i-loading::after,
562
+ .k-loading-image::after {
563
+ margin-top: -.25em;
564
+ margin-left: -.25em;
565
+ width: .5em;
566
+ height: .5em;
567
+ animation: k-loading-animation reverse 1.4s linear infinite;
568
+ }
569
+
570
+ .k-loading-image::before,
571
+ .k-loading-image::after {
572
+ content: "";
573
+ // See https://github.com/telerik/kendo-themes/issues/1925
574
+ border-width: 1px; // TODO: Remove once we drop IE support
575
+ border-width: clamp( .015em, 1px, 1px );
576
+ font-size: 4em;
577
+ }
578
+
579
+ // Loading animation
580
+ @keyframes k-loading-animation {
581
+ 0% {
582
+ transform: rotate(0deg);
583
+ }
584
+ 100% {
585
+ transform: rotate(360deg);
586
+ }
587
+ }
588
+
589
+ }
@@ -187,3 +187,17 @@ $kendo-loader-theme-colors: () !default;
187
187
  k-generate-theme-variation( light, if($kendo-enable-color-system, light, neutral), $ui-states )
188
188
  );
189
189
  }
190
+
191
+ // Loading indicator
192
+ /// The background color of the Loading indicator.
193
+ /// @group loading
194
+ $kendo-loading-bg: var( --kendo-component-bg, initial ) !default;
195
+ /// The text color of the Loading indicator.
196
+ /// @group loading
197
+ $kendo-loading-text: currentColor !default;
198
+ /// The opacity of the Loading indicator.
199
+ /// @group loading
200
+ $kendo-loading-opacity: .3 !default;
201
+ /// The z-index of the Loading indicator.
202
+ /// @group loading
203
+ $kendo-zindex-loading: 100 !default;
@@ -20,6 +20,7 @@ $_kendo-module-meta: (
20
20
  @mixin loader-styles() {
21
21
  @include module.render( "loader" ) {
22
22
  @include kendo-loader--layout();
23
+ @include kendo-loading--layout();
23
24
  @include kendo-loader--theme();
24
25
  }
25
26
  }
@@ -0,0 +1,29 @@
1
+ @use "../core/" as *;
2
+ @use "./_variables.scss" as *;
3
+
4
+ @mixin kendo-panel--layout() {
5
+ // Panels
6
+ .k-block,
7
+ .k-panel {
8
+ @include border-radius( $kendo-panel-border-radius );
9
+ padding: 0;
10
+ border-width: $kendo-panel-border-width;
11
+ border-style: $kendo-panel-border-style;
12
+ box-sizing: border-box;
13
+
14
+ > .k-header {
15
+ @include border-top-radius( $kendo-panel-border-radius );
16
+ @include fill(
17
+ var( --kendo-component-text, #{$kendo-component-text} ),
18
+ var( --kendo-component-bg, #{$kendo-component-bg} ),
19
+ var( --kendo-component-border, #{$kendo-component-border} )
20
+ );
21
+ padding-inline: $kendo-panel-header-padding-inline;
22
+ padding-block: $kendo-panel-header-padding-block;
23
+ }
24
+ > .k-content {
25
+ padding-inline: $kendo-panel-content-padding-inline;
26
+ padding-block: $kendo-panel-content-padding-block;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,22 @@
1
+ @use "../core/" as *;
2
+ @use "./_variables.scss" as *;
3
+
4
+ @mixin kendo-panel--theme() {
5
+ // Panels
6
+ .k-block,
7
+ .k-panel {
8
+ @include fill(
9
+ var( --kendo-panel-text, #{$kendo-panel-text} ),
10
+ var( --kendo-panel-bg, #{$kendo-panel-bg} ),
11
+ var( --kendo-panel-border, #{$kendo-panel-border} )
12
+ );
13
+ }
14
+
15
+ :where(.k-content) {
16
+ @include fill(
17
+ var( --kendo-panel-text, #{$kendo-panel-text} ),
18
+ var( --kendo-panel-bg, #{$kendo-panel-bg} ),
19
+ var( --kendo-panel-border, #{$kendo-panel-border} )
20
+ );
21
+ }
22
+ }
@@ -0,0 +1,36 @@
1
+ @use "sass:map";
2
+ @use "../core/" as *;
3
+
4
+ /// The border radius of the Panel.
5
+ /// @group panel
6
+ $kendo-panel-border-radius: k-border-radius(md);
7
+ /// The width of the border around the Panel.
8
+ /// @group panel
9
+ $kendo-panel-border-width: 1px;
10
+ /// The style of the border around the Panel.
11
+ /// @group panel
12
+ $kendo-panel-border-style: solid;
13
+
14
+ /// The inline padding of the Panel header.
15
+ /// @group panel
16
+ $kendo-panel-header-padding-inline: k-spacing(2);
17
+ /// The block padding of the Panel header.
18
+ /// @group panel
19
+ $kendo-panel-header-padding-block: k-spacing(1);
20
+
21
+ /// The inline padding of the Panel content.
22
+ /// @group panel
23
+ $kendo-panel-content-padding-inline: k-spacing(2);
24
+ /// The block padding of the Panel content.
25
+ /// @group panel
26
+ $kendo-panel-content-padding-block: k-spacing(1);
27
+
28
+ /// The text color of the Panel.
29
+ /// @group panel
30
+ $kendo-panel-text: var(--kendo-component-text, #{$kendo-component-text});
31
+ /// The background color of the Panel.
32
+ /// @group panel
33
+ $kendo-panel-bg: var(--kendo-component-bg, #{$kendo-component-bg});
34
+ /// The color of the border around the Panel.
35
+ /// @group panel
36
+ $kendo-panel-border: var(--kendo-component-border, #{$kendo-component-border});
@@ -0,0 +1,23 @@
1
+ // Module meta
2
+ $_kendo-module-meta: (
3
+ name: "panel",
4
+ dependencies: ()
5
+ );
6
+
7
+
8
+ // Component
9
+ @forward "./_variables.scss";
10
+ @use "./_layout.scss" as *;
11
+ @use "./_theme.scss" as *;
12
+
13
+ // Register
14
+ @use "../core/module-system/" as module;
15
+ @include module.register( $_kendo-module-meta... );
16
+
17
+ // Expose
18
+ @mixin panel-styles() {
19
+ @include module.render( "panel" ) {
20
+ @include kendo-panel--layout();
21
+ @include kendo-panel--theme();
22
+ }
23
+ }
@@ -3,6 +3,31 @@
3
3
 
4
4
  @mixin kendo-popup--layout() {
5
5
 
6
+ // Animation Container
7
+ .k-animation-container {
8
+ position: absolute;
9
+ overflow: hidden;
10
+ z-index: 100;
11
+
12
+ &-fixed {
13
+ position: fixed;
14
+ }
15
+
16
+ &-relative {
17
+ position: relative;
18
+ display: inline-block;
19
+ }
20
+ }
21
+
22
+ .k-animation-container {
23
+ @include border-bottom-radius-only( var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} ) );
24
+ }
25
+
26
+ .k-animation-container-shown {
27
+ overflow: visible;
28
+ }
29
+
30
+ // Popup
6
31
  .k-popup {
7
32
  margin: 0;
8
33
  padding-inline: var( --kendo-popup-padding-x, #{$kendo-popup-padding-x} );
@@ -22,14 +47,6 @@
22
47
  }
23
48
  }
24
49
 
25
- .k-animation-container {
26
- @include border-bottom-radius-only( var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} ) );
27
- }
28
-
29
- .k-animation-container-shown {
30
- overflow: visible;
31
- }
32
-
33
50
  .k-popup > .k-colorpalette {
34
51
  padding-inline: var( --kendo-popup-content-padding-x, #{$kendo-popup-content-padding-x} );
35
52
  padding-block: var( --kendo-popup-content-padding-y, #{$kendo-popup-content-padding-y} );
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  &.k-disabled {
39
- @include disabled-color(
39
+ @include disabled(
40
40
  var( --kendo-disabled-text, inherit ),
41
41
  inherit,
42
42
  var( --kendo-disabled-border, inherit )
@@ -11,7 +11,8 @@ $_kendo-module-meta: (
11
11
  "dialog",
12
12
  "tooltip",
13
13
  "calendar",
14
- "toolbar"
14
+ "toolbar",
15
+ "time-marker"
15
16
  )
16
17
  );
17
18
 
@@ -4,29 +4,29 @@
4
4
  @use "../card/_variables.scss" as *;
5
5
 
6
6
  /// The width of the border around the TileLayout.
7
- /// @group tilelayout
7
+ /// @group tile-layout
8
8
  $kendo-tile-layout-border-width: 0px !default;
9
9
  /// The background color of the TileLayout.
10
- /// @group tilelayout
10
+ /// @group tile-layout
11
11
  $kendo-tile-layout-bg: if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) !default;
12
12
 
13
13
  /// The horizontal padding of the TileLayout.
14
- /// @group tilelayout
14
+ /// @group tile-layout
15
15
  $kendo-tile-layout-padding-x: k-spacing(4) !default;
16
16
 
17
17
  /// The vertical padding of the TileLayout
18
- /// @group tilelayout
18
+ /// @group tile-layout
19
19
  $kendo-tile-layout-padding-y: $kendo-tile-layout-padding-x !default;
20
20
 
21
21
  /// The width of the border around the TileLayout hint.
22
- /// @group tilelayout
22
+ /// @group tile-layout
23
23
  $kendo-tile-layout-hint-border-width: 1px !default;
24
24
  /// The radius of the border around the TileLayout hint.
25
- /// @group tilelayout
25
+ /// @group tile-layout
26
26
  $kendo-tile-layout-hint-border-radius: var( --kendo-border-radius-lg, initial ) !default;
27
27
  /// The color of the border around the TileLayout hint.
28
- /// @group tilelayout
28
+ /// @group tile-layout
29
29
  $kendo-tile-layout-hint-border: var( --kendo-component-border, initial ) !default;
30
30
  /// The background color of the TileLayout hint.
31
- /// @group tilelayout
31
+ /// @group tile-layout
32
32
  $kendo-tile-layout-hint-bg: rgba(255, 255, 255, .2) !default;
@@ -0,0 +1,19 @@
1
+ @use "./_variables.scss" as *;
2
+
3
+ @mixin kendo-time-marker--layout() {
4
+
5
+ .k-current-time {
6
+ width: var( --kendo-current-time-width, #{$kendo-current-time-width} );
7
+ position: absolute;
8
+
9
+ &.k-current-time-arrow-left,
10
+ &.k-current-time-arrow-right,
11
+ &.k-current-time-arrow-down {
12
+ width: 0;
13
+ height: 0;
14
+ background: transparent;
15
+ border: 4px solid transparent;
16
+ }
17
+ }
18
+
19
+ }
@@ -0,0 +1,21 @@
1
+ @use "./_variables.scss" as *;
2
+
3
+ @mixin kendo-time-marker--theme() {
4
+
5
+ .k-current-time {
6
+ background: var( --kendo-current-time-color, #{$kendo-current-time-color} );
7
+
8
+ &.k-current-time-arrow-left {
9
+ border-right-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
10
+ }
11
+
12
+ &.k-current-time-arrow-right {
13
+ border-left-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
14
+ }
15
+
16
+ &.k-current-time-arrow-down {
17
+ border-top-color: var( --kendo-current-time-color, #{$kendo-current-time-color} );
18
+ }
19
+ }
20
+
21
+ }
@@ -0,0 +1,6 @@
1
+ /// The border width of the current time indicator.
2
+ /// @group time-marker
3
+ $kendo-current-time-width: 1px !default;
4
+ /// The color of the current time indicator.
5
+ /// @group time-marker
6
+ $kendo-current-time-color: #ff0000 !default;
@@ -0,0 +1,22 @@
1
+ // Module meta
2
+ $_kendo-module-meta: (
3
+ name: "time-marker",
4
+ dependencies: ()
5
+ );
6
+
7
+ // Component
8
+ @forward "./_variables.scss";
9
+ @use "./_layout.scss" as *;
10
+ @use "./_theme.scss" as *;
11
+
12
+ // Register
13
+ @use "../core/module-system/" as module;
14
+ @include module.register( $_kendo-module-meta... );
15
+
16
+ // Expose
17
+ @mixin time-marker-styles() {
18
+ @include module.render( "time-marker" ) {
19
+ @include kendo-time-marker--layout();
20
+ @include kendo-time-marker--theme();
21
+ }
22
+ }
@@ -24,6 +24,10 @@
24
24
  var( --kendo-font-weight, normal ),
25
25
  var( --kendo-letter-spacing, normal ),
26
26
  );
27
+ @include fill(
28
+ var( --kendo-body-text, initial ),
29
+ var( --kendo-body-bg, initial )
30
+ );
27
31
  margin: 0;
28
32
 
29
33
  p {