@astronox/core 0.4.1 → 0.4.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@astronox/core",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Reusable Astro components, patterns, styles, and infrastructure for AstroNox sites.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -39,9 +39,8 @@ const resolvedTone = tone ?? dataTone;
39
39
  data-code-block-content
40
40
  data-code-block-presentation={presentation}
41
41
  data-wrap={wrap ? true : undefined}
42
- >
43
- {text}
44
- </pre>
42
+ set:text={text}
43
+ />
45
44
  <Button
46
45
  class="code-block__copy"
47
46
  type="button"
@@ -74,9 +73,8 @@ const resolvedTone = tone ?? dataTone;
74
73
  data-code-block-presentation={presentation}
75
74
  data-tone={resolvedTone}
76
75
  data-wrap={wrap ? true : undefined}
77
- >
78
- {text}
79
- </pre>
76
+ set:text={text}
77
+ />
80
78
  )
81
79
  }
82
80