@hook-sdk/template 0.28.11 → 0.29.0
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/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2615,6 +2615,7 @@ function AppRoot(props) {
|
|
|
2615
2615
|
const {
|
|
2616
2616
|
config: rawConfig,
|
|
2617
2617
|
children,
|
|
2618
|
+
videos,
|
|
2618
2619
|
testRouter,
|
|
2619
2620
|
testInitialEntries,
|
|
2620
2621
|
Login,
|
|
@@ -2684,7 +2685,7 @@ function AppRoot(props) {
|
|
|
2684
2685
|
position === "pre-auth" ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(InstallGate, { position: "pre-auth", children: authGated }) : authGated,
|
|
2685
2686
|
isDevToolsEnabled() && devSkipOnboarding ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DevSkipOnboardingFab, { defaults: devSkipOnboarding.defaults }) : null
|
|
2686
2687
|
] });
|
|
2687
|
-
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ErrorBoundary, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(AppConfigProvider, { config, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TemplateConfigProvider, { config: legacyShim, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ThemeProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersistenceRegistry, { config: config.persistedKeys, children: config.i18n ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ErrorBoundary, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(AppConfigProvider, { config, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TemplateConfigProvider, { config: legacyShim, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ThemeProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PersistenceRegistry, { config: config.persistedKeys, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_sdk9.VideoProvider, { videos: videos ?? {}, children: config.i18n ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2688
2689
|
I18nProvider,
|
|
2689
2690
|
{
|
|
2690
2691
|
defaultLocale: config.i18n.defaultLocale,
|
|
@@ -2692,7 +2693,7 @@ function AppRoot(props) {
|
|
|
2692
2693
|
resources: config.i18n.resources,
|
|
2693
2694
|
children: routedTree
|
|
2694
2695
|
}
|
|
2695
|
-
) : routedTree }) }) }) }) });
|
|
2696
|
+
) : routedTree }) }) }) }) }) });
|
|
2696
2697
|
}
|
|
2697
2698
|
function AuthGated({
|
|
2698
2699
|
children,
|