mce 0.15.35 → 0.15.37

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.
@@ -1,27 +1,9 @@
1
1
  import type { TransformValue } from './shared/TransformControls.vue';
2
- declare var __VLS_14: {
3
- box: {
4
- left: number;
5
- top: number;
6
- width: number;
7
- height: number;
8
- rotate: number;
9
- borderRadius: number;
10
- };
11
- }, __VLS_16: {
12
- transform: {
13
- left: number;
14
- top: number;
15
- width: number;
16
- height: number;
17
- rotate: number;
18
- borderRadius: number;
19
- };
20
- };
2
+ declare var __VLS_14: {}, __VLS_21: {};
21
3
  type __VLS_Slots = {} & {
22
4
  transform?: (props: typeof __VLS_14) => any;
23
5
  } & {
24
- default?: (props: typeof __VLS_16) => any;
6
+ default?: (props: typeof __VLS_21) => any;
25
7
  };
26
8
  declare const __VLS_base: import("vue").DefineComponent<{}, {
27
9
  transformControls: Readonly<import("vue").ShallowRef<({
package/dist/index.css CHANGED
@@ -711,6 +711,33 @@
711
711
  .mce-transform-controls--hide-ui .mce-transform-controls__rotator,
712
712
  .mce-transform-controls--hide-ui .mce-transform-controls__tip {
713
713
  visibility: hidden;
714
+ }.mce-cropper {
715
+ pointer-events: auto;
716
+ position: absolute;
717
+ left: 0;
718
+ top: 0;
719
+ width: 100%;
720
+ height: 100%;
721
+ }
722
+ .mce-cropper__source {
723
+ position: absolute;
724
+ width: 100%;
725
+ height: 100%;
726
+ transform-origin: top left;
727
+ }
728
+ .mce-cropper__source canvas {
729
+ position: absolute;
730
+ width: 100%;
731
+ height: 100%;
732
+ }
733
+ .mce-cropper__transform {
734
+ position: absolute;
735
+ color: rgba(var(--mce-theme-primary), 1);
736
+ opacity: 0.5;
737
+ }
738
+ .mce-cropper__transform_rect {
739
+ width: 100%;
740
+ height: 100%;
714
741
  }.mce-selection {
715
742
  position: absolute;
716
743
  left: 0;
@@ -804,20 +831,24 @@
804
831
  display: flex;
805
832
  align-items: center;
806
833
  justify-content: center;
807
- }
808
- .mce-smart-selection .mce-smart-handle--active > .mce-smart-handle__btn {
809
- background: #FF24BD;
834
+ pointer-events: auto;
810
835
  }
811
836
  .mce-smart-selection .mce-smart-handle__btn {
812
- pointer-events: auto;
813
- width: 10px;
814
- height: 10px;
837
+ width: 1px;
838
+ height: 1px;
815
839
  border-radius: 100%;
816
840
  border: 1px solid #FF24BD;
817
841
  outline: 1px solid #FFFFFF;
818
842
  }
819
843
  .mce-smart-selection .mce-smart-handle__btn:hover {
820
844
  background: #FF24BD;
845
+ }
846
+ .mce-smart-selection .mce-smart-handle__btn--active {
847
+ width: 10px;
848
+ height: 10px;
849
+ }
850
+ .mce-smart-selection .mce-smart-handle--active .mce-smart-handle__btn {
851
+ background: #FF24BD;
821
852
  }.progress-indicator[data-v-3b286483] {
822
853
  display: flex;
823
854
  align-items: center;
@@ -1380,33 +1411,6 @@
1380
1411
  width: 100%;
1381
1412
  height: 100%;
1382
1413
  pointer-events: none;
1383
- }.mce-cropper {
1384
- pointer-events: auto;
1385
- position: absolute;
1386
- left: 0;
1387
- top: 0;
1388
- width: 100%;
1389
- height: 100%;
1390
- }
1391
- .mce-cropper__source {
1392
- position: absolute;
1393
- width: 100%;
1394
- height: 100%;
1395
- transform-origin: top left;
1396
- }
1397
- .mce-cropper__source canvas {
1398
- position: absolute;
1399
- width: 100%;
1400
- height: 100%;
1401
- }
1402
- .mce-cropper__transform {
1403
- position: absolute;
1404
- color: rgba(var(--mce-theme-primary), 1);
1405
- opacity: 0.5;
1406
- }
1407
- .mce-cropper__transform_rect {
1408
- width: 100%;
1409
- height: 100%;
1410
1414
  }.mce-dialog > * {
1411
1415
  box-shadow: var(--mce-shadow);
1412
1416
  }