@htmlplus/element 3.1.0 → 3.1.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.
|
@@ -1112,7 +1112,7 @@ const request = (target, name, previous, callback) => {
|
|
|
1112
1112
|
// Calls the lifecycle's callback before the rendering phase.
|
|
1113
1113
|
call(target, LIFECYCLE_UPDATE, states);
|
|
1114
1114
|
// Renders template to the DOM.
|
|
1115
|
-
render(shadowRoot(target), () => call(target, METHOD_RENDER));
|
|
1115
|
+
render(shadowRoot(target), () => call(target, METHOD_RENDER) ?? null);
|
|
1116
1116
|
// Invokes requests' callback.
|
|
1117
1117
|
stacks.forEach((state) => {
|
|
1118
1118
|
state.callbacks.forEach((callback, index, callbacks) => {
|
package/dist/client.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { B as Bind, C as Consumer, D as Direction, E as Element, k as Event, H as Host, I as IsRTL, L as Listen, M as Method, l as Property, P as Provider, Q as Query, m as QueryAll, S as Slots, n as State, W as Watch, c as classes, d as direction, a as dispatch, g as getConfig, h as host, i as isCSSColor, b as isRTL, f as off, o as on, q as query, e as queryAll, j as setConfig, s as slots, t as toUnit } from './client-
|
|
1
|
+
export { B as Bind, C as Consumer, D as Direction, E as Element, k as Event, H as Host, I as IsRTL, L as Listen, M as Method, l as Property, P as Provider, Q as Query, m as QueryAll, S as Slots, n as State, W as Watch, c as classes, d as direction, a as dispatch, g as getConfig, h as host, i as isCSSColor, b as isRTL, f as off, o as on, q as query, e as queryAll, j as setConfig, s as slots, t as toUnit } from './client-BsD9JZY4.js';
|
|
2
2
|
import 'change-case';
|
|
3
3
|
import './constants.js';
|
package/dist/internal.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlplus/element",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"author": "Masood Abdolian <m.abdolian@gmail.com>",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"funding": [],
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">= 20.10.0"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"components",
|