lilact 0.31.9 → 0.31.10
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/dist/lilact.development.js +2 -2
- package/dist/lilact.development.js.map +2 -2
- package/dist/lilact.development.min.js +4 -4
- package/dist/lilact.development.min.js.map +2 -2
- package/dist/lilact.production.min.js +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/accessories.ErrorBoundary.html +3 -3
- package/docs/classes/accessories.Suspense.html +2 -2
- package/docs/classes/components.Component.html +9 -9
- package/docs/classes/components.HTMLComponent.html +10 -10
- package/docs/classes/components.RootComponent.html +5 -5
- package/docs/functions/components.cloneComponent.html +1 -1
- package/docs/functions/components.createComponent.html +1 -1
- package/docs/functions/components.createPortal.html +1 -1
- package/docs/functions/components.createRoot.html +1 -1
- package/docs/functions/components.memo.html +1 -1
- package/docs/functions/components.render.html +1 -1
- package/docs/static/lilact.development.js +2 -2
- package/docs/static/lilact.development.js.map +2 -2
- package/docs/static/lilact.development.min.js +4 -4
- package/docs/static/lilact.development.min.js.map +2 -2
- package/docs/static/lilact.production.min.js +4 -4
- package/docs/variables/components.cloneElement.html +1 -1
- package/examples/lilact.development.js +2 -2
- package/examples/lilact.development.js.map +2 -2
- package/examples/lilact.development.min.js +4 -4
- package/examples/lilact.development.min.js.map +2 -2
- package/examples/lilact.production.min.js +4 -4
- package/package.json +1 -1
- package/src/components.jsx +2 -4
|
@@ -3182,10 +3182,10 @@ var Component = class {
|
|
|
3182
3182
|
* It can also be set for function components.
|
|
3183
3183
|
* @type {string}
|
|
3184
3184
|
*/
|
|
3185
|
-
displayName() {
|
|
3185
|
+
get displayName() {
|
|
3186
3186
|
const entity = this[CORE].entity;
|
|
3187
3187
|
if (entity?.displayName) {
|
|
3188
|
-
return
|
|
3188
|
+
return entity.displayName;
|
|
3189
3189
|
}
|
|
3190
3190
|
if (typeof entity === "string") {
|
|
3191
3191
|
return entity;
|