@miragon/dmn-modeler 0.5.0 → 0.7.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/dist/index.d.ts CHANGED
@@ -131,7 +131,7 @@ export declare interface DmnOperationResult {
131
131
  * (VS Code `<body>` classes) maps that signal to a forced mode in its adapter —
132
132
  * the package does not read host chrome.
133
133
  */
134
- export declare type DmnThemeMode = "light" | "dark" | "automatic";
134
+ export declare type DmnThemeMode = SurfaceThemeMode;
135
135
 
136
136
  /** A view returned by {@link DmnModelerHandle.getViews}. */
137
137
  export declare interface DmnView {
@@ -176,6 +176,12 @@ export declare class NoModelerError extends Error {
176
176
  }
177
177
  }
178
178
 
179
+ /**
180
+ * Theme selection for one modeler instance. `"automatic"` follows the
181
+ * OS/browser `prefers-color-scheme` live; `"light"`/`"dark"` force a fixed kind.
182
+ */
183
+ declare type SurfaceThemeMode = "light" | "dark" | "automatic";
184
+
179
185
  export { }
180
186
 
181
187
  declare module "diagram-js/lib/core/EventBus" {