@arco-themes/vue-neutral 0.0.0-stage → 0.0.2

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 (48) hide show
  1. package/README.md +74 -2
  2. package/component.less +20 -0
  3. package/components/AutoComplete/index.css +0 -0
  4. package/components/AutoComplete/index.less +3 -0
  5. package/components/Button/index.css +0 -0
  6. package/components/Button/index.less +3 -0
  7. package/components/Card/index.css +1 -0
  8. package/components/Card/index.less +8 -0
  9. package/components/Checkbox/index.css +0 -0
  10. package/components/Checkbox/index.less +3 -0
  11. package/components/Drawer/index.css +1 -0
  12. package/components/Drawer/index.less +6 -0
  13. package/components/Input/index.css +0 -0
  14. package/components/Input/index.less +8 -0
  15. package/components/InputNumber/index.css +1 -0
  16. package/components/InputNumber/index.less +6 -0
  17. package/components/Link/index.css +1 -0
  18. package/components/Link/index.less +13 -0
  19. package/components/Modal/index.css +1 -0
  20. package/components/Modal/index.less +6 -0
  21. package/components/Popover/index.css +1 -0
  22. package/components/Popover/index.less +4 -0
  23. package/components/Radio/index.css +1 -0
  24. package/components/Radio/index.less +7 -0
  25. package/components/Select/index.css +1 -0
  26. package/components/Select/index.less +7 -0
  27. package/components/Skeleton/index.css +1 -0
  28. package/components/Skeleton/index.less +6 -0
  29. package/components/Switch/index.css +1 -0
  30. package/components/Switch/index.less +10 -0
  31. package/components/Table/index.css +1 -0
  32. package/components/Table/index.less +38 -0
  33. package/components/Tabs/index.css +1 -0
  34. package/components/Tabs/index.less +24 -0
  35. package/components/Transfer/index.css +1 -0
  36. package/components/Transfer/index.less +7 -0
  37. package/components/Tree/index.css +1 -0
  38. package/components/Tree/index.less +12 -0
  39. package/components/Upload/index.css +1 -0
  40. package/components/Upload/index.less +27 -0
  41. package/config.d.ts +0 -0
  42. package/css/arco.css +6 -0
  43. package/index.less +12 -0
  44. package/package.json +16 -3
  45. package/theme.css +509 -0
  46. package/theme.less +1510 -0
  47. package/tokens.less +3948 -0
  48. package/variables.less +1125 -0
