@progress/kendo-theme-default 5.1.2-dev.6 → 5.2.1-dev.0

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 (63) hide show
  1. package/dist/all.css +438 -187
  2. package/dist/all.scss +269 -133
  3. package/lib/swatches/default-blue.json +2 -1
  4. package/lib/swatches/default-dataviz-v4.json +2 -1
  5. package/lib/swatches/default-green.json +2 -1
  6. package/lib/swatches/default-main-dark.json +2 -1
  7. package/lib/swatches/default-main.json +2 -1
  8. package/lib/swatches/default-nordic.json +2 -1
  9. package/lib/swatches/default-orange.json +2 -1
  10. package/lib/swatches/default-purple.json +2 -1
  11. package/lib/swatches/default-turquoise.json +2 -1
  12. package/lib/swatches/default-urban.json +2 -1
  13. package/package.json +3 -3
  14. package/scss/_variables.scss +5 -4
  15. package/scss/badge/_variables.scss +3 -3
  16. package/scss/bottom-navigation/_variables.scss +1 -1
  17. package/scss/breadcrumb/_variables.scss +1 -1
  18. package/scss/button/_layout.scss +13 -0
  19. package/scss/button/_variables.scss +11 -0
  20. package/scss/calendar/_layout.scss +3 -0
  21. package/scss/calendar/_variables.scss +1 -1
  22. package/scss/card/_variables.scss +1 -1
  23. package/scss/chip/_layout.scss +2 -0
  24. package/scss/color-preview/_variables.scss +1 -1
  25. package/scss/coloreditor/_variables.scss +1 -1
  26. package/scss/colorgradient/_layout.scss +4 -0
  27. package/scss/colorgradient/_variables.scss +2 -2
  28. package/scss/common/_base.scss +2 -2
  29. package/scss/dataviz/_layout.scss +3 -3
  30. package/scss/editor/_layout.scss +2 -2
  31. package/scss/fab/_variables.scss +1 -1
  32. package/scss/forms/_layout.scss +0 -5
  33. package/scss/gantt/_layout.scss +39 -7
  34. package/scss/gantt/_theme.scss +16 -1
  35. package/scss/gantt/_variables.scss +5 -0
  36. package/scss/grid/_layout.scss +1 -1
  37. package/scss/imageeditor/_layout.scss +5 -0
  38. package/scss/input/_layout.scss +2 -2
  39. package/scss/list/_layout.scss +8 -0
  40. package/scss/listgroup/_variables.scss +1 -1
  41. package/scss/loader/_variables.scss +1 -1
  42. package/scss/notification/_variables.scss +2 -1
  43. package/scss/orgchart/_variables.scss +1 -1
  44. package/scss/pager/_layout.scss +5 -0
  45. package/scss/pivotgrid/_variables.scss +1 -1
  46. package/scss/popup/_layout.scss +1 -1
  47. package/scss/popup/_theme.scss +1 -1
  48. package/scss/progressbar/_layout.scss +1 -1
  49. package/scss/scheduler/_layout.scss +1 -1
  50. package/scss/scheduler/_variables.scss +2 -2
  51. package/scss/skeleton/_variables.scss +1 -1
  52. package/scss/slider/_theme.scss +1 -1
  53. package/scss/spreadsheet/_layout.scss +1 -5
  54. package/scss/spreadsheet/_variables.scss +3 -3
  55. package/scss/stepper/_layout.scss +2 -1
  56. package/scss/tabstrip/_variables.scss +1 -1
  57. package/scss/taskboard/_variables.scss +2 -2
  58. package/scss/tilelayout/_variables.scss +1 -1
  59. package/scss/timeline/_layout.scss +3 -3
  60. package/scss/tooltip/_variables.scss +1 -1
  61. package/scss/treeview/_variables.scss +1 -1
  62. package/scss/utils/_border.scss +4 -4
  63. package/scss/utils/_flex.scss +98 -59
@@ -27,7 +27,7 @@ $loader-secondary-bg: #656565 !default;
27
27
  $loader-container-panel-border-width: 1px !default;
28
28
  $loader-container-panel-border-style: solid !default;
29
29
  $loader-container-panel-border-color: $component-border !default;
30
- $loader-container-panel-border-radius: $border-radius !default;
30
+ $loader-container-panel-border-radius: $kendo-border-radius-md !default;
31
31
  $loader-container-panel-bg: $white !default;
