@progress/kendo-theme-default 5.0.0-alpha.0 → 5.0.0-alpha.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.
package/dist/all.css CHANGED
@@ -13164,6 +13164,8 @@ kendo-badge-container {
13164
13164
  display: inline-flex;
13165
13165
  -ms-flex-flow: row nowrap;
13166
13166
  flex-flow: row nowrap;
13167
+ -ms-flex-align: stretch;
13168
+ align-items: stretch;
13167
13169
  position: relative;
13168
13170
  overflow: hidden;
13169
13171
  text-overflow: ellipsis;
@@ -13176,6 +13178,8 @@ input.k-input {
13176
13178
 
13177
13179
  select.k-picker {
13178
13180
  padding: 4px 8px;
13181
+ -webkit-appearance: auto;
13182
+ appearance: auto;
13179
13183
  }
13180
13184
 
13181
13185
  .k-input-inner {
@@ -13247,6 +13251,8 @@ span.k-input-inner .k-value-text {
13247
13251
  .k-input-suffix {
13248
13252
  display: -ms-flexbox;
13249
13253
  display: flex;
13254
+ -ms-flex-flow: row nowrap;
13255
+ flex-flow: row nowrap;
13250
13256
  -ms-flex-align: center;
13251
13257
  align-items: center;
13252
13258
  -ms-flex: none;
@@ -13298,20 +13304,28 @@ span.k-input-inner .k-value-text {
13298
13304
  }
13299
13305
 
13300
13306
  .k-input-button {
13301
- min-width: calc(1.4285714286em + 8px);
13307
+ width: calc(1.4285714286em + 8px);
13302
13308
  border-width: 0;
13303
13309
  -ms-flex: none;
13304
13310
  flex: none;
13311
+ aspect-ratio: auto;
13312
+ color: inherit;
13313
+ background: none;
13305
13314
  box-shadow: none;
13306
13315
  }
13307
13316
 
13317
+ .k-input-button > .k-button-icon {
13318
+ min-width: auto !important;
13319
+ min-height: auto !important;
13320
+ }
13321
+
13308
13322
  .k-picker .k-input-button {
13309
13323
  color: inherit;
13310
13324
  background: none;
13311
13325
  }
13312
13326
 
13313
13327
  .k-input-spinner {
13314
- min-width: calc(1.4285714286em + 8px);
13328
+ width: calc(1.4285714286em + 8px);
13315
13329
  -ms-flex: none;
13316
13330
  flex: none;
13317
13331
  display: -ms-flexbox;
@@ -13322,7 +13336,6 @@ span.k-input-inner .k-value-text {
13322
13336
 
13323
13337
  .k-input-spinner .k-spinner-increase,
13324
13338
  .k-input-spinner .k-spinner-decrease {
13325
- padding: 0;
13326
13339
  border-width: 0;
13327
13340
  -ms-flex: 1 1 50%;
13328
13341
  flex: 1 1 50%;
@@ -13332,11 +13345,7 @@ span.k-input-inner .k-value-text {
13332
13345
 
13333
13346
  .k-input-spinner .k-spinner-increase > .k-button-icon,
13334
13347
  .k-input-spinner .k-spinner-decrease > .k-button-icon {
13335
- position: absolute;
13336
- top: 50%;
13337
- left: 50%;
13338
- -ms-transform: translate(-50%, -50%);
13339
- transform: translate(-50%, -50%);
13348
+ margin: -1em 0;
13340
13349
  }
13341
13350
 
13342
13351
  .k-searchbar {
@@ -14165,8 +14174,8 @@ kendo-label > .k-label {
14165
14174
  .k-form .k-daterangepicker-wrap,
14166
14175
  .k-form .k-timepicker,
14167
14176
  .k-form .k-floating-label-container {
14168
- display: -ms-flexbox;
14169
- display: flex;
14177
+ display: -ms-inline-flexbox;
14178
+ display: inline-flex;
14170
14179
  width: 100%;
14171
14180
  }
14172
14181
 
@@ -14224,6 +14233,7 @@ kendo-label > .k-label {
14224
14233
  margin-right: 10px;
14225
14234
  padding-top: 5px;
14226
14235
  width: 25%;
14236
+ text-align: end;
14227
14237
  -ms-flex-direction: column;
14228
14238
  flex-direction: column;
14229
14239
  -ms-flex-align: end;
@@ -16719,6 +16729,7 @@ kendo-label.k-radio-label > .k-label {
16719
16729
  }
16720
16730
 
16721
16731
  .k-actions-horizontal {
16732
+ width: 100%;
16722
16733
  -ms-flex-flow: row nowrap;
16723
16734
  flex-flow: row nowrap;
16724
16735
  }
@@ -19460,14 +19471,6 @@ kendo-label.k-radio-label > .k-label {
19460
19471
  transform: translateX(50%);
19461
19472
  }
19462
19473
 
19463
- .k-dateinput .k-link-increase .k-icon {
19464
- bottom: -2px;
19465
- }
19466
-
19467
- .k-dateinput .k-link-decrease .k-icon {
19468
- top: -2px;
19469
- }
19470
-
19471
19474
  .k-rtl .k-dateinput, .k-dateinput[dir="rtl"] {
19472
19475
  text-align: right;
19473
19476
  }
@@ -22326,6 +22329,7 @@ kendo-label.k-radio-label > .k-label {
22326
22329
  height: 100%;
22327
22330
  }
22328
22331
 
22332
+ .k-window-buttons,
22329
22333
  .k-window-buttongroup {
22330
22334
  border-bottom-right-radius: 0px;
22331
22335
  border-bottom-left-radius: 0px;
@@ -23436,6 +23440,7 @@ kendo-card-footer {
23436
23440
  height: 20px;
23437
23441
  border-width: 1px 1px 0 0;
23438
23442
  border-style: solid;
23443
+ box-sizing: border-box;
23439
23444
  position: absolute;
23440
23445
  }
23441
23446
 
@@ -31038,6 +31043,99 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
31038
31043
  overflow: auto;
31039
31044
  }
31040
31045
 
31046
+ .k-editor-resize-handles-wrapper {
31047
+ position: absolute;
31048
+ visibility: hidden;
31049
+ }
31050
+
31051
+ .k-editor-resize-handle {
31052
+ width: 5px;
31053
+ height: 5px;
31054
+ border-width: 1px;
31055
+ border-style: solid;
31056
+ position: absolute;
31057
+ visibility: visible;
31058
+ z-index: 100;
31059
+ }
31060
+
31061
+ .k-editor-resize-handle.northwest {
31062
+ top: 0;
31063
+ left: 0;
31064
+ -ms-transform: translate(-50%, -50%);
31065
+ transform: translate(-50%, -50%);
31066
+ cursor: nw-resize;
31067
+ }
31068
+
31069
+ .k-editor-resize-handle.north {
31070
+ top: 0;
31071
+ left: 50%;
31072
+ -ms-transform: translate(-50%, -50%);
31073
+ transform: translate(-50%, -50%);
31074
+ cursor: n-resize;
31075
+ }
31076
+
31077
+ .k-editor-resize-handle.northeast {
31078
+ top: 0;
31079
+ right: 0;
31080
+ -ms-transform: translate(50%, -50%);
31081
+ transform: translate(50%, -50%);
31082
+ cursor: ne-resize;
31083
+ }
31084
+
31085
+ .k-editor-resize-handle.southwest {
31086
+ left: 0;
31087
+ bottom: 0;
31088
+ -ms-transform: translate(-50%, 50%);
31089
+ transform: translate(-50%, 50%);
31090
+ cursor: sw-resize;
31091
+ }
31092
+
31093
+ .k-editor-resize-handle.south {
31094
+ bottom: 0;
31095
+ left: 50%;
31096
+ -ms-transform: translate(-50%, 50%);
31097
+ transform: translate(-50%, 50%);
31098
+ cursor: s-resize;
31099
+ }
31100
+
31101
+ .k-editor-resize-handle.southeast {
31102
+ right: 0;
31103
+ bottom: 0;
31104
+ -ms-transform: translate(50%, 50%);
31105
+ transform: translate(50%, 50%);
31106
+ cursor: se-resize;
31107
+ }
31108
+
31109
+ .k-editor-resize-handle.west {
31110
+ top: 50%;
31111
+ left: 0;
31112
+ -ms-transform: translate(-50%, -50%);
31113
+ transform: translate(-50%, -50%);
31114
+ cursor: w-resize;
31115
+ }
31116
+
31117
+ .k-editor-resize-handle.east {
31118
+ top: 50%;
31119
+ right: 0;
31120
+ -ms-transform: translate(50%, -50%);
31121
+ transform: translate(50%, -50%);
31122
+ cursor: e-resize;
31123
+ }
31124
+
31125
+ .ProseMirror-selectednode {
31126
+ outline-width: 2px;
31127
+ outline-style: solid;
31128
+ }
31129
+
31130
+ .ProseMirror-hideselection {
31131
+ caret-color: transparent;
31132
+ }
31133
+
31134
+ .ProseMirror-hideselection *::selection,
31135
+ .ProseMirror-hideselection *::-moz-selection {
31136
+ background: transparent;
31137
+ }
31138
+
31041
31139
  .k-editor > .k-toolbar {
31042
31140
  border-width: 0 0 1px 0;
31043
31141
  -ms-flex-negative: 0;
@@ -31104,6 +31202,7 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
31104
31202
  padding: 8px;
31105
31203
  width: 100%;
31106
31204
  height: 100%;
31205
+ position: relative;
31107
31206
  box-sizing: border-box;
31108
31207
  outline: none;
31109
31208
  white-space: pre-wrap;
@@ -31636,6 +31735,15 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
31636
31735
  border-color: rgba(0, 0, 0, 0.08);
31637
31736
  }
31638
31737
 
31738
+ .k-editor-resize-handle {
31739
+ background-color: #ffffff;
31740
+ border-color: #000000;
31741
+ }
31742
+
31743
+ .ProseMirror-selectednode {
31744
+ outline-color: #8cf;
31745
+ }
31746
+
31639
31747
  .k-ct-popup .k-state-selected {
31640
31748
  border-color: rgba(0, 0, 0, 0.08);
31641
31749
  color: #ffffff;
@@ -34355,11 +34463,14 @@ kendo-scheduler .k-recurrence-editor {
34355
34463
  }
34356
34464
 
34357
34465
  .k-message-box {
34358
- padding: 10px 16px;
34466
+ width: 100%;
34467
+ height: auto;
34468
+ padding: 4px 8px;
34469
+ box-sizing: border-box;
34359
34470
  border-width: 1px 0 0;
34360
34471
  border-style: solid;
34361
- -ms-flex: 0 0 auto;
34362
- flex: 0 0 auto;
34472
+ -ms-flex: none;
34473
+ flex: none;
34363
34474
  display: -ms-flexbox;
34364
34475
  display: flex;
34365
34476
  -ms-flex-flow: row nowrap;
@@ -34368,6 +34479,11 @@ kendo-scheduler .k-recurrence-editor {
34368
34479
  align-items: center;
34369
34480
  }
34370
34481
 
34482
+ .k-message-box:focus, .k-message-box.k-state-focus, .k-message-box:focus-within {
34483
+ outline: 0;
34484
+ box-shadow: none;
34485
+ }
34486
+
34371
34487
  .k-message-box .k-input {
34372
34488
  padding: 0;
34373
34489
  }
@@ -34490,12 +34606,19 @@ kendo-scheduler .k-recurrence-editor {
34490
34606
 
34491
34607
  .k-chat-toolbar,
34492
34608
  .k-chat .k-toolbar-box {
34609
+ padding: 8px 8px;
34493
34610
  width: 100%;
34611
+ border-width: 1px 0 0;
34494
34612
  box-sizing: border-box;
34613
+ -ms-flex: none;
34614
+ flex: none;
34495
34615
  overflow: hidden;
34496
34616
  position: relative;
34497
- -ms-flex: 0 0 auto;
34498
- flex: 0 0 auto;
34617
+ }
34618
+
34619
+ .k-chat-toolbar::before,
34620
+ .k-chat .k-toolbar-box::before {
34621
+ display: none;
34499
34622
  }
34500
34623
 
34501
34624
  .k-chat-toolbar .k-button-list,
@@ -34506,20 +34629,15 @@ kendo-scheduler .k-recurrence-editor {
34506
34629
  flex-flow: row nowrap;
34507
34630
  overflow: hidden;
34508
34631
  scroll-behavior: smooth;
34509
- padding: 10px 16px;
34510
- }
34511
-
34512
- .k-chat-toolbar .k-button-list::after,
34513
- .k-chat .k-toolbar-box .k-button-list::after {
34514
- content: "";
34515
- padding-right: 16px;
34516
34632
  }
34517
34633
 
34518
- .k-chat-toolbar .k-button-list .k-button + .k-button,
34519
- .k-chat .k-toolbar-box .k-button-list .k-button + .k-button {
34520
- margin-left: 20px;
34521
- -ms-flex-negative: 0;
34522
- flex-shrink: 0;
34634
+ .k-chat-toolbar .k-button,
34635
+ .k-chat .k-toolbar-box .k-button {
34636
+ border-color: transparent;
34637
+ color: inherit;
34638
+ background: none;
34639
+ -ms-flex: none;
34640
+ flex: none;
34523
34641
  }
34524
34642
 
34525
34643
  .k-chat-toolbar .k-scroll-button,
@@ -34541,15 +34659,6 @@ kendo-scheduler .k-recurrence-editor {
34541
34659
  right: 0;
34542
34660
  }
34543
34661
 
34544
- .k-chat-toolbar .k-button,
34545
- .k-chat .k-toolbar-box .k-button {
34546
- border-width: 0;
34547
- color: inherit;
34548
- background: none;
34549
- -ms-flex-negative: 0;
34550
- flex-shrink: 0;
34551
- }
34552
-
34553
34662
  .k-rtl .k-message-group:not(.k-alt),
34554
34663
  [dir="rtl"] .k-message-group:not(.k-alt) {
34555
34664
  text-align: right;
package/dist/all.scss CHANGED
@@ -837,6 +837,8 @@ $enable-flex-classes: true !default;
837
837
  $enable-grid-classes: true !default;
838
838
 
839
839
  $use-calc-badge-size: true !default;
840
+ $use-input-button-width: true !default;
841
+ $use-input-spinner-width: true !default;
840
842
  $use-picker-select-width: true !default;
841
843
 
842
844
 
@@ -7820,18 +7822,15 @@ $picker-select-calc-size-sm: $kendo-input-inner-calc-height-sm !default;
7820
7822
  $picker-select-calc-size-lg: $kendo-input-inner-calc-height-lg !default;
7821
7823
 
7822
7824
 
7823
- // Spinner
7825
+ // Input actions
7826
+ $kendo-input-button-width: $kendo-button-inner-calc-size !default;
7824
7827
  $kendo-input-spinner-width: $kendo-button-inner-calc-size !default;
7825
- $kendo-input-spinner-icon-offset: 2px !default;
7826
7828
 
7827
7829
 
7828
7830
  // Input icon
7829
7831
  $kendo-input-icon-width: calc( #{$icon-size} + #{$kendo-input-padding-y * 2} ) !default;
7830
7832
  $kendo-input-icon-height: calc( #{$kendo-input-line-height * $kendo-input-font-size} + #{$kendo-input-padding-y * 2} ) !default;
7831
7833
 
7832
- $kendo-input-icon-text: $subtle-text !default;
7833
- $kendo-input-icon-opacity: null !default;
7834
-
7835
7834
 
7836
7835
  // Input separator
7837
7836
  $kendo-input-separator-color: $kendo-input-text !default;
@@ -8686,6 +8685,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8686
8685
  box-shadow: none;
8687
8686
  display: inline-flex;
8688
8687
  flex-flow: row nowrap;
8688
+ align-items: stretch;
8689
8689
  position: relative;
8690
8690
  overflow: hidden;
8691
8691
  text-overflow: ellipsis;
@@ -8696,6 +8696,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8696
8696
  }
8697
8697
  select.k-picker {
8698
8698
  padding: $kendo-input-padding-y $kendo-input-padding-x;
8699
+ appearance: auto;
8699
8700
  }
8700
8701
 
8701
8702
 
@@ -8753,6 +8754,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8753
8754
  .k-input-prefix,
8754
8755
  .k-input-suffix {
8755
8756
  display: flex;
8757
+ flex-flow: row nowrap;
8756
8758
  align-items: center;
8757
8759
  flex: none;
8758
8760
 
@@ -8796,10 +8798,18 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8796
8798
 
8797
8799
  // Input button
8798
8800
  .k-input-button {
8799
- min-width: $kendo-input-spinner-width;
8801
+ width: if( $use-input-button-width, $kendo-input-button-width, auto );
8800
8802
  border-width: 0;
8801
8803
  flex: none;
8804
+ aspect-ratio: auto;
8805
+ color: inherit;
8806
+ background: none;
8802
8807
  box-shadow: none;
8808
+
8809
+ > .k-button-icon {
8810
+ min-width: auto !important; // sass-lint:disable-line no-important
8811
+ min-height: auto !important; // sass-lint:disable-line no-important
8812
+ }
8803
8813
  }
8804
8814
  .k-picker .k-input-button {
8805
8815
  color: inherit;
@@ -8809,24 +8819,20 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8809
8819
 
8810
8820
  // Input spinner
8811
8821
  .k-input-spinner {
8812
- min-width: $kendo-input-spinner-width;
8822
+ width: if( $use-input-spinner-width, $kendo-input-spinner-width, auto );
8813
8823
  flex: none;
8814
8824
  display: flex;
8815
8825
  flex-flow: column nowrap;
8816
8826
 
8817
8827
  .k-spinner-increase,
8818
8828
  .k-spinner-decrease {
8819
- padding: 0;
8820
8829
  border-width: 0;
8821
8830
  flex: 1 1 50%;
8822
8831
  aspect-ratio: auto;
8823
8832
  box-shadow: none;
8824
8833
 
8825
8834
  > .k-button-icon {
8826
- position: absolute;
8827
- top: 50%;
8828
- left: 50%;
8829
- transform: translate(-50%, -50%);
8835
+ margin: -1em 0;
8830
8836
  }
8831
8837
  }
8832
8838
  }
@@ -8947,17 +8953,17 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
8947
8953
  $kendo-button-focus-border,
8948
8954
  $kendo-button-focus-gradient
8949
8955
  );
8950
- @include box-shadow( $kendo-input-focus-shadow );
8956
+ @include box-shadow( $kendo-button-focus-shadow );
8951
8957
  }
8952
8958
 
8953
8959
  // Invalid
8954
8960
  &:invalid,
8955
8961
  &.k-invalid {
8956
- @include fill( $border: $invalid-border );
8962
+ @include fill( $border: $kendo-input-invalid-border );
8957
8963
 
8958
8964
  &:focus,
8959
8965
  &.k-focus {
8960
- @include box-shadow($invalid-shadow);
8966
+ @include box-shadow( $kendo-input-invalid-shadow );
8961
8967
  }
8962
8968
  }
8963
8969
  }
@@ -10065,7 +10071,7 @@ $window-sizes: (
10065
10071
  .k-daterangepicker-wrap,
10066
10072
  .k-timepicker,
10067
10073
  .k-floating-label-container {
10068
- display: flex;
10074
+ display: inline-flex;
10069
10075
  width: 100%;
10070
10076
  }
10071
10077
  }
@@ -10122,6 +10128,7 @@ $window-sizes: (
10122
10128
  margin-right: $horizontal-form-label-margin-x;
10123
10129
  padding-top: $horizontal-form-label-padding-top;
10124
10130
  width: $horizontal-form-label-width;
10131
+ text-align: end;
10125
10132
  flex-direction: column;
10126
10133
  align-items: $horizontal-form-label-align;
10127
10134
  justify-content: flex-start;
@@ -13538,6 +13545,7 @@ $message-box-link-text-decoration: underline !default;
13538
13545
 
13539
13546
  // Actions orientation
13540
13547
  .k-actions-horizontal {
13548
+ width: 100%;
13541
13549
  flex-flow: row nowrap;
13542
13550
  }
13543
13551
  .k-actions-vertical {
@@ -17348,12 +17356,6 @@ $datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
17348
17356
  transform: translateX(50%);
17349
17357
  }
17350
17358
  }
17351
- .k-link-increase .k-icon {
17352
- bottom: -$kendo-input-spinner-icon-offset;
17353
- }
17354
- .k-link-decrease .k-icon {
17355
- top: -$kendo-input-spinner-icon-offset;
17356
- }
17357
17359
 
17358
17360
 
17359
17361
  // RTL
@@ -21633,6 +21635,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
21633
21635
  }
21634
21636
 
21635
21637
  // Buttons Layout
21638
+ .k-window-buttons,
21636
21639
  .k-window-buttongroup {
21637
21640
  @include border-bottom-radius( $window-border-radius );
21638
21641
  padding: $window-buttongroup-padding-y $window-buttongroup-padding-x;
@@ -23210,6 +23213,7 @@ $card-focus-callout-box-shadow-w: 2px -1px 4px 0 rgba( black, .06) !default;
23210
23213
  height: $card-callout-height;
23211
23214
  border-width: $card-border-width $card-border-width 0 0;
23212
23215
  border-style: solid;
23216
+ box-sizing: border-box;
23213
23217
  position: absolute;
23214
23218
  }
23215
23219
 
@@ -33237,6 +33241,14 @@ $editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
33237
33241
 
33238
33242
  $editor-export-tool-icon-margin-x: .25em !default;
33239
33243
 
33244
+ $editor-resize-handle-size: 5px !default;
33245
+ $editor-resize-handle-border-width: 1px !default;
33246
+ $editor-resize-handle-border: #000000 !default;
33247
+ $editor-resize-handle-bg: #ffffff !default;
33248
+
33249
+ $editor-selectednode-outline-width: 2px !default;
33250
+ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
33251
+
33240
33252
  // #endregion
33241
33253
  // #region @import "_layout.scss"; -> packages/default/scss/editor/_layout.scss
33242
33254
  @include exports("editor/layout") {
@@ -33309,6 +33321,89 @@ $editor-export-tool-icon-margin-x: .25em !default;
33309
33321
  overflow: auto;
33310
33322
  }
33311
33323
 
33324
+ // Resizable images
33325
+ .k-editor-resize-handles-wrapper {
33326
+ position: absolute;
33327
+ visibility: hidden;
33328
+ }
33329
+ .k-editor-resize-handle {
33330
+ width: $editor-resize-handle-size;
33331
+ height: $editor-resize-handle-size;
33332
+ border-width: $editor-resize-handle-border-width;
33333
+ border-style: solid;
33334
+ position: absolute;
33335
+ visibility: visible;
33336
+ z-index: 100;
33337
+
33338
+ &.northwest {
33339
+ top: 0;
33340
+ left: 0;
33341
+ transform: translate(-50%, -50%);
33342
+ cursor: nw-resize;
33343
+ }
33344
+
33345
+ &.north {
33346
+ top: 0;
33347
+ left: 50%;
33348
+ transform: translate(-50%, -50%);
33349
+ cursor: n-resize;
33350
+ }
33351
+
33352
+ &.northeast {
33353
+ top: 0;
33354
+ right: 0;
33355
+ transform: translate(50%, -50%);
33356
+ cursor: ne-resize;
33357
+ }
33358
+
33359
+ &.southwest {
33360
+ left: 0;
33361
+ bottom: 0;
33362
+ transform: translate(-50%, 50%);
33363
+ cursor: sw-resize;
33364
+ }
33365
+
33366
+ &.south {
33367
+ bottom: 0;
33368
+ left: 50%;
33369
+ transform: translate(-50%, 50%);
33370
+ cursor: s-resize;
33371
+ }
33372
+
33373
+ &.southeast {
33374
+ right: 0;
33375
+ bottom: 0;
33376
+ transform: translate(50%, 50%);
33377
+ cursor: se-resize;
33378
+ }
33379
+
33380
+ &.west {
33381
+ top: 50%;
33382
+ left: 0;
33383
+ transform: translate(-50%, -50%);
33384
+ cursor: w-resize;
33385
+ }
33386
+
33387
+ &.east {
33388
+ top: 50%;
33389
+ right: 0;
33390
+ transform: translate(50%, -50%);
33391
+ cursor: e-resize;
33392
+ }
33393
+ }
33394
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
33395
+ outline-width: $editor-selectednode-outline-width;
33396
+ outline-style: solid;
33397
+ }
33398
+ .ProseMirror-hideselection { // sass-lint:disable-line class-name-format
33399
+ caret-color: transparent;
33400
+
33401
+ *::selection,
33402
+ *::-moz-selection {
33403
+ background: transparent;
33404
+ }
33405
+ }
33406
+
33312
33407
  // Toolbar
33313
33408
  .k-editor > .k-toolbar {
33314
33409
  border-width: 0 0 $toolbar-border-width 0;
@@ -33382,6 +33477,7 @@ $editor-export-tool-icon-margin-x: .25em !default;
33382
33477
  padding: $padding-x;
33383
33478
  width: 100%;
33384
33479
  height: 100%;
33480
+ position: relative;
33385
33481
  box-sizing: border-box;
33386
33482
  outline: none;
33387
33483
  white-space: pre-wrap;
@@ -33945,6 +34041,15 @@ $editor-export-tool-icon-margin-x: .25em !default;
33945
34041
  }
33946
34042
  }
33947
34043
 
34044
+ // Resizable images
34045
+ .k-editor-resize-handle {
34046
+ background-color: $editor-resize-handle-bg;
34047
+ border-color: $editor-resize-handle-border;
34048
+ }
34049
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
34050
+ outline-color: $editor-selectednode-outline-color;
34051
+ }
34052
+
33948
34053
 
33949
34054
  // Insert table
33950
34055
  .k-ct-popup {
@@ -37043,12 +37148,12 @@ $chat-bubble-border-radius-sm: 2px !default;
37043
37148
  $chat-avatar-size: 32px !default;
37044
37149
  $chat-avatar-spacing: $chat-item-spacing-x !default;
37045
37150
 
37046
- $chat-message-box-padding-x: $chat-padding-x !default;
37047
- $chat-message-box-padding-y: 10px !default;
37151
+ $chat-message-box-padding-x: $kendo-input-padding-x !default;
37152
+ $chat-message-box-padding-y: $kendo-input-padding-y !default;
37048
37153
 
37049
- $chat-toolbar-padding-x: $chat-padding-x !default;
37050
- $chat-toolbar-padding-y: 10px !default;
37051
- $chat-toolbar-spacing: 20px !default;
37154
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
37155
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
37156
+ $chat-toolbar-spacing: $toolbar-spacing !default;
37052
37157
  $chat-toolbar-bg: $toolbar-bg !default;
37053
37158
  $chat-toolbar-text: $toolbar-text !default;
37054
37159
  $chat-toolbar-border: inherit !default;
@@ -37367,14 +37472,24 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
37367
37472
 
37368
37473
  // Message box
37369
37474
  .k-message-box {
37475
+ width: 100%;
37476
+ height: auto;
37370
37477
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
37478
+ box-sizing: border-box;
37371
37479
  border-width: 1px 0 0;
37372
37480
  border-style: solid;
37373
- flex: 0 0 auto;
37481
+ flex: none;
37374
37482
  display: flex;
37375
37483
  flex-flow: row nowrap;
37376
37484
  align-items: center;
37377
37485
 
37486
+ &:focus,
37487
+ &.k-state-focus,
37488
+ &:focus-within {
37489
+ outline: 0;
37490
+ box-shadow: none;
37491
+ }
37492
+
37378
37493
  // Input
37379
37494
  .k-input {
37380
37495
  padding: 0;
@@ -37512,11 +37627,17 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
37512
37627
 
37513
37628
  .k-chat-toolbar,
37514
37629
  .k-chat .k-toolbar-box {
37630
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
37515
37631
  width: 100%;
37632
+ border-width: 1px 0 0;
37516
37633
  box-sizing: border-box;
37634
+ flex: none;
37517
37635
  overflow: hidden;
37518
37636
  position: relative;
37519
- flex: 0 0 auto;
37637
+
37638
+ &::before {
37639
+ display: none;
37640
+ }
37520
37641
 
37521
37642
  .k-button-list {
37522
37643
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -37527,18 +37648,13 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
37527
37648
  overflow: hidden;
37528
37649
  // overflow-x: auto;
37529
37650
  scroll-behavior: smooth;
37530
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
37531
-
37532
- // fix for flex container disregarding the right padding
37533
- &::after {
37534
- content: "";
37535
- padding-right: $chat-toolbar-padding-x;
37536
- }
37651
+ }
37537
37652
 
37538
- .k-button + .k-button {
37539
- margin-left: $chat-toolbar-spacing;
37540
- flex-shrink: 0;
37541
- }
37653
+ .k-button {
37654
+ border-color: transparent;
37655
+ color: inherit;
37656
+ background: none;
37657
+ flex: none;
37542
37658
  }
37543
37659
 
37544
37660
 
@@ -37555,13 +37671,6 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
37555
37671
  right: 0;
37556
37672
  }
37557
37673
 
37558
- .k-button {
37559
- border-width: 0;
37560
- color: inherit;
37561
- background: none;
37562
- flex-shrink: 0;
37563
- }
37564
-
37565
37674
 
37566
37675
  }
37567
37676
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default Kendo UI theme",
4
- "version": "5.0.0-alpha.0",
4
+ "version": "5.0.0-alpha.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -47,5 +47,5 @@
47
47
  "prepublishOnly": "echo 'no prebublish for default theme'",
48
48
  "postpublish": "echo 'no postpublish for default theme'"
49
49
  },
50
- "gitHead": "3fd060a3f688d79324c6e976857536557f71dc11"
50
+ "gitHead": "f7771e7fd26ff92503ccbdda09fbbd8a7578abb2"
51
51
  }
@@ -11,6 +11,8 @@ $enable-flex-classes: true !default;
11
11
  $enable-grid-classes: true !default;
12
12
 
13
13
  $use-calc-badge-size: true !default;
14
+ $use-input-button-width: true !default;
15
+ $use-input-spinner-width: true !default;
14
16
  $use-picker-select-width: true !default;
15
17
 
16
18
 
@@ -59,6 +59,7 @@
59
59
 
60
60
  // Actions orientation
61
61
  .k-actions-horizontal {
62
+ width: 100%;
62
63
  flex-flow: row nowrap;
63
64
  }
64
65
  .k-actions-vertical {
@@ -325,6 +325,7 @@
325
325
  height: $card-callout-height;
326
326
  border-width: $card-border-width $card-border-width 0 0;
327
327
  border-style: solid;
328
+ box-sizing: border-box;
328
329
  position: absolute;
329
330
  }
330
331
 
@@ -266,14 +266,24 @@
266
266
 
267
267
  // Message box
268
268
  .k-message-box {
269
+ width: 100%;
270
+ height: auto;
269
271
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
272
+ box-sizing: border-box;
270
273
  border-width: 1px 0 0;
271
274
  border-style: solid;
272
- flex: 0 0 auto;
275
+ flex: none;
273
276
  display: flex;
274
277
  flex-flow: row nowrap;
275
278
  align-items: center;
276
279
 
280
+ &:focus,
281
+ &.k-state-focus,
282
+ &:focus-within {
283
+ outline: 0;
284
+ box-shadow: none;
285
+ }
286
+
277
287
  // Input
278
288
  .k-input {
279
289
  padding: 0;
@@ -411,11 +421,17 @@
411
421
 
412
422
  .k-chat-toolbar,
413
423
  .k-chat .k-toolbar-box {
424
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
414
425
  width: 100%;
426
+ border-width: 1px 0 0;
415
427
  box-sizing: border-box;
428
+ flex: none;
416
429
  overflow: hidden;
417
430
  position: relative;
418
- flex: 0 0 auto;
431
+
432
+ &::before {
433
+ display: none;
434
+ }
419
435
 
420
436
  .k-button-list {
421
437
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -426,18 +442,13 @@
426
442
  overflow: hidden;
427
443
  // overflow-x: auto;
428
444
  scroll-behavior: smooth;
429
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
430
-
431
- // fix for flex container disregarding the right padding
432
- &::after {
433
- content: "";
434
- padding-right: $chat-toolbar-padding-x;
435
- }
445
+ }
436
446
 
437
- .k-button + .k-button {
438
- margin-left: $chat-toolbar-spacing;
439
- flex-shrink: 0;
440
- }
447
+ .k-button {
448
+ border-color: transparent;
449
+ color: inherit;
450
+ background: none;
451
+ flex: none;
441
452
  }
442
453
 
443
454
 
@@ -454,13 +465,6 @@
454
465
  right: 0;
455
466
  }
456
467
 
457
- .k-button {
458
- border-width: 0;
459
- color: inherit;
460
- background: none;
461
- flex-shrink: 0;
462
- }
463
-
464
468
 
465
469
  }
466
470
 
@@ -32,12 +32,12 @@ $chat-bubble-border-radius-sm: 2px !default;
32
32
  $chat-avatar-size: 32px !default;
33
33
  $chat-avatar-spacing: $chat-item-spacing-x !default;
34
34
 
35
- $chat-message-box-padding-x: $chat-padding-x !default;
36
- $chat-message-box-padding-y: 10px !default;
35
+ $chat-message-box-padding-x: $kendo-input-padding-x !default;
36
+ $chat-message-box-padding-y: $kendo-input-padding-y !default;
37
37
 
38
- $chat-toolbar-padding-x: $chat-padding-x !default;
39
- $chat-toolbar-padding-y: 10px !default;
40
- $chat-toolbar-spacing: 20px !default;
38
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
39
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
40
+ $chat-toolbar-spacing: $toolbar-spacing !default;
41
41
  $chat-toolbar-bg: $toolbar-bg !default;
42
42
  $chat-toolbar-text: $toolbar-text !default;
43
43
  $chat-toolbar-border: inherit !default;
@@ -68,12 +68,6 @@
68
68
  transform: translateX(50%);
69
69
  }
70
70
  }
71
- .k-link-increase .k-icon {
72
- bottom: -$kendo-input-spinner-icon-offset;
73
- }
74
- .k-link-decrease .k-icon {
75
- top: -$kendo-input-spinner-icon-offset;
76
- }
77
71
 
78
72
 
79
73
  // RTL
@@ -68,6 +68,89 @@
68
68
  overflow: auto;
69
69
  }
70
70
 
71
+ // Resizable images
72
+ .k-editor-resize-handles-wrapper {
73
+ position: absolute;
74
+ visibility: hidden;
75
+ }
76
+ .k-editor-resize-handle {
77
+ width: $editor-resize-handle-size;
78
+ height: $editor-resize-handle-size;
79
+ border-width: $editor-resize-handle-border-width;
80
+ border-style: solid;
81
+ position: absolute;
82
+ visibility: visible;
83
+ z-index: 100;
84
+
85
+ &.northwest {
86
+ top: 0;
87
+ left: 0;
88
+ transform: translate(-50%, -50%);
89
+ cursor: nw-resize;
90
+ }
91
+
92
+ &.north {
93
+ top: 0;
94
+ left: 50%;
95
+ transform: translate(-50%, -50%);
96
+ cursor: n-resize;
97
+ }
98
+
99
+ &.northeast {
100
+ top: 0;
101
+ right: 0;
102
+ transform: translate(50%, -50%);
103
+ cursor: ne-resize;
104
+ }
105
+
106
+ &.southwest {
107
+ left: 0;
108
+ bottom: 0;
109
+ transform: translate(-50%, 50%);
110
+ cursor: sw-resize;
111
+ }
112
+
113
+ &.south {
114
+ bottom: 0;
115
+ left: 50%;
116
+ transform: translate(-50%, 50%);
117
+ cursor: s-resize;
118
+ }
119
+
120
+ &.southeast {
121
+ right: 0;
122
+ bottom: 0;
123
+ transform: translate(50%, 50%);
124
+ cursor: se-resize;
125
+ }
126
+
127
+ &.west {
128
+ top: 50%;
129
+ left: 0;
130
+ transform: translate(-50%, -50%);
131
+ cursor: w-resize;
132
+ }
133
+
134
+ &.east {
135
+ top: 50%;
136
+ right: 0;
137
+ transform: translate(50%, -50%);
138
+ cursor: e-resize;
139
+ }
140
+ }
141
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
142
+ outline-width: $editor-selectednode-outline-width;
143
+ outline-style: solid;
144
+ }
145
+ .ProseMirror-hideselection { // sass-lint:disable-line class-name-format
146
+ caret-color: transparent;
147
+
148
+ *::selection,
149
+ *::-moz-selection {
150
+ background: transparent;
151
+ }
152
+ }
153
+
71
154
  // Toolbar
72
155
  .k-editor > .k-toolbar {
73
156
  border-width: 0 0 $toolbar-border-width 0;
@@ -141,6 +224,7 @@
141
224
  padding: $padding-x;
142
225
  width: 100%;
143
226
  height: 100%;
227
+ position: relative;
144
228
  box-sizing: border-box;
145
229
  outline: none;
146
230
  white-space: pre-wrap;
@@ -52,6 +52,15 @@
52
52
  }
53
53
  }
54
54
 
55
+ // Resizable images
56
+ .k-editor-resize-handle {
57
+ background-color: $editor-resize-handle-bg;
58
+ border-color: $editor-resize-handle-border;
59
+ }
60
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
61
+ outline-color: $editor-selectednode-outline-color;
62
+ }
63
+
55
64
 
56
65
  // Insert table
57
66
  .k-ct-popup {
@@ -13,3 +13,11 @@ $editor-selected-bg: $primary !default;
13
13
  $editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
14
14
 
15
15
  $editor-export-tool-icon-margin-x: .25em !default;
16
+
17
+ $editor-resize-handle-size: 5px !default;
18
+ $editor-resize-handle-border-width: 1px !default;
19
+ $editor-resize-handle-border: #000000 !default;
20
+ $editor-resize-handle-bg: #ffffff !default;
21
+
22
+ $editor-selectednode-outline-width: 2px !default;
23
+ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
@@ -148,7 +148,7 @@
148
148
  .k-daterangepicker-wrap,
149
149
  .k-timepicker,
150
150
  .k-floating-label-container {
151
- display: flex;
151
+ display: inline-flex;
152
152
  width: 100%;
153
153
  }
154
154
  }
@@ -205,6 +205,7 @@
205
205
  margin-right: $horizontal-form-label-margin-x;
206
206
  padding-top: $horizontal-form-label-padding-top;
207
207
  width: $horizontal-form-label-width;
208
+ text-align: end;
208
209
  flex-direction: column;
209
210
  align-items: $horizontal-form-label-align;
210
211
  justify-content: flex-start;
@@ -17,6 +17,7 @@
17
17
  box-shadow: none;
18
18
  display: inline-flex;
19
19
  flex-flow: row nowrap;
20
+ align-items: stretch;
20
21
  position: relative;
21
22
  overflow: hidden;
22
23
  text-overflow: ellipsis;
@@ -27,6 +28,7 @@
27
28
  }
28
29
  select.k-picker {
29
30
  padding: $kendo-input-padding-y $kendo-input-padding-x;
31
+ appearance: auto;
30
32
  }
31
33
 
32
34
 
@@ -84,6 +86,7 @@
84
86
  .k-input-prefix,
85
87
  .k-input-suffix {
86
88
  display: flex;
89
+ flex-flow: row nowrap;
87
90
  align-items: center;
88
91
  flex: none;
89
92
 
@@ -127,10 +130,18 @@
127
130
 
128
131
  // Input button
129
132
  .k-input-button {
130
- min-width: $kendo-input-spinner-width;
133
+ width: if( $use-input-button-width, $kendo-input-button-width, auto );
131
134
  border-width: 0;
132
135
  flex: none;
136
+ aspect-ratio: auto;
137
+ color: inherit;
138
+ background: none;
133
139
  box-shadow: none;
140
+
141
+ > .k-button-icon {
142
+ min-width: auto !important; // sass-lint:disable-line no-important
143
+ min-height: auto !important; // sass-lint:disable-line no-important
144
+ }
134
145
  }
135
146
  .k-picker .k-input-button {
136
147
  color: inherit;
@@ -140,24 +151,20 @@
140
151
 
141
152
  // Input spinner
142
153
  .k-input-spinner {
143
- min-width: $kendo-input-spinner-width;
154
+ width: if( $use-input-spinner-width, $kendo-input-spinner-width, auto );
144
155
  flex: none;
145
156
  display: flex;
146
157
  flex-flow: column nowrap;
147
158
 
148
159
  .k-spinner-increase,
149
160
  .k-spinner-decrease {
150
- padding: 0;
151
161
  border-width: 0;
152
162
  flex: 1 1 50%;
153
163
  aspect-ratio: auto;
154
164
  box-shadow: none;
155
165
 
156
166
  > .k-button-icon {
157
- position: absolute;
158
- top: 50%;
159
- left: 50%;
160
- transform: translate(-50%, -50%);
167
+ margin: -1em 0;
161
168
  }
162
169
  }
163
170
  }
@@ -69,17 +69,17 @@
69
69
  $kendo-button-focus-border,
70
70
  $kendo-button-focus-gradient
71
71
  );
72
- @include box-shadow( $kendo-input-focus-shadow );
72
+ @include box-shadow( $kendo-button-focus-shadow );
73
73
  }
74
74
 
75
75
  // Invalid
76
76
  &:invalid,
77
77
  &.k-invalid {
78
- @include fill( $border: $invalid-border );
78
+ @include fill( $border: $kendo-input-invalid-border );
79
79
 
80
80
  &:focus,
81
81
  &.k-focus {
82
- @include box-shadow($invalid-shadow);
82
+ @include box-shadow( $kendo-input-invalid-shadow );
83
83
  }
84
84
  }
85
85
  }
@@ -76,18 +76,15 @@ $picker-select-calc-size-sm: $kendo-input-inner-calc-height-sm !default;
76
76
  $picker-select-calc-size-lg: $kendo-input-inner-calc-height-lg !default;
77
77
 
78
78
 
79
- // Spinner
79
+ // Input actions
80
+ $kendo-input-button-width: $kendo-button-inner-calc-size !default;
80
81
  $kendo-input-spinner-width: $kendo-button-inner-calc-size !default;
81
- $kendo-input-spinner-icon-offset: 2px !default;
82
82
 
83
83
 
84
84
  // Input icon
85
85
  $kendo-input-icon-width: calc( #{$icon-size} + #{$kendo-input-padding-y * 2} ) !default;
86
86
  $kendo-input-icon-height: calc( #{$kendo-input-line-height * $kendo-input-font-size} + #{$kendo-input-padding-y * 2} ) !default;
87
87
 
88
- $kendo-input-icon-text: $subtle-text !default;
89
- $kendo-input-icon-opacity: null !default;
90
-
91
88
 
92
89
  // Input separator
93
90
  $kendo-input-separator-color: $kendo-input-text !default;
@@ -129,6 +129,7 @@
129
129
  }
130
130
 
131
131
  // Buttons Layout
132
+ .k-window-buttons,
132
133
  .k-window-buttongroup {
133
134
  @include border-bottom-radius( $window-border-radius );
134
135
  padding: $window-buttongroup-padding-y $window-buttongroup-padding-x;