@hlw-uni-mp/use 1.1.2 → 1.1.3
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/index.d.mts +2 -9
- package/dist/index.d.ts +2 -9
- package/dist/index.js +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -203,13 +203,6 @@ interface ShareConfig {
|
|
|
203
203
|
/** 分享卡片封面图 */
|
|
204
204
|
imageUrl?: string;
|
|
205
205
|
}
|
|
206
|
-
/**
|
|
207
|
-
* 分享操作句柄
|
|
208
|
-
*/
|
|
209
|
-
interface ShareHandlers {
|
|
210
|
-
/** 显式调起分享菜单 */
|
|
211
|
-
showShareMenu: () => void;
|
|
212
|
-
}
|
|
213
206
|
/**
|
|
214
207
|
* 显式调起分享菜单
|
|
215
208
|
*/
|
|
@@ -217,7 +210,7 @@ declare function showShareMenu(): void;
|
|
|
217
210
|
/**
|
|
218
211
|
* 分享组合式函数
|
|
219
212
|
*/
|
|
220
|
-
declare function useShare(config?: ShareConfig):
|
|
213
|
+
declare function useShare(config?: ShareConfig): void;
|
|
221
214
|
|
|
222
215
|
/**
|
|
223
216
|
* useRefs - 模板 Ref 批量管理
|
|
@@ -251,4 +244,4 @@ interface UseRefsReturn<T = unknown> {
|
|
|
251
244
|
*/
|
|
252
245
|
declare function useRefs<T = unknown>(): UseRefsReturn<T>;
|
|
253
246
|
|
|
254
|
-
export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig,
|
|
247
|
+
export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
|
package/dist/index.d.ts
CHANGED
|
@@ -203,13 +203,6 @@ interface ShareConfig {
|
|
|
203
203
|
/** 分享卡片封面图 */
|
|
204
204
|
imageUrl?: string;
|
|
205
205
|
}
|
|
206
|
-
/**
|
|
207
|
-
* 分享操作句柄
|
|
208
|
-
*/
|
|
209
|
-
interface ShareHandlers {
|
|
210
|
-
/** 显式调起分享菜单 */
|
|
211
|
-
showShareMenu: () => void;
|
|
212
|
-
}
|
|
213
206
|
/**
|
|
214
207
|
* 显式调起分享菜单
|
|
215
208
|
*/
|
|
@@ -217,7 +210,7 @@ declare function showShareMenu(): void;
|
|
|
217
210
|
/**
|
|
218
211
|
* 分享组合式函数
|
|
219
212
|
*/
|
|
220
|
-
declare function useShare(config?: ShareConfig):
|
|
213
|
+
declare function useShare(config?: ShareConfig): void;
|
|
221
214
|
|
|
222
215
|
/**
|
|
223
216
|
* useRefs - 模板 Ref 批量管理
|
|
@@ -251,4 +244,4 @@ interface UseRefsReturn<T = unknown> {
|
|
|
251
244
|
*/
|
|
252
245
|
declare function useRefs<T = unknown>(): UseRefsReturn<T>;
|
|
253
246
|
|
|
254
|
-
export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig,
|
|
247
|
+
export { DEFAULT_THEME, type FontFamily, type FontFamilyPreset, type FontSize, type FontSizePreset, type HlwInstance, type HlwMsg, type InitThemeOptions, type ShareConfig, THEME_COLORS, type ThemeColor, type ThemeMode, type ThemeState, type ToastCallback, type ToastRes, type UseRefsReturn, applyTheme, fontFamilyPresets, fontSizePresets, getTheme, hlw, initTheme, showShareMenu, useMsg, useRefs, useShare, useTheme, useThemeStore };
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED