watercolor-ui 1.0.1 → 1.1.13

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.
Files changed (142) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/LICENSE +21 -0
  3. package/README.md +553 -537
  4. package/dist/img/watercolorui-old.png +0 -0
  5. package/dist/img/watercolorui.png +0 -0
  6. package/dist/src/components/Accordion/Accordion.d.ts +2 -1
  7. package/dist/src/components/Accordion/Accordion.d.ts.map +1 -1
  8. package/dist/src/components/Accordion/Accordion.vue.d.ts +2 -0
  9. package/dist/src/components/Accordion/Accordion.vue.d.ts.map +1 -1
  10. package/dist/src/components/Autocomplete/Autocomplete.d.ts +39 -0
  11. package/dist/src/components/Autocomplete/Autocomplete.d.ts.map +1 -0
  12. package/dist/src/components/Autocomplete/Autocomplete.vue.d.ts +60 -0
  13. package/dist/src/components/Autocomplete/Autocomplete.vue.d.ts.map +1 -0
  14. package/dist/src/components/Avatar/Avatar.d.ts.map +1 -1
  15. package/dist/src/components/Avatar/Avatar.vue.d.ts +2 -2
  16. package/dist/src/components/Button/Button.vue.d.ts +7 -7
  17. package/dist/src/components/Button/Fab.d.ts +20 -0
  18. package/dist/src/components/Button/Fab.d.ts.map +1 -0
  19. package/dist/src/components/Button/Fab.vue.d.ts +4 -4
  20. package/dist/src/components/Button/IconButton.d.ts +19 -0
  21. package/dist/src/components/Button/IconButton.d.ts.map +1 -0
  22. package/dist/src/components/Button/IconButton.vue.d.ts +2 -2
  23. package/dist/src/components/Card/CardActions.d.ts +13 -0
  24. package/dist/src/components/Card/CardActions.d.ts.map +1 -0
  25. package/dist/src/components/Card/CardContent.d.ts +12 -0
  26. package/dist/src/components/Card/CardContent.d.ts.map +1 -0
  27. package/dist/src/components/Checkbox/Checkbox.vue.d.ts +6 -6
  28. package/dist/src/components/Chip/Chip.vue.d.ts +4 -4
  29. package/dist/src/components/CircularProgress/CircularProgress.d.ts +4 -1
  30. package/dist/src/components/CircularProgress/CircularProgress.d.ts.map +1 -1
  31. package/dist/src/components/CircularProgress/CircularProgress.vue.d.ts +6 -0
  32. package/dist/src/components/CircularProgress/utils.d.ts.map +1 -1
  33. package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts +2 -2
  34. package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
  35. package/dist/src/components/DatePicker/DatePicker.vue.d.ts +6 -6
  36. package/dist/src/components/Divider/Divider.d.ts +13 -0
  37. package/dist/src/components/Divider/Divider.d.ts.map +1 -0
  38. package/dist/src/components/Divider/Divider.vue.d.ts +17 -0
  39. package/dist/src/components/Divider/Divider.vue.d.ts.map +1 -0
  40. package/dist/src/components/Divider/utils.d.ts +9 -0
  41. package/dist/src/components/Divider/utils.d.ts.map +1 -0
  42. package/dist/src/components/Feature/Feature.vue.d.ts +1 -1
  43. package/dist/src/components/Feed/Feed.d.ts.map +1 -1
  44. package/dist/src/components/Form/FormControl.vue.d.ts +2 -2
  45. package/dist/src/components/Form/FormControlLabel.vue.d.ts +2 -2
  46. package/dist/src/components/Form/FormHelperText.vue.d.ts +2 -2
  47. package/dist/src/components/Grid/Grid.vue.d.ts +4 -4
  48. package/dist/src/components/HoverCard/HoverCard.vue.d.ts +1 -1
  49. package/dist/src/components/Icon/Icon.d.ts.map +1 -1
  50. package/dist/src/components/Icon/Icon.vue.d.ts +2 -2
  51. package/dist/src/components/Icon/Icon.vue.d.ts.map +1 -1
  52. package/dist/src/components/Input/Input.vue.d.ts +9 -9
  53. package/dist/src/components/List/List.d.ts.map +1 -1
  54. package/dist/src/components/List/List.vue.d.ts.map +1 -1
  55. package/dist/src/components/List/ListItem.d.ts +6 -3
  56. package/dist/src/components/List/ListItem.d.ts.map +1 -1
  57. package/dist/src/components/List/ListItem.vue.d.ts +12 -11
  58. package/dist/src/components/List/ListItem.vue.d.ts.map +1 -1
  59. package/dist/src/components/List/ListItemIcon.d.ts +2 -1
  60. package/dist/src/components/List/ListItemIcon.d.ts.map +1 -1
  61. package/dist/src/components/List/ListItemIcon.vue.d.ts +9 -2
  62. package/dist/src/components/List/ListItemIcon.vue.d.ts.map +1 -1
  63. package/dist/src/components/List/ListItemText.d.ts +1 -3
  64. package/dist/src/components/List/ListItemText.d.ts.map +1 -1
  65. package/dist/src/components/List/ListItemText.vue.d.ts +2 -3
  66. package/dist/src/components/List/ListItemText.vue.d.ts.map +1 -1
  67. package/dist/src/components/Menu/Menu.d.ts +21 -15
  68. package/dist/src/components/Menu/Menu.d.ts.map +1 -1
  69. package/dist/src/components/{Dropdown/Dropdown.vue.d.ts → Menu/Menu.vue.d.ts} +8 -8
  70. package/dist/src/components/Menu/Menu.vue.d.ts.map +1 -0
  71. package/dist/src/components/Menu/utils.d.ts +77 -22
  72. package/dist/src/components/Menu/utils.d.ts.map +1 -1
  73. package/dist/src/components/Modal/Modal.vue.d.ts +4 -4
  74. package/dist/src/components/Pagination/Pagination.vue.d.ts +2 -2
  75. package/dist/src/components/Popover/Popover.d.ts.map +1 -1
  76. package/dist/src/components/PricingTable/PricingTable.d.ts.map +1 -1
  77. package/dist/src/components/Progress/Progress.vue.d.ts +6 -6
  78. package/dist/src/components/Radio/Radio.d.ts +17 -2
  79. package/dist/src/components/Radio/Radio.d.ts.map +1 -1
  80. package/dist/src/components/Radio/Radio.vue.d.ts +6 -6
  81. package/dist/src/components/Radio/Radio.vue.d.ts.map +1 -1
  82. package/dist/src/components/Radio/RadioGroup.vue.d.ts +8 -8
  83. package/dist/src/components/Radio/RadioGroup.vue.d.ts.map +1 -1
  84. package/dist/src/components/Rating/Rating.vue.d.ts +1 -1
  85. package/dist/src/components/Select/Select.d.ts +1 -2
  86. package/dist/src/components/Select/Select.d.ts.map +1 -1
  87. package/dist/src/components/Select/Select.vue.d.ts +10 -12
  88. package/dist/src/components/Select/Select.vue.d.ts.map +1 -1
  89. package/dist/src/components/SlideOver/SlideOver.vue.d.ts +1 -1
  90. package/dist/src/components/Slider/Slider.vue.d.ts +4 -4
  91. package/dist/src/components/Snackbar/Snackbar.d.ts +3 -1
  92. package/dist/src/components/Snackbar/Snackbar.d.ts.map +1 -1
  93. package/dist/src/components/Snackbar/Snackbar.vue.d.ts +3 -3
  94. package/dist/src/components/Snackbar/Snackbar.vue.d.ts.map +1 -1
  95. package/dist/src/components/Switch/Switch.d.ts.map +1 -1
  96. package/dist/src/components/Switch/Switch.vue.d.ts +6 -6
  97. package/dist/src/components/TextField/TextField.vue.d.ts +11 -11
  98. package/dist/src/components/TypingText/TypingText.vue.d.ts +1 -1
  99. package/dist/src/components/Watermark/Watermark.vue.d.ts +2 -2
  100. package/dist/src/entry-react.d.ts +11 -6
  101. package/dist/src/entry-react.d.ts.map +1 -1
  102. package/dist/src/entry-vue.d.ts +2 -7
  103. package/dist/src/entry-vue.d.ts.map +1 -1
  104. package/dist/src/index.d.ts +35 -15
  105. package/dist/src/index.d.ts.map +1 -1
  106. package/dist/src/mui-compat.d.ts +70 -17
  107. package/dist/src/mui-compat.d.ts.map +1 -1
  108. package/dist/vite.config.d.ts +1 -1
  109. package/dist/watercolor-ui.css +1 -1
  110. package/dist/watercolor-ui.es.js +6405 -6249
  111. package/dist/watercolor-ui.umd.js +20 -20
  112. package/package.json +13 -7
  113. package/public/img/watercolorui.png +0 -0
  114. package/dist/src/components/Countdown/Countdown.d.ts +0 -4
  115. package/dist/src/components/Countdown/Countdown.d.ts.map +0 -1
  116. package/dist/src/components/Countdown/Countdown.vue.d.ts +0 -30
  117. package/dist/src/components/Countdown/Countdown.vue.d.ts.map +0 -1
  118. package/dist/src/components/Countdown/utils.d.ts +0 -82
  119. package/dist/src/components/Countdown/utils.d.ts.map +0 -1
  120. package/dist/src/components/Dropdown/Dropdown.d.ts +0 -26
  121. package/dist/src/components/Dropdown/Dropdown.d.ts.map +0 -1
  122. package/dist/src/components/Dropdown/Dropdown.vue.d.ts.map +0 -1
  123. package/dist/src/components/Dropdown/utils.d.ts +0 -78
  124. package/dist/src/components/Dropdown/utils.d.ts.map +0 -1
  125. package/dist/src/components/Marquee/Marquee.d.ts +0 -33
  126. package/dist/src/components/Marquee/Marquee.d.ts.map +0 -1
  127. package/dist/src/components/Marquee/Marquee.vue.d.ts +0 -194
  128. package/dist/src/components/Marquee/Marquee.vue.d.ts.map +0 -1
  129. package/dist/src/components/Marquee/utils.d.ts +0 -55
  130. package/dist/src/components/Marquee/utils.d.ts.map +0 -1
  131. package/dist/src/components/Paradox/Paradox.d.ts +0 -12
  132. package/dist/src/components/Paradox/Paradox.d.ts.map +0 -1
  133. package/dist/src/components/Paradox/Paradox.vue.d.ts +0 -109
  134. package/dist/src/components/Paradox/Paradox.vue.d.ts.map +0 -1
  135. package/dist/src/components/Paradox/utils.d.ts +0 -128
  136. package/dist/src/components/Paradox/utils.d.ts.map +0 -1
  137. package/dist/src/components/Spinner/Spinner.d.ts +0 -14
  138. package/dist/src/components/Spinner/Spinner.d.ts.map +0 -1
  139. package/dist/src/components/Spinner/Spinner.vue.d.ts +0 -38
  140. package/dist/src/components/Spinner/Spinner.vue.d.ts.map +0 -1
  141. package/dist/src/components/Spinner/utils.d.ts +0 -141
  142. package/dist/src/components/Spinner/utils.d.ts.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,76 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.5] - 2026-01-14
