cedar-embeddable-editor 2.0.14 → 2.0.16
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/CHANGELOG.md +53 -0
- package/README.md +18 -0
- package/bundle-manifest.host-fonts.json +9 -0
- package/bundle-manifest.json +2 -2
- package/cedar-embeddable-editor.host-fonts.js +6049 -0
- package/cedar-embeddable-editor.js +145 -147
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -47,6 +47,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
47
47
|
- `cedar-embeddable-field` emits `valueChange` when validity changes even if the normalized value
|
|
48
48
|
does not, including numeric edits such as `1.5` to `1.50` and back.
|
|
49
49
|
|
|
50
|
+
## [2.0.16] - 2026-09-17
|
|
51
|
+
|
|
52
|
+
This release keeps CEE's build-time model dependency on the public
|
|
53
|
+
`cedar-model-typescript-library@1.0.12` package and takes CEE's styling and typography from the
|
|
54
|
+
shared design-tokens package. The model library remains compiled into CEE's browser bundle and is
|
|
55
|
+
not a runtime dependency for embedding applications.
|
|
56
|
+
|
|
57
|
+
### Added
|
|
58
|
+
|
|
59
|
+
- A second published bundle, `cedar-embeddable-editor.host-fonts.js`, with its own
|
|
60
|
+
`bundle-manifest.host-fonts.json`. It carries no embedded text-font data and expects the host to
|
|
61
|
+
supply the font stack. The Material icon face stays embedded, because a host cannot supply it.
|
|
62
|
+
|
|
63
|
+
### Changed
|
|
64
|
+
|
|
65
|
+
- CEE's styling defaults, authoring density and typography resolve from
|
|
66
|
+
`@org.metadatacenter/cedar-design-tokens`. The weights arrive as emitted custom properties a host
|
|
67
|
+
can override, rather than as values repeated in CEE's own stylesheets.
|
|
68
|
+
|
|
69
|
+
## [2.0.15] - 2026-09-15
|
|
70
|
+
|
|
71
|
+
This release aligns CEE's build-time model dependency with the public
|
|
72
|
+
`cedar-model-typescript-library@1.0.12` package, moves the editor's theme to Material 3, and takes
|
|
73
|
+
CEDAR's shared design values from the design-tokens package. The model library remains compiled into
|
|
74
|
+
CEE's browser bundle and is not a runtime dependency for embedding applications.
|
|
75
|
+
|
|
76
|
+
### Changed
|
|
77
|
+
|
|
78
|
+
- The application and visual-test dependency graphs now pin the same public
|
|
79
|
+
`cedar-model-typescript-library@1.0.12` tarball from npmjs, which carries paragraph length
|
|
80
|
+
constraints and the Java library's YAML ontology URI form.
|
|
81
|
+
|
|
82
|
+
- The embedded editor and field themes are Material 3. CEDAR's colours map to explicit M3 light
|
|
83
|
+
roles, typography stays in pixels at each shadow host, and compact controls, occurrence chips and
|
|
84
|
+
read-only values use supported component overrides rather than private selectors.
|
|
85
|
+
|
|
86
|
+
- The font stack, the type scale, the brand palettes and the resolved colours come from
|
|
87
|
+
`@org.metadatacenter/cedar-design-tokens`. Four measurements of the card no other component draws
|
|
88
|
+
stay in CEE. The package is a build-time dependency: Sass compiles the values away, so the
|
|
89
|
+
published package names nothing scoped and an embedding application resolves nothing from Nexus.
|
|
90
|
+
|
|
91
|
+
- A multiple-choice field separates its selected labels with a middle dot in both the editable and
|
|
92
|
+
the read-only view, so a label containing a comma no longer reads as two values.
|
|
93
|
+
|
|
94
|
+
- Field spacing and list separators follow the reviewed baselines, and a read-only field's property
|
|
95
|
+
icons stay aligned when the field carries no occurrence controls.
|
|
96
|
+
|
|
97
|
+
### Fixed
|
|
98
|
+
|
|
99
|
+
- A lookup against an authority the host never configured reports that it is unavailable instead of
|
|
100
|
+
completing silently. An empty result and an unreachable service are no longer the same answer to
|
|
101
|
+
the person filling the form.
|
|
102
|
+
|
|
50
103
|
## [2.0.14] - 2026-09-14
|
|
51
104
|
|
|
52
105
|
This release aligns CEE's build-time model dependency with the public
|
package/README.md
CHANGED
|
@@ -67,6 +67,24 @@ API. Copy the bundle to the application's static assets and load it with a
|
|
|
67
67
|
regular `<script>` tag. The bundle loads as a classic script, not as an ES
|
|
68
68
|
module.
|
|
69
69
|
|
|
70
|
+
### Hosts that already supply CEDAR fonts
|
|
71
|
+
|
|
72
|
+
The default `cedar-embeddable-editor.js` remains self-contained. Hosts that already
|
|
73
|
+
register **CEE Roboto 400 and 500** can instead load
|
|
74
|
+
`cedar-embeddable-editor.host-fonts.js`. Both bundles register CEE and CEF with the
|
|
75
|
+
same public API; load only one. The host-font variant retains Material Icons but
|
|
76
|
+
omits embedded text fonts. Without the host's font faces, text falls back to the
|
|
77
|
+
shared system stack.
|
|
78
|
+
|
|
79
|
+
Import the token package's `fonts/regular` and `fonts/medium` Sass exports in the
|
|
80
|
+
host's global stylesheet before loading the host-font bundle. These exports are
|
|
81
|
+
available in the token source; older snapshots can import the corresponding
|
|
82
|
+
`fonts/_roboto-400.scss` and `fonts/_roboto-500.scss` partials through a configured
|
|
83
|
+
Sass include path. Production builds generate and packaging verifies both bundles,
|
|
84
|
+
with a separate SHA-256 manifest for each. Workspace detects whether its installed
|
|
85
|
+
CEE package provides the host-font variant; older CEE packages retain standalone
|
|
86
|
+
loading until their pin is advanced.
|
|
87
|
+
|
|
70
88
|
## Embedding
|
|
71
89
|
|
|
72
90
|
A host page needs the bundle, one `<cedar-embeddable-editor>` element, and a
|
package/bundle-manifest.json
CHANGED