@pyreon/runtime-dom 0.7.7 → 0.7.8
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/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ const App = () => (
|
|
|
99
99
|
|
|
100
100
|
### Props and Sanitization
|
|
101
101
|
|
|
102
|
-
- **`applyProp(el, key, value)`** -- Applies a single prop to a DOM element.
|
|
102
|
+
- **`applyProp(el, key, value)`** -- Applies a single prop to a DOM element. The `class` prop accepts strings, arrays, objects, or nested mix (processed via `cx()` from `@pyreon/core`).
|
|
103
103
|
- **`applyProps(el, props)`** -- Applies all props to a DOM element.
|
|
104
104
|
- **`sanitizeHtml(html): string`** -- Sanitizes an HTML string using the active sanitizer.
|
|
105
105
|
- **`setSanitizer(fn: SanitizeFn)`** -- Replaces the default HTML sanitizer.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/runtime-dom",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"description": "DOM renderer for Pyreon",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"prepublishOnly": "bun run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@pyreon/core": "^0.7.
|
|
43
|
-
"@pyreon/reactivity": "^0.7.
|
|
42
|
+
"@pyreon/core": "^0.7.8",
|
|
43
|
+
"@pyreon/reactivity": "^0.7.8"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@happy-dom/global-registrator": "^20.8.3",
|