chore: 版本号重置为 v0.1.1, 更新 site/ 文档页面移除 v2.0 标记

This commit is contained in:
2026-07-24 14:19:53 +08:00
parent a6c6714b54
commit eebd669b7f
17 changed files with 37 additions and 36 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* MetonaToast Animations - 动画管理(精简版 v2.0.1
* MetonaToast Animations - 动画管理 v0.1.1
* @module animations
* @description 动画注册与管理,移除未使用的 Web Animations API dead code
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Constants - 常量定义
* @module constants
* @version 2.0.1
* @version 0.1.1
* @description 默认配置、颜色、动画、主题等常量
*/
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Core - 核心Toast逻辑
* @module core
* @version 2.0.1
* @version 0.1.1
* @description 重构后的核心模块,包含Toast类的优化实现
*/
@@ -621,7 +621,7 @@ const _actionHTML = (actions) => {
const meToast = {
_toasts: new Map(),
_config: { ...DEFAULTS },
version: '2.0.1',
version: '0.1.1',
configure(opts) {
if (!opts || typeof opts !== 'object') return this;
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast i18n - 国际化管理
* @module i18n
* @version 2.0.1
* @version 0.1.1
* @description 多语言支持、语言切换和翻译管理
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Icons — 图标SVG定义
* @module icons
* @version 2.0.1
* @version 0.1.1
* @description 80+ 内置SVG图标
*/
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast - 轻量级Toast通知库
* @module metona-toast
* @version 2.0.1
* @version 0.1.1
* @author thzxx
* @description 轻量、零依赖、精致美观的Toast通知库。单文件,开箱即用。
* @license MIT
@@ -15,7 +15,7 @@ import { pluginUtils, presetPlugins } from './plugins.js';
import { DEFAULTS } from './constants.js';
// 版本信息
const VERSION = '2.0.1';
const VERSION = '0.1.1';
/**
* 主对象增强
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Locales — 国际化翻译数据
* @module locales
* @version 2.0.1
* @version 0.1.1
* @description 内置 zh-CN / en-US 完整翻译
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Plugins - 插件系统
* @module plugins
* @version 2.0.1
* @version 0.1.1
* @description 插件管理器 + 3 款预设插件 (keyboard / persistence / accessibility)
*/
+2 -1
View File
@@ -1,6 +1,7 @@
/**
* MetonaToast Styles - 样式管理(精简版 v2.0.1
* MetonaToast Styles - 样式管理(精简版 v0.1.1
* @module styles
* @version 0.1.1
* @description 样式注入与主题管理,移除未使用的组件样式
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Themes - 主题管理
* @module themes
* @version 2.0.1
* @version 0.1.1
* @description 主题系统、自定义主题和主题切换
*/
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* MetonaToast Utils - 精简工具函数
* @module utils
* @version 2.0.1
* @version 0.1.1
* @description 仅保留核心模块实际使用的工具函数
*/