@uniweb/kit 0.7.21 → 0.7.22

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": "@uniweb/kit",
3
- "version": "0.7.21",
3
+ "version": "0.7.22",
4
4
  "description": "Standard component library for Uniweb foundations",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,7 +38,7 @@
38
38
  "fuse.js": "^7.0.0",
39
39
  "shiki": "^3.0.0",
40
40
  "tailwind-merge": "^2.6.0",
41
- "@uniweb/core": "0.5.18"
41
+ "@uniweb/core": "0.5.19"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": "^18.0.0 || ^19.0.0",
@@ -75,10 +75,7 @@ function SequenceElement({ element, block }) {
75
75
  }
76
76
 
77
77
  case 'codeBlock': {
78
- // Tagged code blocks are data, not prose — skip
79
- if (element.attrs?.tag) return null
80
- const code = typeof element.text === 'string' ? element.text : ''
81
- return <Code content={code} language={element.attrs?.language || ''} />
78
+ return <Code content={element.text || ''} language={element.attrs?.language || ''} />
82
79
  }
83
80
 
84
81
  case 'dataBlock':