@hamak/ui-shell-api 0.1.0 → 0.2.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/README.md +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @hamak/ui-shell-api
|
|
2
2
|
|
|
3
3
|
Public API contracts and type definitions for the UI Shell framework.
|
|
4
4
|
|
|
@@ -9,16 +9,16 @@ This package contains only interfaces and type definitions. It has zero dependen
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npm install @
|
|
12
|
+
npm install @hamak/ui-shell-api
|
|
13
13
|
# or
|
|
14
|
-
bun add @
|
|
14
|
+
bun add @hamak/ui-shell-api
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
19
19
|
```typescript
|
|
20
|
-
import type { IShell, IThemeManager, ThemeMode } from '@
|
|
21
|
-
import { SHELL_TOKEN, CommonFeatures } from '@
|
|
20
|
+
import type { IShell, IThemeManager, ThemeMode } from '@hamak/ui-shell-api';
|
|
21
|
+
import { SHELL_TOKEN, CommonFeatures } from '@hamak/ui-shell-api';
|
|
22
22
|
|
|
23
23
|
// Use types for type safety
|
|
24
24
|
function configureShell(shell: IShell) {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API surface for the UI Shell framework
|
|
4
4
|
*
|
|
5
5
|
* This package contains only type definitions and interfaces.
|
|
6
|
-
* Import implementations from @
|
|
6
|
+
* Import implementations from @hamak/ui-shell-impl
|
|
7
7
|
*/
|
|
8
8
|
export declare const version = "0.1.0";
|
|
9
9
|
export * from './types';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Public API surface for the UI Shell framework
|
|
4
4
|
*
|
|
5
5
|
* This package contains only type definitions and interfaces.
|
|
6
|
-
* Import implementations from @
|
|
6
|
+
* Import implementations from @hamak/ui-shell-impl
|
|
7
7
|
*/
|
|
8
8
|
export const version = '0.1.0';
|
|
9
9
|
// Export all types
|
package/package.json
CHANGED
package/src/index.ts
CHANGED