@herdingbits/trailhead-cloudscape 0.0.7 → 0.0.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/dist/shell-app.d.ts.map +1 -1
- package/dist/shell-app.js +4 -0
- package/package.json +3 -3
package/dist/shell-app.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-app.d.ts","sourceRoot":"","sources":["../src/shell-app.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,UAAU,aAAa;IACrB,KAAK,EAAE,SAAS,CAAC;CAClB;AAiBD,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"shell-app.d.ts","sourceRoot":"","sources":["../src/shell-app.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAE7D,UAAU,aAAa;IACrB,KAAK,EAAE,SAAS,CAAC;CAClB;AAiBD,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,aAAa,2CAsNhD"}
|
package/dist/shell-app.js
CHANGED
|
@@ -27,6 +27,10 @@ export function ShellApp({ shell }) {
|
|
|
27
27
|
return path;
|
|
28
28
|
};
|
|
29
29
|
const [currentPath, setCurrentPath] = useState(getCurrentPath());
|
|
30
|
+
// Notify shell when React has rendered
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
shell.notifyReady();
|
|
33
|
+
}, []);
|
|
30
34
|
useEffect(() => {
|
|
31
35
|
// Connect adapter to React state
|
|
32
36
|
const adapter = shell.adapter.feedback;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herdingbits/trailhead-cloudscape",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "AWS CloudScape adapter for Trailhead. React-based shell with CloudScape components. Supports React 19.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"build": "npm run clean && tsc && cp src/shell.css dist/"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@herdingbits/trailhead-core": "^0.0.
|
|
24
|
+
"@herdingbits/trailhead-core": "^0.0.11",
|
|
25
25
|
"@cloudscape-design/components": "^3.0.0",
|
|
26
26
|
"@cloudscape-design/global-styles": "^1.0.0",
|
|
27
27
|
"react": "^19.0.0",
|
|
28
28
|
"react-dom": "^19.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@herdingbits/trailhead-types": "^0.0.
|
|
31
|
+
"@herdingbits/trailhead-types": "^0.0.9",
|
|
32
32
|
"@cloudscape-design/components": "^3.0.1203",
|
|
33
33
|
"@cloudscape-design/global-styles": "^1.0.50",
|
|
34
34
|
"@types/react": "^19.2.14",
|