@dao-style/core 1.0.0-beta.8 → 1.0.0

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 (45) hide show
  1. package/dist/components/action-icon/index.d.ts +0 -1
  2. package/dist/components/batch-bar/index.d.ts +0 -1
  3. package/dist/components/breadcrumb/index.d.ts +0 -2
  4. package/dist/components/button/index.d.ts +0 -2
  5. package/dist/components/card/index.d.ts +0 -2
  6. package/dist/components/checkbox/index.d.ts +0 -2
  7. package/dist/components/dialog/index.d.ts +0 -3
  8. package/dist/components/drawer/index.d.ts +0 -1
  9. package/dist/components/dropdown/index.d.ts +0 -3
  10. package/dist/components/ellipsis/index.d.ts +0 -1
  11. package/dist/components/expansion/index.d.ts +0 -2
  12. package/dist/components/form/index.d.ts +0 -5
  13. package/dist/components/header/index.d.ts +0 -1
  14. package/dist/components/icon/index.d.ts +0 -1
  15. package/dist/components/input/index.d.ts +0 -1
  16. package/dist/components/message/index.d.ts +0 -1
  17. package/dist/components/nav/index.d.ts +0 -4
  18. package/dist/components/nav/nav-head.d.ts +2 -0
  19. package/dist/components/pagination/index.d.ts +0 -1
  20. package/dist/components/popover/index.d.ts +0 -1
  21. package/dist/components/popper/index.d.ts +0 -1
  22. package/dist/components/popper/popper-props.d.ts +2 -1
  23. package/dist/components/progress/index.d.ts +0 -1
  24. package/dist/components/radio/index.d.ts +0 -2
  25. package/dist/components/select/index.d.ts +0 -2
  26. package/dist/components/switch/index.d.ts +0 -1
  27. package/dist/components/table/index.d.ts +0 -1
  28. package/dist/components/tabs/index.d.ts +0 -3
  29. package/dist/components/tag/index.d.ts +0 -1
  30. package/dist/components/text-button/index.d.ts +0 -1
  31. package/dist/components/text-button/props.d.ts +5 -0
  32. package/dist/components/text-button/text-button.d.ts +14 -0
  33. package/dist/components/text-button/text-button.vue.d.ts +6 -0
  34. package/dist/components/toolbar/index.d.ts +0 -1
  35. package/dist/components/tooltip/index.d.ts +0 -1
  36. package/dist/components/transfer/index.d.ts +0 -2
  37. package/dist/dao-style.js +6 -6
  38. package/dist/dao-style.mjs +2464 -2550
  39. package/dist/style.css +1 -1
  40. package/dist/styles/color/alias.css +168 -0
  41. package/dist/styles/color/alias.scss +45 -0
  42. package/dist/styles/color/var.css +472 -0
  43. package/dist/styles/color/var.scss +120 -0
  44. package/package.json +14 -2
  45. package/volar.d.ts +7 -8
