@formicoidea/labre-framework-wardley 0.38.1 → 0.39.1

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.
Files changed (2) hide show
  1. package/dist/view.js +3 -2
  2. package/package.json +2 -2
package/dist/view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InterchangeExtension, morphToolbarConfig, ReadingProfileExtension, tagsToolbarConfig, validationToolbarConfig, QualityNudgeExtension, ValidationProfileExtension, ValidationRuleExtension, } from '@formicoidea/labre-core/blocks/surface';
2
2
  import { AuditCriterionExtension, ToolbarModuleExtension, toolbarModuleKey, UniverseTagDefsExtension, } from '@formicoidea/labre-core/shared/services';
3
3
  import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
4
- import { extendTemplateCategory } from '@formicoidea/labre-core/gfx/template';
4
+ import { TemplateCategoryExtension } from '@formicoidea/labre-core/gfx/template';
5
5
  import { BlockFlavourIdentifier, CommandExtension } from '@formicoidea/labre-core/std';
6
6
  import { RoleVocabularyExtension } from '@formicoidea/labre-core/std/gfx';
7
7
  import { WARDLEY_AUDIT_CRITERIA } from './audit-criteria.js';
@@ -80,7 +80,6 @@ export class WardleyViewExtension extends ViewExtensionProvider {
80
80
  super.effect();
81
81
  // Defines the senior button and its menu — tooling-only custom elements.
82
82
  effects();
83
- extendTemplateCategory(wardleyTemplateCategory);
84
83
  }
85
84
  setup(context) {
86
85
  super.setup(context);
@@ -180,6 +179,8 @@ export class WardleyViewExtension extends ViewExtensionProvider {
180
179
  // the flag without either side naming the other.
181
180
  context.register(ReadingProfileExtension(WARDLEY_READING));
182
181
  context.register(wardleySeniorTool);
182
+ // The Templates-panel category — tooling, so it goes with the flag (#244).
183
+ context.register(TemplateCategoryExtension(wardleyTemplateCategory));
183
184
  // The Wardley commands — thirteen artefacts plus the two directions of
184
185
  // the OWM DSL — ONE registration for both faces: the
185
186
  // enumerable registry the sub-menu renders from, and — through
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-wardley",
3
3
  "description": "Labre wardley framework for @formicoidea/labre-core.",
4
- "version": "0.38.1",
4
+ "version": "0.39.1",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -31,7 +31,7 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@formicoidea/labre-core": "0.38.1",
34
+ "@formicoidea/labre-core": "0.39.1",
35
35
  "lit": "^3.2.0"
36
36
  }
37
37
  }