@progress/kendo-theme-core 14.7.0-dev.1 → 14.7.0-dev.3

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.7.0-dev.1",
4
+ "version": "14.7.0-dev.3",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -264,6 +264,7 @@
264
264
  display: flex;
265
265
  flex-direction: column;
266
266
  position: relative;
267
+ flex: none;
267
268
  }
268
269
 
269
270
  // Placeholder: replaces the canvas for non-editable states (empty, loading, error)
@@ -382,11 +383,35 @@
382
383
  .k-imageeditor-option-list {
383
384
  position: relative;
384
385
  width: 100%;
386
+
387
+ // Overlays live on the non-scrolling wrapper so they stay fixed while the items scroll; the -3px insets match the items' negative margins so they cover the selected chip's shadow ring.
388
+ &.k-imageeditor-option-list-scrollable {
389
+ &::before,
390
+ &::after {
391
+ content: "";
392
+ aspect-ratio: 1;
393
+ position: absolute;
394
+ inset-block: -3px;
395
+ z-index: k-z-index("base", 3);
396
+ pointer-events: none;
397
+ }
398
+
399
+ &::before {
400
+ inset-inline-start: -3px;
401
+ }
402
+
403
+ &::after {
404
+ inset-inline-end: -3px;
405
+ }
406
+
407
+ &.k-imageeditor-option-list-scrollable-start::before,
408
+ &.k-imageeditor-option-list-scrollable-end::after {
409
+ display: none;
410
+ }
411
+ }
385
412
  }
386
413
 
387
- // Actual scrolling element. The scroll-fade overlay lives here (rather than on the
388
- // non-scrolling .k-imageeditor-option-list wrapper) so it aligns with the negative
389
- // margins below and fully covers the selected chip's shadow ring at the scroll edges.
414
+ // Actual scrolling element
390
415
  .k-imageeditor-option-list-items {
391
416
  display: flex;
392
417
  flex-flow: row nowrap;
@@ -405,32 +430,6 @@
405
430
  &::-webkit-scrollbar {
406
431
  display: none;
407
432
  }
408
-
409
- .k-imageeditor-option-list-scrollable & {
410
- &::before,
411
- &::after {
412
- content: "";
413
- height: 100%;
414
- aspect-ratio: 1;
415
- position: absolute;
416
- inset-block-start: 0;
417
- z-index: k-z-index("base", 3);
418
- pointer-events: none;
419
- }
420
-
421
- &::before {
422
- inset-inline-start: 0;
423
- }
424
-
425
- &::after {
426
- inset-inline-end: 0;
427
- }
428
- }
429
-
430
- .k-imageeditor-option-list-scrollable-start &::before,
431
- .k-imageeditor-option-list-scrollable-end &::after {
432
- display: none;
433
- }
434
433
  }
435
434
 
436
435
  .k-imageeditor-option-preview {
@@ -604,6 +603,23 @@
604
603
  }
605
604
  }
606
605
 
606
+ // Rotation handle: anchored below the bottom edge of the selection frame, centered horizontally
607
+ .k-rotate-handle {
608
+ padding: $kendo-image-editor-rotate-handle-padding;
609
+ border-width: $kendo-image-editor-handle-border-width;
610
+ border-style: solid;
611
+ border-radius: $kendo-image-editor-handle-border-radius;
612
+ display: flex;
613
+ align-items: center;
614
+ justify-content: center;
615
+ position: absolute;
616
+ top: calc(100% + #{$kendo-image-editor-rotate-handle-offset});
617
+ left: 50%;
618
+ transform: translateX(-50%);
619
+ box-sizing: border-box;
620
+ cursor: grab;
621
+ }
622
+
607
623
  // Mobile: single scoping class for every part that needs a different layout on small screens
608
624
  .k-imageeditor-adaptive {
609
625
  display: flex;
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  // Option list scroll-fade overlay (aspect ratios, shapes, presets, ...)
45
- .k-imageeditor-option-list-scrollable .k-imageeditor-option-list-items {
45
+ .k-imageeditor-option-list-scrollable {
46
46
  &::before {
47
47
  background: linear-gradient(270deg, $kendo-image-editor-option-list-scroll-gradient);
48
48
  }
@@ -119,6 +119,12 @@
119
119
  background-color: $kendo-image-editor-handle-bg;
120
120
  }
121
121
 
122
+ .k-rotate-handle {
123
+ color: $kendo-image-editor-handle-border;
124
+ border-color: $kendo-image-editor-handle-border;
125
+ background-color: $kendo-image-editor-handle-bg;
126
+ }
127
+
122
128
  // Crop tool's L-bracket corner handles
123
129
  .k-imageeditor-crop {
124
130
  .k-resize-sw,
@@ -50,6 +50,9 @@ $kendo-image-editor-handle-border-radius: null !default;
50
50
 
51
51
  $kendo-image-editor-scale-handle-size: null !default;
52
52
 
53
+ $kendo-image-editor-rotate-handle-offset: null !default;
54
+ $kendo-image-editor-rotate-handle-padding: null !default;
55
+
53
56
  $kendo-image-editor-bg: null !default;
54
57
  $kendo-image-editor-text: null !default;
55
58
  $kendo-image-editor-border: null !default;