@formicoidea/labre-framework-edgy 0.38.2 → 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 +3 -3
package/dist/view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { QualityNudgeExtension, ReadingProfileExtension, SpotlightHostExtension, ValidationProfileExtension, ValidationRuleExtension, validationToolbarConfig, } from '@formicoidea/labre-core/blocks/surface';
2
2
  import { ToolbarModuleExtension } 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 { edgyCommandIcons, edgyCommands } from './commands.js';
@@ -78,7 +78,6 @@ export class EdgyViewExtension extends ViewExtensionProvider {
78
78
  super.effect();
79
79
  // Defines the senior button and its menu — tooling-only custom elements.
80
80
  effects();
81
- extendTemplateCategory(edgyTemplateCategory);
82
81
  }
83
82
  setup(context) {
84
83
  super.setup(context);
@@ -123,6 +122,8 @@ export class EdgyViewExtension extends ViewExtensionProvider {
123
122
  // profile, so it goes with the flag without either side naming the other.
124
123
  context.register(ReadingProfileExtension(EDGY_READING));
125
124
  context.register(edgySeniorTool);
125
+ // The Templates-panel category — tooling, so it goes with the flag (#244).
126
+ context.register(TemplateCategoryExtension(edgyTemplateCategory));
126
127
  // The eight EDGY commands: the sub-menu renders them, Settings ›
127
128
  // Shortcuts finally lists them, and a host override on an id binds.
128
129
  context.register(CommandExtension(edgyCommands, edgyCommandIcons));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-edgy",
3
3
  "description": "Labre edgy framework for @formicoidea/labre-core.",
4
- "version": "0.38.2",
4
+ "version": "0.39.1",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -31,8 +31,8 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@formicoidea/labre-core": "0.38.2",
35
- "@formicoidea/labre-ddd-shared": "0.38.2",
34
+ "@formicoidea/labre-core": "0.39.1",
35
+ "@formicoidea/labre-ddd-shared": "0.39.1",
36
36
  "@preact/signals-core": "^1.8.0",
37
37
  "lit": "^3.2.0",
38
38
  "yjs": "^13.6.21"