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.
- package/CHANGELOG.md +76 -0
- package/LICENSE +21 -0
- package/README.md +553 -537
- package/dist/img/watercolorui-old.png +0 -0
- package/dist/img/watercolorui.png +0 -0
- package/dist/src/components/Accordion/Accordion.d.ts +2 -1
- package/dist/src/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/src/components/Accordion/Accordion.vue.d.ts +2 -0
- package/dist/src/components/Accordion/Accordion.vue.d.ts.map +1 -1
- package/dist/src/components/Autocomplete/Autocomplete.d.ts +39 -0
- package/dist/src/components/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/src/components/Autocomplete/Autocomplete.vue.d.ts +60 -0
- package/dist/src/components/Autocomplete/Autocomplete.vue.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/src/components/Avatar/Avatar.vue.d.ts +2 -2
- package/dist/src/components/Button/Button.vue.d.ts +7 -7
- package/dist/src/components/Button/Fab.d.ts +20 -0
- package/dist/src/components/Button/Fab.d.ts.map +1 -0
- package/dist/src/components/Button/Fab.vue.d.ts +4 -4
- package/dist/src/components/Button/IconButton.d.ts +19 -0
- package/dist/src/components/Button/IconButton.d.ts.map +1 -0
- package/dist/src/components/Button/IconButton.vue.d.ts +2 -2
- package/dist/src/components/Card/CardActions.d.ts +13 -0
- package/dist/src/components/Card/CardActions.d.ts.map +1 -0
- package/dist/src/components/Card/CardContent.d.ts +12 -0
- package/dist/src/components/Card/CardContent.d.ts.map +1 -0
- package/dist/src/components/Checkbox/Checkbox.vue.d.ts +6 -6
- package/dist/src/components/Chip/Chip.vue.d.ts +4 -4
- package/dist/src/components/CircularProgress/CircularProgress.d.ts +4 -1
- package/dist/src/components/CircularProgress/CircularProgress.d.ts.map +1 -1
- package/dist/src/components/CircularProgress/CircularProgress.vue.d.ts +6 -0
- package/dist/src/components/CircularProgress/utils.d.ts.map +1 -1
- package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/dist/src/components/ColorPicker/ColorPicker.vue.d.ts.map +1 -1
- package/dist/src/components/DatePicker/DatePicker.vue.d.ts +6 -6
- package/dist/src/components/Divider/Divider.d.ts +13 -0
- package/dist/src/components/Divider/Divider.d.ts.map +1 -0
- package/dist/src/components/Divider/Divider.vue.d.ts +17 -0
- package/dist/src/components/Divider/Divider.vue.d.ts.map +1 -0
- package/dist/src/components/Divider/utils.d.ts +9 -0
- package/dist/src/components/Divider/utils.d.ts.map +1 -0
- package/dist/src/components/Feature/Feature.vue.d.ts +1 -1
- package/dist/src/components/Feed/Feed.d.ts.map +1 -1
- package/dist/src/components/Form/FormControl.vue.d.ts +2 -2
- package/dist/src/components/Form/FormControlLabel.vue.d.ts +2 -2
- package/dist/src/components/Form/FormHelperText.vue.d.ts +2 -2
- package/dist/src/components/Grid/Grid.vue.d.ts +4 -4
- package/dist/src/components/HoverCard/HoverCard.vue.d.ts +1 -1
- package/dist/src/components/Icon/Icon.d.ts.map +1 -1
- package/dist/src/components/Icon/Icon.vue.d.ts +2 -2
- package/dist/src/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/src/components/Input/Input.vue.d.ts +9 -9
- package/dist/src/components/List/List.d.ts.map +1 -1
- package/dist/src/components/List/List.vue.d.ts.map +1 -1
- package/dist/src/components/List/ListItem.d.ts +6 -3
- package/dist/src/components/List/ListItem.d.ts.map +1 -1
- package/dist/src/components/List/ListItem.vue.d.ts +12 -11
- package/dist/src/components/List/ListItem.vue.d.ts.map +1 -1
- package/dist/src/components/List/ListItemIcon.d.ts +2 -1
- package/dist/src/components/List/ListItemIcon.d.ts.map +1 -1
- package/dist/src/components/List/ListItemIcon.vue.d.ts +9 -2
- package/dist/src/components/List/ListItemIcon.vue.d.ts.map +1 -1
- package/dist/src/components/List/ListItemText.d.ts +1 -3
- package/dist/src/components/List/ListItemText.d.ts.map +1 -1
- package/dist/src/components/List/ListItemText.vue.d.ts +2 -3
- package/dist/src/components/List/ListItemText.vue.d.ts.map +1 -1
- package/dist/src/components/Menu/Menu.d.ts +21 -15
- package/dist/src/components/Menu/Menu.d.ts.map +1 -1
- package/dist/src/components/{Dropdown/Dropdown.vue.d.ts → Menu/Menu.vue.d.ts} +8 -8
- package/dist/src/components/Menu/Menu.vue.d.ts.map +1 -0
- package/dist/src/components/Menu/utils.d.ts +77 -22
- package/dist/src/components/Menu/utils.d.ts.map +1 -1
- package/dist/src/components/Modal/Modal.vue.d.ts +4 -4
- package/dist/src/components/Pagination/Pagination.vue.d.ts +2 -2
- package/dist/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/src/components/PricingTable/PricingTable.d.ts.map +1 -1
- package/dist/src/components/Progress/Progress.vue.d.ts +6 -6
- package/dist/src/components/Radio/Radio.d.ts +17 -2
- package/dist/src/components/Radio/Radio.d.ts.map +1 -1
- package/dist/src/components/Radio/Radio.vue.d.ts +6 -6
- package/dist/src/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/src/components/Radio/RadioGroup.vue.d.ts +8 -8
- package/dist/src/components/Radio/RadioGroup.vue.d.ts.map +1 -1
- package/dist/src/components/Rating/Rating.vue.d.ts +1 -1
- package/dist/src/components/Select/Select.d.ts +1 -2
- package/dist/src/components/Select/Select.d.ts.map +1 -1
- package/dist/src/components/Select/Select.vue.d.ts +10 -12
- package/dist/src/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/src/components/SlideOver/SlideOver.vue.d.ts +1 -1
- package/dist/src/components/Slider/Slider.vue.d.ts +4 -4
- package/dist/src/components/Snackbar/Snackbar.d.ts +3 -1
- package/dist/src/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/dist/src/components/Snackbar/Snackbar.vue.d.ts +3 -3
- package/dist/src/components/Snackbar/Snackbar.vue.d.ts.map +1 -1
- package/dist/src/components/Switch/Switch.d.ts.map +1 -1
- package/dist/src/components/Switch/Switch.vue.d.ts +6 -6
- package/dist/src/components/TextField/TextField.vue.d.ts +11 -11
- package/dist/src/components/TypingText/TypingText.vue.d.ts +1 -1
- package/dist/src/components/Watermark/Watermark.vue.d.ts +2 -2
- package/dist/src/entry-react.d.ts +11 -6
- package/dist/src/entry-react.d.ts.map +1 -1
- package/dist/src/entry-vue.d.ts +2 -7
- package/dist/src/entry-vue.d.ts.map +1 -1
- package/dist/src/index.d.ts +35 -15
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mui-compat.d.ts +70 -17
- package/dist/src/mui-compat.d.ts.map +1 -1
- package/dist/vite.config.d.ts +1 -1
- package/dist/watercolor-ui.css +1 -1
- package/dist/watercolor-ui.es.js +6405 -6249
- package/dist/watercolor-ui.umd.js +20 -20
- package/package.json +13 -7
- package/public/img/watercolorui.png +0 -0
- package/dist/src/components/Countdown/Countdown.d.ts +0 -4
- package/dist/src/components/Countdown/Countdown.d.ts.map +0 -1
- package/dist/src/components/Countdown/Countdown.vue.d.ts +0 -30
- package/dist/src/components/Countdown/Countdown.vue.d.ts.map +0 -1
- package/dist/src/components/Countdown/utils.d.ts +0 -82
- package/dist/src/components/Countdown/utils.d.ts.map +0 -1
- package/dist/src/components/Dropdown/Dropdown.d.ts +0 -26
- package/dist/src/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/src/components/Dropdown/Dropdown.vue.d.ts.map +0 -1
- package/dist/src/components/Dropdown/utils.d.ts +0 -78
- package/dist/src/components/Dropdown/utils.d.ts.map +0 -1
- package/dist/src/components/Marquee/Marquee.d.ts +0 -33
- package/dist/src/components/Marquee/Marquee.d.ts.map +0 -1
- package/dist/src/components/Marquee/Marquee.vue.d.ts +0 -194
- package/dist/src/components/Marquee/Marquee.vue.d.ts.map +0 -1
- package/dist/src/components/Marquee/utils.d.ts +0 -55
- package/dist/src/components/Marquee/utils.d.ts.map +0 -1
- package/dist/src/components/Paradox/Paradox.d.ts +0 -12
- package/dist/src/components/Paradox/Paradox.d.ts.map +0 -1
- package/dist/src/components/Paradox/Paradox.vue.d.ts +0 -109
- package/dist/src/components/Paradox/Paradox.vue.d.ts.map +0 -1
- package/dist/src/components/Paradox/utils.d.ts +0 -128
- package/dist/src/components/Paradox/utils.d.ts.map +0 -1
- package/dist/src/components/Spinner/Spinner.d.ts +0 -14
- package/dist/src/components/Spinner/Spinner.d.ts.map +0 -1
- package/dist/src/components/Spinner/Spinner.vue.d.ts +0 -38
- package/dist/src/components/Spinner/Spinner.vue.d.ts.map +0 -1
- package/dist/src/components/Spinner/utils.d.ts +0 -141
- 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.
|