@clepit/core 0.8.0-beta.570 → 0.9.0-beta.618

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,12 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.9.0]
11
+
10
12
  ### Added
11
13
  - `StyleManager.injectedSheet(id)`: the stylesheet injected under an id, while the document adopts it.
12
14
 
13
15
  ### Changed
14
16
  - The editor, renderer and theme overrides adopt their styles as constructed stylesheets (`document.adoptedStyleSheets`) instead of appending `<style>` elements, so a page whose `style-src` omits `'unsafe-inline'` renders them without passing clepit a nonce.
15
17
 
18
+ ### Fixed
19
+ - An editor mounted in an iframe gets its styles: each sheet is constructed by the document's own window, since a document adopts only sheets its window built.
20
+
16
21
  ## [0.8.0]
17
22
 
18
23
  ### Added
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "types": "dist/index.d.ts",
56
- "version": "0.8.0-beta.570"
56
+ "version": "0.9.0-beta.618"
57
57
  }