jssm 5.134.0 → 5.136.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/cdn/viz.js CHANGED
@@ -21352,7 +21352,7 @@ var constants = /*#__PURE__*/Object.freeze({
21352
21352
  * Useful for runtime diagnostics and for embedding in serialized machine
21353
21353
  * snapshots so that deserializers can detect version-skew.
21354
21354
  */
21355
- const version = "5.134.0";
21355
+ const version = "5.136.0";
21356
21356
 
21357
21357
  // whargarbl lots of these return arrays could/should be sets
21358
21358
  const { state_name_chars, state_name_first_chars, action_label_chars } = constants;
@@ -25835,8 +25835,25 @@ __decorate([
25835
25835
  r()
25836
25836
  ], JssmViz.prototype, "_svg", void 0);
25837
25837
 
25838
+ /**
25839
+ * Empty subclass that allows the same class to be registered under a
25840
+ * second tag name. `customElements.define` requires a distinct constructor
25841
+ * per tag, so the only portable way to publish `<fsl-viz>` as a synonym
25842
+ * for `<jssm-viz>` is to register a no-op subclass.
25843
+ *
25844
+ * Both tags render identically; `<fsl-viz>` is provided as an alternative
25845
+ * spelling for users whose mental model is "FSL viz" rather than "jssm
25846
+ * viz".
25847
+ *
25848
+ * TODO: parent-context binding from #647 Stage 2 lands once #648 exists.
25849
+ */
25850
+ class FslViz extends JssmViz {
25851
+ }
25838
25852
  if (!customElements.get('jssm-viz')) {
25839
25853
  customElements.define('jssm-viz', JssmViz);
25840
25854
  }
25855
+ if (!customElements.get('fsl-viz')) {
25856
+ customElements.define('fsl-viz', FslViz);
25857
+ }
25841
25858
 
25842
- export { JssmViz };
25859
+ export { FslViz, JssmViz };