@visuallyjs/browser-ui-svelte 1.1.2 → 1.1.4
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/MiniviewComponent.svelte +5 -1
- package/definitions.d.ts +8 -0
- package/package.json +1 -1
package/MiniviewComponent.svelte
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
wheelReverse,
|
|
22
22
|
activeTracking,
|
|
23
23
|
clickToCenter,
|
|
24
|
+
showLasso,
|
|
25
|
+
trackSelection,
|
|
24
26
|
className = ""
|
|
25
27
|
}:MiniviewComponentProps = $props()
|
|
26
28
|
|
|
@@ -58,7 +60,9 @@
|
|
|
58
60
|
wheelReverse,
|
|
59
61
|
enableWheelZoom,
|
|
60
62
|
activeTracking,
|
|
61
|
-
clickToCenter
|
|
63
|
+
clickToCenter,
|
|
64
|
+
showLasso,
|
|
65
|
+
trackSelection
|
|
62
66
|
}
|
|
63
67
|
})
|
|
64
68
|
}
|
package/definitions.d.ts
CHANGED
|
@@ -151,6 +151,14 @@ export interface MiniviewComponentProps extends DOMAttributes<HTMLDivElement> {
|
|
|
151
151
|
* Defaults to true, meaning a click on a node/group in the miniview will cause that node/group to be centered in the related surface.
|
|
152
152
|
*/
|
|
153
153
|
clickToCenter?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Defaults to true - the miniview will display a lasso as the user is using the lasso in the canvas
|
|
156
|
+
*/
|
|
157
|
+
showLasso?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Defaults to true - the miniview will add a CSS class to elements whose model object is in the current selection.
|
|
160
|
+
*/
|
|
161
|
+
trackSelection?: boolean;
|
|
154
162
|
/**
|
|
155
163
|
* Optional class name to set on the miniview component's container
|
|
156
164
|
*/
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@visuallyjs/browser-ui-svelte","version":"1.1.
|
|
1
|
+
{"name":"@visuallyjs/browser-ui-svelte","version":"1.1.4","description":"VisuallyJS Svelte integration for Browser UI renderer","module":"index.js","main":"index.js","types":"index.d.ts","svelte":"index.js","files":["**/*.d.ts","**/*.js","SurfaceComponent.svelte","DecoratorComponent.svelte","DefaultGroupComponent.svelte","DefaultNodeComponent.svelte","MiniviewComponent.svelte","ControlsComponent.svelte","SurfaceProvider.svelte","PaletteComponent.svelte","InspectorComponent.svelte","EdgeTypePickerComponent.svelte","ShapePaletteComponent.svelte","ExportControlsComponent.svelte","ShapeComponent.svelte","DiagramComponent.svelte","BarChartComponent.svelte","ColumnChartComponent.svelte","XYChartComponent.svelte","LineChartComponent.svelte","AreaChartComponent.svelte","PieChartComponent.svelte","WrapperComponent.svelte","DiagramProvider.svelte","DiagramPaletteComponent.svelte","ColorPickerComponent.svelte","ScatterChartComponent.svelte","BubbleChartComponent.svelte","GaugeChartComponent.svelte","SankeyChartComponent.svelte"],"author":"VisuallyJs <hello@visuallyjs.com> (https://visuallyjs.com)","license":"Commercial","dependencies":{"@visuallyjs/browser-ui":"1.1.4"},"homepage":"https://visuallyjs.com/svelte","bugs":"https://github.com/visuallyjs/visuallyjs/issues"}
|