@@ -0,0 +1,120 @@
1
+ /* DON'T MODIFY THIS FILE! */
2
+ /* Auto generated css and scss from /builds/ndx/frontend-engineering/dao-style/src/styles/color/var.json. */
3
+
4
+ $dao-primary-blue-010: #0E2B58;
5
+ $dao-primary-blue-020: #154184;
6
+ $dao-primary-blue-030: #1B56B1;
7
+ $dao-primary-blue-040: #226BDB;
8
+ $dao-primary-blue-050: #3E85E2;
9
+ $dao-primary-blue-060: #4E89E4;
10
+ $dao-primary-blue-070: #7BA7EA;
11
+ $dao-primary-blue-080: #A7C4F1;
12
+ $dao-primary-blue-090: #E9F0FC;
13
+ $dao-orange-010: #823108;
14
+ $dao-orange-020: #B2430B;
15
+ $dao-orange-030: #E2550E;
16
+ $dao-orange-040: #F27131;
17
+ $dao-orange-050: #F59260;
18
+ $dao-orange-060: #F8B391;
19
+ $dao-orange-070: #FBD4C1;
20
+ $dao-orange-080: #FEF5F1;
21
+ $dao-yellow-010: #885D07;
22
+ $dao-yellow-020: #B87E0A;
23
+ $dao-yellow-030: #E99F0C;
24
+ $dao-yellow-040: #F4B434;
25
+ $dao-yellow-050: #F7C664;
26
+ $dao-yellow-060: #F9D894;
27
+ $dao-yellow-070: #FCEAC5;
28
+ $dao-yellow-080: #FEFBF5;
29
+ $dao-green-010: #1A753E;
30
+ $dao-green-020: #239F55;
31
+ $dao-green-030: #2CC76A;
32
+ $dao-green-040: #4FD886;
33
+ $dao-green-050: #79E2A3;
34
+ $dao-green-060: #A3EBC0;
35
+ $dao-green-070: #CDF4DC;
36
+ $dao-green-080: #F7FDF9;
37
+ $dao-cyan-010: #146E80;
38
+ $dao-cyan-020: #1B94AC;
39
+ $dao-cyan-030: #21BAD9;
40
+ $dao-cyan-040: #4ACAE3;
41
+ $dao-cyan-050: #76D7EA;
42
+ $dao-cyan-060: #A2E4F1;
43
+ $dao-cyan-070: #CEF1F8;
44
+ $dao-cyan-080: #F2FBFD;
45
+ $dao-purple-010: #1E1977;
46
+ $dao-purple-020: #2922A0;
47
+ $dao-purple-030: #3529CC;
48
+ $dao-purple-040: #584FDC;
49
+ $dao-purple-050: #7F78E3;
50
+ $dao-purple-060: #A7A2EC;
51
+ $dao-purple-070: #CECCF5;
52
+ $dao-purple-080: #F7F7FD;
53
+ $dao-red-010: #5F0C0C;
54
+ $dao-red-020: #8C1212;
55
+ $dao-red-030: #B91818;
56
+ $dao-red-040: #E22222;
57
+ $dao-red-050: #E84F4F;
58
+ $dao-red-060: #EE7C7C;
59
+ $dao-red-070: #F4A9A9;
60
+ $dao-red-080: #FDEDED;
61
+ $dao-acidblue-100: #F4F9FC;
62
+ $dao-acidblue-010: #0A4061;
63
+ $dao-acidblue-020: #0F5F8F;
64
+ $dao-acidblue-030: #137EBE;
65
+ $dao-acidblue-040: #1E9CE8;
66
+ $dao-acidblue-050: #43A1E5;
67
+ $dao-acidblue-060: #4BB0ED;
68
+ $dao-acidblue-070: #79C4F1;
69
+ $dao-acidblue-080: #A7D8F6;
70
+ $dao-acidblue-090: #ECF7FD;
71
+ $dao-gray-blue-100: #F7F8FA;
72
+ $dao-gray-blue-110: #F8FAFC;
73
+ $dao-gray-blue-010: #101114;
74
+ $dao-gray-blue-020: #3D444F;
75
+ $dao-gray-blue-030: #80868E;
76
+ $dao-gray-blue-040: #AAB0B8;
77
+ $dao-gray-blue-050: #CBCFD8;
78
+ $dao-gray-blue-060: #D6DBE6;
79
+ $dao-gray-blue-070: #E4E7ED;
80
+ $dao-gray-blue-075: #EAEDF3;
81
+ $dao-gray-blue-080: #EEF1F5;
82
+ $dao-gray-blue-090: #F1F3F6;
83
+ $dao-gray-100: #BBBBBB;
84
+ $dao-gray-110: #C7C7C7;
85
+ $dao-gray-120: #CCCCCC;
86
+ $dao-gray-130: #D2D2D2;
87
+ $dao-gray-140: #DDDDDD;
88
+ $dao-gray-150: #E2E2E2;
89
+ $dao-gray-160: #EAEAEA;
90
+ $dao-gray-170: #EEEEEE;
91
+ $dao-gray-180: #F2F2F2;
92
+ $dao-gray-190: #F9F9F9;
93
+ $dao-gray-200: #FAFAFA;
94
+ $dao-gray-010: #333333;
95
+ $dao-gray-020: #4F4F4F;
96
+ $dao-gray-030: #5c5c5c;
97
+ $dao-gray-040: #666666;
98
+ $dao-gray-050: #7F7F7F;
99
+ $dao-gray-060: #888888;
100
+ $dao-gray-070: #999999;
101
+ $dao-gray-080: #A5A5A5;
102
+ $dao-gray-090: #AFAFAF;
103
+ $dao-navigation-100: #F6F8FB;
104
+ $dao-navigation-010: #2C3037;
105
+ $dao-navigation-020: #3B3F4A;
106
+ $dao-navigation-030: #676B75;
107
+ $dao-navigation-040: #878C98;
108
+ $dao-navigation-050: #C5CAD8;
109
+ $dao-navigation-060: #203548;
110
+ $dao-navigation-070: #2975D2;
111
+ $dao-navigation-080: #B6C2D2;
112
+ $dao-navigation-090: #EAEEF5;
113
+ $dao-pure-white: #FFFFFF;
114
+ $dao-pure-black: #000000;
115
+ $dao-line-gray-010: #C7D0DE;
116
+ $dao-line-gray-020: #C8CCD0;
117
+ $dao-line-gray-030: #DADBDE;
118
+ $dao-line-gray-040: #EBEDF0;
119
+ $dao-top-gray-010: #33363B;
120
+ $dao-top-gray-020: #484E59;
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@dao-style/core",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0",
4
4
  "scripts": {
5
+ "commit": "git-cz",
5
6
  "dev": "npm run dev:docs",
6
7
  "dev:docs": "vitepress dev docs",
7
8
  "build": "npm run typecheck && vite build && vue-tsc -d --emitDeclarationOnly -p tsconfig.build.json && npm run build:volar",
@@ -33,6 +34,9 @@
33
34
  "vue-i18n": "^9.2.0-beta.32"
34
35
  },
