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 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
@@ -0,0 +1,9 @@
1
+ {
2
+ "strategy": "bundle",
3
+ "inputs": [
4
+ "main.js",
5
+ "polyfills.js"
6
+ ],
7
+ "bytes": 1998458,
8
+ "sha256": "0b9b44d26c425ebf1963cb2a134dfee7f3ce610fdd56797fc7e5019aba20bc62"
9
+ }
@@ -4,6 +4,6 @@
4
4
  "main.js",
5
5
  "polyfills.js"
6
6
  ],
7
- "bytes": 2180830,
8
- "sha256": "c9a0b5daf4f2c88be6cde16c27a01795587a5a5f3f1efd7b5b363b757f453848"
7
+ "bytes": 2182255,
8
+ "sha256": "44df4ef3453dc12fb564af7b9ac9e494b43136bd04b73338673245719565134d"
9
9
  }