@progress/kendo-theme-material 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
@@ -13900,6 +13900,8 @@ kendo-badge-container {
13900
13900
  display: inline-flex;
13901
13901
  -ms-flex-flow: row nowrap;
13902
13902
  flex-flow: row nowrap;
13903
+ -ms-flex-align: stretch;
13904
+ align-items: stretch;
13903
13905
  position: relative;
13904
13906
  overflow: hidden;
13905
13907
  text-overflow: ellipsis;
@@ -13912,6 +13914,8 @@ input.k-input {
13912
13914
 
13913
13915
  select.k-picker {
13914
13916
  padding: 8px 0px;
13917
+ -webkit-appearance: auto;
13918
+ appearance: auto;
13915
13919
  }
13916
13920
 
13917
13921
  .k-input-inner {
@@ -13983,6 +13987,8 @@ span.k-input-inner .k-value-text {
13983
13987
  .k-input-suffix {
13984
13988
  display: -ms-flexbox;
13985
13989
  display: flex;
13990
+ -ms-flex-flow: row nowrap;
13991
+ flex-flow: row nowrap;
13986
13992
  -ms-flex-align: center;
13987
13993
  align-items: center;
13988
13994
  -ms-flex: none;
@@ -14034,18 +14040,28 @@ span.k-input-inner .k-value-text {
14034
14040
  }
14035
14041
 
14036
14042
  .k-input-button {
14043
+ width: auto;
14037
14044
  border-width: 0;
14038
14045
  -ms-flex: none;
14039
14046
  flex: none;
14047
+ aspect-ratio: auto;
14048
+ color: inherit;
14049
+ background: none;
14040
14050
  box-shadow: none;
14041
14051
  }
14042
14052
 
14053
+ .k-input-button > .k-button-icon {
14054
+ min-width: auto !important;
14055
+ min-height: auto !important;
14056
+ }
14057
+
14043
14058
  .k-picker .k-input-button {
14044
14059
  color: inherit;
14045
14060
  background: none;
14046
14061
  }
14047
14062
 
14048
14063
  .k-input-spinner {
14064
+ width: auto;
14049
14065
  -ms-flex: none;
14050
14066
  flex: none;
14051
14067
  display: -ms-flexbox;
@@ -14056,7 +14072,6 @@ span.k-input-inner .k-value-text {
14056
14072
 
14057
14073
  .k-input-spinner .k-spinner-increase,
14058
14074
  .k-input-spinner .k-spinner-decrease {
14059
- padding: 0;
14060
14075
  border-width: 0;
14061
14076
  -ms-flex: 1 1 50%;
14062
14077
  flex: 1 1 50%;
@@ -14066,11 +14081,7 @@ span.k-input-inner .k-value-text {
14066
14081
 
14067
14082
  .k-input-spinner .k-spinner-increase > .k-button-icon,
14068
14083
  .k-input-spinner .k-spinner-decrease > .k-button-icon {
14069
- position: absolute;
14070
- top: 50%;
14071
- left: 50%;
14072
- -ms-transform: translate(-50%, -50%);
14073
- transform: translate(-50%, -50%);
14084
+ margin: -1em 0;
14074
14085
  }
14075
14086
 
14076
14087
  .k-searchbar {
@@ -14957,8 +14968,8 @@ kendo-label > .k-label {
14957
14968
  .k-form .k-daterangepicker-wrap,
14958
14969
  .k-form .k-timepicker,
14959
14970
  .k-form .k-floating-label-container {
14960
- display: -ms-flexbox;
14961
- display: flex;
14971
+ display: -ms-inline-flexbox;
14972
+ display: inline-flex;
14962
14973
  width: 100%;
14963
14974
  }
14964
14975
 
@@ -15016,6 +15027,7 @@ kendo-label > .k-label {
15016
15027
  margin-right: 10px;
15017
15028
  padding-top: 5px;
15018
15029
  width: 25%;
15030
+ text-align: end;
15019
15031
  -ms-flex-direction: column;
15020
15032
  flex-direction: column;
15021
15033
  -ms-flex-align: end;
@@ -17733,6 +17745,7 @@ kendo-label.k-radio-label > .k-label {
17733
17745
  }
17734
17746
 
17735
17747
  .k-actions-horizontal {
17748
+ width: 100%;
17736
17749
  -ms-flex-flow: row nowrap;
17737
17750
  flex-flow: row nowrap;
17738
17751
  }
@@ -20563,14 +20576,6 @@ kendo-label.k-radio-label > .k-label {
20563
20576
  transform: translateX(50%);
20564
20577
  }
20565
20578
 
20566
- .k-dateinput .k-link-increase .k-icon {
20567
- bottom: -2px;
20568
- }
20569
-
20570
- .k-dateinput .k-link-decrease .k-icon {
20571
- top: -2px;
20572
- }
20573
-
20574
20579
  .k-rtl .k-dateinput, .k-dateinput[dir="rtl"] {
20575
20580
  text-align: right;
20576
20581
  }
@@ -23599,6 +23604,7 @@ kendo-label.k-radio-label > .k-label {
23599
23604
  height: 100%;
23600
23605
  }
23601
23606
 
23607
+ .k-window-buttons,
23602
23608
  .k-window-buttongroup {
23603
23609
  border-bottom-right-radius: 4px;
23604
23610
  border-bottom-left-radius: 4px;
@@ -24731,6 +24737,7 @@ kendo-card-footer {
24731
24737
  height: 20px;
24732
24738
  border-width: 0px 0px 0 0;
24733
24739
  border-style: solid;
24740
+ box-sizing: border-box;
24734
24741
  position: absolute;
24735
24742
  }
24736
24743
 
@@ -33085,6 +33092,99 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
33085
33092
  overflow: auto;
33086
33093
  }
33087
33094
 
33095
+ .k-editor-resize-handles-wrapper {
33096
+ position: absolute;
33097
+ visibility: hidden;
33098
+ }
33099
+
33100
+ .k-editor-resize-handle {
33101
+ width: 5px;
33102
+ height: 5px;
33103
+ border-width: 1px;
33104
+ border-style: solid;
33105
+ position: absolute;
33106
+ visibility: visible;
33107
+ z-index: 100;
33108
+ }
33109
+
33110
+ .k-editor-resize-handle.northwest {
33111
+ top: 0;
33112
+ left: 0;
33113
+ -ms-transform: translate(-50%, -50%);
33114
+ transform: translate(-50%, -50%);
33115
+ cursor: nw-resize;
33116
+ }
33117
+
33118
+ .k-editor-resize-handle.north {
33119
+ top: 0;
33120
+ left: 50%;
33121
+ -ms-transform: translate(-50%, -50%);
33122
+ transform: translate(-50%, -50%);
33123
+ cursor: n-resize;
33124
+ }
33125
+
33126
+ .k-editor-resize-handle.northeast {
33127
+ top: 0;
33128
+ right: 0;
33129
+ -ms-transform: translate(50%, -50%);
33130
+ transform: translate(50%, -50%);
33131
+ cursor: ne-resize;
33132
+ }
33133
+
33134
+ .k-editor-resize-handle.southwest {
33135
+ left: 0;
33136
+ bottom: 0;
33137
+ -ms-transform: translate(-50%, 50%);
33138
+ transform: translate(-50%, 50%);
33139
+ cursor: sw-resize;
33140
+ }
33141
+
33142
+ .k-editor-resize-handle.south {
33143
+ bottom: 0;
33144
+ left: 50%;
33145
+ -ms-transform: translate(-50%, 50%);
33146
+ transform: translate(-50%, 50%);
33147
+ cursor: s-resize;
33148
+ }
33149
+
33150
+ .k-editor-resize-handle.southeast {
33151
+ right: 0;
33152
+ bottom: 0;
33153
+ -ms-transform: translate(50%, 50%);
33154
+ transform: translate(50%, 50%);
33155
+ cursor: se-resize;
33156
+ }
33157
+
33158
+ .k-editor-resize-handle.west {
33159
+ top: 50%;
33160
+ left: 0;
33161
+ -ms-transform: translate(-50%, -50%);
33162
+ transform: translate(-50%, -50%);
33163
+ cursor: w-resize;
33164
+ }
33165
+
33166
+ .k-editor-resize-handle.east {
33167
+ top: 50%;
33168
+ right: 0;
33169
+ -ms-transform: translate(50%, -50%);
33170
+ transform: translate(50%, -50%);
33171
+ cursor: e-resize;
33172
+ }
33173
+
33174
+ .ProseMirror-selectednode {
33175
+ outline-width: 2px;
33176
+ outline-style: solid;
33177
+ }
33178
+
33179
+ .ProseMirror-hideselection {
33180
+ caret-color: transparent;
33181
+ }
33182
+
33183
+ .ProseMirror-hideselection *::selection,
33184
+ .ProseMirror-hideselection *::-moz-selection {
33185
+ background: transparent;
33186
+ }
33187
+
33088
33188
  .k-editor > .k-toolbar {
33089
33189
  border-width: 0 0 0 0;
33090
33190
  -ms-flex-negative: 0;
@@ -33151,6 +33251,7 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
33151
33251
  padding: 16px;
33152
33252
  width: 100%;
33153
33253
  height: 100%;
33254
+ position: relative;
33154
33255
  box-sizing: border-box;
33155
33256
  outline: none;
33156
33257
  white-space: pre-wrap;
@@ -33732,6 +33833,15 @@ kendo-editor.k-readonly .k-editor-content.k-state-focused {
33732
33833
  border-color: rgba(0, 0, 0, 0.12);
33733
33834
  }
33734
33835
 
33836
+ .k-editor-resize-handle {
33837
+ background-color: #ffffff;
33838
+ border-color: #000000;
33839
+ }
33840
+
33841
+ .ProseMirror-selectednode {
33842
+ outline-color: #8cf;
33843
+ }
33844
+
33735
33845
  .k-ct-popup .k-state-selected {
33736
33846
  border-color: rgba(0, 0, 0, 0.1);
33737
33847
  color: white;
@@ -36624,11 +36734,14 @@ kendo-scheduler .k-event .k-event-actions,
36624
36734
  }
36625
36735
 
36626
36736
  .k-message-box {
36627
- padding: 10px 16px;
36737
+ width: 100%;
36738
+ height: auto;
36739
+ padding: 8px 0px;
36740
+ box-sizing: border-box;
36628
36741
  border-width: 1px 0 0;
36629
36742
  border-style: solid;
36630
- -ms-flex: 0 0 auto;
36631
- flex: 0 0 auto;
36743
+ -ms-flex: none;
36744
+ flex: none;
36632
36745
  display: -ms-flexbox;
36633
36746
  display: flex;
36634
36747
  -ms-flex-flow: row nowrap;
@@ -36637,6 +36750,11 @@ kendo-scheduler .k-event .k-event-actions,
36637
36750
  align-items: center;
36638
36751
  }
36639
36752
 
36753
+ .k-message-box:focus, .k-message-box.k-state-focus, .k-message-box:focus-within {
36754
+ outline: 0;
36755
+ box-shadow: none;
36756
+ }
36757
+
36640
36758
  .k-message-box .k-input {
36641
36759
  padding: 0;
36642
36760
  }
@@ -36759,12 +36877,19 @@ kendo-scheduler .k-event .k-event-actions,
36759
36877
 
36760
36878
  .k-chat-toolbar,
36761
36879
  .k-chat .k-toolbar-box {
36880
+ padding: 8px 8px;
36762
36881
  width: 100%;
36882
+ border-width: 1px 0 0;
36763
36883
  box-sizing: border-box;
36884
+ -ms-flex: none;
36885
+ flex: none;
36764
36886
  overflow: hidden;
36765
36887
  position: relative;
36766
- -ms-flex: 0 0 auto;
36767
- flex: 0 0 auto;
36888
+ }
36889
+
36890
+ .k-chat-toolbar::before,
36891
+ .k-chat .k-toolbar-box::before {
36892
+ display: none;
36768
36893
  }
36769
36894
 
36770
36895
  .k-chat-toolbar .k-button-list,
@@ -36775,20 +36900,15 @@ kendo-scheduler .k-event .k-event-actions,
36775
36900
  flex-flow: row nowrap;
36776
36901
  overflow: hidden;
36777
36902
  scroll-behavior: smooth;
36778
- padding: 10px 16px;
36779
- }
36780
-
36781
- .k-chat-toolbar .k-button-list::after,
36782
- .k-chat .k-toolbar-box .k-button-list::after {
36783
- content: "";
36784
- padding-right: 16px;
36785
36903
  }
36786
36904
 
36787
- .k-chat-toolbar .k-button-list .k-button + .k-button,
36788
- .k-chat .k-toolbar-box .k-button-list .k-button + .k-button {
36789
- margin-left: 20px;
36790
- -ms-flex-negative: 0;
36791
- flex-shrink: 0;
36905
+ .k-chat-toolbar .k-button,
36906
+ .k-chat .k-toolbar-box .k-button {
36907
+ border-color: transparent;
36908
+ color: inherit;
36909
+ background: none;
36910
+ -ms-flex: none;
36911
+ flex: none;
36792
36912
  }
36793
36913
 
36794
36914
  .k-chat-toolbar .k-scroll-button,
@@ -36810,15 +36930,6 @@ kendo-scheduler .k-event .k-event-actions,
36810
36930
  right: 0;
36811
36931
  }
36812
36932
 
36813
- .k-chat-toolbar .k-button,
36814
- .k-chat .k-toolbar-box .k-button {
36815
- border-width: 0;
36816
- color: inherit;
36817
- background: none;
36818
- -ms-flex-negative: 0;
36819
- flex-shrink: 0;
36820
- }
36821
-
36822
36933
  .k-rtl .k-message-group:not(.k-alt),
36823
36934
  [dir="rtl"] .k-message-group:not(.k-alt) {
36824
36935
  text-align: right;
package/dist/all.scss CHANGED
@@ -1592,6 +1592,8 @@ $enable-flex-classes: true !default;
1592
1592
  $enable-grid-classes: true !default;
1593
1593
 
1594
1594
  $use-calc-badge-size: true !default;
1595
+ $use-input-button-width: false !default;
1596
+ $use-input-spinner-width: false !default;
1595
1597
  $use-picker-select-width: false !default;
1596
1598
 
1597
1599
 
@@ -8777,18 +8779,15 @@ $picker-select-calc-size-sm: calc( #{$picker-select-padding-x-sm * 2} + #{$icon-
8777
8779
  $picker-select-calc-size-lg: calc( #{$picker-select-padding-x-sm * 2} + #{$icon-size} ) !default;
8778
8780
 
8779
8781
 
8780
- // Spinner
8782
+ // Input actions
8783
+ $kendo-input-button-width: null !default;
8781
8784
  $kendo-input-spinner-width: null !default;
8782
- $kendo-input-spinner-icon-offset: 2px !default;
8783
8785
 
8784
8786
 
8785
8787
  // Input icon
8786
8788
  $kendo-input-icon-width: calc( #{$icon-size} + #{$kendo-input-padding-y * 2} ) !default;
8787
8789
  $kendo-input-icon-height: calc( #{$kendo-input-line-height * $kendo-input-font-size} + #{$kendo-input-padding-y * 2} ) !default;
8788
8790
 
8789
- $kendo-input-icon-text: $subtle-text !default;
8790
- $kendo-input-icon-opacity: null !default;
8791
-
8792
8791
 
8793
8792
  // Input separator
8794
8793
  $kendo-input-separator-color: $kendo-input-text !default;
@@ -9885,6 +9884,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9885
9884
  box-shadow: none;
9886
9885
  display: inline-flex;
9887
9886
  flex-flow: row nowrap;
9887
+ align-items: stretch;
9888
9888
  position: relative;
9889
9889
  overflow: hidden;
9890
9890
  text-overflow: ellipsis;
@@ -9895,6 +9895,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9895
9895
  }
9896
9896
  select.k-picker {
9897
9897
  padding: $kendo-input-padding-y $kendo-input-padding-x;
9898
+ appearance: auto;
9898
9899
  }
9899
9900
 
9900
9901
 
@@ -9952,6 +9953,7 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9952
9953
  .k-input-prefix,
9953
9954
  .k-input-suffix {
9954
9955
  display: flex;
9956
+ flex-flow: row nowrap;
9955
9957
  align-items: center;
9956
9958
  flex: none;
9957
9959
 
@@ -9995,10 +9997,18 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
9995
9997
 
9996
9998
  // Input button
9997
9999
  .k-input-button {
9998
- min-width: $kendo-input-spinner-width;
10000
+ width: if( $use-input-button-width, $kendo-input-button-width, auto );
9999
10001
  border-width: 0;
10000
10002
  flex: none;
10003
+ aspect-ratio: auto;
10004
+ color: inherit;
10005
+ background: none;
10001
10006
  box-shadow: none;
10007
+
10008
+ > .k-button-icon {
10009
+ min-width: auto !important; // sass-lint:disable-line no-important
10010
+ min-height: auto !important; // sass-lint:disable-line no-important
10011
+ }
10002
10012
  }
10003
10013
  .k-picker .k-input-button {
10004
10014
  color: inherit;
@@ -10008,24 +10018,20 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10008
10018
 
10009
10019
  // Input spinner
10010
10020
  .k-input-spinner {
10011
- min-width: $kendo-input-spinner-width;
10021
+ width: if( $use-input-spinner-width, $kendo-input-spinner-width, auto );
10012
10022
  flex: none;
10013
10023
  display: flex;
10014
10024
  flex-flow: column nowrap;
10015
10025
 
10016
10026
  .k-spinner-increase,
10017
10027
  .k-spinner-decrease {
10018
- padding: 0;
10019
10028
  border-width: 0;
10020
10029
  flex: 1 1 50%;
10021
10030
  aspect-ratio: auto;
10022
10031
  box-shadow: none;
10023
10032
 
10024
10033
  > .k-button-icon {
10025
- position: absolute;
10026
- top: 50%;
10027
- left: 50%;
10028
- transform: translate(-50%, -50%);
10034
+ margin: -1em 0;
10029
10035
  }
10030
10036
  }
10031
10037
  }
@@ -10169,17 +10175,17 @@ $kendo-input-invalid-shadow: $invalid-shadow !default;
10169
10175
  $kendo-button-focus-border,
10170
10176
  $kendo-button-focus-gradient
10171
10177
  );
10172
- @include box-shadow( $kendo-input-focus-shadow );
10178
+ @include box-shadow( $kendo-button-focus-shadow );
10173
10179
  }
10174
10180
 
10175
10181
  // Invalid
10176
10182
  &:invalid,
10177
10183
  &.k-invalid {
10178
- @include fill( $border: $invalid-border );
10184
+ @include fill( $border: $kendo-input-invalid-border );
10179
10185
 
10180
10186
  &:focus,
10181
10187
  &.k-focus {
10182
- @include box-shadow($invalid-shadow);
10188
+ @include box-shadow( $kendo-input-invalid-shadow );
10183
10189
  }
10184
10190
  }
10185
10191
  }
@@ -11380,7 +11386,7 @@ $window-sizes: (
11380
11386
  .k-daterangepicker-wrap,
11381
11387
  .k-timepicker,
11382
11388
  .k-floating-label-container {
11383
- display: flex;
11389
+ display: inline-flex;
11384
11390
  width: 100%;
11385
11391
  }
11386
11392
  }
@@ -11437,6 +11443,7 @@ $window-sizes: (
11437
11443
  margin-right: $horizontal-form-label-margin-x;
11438
11444
  padding-top: $horizontal-form-label-padding-top;
11439
11445
  width: $horizontal-form-label-width;
11446
+ text-align: end;
11440
11447
  flex-direction: column;
11441
11448
  align-items: $horizontal-form-label-align;
11442
11449
  justify-content: flex-start;
@@ -15216,6 +15223,7 @@ $message-box-link-text-decoration: underline !default;
15216
15223
 
15217
15224
  // Actions orientation
15218
15225
  .k-actions-horizontal {
15226
+ width: 100%;
15219
15227
  flex-flow: row nowrap;
15220
15228
  }
15221
15229
  .k-actions-vertical {
@@ -19298,12 +19306,6 @@ $datetime-select-pressed-gradient: null !default;
19298
19306
  transform: translateX(50%);
19299
19307
  }
19300
19308
  }
19301
- .k-link-increase .k-icon {
19302
- bottom: -$kendo-input-spinner-icon-offset;
19303
- }
19304
- .k-link-decrease .k-icon {
19305
- top: -$kendo-input-spinner-icon-offset;
19306
- }
19307
19309
 
19308
19310
 
19309
19311
  // RTL
@@ -24030,6 +24032,7 @@ $appbar-bottom-box-shadow: 0px -2px 3px rgba(0, 0, 0, .24) !default;
24030
24032
  }
24031
24033
 
24032
24034
  // Buttons Layout
24035
+ .k-window-buttons,
24033
24036
  .k-window-buttongroup {
24034
24037
  @include border-bottom-radius( $window-border-radius );
24035
24038
  padding: $window-buttongroup-padding-y $window-buttongroup-padding-x;
@@ -25715,6 +25718,7 @@ $card-focus-callout-box-shadow-w: null !default;
25715
25718
  height: $card-callout-height;
25716
25719
  border-width: $card-border-width $card-border-width 0 0;
25717
25720
  border-style: solid;
25721
+ box-sizing: border-box;
25718
25722
  position: absolute;
25719
25723
  }
25720
25724
 
@@ -36717,6 +36721,14 @@ $editor-highlighted-bg: mix($primary, #ffffff, 20%) !default;
36717
36721
 
36718
36722
  $editor-export-tool-icon-margin-x: .5em !default;
36719
36723
 
36724
+ $editor-resize-handle-size: 5px !default;
36725
+ $editor-resize-handle-border-width: 1px !default;
36726
+ $editor-resize-handle-border: #000000 !default;
36727
+ $editor-resize-handle-bg: #ffffff !default;
36728
+
36729
+ $editor-selectednode-outline-width: 2px !default;
36730
+ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex-length
36731
+
36720
36732
  // #endregion
36721
36733
  // #region @import "_layout.scss"; -> packages/material/scss/editor/_layout.scss
36722
36734
  // #region @import "~@progress/kendo-theme-default/scss/editor/_layout.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/editor/_layout.scss
@@ -36790,6 +36802,89 @@ $editor-export-tool-icon-margin-x: .5em !default;
36790
36802
  overflow: auto;
36791
36803
  }
36792
36804
 
36805
+ // Resizable images
36806
+ .k-editor-resize-handles-wrapper {
36807
+ position: absolute;
36808
+ visibility: hidden;
36809
+ }
36810
+ .k-editor-resize-handle {
36811
+ width: $editor-resize-handle-size;
36812
+ height: $editor-resize-handle-size;
36813
+ border-width: $editor-resize-handle-border-width;
36814
+ border-style: solid;
36815
+ position: absolute;
36816
+ visibility: visible;
36817
+ z-index: 100;
36818
+
36819
+ &.northwest {
36820
+ top: 0;
36821
+ left: 0;
36822
+ transform: translate(-50%, -50%);
36823
+ cursor: nw-resize;
36824
+ }
36825
+
36826
+ &.north {
36827
+ top: 0;
36828
+ left: 50%;
36829
+ transform: translate(-50%, -50%);
36830
+ cursor: n-resize;
36831
+ }
36832
+
36833
+ &.northeast {
36834
+ top: 0;
36835
+ right: 0;
36836
+ transform: translate(50%, -50%);
36837
+ cursor: ne-resize;
36838
+ }
36839
+
36840
+ &.southwest {
36841
+ left: 0;
36842
+ bottom: 0;
36843
+ transform: translate(-50%, 50%);
36844
+ cursor: sw-resize;
36845
+ }
36846
+
36847
+ &.south {
36848
+ bottom: 0;
36849
+ left: 50%;
36850
+ transform: translate(-50%, 50%);
36851
+ cursor: s-resize;
36852
+ }
36853
+
36854
+ &.southeast {
36855
+ right: 0;
36856
+ bottom: 0;
36857
+ transform: translate(50%, 50%);
36858
+ cursor: se-resize;
36859
+ }
36860
+
36861
+ &.west {
36862
+ top: 50%;
36863
+ left: 0;
36864
+ transform: translate(-50%, -50%);
36865
+ cursor: w-resize;
36866
+ }
36867
+
36868
+ &.east {
36869
+ top: 50%;
36870
+ right: 0;
36871
+ transform: translate(50%, -50%);
36872
+ cursor: e-resize;
36873
+ }
36874
+ }
36875
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
36876
+ outline-width: $editor-selectednode-outline-width;
36877
+ outline-style: solid;
36878
+ }
36879
+ .ProseMirror-hideselection { // sass-lint:disable-line class-name-format
36880
+ caret-color: transparent;
36881
+
36882
+ *::selection,
36883
+ *::-moz-selection {
36884
+ background: transparent;
36885
+ }
36886
+ }
36887
+
36793
36888
  // Toolbar
36794
36889
  .k-editor > .k-toolbar {
36795
36890
  border-width: 0 0 $toolbar-border-width 0;
@@ -36863,6 +36958,7 @@ $editor-export-tool-icon-margin-x: .5em !default;
36863
36958
  padding: $padding-x;
36864
36959
  width: 100%;
36865
36960
  height: 100%;
36961
+ position: relative;
36866
36962
  box-sizing: border-box;
36867
36963
  outline: none;
36868
36964
  white-space: pre-wrap;
@@ -37484,6 +37580,15 @@ $editor-export-tool-icon-margin-x: .5em !default;
37484
37580
  }
37485
37581
  }
37486
37582
 
37583
+ // Resizable images
37584
+ .k-editor-resize-handle {
37585
+ background-color: $editor-resize-handle-bg;
37586
+ border-color: $editor-resize-handle-border;
37587
+ }
37588
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
37589
+ outline-color: $editor-selectednode-outline-color;
37590
+ }
37591
+
37487
37592
 
37488
37593
  // Insert table
37489
37594
  .k-ct-popup {
@@ -40860,12 +40965,12 @@ $chat-bubble-border-radius-sm: 2px !default;
40860
40965
  $chat-avatar-size: 32px !default;
40861
40966
  $chat-avatar-spacing: $chat-item-spacing-x !default;
40862
40967
 
40863
- $chat-message-box-padding-x: $chat-padding-x !default;
40864
- $chat-message-box-padding-y: 10px !default;
40968
+ $chat-message-box-padding-x: $kendo-input-padding-x !default;
40969
+ $chat-message-box-padding-y: $kendo-input-padding-y !default;
40865
40970
 
40866
- $chat-toolbar-padding-x: $chat-padding-x !default;
40867
- $chat-toolbar-padding-y: 10px !default;
40868
- $chat-toolbar-spacing: 20px !default;
40971
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
40972
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
40973
+ $chat-toolbar-spacing: $toolbar-spacing !default;
40869
40974
  $chat-toolbar-bg: try-shade( $kendo-button-bg, .5 ) !default;
40870
40975
  $chat-toolbar-text: $toolbar-text !default;
40871
40976
  $chat-toolbar-border: inherit !default;
@@ -41185,14 +41290,24 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
41185
41290
 
41186
41291
  // Message box
41187
41292
  .k-message-box {
41293
+ width: 100%;
41294
+ height: auto;
41188
41295
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
41296
+ box-sizing: border-box;
41189
41297
  border-width: 1px 0 0;
41190
41298
  border-style: solid;
41191
- flex: 0 0 auto;
41299
+ flex: none;
41192
41300
  display: flex;
41193
41301
  flex-flow: row nowrap;
41194
41302
  align-items: center;
41195
41303
 
41304
+ &:focus,
41305
+ &.k-state-focus,
41306
+ &:focus-within {
41307
+ outline: 0;
41308
+ box-shadow: none;
41309
+ }
41310
+
41196
41311
  // Input
41197
41312
  .k-input {
41198
41313
  padding: 0;
@@ -41330,11 +41445,17 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
41330
41445
 
41331
41446
  .k-chat-toolbar,
41332
41447
  .k-chat .k-toolbar-box {
41448
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
41333
41449
  width: 100%;
41450
+ border-width: 1px 0 0;
41334
41451
  box-sizing: border-box;
41452
+ flex: none;
41335
41453
  overflow: hidden;
41336
41454
  position: relative;
41337
- flex: 0 0 auto;
41455
+
41456
+ &::before {
41457
+ display: none;
41458
+ }
41338
41459
 
41339
41460
  .k-button-list {
41340
41461
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -41345,18 +41466,13 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
41345
41466
  overflow: hidden;
41346
41467
  // overflow-x: auto;
41347
41468
  scroll-behavior: smooth;
41348
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
41349
-
41350
- // fix for flex container disregarding the right padding
41351
- &::after {
41352
- content: "";
41353
- padding-right: $chat-toolbar-padding-x;
41354
- }
41469
+ }
41355
41470
 
41356
- .k-button + .k-button {
41357
- margin-left: $chat-toolbar-spacing;
41358
- flex-shrink: 0;
41359
- }
41471
+ .k-button {
41472
+ border-color: transparent;
41473
+ color: inherit;
41474
+ background: none;
41475
+ flex: none;
41360
41476
  }
41361
41477
 
41362
41478
 
@@ -41373,13 +41489,6 @@ $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
41373
41489
  right: 0;
41374
41490
  }
41375
41491
 
41376
- .k-button {
41377
- border-width: 0;
41378
- color: inherit;
41379
- background: none;
41380
- flex-shrink: 0;
41381
- }
41382
-
41383
41492
 
41384
41493
  }
41385
41494
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-material",
3
3
  "description": "Material theme for Kendo UI",
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": [
@@ -50,7 +50,7 @@
50
50
  "postpublish": "echo 'no postpublish for material theme'"
51
51
  },
52
52
  "dependencies": {
53
- "@progress/kendo-theme-default": "^5.0.0-alpha.0"
53
+ "@progress/kendo-theme-default": "^5.0.0-alpha.1"
54
54
  },
55
- "gitHead": "3fd060a3f688d79324c6e976857536557f71dc11"
55
+ "gitHead": "f7771e7fd26ff92503ccbdda09fbbd8a7578abb2"
56
56
  }
@@ -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: false !default;
15
+ $use-input-spinner-width: false !default;
14
16
  $use-picker-select-width: false !default;
15
17
 
16
18
 
@@ -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: try-shade( $kendo-button-bg, .5 ) !default;
42
42
  $chat-toolbar-text: $toolbar-text !default;
43
43
  $chat-toolbar-border: inherit !default;
@@ -49,6 +49,15 @@
49
49
  }
50
50
  }
51
51
 
52
+ // Resizable images
53
+ .k-editor-resize-handle {
54
+ background-color: $editor-resize-handle-bg;
55
+ border-color: $editor-resize-handle-border;
56
+ }
57
+ .ProseMirror-selectednode { // sass-lint:disable-line class-name-format
58
+ outline-color: $editor-selectednode-outline-color;
59
+ }
60
+
52
61
 
53
62
  // Insert table
54
63
  .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: .5em !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
@@ -76,18 +76,15 @@ $picker-select-calc-size-sm: calc( #{$picker-select-padding-x-sm * 2} + #{$icon-
76
76
  $picker-select-calc-size-lg: calc( #{$picker-select-padding-x-sm * 2} + #{$icon-size} ) !default;
77
77
 
78
78
 
79
- // Spinner
79
+ // Input actions
80
+ $kendo-input-button-width: null !default;
80
81
  $kendo-input-spinner-width: null !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;