@creatorsn/vfluent3 0.3.40 → 0.3.45

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Creator SN
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.
package/README.md CHANGED
@@ -1,104 +1,129 @@
1
- <p align="center">
2
- <img src="https://raw.githubusercontent.com/aleversn/VFluent/master/examples/assert/logo/VFluent.png"/>
3
- </div>
4
-
5
- <p align="center">
6
- <a href="LICENSE">
7
- <img src="https://img.shields.io/badge/License-MIT-yellow.svg">
8
- </a>
9
- <a href="">
10
- <img src="https://img.shields.io/npm/dw/@creatorsn/vfluent3">
11
- </a>
12
- </p>
13
-
14
- ## Fluent UI Components based on Vite
15
-
16
- This repository provides a library of components based on [Microsoft's Fluent Design System](https://developer.microsoft.com/en-us/fluentui#/). We did our best to implement styling (such as the `Acrylic` and `Reveal` effects) of native system's (Windows 11/Windows 10) components on the Web.
17
-
18
- ### Fluent Design UI (Vue 3)
19
-
20
- #### DOCS
21
-
22
- [https://creator-sn.github.io/VFluent3/](https://creator-sn.github.io/VFluent3/)
23
-
24
- #### How to use
25
-
26
- ``` sh
27
- yarn add @creatorsn/vfluent3
28
- ```
29
-
30
- #### Dev
31
-
32
- 1. download node and yarn
33
- [node](https://nodejs.org/en/)
34
- [pnpm](https://pnpm.io/)
35
- 2. install dependencies
36
- ```sh
37
- yarn
38
- ```
39
- 3. create new component
40
- ``` sh
41
- yarn bin:new
42
- ```
43
- 4. develop with vitepress
44
- ``` sh
45
- yarn docs:dev
46
- ```
47
-
48
- #### How to commit
49
-
50
- 1. create czrc(home directory)(!!!important)
51
- ``` bash
52
- echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
53
- ```
54
-
55
- 2. run command
56
- ``` bash
57
- yarn cz
58
- ```
59
-
60
- #### About Fabric UI
61
-
62
- Our project have many using cases contains Microsoft's Fabric UI, such as icons and shadows, for more details you can click <a href="https://developer.microsoft.com/en-us/fabric#/styles">here</a> to get more information.
63
-
64
- Here is the icon using sample.
65
-
66
- ```vue
67
- <i class="ms-Icon ms-Icon--AADLogo"></i>
68
- ```
69
-
70
- In particular, if you're using a component of Fluent Vue Design and it contains a prop that support icon, you only need to type the icon's name in prop.
71
-
72
- **We have updated the new Windows 11 Fluent Icons, Check the Icon Dictionary on <a href="https://docs.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font">here</a>.**
73
-
74
- ### ✨ We Need You (Become a contributor) ✨
75
-
76
- VFluent still needs to improve. The documentation is not yet complete, there are still some details to work out.
77
-
78
- We want to hear from your issues and suggestions. It's welcome to have you become a contributor in this project. You could add some new components to VFluent, or update the existing components to better support the mobile end.
79
-
80
- If you have some other creative ideas, we're happy to hear them from you.
81
-
82
- ### License
83
-
84
- MIT License
85
-
86
- Copyright (c) 2025 Creator SN®
87
-
88
- Permission is hereby granted, free of charge, to any person obtaining a copy
89
- of this software and associated documentation files (the "Software"), to deal
90
- in the Software without restriction, including without limitation the rights
91
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
92
- copies of the Software, and to permit persons to whom the Software is
93
- furnished to do so, subject to the following conditions:
94
-
95
- The above copyright notice and this permission notice shall be included in all
96
- copies or substantial portions of the Software.
97
-
98
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104
- SOFTWARE.
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/aleversn/VFluent/master/examples/assert/logo/VFluent.png" width="360" alt="VFluent3 Logo" />
3
+
4
+ [![Vue](https://img.shields.io/badge/Vue-3.x-42b883?style=flat-square&logo=vue.js&logoColor=white)](https://vuejs.org/)
5
+ [![Vite](https://img.shields.io/badge/Vite-3.x-646CFF?style=flat-square&logo=vite&logoColor=white)](https://vitejs.dev/)
6
+ [![NPM](https://img.shields.io/npm/v/@creatorsn/vfluent3?style=flat-square&color=2F80ED&logo=npm&logoColor=white)](https://www.npmjs.com/package/@creatorsn/vfluent3)
7
+ [![Downloads](https://img.shields.io/npm/dw/@creatorsn/vfluent3?style=flat-square&color=green)](https://www.npmjs.com/package/@creatorsn/vfluent3)
8
+ [![License](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](./LICENSE)
9
+
10
+ </div>
11
+
12
+ <h4 align="center">
13
+ <i>Fluent Design components for Vue 3, built for crisp Windows-like web experiences.</i>
14
+ </h4>
15
+
16
+ <p align="center">
17
+ <a href="https://creator-sn.github.io/VFluent3/">Documentation</a>
18
+ ·
19
+ <a href="https://www.npmjs.com/package/@creatorsn/vfluent3">npm</a>
20
+ ·
21
+ <a href="https://github.com/Creator-SN/VFluent3/issues">Issues</a>
22
+ </p>
23
+
24
+ English | [简体中文](./README_zh.md)
25
+
26
+ ## VFluent3
27
+
28
+ VFluent3 is a Vue 3 component library inspired by Microsoft's [Fluent Design System](https://developer.microsoft.com/en-us/fluentui#/). It brings Fluent-style components, icons, shadows, Acrylic-like surfaces, and Reveal interactions into modern Vue applications.
29
+
30
+ The project is powered by Vite and focuses on making desktop-inspired web interfaces feel clean, responsive, and delightful.
31
+
32
+ ## Installation
33
+
34
+ Install the package with Yarn:
35
+
36
+ ```sh
37
+ yarn add @creatorsn/vfluent3
38
+ ```
39
+
40
+ npm and pnpm work in a similar way.
41
+
42
+ ## Quick Start
43
+
44
+ Register VFluent3 in your Vue entry file, usually `main.js`:
45
+
46
+ ```js
47
+ import { createApp } from 'vue';
48
+ import VueFluent from "@creatorsn/vfluent3";
49
+ import '@creatorsn/vfluent3/style.css';
50
+ import App from './App.vue';
51
+
52
+ const app = createApp(App);
53
+ app.use(VueFluent);
54
+ app.mount('#app');
55
+ ```
56
+
57
+ Then use components in your Vue app:
58
+
59
+ ```vue
60
+ <template>
61
+ <fv-button>Create something fluent</fv-button>
62
+ </template>
63
+ ```
64
+
65
+ ## Documentation
66
+
67
+ Read the full documentation and component examples:
68
+
69
+ [https://creator-sn.github.io/VFluent3/](https://creator-sn.github.io/VFluent3/)
70
+
71
+ ## Development
72
+
73
+ Clone the repository and install dependencies:
74
+
75
+ ```sh
76
+ yarn
77
+ ```
78
+
79
+ Start the VitePress documentation site:
80
+
81
+ ```sh
82
+ yarn docs:dev
83
+ ```
84
+
85
+ Create a new component scaffold:
86
+
87
+ ```sh
88
+ yarn bin:new
89
+ ```
90
+
91
+ Build the library:
92
+
93
+ ```sh
94
+ yarn build
95
+ ```
96
+
97
+ ## Contributing
98
+
99
+ VFluent3 is still growing, and contributions are welcome.
100
+
101
+ If you have ideas, feedback, bug reports, or design suggestions, please open an [issue](https://github.com/Creator-SN/VFluent3/issues). If you want to contribute a fix or improvement, please submit a pull request.
102
+
103
+ For commit messages, this project supports Commitizen:
104
+
105
+ ```sh
106
+ yarn cz
107
+ ```
108
+
109
+ ## Fluent Icons
110
+
111
+ VFluent3 uses Microsoft Fabric UI and Fluent icon resources in several places, including icons and shadows.
112
+
113
+ Basic icon usage:
114
+
115
+ ```vue
116
+ <i class="ms-Icon ms-Icon--AADLogo"></i>
117
+ ```
118
+
119
+ When a VFluent3 component supports an icon prop, you can usually pass the icon name directly.
120
+
121
+ Windows 11 Fluent Icons reference:
122
+
123
+ [https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font)
124
+
125
+ ## License
126
+
127
+ VFluent3 is released under the [MIT License](./LICENSE).
128
+
129
+ Copyright (c) 2026 Creator SN
package/README_zh.md ADDED
@@ -0,0 +1,129 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/aleversn/VFluent/master/examples/assert/logo/VFluent.png" width="360" alt="VFluent3 Logo" />
3
+
4
+ [![Vue](https://img.shields.io/badge/Vue-3.x-42b883?style=flat-square&logo=vue.js&logoColor=white)](https://vuejs.org/)
5
+ [![Vite](https://img.shields.io/badge/Vite-3.x-646CFF?style=flat-square&logo=vite&logoColor=white)](https://vitejs.dev/)
6
+ [![NPM](https://img.shields.io/npm/v/@creatorsn/vfluent3?style=flat-square&color=2F80ED&logo=npm&logoColor=white)](https://www.npmjs.com/package/@creatorsn/vfluent3)
7
+ [![Downloads](https://img.shields.io/npm/dw/@creatorsn/vfluent3?style=flat-square&color=green)](https://www.npmjs.com/package/@creatorsn/vfluent3)
8
+ [![License](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](./LICENSE)
9
+
10
+ </div>
11
+
12
+ <h4 align="center">
13
+ <i>为 Vue 3 打造的 Fluent Design 组件库,让 Web 界面更接近清爽、细腻的 Windows 体验。</i>
14
+ </h4>
15
+
16
+ <p align="center">
17
+ <a href="https://creator-sn.github.io/VFluent3/">文档</a>
18
+ ·
19
+ <a href="https://www.npmjs.com/package/@creatorsn/vfluent3">npm</a>
20
+ ·
21
+ <a href="https://github.com/Creator-SN/VFluent3/issues">Issues</a>
22
+ </p>
23
+
24
+ [English](./README.md) | 简体中文
25
+
26
+ ## VFluent3
27
+
28
+ VFluent3 是一个受 Microsoft [Fluent Design System](https://developer.microsoft.com/en-us/fluentui#/) 启发的 Vue 3 组件库。它为现代 Vue 应用提供 Fluent 风格组件、图标、阴影、类 Acrylic 表面以及 Reveal 交互效果。
29
+
30
+ 项目基于 Vite 构建,目标是让桌面风格的 Web 界面更清晰、更响应式,也更有质感。
31
+
32
+ ## 安装
33
+
34
+ 使用 Yarn 安装:
35
+
36
+ ```sh
37
+ yarn add @creatorsn/vfluent3
38
+ ```
39
+
40
+ npm 和 pnpm 的操作类似。
41
+
42
+ ## 快速开始
43
+
44
+ 在 Vue 入口文件中注册 VFluent3,通常是 `main.js`:
45
+
46
+ ```js
47
+ import { createApp } from 'vue';
48
+ import VueFluent from "@creatorsn/vfluent3";
49
+ import '@creatorsn/vfluent3/style.css';
50
+ import App from './App.vue';
51
+
52
+ const app = createApp(App);
53
+ app.use(VueFluent);
54
+ app.mount('#app');
55
+ ```
56
+
57
+ 然后就可以在 Vue 中使用组件:
58
+
59
+ ```vue
60
+ <template>
61
+ <fv-button>创建一个 Fluent 界面</fv-button>
62
+ </template>
63
+ ```
64
+
65
+ ## 文档
66
+
67
+ 完整文档与组件示例:
68
+
69
+ [https://creator-sn.github.io/VFluent3/](https://creator-sn.github.io/VFluent3/)
70
+
71
+ ## 本地开发
72
+
73
+ 克隆仓库后安装依赖:
74
+
75
+ ```sh
76
+ yarn
77
+ ```
78
+
79
+ 启动 VitePress 文档站点:
80
+
81
+ ```sh
82
+ yarn docs:dev
83
+ ```
84
+
85
+ 创建新的组件模板:
86
+
87
+ ```sh
88
+ yarn bin:new
89
+ ```
90
+
91
+ 构建组件库:
92
+
93
+ ```sh
94
+ yarn build
95
+ ```
96
+
97
+ ## 参与贡献
98
+
99
+ VFluent3 仍在持续完善中,欢迎一起让它变得更好。
100
+
101
+ 如果你有想法、建议、问题反馈或设计意见,可以提交 [issue](https://github.com/Creator-SN/VFluent3/issues)。如果你愿意贡献修复或改进,请提交 pull request。
102
+
103
+ 项目支持使用 Commitizen 生成提交信息:
104
+
105
+ ```sh
106
+ yarn cz
107
+ ```
108
+
109
+ ## Fluent 图标
110
+
111
+ VFluent3 在多个场景中使用了 Microsoft Fabric UI 与 Fluent 图标资源,包括图标与阴影等视觉能力。
112
+
113
+ 基础图标用法:
114
+
115
+ ```vue
116
+ <i class="ms-Icon ms-Icon--AADLogo"></i>
117
+ ```
118
+
119
+ 当 VFluent3 组件的某个 prop 支持图标时,通常可以直接传入图标名称。
120
+
121
+ Windows 11 Fluent Icons 参考:
122
+
123
+ [https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font)
124
+
125
+ ## License
126
+
127
+ VFluent3 基于 [MIT License](./LICENSE) 开源。
128
+
129
+ Copyright (c) 2026 Creator SN