@thi.ng/rdom
Advanced tools
Comparing version 1.7.4 to 1.7.5
# Change Log | ||
- **Last updated**: 2024-09-22T07:46:58Z | ||
- **Last updated**: 2024-10-03T15:37:53Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,9 @@ | ||
### [1.7.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.7.5) (2024-10-03) | ||
#### ⏱ Performance improvements | ||
- internal update __setAttrib() ([15ed31d](https://github.com/thi-ng/umbrella/commit/15ed31d)) | ||
- only lookup property setters if value non-nullish | ||
### [1.7.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom@1.7.4) (2024-09-22) | ||
@@ -14,0 +21,0 @@ |
@@ -140,4 +140,4 @@ import { type MaybeDeref } from "@thi.ng/api/deref"; | ||
* | ||
* CSS style rules can be defined via the `style` attrib. Please {@link $style} | ||
* for further details. | ||
* CSS style rules can be defined via the `style` attrib. Please see | ||
* {@link $style} for further details. | ||
* | ||
@@ -147,4 +147,5 @@ * Data attributes are to be given as object under the `data` attribute name, | ||
* | ||
* Depending on element type the `value` attribute will be updated keeping the | ||
* current cursor position / selection intact. | ||
* Depending on element type, the `value` attribute will be updated keeping the | ||
* current cursor position / selection intact. (**NOT** done for disabled or | ||
* readonly elements due to issues with Safari) | ||
* | ||
@@ -151,0 +152,0 @@ * @param el - |
@@ -144,5 +144,5 @@ import { deref, isDeref } from "@thi.ng/api/deref"; | ||
default: { | ||
const setter = __setter(el, id); | ||
if (setter && val != null) { | ||
return setter.call(el, val); | ||
if (val != null) { | ||
const setter = __setter(el, id); | ||
if (setter) return setter.call(el, val); | ||
} | ||
@@ -149,0 +149,0 @@ const idx = id.indexOf(":"); |
{ | ||
"name": "@thi.ng/rdom", | ||
"version": "1.7.4", | ||
"version": "1.7.5", | ||
"description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible", | ||
@@ -149,3 +149,3 @@ "type": "module", | ||
}, | ||
"gitHead": "b6219c3ce0814b1b6e859c8c12616389e64952f2\n" | ||
"gitHead": "dadc6e71940c091e50fbf9f88ea3ba115d3937df\n" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139657
2173