@hamak/ui-shell-api 0.5.2 → 0.5.5

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.
@@ -2,7 +2,7 @@
2
2
  * Feature Manager Interface
3
3
  * Public API contract for feature flag management
4
4
  */
5
- import type { FeatureFlags } from '../types';
5
+ import type { FeatureFlags } from '../types/index.js';
6
6
  export interface IFeatureManager {
7
7
  /**
8
8
  * Check if a feature is enabled (boolean features)
@@ -2,7 +2,7 @@
2
2
  * Layout Manager Interface
3
3
  * Public API contract for layout management
4
4
  */
5
- import type { LayoutSlot, LayoutArea } from '../types';
5
+ import type { LayoutSlot, LayoutArea } from '../types/index.js';
6
6
  export interface ILayoutManager {
7
7
  /**
8
8
  * Register a layout slot
@@ -2,7 +2,7 @@
2
2
  * Router Interface
3
3
  * Public API contract for routing
4
4
  */
5
- import type { RouteConfig } from '../types';
5
+ import type { RouteConfig } from '../types/index.js';
6
6
  export interface IRouter {
7
7
  /**
8
8
  * Navigate to a path
@@ -2,10 +2,10 @@
2
2
  * Shell Interface
3
3
  * Public API contract for the UI Shell
4
4
  */
5
- import type { ShellConfig, ShellContext, ShellEventListener, ShellEventType } from '../types';
6
- import type { IThemeManager } from './IThemeManager';
7
- import type { IFeatureManager } from './IFeatureManager';
8
- import type { IRouter } from './IRouter';
5
+ import type { ShellConfig, ShellContext, ShellEventListener, ShellEventType } from '../types/index.js';
6
+ import type { IThemeManager } from './IThemeManager.js';
7
+ import type { IFeatureManager } from './IFeatureManager.js';
8
+ import type { IRouter } from './IRouter.js';
9
9
  export interface IShell {
10
10
  /**
11
11
  * Initialize the shell
@@ -2,7 +2,7 @@
2
2
  * Theme Manager Interface
3
3
  * Public API contract for theme management
4
4
  */
5
- import type { ThemeMode } from '../types';
5
+ import type { ThemeMode } from '../types/index.js';
6
6
  export interface IThemeManager {
7
7
  /**
8
8
  * Get the current theme mode
@@ -2,9 +2,9 @@
2
2
  * UI Shell API Interfaces
3
3
  * All public interface definitions
4
4
  */
5
- export * from './IShell';
6
- export * from './IThemeManager';
7
- export * from './IFeatureManager';
8
- export * from './IRouter';
9
- export * from './ILayoutManager';
5
+ export * from './IShell.js';
6
+ export * from './IThemeManager.js';
7
+ export * from './IFeatureManager.js';
8
+ export * from './IRouter.js';
9
+ export * from './ILayoutManager.js';
10
10
  //# sourceMappingURL=index.d.ts.map
package/dist/api/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * UI Shell API Interfaces
3
3
  * All public interface definitions
4
4
  */
5
- export * from './IShell';
6
- export * from './IThemeManager';
7
- export * from './IFeatureManager';
8
- export * from './IRouter';
9
- export * from './ILayoutManager';
5
+ export * from './IShell.js';
6
+ export * from './IThemeManager.js';
7
+ export * from './IFeatureManager.js';
8
+ export * from './IRouter.js';
9
+ export * from './ILayoutManager.js';
@@ -2,8 +2,8 @@
2
2
  * UI Shell API Interfaces
3
3
  * All public interface definitions
4
4
  */
5
- export * from './IShell';
6
- export * from './IThemeManager';
7
- export * from './IFeatureManager';
8
- export * from './IRouter';
9
- export * from './ILayoutManager';
5
+ export * from './IShell.js';
6
+ export * from './IThemeManager.js';
7
+ export * from './IFeatureManager.js';
8
+ export * from './IRouter.js';
9
+ export * from './ILayoutManager.js';
@@ -2,4 +2,4 @@
2
2
  * Tokens
3
3
  * Export all service tokens
4
4
  */
5
- export * from './service-tokens';
5
+ export * from './service-tokens.js';
@@ -2,9 +2,9 @@
2
2
  * UI Shell API Types
3
3
  * All public type definitions
4
4
  */
5
- export * from './theme-types';
6
- export * from './feature-types';
7
- export * from './route-types';
8
- export * from './layout-types';
9
- export * from './event-types';
10
- export * from './shell-context';
5
+ export * from './theme-types.js';
6
+ export * from './feature-types.js';
7
+ export * from './route-types.js';
8
+ export * from './layout-types.js';
9
+ export * from './event-types.js';
10
+ export * from './shell-context.js';
@@ -2,5 +2,5 @@
2
2
  * Tokens
3
3
  * Export all service tokens
4
4
  */
5
- export * from './service-tokens';
5
+ export * from './service-tokens.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,4 @@
2
2
  * Tokens
3
3
  * Export all service tokens
4
4
  */
5
- export * from './service-tokens';
5
+ export * from './service-tokens.js';
@@ -2,10 +2,10 @@
2
2
  * UI Shell API Types
3
3
  * All public type definitions
4
4
  */
5
- export * from './theme-types';
6
- export * from './feature-types';
7
- export * from './route-types';
8
- export * from './layout-types';
9
- export * from './event-types';
10
- export * from './shell-context';
5
+ export * from './theme-types.js';
6
+ export * from './feature-types.js';
7
+ export * from './route-types.js';
8
+ export * from './layout-types.js';
9
+ export * from './event-types.js';
10
+ export * from './shell-context.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -2,9 +2,9 @@
2
2
  * UI Shell API Types
3
3
  * All public type definitions
4
4
  */
5
- export * from './theme-types';
6
- export * from './feature-types';
7
- export * from './route-types';
8
- export * from './layout-types';
9
- export * from './event-types';
10
- export * from './shell-context';
5
+ export * from './theme-types.js';
6
+ export * from './feature-types.js';
7
+ export * from './route-types.js';
8
+ export * from './layout-types.js';
9
+ export * from './event-types.js';
10
+ export * from './shell-context.js';
@@ -2,9 +2,9 @@
2
2
  * Shell Context Types
3
3
  * Type definitions for shell context
4
4
  */
5
- import type { ThemeMode, ThemeConfig } from './theme-types';
6
- import type { FeatureFlags } from './feature-types';
7
- import type { ViewportInfo } from './layout-types';
5
+ import type { ThemeMode, ThemeConfig } from './theme-types.js';
6
+ import type { FeatureFlags } from './feature-types.js';
7
+ import type { ViewportInfo } from './layout-types.js';
8
8
  export interface ShellConfig {
9
9
  /** Theme configuration */
10
10
  theme?: ThemeConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hamak/ui-shell-api",
3
- "version": "0.5.2",
3
+ "version": "0.5.5",
4
4
  "description": "[DEPRECATED] Use @hamak/ui-shell/api instead",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "scripts": {
27
- "build": "tsc -p tsconfig.lib.json",
27
+ "build": "tsc -p tsconfig.lib.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
28
28
  "clean": "rm -rf dist"
29
29
  },
30
30
  "keywords": [