9
+
10
+ ### Fixed
11
+ - 🔧 修复 CI 工作流:添加依赖安装步骤以解决发布失败问题
12
+ - 🔧 完善自动发布流程和文档
13
+
14
+ ### Added
15
+ - ✅ GitHub Actions CI/CD 自动发布工作流
16
+ - ✅ 自动发布到 GitHub Packages
17
+ - ✅ 自动发布到 npm
18
+ - ✅ 自动创建 GitHub Release
19
+
20
+ ### Documentation
21
+ - 📝 新增 CI_SETUP.md CI配置指南
22
+ - 📝 新增 PUBLISHING.md 完整发布指南
23
+ - 📝 新增 QUICK_RELEASE.md 快速发布指南
24
+ - 📝 新增自动化发布脚本 release.sh
25
+ - 📝 更新 README.md 添加 GitHub Packages 安装说明
26
+
27
+ ## [1.0.2] - 2026-01-14
28
+
29
+ ### Added
30
+ - ✅ GitHub Actions CI/CD 自动发布工作流
31
+ - ✅ 自动发布到 GitHub Packages
32
+ - ✅ 自动发布到 npm
33
+ - ✅ 自动创建 GitHub Release
34
+
35
+ ### Documentation
36
+ - 📝 新增 PUBLISHING.md 完整发布指南
37
+ - 📝 新增 QUICK_RELEASE.md 快速发布指南
38
+ - 📝 更新 README.md 添加 GitHub Packages 安装说明
39
+
40
+ ## [1.0.1] - 2026-01-13
41
+
42
+ ### Fixed
43
+ - Fixed CSS output filename to match package.json configuration
44
+ - Removed debug console.log statements from production code
45
+ - Fixed README documentation link typo
46
+
47
+ ### Changed
48
+ - Updated build configuration for proper asset naming
49
+
50
+ ## [1.0.0] - 2024-12-01
51
+
52
+ ### Added
53
+ - Initial release of Watercolor UI
54
+ - 60+ cross-framework components for Vue 3 and React 18+
55
+ - Material-UI compatibility layer for zero-cost migration
56
+ - Complete theme system with file-based configuration
57
+ - Dark mode support
58
+ - TypeScript support with full type definitions
59
+ - Storybook documentation for all components
60
+ - Comprehensive component test coverage
61
+
62
+ ### Components
63
+ - **Input Components**: Button, TextField, Select, Checkbox, Radio, Switch, Slider, DatePicker, ColorPicker, FileInput, Autocomplete, VerificationCodeInput
64
+ - **Layout Components**: Container, Box, Grid, Paper
65
+ - **Feedback Components**: Alert, Snackbar, Tooltip, Progress, Skeleton, CircularProgress, Banner
66
+ - **Data Display Components**: Table, List, Card, Avatar, Badge, Chip, Typography, Rating, Accordion, Divider, Breadcrumb
67
+ - **Navigation Components**: AppBar, Toolbar, Menu, Tabs, Pagination
68
+ - **Advanced Components**: Modal, Popover, HoverCard, SlideOver, ImageGallery, VideoPlayer, Watermark, NumberAnimation, TypingText, PricingTable, Feature, Feed, Status, Copy
69
+
70
+ ### Features
71
+ - Pure HTML+CSS implementation with no dependencies on heavy UI frameworks
72
+ - Ultra-minimal flat design philosophy (no shadows, no borders)
73
+ - Full keyboard navigation and screen reader support
74
+ - Tree-shaking optimization for optimal bundle size
75
+ - Multi-language support
76
+ - Extensive icon library integration (Heroicons, Phosphor Icons, Tabler Icons, Lucide, Feather Icons)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Watercolor UI Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.