@miragon/context-maps-renderer 0.5.0 → 0.6.0
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/README.md +3 -3
- package/dist/index.js +269 -287
- package/dist/index.js.map +1 -1
- package/dist/legend/CmLegend.d.ts +0 -4
- package/dist/legend/CmLegend.d.ts.map +1 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/theme/sizes.d.ts +0 -13
- package/dist/theme/sizes.d.ts.map +0 -1
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { default as Canvas } from 'diagram-js/lib/core/Canvas';
|
|
2
2
|
import { default as EventBus } from 'diagram-js/lib/core/EventBus';
|
|
3
3
|
export default class CmLegend {
|
|
4
|
-
private readonly canvas;
|
|
5
4
|
static $inject: string[];
|
|
6
5
|
private openState;
|
|
7
|
-
/** Set once the container had a size to start from, or the host chose a state. */
|
|
8
|
-
private started;
|
|
9
6
|
private readonly host;
|
|
10
7
|
constructor(canvas: Canvas, eventBus: EventBus);
|
|
11
8
|
isOpen(): boolean;
|
|
12
9
|
setOpen(open: boolean): void;
|
|
13
|
-
private startFromContainerSize;
|
|
14
10
|
toggle(): void;
|
|
15
11
|
private render;
|
|
16
12
|
private panel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CmLegend.d.ts","sourceRoot":"","sources":["../../src/legend/CmLegend.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"CmLegend.d.ts","sourceRoot":"","sources":["../../src/legend/CmLegend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAC;AAyCzD,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B,MAAM,CAAC,OAAO,WAA0B;IAExC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAc;gBAEvB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IAO9C,MAAM,IAAI,OAAO;IAIjB,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAM5B,MAAM,IAAI,IAAI;IAId,OAAO,CAAC,MAAM;IAWd,OAAO,CAAC,KAAK;IA4Bb,OAAO,CAAC,eAAe;CAUxB"}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
package/dist/theme/sizes.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The sizes of the design system's `shell` tokens that the renderer's own chrome needs, for hosts
|
|
3
|
-
* without the modeler shell: the values of `cd-tokens.generated.json` (`test/theme.sync.test.ts`
|
|
4
|
-
* fails when one drifts). Pure data — no DOM, no imports.
|
|
5
|
-
*/
|
|
6
|
-
/** Guide §5.10: up to these container sizes a legend without a stored state starts closed. */
|
|
7
|
-
export declare const LEGEND_CLOSED_UP_TO: {
|
|
8
|
-
/** `--cd-shell-sehr-schmal` */
|
|
9
|
-
readonly width: 440;
|
|
10
|
-
/** `--cd-shell-niedrig` */
|
|
11
|
-
readonly height: 820;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=sizes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../src/theme/sizes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB;IAC9B,+BAA+B;;IAE/B,2BAA2B;;CAEnB,CAAC"}
|