-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(sdk,mini-app): reorganize exports
- Loading branch information
Showing
3 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export { | ||
bindCssVars as bindMiniAppCssVars, | ||
close as closeMiniApp, | ||
mount as mountMiniApp, | ||
ready as miniAppReady, | ||
setHeaderColor as setMiniAppHeaderColor, | ||
setBackgroundColor as setMiniAppBackgroundColor, | ||
setBottomBarColor as setMiniAppBottomBarColor, | ||
unmount as unmountMiniApp, | ||
} from './methods.js'; | ||
export { | ||
backgroundColor as miniAppBackgroundColor, | ||
bottomBarColor as miniAppBottomBarColor, | ||
bottomBarColorRGB as miniAppBottomBarColorRGB, | ||
headerColor as miniAppHeaderColor, | ||
headerColorRGB as miniAppHeaderColorRGB, | ||
isMounted as isMiniAppMounted, | ||
isCssVarsBound as isMiniAppCssVarsBound, | ||
isDark as isMiniAppDark, | ||
state as miniAppState, | ||
} from './signals.js'; | ||
export type { | ||
HeaderColor as MiniAppHeaderColor, | ||
GetCssVarNameFn as MiniAppGetCssVarNameFn, | ||
State as MiniAppState, | ||
} from './types.js'; | ||
export * as miniApp from './exports.variable.js'; |
2 changes: 1 addition & 1 deletion
2
...rc/scopes/components/mini-app/instance.ts → ...s/components/mini-app/exports.variable.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './methods.js'; | ||
export * from './signals.js'; | ||
export * from './signals.js'; |