cedar-embeddable-editor 2.0.15 → 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 +19 -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 +10 -10
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -47,6 +47,25 @@ 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
|
+
|
|
50
69
|
## [2.0.15] - 2026-09-15
|
|
51
70
|
|
|
52
71
|
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