package/README.md CHANGED
@@ -1,3 +1,75 @@
1
- # Temporary Holding Version
2
1
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
2
+
3
+ # @arco-themes/vue-neutral
4
+
5
+ Powered By [ArcoDesign](https://arco.design/)
6
+
7
+ [Click to Preview](https://arco.design/themes/design/20162)
8
+
9
+ ## Installation
10
+
11
+ ```
12
+ npm install @arco-themes/vue-neutral
13
+ ```
14
+
15
+ ## Changelog
16
+
17
+
18
+ - 0.0.2
19
+
20
+ Release:
21
+ - Tree:
22
+ - Global:
23
+ - Link:
24
+ - Button:
25
+
26
+
27
+ - 0.0.1
28
+
29
+ Release:
30
+ - Font:
31
+ - Link:
32
+ - Card:
33
+ - Table:
34
+ - Checkbox:
35
+ - Tabs:
36
+ - Tree:
37
+ - Global:
38
+ - Input:
39
+ - Select:
40
+ - Drawer:
41
+ - Modal:
42
+ - Skeleton:
43
+ - InputNumber:
44
+ - Switch:
45
+ - Transfer:
46
+ - Upload:
47
+ - Button:
48
+ - Popover:
49
+ - AutoComplete:
50
+ - Radio:
51
+ - Color:
52
+ - Collapse:
53
+ - Descriptions:
54
+ - Empty:
55
+ - List:
56
+ - Statistic:
57
+ - Tag:
58
+ - Timeline:
59
+ - Tooltip:
60
+ - DatePicker:
61
+ - Alert:
62
+ - Message:
63
+ - Popconfirm:
64
+ - Progress:
65
+ - Result:
66
+ - Spin:
67
+ - Dropdown:
68
+ - Pagination:
69
+ - Form:
70
+ - InputTag:
71
+ - TimePicker:
72
+ - Breadcrumb:
73
+ - Avatar:
74
+
75
+
package/component.less ADDED
@@ -0,0 +1,20 @@
1
+ /* 自定义组件样式 */
2
+ @import "./components/AutoComplete/index.less";
3
+ @import "./components/Button/index.less";
4
+ @import "./components/Card/index.less";
5
+ @import "./components/Checkbox/index.less";
6
+ @import "./components/Drawer/index.less";
7
+ @import "./components/Input/index.less";
8
+ @import "./components/InputNumber/index.less";
9
+ @import "./components/Link/index.less";
10
+ @import "./components/Modal/index.less";
11
+ @import "./components/Popover/index.less";
12
+ @import "./components/Radio/index.less";
13
+ @import "./components/Select/index.less";
14
+ @import "./components/Skeleton/index.less";
15
+ @import "./components/Switch/index.less";
16
+ @import "./components/Table/index.less";
17
+ @import "./components/Tabs/index.less";
18
+ @import "./components/Transfer/index.less";
19
+ @import "./components/Tree/index.less";
20
+ @import "./components/Upload/index.less";
File without changes
@@ -0,0 +1,3 @@
1
+ .@{auto-complete-prefix-cls} {
2
+
3
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ .@{btn-prefix-cls} {
2
+
3
+ }
@@ -0,0 +1 @@
1
+ .arco-card .arco-card-header{padding:16px}.arco-card .arco-card-header-title{line-height:initial}
@@ -0,0 +1,8 @@
1
+ .@{card-prefix-cls} {
2
+ .arco-card-header{
3
+ padding:16px;
4
+ }
5
+ .arco-card-header-title{
6
+ line-height: initial;
7
+ }
8
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ .@{checkbox-prefix-cls} {
2
+
3
+ }
@@ -0,0 +1 @@
1
+ .arco-drawer .arco-drawer-header{padding:16px}
@@ -0,0 +1,6 @@
1
+ .@{drawer-prefix-cls} {
2
+ .arco-drawer-header{
3
+ padding:16px;
4
+ }
5
+
6
+ }
File without changes
@@ -0,0 +1,8 @@
1
+ .@{input-prefix-cls} {
2
+
3
+
4
+ }
5
+
6
+ .@{textarea-prefix-cls} {
7
+
8
+ }
@@ -0,0 +1 @@
1
+ .arco-input-number .arco-input-append>button,.arco-input-number .arco-input-prepend>button{border:none}
@@ -0,0 +1,6 @@
1
+ .@{input-number-prefix-cls} {
2
+ .arco-input-append > button,
3
+ .arco-input-prepend > button{
4
+ border:none;
5
+ }
6
+ }
@@ -0,0 +1 @@
1
+ .arco-link:not(.arco-link-disabled).arco-link-status-success:hover{background:rgb(var(--success-1))}.arco-link:not(.arco-link-disabled).arco-link-status-danger:hover{background:rgb(var(--danger-1))}.arco-link:not(.arco-link-disabled).arco-link-status-warning:hover{background:rgb(var(--warning-1))}
@@ -0,0 +1,13 @@
1
+ .@{link-prefix-cls} {
2
+ &:not(.arco-link-disabled){
3
+ &.arco-link-status-success:hover{
4
+ background:rgb(var(--success-1));
5
+ }
6
+ &.arco-link-status-danger:hover{
7
+ background:rgb(var(--danger-1));
8
+ }
9
+ &.arco-link-status-warning:hover{
10
+ background:rgb(var(--warning-1));
11
+ }
12
+ }
13
+ }
@@ -0,0 +1 @@
1
+ .arco-modal .arco-modal-header{padding:16px}
@@ -0,0 +1,6 @@
1
+ .@{modal-prefix-cls} {
2
+ .arco-modal-header{
3
+ padding:16px;
4
+ }
5
+
6
+ }
@@ -0,0 +1 @@
1
+ .arco-popover{border-radius:var(--border-radius-large)}
@@ -0,0 +1,4 @@
1
+ .@{popover-prefix-cls} {
2
+ border-radius:var(--border-radius-large)
3
+
4
+ }
@@ -0,0 +1 @@
1
+ .arco-radio-group-button{border:1px solid var(--color-neutral-3)}
@@ -0,0 +1,7 @@
1
+ .@{radio-prefix-cls} {
2
+ }
3
+ .arco-radio-group-button{
4
+ border:1px solid @color-border-2;
5
+
6
+
7
+ }
@@ -0,0 +1 @@
1
+ .arco-select.arco-select-view-error.arco-select-focused{box-shadow:0 0 0 2px var(--color-danger-light-2)}
@@ -0,0 +1,7 @@
1
+ .@{select-prefix-cls} {
2
+
3
+ // 正常操作没问题,但是就是编辑器中的示例没有foucs,但是真正foucs的时候样式是正常的这里临时处理一下
4
+ &.arco-select-view-error.arco-select-focused{
5
+ box-shadow: 0 0 0 2px var(--color-danger-light-2);
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ .arco-skeleton .arco-skeleton-line-row{border-radius:8px}
@@ -0,0 +1,6 @@
1
+ .@{skeleton-prefix-cls} {
2
+ .arco-skeleton-line-row{
3
+ border-radius:@border-radius-large;
4
+ }
5
+
6
+ }
@@ -0,0 +1 @@
1
+ .arco-switch.arco-switch-type-round{border-radius:8px}.arco-switch.arco-switch-type-round .arco-switch-handle{border-radius:4px}
@@ -0,0 +1,10 @@
1
+ .@{switch-prefix-cls} {
2
+ &.arco-switch-type-round{
3
+ border-radius:@border-radius-large;
4
+ .arco-switch-handle{
5
+ border-radius:@border-radius-medium;
6
+ }
7
+ }
8
+
9
+
10
+ }
@@ -0,0 +1 @@
1
+ .arco-table .arco-table-container{border-radius:8px}.arco-table .arco-table-element thead tr:first-child th:first-child{border-top-left-radius:8px}.arco-table .arco-table-element thead tr:first-child th:last-child{border-top-right-radius:8px}.arco-table .arco-table-element tbody tr:first-child td:first-child{border-top-left-radius:8px}.arco-table .arco-table-element tbody tr:first-child td:last-child{border-top-right-radius:8px}.arco-table .arco-table-element thead+tbody tr:first-child td:first-child,.arco-table .arco-table-element thead+tbody tr:first-child td:last-child{border-top-left-radius:0;border-top-right-radius:0}.arco-table .arco-table-element tbody tr:last-child td:first-child{border-bottom-left-radius:8px}.arco-table .arco-table-element tbody tr:last-child td:last-child{border-bottom-right-radius:8px}
@@ -0,0 +1,38 @@
1
+ .@{table-prefix-cls} {
2
+ .arco-table-container {
3
+ border-radius: @border-radius-large;
4
+ }
5
+
6
+ .arco-table-element {
7
+ // 表头:顶部圆角
8
+ thead tr:first-child th:first-child {
9
+ border-top-left-radius: @border-radius-large;
10
+ }
11
+ thead tr:first-child th:last-child {
12
+ border-top-right-radius: @border-radius-large;
13
+ }
14
+
15
+ // 无表头:首行 body 顶部圆角
16
+ tbody tr:first-child td:first-child {
17
+ border-top-left-radius: @border-radius-large;
18
+ }
19
+ tbody tr:first-child td:last-child {
20
+ border-top-right-radius: @border-radius-large;
21
+ }
22
+
23
+ // 有表头:首行 body 顶部取消圆角
24
+ thead + tbody tr:first-child td:first-child,
25
+ thead + tbody tr:first-child td:last-child {
26
+ border-top-left-radius: 0;
27
+ border-top-right-radius: 0;
28
+ }
29
+
30
+ // 最后一行:底部圆角
31
+ tbody tr:last-child td:first-child {
32
+ border-bottom-left-radius: @border-radius-large;
33
+ }
34
+ tbody tr:last-child td:last-child {
35
+ border-bottom-right-radius: @border-radius-large;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1 @@
1
+ .arco-tabs-type-capsule .arco-tabs-nav-tab-list{border:1px solid var(--color-neutral-3)}.arco-tabs-type-capsule .arco-tabs-tab{border-radius:8px}.arco-tabs-type-capsule .arco-tabs-tab.arco-tabs-tab-active{color:var(--color-bg-2)}
@@ -0,0 +1,24 @@
1
+ .@{tabs-prefix-cls} {
2
+ .arco-tabs-nav-type-card{
3
+ .arco-tabs-tab:first-child{
4
+ // border-top-left-radius: @border-radius-large;
5
+ }
6
+ .arco-tabs-tab:last-child {
7
+ // border-right: 1px solid var(--color-neutral-3);
8
+ // border-top-right-radius: @border-radius-large;
9
+ }
10
+ }
11
+ }
12
+
13
+ // 胶囊选项卡
14
+ .arco-tabs-type-capsule{
15
+ .arco-tabs-nav-tab-list{
16
+ border:1px solid @color-border-2;
17
+ }
18
+ .arco-tabs-tab{
19
+ border-radius:@border-radius-large;
20
+ &.arco-tabs-tab-active{
21
+ color:var(--color-bg-2);
22
+ }
23
+ }
24
+ }
@@ -0,0 +1 @@
1
+ .arco-transfer .arco-transfer-view-header{border-top-left-radius:8px;border-top-right-radius:8px}
@@ -0,0 +1,7 @@
1
+ .@{transfer-prefix-cls} {
2
+ .arco-transfer-view-header{
3
+ border-top-left-radius:@border-radius-large;
4
+ border-top-right-radius:@border-radius-large;
5
+ }
6
+
7
+ }
@@ -0,0 +1 @@
1
+ .arco-tree .arco-tree-node-switcher-icon,.arco-tree .arco-tree-node-minus-icon,.arco-tree .arco-tree-node-plus-icon{border-radius:4px}.arco-tree .arco-tree-node-selected .arco-tree-node-title,.arco-tree .arco-tree-node-selected .arco-tree-node-title:hover{background:var(--color-neutral-2)}
@@ -0,0 +1,12 @@
1
+ .@{tree-prefix-cls} {
2
+ .arco-tree-node-switcher-icon,
3
+ .arco-tree-node-minus-icon,
4
+ .arco-tree-node-plus-icon{
5
+ border-radius:@border-radius-medium;
6
+ }
7
+
8
+ .arco-tree-node-selected .arco-tree-node-title,
9
+ .arco-tree-node-selected .arco-tree-node-title:hover{
10
+ background:@color-fill-2;
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ .arco-upload-wrapper .arco-upload-list-item-thumbnail{border-radius:4px}.arco-upload-wrapper .arco-upload-list-item-thumbnail img{border-radius:4px}.arco-upload-wrapper .arco-upload-list-item-content{border:1px solid var(--color-neutral-3)}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-file-icon{color:rgb(var(--danger-6))}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-content{border:1px solid rgb(var(--danger-6))}.arco-upload-wrapper .arco-upload-list-item.arco-upload-list-item-error .arco-upload-list-item-operation{color:rgb(var(--danger-6))}
@@ -0,0 +1,27 @@
1
+ .@{upload-prefix-cls} {
2
+
3
+ }
4
+
5
+ .@{upload-prefix-cls}-wrapper {
6
+ .@{upload-prefix-cls}-list-item-thumbnail{
7
+ border-radius:@border-radius-medium;
8
+ img{
9
+ border-radius:@border-radius-medium;
10
+ }
11
+ }
12
+ .@{upload-prefix-cls}-list-item-content {
13
+ border:1px solid var(--color-neutral-3);
14
+
15
+ }
16
+ .@{upload-prefix-cls}-list-item.@{upload-prefix-cls}-list-item-error{
17
+ .@{upload-prefix-cls}-list-item-file-icon{
18
+ color:rgb(var(--danger-6));
19
+ }
20
+ .@{upload-prefix-cls}-list-item-content {
21
+ border:1px solid rgb(var(--danger-6));
22
+ }
23
+ .@{upload-prefix-cls}-list-item-operation{
24
+ color:rgb(var(--danger-6));
25
+ }
26
+ }
27
+ }
package/config.d.ts ADDED
File without changes