32
32
 
33
33
  $loader-container-padding-sm: map-get( $spacing, 4 ) !default;
@@ -2,7 +2,7 @@
2
2
  $notification-padding-x: 8px !default;
3
3
  $notification-padding-y: 4px !default;
4
4
  $notification-border-width: 1px !default;
5
- $notification-border-radius: $border-radius !default;
5
+ $notification-border-radius: $kendo-border-radius-md !default;
6
6
 
7
7
  $notification-shadow: $popup-shadow !default;
8
8
 
@@ -20,6 +20,7 @@ $notification-border: $component-border !default;
20
20
  @function notification-theme( $colors ) {
21
21
  $_theme: ();
22
22
 
23
+ // sass-lint:disable-block indentation
23
24
  @each $name, $color in $colors {
24
25
  $_theme: map-merge(( $name: (
25
26
  color: contrast-wcag( $color ),
@@ -16,7 +16,7 @@ $orgchart-node-container-gap: $orgchart-spacer !default;
16
16
  $orgchart-node-group-padding-y: $orgchart-spacer !default;
17
17
  $orgchart-node-group-padding-x: $orgchart-node-group-padding-y !default;
18
18
  $orgchart-node-group-border-width: 1px !default;
19
- $orgchart-node-group-border-radius: $border-radius !default;
19
+ $orgchart-node-group-border-radius: $kendo-border-radius-md !default;
20
20
  $orgchart-node-group-bg: $base-bg !default;
21
21
  $orgchart-node-group-text: $base-text !default;
22
22
  $orgchart-node-group-border: $base-border !default;
@@ -177,6 +177,11 @@
177
177
  width: $pager-dropdown-width;
178
178
  }
179
179
 
180
+ .k-input-inner,
181
+ .k-input-value-text {
182
+ text-overflow: clip;
183
+ }
184
+
180
185
  .k-rtl &,
181
186
  [dir="rtl"] & {
182
187
  .k-dropdown-list,
@@ -80,7 +80,7 @@ $pivotgrid-configurator-button-size: calc( #{$pivotgrid-line-height * 1em} + #{$
80
80
  $pivotgrid-calculated-field-padding-x: $pivotgrid-spacer !default;
81
81
  $pivotgrid-calculated-field-padding-y: $pivotgrid-spacer !default;
82
82
  $pivotgrid-calculated-field-border-width: 1px !default;
83
- $pivotgrid-calculated-field-border-radius: $border-radius !default;
83
+ $pivotgrid-calculated-field-border-radius: $kendo-border-radius-md !default;
84
84
  $pivotgrid-calculated-field-gap: $pivotgrid-spacer !default;
85
85
 
86
86
  $pivotgrid-calculated-field-bg: $component-bg !default;
@@ -19,7 +19,7 @@
19
19
  }
20
20
  }
21
21
  .k-animation-container {
22
- @include border-bottom-radius-only( $border-radius );
22
+ @include border-bottom-radius-only( $kendo-border-radius-md );
23
23
 
24
24
  .k-popup {}
25
25
  }
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .k-animation-container {
13
- @include border-bottom-radius-only( $border-radius );
13
+ @include border-bottom-radius-only( $kendo-border-radius );
14
14
  }
15
15
 
16
16
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Base
4
4
  .k-progressbar {
5
- @include border-radius( $border-radius );
5
+ @include border-radius( $kendo-border-radius );
6
6
  --kendo-progressbar-progress: 0;
7
7
  border-width: $progressbar-border-width;
8
8
  border-style: solid;
@@ -393,7 +393,7 @@
393
393
  // Appointments
394
394
  kendo-scheduler .k-event,
395
395
  .k-event {
396
- @include border-radius( $border-radius );
396
+ @include border-radius( $kendo-border-radius );
397
397
  min-height: $scheduler-event-min-height;
398
398
  box-sizing: border-box;
399
399
  border-width: 0;
@@ -19,7 +19,7 @@ $scheduler-footer-border: $toolbar-border !default;
19
19
  $scheduler-footer-gradient: $toolbar-gradient !default;
20
20
 
21
21
  $scheduler-event-min-height: 25px !default;
22
- $scheduler-event-border-radius: $border-radius !default;
22
+ $scheduler-event-border-radius: $kendo-border-radius-md !default;
23
23
  $scheduler-event-line-height: calc( #{$scheduler-event-min-height} - (2 * #{$padding-y}) ) !default;
24
24
 
25
25
  $scheduler-event-bg: tint( $selected-bg, 2 ) !default;
@@ -86,7 +86,7 @@ $scheduler-tooltip-events-gap: $padding-y !default;
86
86
 
87
87
  $scheduler-tooltip-event-padding-x: $padding-x !default;
88
88
  $scheduler-tooltip-event-padding-y: $padding-y !default;
89
- $scheduler-tooltip-event-border-radius: $border-radius !default;
89
+ $scheduler-tooltip-event-border-radius: $kendo-border-radius-md !default;
90
90
  $scheduler-tooltip-event-gap: $padding-x-sm !default;
91
91
 
92
92
  $scheduler-tooltip-callout-text: $scheduler-tooltip-bg !default;
@@ -1,6 +1,6 @@
1
1
  // Skeleton
2
2
  $skeleton-text-transform: scale( 1, .6 ) !default;
3
- $skeleton-text-border-radius: $border-radius !default;
3
+ $skeleton-text-border-radius: $kendo-border-radius-md !default;
4
4
 
5
5
  $skeleton-rect-border-radius: 0 !default;
6
6
 
@@ -7,7 +7,7 @@
7
7
 
8
8
  .k-slider-track,
9
9
  .k-slider-selection {
10
- @include border-radius( $border-radius );
10
+ @include border-radius( $kendo-border-radius );
11
11
  }
12
12
 
13
13
  .k-slider-track {
@@ -91,10 +91,6 @@
91
91
  min-width: $form-line-height * 1em;
92
92
  }
93
93
 
94
- .k-input,
95
- .k-picker {
96
- width: 5em;
97
- }
98
94
  .k-color-picker {
99
95
  width: min-content;
100
96
  }
@@ -569,7 +565,7 @@
569
565
  box-sizing: border-box;
570
566
  }
571
567
  .k-spreadsheet-filter {
572
- @include border-radius( $border-radius );
568
+ @include border-radius( $kendo-border-radius );
573
569
  line-height: 1;
574
570
  position: absolute;
575
571
  cursor: pointer;
@@ -15,9 +15,9 @@ $spreadsheet-insert-image-dialog-preview-width: 355px !default;
15
15
  $spreadsheet-insert-image-dialog-preview-height: 230px !default;
16
16
  $spreadsheet-insert-image-dialog-preview-img: "image-default.png" !default;
17
17
  $spreadsheet-insert-image-dialog-preview-border: $component-border !default;
18
- $spreadsheet-insert-image-dialog-preview-border-radius: $border-radius !default;
18
+ $spreadsheet-insert-image-dialog-preview-border-radius: $kendo-border-radius-md !default;
19
19
  $spreadsheet-insert-image-dialog-preview-overlay-shadow: inset 0 0 0 2000px rgba(0, 0, 0, .5) !default;
20
- $spreadsheet-insert-image-dialog-preview-overlay-border-radius: $border-radius !default;
20
+ $spreadsheet-insert-image-dialog-preview-overlay-border-radius: $kendo-border-radius-md !default;
21
21
  $spreadsheet-insert-image-dialog-overlay-hovered-text: $component-bg !default;
22
22
 
23
23
  $spreadsheet-drawing-handle-width: 6px !default;
@@ -27,7 +27,7 @@ $spreadsheet-drawing-handle-border-width: 1px !default;
27
27
  $spreadsheet-drawing-handle-outline-color: $primary !default;
28
28
  $spreadsheet-drawing-handle-border-color: $selected-bg !default;
29
29
  $spreadsheet-drawing-handle-bg: $primary !default;
30
- $spreadsheet-drawing-handle-border-radius: $border-radius-lg !default;
30
+ $spreadsheet-drawing-handle-border-radius: $kendo-border-radius-lg !default;
31
31
 
32
32
  $spreadsheet-drawing-outline-style: solid !default;
33
33
  $spreadsheet-drawing-outline-width: 2px !default;
@@ -68,6 +68,7 @@
68
68
  display: flex;
69
69
  align-items: center;
70
70
  justify-content: center;
71
+ flex: none;
71
72
  position: relative;
72
73
  z-index: 1;
73
74
  overflow: visible;
@@ -101,7 +102,7 @@
101
102
 
102
103
  // Step label
103
104
  .k-step-label {
104
- max-width: 10em;
105
+ max-width: clamp(100%, 10em, 100%);
105
106
  display: inline-flex;
106
107
  flex-wrap: wrap;
107
108
  align-items: center;
@@ -33,7 +33,7 @@ $tabstrip-item-padding-y: $nav-item-padding-y !default;
33
33
  $tabstrip-item-border-width: 1px !default;
34
34
  /// Border radius of tabs
35
35
  /// @group tabstrip
36
- $tabstrip-item-border-radius: $border-radius !default;
36
+ $tabstrip-item-border-radius: $kendo-border-radius-md !default;
37
37
  /// Spacing between tabs
38
38
  /// @group tabstrip
39
39
  $tabstrip-item-gap: $nav-item-margin !default;
@@ -26,7 +26,7 @@ $taskboard-columns-container-gap: $taskboard-spacer !default;
26
26
 
27
27
  $taskboard-column-width: 320px !default;
28
28
  $taskboard-column-border-width: 1px !default;
29
- $taskboard-column-border-radius: $border-radius !default;
29
+ $taskboard-column-border-radius: $kendo-border-radius-md !default;
30
30
  $taskboard-column-bg: $base-bg !default;
31
31
  $taskboard-column-text: null !default;
32
32
  $taskboard-column-border: transparent !default;
@@ -68,7 +68,7 @@ $taskboard-pane-actions-padding-x: $taskboard-spacer !default;
68
68
  $taskboard-card-padding-y: $taskboard-spacer !default;
69
69
  $taskboard-card-padding-x: $taskboard-card-padding-y !default;
70
70
  $taskboard-card-border-width: $card-border-width !default;
71
- $taskboard-card-border-radius: $border-radius !default;
71
+ $taskboard-card-border-radius: $kendo-border-radius-md !default;
72
72
  $taskboard-card-shadow: $card-shadow !default;
73
73
  $taskboard-card-bg: $card-bg !default;
74
74
  $taskboard-card-text: $card-text !default;
@@ -4,7 +4,7 @@ $tilelayout-card-border-width: $card-border-width !default;
4
4
  $tilelayout-card-focus-shadow: $card-focus-shadow !default;
5
5
 
6
6
  $tilelayout-hint-border-width: 1px !default;
7
- $tilelayout-hint-border-radius: $border-radius-lg !default;
7
+ $tilelayout-hint-border-radius: $kendo-border-radius-lg !default;
8
8
 
9
9
  $tilelayout-bg: $base-bg !default;
10
10
 
@@ -32,7 +32,7 @@
32
32
  display: inline-block;
33
33
  text-align: center;
34
34
  padding: $timeline-flag-padding-y $timeline-flag-padding-x;
35
- border-radius: $border-radius;
35
+ border-radius: $kendo-border-radius;
36
36
  line-height: $timeline-flag-line-height;
37
37
  min-width: $timeline-flag-min-width;
38
38
  max-width: $timeline-flag-max-width;
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  &::-webkit-scrollbar-thumb {
99
- border-radius: $border-radius;
99
+ border-radius: $kendo-border-radius;
100
100
  }
101
101
  }
102
102
  }
@@ -140,7 +140,7 @@
140
140
  height: 100%;
141
141
  width: $timeline-track-size;
142
142
  transform: translateX(-50%);
143
- border-radius: $border-radius-lg;
143
+ border-radius: $kendo-border-radius-lg;
144
144
  }
145
145
 
146
146
  .k-timeline-flag-wrap {
@@ -3,7 +3,7 @@ $tooltip-padding-y: $padding-y !default;
3
3
  $tooltip-padding-x: $padding-x !default;
4
4
  $tooltip-max-width: null !default;
5
5
  $tooltip-border-width: 0px !default;
6
- $tooltip-border-radius: $border-radius !default;
6
+ $tooltip-border-radius: $kendo-border-radius-md !default;
7
7
 
8
8
  $tooltip-font-family: $font-family !default;
9
9
  $tooltip-font-size: $font-size !default;
@@ -25,7 +25,7 @@ $kendo-treeview-item-padding-y: map-get( $spacing, 1 ) !default;
25
25
  $kendo-treeview-item-border-width: 0px !default;
26
26
  /// Border radius of treeview items.
27
27
  /// @group treeview
28
- $kendo-treeview-item-border-radius: $border-radius !default;
28
+ $kendo-treeview-item-border-radius: $kendo-border-radius-md !default;
29
29
 
30
30
 
31
31
  /// The sizes of the treeview.
@@ -41,11 +41,11 @@
41
41
  ) !default;
42
42
 
43
43
  $utils-border-radius: (
44
- default: map-get( $spacing, 1 ),
44
+ default: $kendo-border-radius-md,
45
45
  0: 0,
46
- sm: ( map-get( $spacing, 1 ) / 4 ),
47
- md: ( map-get( $spacing, 1 ) / 2 ),
48
- lg: map-get( $spacing, 1 ),
46
+ sm: $kendo-border-radius-sm,
47
+ md: $kendo-border-radius-md,
48
+ lg: $kendo-border-radius-lg,
49
49
  full: 9999px
50
50
  ) !default;
51
51
 
@@ -7,48 +7,48 @@
7
7
  /// @name k-d-flex
8
8
  /// @description This is equivalent to `display: flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
9
9
  /// @group flex-layout
10
- .k-d-flex { display: flex; }
11
- .\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
10
+ .k-d-flex { display: flex; }
11
+ .\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
12
12
  /// @name k-d-inline-flex
13
13
  /// @description This is equivalent to `display: inline-flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
14
14
  /// @group flex-layout
15
- .k-d-inline-flex { display: inline-flex; }
16
- .\!k-d-inline-flex { display: inline-flex !important; } // sass-lint:disable-line no-important class-name-format
15
+ .k-d-inline-flex { display: inline-flex; }
16
+ .\!k-d-inline-flex { display: inline-flex !important; } // sass-lint:disable-line no-important class-name-format
17
17
  /// @name k-d-flex-row
18
18
  /// @description This is equivalent to `display: inline-flex` and `flex-direction: row`.
19
19
  /// @group flex-layout
20
- .k-d-flex-row { @extend .k-d-flex, .k-flex-row; }
21
- .\!k-d-flex-row { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
20
+ .k-d-flex-row { @extend .k-d-flex, .k-flex-row; }
21
+ .\!k-d-flex-row { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
22
22
  /// @name k-d-flex-col
23
23
  /// @description This is equivalent to `display: inline-flex` and `flex-direction: column`.
24
24
  /// @group flex-layout
25
- .k-d-flex-col { @extend .k-d-flex, .k-flex-col; }
26
- .\!k-d-flex-col { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
25
+ .k-d-flex-col { @extend .k-d-flex, .k-flex-col; }
26
+ .\!k-d-flex-col { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
27
27
  /// @name k-flex-row
28
28
  /// @description This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
29
29
  /// @group flex-layout
30
- .k-flex-row { flex-direction: row; }
31
- .\!k-flex-row { flex-direction: row !important; } // sass-lint:disable-line no-important class-name-format
30
+ .k-flex-row { flex-direction: row; }
31
+ .\!k-flex-row { flex-direction: row !important; } // sass-lint:disable-line no-important class-name-format
32
32
  /// @name k-flex-row-reverse
33
33
  /// @description This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
34
34
  /// @group flex-layout
35
- .k-flex-row-reverse { flex-direction: row-reverse; }
36
- .\!k-flex-row-reverse { flex-direction: row-reverse !important; } // sass-lint:disable-line no-important class-name-format
35
+ .k-flex-row-reverse { flex-direction: row-reverse; }
36
+ .\!k-flex-row-reverse { flex-direction: row-reverse !important; } // sass-lint:disable-line no-important class-name-format
37
37
  /// @name k-flex-col
38
38
  /// @description This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
39
39
  /// @group flex-layout
40
- .k-flex-col { flex-direction: column; }
41
- .\!k-flex-col { flex-direction: column !important; } // sass-lint:disable-line no-important class-name-format
40
+ .k-flex-col { flex-direction: column; }
41
+ .\!k-flex-col { flex-direction: column !important; } // sass-lint:disable-line no-important class-name-format
42
42
  /// @name k-flex-col-reverse
43
43
  /// @description This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
44
44
  /// @group flex-layout
45
- .k-flex-col-reverse { flex-direction: column-reverse; }
46
- .\!k-flex-col-reverse { flex-direction: column-reverse; } // sass-lint:disable-line no-important class-name-format
45
+ .k-flex-col-reverse { flex-direction: column-reverse; }
46
+ .\!k-flex-col-reverse { flex-direction: column-reverse !important; } // sass-lint:disable-line no-important class-name-format
47
47
 
48
48
 
49
49
  // Aliases
50
- .k-flex-column { @extend .k-flex-col; }
51
- .k-flex-column-reverse { @extend .k-flex-col-reverse; }
50
+ .k-flex-column { @extend .k-flex-col; }
51
+ .k-flex-column-reverse { @extend .k-flex-col-reverse; }
52
52
 
53
53
 
54
54
  // Flex wrap
@@ -56,15 +56,18 @@
56
56
  /// @name k-flex-wrap
57
57
  /// @description This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
58
58
  /// @group flex-layout
59
- .k-flex-wrap { flex-wrap: wrap; }
59
+ .k-flex-wrap { flex-wrap: wrap; }
60
+ .\!k-flex-wrap { flex-wrap: wrap !important; } // sass-lint:disable-line no-important class-name-format
60
61
  /// @name k-flex-nowrap
61
62
  /// @description This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
62
63
  /// @group flex-layout
63
- .k-flex-nowrap { flex-wrap: nowrap; }
64
+ .k-flex-nowrap { flex-wrap: nowrap; }
65
+ .\!k-flex-nowrap { flex-wrap: nowrap !important; } // sass-lint:disable-line no-important class-name-format
64
66
  /// @name k-flex-wrap-reverse
65
67
  /// @description This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
66
68
  /// @group flex-layout
67
- .k-flex-wrap-reverse { flex-wrap: wrap-reverse; }
69
+ .k-flex-wrap-reverse { flex-wrap: wrap-reverse; }
70
+ .\!k-flex-wrap-reverse { flex-wrap: wrap-reverse !important; } // sass-lint:disable-line no-important class-name-format
68
71
 
69
72
 
70
73
  // Flex, shrink, grow,
@@ -72,79 +75,115 @@
72
75
  /// @name k-flex-initial
73
76
  /// @description This is the same as `flex: initial;` and the shorthand for the default value: `flex: 0 1 auto`. It sizes the item based on its `width`/`height` properties (or its content if not set). It makes the flex item inflexible when there is some free space left, but allows it to shrink to its minimum when there is not enough space. The alignment abilities or `auto` margins can be used to align flex items along the main axis.
74
77
  /// @group flex-layout
75
- .k-flex-initial { flex: 0 1 auto; }
78
+ .k-flex-initial { flex: 0 1 auto; }
79
+ .\!k-flex-initial { flex: 0 1 auto !important; } // sass-lint:disable-line no-important class-name-format
76
80
  /// @name k-flex-1
77
81
  /// @description This is equivalent to `flex: 1 1 0%`. It sizes the item not based on its `width`/`height` properties, but based on the available space. This is similar to `flex: 1 1 auto` execpt it is allowed to shrink beyond its initial size.
78
82
  /// @group flex-layout
79
- .k-flex-1 { flex: 1 1 0%; }
83
+ .k-flex-1 { flex: 1 1 0%; }
84
+ .\!k-flex-1 { flex: 1 1 0% !important; } // sass-lint:disable-line no-important class-name-format
80
85
  /// @name k-flex-auto
81
86
  /// @description This is equivalent to `flex: 1 1 auto`. Beware, this is not the default value. It sizes the item based on its `width`/`height` properties, but makes it fully flexible so that they absorb any extra space along the main axis. If all items are either `flex: auto`, `flex: initial`, or `flex: none`, any remaining space after the items have been sized will be distributed evenly to the items with `flex: auto`.
82
87
  /// @group flex-layout
83
- .k-flex-auto { flex: 1 1 auto; }
88
+ .k-flex-auto { flex: 1 1 auto; }
89
+ .\!k-flex-auto { flex: 1 1 auto !important; } // sass-lint:disable-line no-important class-name-format
84
90
  /// @name k-flex-none
85
91
  /// @description This is equivalent to `flex: 0 0 auto`. It sizes the item according to its `width`/`height` properties, but makes it fully inflexible. This is similar to `flex: initial` except it is not allowed to shrink, even in an overflow situation.
86
92
  /// @group flex-layout
87
- .k-flex-none { flex: none; }
93
+ .k-flex-none { flex: none; }
94
+ .\!k-flex-none { flex: none !important; } // sass-lint:disable-line no-important class-name-format
88
95
  /// @name k-flex-grow
89
96
  /// @description This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
90
97
  /// @group flex-layout
91
- .k-flex-grow { flex-grow: 1; }
98
+ .k-flex-grow { flex-grow: 1; }
99
+ .\!k-flex-grow { flex-grow: 1 !important; } // sass-lint:disable-line no-important class-name-format
92
100
  /// @name k-flex-grow-0
93
101
  /// @description This is equivalent to `flex-grow: 0`. The item will not grow.
94
102
  /// @group flex-layout
95
- .k-flex-grow-0 { flex-grow: 0; }
103
+ .k-flex-grow-0 { flex-grow: 0; }
104
+ .\!k-flex-grow-0 { flex-grow: 0 !important; } // sass-lint:disable-line no-important class-name-format
96
105
  /// @name k-flex-shrink
97
106
  /// @description This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
98
107
  /// @group flex-layout
99
- .k-flex-shrink { flex-shrink: 1; }
108
+ .k-flex-shrink { flex-shrink: 1; }
109
+ .\!k-flex-shrink { flex-shrink: 1 !important; } // sass-lint:disable-line no-important class-name-format
100
110
  /// @name k-flex-shrink-0
101
111
  /// @description This is equivalent to `flex-shrink: 0`. The item will not shrink.
102
112
  /// @group flex-layout
103
- .k-flex-shrink-0 { flex-shrink: 0; }
113
+ .k-flex-shrink-0 { flex-shrink: 0; }
114
+ .\!k-flex-shrink-0 { flex-shrink: 0 !important; } // sass-lint:disable-line no-important class-name-format
104
115
  /// @name k-flex-basis-auto
105
116
  /// @description This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
106
117
  /// @group flex-layout
107
- .k-flex-basis-auto { flex-basis: auto; }
118
+ .k-flex-basis-auto { flex-basis: auto; }
119
+ .\!k-flex-basis-auto { flex-basis: auto !important; } // sass-lint:disable-line no-important class-name-format
108
120
  /// @name k-flex-basis-0
109
121
  /// @description This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
110
122
  /// @group flex-layout
111
- .k-flex-basis-0 { flex-basis: 0%; }
123
+ .k-flex-basis-0 { flex-basis: 0%; }
124
+ .\!k-flex-basis-0 { flex-basis: 0% !important; } // sass-lint:disable-line no-important class-name-format
112
125
 
113
126
 
114
127
  // Flex align
115
- .k-align-items-start { align-items: flex-start; }
116
- .k-align-items-end { align-items: flex-end; }
117
- .k-align-items-center { align-items: center; }
118
- .k-align-items-stretch { align-items: stretch; }
119
- .k-align-items-baseline { align-items: baseline; }
120
-
121
- .k-align-content-start { align-content: flex-start; }
122
- .k-align-content-end { align-content: flex-end; }
123
- .k-align-content-center { align-content: center; }
124
- .k-align-content-stretch { align-content: stretch; }
125
- .k-align-content-baseline { align-content: baseline; }
126
-
127
- .k-align-self-start { align-self: flex-start; }
128
- .k-align-self-end { align-self: flex-end; }
129
- .k-align-self-center { align-self: center; }
130
- .k-align-self-stretch { align-self: stretch; }
131
- .k-align-self-baseline { align-self: baseline; }
128
+ .k-align-items-start { align-items: flex-start; }
129
+ .\!k-align-items-start { align-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
130
+ .k-align-items-end { align-items: flex-end; }
131
+ .\!k-align-items-end { align-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
132
+ .k-align-items-center { align-items: center; }
133
+ .\!k-align-items-center { align-items: center !important; } // sass-lint:disable-line no-important class-name-format
134
+ .k-align-items-stretch { align-items: stretch; }
135
+ .\!k-align-items-stretch { align-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
136
+ .k-align-items-baseline { align-items: baseline; }
137
+ .\!k-align-items-baseline { align-items: baseline !important; } // sass-lint:disable-line no-important class-name-format
138
+
139
+ .k-align-content-start { align-content: flex-start; }
140
+ .\!k-align-content-start { align-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
141
+ .k-align-content-end { align-content: flex-end; }
142
+ .\!k-align-content-end { align-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
143
+ .k-align-content-center { align-content: center; }
144
+ .\!k-align-content-center { align-content: center !important; } // sass-lint:disable-line no-important class-name-format
145
+ .k-align-content-stretch { align-content: stretch; }
146
+ .\!k-align-content-stretch { align-content: stretch !important; } // sass-lint:disable-line no-important class-name-format
147
+ .k-align-content-baseline { align-content: baseline; }
148
+ .\!k-align-content-baseline { align-content: baseline !important; } // sass-lint:disable-line no-important class-name-format
149
+
150
+ .k-align-self-start { align-self: flex-start; }
151
+ .\!k-align-self-start { align-self: flex-start !important; } // sass-lint:disable-line no-important class-name-format
152
+ .k-align-self-end { align-self: flex-end; }
153
+ .\!k-align-self-end { align-self: flex-end !important; } // sass-lint:disable-line no-important class-name-format
154
+ .k-align-self-center { align-self: center; }
155
+ .\!k-align-self-center { align-self: center !important; } // sass-lint:disable-line no-important class-name-format
156
+ .k-align-self-stretch { align-self: stretch; }
157
+ .\!k-align-self-stretch { align-self: stretch !important; } // sass-lint:disable-line no-important class-name-format
158
+ .k-align-self-baseline { align-self: baseline; }
159
+ .\!k-align-self-baseline { align-self: baseline !important; } // sass-lint:disable-line no-important class-name-format
132
160
 
133
161
 
134
162
  // Justify content
135
- .k-justify-content-start { justify-content: flex-start; }
136
- .k-justify-content-end { justify-content: flex-end; }
137
- .k-justify-content-center { justify-content: center; }
138
- .k-justify-content-between { justify-content: space-between; }
139
- .k-justify-content-around { justify-content: space-around; }
140
- .k-justify-content-evenly { justify-content: space-evenly; }
141
- .k-justify-content-stretch > * { flex: 1 0 0%; }
163
+ .k-justify-content-start { justify-content: flex-start; }
164
+ .\!k-justify-content-start { justify-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
165
+ .k-justify-content-end { justify-content: flex-end; }
166
+ .\!k-justify-content-end { justify-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
167
+ .k-justify-content-center { justify-content: center; }
168
+ .\!k-justify-content-center { justify-content: center !important; } // sass-lint:disable-line no-important class-name-format
169
+ .k-justify-content-between { justify-content: space-between; }
170
+ .\!k-justify-content-between { justify-content: space-between !important; } // sass-lint:disable-line no-important class-name-format
171
+ .k-justify-content-around { justify-content: space-around; }
172
+ .\!k-justify-content-around { justify-content: space-around !important; } // sass-lint:disable-line no-important class-name-format
173
+ .k-justify-content-evenly { justify-content: space-evenly; }
174
+ .\!k-justify-content-evenly { justify-content: space-evenly !important; } // sass-lint:disable-line no-important class-name-format
175
+ .k-justify-content-stretch > * { flex: 1 0 0%; }
176
+ .\!k-justify-content-stretch > * { flex: 1 0 0% !important; } // sass-lint:disable-line no-important class-name-format
142
177
 
143
178
 
144
179
  // Justify items
145
- .k-justify-items-start { justify-items: flex-start; }
146
- .k-justify-items-end { justify-items: flex-end; }
147
- .k-justify-items-center { justify-items: center; }
148
- .k-justify-items-stretch { justify-items: stretch; }
180
+ .k-justify-items-start { justify-items: flex-start; }
181
+ .\!k-justify-items-start { justify-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
182
+ .k-justify-items-end { justify-items: flex-end; }
183
+ .\!k-justify-items-end { justify-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
184
+ .k-justify-items-center { justify-items: center; }
185
+ .\!k-justify-items-center { justify-items: center !important; } // sass-lint:disable-line no-important class-name-format
186
+ .k-justify-items-stretch { justify-items: stretch; }
187
+ .\!k-justify-items-stretch { justify-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
149
188
 
150
189
  }