@monza-editor/astro 0.5.14 → 0.6.0

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/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "@monza-editor/astro",
3
- "version": "0.5.14",
3
+ "version": "0.6.0",
4
4
  "description": "Astro component of Monza editor",
5
+ "license": "MIT",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "https://github.com/raviqqe/monza-editor"
8
9
  },
9
- "license": "MIT",
10
- "publishConfig": {
11
- "provenance": true
12
- },
13
10
  "type": "module",
14
11
  "exports": {
15
12
  ".": {
@@ -17,13 +14,16 @@
17
14
  "default": "./src/index.js"
18
15
  }
19
16
  },
17
+ "publishConfig": {
18
+ "provenance": true
19
+ },
20
20
  "dependencies": {
21
- "monza-editor": "^0.5.14",
22
- "picolight": "^0.2.9"
21
+ "monza-editor": "^0.6.0",
22
+ "picolight": "^0.2.10"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@raviqqe/tsconfig": "^3.0.2",
26
- "astro": "^7.2.4",
26
+ "astro": "^7.2.10",
27
27
  "typescript": "^6.0.3"
28
28
  },
29
29
  "scripts": {
package/src/Editor.astro CHANGED
@@ -20,7 +20,7 @@ const { id, language, theme, darkTheme, value, ...props } = Astro.props;
20
20
  data-theme={JSON.stringify(theme)}
21
21
  data-dark-theme={JSON.stringify(darkTheme)}
22
22
  >
23
- <div class={`${styles.main} ${props.class}`} id={id}>
23
+ <div class={`${styles.root} ${props.class}`} id={id}>
24
24
  <textarea class={styles.textarea}>{value}</textarea>
25
25
  <pre class={styles.pre}><code class={styles.code} /></pre>
26
26
  </div>
package/CHANGELOG.md DELETED
@@ -1,13 +0,0 @@
1
- # @monza-editor/astro
2
-
3
- ## 0.5.14
4
-
5
- ### Patch Changes
6
-
7
- - Include readme
8
-
9
- ## 0.5.13
10
-
11
- ### Patch Changes
12
-
13
- - Release