@progress/kendo-theme-core 13.2.0-dev.2 → 13.2.0-dev.4

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 (37) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/meta/sassdoc-data.json +44 -566
  3. package/dist/meta/sassdoc-raw-data.json +21 -253
  4. package/dist/meta/variables.json +2 -42
  5. package/package.json +2 -2
  6. package/scss/color-system/_swatch.scss +0 -56
  7. package/scss/components/appbar/_theme.scss +1 -6
  8. package/scss/components/appbar/_variables.scss +1 -7
  9. package/scss/components/avatar/_variables.scss +1 -1
  10. package/scss/components/badge/_variables.scss +1 -1
  11. package/scss/components/bottom-navigation/_theme.scss +1 -5
  12. package/scss/components/bottom-navigation/_variables.scss +1 -1
  13. package/scss/components/button/_theme.scss +4 -4
  14. package/scss/components/button/_variables.scss +1 -1
  15. package/scss/components/card/_theme.scss +0 -15
  16. package/scss/components/card/_variables.scss +0 -6
  17. package/scss/components/dialog/_theme.scss +0 -12
  18. package/scss/components/dialog/_variables.scss +0 -6
  19. package/scss/components/fab/_variables.scss +1 -1
  20. package/scss/components/floating-label/_theme.scss +1 -1
  21. package/scss/components/forms/_theme.scss +2 -2
  22. package/scss/components/grid/_layout.scss +6 -29
  23. package/scss/components/grid/_theme.scss +244 -296
  24. package/scss/components/icons/_theme.scss +4 -0
  25. package/scss/components/icons/_variables.scss +1 -0
  26. package/scss/components/listbox/_layout.scss +1 -0
  27. package/scss/components/loader/_layout.scss +9 -6
  28. package/scss/components/loader/_variables.scss +1 -1
  29. package/scss/components/messagebox/_theme.scss +5 -13
  30. package/scss/components/messagebox/_variables.scss +1 -1
  31. package/scss/components/overlay/_theme.scss +0 -17
  32. package/scss/components/overlay/_variables.scss +0 -5
  33. package/scss/components/suggestion/_layout.scss +6 -1
  34. package/scss/components/suggestion/_variables.scss +1 -1
  35. package/scss/components/timeselector/_theme.scss +1 -1
  36. package/scss/components/window/_theme.scss +0 -12
  37. package/scss/components/window/_variables.scss +0 -5
