vdesign-ui 0.0.2 → 0.0.4

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/README.md CHANGED
@@ -1,43 +1,78 @@
1
- # hdesign-ui
2
-
3
- ## 项目说明
4
-
5
- ### 项目运行
6
-
7
- ```
8
- cd hs-ui
9
- yarn install
10
- yarn run serve
11
- ```
12
-
13
- ### 目录结构
14
-
15
- #### packages
16
- >
17
- > 主要包含 token2css 后的产物,及组件
18
-
19
- - index.js 为入口文件
20
- - token:token2css 转换后的 css 文件
21
- - components:基于 token 变量的 vue 组件
22
-
23
- #### sites
24
- >
25
- > 主要包含该组件库的站点,用于文档描述
26
-
27
- - docs:md 文档集合
28
- - router/nav.config.json:菜单配置文件
29
-
30
- #### Git 提交规范
31
-
32
- - feat: 增加订单详情 closes xxxx (closes非必需)
33
- - fix: 修复xx情况下xx问题 closes xxxx (closes非必需)
34
- - docs: 修改md文件
35
- - style: 修改订单列表样式
36
- - refactor: 重构utils.js下部分方法
37
- - chore: 增加xxx插件/xxxxloader
38
- - revert: 回退当前版本667ec到 sssee2
39
- - perf: 优化了xxx,提高了渲染速度
40
- - test:增加测试
41
- - improvement: 改进
42
- - build: 打包
43
- - ci: 持续集成
1
+ # vdesign-ui
2
+
3
+ ## 项目说明
4
+
5
+ ### 项目运行
6
+
7
+ ```
8
+ cd hs-ui
9
+ yarn install
10
+ yarn run serve
11
+ ```
12
+
13
+ ### 目录结构
14
+
15
+ #### packages
16
+ >
17
+ > 主要包含 token2css 后的产物,及组件
18
+
19
+ - index.js 为入口文件
20
+ - token:token2css 转换后的 css 文件
21
+ - components:基于 token 变量的 vue 组件
22
+
23
+ #### sites
24
+ >
25
+ > 主要包含该组件库的站点,用于文档描述
26
+
27
+ - docs:md 文档集合
28
+ - router/nav.config.json:菜单配置文件
29
+
30
+ #### Git 提交规范
31
+
32
+ - feat: 增加订单详情 closes xxxx (closes非必需)
33
+ - fix: 修复xx情况下xx问题 closes xxxx (closes非必需)
34
+ - docs: 修改md文件
35
+ - style: 修改订单列表样式
36
+ - refactor: 重构utils.js下部分方法
37
+ - chore: 增加xxx插件/xxxxloader
38
+ - revert: 回退当前版本667ec到 sssee2
39
+ - perf: 优化了xxx,提高了渲染速度
40
+ - test:增加测试
41
+ - improvement: 改进
42
+ - build: 打包
43
+ - ci: 持续集成w
44
+
45
+ #### 修改 Git Commit
46
+
47
+ ##### 1. 修改最后一次提交
48
+
49
+ git commit --amend
50
+
51
+ 该命令会创建一个提交并覆盖上次提交,如果是因为写错或者不满意上次的提交信息,使用该命令就非常适合。
52
+
53
+ ##### 2. 合并多条提交
54
+
55
+ git reset --soft [commitID]
56
+
57
+ 如果你想合并最近几条提交信息的话,那么就需要使用上面的命令来操作,指定要撤销的ccommitId,该命令会保留当前改动并撤销指定提交后的所有commit记录,如果不指定ID的话可以使用HEAD~{num} 来选择最近{num}条提交
58
+
59
+ git reset --soft HEAD~2 #合并最近两条提交
60
+ git commit -m 'feat: add new feat'
61
+
62
+ > 带 --soft 参数的区别在于把改动内容添加到暂存区 相当于执行了git add .
63
+
64
+ git rebase -i
65
+ git rebase的功能会更加强大,如果我想修改最近3条提交记录,执行
66
+
67
+ `git rebase -i HEAD~3`
68
+
69
+ 下面是常用的命令说明:
70
+
71
+ ```bash
72
+ p,pick = 使用提交
73
+ r,reword = 使用提交,但修改提交说明
74
+ e,edit = 使用提交,退出后使用git commit --amend 修改
75
+ s,squash = 使用提交,合并前一个提交
76
+ f,fixup = 和squash相同,但丢弃提交说明日志
77
+ d,drop = 删除提交,丢弃提交记录
78
+ ```
package/dist/demo.html CHANGED
@@ -1,10 +1,10 @@
1
1
  <meta charset="utf-8">
2
- <title>hdesign-ui demo</title>
3
- <script src="./hdesign-ui.umd.js"></script>
2
+ <title>vdesign-ui demo</title>
3
+ <script src="./vdesign-ui.umd.js"></script>
4
4
 
