vdesign-ui 0.1.16 → 0.1.18

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 (40) hide show
  1. package/dist/components/actions-cell/actions/index.vue +22 -13
  2. package/dist/components/actions-cell/actions/style.less +37 -0
  3. package/dist/components/activityviews/index.vue +74 -42
  4. package/dist/components/activityviews/style.less +11 -7
  5. package/dist/components/checkbox/style.less +6 -4
  6. package/dist/components/data-list/style.less +7 -7
  7. package/dist/components/dialog/index.vue +12 -13
  8. package/dist/components/dialog/style.less +44 -34
  9. package/dist/components/dropdown/index.vue +1 -1
  10. package/dist/components/dropdown/style.less +16 -0
  11. package/dist/components/footer/style.less +1 -1
  12. package/dist/components/footnav/footnav-item/style.less +1 -0
  13. package/dist/components/icon/font/iconfont.css +1041 -817
  14. package/dist/components/icon/font/iconfont.js +1 -1
  15. package/dist/components/input/style.less +9 -8
  16. package/dist/components/list/style.less +8 -6
  17. package/dist/components/mixins/themeMixin.js +29 -0
  18. package/dist/components/noticebar/index.vue +4 -3
  19. package/dist/components/noticebar/style.less +23 -0
  20. package/dist/components/popover/style.less +1 -4
  21. package/dist/components/result/completed-dark.png +0 -0
  22. package/dist/components/result/error-dark.png +0 -0
  23. package/dist/components/result/index.vue +24 -5
  24. package/dist/components/result/wait-dark.png +0 -0
  25. package/dist/components/slider/style.less +1 -0
  26. package/dist/components/step-item/index.vue +40 -12
  27. package/dist/components/step-item/style.less +6 -6
  28. package/dist/components/switch/style.less +2 -0
  29. package/dist/components/tabs/index.vue +4 -1
  30. package/dist/components/tabs/style.less +12 -12
  31. package/dist/img/completed-dark.4183a8a8.png +0 -0
  32. package/dist/img/error-dark.b80857da.png +0 -0
  33. package/dist/img/wait-dark.6aa28731.png +0 -0
  34. package/dist/token.css +184 -176
  35. package/dist/vdesign-ui.common.js +417 -305
  36. package/dist/vdesign-ui.css +1 -1
  37. package/dist/vdesign-ui.umd.js +417 -305
  38. package/dist/vdesign-ui.umd.min.js +3 -3
  39. package/package.json +3 -3
  40. package/dist/components/dialog/index copy.vue +0 -112
@@ -1,27 +1,29 @@
1
-
2
1
  @dialog-prefix-cls: vd-dialog;
3
2
 
