Skip to content

Commit

Permalink
chore: drop IE support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop IE support
  • Loading branch information
TeyaVes authored and joneff committed Dec 9, 2022
1 parent 2042f29 commit 7e0487c
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 310 deletions.
15 changes: 0 additions & 15 deletions packages/default/scss/action-buttons/_layout.scss
Expand Up @@ -36,21 +36,6 @@
@extend .k-actions;
}


// Legacy spacing
.k-ie {
.k-actions .k-button ~ .k-button {
margin-left: $actions-button-spacing;
flex-shrink: 0;

.k-rtl &,
[dir="rtl"] & {
margin-left: 0;
margin-right: $actions-button-spacing;
}
}
}

// Actions align
.k-actions-start {
justify-content: flex-start;
Expand Down
8 changes: 0 additions & 8 deletions packages/default/scss/bottom-navigation/_theme.scss
Expand Up @@ -44,11 +44,3 @@
}

}

@include exports( "bottom-navigation/theme/legacy" ) {

.k-ie .k-bottom-nav-item {
background-color: transparent;
}

}
9 changes: 0 additions & 9 deletions packages/default/scss/button/_layout.scss
Expand Up @@ -216,15 +216,6 @@
box-shadow: none !important; // sass-lint:disable-line no-important
}



// IE
.k-ie .k-button-group {
.k-button {
@include border-radius( 0 );
}
}

}


Expand Down
17 changes: 0 additions & 17 deletions packages/default/scss/card/_layout.scss
Expand Up @@ -377,20 +377,3 @@
}

}




@include exports("card/layout/ie11") {

.k-ie11 {

// IE11 needs units to be added to flex-basis when in shorthand
// Thus, `flex: x x 0` will be ignored and we need `flex: x x auto`
// See https://github.com/philipwalton/flexbugs#flexbug-4
.k-card-body {
flex: 1 1 auto;
}

}
}
25 changes: 0 additions & 25 deletions packages/default/scss/chip/_layout.scss
Expand Up @@ -77,9 +77,6 @@
justify-content: center;
flex: none;
}
.k-ie .k-chip-icon {
margin-right: $kendo-chip-spacing;
}


// Actions
Expand Down Expand Up @@ -108,10 +105,6 @@
justify-content: center;
flex: none;
}
.k-ie .k-remove-icon {
margin-right: 0;
margin-left: $kendo-chip-spacing;
}


// Chip list
Expand All @@ -123,24 +116,6 @@
position: relative;
}


// RTL
.k-ie .k-chip.k-rtl,
.k-ie .k-rtl .k-chip,
.k-ie .k-chip[dir="rtl"] {
.k-chip-icon {
margin-right: 0;
margin-left: $kendo-chip-spacing;
}

.k-remove-icon {
margin-left: 0;
margin-right: $kendo-chip-spacing;
}
}



// Sizes
@each $size, $size-props in $kendo-chip-sizes {
$_padding-x: map-get( $size-props, padding-x );
Expand Down
15 changes: 0 additions & 15 deletions packages/default/scss/dialog/_layout.scss
Expand Up @@ -65,19 +65,4 @@
overflow: hidden;
}


// Legacy spacing
.k-ie .k-dialog-buttongroup {

.k-button ~ .k-button {
margin-left: $dialog-button-spacing;

.k-rtl &,
[dir="rtl"] & {
margin-left: 0;
margin-right: $dialog-button-spacing;
}
}
}

}
49 changes: 0 additions & 49 deletions packages/default/scss/grid/_layout.scss
Expand Up @@ -554,10 +554,6 @@

.k-grid-header-locked + .k-grid-header-wrap.k-auto-scrollable {
margin-right: 0;

.k-ie & {
display: inline-block;
}
}

.k-grid-header,
Expand Down Expand Up @@ -616,21 +612,11 @@
overflow: hidden;
text-overflow: ellipsis;
outline: 0;

.k-ie & {
margin: 0;
padding: 0;
}

}

.k-with-icon,
.k-filterable {
padding-right: $grid-filterable-icon-spacing;

.k-ie & {
padding-right: calc( #{ $kendo-button-calc-size } + #{ $grid-header-menu-icon-spacing });
}
}

.k-header > .k-link:focus {
Expand Down Expand Up @@ -1260,19 +1246,6 @@
gap: map-get( $spacing, 2 );
}
}
.k-ie .k-filter-menu-container {
> * { margin-top: map-get( $spacing, 2 ); }
> :first-child { margin-top: 0; }

// Angular specific
.k-filter-and,
kendo-grid-filter-menu-input-wrapper > * {
margin-top: map-get( $spacing, 2 );
}
kendo-grid-filter-menu-input-wrapper > :first-child {
margin-top: 0;
}
}

.k-filter-menu.k-popup,
.k-grid-filter-popup.k-popup {
Expand Down Expand Up @@ -1440,25 +1413,3 @@
}
}
}

