@plait/mind 0.22.0 → 0.23.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.
@@ -32,7 +32,6 @@ export declare class MindNodeComponent extends PlaitPluginElementComponent<MindE
32
32
  constructor(viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
33
33
  initializeDrawer(): void;
34
34
  ngOnInit(): void;
35
- editTopic(): void;
36
35
  onContextChanged(value: PlaitPluginElementContext<MindElement, PlaitMindBoard>, previous: PlaitPluginElementContext<MindElement, PlaitMindBoard>): void;
37
36
  drawEmojis(): void;
38
37
  drawShape(): void;
@@ -41,7 +40,9 @@ export declare class MindNodeComponent extends PlaitPluginElementComponent<MindE
41
40
  destroyLine(): void;
42
41
  drawExtend(): void;
43
42
  destroyExtend(): void;
44
- drawText(): void;
43
+ drawTopic(): void;
44
+ updateTopic(): void;
45
+ editTopic(): void;
45
46
  trackBy: (index: number, node: MindNode) => string;
46
47
  ngOnDestroy(): void;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<MindNodeComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plait/mind",
3
- "version": "0.22.0",
3
+ "version": "0.23.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.2",
6
6
  "@angular/core": "^15.2.2"
@@ -44,7 +44,7 @@ $primary: #4e8afa;
44
44
  opacity: 0.6;
45
45
  }
46
46
  }
47
- &.focused:not(.selection-moving):not(.element-moving):not(.abstract-resizing-horizontal):not(.abstract-resizing-vertical):not(.pointer-mind):not(.mind-node-dragging) {
47
+ &.focused:not(.selection-moving):not(.element-moving):not(.abstract-resizing-horizontal):not(.abstract-resizing-vertical):not(.pointer-mind):not(.mind-node-dragging):not(.mind-node-resizing) {
48
48
  .extend {
49
49
  cursor: pointer;
50
50
  &:hover {
@@ -87,6 +87,9 @@ $primary: #4e8afa;
87
87
  display: none;
88
88
  }
89
89
  }
90
+ .mind-node-image {
91
+ cursor: zoom-in;
92
+ }
90
93
  }
91
94
 
92
95
  &.viewport-moving {
@@ -132,7 +135,7 @@ $primary: #4e8afa;
132
135
 
133
136
  .mind-node-image {
134
137
  margin: 6px;
135
- display: block
138
+ display: block;
136
139
  }
137
140
 
138
141
  @include mixins.node-color();