hubg-app-shell 0.1.2 → 0.1.3
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/components/AppShell.d.ts +18 -4
- package/dist/components/AppShell.d.ts.map +1 -1
- package/dist/components/Header.d.ts +20 -1
- package/dist/components/Header.d.ts.map +1 -1
- package/dist/components/ModuleHost.d.ts +5 -2
- package/dist/components/ModuleHost.d.ts.map +1 -1
- package/dist/components/ShellErrorBoundary.d.ts +6 -6
- package/dist/components/ShellErrorBoundary.d.ts.map +1 -1
- package/dist/components/SideNavigation.d.ts +0 -2
- package/dist/components/SideNavigation.d.ts.map +1 -1
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/context/ShellContext.d.ts +3 -6
- package/dist/context/ShellContext.d.ts.map +1 -1
- package/dist/events/EventBus.d.ts +9 -4
- package/dist/events/EventBus.d.ts.map +1 -1
- package/dist/index.cjs.js +1658 -1167
- package/dist/index.cjs.js.map +23 -15
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1774 -1279
- package/dist/index.es.js.map +23 -15
- package/dist/platform/createPlatformAPI.d.ts +9 -4
- package/dist/platform/createPlatformAPI.d.ts.map +1 -1
- package/dist/registry/ModuleRegistry.d.ts +8 -3
- package/dist/registry/ModuleRegistry.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/context.d.ts +7 -3
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/module.d.ts +9 -7
- package/dist/types/module.d.ts.map +1 -1
- package/dist/types/navigation.d.ts +13 -21
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/getInitials.d.ts +3 -0
- package/dist/utils/getInitials.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
export type { UserContext, TenantContext, ThemeContext, ModuleContext, } from "./types/context.js";
|
|
2
2
|
export type { NavItem, NavChildGroup, NavigationGroup, NavigationConfig, } from "./types/navigation.js";
|
|
3
|
+
export type { ApplicationModule, ModuleInstance, ModuleLoader, ModuleLifecycleState, } from "./types/module.js";
|
|
4
|
+
export type { PlatformAPI, PlatformEvent, EventHandler, APIRequest, } from "./types/platform.js";
|
|
5
|
+
export type { ShellContextValue } from "./context/ShellContext.js";
|
|
6
|
+
export { useShell } from "./context/ShellContext.js";
|
|
7
|
+
export { EventBus } from "./events/EventBus.js";
|
|
8
|
+
export { ModuleRegistry } from "./registry/ModuleRegistry.js";
|
|
9
|
+
export type { ModuleDefinition } from "./registry/ModuleRegistry.js";
|
|
10
|
+
export { createPlatformAPI } from "./platform/createPlatformAPI.js";
|
|
11
|
+
export type { PlatformAPIOptions } from "./platform/createPlatformAPI.js";
|
|
3
12
|
export { AppShell } from "./components/AppShell.js";
|
|
4
13
|
export type { AppShellProps } from "./components/AppShell.js";
|
|
14
|
+
export { ModuleHost } from "./components/ModuleHost.js";
|
|
15
|
+
export type { ModuleHostProps } from "./components/ModuleHost.js";
|
|
16
|
+
export { ShellErrorBoundary } from "./components/ShellErrorBoundary.js";
|
|
5
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,GACd,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EACV,OAAO,EACP,aAAa,EACb,eAAe,EACf,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,YAAY,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