@hamak/ui-shell-api 0.5.1 → 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.
- package/dist/api/IFeatureManager.d.ts +1 -1
- package/dist/api/ILayoutManager.d.ts +1 -1
- package/dist/api/IRouter.d.ts +1 -1
- package/dist/api/IShell.d.ts +4 -4
- package/dist/api/IThemeManager.d.ts +1 -1
- package/dist/api/index.d.ts +5 -5
- package/dist/api/index.js +5 -5
- package/dist/es2015/api/index.js +5 -5
- package/dist/es2015/tokens/index.js +1 -1
- package/dist/es2015/types/index.js +6 -6
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +6 -6
- package/dist/types/shell-context.d.ts +3 -3
- package/package.json +2 -2
|
@@ -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
|
package/dist/api/IRouter.d.ts
CHANGED
package/dist/api/IShell.d.ts
CHANGED
|
@@ -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
|
package/dist/api/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/es2015/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,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';
|
package/dist/tokens/index.d.ts
CHANGED
package/dist/tokens/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
package/dist/types/index.js
CHANGED
|
@@ -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.
|
|
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": [
|