@include exports("grid/layout/IE") {
// TODO: Remove once we drop IE support

.k-ie {
.k-grid-header,
.k-grid-footer {
padding-right: $default-scrollbar-width;
padding-left: 0;
display: block;
}

[dir = "rtl"],
.k-rtl {
.k-grid-header,
.k-grid-footer {
padding-right: 0;
padding-left: $default-scrollbar-width;
}
}
}
}
15 changes: 0 additions & 15 deletions packages/default/scss/imageeditor/_layout.scss
Expand Up @@ -149,18 +149,3 @@
}

}




@include exports("imageeditor/layout/IE") {

.k-ie {
.k-imageeditor-canvas {
flex-direction: row;
align-self: flex-start;
}
}

}

9 changes: 0 additions & 9 deletions packages/default/scss/list/_layout.scss
Expand Up @@ -149,15 +149,6 @@
position: absolute;
top: 0;
inset-inline-end: 0;

.k-ie & {
right: 0;
}
.k-ie .k-rtl &,
.k-ie [dir="rtl"] & {
right: auto;
left: 0;
}
}


Expand Down
41 changes: 0 additions & 41 deletions packages/default/scss/panelbar/_layout.scss
Expand Up @@ -139,44 +139,3 @@
}

}




@include exports( "panelbar/layout/compatibility" ) {

.k-ie {

// Toggle icon
.k-panelbar-expand,
.k-panelbar-collapse,
.k-panelbar-toggle {
margin-left: auto;
}

.k-group .k-panelbar-expand,
.k-group .k-panelbar-collapse,
.k-panelbar-group .k-panelbar-toggle {
margin-right: calc( #{$panelbar-header-padding-x} - #{$panelbar-item-padding-x} );
}

.k-rtl &,
&.k-rtl,
&[dir = "rtl"] {
// Toggle icon
.k-panelbar-expand,
.k-panelbar-collapse,
.k-panelbar-toggle {
margin-left: initial;
margin-right: auto;
}

.k-group .k-panelbar-expand,
.k-group .k-panelbar-collapse,
.k-panelbar-group .k-panelbar-toggle {
margin-left: calc( #{$panelbar-header-padding-x} - #{$panelbar-item-padding-x} );
}
}
}

}
8 changes: 0 additions & 8 deletions packages/default/scss/pdf-viewer/_layout.scss
Expand Up @@ -170,12 +170,4 @@
@extend .k-search-panel !optional;
}


// IE
.k-ie .k-pdf-viewer-search-dialog {
.k-search-container > * + * {
margin-left: $pdf-viewer-search-dialog-spacing;
}
}

}
52 changes: 0 additions & 52 deletions packages/default/scss/pivotgrid/_layout.scss
Expand Up @@ -650,58 +650,6 @@
margin: 0;
}
}
.k-ie & .k-column-fields {
> * {
margin: 2px;
}
}
}

}



@include exports("pivotgrid/layout/ie11-fixes/legacy") {

// Pivotgrid is stretched beyond container in IE 11
// see https://github.com/telerik/kendo-theme-default/issues/647
// see https://github.com/telerik/kendo-themes/issues/1880
.k-ie11 {
.k-pivot .k-grid {
display: block;
}
.k-pivotgrid {
display: flex;
flex-direction: column;

& > div {
display: flex;
flex-direction: row;
overflow: hidden;
}

.k-pivotgrid-empty-cell,
.k-pivotgrid-row-headers {
flex: 1 1 30%;
}

.k-pivotgrid-column-headers,
.k-pivotgrid-values {
flex: 1 1 70%;
}
}
.k-pivotgrid-column-headers {
padding-right: $default-scrollbar-width;
padding-left: 0;
}

[dir = "rtl"],
.k-rtl {
.k-pivotgrid-column-headers {
padding-right: 0;
padding-left: $default-scrollbar-width;
}
}
}

}
1 change: 0 additions & 1 deletion packages/default/scss/scheduler/_layout.scss
Expand Up @@ -1095,7 +1095,6 @@

@include exports("scheduler/layout/compatibility") {

.k-ie,
.k-safari {
.k-scheduler-tooltip .k-tooltip-event:not(:last-child) {
margin-bottom: $scheduler-tooltip-event-gap;
Expand Down
10 changes: 0 additions & 10 deletions packages/default/scss/split-button/_layout.scss
Expand Up @@ -28,13 +28,3 @@

}


@include exports("split-button/layout/legacy") {

.k-ie .k-split-button {
.k-button {
@include border-radius( 0 );
}
}

}
3 changes: 0 additions & 3 deletions packages/default/scss/tabstrip/_layout.scss
Expand Up @@ -80,9 +80,6 @@
align-items: center;
}
}
.k-ie11 .k-tabstrip-items {
white-space: nowrap;
}

.k-tabstrip-content,
.k-tabstrip > .k-content {
Expand Down

0 comments on commit 7e0487c

Please sign in to comment.