snail.view 1.0.0 → 1.0.1
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/snail.view.d.ts +6 -1
- package/dist/snail.view.js +1 -1
- package/package.json +1 -1
package/dist/snail.view.d.ts
CHANGED
|
@@ -418,10 +418,15 @@ type TransitionStyle = {
|
|
|
418
418
|
* 2、【后续支持】构建style标签,并生成css样式插入到页面
|
|
419
419
|
*/
|
|
420
420
|
|
|
421
|
+
/**
|
|
422
|
+
* 使用【样式管理器】
|
|
423
|
+
* @returns 全新的【样式管理器】
|
|
424
|
+
*/
|
|
425
|
+
declare function useStyle(): IStyleManager;
|
|
421
426
|
/**
|
|
422
427
|
* 全局的【样式管理器】
|
|
423
428
|
*/
|
|
424
429
|
declare const style: IStyleManager;
|
|
425
430
|
|
|
426
|
-
export { configLink, link, linkMap, style, useAnimation, useLink };
|
|
431
|
+
export { configLink, link, linkMap, style, useAnimation, useLink, useStyle };
|
|
427
432
|
export type { AlignStyle, AllStyle, BorderStyle, ElementSize, IAnimationManager, ILinkManager, IObserver, IStyleManager, LinkElement, LinkFile, LinkOptions, MarginStyle, PaddingStyle, SizeOptions, SizeStyle, TransitionEffectOptions, TransitionStyle };
|
package/dist/snail.view.js
CHANGED
package/package.json
CHANGED