4
- .@{dialog-prefix-cls}{
3
+ .@{dialog-prefix-cls} {
5
4
  position: absolute;
6
5
  left: 50%;
7
6
  top: 50%;
8
7
  z-index: 2111;
9
- transform: translate(-50%,-50%);
8
+ transform: translate(-50%, -50%);
10
9
  width: 279px;
11
- background-color:var(--color-dialog-bg);
10
+ background-color: var(--color-dialog-bg);
12
11
  border-radius: calc(var(--radius-dialog-content) * 1px);
13
12
  padding-inline-start: calc(var(--spacing-dialog-padding_left) * 1px);
14
13
  padding-inline-end: calc(var(--spacing-dialog-padding_right) * 1px);
15
14
 
16
- ::-webkit-scrollbar{width:3px;}
15
+ ::-webkit-scrollbar {
16
+ width: 3px;
17
+ }
17
18
 
18
19
 
19
- &__header{
20
+ &__header {
20
21
  padding-block-start: calc(var(--spacing-dialog-padding_top) * 1px);
21
-
22
- &--img{
22
+
23
+ &--img {
23
24
  padding-block-start: calc(var(--spacing-dialog-icon-padding_top) * 1px);
24
- &-content{
25
+
26
+ &-content {
25
27
  text-align: center;
26
28
  margin-block-end: calc(var(--spacing-dialog-icon_title-margin_top) * 1px);
27
29
  }
@@ -29,15 +31,15 @@
29
31
 
30
32
  }
31
33
 
32
- &__title{
33
- text-align: center;
34
+ &__title {
35
+ text-align: center;
34
36
  font-size: calc(var(--en-multi-f-e-s-fontSize) * 1px);
35
37
  font-weight: var(--en-multi-f-e-s-fontWeight);
36
- line-height: calc(var(--en-multi-f-e-s-lineHeight) * 1px);
37
- color:var(--color-dialog-title);
38
+ line-height: calc(var(--en-multi-f-e-s-lineHeight) * 1px);
39
+ color: var(--color-dialog-title);
38
40
  }
39
41
 
40
- &__message{
42
+ &__message {
41
43
  text-align: center;
42
44
  overflow-y: auto;
43
45
  min-height: calc(var(--height-dialog-super_small) * 1px);
@@ -45,65 +47,68 @@
45
47
  margin-block-start: calc(var(--spacing-dialog-title-margin_bottom) * 1px);
46
48
  font-size: calc(var(--en-multi-f-d-r-fontSize) * 1px);
47
49
  font-weight: var(--en-multi-f-d-r-fontWeight);
48
- line-height: calc(var(--en-multi-f-d-r-lineHeight) * 1px);
50
+ line-height: calc(var(--en-multi-f-d-r-lineHeight) * 1px);
49
51
  color: var(--color-dialog-text);
50
52
 
51
- &--head{
53
+ &--head {
52
54
  margin-block-start: 0;
53
55
  color: var(--color-dialog-title);
54
56
  }
55
57
  }
56
58
 
57
- &__footer{
58
- margin-block-start: calc(var(--spacing-dialog-button-margin_top) * 1px);
59
+ &__footer {
60
+ margin-block-start: calc(var(--spacing-dialog-button-margin_top) * 1px);
59
61
  }
60
-
61
- &__btns{
62
+
63
+ &__btns {
62
64
  display: flex;
63
65
  justify-content: space-between;
64
66
  padding-block-end: calc(var(--spacing-dialog-padding_bottom) * 1px);
65
67
 
66
- button{
68
+ button {
67
69
  flex: 1;
68
70
  }
69
- button+button{
71
+
72
+ button+button {
70
73
  margin-inline-start: calc(var(--spacing-dialog-button_double-margin_mid) * 1px);
71
74
  }
72
75
  }
73
76
 
74
- &__btn{
77
+ &__btn {
75
78
  padding-block-end: calc(var(--spacing-dialog-padding_bottom) * 1px);
76
79
  padding-inline-start: calc(var(--spacing-dialog-button_single-margin_left) * 1px);
77
80
  padding-inline-end: calc(var(--spacing-dialog-button_single-margin_right) * 1px);
78
81
  }
79
-
80
- &__btns--text{
82
+
83
+ &__btns--text {
81
84
  display: flex;
82
85
  justify-content: space-between;
83
86
  padding-block-end: calc(var(--spacing-dialog-button_text-padding_bottom) * 1px);
84
87
 
85
- button{
88
+ button {
86
89
  flex: 1;
87
90
  }
88
- button+button{
91
+
92
+ button+button {
89
93
  margin-inline-start: calc(var(--spacing-dialog-button_double-margin_mid) * 1px);
90
- }
94
+ }
91
95
  }
92
96
 
93
- &__btn--text-block{
97
+ &__btn--text-block {
94
98
  display: flex;
95
99
  justify-content: space-between;
96
100
  padding-block-end: calc(var(--spacing-dialog-button_text-padding_bottom) * 1px);
97
101
  }
98
102
 
99
- &__btns-block{
103
+ &__btns-block {
100
104
 
101
105
  padding-block-end: calc(var(--spacing-dialog-button_text-padding_bottom) * 1px);
102
106
 
103
- button{
107
+ button {
104
108
  flex: 1;
105
109
  }
106
- button+button{
110
+
111
+ button+button {
107
112
  margin-block-start: calc(var(--spacing-dialog-button_double-margin_mid) * 1px);
108
113
  }
109
114
  }
@@ -118,5 +123,10 @@
118
123
  width: 100%;
119
124
  height: 100%;
120
125
  background-color: var(--color-dialog-mask_bg);
121
- }
122
-
126
+ }
127
+
128
+ html[theme="dark"] {
129
+ .@{dialog-prefix-cls} {
130
+ background: linear-gradient(0deg, var(--bg-color-4) 0%, var(--bg-color-4) 100%), var(--bg-color-1);
131
+ }
132
+ }
@@ -106,7 +106,7 @@ export default {
106
106
  state: {
107
107
  type: String,
108
108
  default: 'close',
109
- validator: value => ['open', 'preopen', 'close'].includes(value)
109
+ validator: value => ['open', 'preopen', 'close', 'fusing', 'pre', 'last'].includes(value)
110
110
  },
111
111
  stateText: {
112
112
  type: String,
@@ -278,6 +278,22 @@
278
278
  background-color: var(--color-dropdown-state-fusing);
279
279
  }
280
280
  }
281
+
282
+ &--pre {
283
+ color: var(--color-dropdown-state-pre_market_auction);
284
+
285
+ &::before {
286
+ background-color: var(--color-dropdown-state-pre_market_auction);
287
+ }
288
+ }
289
+
290
+ &--last {
291
+ color: var(--color-dropdown-state-last_trading_session);
292
+
293
+ &::before {
294
+ background-color: var(--color-dropdown-state-last_trading_session);
295
+ }
296
+ }
281
297
  }
282
298
 
283
299
 
@@ -17,6 +17,6 @@
17
17
  &__text{
18
18
  font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
19
19
  font-weight: var(--en-single-f-b-r-fontWeight);
20
- color: var(--text-color-h3);
20
+ color: var(--text-color-h2);
21
21
  }
22
22
  }
@@ -13,6 +13,7 @@
13
13
  .vd-iconfont {
14
14
  margin-bottom: 2px;
15
15
  font-size: calc(var(--icon-footnav-size) * 1px);
16
+ color: var(--text-color-h2);
16
17
  }
17
18
 
18
19
  &:active {