cedar-embeddable-editor 2.0.15 → 2.0.17

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 CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.0.17] - 2026-09-21
9
+
10
+ Aligns with `cedar-model-typescript-library@1.0.13`.
11
+
12
+ - Includes the current field editor, shared validation presentation, and model serialization fixes.
13
+
8
14
  ## [Unreleased]
9
15
 
10
16
  ### Added
@@ -47,6 +53,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
47
53
  - `cedar-embeddable-field` emits `valueChange` when validity changes even if the normalized value
48
54
  does not, including numeric edits such as `1.5` to `1.50` and back.
49
55
 
56
+ ## [2.0.16] - 2026-09-17
57
+
58
+ This release keeps CEE's build-time model dependency on the public
59
+ `cedar-model-typescript-library@1.0.12` package and takes CEE's styling and typography from the
60
+ shared design-tokens package. The model library remains compiled into CEE's browser bundle and is
61
+ not a runtime dependency for embedding applications.
62
+
63
+ ### Added
64
+
65
+ - A second published bundle, `cedar-embeddable-editor.host-fonts.js`, with its own
66
+ `bundle-manifest.host-fonts.json`. It carries no embedded text-font data and expects the host to
67
+ supply the font stack. The Material icon face stays embedded, because a host cannot supply it.
68
+
69
+ ### Changed
70
+
71
+ - CEE's styling defaults, authoring density and typography resolve from
72
+ `@org.metadatacenter/cedar-design-tokens`. The weights arrive as emitted custom properties a host
73
+ can override, rather than as values repeated in CEE's own stylesheets.
74
+
50
75
  ## [2.0.15] - 2026-09-15
51
76
 
52
77
  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
@@ -0,0 +1,9 @@
1
+ {
2
+ "strategy": "bundle",
3
+ "inputs": [
4
+ "main.js",
5
+ "polyfills.js"
6
+ ],
7
+ "bytes": 1935564,
8
+ "sha256": "dd1c2615afabd00e82368d6d79101f86bd0f7c6417f1d9ba579b7b87c7fe9378"
9
+ }
@@ -4,6 +4,6 @@
4
4
  "main.js",
5
5
  "polyfills.js"
6
6
  ],
7
- "bytes": 2180830,
8
- "sha256": "c9a0b5daf4f2c88be6cde16c27a01795587a5a5f3f1efd7b5b363b757f453848"
7
+ "bytes": 2119374,
8
+ "sha256": "d645c0f05098f7597db41c84b3351454aad8b3f70bb269469b92b30299695c54"
9
9
  }