@genesislcap/blank-app-seed 5.23.0 → 5.23.1
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/.genx/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#if route.tiles}}
|
|
2
2
|
import { Layout, Model, TabNode } from 'flexlayout-react';
|
|
3
|
-
import React, {
|
|
3
|
+
import React, { useState } from 'react';
|
|
4
4
|
import { TileErrorBoundary } from '../../components/error-boundary/ErrorBoundary';
|
|
5
5
|
import { getFlexLayoutStorageKey } from '../../utils/layout';
|
|
6
6
|
/* eslint-disable import-es/order -- generated tile imports follow tile order, not alphabetical */
|
|
@@ -38,7 +38,7 @@ function loadModel(): Model {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
const {{pascalCase route.name}} = () => {
|
|
41
|
-
const
|
|
41
|
+
const [model] = useState<Model>(loadModel);
|
|
42
42
|
|
|
43
43
|
const factory = (node: TabNode) => {
|
|
44
44
|
const Component = componentMap[node.getComponent() ?? ''];
|
|
@@ -60,7 +60,7 @@ const {{pascalCase route.name}} = () => {
|
|
|
60
60
|
|
|
61
61
|
return (
|
|
62
62
|
<section className="{{kebabCase route.name}}-page">
|
|
63
|
-
<Layout model={
|
|
63
|
+
<Layout model={model} factory={factory} onModelChange={onModelChange} />
|
|
64
64
|
</section>
|
|
65
65
|
);
|
|
66
66
|
};
|
package/.genx/versions.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.23.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.23.0...v5.23.1) (2026-08-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* bump versions.UI to 15.18.0 for event-type date and wire-name fixes GENC-1526 b093abe
|
|
9
|
+
* bump versions.UI to 15.18.0 for event-type date and wire-name fixes GENC-1526 (#617) aafb04f
|
|
10
|
+
* satisfy new oxlint react rules in seed template and route generator GENC-0 b5b12af
|
|
11
|
+
|
|
3
12
|
## [5.23.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.22.1...v5.23.0) (2026-08-18)
|
|
4
13
|
|
|
5
14
|
|
|
@@ -20,11 +20,14 @@ const PBCElementsRenderer = ({
|
|
|
20
20
|
predicate = ALWAYS_TRUE_PREDICATE,
|
|
21
21
|
}: PBCElementsRendererProps) => {
|
|
22
22
|
const containerRef = useRef<PBCContainerElement>(null);
|
|
23
|
-
|
|
23
|
+
// Read during render rather than set synchronously in the effect below; the
|
|
24
|
+
// subscription still delivers every later change.
|
|
25
|
+
const [isConnected, setIsConnected] = useState(
|
|
26
|
+
() => DI.getOrCreateDOMContainer().get(Connect).isConnected,
|
|
27
|
+
);
|
|
24
28
|
|
|
25
29
|
useEffect(() => {
|
|
26
30
|
const connect = DI.getOrCreateDOMContainer().get(Connect);
|
|
27
|
-
setIsConnected(connect.isConnected);
|
|
28
31
|
const isConnected$ = (
|
|
29
32
|
connect as {
|
|
30
33
|
isConnected$?: { subscribe: (cb: (v: boolean) => void) => { unsubscribe: () => void } };
|