@kuckit/sdk-react 1.0.1 → 1.0.2
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/package.json +5 -15
- package/src/index.ts +0 -62
package/package.json
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kuckit/sdk-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Frontend module loader for Kuckit SDK",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "
|
|
7
|
-
"types": "
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"types": "./
|
|
14
|
-
"default": "./
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"main": "dist/index.js",
|
|
19
|
-
"types": "dist/index.d.ts",
|
|
20
|
-
"exports": {
|
|
21
|
-
".": {
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
23
|
-
"default": "./dist/index.js"
|
|
24
|
-
}
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
25
15
|
}
|
|
26
16
|
},
|
|
27
17
|
"scripts": {
|
package/src/index.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// Types
|
|
2
|
-
export type {
|
|
3
|
-
KuckitClientModuleMeta,
|
|
4
|
-
KuckitClientModuleContext,
|
|
5
|
-
KuckitClientModuleHooks,
|
|
6
|
-
KuckitClientModuleDefinition,
|
|
7
|
-
ClientModuleSpec,
|
|
8
|
-
LoadedClientModule,
|
|
9
|
-
RouteDefinition,
|
|
10
|
-
RouteMeta,
|
|
11
|
-
NavItem,
|
|
12
|
-
SlotOptions,
|
|
13
|
-
SlotRegistration,
|
|
14
|
-
// Capability types
|
|
15
|
-
BuiltInCapability,
|
|
16
|
-
ModuleCapability,
|
|
17
|
-
} from './types'
|
|
18
|
-
|
|
19
|
-
// Module definition helper
|
|
20
|
-
export { defineKuckitClientModule } from './define-module'
|
|
21
|
-
|
|
22
|
-
// Module loader
|
|
23
|
-
export {
|
|
24
|
-
loadKuckitClientModules,
|
|
25
|
-
createClientModuleUnloadHandler,
|
|
26
|
-
type LoadClientModulesOptions,
|
|
27
|
-
type LoadClientModulesResult,
|
|
28
|
-
} from './loader'
|
|
29
|
-
|
|
30
|
-
// Registries
|
|
31
|
-
export {
|
|
32
|
-
RouteRegistry,
|
|
33
|
-
NavRegistry,
|
|
34
|
-
SlotRegistry,
|
|
35
|
-
createComponentRegistry,
|
|
36
|
-
createRegistries,
|
|
37
|
-
type ComponentRegistry,
|
|
38
|
-
type NavTreeItem,
|
|
39
|
-
// Module registry and capability helpers
|
|
40
|
-
ClientModuleRegistry,
|
|
41
|
-
getClientModuleRegistry,
|
|
42
|
-
getClientModulesWithCapability,
|
|
43
|
-
resetClientModuleRegistry,
|
|
44
|
-
type LoadedClientModuleInfo,
|
|
45
|
-
} from './registry'
|
|
46
|
-
|
|
47
|
-
// Navigation provider and hooks
|
|
48
|
-
export { KuckitNavProvider, useKuckitNav, useNavItems, useNavTree } from './registry'
|
|
49
|
-
|
|
50
|
-
// Slot provider, component, and hooks
|
|
51
|
-
export {
|
|
52
|
-
KuckitSlotProvider,
|
|
53
|
-
KuckitSlot,
|
|
54
|
-
useSlotRegistry,
|
|
55
|
-
useSlot,
|
|
56
|
-
useHasSlot,
|
|
57
|
-
type KuckitSlotProviderProps,
|
|
58
|
-
type KuckitSlotProps,
|
|
59
|
-
} from './slots'
|
|
60
|
-
|
|
61
|
-
// RPC provider and hooks
|
|
62
|
-
export { KuckitRpcProvider, useRpc, useHasRpc, type KuckitRpcProviderProps } from './rpc-context'
|