35
36
  "devDependencies": {
37
+ "@commitlint/cli": "^16.0.2",
38
+ "@commitlint/config-conventional": "^16.0.0",
39
+ "@commitlint/cz-commitlint": "^16.0.0",
36
40
  "@types/markdown-it": "^12.2.3",
37
41
  "@types/micromatch": "^4.0.2",
38
42
  "@types/node": "^16.10.3",
@@ -48,6 +52,8 @@
48
52
  "c8": "^7.11.0",
49
53
  "chokidar": "^3.5.3",
50
54
  "clipboard-copy": "^4.0.1",
55
+ "commitizen": "^4.2.4",
56
+ "conventional-changelog-cli": "^2.2.2",
51
57
  "eslint": "^8.28.0",
52
58
  "eslint-config-airbnb-base": "^15.0.0",
53
59
  "eslint-config-prettier": "^8.5.0",
@@ -87,8 +93,14 @@
87
93
  "vue-tsc": "^1.0.18",
88
94
  "yorkie": "^2.0.0"
89
95
  },
96
+ "config": {
97
+ "commitizen": {
98
+ "path": "@commitlint/cz-commitlint"
99
+ }
100
+ },
90
101
  "gitHooks": {
91
- "pre-commit": "lint-staged"
102
+ "pre-commit": "lint-staged",
103
+ "commit-msg": "commitlint -E GIT_PARAMS"
92
104
  },
93
105
  "engines": {
94
106
  "node": ">=16.0.0",
package/volar.d.ts CHANGED
@@ -2,9 +2,9 @@
2
2
  declare module 'vue' {
3
3
  export interface GlobalComponents {
4
4
  DaoActionIcon: typeof import('@dao-style/core')['DaoActionIcon']
5
- DaoBatchBar: typeof import('@dao-style/core')['BatchBar']
6
- DaoBreadcrumb: typeof import('@dao-style/core')['Breadcrumb']
7
- DaoBreadcrumbItem: typeof import('@dao-style/core')['BreadcrumbItem']
5
+ DaoBatchBar: typeof import('@dao-style/core')['DaoBatchBar']
6
+ DaoBreadcrumb: typeof import('@dao-style/core')['DaoBreadcrumb']
7
+ DaoBreadcrumbItem: typeof import('@dao-style/core')['DaoBreadcrumbItem']
8
8
  DaoButton: typeof import('@dao-style/core')['DaoButton']
9
9
  DaoButtonGroup: typeof import('@dao-style/core')['DaoButtonGroup']
10
10
  DaoCard: typeof import('@dao-style/core')['DaoCard']
@@ -19,7 +19,6 @@ declare module 'vue' {
19
19
  DaoDropdownMenu: typeof import('@dao-style/core')['DaoDropdownMenu']
20
20
  DaoDropdownItem: typeof import('@dao-style/core')['DaoDropdownItem']
21
21
  DaoEllipsis: typeof import('@dao-style/core')['DaoEllipsis']
22
- DaoDaoEllipsis: typeof import('@dao-style/core')['DaoDaoEllipsis']
23
22
  DaoEmpty: typeof import('@dao-style/core')['DaoEmpty']
24
23
  DaoExpansion: typeof import('@dao-style/core')['DaoExpansion']
25
24
  DaoExpansionItem: typeof import('@dao-style/core')['DaoExpansionItem']
@@ -45,16 +44,16 @@ declare module 'vue' {
45
44
  DaoSelect: typeof import('@dao-style/core')['DaoSelect']
46
45
  DaoOption: typeof import('@dao-style/core')['DaoOption']
47
46
  DaoSwitch: typeof import('@dao-style/core')['DaoSwitch']
48
- DaoTable: typeof import('@dao-style/core')['Table']
47
+ DaoTable: typeof import('@dao-style/core')['DaoTable']
49
48
  DaoTabs: typeof import('@dao-style/core')['DaoTabs']
50
49
  DaoTabNav: typeof import('@dao-style/core')['DaoTabNav']
51
50
  DaoTabItem: typeof import('@dao-style/core')['DaoTabItem']
52
51
  DaoTag: typeof import('@dao-style/core')['DaoTag']
53
- DaoTextButton: typeof import('@dao-style/core')['TextButton']
52
+ DaoTextButton: typeof import('@dao-style/core')['DaoTextButton']
54
53
  DaoToolbar: typeof import('@dao-style/core')['DaoToolbar']
55
54
  DaoTooltip: typeof import('@dao-style/core')['DaoTooltip']
56
- DaoTransfer: typeof import('@dao-style/core')['Transfer']
57
- DaoTransferPanel: typeof import('@dao-style/core')['TransferPanel']
55
+ DaoTransfer: typeof import('@dao-style/core')['DaoTransfer']
56
+ DaoTransferPanel: typeof import('@dao-style/core')['DaoTransferPanel']
58
57
  }
59
58
  }
60
59
  export {};