@@ -16,12 +16,7 @@
16
16
  @if $name == "inherit" {
17
17
  color: inherit;
18
18
  background-color: inherit;
19
- } @else if $name == "dark" {
20
- color: $kendo-appbar-dark-text;
21
- background-color: $kendo-appbar-dark-bg;
22
- } @else if $name == "light" {
23
- color: $kendo-appbar-light-text;
24
- background-color: $kendo-appbar-light-bg;
19
+
25
20
  } @else {
26
21
  color: k-color(on-#{$name});
27
22
  background-color: k-color(#{$name});
@@ -15,15 +15,9 @@ $kendo-appbar-line-height: null !default;
15
15
 
16
16
  $kendo-appbar-gap: null !default;
17
17
 
18
- $kendo-appbar-light-bg: null !default;
19
- $kendo-appbar-light-text: null !default;
20
-
21
- $kendo-appbar-dark-bg: null !default;
22
- $kendo-appbar-dark-text: null !default;
23
-
24
18
  $kendo-appbar-box-shadow: null !default;
25
19
  $kendo-appbar-bottom-box-shadow: null !default;
26
20
 
27
21
  /// The theme colors map of the AppBar.
28
22
  /// @group appbar
29
- $kendo-appbar-theme-colors: ("inherit", "base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
23
+ $kendo-appbar-theme-colors: ("base", "primary", "secondary", "tertiary", "inverse") !default;
@@ -31,4 +31,4 @@ $kendo-avatar-sizes: (
31
31
 
32
32
  /// The theme colors map of the Avatar.
33
33
  /// @group avatar
34
- $kendo-avatar-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
34
+ $kendo-avatar-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
@@ -60,4 +60,4 @@ $kendo-badge-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
60
60
 
61
61
  /// The theme colors map of the Badge.
62
62
  /// @group badge
63
- $kendo-badge-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
63
+ $kendo-badge-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error") !default;
@@ -50,11 +50,7 @@
50
50
  }
51
51
 
52
52
  .k-bottom-nav-item.k-selected {
53
- @if $name == "secondary" or $name == "light" {
54
- @include fill( $color: k-color(#{$name}));
55
- } @else {
56
- @include fill( $color: k-color(#{$name}) );
57
- }
53
+ @include fill( $color: k-color(#{$name}-on-surface));
58
54
  }
59
55
  }
60
56
  }
@@ -30,4 +30,4 @@ $kendo-bottom-nav-flat-border: null !default;
30
30
 
31
31
  /// The theme colors map of the BottomNavigation.
32
32
  /// @group bottom-navigation
33
- $kendo-bottom-navigation-theme-colors: ("primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
33
+ $kendo-bottom-navigation-theme-colors: ("base", "primary", "secondary", "tertiary", "inverse") !default;
@@ -291,7 +291,7 @@
291
291
  @if $name == "base" {
292
292
  color: k-color(on-app-surface);
293
293
  } @else {
294
- color: k-color(#{$name});
294
+ color: k-color(#{$name}-on-surface);
295
295
  }
296
296
 
297
297
  // Hover
@@ -303,7 +303,7 @@
303
303
  @if $name == "base" {
304
304
  color: k-color(on-app-surface);
305
305
  } @else {
306
- color: k-color(#{$name}-hover);
306
+ color: k-color(#{$name}-on-surface);
307
307
  }
308
308
  }
309
309
 
@@ -328,7 +328,7 @@
328
328
  @if $name == "base" {
329
329
  color: k-color(on-app-surface);
330
330
  } @else {
331
- color: k-color(#{$name}-active);
331
+ color: k-color(#{$name}-on-surface);
332
332
  }
333
333
  }
334
334
 
@@ -340,7 +340,7 @@
340
340
  @if $name == "base" {
341
341
  color: k-color(on-app-surface);
342
342
  } @else {
343
- color: k-color(#{$name}-active);
343
+ color: k-color(#{$name}-on-surface);
344
344
  }
345
345
  }
346
346
 
@@ -113,7 +113,7 @@ $kendo-button-roundness: ("none", "sm", "md", "lg", "full") !default;
113
113
 
114
114
  /// The theme colors map of the Button.
115
115
  /// @group button
116
- $kendo-button-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
116
+ $kendo-button-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "inverse") !default;
117
117
 
118
118
  /// The sizes map of the Button.
119
119
  /// @group button
@@ -34,21 +34,6 @@
34
34
  @include box-shadow( $kendo-card-focus-shadow );
35
35
  }
36
36
 
37
-
38
- // Card theme colors
39
- @each $name in $kendo-card-theme-colors {
40
- #{k-when-default($kendo-card-default-theme-color, $name)}
41
- &.k-card-#{$name} {
42
- background-color: k-color(#{$name}-subtle);
43
- color: k-color(#{$name}-on-subtle);
44
- border-color: k-color(#{$name}-emphasis);
45
-
46
- .k-card-subtitle {
47
- color: inherit;
48
- }
49
- }
50
- }
51
-
52
37
  }
53
38
 
54
39
 
@@ -1,7 +1,5 @@
1
1
  // Card
2
2
 
3
- $kendo-card-default-theme-color: null !default;
4
-
5
3
  $kendo-card-padding-x: null !default;
6
4
  $kendo-card-padding-y: null !default;
7
5
  $kendo-card-border-width: null !default;
@@ -71,7 +69,3 @@ $kendo-card-deck-scroll-button-offset: null !default;
71
69
 
72
70
  $kendo-card-callout-width: null !default;
73
71
  $kendo-card-callout-height: null !default;
74
-
75
- /// The theme colors map of the Card.
76
- /// @group card
77
- $kendo-card-theme-colors: ("primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
@@ -7,18 +7,6 @@
7
7
  @mixin kendo-dialog--theme-base() {
8
8
  .k-dialog {
9
9
  background-color: $kendo-dialog-bg;
10
-
11
- // Dialog theme colors
12
- @each $name in $kendo-dialog-theme-colors {
13
-
14
- #{k-when-default($kendo-dialog-default-theme-color, $name)}
15
- &.k-dialog-#{$name} {
16
- .k-dialog-titlebar {
17
- color: k-color(on-#{$name});
18
- background-color: k-color(#{$name});
19
- }
20
- }
21
- }
22
10
  }
23
11
 
24
12
  // Dialog titlebar
@@ -1,7 +1,5 @@
1
1
  // Dialog
2
2
 
3
- $kendo-dialog-default-theme-color: null !default;
4
-
5
3
  $kendo-dialog-titlebar-bg: null !default;
6
4
  $kendo-dialog-titlebar-text: null !default;
7
5
  $kendo-dialog-titlebar-border: null !default;
@@ -12,7 +10,3 @@ $kendo-dialog-buttongroup-border-width: null !default;
12
10
  $kendo-dialog-button-spacing: null !default;
13
11
 
14
12
  $kendo-dialog-bg: null !default;
15
-
16
- /// The theme colors map of the Dialog.
17
- /// @group dialog
18
- $kendo-dialog-theme-colors: ("primary", "light", "dark") !default;
@@ -65,7 +65,7 @@ $kendo-fab-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
65
65
 
66
66
  /// The theme colors map of the FloatingActionButton.
67
67
  /// @group floating-action-button
68
- $kendo-fab-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
68
+ $kendo-fab-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
69
69
 
70
70
  /// The sizes map of the FloatingActionButton.
71
71
  /// @group floating-action-button
@@ -24,7 +24,7 @@
24
24
  &.k-invalid > .k-floating-label,
25
25
  &.ng-invalid.ng-touched > .k-floating-label,
26
26
  &.ng-invalid.ng-dirty > .k-floating-label {
27
- @include fill ( $color: k-color(error) );
27
+ @include fill ( $color: k-color(error-on-surface) );
28
28
  }
29
29
  }
30
30
 
@@ -23,14 +23,14 @@
23
23
  }
24
24
 
25
25
  .k-alert-error {
26
- @include fill( $color: k-color(error) );
26
+ @include fill( $color: k-color(error-on-surface) );
27
27
  }
28
28
  }
29
29
 
30
30
  .k-form-error,
31
31
  .k-text-error,
32
32
  .k-form-field-error .k-label {
33
- @include fill( $color: k-color(error) );
33
+ @include fill( $color: k-color(error-on-surface) );
34
34
  }
35
35
 
36
36
  .k-form-separator {
@@ -90,7 +90,6 @@
90
90
  }
91
91
 
92
92
  .k-table-th,
93
- td,
94
93
  .k-table-td {
95
94
  border-width: 0;
96
95
  border-inline-start-width: $kendo-grid-cell-vertical-border-width;
@@ -125,7 +124,6 @@
125
124
  white-space: nowrap;
126
125
  }
127
126
 
128
- td,
129
127
  .k-table-td {
130
128
  border-block-end-width: $kendo-grid-cell-horizontal-border-width;
131
129
  white-space: unset;
@@ -287,12 +285,10 @@
287
285
  }
288
286
  }
289
287
 
290
- .k-grouping-row td,
291
288
  .k-grouping-row .k-table-td {
292
289
  overflow: visible;
293
290
  }
294
291
 
295
- .k-grouping-row + .k-table-row td,
296
292
  .k-grouping-row + .k-table-row .k-table-td {
297
293
  border-block-start-width: $kendo-grid-grouping-row-border-top;
298
294
  }
@@ -309,13 +305,11 @@
309
305
  text-decoration: none;
310
306
  }
311
307
 
312
- .k-table .k-group-footer td,
313
308
  .k-table .k-group-footer .k-table-td {
314
309
  border-style: solid;
315
310
  border-width: $kendo-grid-group-footer-border-y 0;
316
311
  }
317
312
 
318
- .k-group-footer .k-group-cell + td,
319
313
  .k-group-footer .k-group-cell + .k-table-td {
320
314
  border-inline-start-width: $kendo-grid-cell-vertical-border-width;
321
315
  }
@@ -352,11 +346,14 @@
352
346
  }
353
347
  }
354
348
 
349
+ .k-table-td:has(.k-pin-cell) {
350
+ text-overflow: clip;
351
+ }
352
+
355
353
  .k-hierarchy-cell + .k-grid-content-sticky {
356
354
  border-inline-start-width: $kendo-grid-cell-vertical-border-width;
357
355
  }
358
- .k-detail-cell {}
359
- .k-master-row {}
356
+
360
357
 
361
358
  .k-detail-row {
362
359
  .k-detail-cell {
@@ -414,8 +411,6 @@
414
411
  }
415
412
 
416
413
  // Highlighted state
417
- td.k-highlighted,
418
- .k-table-row.k-highlighted > td,
419
414
  .k-table-td.k-highlighted,
420
415
  .k-table-row.k-highlighted > .k-table-td {
421
416
  font-weight: $kendo-grid-highlighted-font-weight;
@@ -560,15 +555,11 @@
560
555
  .k-grid-footer {
561
556
  border-block-start-width: 1px;
562
557
 
563
- td,
564
558
  .k-table-td {
565
559
  height: $kendo-line-height-em;
566
560
  }
567
561
  }
568
562
 
569
- .k-grid-footer td,
570
- .k-group-footer td,
571
- .k-grouping-row td,
572
563
  .k-grid-footer .k-table-td,
573
564
  .k-group-footer .k-table-td,
574
565
  .k-grouping-row .k-table-td {
@@ -594,7 +585,6 @@
594
585
  .k-filter-row {
595
586
  line-height: $kendo-form-line-height;
596
587
 
597
- td,
598
588
  .k-table-td,
599
589
  .k-table-th {
600
590
  border-width: 0;
@@ -603,7 +593,6 @@
603
593
  white-space: nowrap;
604
594
  }
605
595
 
606
- td:first-child,
607
596
  .k-table-td:first-child {
608
597
  border-inline-start-width: 0;
609
598
  }
@@ -640,7 +629,6 @@
640
629
  border-color: inherit;
641
630
  outline: 0;
642
631
 
643
- .k-table-row:last-child > td,
644
632
  .k-table-row:last-child > .k-table-td {
645
633
  border-block-end-width: 0;
646
634
  }
@@ -666,13 +654,11 @@
666
654
  // Edit row
667
655
  .k-grid .k-edit-cell,
668
656
  .k-grid .k-command-cell,
669
- .k-grid .k-grid-edit-row td,
670
657
  .k-grid .k-grid-edit-row .k-table-td {
671
658
  text-overflow: clip;
672
659
  }
673
660
 
674
661
  .k-grid .k-edit-cell,
675
- .k-grid .k-grid-edit-row td,
676
662
  .k-grid .k-grid-edit-row .k-table-td {
677
663
 
678
664
  > input:not([type="checkbox"]):not([type="radio"]),
@@ -837,11 +823,10 @@
837
823
  visibility: hidden;
838
824
  }
839
825
 
840
- .k-width-container div {
826
+ .k-width-container div {
841
827
  height: 1px;
842
828
  }
843
829
 
844
- .k-grid-add-row td,
845
830
  .k-grid-add-row .k-table-td {
846
831
  border-block-end-style: solid;
847
832
  border-block-end-width: 1px;
@@ -927,7 +912,6 @@
927
912
  position: static;
928
913
  }
929
914
 
930
- .k-grid-row-sticky td,
931
915
  .k-grid-row-sticky .k-table-td {
932
916
  border-block-end-width: $kendo-grid-border-width;
933
917
  border-block-start-width: $kendo-grid-border-width;
@@ -938,8 +922,6 @@
938
922
  z-index: k-z-index("base", 2);
939
923
  }
940
924
 
941
- .k-grid-row-sticky td.k-grid-content-sticky,
942
- .k-grid-row-sticky.k-table-alt-row td.k-grid-content-sticky,
943
925
  .k-grid-row-sticky .k-table-td.k-grid-content-sticky,
944
926
  .k-grid-row-sticky.k-table-alt-row .k-table-td.k-grid-content-sticky {
945
927
  z-index: k-z-index("base", 3);
@@ -966,7 +948,6 @@
966
948
  .k-grid .k-table .k-grid-footer-sticky {
967
949
  border-inline-end-width: $kendo-grid-cell-vertical-border-width;
968
950
 
969
- &:not([style*="display: none"]) + td,
970
951
  &:not([style*="display: none"]) + .k-table-td,
971
952
  &:not([style*="display: none"]) + .k-table-th {
972
953
  border-inline-start-width: 0;
@@ -1064,7 +1045,6 @@
1064
1045
  padding-inline: $_header-padding-x;
1065
1046
  }
1066
1047
 
1067
- td,
1068
1048
  .k-table-td {
1069
1049
  padding-block: $_cell-padding-y;
1070
1050
  padding-inline: $_cell-padding-x;
@@ -1130,7 +1110,6 @@
1130
1110
  // Edit row
1131
1111
  .k-edit-cell,
1132
1112
  .k-command-cell,
1133
- .k-grid-edit-row td,
1134
1113
  .k-grid-edit-row .k-table-td {
1135
1114
  padding-block: $_edit-cell-padding-y;
1136
1115
  padding-inline: $_edit-cell-padding-x;
@@ -1140,7 +1119,6 @@
1140
1119
 
1141
1120
  // Filter row
1142
1121
  .k-filter-row {
1143
- td,
1144
1122
  .k-table-td,
1145
1123
  .k-table-th {
1146
1124
  padding-block: $_filter-cell-padding-y;
@@ -1475,7 +1453,6 @@
1475
1453
  table-layout: auto !important; // stylelint-disable-line declaration-no-important
1476
1454
 
1477
1455
  .k-table-th,
1478
- td,
1479
1456
  .k-table-td {
1480
1457
  white-space: nowrap !important; // stylelint-disable-line declaration-no-important
1481
1458
  }