@nubitio/admin 0.9.9 → 0.10.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 CHANGED
@@ -1366,10 +1366,13 @@ function createNubitApp(config) {
1366
1366
  function App() {
1367
1367
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_tanstack_react_query.QueryClientProvider, {
1368
1368
  client: queryClient,
1369
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_nubitio_ui.ThemeProvider, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SessionProvider, {
1370
- apiBaseUrl,
1371
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NubitAuthenticatedApp, { config })
1372
- }) })
1369
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_nubitio_ui.ThemeProvider, {
1370
+ basePath: config.themeBasePath,
1371
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SessionProvider, {
1372
+ apiBaseUrl,
1373
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NubitAuthenticatedApp, { config })
1374
+ })
1375
+ })
1373
1376
  });
1374
1377
  }
1375
1378
  return { App };
package/dist/index.d.cts CHANGED
@@ -449,7 +449,8 @@ type CreateNubitAppConfig = {
449
449
  homePath?: string;
450
450
  locale?: string;
451
451
  timezone?: string;
452
- currency?: string;
452
+ currency?: string; /** Base URL for generated theme CSS files. Default `/themes/`. */
453
+ themeBasePath?: string;
453
454
  menu: NubitAppMenuItem[] | ((ctx: NubitAppMenuContext) => NubitAppMenuItem[]);
454
455
  routes: NubitAppRoute[];
455
456
  /**
package/dist/index.d.mts CHANGED
@@ -449,7 +449,8 @@ type CreateNubitAppConfig = {
449
449
  homePath?: string;
450
450
  locale?: string;
451
451
  timezone?: string;
452
- currency?: string;
452
+ currency?: string; /** Base URL for generated theme CSS files. Default `/themes/`. */
453
+ themeBasePath?: string;
453
454
  menu: NubitAppMenuItem[] | ((ctx: NubitAppMenuContext) => NubitAppMenuItem[]);
454
455
  routes: NubitAppRoute[];
455
456
  /**
package/dist/index.mjs CHANGED
@@ -1342,10 +1342,13 @@ function createNubitApp(config) {
1342
1342
  function App() {
1343
1343
  return /* @__PURE__ */ jsx(QueryClientProvider, {
1344
1344
  client: queryClient,
1345
- children: /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(SessionProvider, {
1346
- apiBaseUrl,
1347
- children: /* @__PURE__ */ jsx(NubitAuthenticatedApp, { config })
1348
- }) })
1345
+ children: /* @__PURE__ */ jsx(ThemeProvider, {
1346
+ basePath: config.themeBasePath,
1347
+ children: /* @__PURE__ */ jsx(SessionProvider, {
1348
+ apiBaseUrl,
1349
+ children: /* @__PURE__ */ jsx(NubitAuthenticatedApp, { config })
1350
+ })
1351
+ })
1349
1352
  });
1350
1353
  }
1351
1354
  return { App };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/admin",
3
- "version": "0.9.9",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "description": "Admin shell layout components: responsive sidebar, header, and screen size utilities for Nubit apps.",
6
6
  "license": "MIT",
@@ -53,9 +53,9 @@
53
53
  "react": "^18.2.0 || ^19.0.0",
54
54
  "react-dom": "^18.2.0 || ^19.0.0",
55
55
  "react-router-dom": "^6.0.0",
56
- "@nubitio/hydra": "^0.9.9",
57
- "@nubitio/core": "^0.9.9",
58
- "@nubitio/ui": "^0.9.9",
59
- "@nubitio/crud": "^0.9.9"
56
+ "@nubitio/core": "^0.10.0",
57
+ "@nubitio/crud": "^0.10.0",
58
+ "@nubitio/hydra": "^0.10.0",
59
+ "@nubitio/ui": "^0.10.0"
60
60
  }
61
61
  }