@pure-ds/core 0.3.4 → 0.3.5

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.
@@ -5335,14 +5335,6 @@ export function createStylesheet(css) {
5335
5335
  return sheet;
5336
5336
  }
5337
5337
 
5338
- /**
5339
- * Check if running in live design system context
5340
- * Useful for conditional behavior
5341
- *
5342
- * @returns {boolean}
5343
- */
5344
- export function isLiveMode() {
5345
- return pdsRegistry.isLive;
5346
- }
5338
+
5347
5339
  import { enums } from "./pds-enums.js";
5348
5340
  import { ontology } from "./pds-ontology.js";
package/src/js/pds.js CHANGED
@@ -49,7 +49,6 @@ import {
49
49
  adoptLayers,
50
50
  adoptPrimitives,
51
51
  createStylesheet,
52
- isLiveMode,
53
52
  } from "./pds-core/pds-generator.js";
54
53
  import { registry } from "./pds-core/pds-registry.js";
55
54
  import ontology from "./pds-core/pds-ontology.js";
@@ -85,7 +84,7 @@ PDS.createStylesheet = createStylesheet;
85
84
 
86
85
  /** Return true when running inside a live/designer-backed environment */
87
86
  PDS.isLiveMode = isLiveMode;
88
-
87
+ () => registry.isLiv
89
88
  PDS.enums = enums;
90
89
 
91
90
  PDS.ask = ask;