@progress/kendo-theme-core 14.4.0-dev.1 → 14.4.0-dev.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-core",
3
3
  "description": "A collection of functions and mixins used for building themes for Kendo UI",
4
- "version": "14.4.0-dev.1",
4
+ "version": "14.4.0-dev.2",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
24
24
 
25
25
  // Toolbar
26
- .k-toolbar {
26
+ > .k-toolbar {
27
27
  border-block-start-width: 0;
28
28
  border-inline-end-width: 0;
29
29
  border-inline-start-width: 0;
@@ -31,8 +31,8 @@
31
31
  flex: 0 0 auto;
32
32
  z-index: k-z-index("base", 1);
33
33
  }
34
- .k-toolbar .k-pager-wrap,
35
- .k-toolbar .k-pager {
34
+ > .k-toolbar .k-pager-wrap,
35
+ > .k-toolbar .k-pager {
36
36
  padding: 0;
37
37
  border-width: 0;
38
38
  color: inherit;
@@ -308,6 +308,7 @@
308
308
  }
309
309
 
310
310
  // Search
311
+ // TODO: Remove once product teams adopt the floating toolbar search panel
311
312
  .k-pdf-viewer-canvas > .k-search-panel {
312
313
  width: max-content;
313
314
  margin-block-start: calc( (#{$kendo-button-md-calc-size} + ( 2 * #{$kendo-pdf-viewer-search-panel-border-width} ) + ( 2 * #{$kendo-pdf-viewer-search-panel-padding-y} )) * -1 );
@@ -345,6 +346,18 @@
345
346
  }
346
347
  }
347
348
 
349
+ // Search (floating toolbar)
350
+ .k-floating-toolbar {
351
+ .k-search-dialog-draghandle {
352
+ cursor: move;
353
+ }
354
+
355
+ .k-search-matches {
356
+ display: inline-flex;
357
+ gap: $kendo-pdf-viewer-search-panel-matches-spacing;
358
+ }
359
+ }
360
+
348
361
  // Annotation Toolbar
349
362
  .k-pdf-viewer-annotation-editor-toolbar > .k-toolbar {
350
363
  width: min-content;
@@ -272,7 +272,16 @@
272
272
  }
273
273
  }
274
274
 
275
- .k-floating-toolbar,
275
+ .k-floating-toolbar {
276
+ max-width: fit-content;
277
+ border-radius: $kendo-floating-toolbar-border-radius;
278
+
279
+ .k-toolbar {
280
+ border-width: 0;
281
+ border-radius: inherit;
282
+ }
283
+ }
284
+
276
285
  .k-window-content:where(.editorToolbarWindow) { // stylelint-disable-line
277
286
  padding-block: $kendo-toolbar-md-padding-y !important; // stylelint-disable-line declaration-no-important
278
287
  padding-inline: $kendo-toolbar-md-padding-x !important; // stylelint-disable-line declaration-no-important
@@ -112,8 +112,6 @@
112
112
  border-color: $kendo-toolbar-flat-border;
113
113
  }
114
114
  }
115
-
116
- .k-floating-toolbar,
117
115
  .editorToolbarWindow.k-window-content { // stylelint-disable-line
118
116
  @include fill(
119
117
  $kendo-toolbar-text,
@@ -79,3 +79,5 @@ $kendo-toolbar-sizes: (
79
79
  separator-height: $kendo-toolbar-lg-separator-height
80
80
  )
81
81
  ) !default;
82
+
83
+ $kendo-floating-toolbar-border-radius: null !default;