@formicoidea/labre-framework-cynefin 0.41.0 → 0.43.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.
- package/LICENSE +384 -0
- package/dist/commands.js +5 -1
- package/dist/cynefin/consts.d.ts +19 -0
- package/dist/cynefin/consts.js +12 -0
- package/dist/cynefin/crop.d.ts +6 -0
- package/dist/cynefin/crop.js +45 -0
- package/dist/cynefin/element-renderer.js +12 -8
- package/dist/cynefin/element-view.d.ts +41 -4
- package/dist/cynefin/element-view.js +59 -5
- package/dist/cynefin/labels.d.ts +25 -0
- package/dist/cynefin/labels.js +40 -0
- package/dist/estuarine/consts.d.ts +112 -21
- package/dist/estuarine/consts.js +101 -29
- package/dist/estuarine/element-renderer.d.ts +7 -0
- package/dist/estuarine/element-renderer.js +56 -24
- package/dist/estuarine/element-view.d.ts +10 -2
- package/dist/estuarine/element-view.js +17 -2
- package/dist/estuarine/labels.d.ts +40 -0
- package/dist/estuarine/labels.js +50 -0
- package/dist/presets.d.ts +13 -2
- package/dist/presets.js +13 -2
- package/dist/templates/index.js +17 -10
- package/dist/toolbar/palette.d.ts +31 -0
- package/dist/toolbar/palette.js +105 -0
- package/dist/toolbar/senior-button.d.ts +2 -0
- package/dist/toolbar/senior-button.js +6 -2
- package/dist/translations.js +9 -0
- package/dist/utils.d.ts +6 -8
- package/dist/utils.js +6 -7
- package/dist/view.js +7 -0
- package/package.json +2 -2
package/dist/view.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { QualityNudgeExtension, ReadingProfileExtension, ValidationFrameworkExtension, validationToolbarConfig, } from '@formicoidea/labre-core/blocks/surface';
|
|
2
|
+
import { FrameworkPaletteExtension } from '@formicoidea/labre-core/components/color-picker';
|
|
2
3
|
import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
|
|
3
4
|
import { TemplateCategoryExtension } from '@formicoidea/labre-core/gfx/template';
|
|
4
5
|
import { ToolbarModuleExtension } from '@formicoidea/labre-core/shared/services';
|
|
@@ -17,6 +18,7 @@ import { ESTUARINE_READING } from './estuarine/reading.js';
|
|
|
17
18
|
import { ESTUARINE_ROLE, ESTUARINE_ROLES } from './estuarine/roles.js';
|
|
18
19
|
import { estuarineToolbarExtension } from './estuarine/toolbar/config.js';
|
|
19
20
|
import { cynefinTemplateCategory, estuarineTemplateCategory, } from './templates/index.js';
|
|
21
|
+
import { CYNEFIN_ESTUARINE_FRAMEWORK_PALETTE } from './toolbar/palette.js';
|
|
20
22
|
import { cynefinEstuarineSeniorTool } from './toolbar/senior-tool.js';
|
|
21
23
|
/**
|
|
22
24
|
* Cynefin / Estuarine rendering — ALWAYS registered, independent of any flag.
|
|
@@ -110,6 +112,11 @@ export class CynefinEstuarineViewExtension extends ViewExtensionProvider {
|
|
|
110
112
|
// free element on a Cynefin board carries no role and stays unreadable.
|
|
111
113
|
context.register(ReadingProfileExtension(ESTUARINE_READING));
|
|
112
114
|
context.register(cynefinEstuarineSeniorTool);
|
|
115
|
+
// This pack's page of the colour pickers' carousel (`docs/adr/0027`).
|
|
116
|
+
// Here, beside the senior tool, because offering hues is TOOLING — the
|
|
117
|
+
// colours already painted on a stored board are content and do not move
|
|
118
|
+
// (`docs/adr/0009`).
|
|
119
|
+
context.register(FrameworkPaletteExtension(CYNEFIN_ESTUARINE_FRAMEWORK_PALETTE));
|
|
113
120
|
// Both Templates-panel categories — tooling, so they go with the flag
|
|
114
121
|
// (#244).
|
|
115
122
|
context.register(TemplateCategoryExtension(cynefinTemplateCategory, estuarineTemplateCategory));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-framework-cynefin",
|
|
3
3
|
"description": "Labre cynefin-estuarine framework for @formicoidea/labre-core.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.43.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.
|
|
34
|
+
"@formicoidea/labre-core": "0.43.1",
|
|
35
35
|
"@preact/signals-core": "^1.8.0",
|
|
36
36
|
"lit": "^3.2.0"
|
|
37
37
|
}
|