5
- <link rel="stylesheet" href="./hdesign-ui.css">
5
+ <link rel="stylesheet" href="./vdesign-ui.css">
6
6
 
7
7
 
8
8
  <script>
9
- console.log(hdesign-ui)
9
+ console.log(vdesign-ui)
10
10
  </script>
@@ -0,0 +1,98 @@
1
+ export default {
2
+ message: {
3
+ hello: "مرحبا العالم"
4
+ },
5
+ button: {
6
+ loading: "تحميل .",
7
+ default: "خرق",
8
+ primary: "الرئيسية الرئيسية",
9
+ secondary: "ثانوي",
10
+ warning: "حذر",
11
+ warning_grey: "تحذير رمادي",
12
+ tertiary: "المستوى الثالث",
13
+ tertiary_grey: "التعليم العالي رمادي",
14
+ wireframe: "خط الإطار",
15
+ primary_text: "primary_text",
16
+ warning_text: "النص الرئيسي",
17
+ tertiary_text: "نص المستوى الثالث",
18
+ link_text: "ربط النص",
19
+ small: "صغير",
20
+ medium: "متوسط",
21
+ large: "كبير",
22
+ disabled: "تعطيل",
23
+ block: "كتلة",
24
+ buy: "شراء",
25
+ sell: "بيع .",
26
+ text: "زر النص"
27
+ },
28
+ actionbar: {
29
+ text: "شريط العمل",
30
+ filter: "عنوان",
31
+ edit: "عنوان",
32
+ add: "عنوان",
33
+ delete: "عنوان",
34
+ more: "عنوان",
35
+ reset: "عنوان",
36
+ create: "عنوان",
37
+ alert: "عنوان",
38
+ chart: "عنوان"
39
+ },
40
+ title: {
41
+ text: "عنوان"
42
+ },
43
+ radio: {
44
+ text: "مذياع"
45
+ },
46
+ checkbox: {
47
+ text: "مذياع"
48
+ },
49
+ dropdown: {
50
+ text: "اسقاط",
51
+ text1: "المحدد",
52
+ text2: "المحدد",
53
+ text3: "المحدد"
54
+ },
55
+ tab: {
56
+ text: "فاتورة غير مدفوعة"
57
+ },
58
+ empty: {
59
+ text: "لايوجد بيانات"
60
+ },
61
+ result: {
62
+ text: "يستخدم هذا النوع بشكل أساسي في النوافذ المنبثقة الأساسية للتنبيه",
63
+ title: "عنوان"
64
+ },
65
+ selector: {
66
+ text: "محدد"
67
+ },
68
+ alert: {
69
+ title: "نمط العنوان",
70
+ content: "هذا هو نوع من منبهات الأساسية...",
71
+ long: "هذا هو نوع من منبهات الأساسية...",
72
+ confirm: "أكّد",
73
+ cancel: "ألغى",
74
+ delete: "حذف"
75
+ },
76
+ noticebar: {
77
+ title: "القمر في الصباح الباكر ، قليلة هي لينة ، وسادة يهز بهدوء .",
78
+ content: "القمر في الصباح الباكر...",
79
+ button: "الأزرار",
80
+ state: "حذف"
81
+ },
82
+ steps: {
83
+ title: "محدد",
84
+ text: "نمط العنوان",
85
+ content: "القمر في الصباح الباكر..."
86
+ },
87
+ divider: {
88
+ text: "العنوان"
89
+ },
90
+ footnav: {
91
+ text: "العنوان"
92
+ },
93
+ list: {
94
+ title: "العنوان",
95
+ text: "القمر في الصباح الباكر..."
96
+ }
97
+ };
98
+
@@ -0,0 +1,98 @@
1
+ export default {
2
+ message: {
3
+ hello: "Hello World"
4
+ },
5
+ button: {
6
+ loading: "loading",
7
+ default: "default",
8
+ primary: "primary",
9
+ secondary: "secondary",
10
+ warning: "warning",
11
+ warning_grey: "warning_grey",
12
+ tertiary: "tertiary",
13
+ tertiary_grey: "tertiary_grey",
14
+ wireframe: "wireframe",
15
+ primary_text: "primary_text",
16
+ warning_text: "warning_text",
17
+ tertiary_text: "tertiary_text",
18
+ link_text: "link_text",
19
+ small: "small",
20
+ medium: "medium",
21
+ large: "large",
22
+ disabled: "disabled",
23
+ block: "block",
24
+ buy: "buy",
25
+ sell: "sell",
26
+ text: "Button Text"
27
+ },
28
+ actionbar: {
29
+ text: "Actionbar",
30
+ filter: "Filter",
31
+ edit: "Edit",
32
+ add: "Add new",
33
+ delete: "Delete",
34
+ more: "More",
35
+ reset: "Reset",
36
+ create: "Create",
37
+ alert: "Alert",
38
+ chart: "Chart"
39
+ },
40
+ title: {
41
+ text: "title"
42
+ },
43
+ radio: {
44
+ text: "radio"
45
+ },
46
+ checkbox: {
47
+ text: "checkbox"
48
+ },
49
+ dropdown: {
50
+ text: "dropdown",
51
+ text1: "选中",
52
+ text2: "默认",
53
+ text3: "禁用"
54
+ },
55
+ tab: {
56
+ text: "tab"
57
+ },
58
+ empty: {
59
+ text: "no data"
60
+ },
61
+ result: {
62
+ text: "This is a type mainly used for basic alert pop-ups.",
63
+ title: "title"
64
+ },
65
+ selector: {
66
+ text: "selector"
67
+ },
68
+ alert: {
69
+ title: "Modal Title",
70
+ content: "This is a type mainly used for basic alert pop-ups",
71
+ confirm: "Confirm",
72
+ cancel: "Cancel",
73
+ delete: "Delete",
74
+ long: "This is a type mainly used for basic alert pop-ups..."
75
+ },
76
+ noticebar: {
77
+ title: "The morning moon is falling...",
78
+ content: "The morning moon is falling...",
79
+ button: "Button",
80
+ state: "Tag"
81
+ },
82
+ steps: {
83
+ title: "Step",
84
+ text: "Text",
85
+ content: "The morning moon is falling..."
86
+ },
87
+ divider: {
88
+ text: "Text"
89
+ },
90
+ footnav: {
91
+ text: "watchlist"
92
+ },
93
+ list: {
94
+ text: "Text Text Text Text Text Text",
95
+ title: "list"
96
+ }
97
+ };
98
+
@@ -0,0 +1,98 @@
1
+ export default {
2
+ message: {
3
+ hello: "你好世界"
4
+ },
5
+ button: {
6
+ loading: "加载中",
7
+ default: "默认",
8
+ primary: "一级按钮",
9
+ secondary: "次要按钮",
10
+ warning: "警告按钮",
11
+ warning_grey: "警告灰",
12
+ tertiary: "第三按钮",
13
+ tertiary_grey: "第三灰",
14
+ wireframe: "线框按钮",
15
+ primary_text: "一级文字",
16
+ warning_text: "警告文字",
17
+ tertiary_text: "第三文字",
18
+ link_text: "链接文字",
19
+ small: "小尺寸",
20
+ medium: "中尺寸",
21
+ large: "大尺寸",
22
+ disabled: "禁用",
23
+ block: "块级按钮",
24
+ buy: "买",
25
+ sell: "卖",
26
+ text: "按钮文本"
27
+ },
28
+ actionbar: {
29
+ text: "工具条",
30
+ filter: "筛选",
31
+ edit: "编辑",
32
+ add: "添加",
33
+ delete: "删除",
34
+ more: "更多",
35
+ reset: "重置",
36
+ create: "新建",
37
+ alert: "对话框",
38
+ chart: "图表"
39
+ },
40
+ title: {
41
+ text: "标题"
42
+ },
43
+ radio: {
44
+ text: "单选"
45
+ },
46
+ checkbox: {
47
+ text: "复选框"
48
+ },
49
+ dropdown: {
50
+ text: "下拉菜单",
51
+ text1: "选中",
52
+ text2: "默认",
53
+ text3: "禁用"
54
+ },
55
+ tab: {
56
+ text: "选项卡"
57
+ },
58
+ empty: {
59
+ text: "无数据"
60
+ },
61
+ result: {
62
+ text: "这是一种主要用于基本警报弹出窗口的类型",
63
+ title: "标题"
64
+ },
65
+ selector: {
66
+ text: "选择器"
67
+ },
68
+ alert: {
69
+ title: "标题",
70
+ content: "这是一种主要用于基本警报弹出窗口的类型",
71
+ confirm: "确认",
72
+ cancel: "取消",
73
+ delete: "删除",
74
+ long: "这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型这是一种主要用于基本警报弹出窗口的类型"
75
+ },
76
+ noticebar: {
77
+ title: "晓月坠,宿云微,无语枕频欹。",
78
+ content: "晓月坠,宿云微,无语枕频欹。梦回芳草思依依,天远雁声稀。啼莺散,馀花乱,寂寞画堂深院。片红休埽尽从伊,留待舞人归。",
79
+ button: "按钮",
80
+ state: "标签"
81
+ },
82
+ steps: {
83
+ title: "步骤条",
84
+ text: "文本",
85
+ content: "晓月坠,宿云微,无语枕频欹。梦回芳草思依依,天远雁声稀。"
86
+ },
87
+ divider: {
88
+ text: "文字信息"
89
+ },
90
+ footnav: {
91
+ text: "文字信息"
92
+ },
93
+ list: {
94
+ text: "信息列表",
95
+ title: "列表"
96
+ }
97
+ };
98
+