tlvant 0.0.17 → 0.0.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.
@@ -1,112 +1,112 @@
1
- @import '../style/var';
2
- @import '../style/mixins/hairline';
3
-
4
- .van-action-sheet {
5
- display: flex;
6
- flex-direction: column;
7
- max-height: @action-sheet-max-height;
8
- overflow: hidden;
9
- color: @action-sheet-item-text-color;
10
-
11
- &__content {
12
- flex: 1 auto;
13
- overflow-y: auto;
14
- -webkit-overflow-scrolling: touch;
15
- }
16
-
17
- &__item,
18
- &__cancel {
19
- display: block;
20
- width: 100%;
21
- padding: 14px @padding-md;
22
- font-size: @action-sheet-item-font-size;
23
- background-color: @action-sheet-item-background;
24
- border: none;
25
- cursor: pointer;
26
-
27
- &:active {
28
- background-color: @active-color;
29
- }
30
- }
31
-
32
- &__item {
33
- line-height: @action-sheet-item-line-height;
34
-
35
- &--loading,
36
- &--disabled {
37
- color: @action-sheet-item-disabled-text-color;
38
-
39
- &:active {
40
- background-color: @action-sheet-item-background;
41
- }
42
- }
43
-
44
- &--disabled {
45
- cursor: not-allowed;
46
- }
47
-
48
- &--loading {
49
- cursor: default;
50
- }
51
- }
52
-
53
- &__cancel {
54
- flex-shrink: 0;
55
- box-sizing: border-box;
56
- color: @action-sheet-cancel-text-color;
57
- }
58
-
59
- &__subname {
60
- margin-top: @padding-xs;
61
- color: @action-sheet-subname-color;
62
- font-size: @action-sheet-subname-font-size;
63
- line-height: @action-sheet-subname-line-height;
64
- }
65
-
66
- &__gap {
67
- display: block;
68
- height: @action-sheet-cancel-padding-top;
69
- background-color: @action-sheet-cancel-padding-color;
70
- }
71
-
72
- &__header {
73
- flex-shrink: 0;
74
- font-weight: @font-weight-bold;
75
- font-size: @action-sheet-header-font-size;
76
- line-height: @action-sheet-header-height;
77
- text-align: center;
78
- }
79
-
80
- &__description {
81
- position: relative;
82
- flex-shrink: 0;
83
- padding: 20px @padding-md;
84
- color: @action-sheet-description-color;
85
- font-size: @action-sheet-description-font-size;
86
- line-height: @action-sheet-description-line-height;
87
- text-align: center;
88
-
89
- &::after {
90
- .hairline-bottom(@cell-border-color, @padding-md, @padding-md);
91
- }
92
- }
93
-
94
- &__loading-icon .van-loading__spinner {
95
- width: @action-sheet-loading-icon-size;
96
- height: @action-sheet-loading-icon-size;
97
- }
98
-
99
- &__close {
100
- position: absolute;
101
- top: 0;
102
- right: 0;
103
- padding: @action-sheet-close-icon-padding;
104
- color: @action-sheet-close-icon-color;
105
- font-size: @action-sheet-close-icon-size;
106
- line-height: inherit;
107
-
108
- &:active {
109
- color: @action-sheet-close-icon-active-color;
110
- }
111
- }
112
- }
1
+ @import '../style/var';
2
+ @import '../style/mixins/hairline';
3
+
4
+ .van-action-sheet {
5
+ display: flex;
6
+ flex-direction: column;
7
+ max-height: @action-sheet-max-height;
8
+ overflow: hidden;
9
+ color: @action-sheet-item-text-color;
10
+
11
+ &__content {
12
+ flex: 1 auto;
13
+ overflow-y: auto;
14
+ -webkit-overflow-scrolling: touch;
15
+ }
16
+
17
+ &__item,
18
+ &__cancel {
19
+ display: block;
20
+ width: 100%;
21
+ padding: 14px @padding-md;
22
+ font-size: @action-sheet-item-font-size;
23
+ background-color: @action-sheet-item-background;
24
+ border: none;
25
+ cursor: pointer;
26
+
27
+ &:active {
28
+ background-color: @active-color;
29
+ }
30
+ }
31
+
32
+ &__item {
33
+ line-height: @action-sheet-item-line-height;
34
+
35
+ &--loading,
36
+ &--disabled {
37
+ color: @action-sheet-item-disabled-text-color;
38
+
39
+ &:active {
40
+ background-color: @action-sheet-item-background;
41
+ }
42
+ }
43
+
44
+ &--disabled {
45
+ cursor: not-allowed;
46
+ }
47
+
48
+ &--loading {
49
+ cursor: default;
50
+ }
51
+ }
52
+
53
+ &__cancel {
54
+ flex-shrink: 0;
55
+ box-sizing: border-box;
56
+ color: @action-sheet-cancel-text-color;
57
+ }
58
+
59
+ &__subname {
60
+ margin-top: @padding-xs;
61
+ color: @action-sheet-subname-color;
62
+ font-size: @action-sheet-subname-font-size;
63
+ line-height: @action-sheet-subname-line-height;
64
+ }
65
+
66
+ &__gap {
67
+ display: block;
68
+ height: @action-sheet-cancel-padding-top;
69
+ background-color: @action-sheet-cancel-padding-color;
70
+ }
71
+
72
+ &__header {
73
+ flex-shrink: 0;
74
+ font-weight: @font-weight-bold;
75
+ font-size: @action-sheet-header-font-size;
76
+ line-height: @action-sheet-header-height;
77
+ text-align: center;
78
+ }
79
+
80
+ &__description {
81
+ position: relative;
82
+ flex-shrink: 0;
83
+ padding: 20px @padding-md;
84
+ color: @action-sheet-description-color;
85
+ font-size: @action-sheet-description-font-size;
86
+ line-height: @action-sheet-description-line-height;
87
+ text-align: center;
88
+
89
+ &::after {
90
+ .hairline-bottom(@cell-border-color, @padding-md, @padding-md);
91
+ }
92
+ }
93
+
94
+ &__loading-icon .van-loading__spinner {
95
+ width: @action-sheet-loading-icon-size;
96
+ height: @action-sheet-loading-icon-size;
97
+ }
98
+
99
+ &__close {
100
+ position: absolute;
101
+ top: 0;
102
+ right: 0;
103
+ padding: @action-sheet-close-icon-padding;
104
+ color: @action-sheet-close-icon-color;
105
+ font-size: @action-sheet-close-icon-size;
106
+ line-height: inherit;
107
+
108
+ &:active {
109
+ color: @action-sheet-close-icon-active-color;
110
+ }
111
+ }
112
+ }
@@ -1,21 +1,21 @@
1
- @import '../style/var';
2
-
3
- .van-index-anchor {
4
- z-index: @index-anchor-z-index;
5
- box-sizing: border-box;
6
- padding: @index-anchor-padding;
7
- color: @index-anchor-text-color;
8
- font-weight: @index-anchor-font-weight;
9
- font-size: @index-anchor-font-size;
10
- line-height: @index-anchor-line-height;
11
- background-color: @index-anchor-background-color;
12
-
13
- &--sticky {
14
- position: fixed;
15
- top: 0;
16
- right: 0;
17
- left: 0;
18
- color: @index-anchor-sticky-text-color;
19
- background-color: @index-anchor-sticky-background-color;
20
- }
21
- }
1
+ @import '../style/var';
2
+
3
+ .van-index-anchor {
4
+ z-index: @index-anchor-z-index;
5
+ box-sizing: border-box;
6
+ padding: @index-anchor-padding;
7
+ color: @index-anchor-text-color;
8
+ font-weight: @index-anchor-font-weight;
9
+ font-size: @index-anchor-font-size;
10
+ line-height: @index-anchor-line-height;
11
+ background-color: @index-anchor-background-color;
12
+
13
+ &--sticky {
14
+ position: fixed;
15
+ top: 0;
16
+ right: 0;
17
+ left: 0;
18
+ color: @index-anchor-sticky-text-color;
19
+ background-color: @index-anchor-sticky-background-color;
20
+ }
21
+ }
@@ -1,27 +1,27 @@
1
- @import '../style/var';
2
-
3
- .van-index-bar {
4
- &__sidebar {
5
- position: fixed;
6
- top: 50%;
7
- right: 0;
8
- z-index: @index-bar-sidebar-z-index;
9
- display: flex;
10
- flex-direction: column;
11
- text-align: center;
12
- transform: translateY(-50%);
13
- cursor: pointer;
14
- user-select: none;
15
- }
16
-
17
- &__index {
18
- padding: 0 @padding-xs 0 @padding-md;
19
- font-weight: @font-weight-bold;
20
- font-size: @index-bar-index-font-size;
21
- line-height: @index-bar-index-line-height;
22
-
23
- &--active {
24
- color: @index-bar-index-active-color;
25
- }
26
- }
27
- }
1
+ @import '../style/var';
2
+
3
+ .van-index-bar {
4
+ &__sidebar {
5
+ position: fixed;
6
+ top: 50%;
7
+ right: 0;
8
+ z-index: @index-bar-sidebar-z-index;
9
+ display: flex;
10
+ flex-direction: column;
11
+ text-align: center;
12
+ transform: translateY(-50%);
13
+ cursor: pointer;
14
+ user-select: none;
15
+ }
16
+
17
+ &__index {
18
+ padding: 0 @padding-xs 0 @padding-md;
19
+ font-weight: @font-weight-bold;
20
+ font-size: @index-bar-index-font-size;
21
+ line-height: @index-bar-index-line-height;
22
+
23
+ &--active {
24
+ color: @index-bar-index-active-color;
25
+ }
26
+ }
27
+ }
package/es/index.js CHANGED
@@ -56,7 +56,7 @@ import Tabs from './tabs';
56
56
  import Tag from './tag';
57
57
  import Toast from './toast';
58
58
  import Uploader from './uploader';
59
- var version = '0.0.17';
59
+ var version = '0.0.18';
60
60
 
61
61
  function install(Vue) {
62
62
  var components = [ActionSheet, Area, Button, Calendar, Cell, CellGroup, Checkbox, CheckboxGroup, Collapse, CollapseItem, ContactCard, ContactEdit, ContactList, DatetimePicker, DemoButton, Dialog, DropdownItem, DropdownMenu, Empty, Field, Form, GoodsAction, GoodsActionButton, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, NavBar, NumberKeyboard, Overlay, PasswordInput, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Search, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeItem, Switch, Tab, Tabs, Tag, Toast, Uploader];
package/es/list/index.css CHANGED
@@ -1 +1 @@
1
- .van-list__error-text,.van-list__finished-text,.van-list__loading{color:#969799;font-size:14px;line-height:50px;text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-tabs__line{background-color:#f46358!important;height:2px!important}
1
+ .van-list__error-text,.van-list__finished-text,.van-list__loading{color:#969799;font-size:14px;line-height:50px;text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-tabs__line{background-color:#f46358;height:2px!important}
@@ -16,6 +16,6 @@
16
16
  }
17
17
  }
18
18
  .van-tabs__line {
19
- background-color:#F46358 !important;
19
+ background-color:#F46358;
20
20
  height: 2px !important;
21
21
  }
package/es/tab/index.css CHANGED
@@ -1 +1 @@
1
- .van-tab__pane,.van-tab__pane-wrapper{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__pane-wrapper--inactive{height:0;overflow:visible}.van-tabs__line{width:45px;height:2px;background:#ff594d}
1
+ .van-tab__pane,.van-tab__pane-wrapper{-webkit-flex-shrink:0;flex-shrink:0;box-sizing:border-box;width:100%}.van-tab__pane-wrapper--inactive{height:0;overflow:visible}.van-tabs__line{width:45px;height:2px;background:#3b99fc}
package/es/tab/index.less CHANGED
@@ -20,5 +20,5 @@
20
20
  .van-tabs__line {
21
21
  width: @tl-tab-width ;
22
22
  height: @tl-tab-height;
23
- background: @tl-FF594D ;
23
+ background: @tl-3B99FC ;
24
24
  }
@@ -1,112 +1,112 @@
1
- @import '../style/var';
2
- @import '../style/mixins/hairline';
3
-
4
- .van-action-sheet {
5
- display: flex;
6
- flex-direction: column;
7
- max-height: @action-sheet-max-height;
8
- overflow: hidden;
9
- color: @action-sheet-item-text-color;
10
-
11
- &__content {
12
- flex: 1 auto;
13
- overflow-y: auto;
14
- -webkit-overflow-scrolling: touch;
15
- }
16
-
17
- &__item,
18
- &__cancel {
19
- display: block;
20
- width: 100%;
21
- padding: 14px @padding-md;
22
- font-size: @action-sheet-item-font-size;
23
- background-color: @action-sheet-item-background;
24
- border: none;
25
- cursor: pointer;
26
-
27
- &:active {
28
- background-color: @active-color;
29
- }
30
- }
31
-
32
- &__item {
33
- line-height: @action-sheet-item-line-height;
34
-
35
- &--loading,
36
- &--disabled {
37
- color: @action-sheet-item-disabled-text-color;
38
-
39
- &:active {
40
- background-color: @action-sheet-item-background;
41
- }
42
- }
43
-
44
- &--disabled {
45
- cursor: not-allowed;
46
- }
47
-
48
- &--loading {
49
- cursor: default;
50
- }
51
- }
52
-
53
- &__cancel {
54
- flex-shrink: 0;
55
- box-sizing: border-box;
56
- color: @action-sheet-cancel-text-color;
57
- }
58
-
59
- &__subname {
60
- margin-top: @padding-xs;
61
- color: @action-sheet-subname-color;
62
- font-size: @action-sheet-subname-font-size;
63
- line-height: @action-sheet-subname-line-height;
64
- }
65
-
66
- &__gap {
67
- display: block;
68
- height: @action-sheet-cancel-padding-top;
69
- background-color: @action-sheet-cancel-padding-color;
70
- }
71
-
72
- &__header {
73
- flex-shrink: 0;
74
- font-weight: @font-weight-bold;
75
- font-size: @action-sheet-header-font-size;
76
- line-height: @action-sheet-header-height;
77
- text-align: center;
78
- }
79
-
80
- &__description {
81
- position: relative;
82
- flex-shrink: 0;
83
- padding: 20px @padding-md;
84
- color: @action-sheet-description-color;
85
- font-size: @action-sheet-description-font-size;
86
- line-height: @action-sheet-description-line-height;
87
- text-align: center;
88
-
89
- &::after {
90
- .hairline-bottom(@cell-border-color, @padding-md, @padding-md);
91
- }
92
- }
93
-
94
- &__loading-icon .van-loading__spinner {
95
- width: @action-sheet-loading-icon-size;
96
- height: @action-sheet-loading-icon-size;
97
- }
98
-
99
- &__close {
100
- position: absolute;
101
- top: 0;
102
- right: 0;
103
- padding: @action-sheet-close-icon-padding;
104
- color: @action-sheet-close-icon-color;
105
- font-size: @action-sheet-close-icon-size;
106
- line-height: inherit;
107
-
108
- &:active {
109
- color: @action-sheet-close-icon-active-color;
110
- }
111
- }
112
- }
1
+ @import '../style/var';
2
+ @import '../style/mixins/hairline';
3
+
4
+ .van-action-sheet {
5
+ display: flex;
6
+ flex-direction: column;
7
+ max-height: @action-sheet-max-height;
8
+ overflow: hidden;
9
+ color: @action-sheet-item-text-color;
10
+
11
+ &__content {
12
+ flex: 1 auto;
13
+ overflow-y: auto;
14
+ -webkit-overflow-scrolling: touch;
15
+ }
16
+
17
+ &__item,
18
+ &__cancel {
19
+ display: block;
20
+ width: 100%;
21
+ padding: 14px @padding-md;
22
+ font-size: @action-sheet-item-font-size;
23
+ background-color: @action-sheet-item-background;
24
+ border: none;
25
+ cursor: pointer;
26
+
27
+ &:active {
28
+ background-color: @active-color;
29
+ }
30
+ }
31
+
32
+ &__item {
33
+ line-height: @action-sheet-item-line-height;
34
+
35
+ &--loading,
36
+ &--disabled {
37
+ color: @action-sheet-item-disabled-text-color;
38
+
39
+ &:active {
40
+ background-color: @action-sheet-item-background;
41
+ }
42
+ }
43
+
44
+ &--disabled {
45
+ cursor: not-allowed;
46
+ }
47
+
48
+ &--loading {
49
+ cursor: default;
50
+ }
51
+ }
52
+
53
+ &__cancel {
54
+ flex-shrink: 0;
55
+ box-sizing: border-box;
56
+ color: @action-sheet-cancel-text-color;
57
+ }
58
+
59
+ &__subname {
60
+ margin-top: @padding-xs;
61
+ color: @action-sheet-subname-color;
62
+ font-size: @action-sheet-subname-font-size;
63
+ line-height: @action-sheet-subname-line-height;
64
+ }
65
+
66
+ &__gap {
67
+ display: block;
68
+ height: @action-sheet-cancel-padding-top;
69
+ background-color: @action-sheet-cancel-padding-color;
70
+ }
71
+
72
+ &__header {
73
+ flex-shrink: 0;
74
+ font-weight: @font-weight-bold;
75
+ font-size: @action-sheet-header-font-size;
76
+ line-height: @action-sheet-header-height;
77
+ text-align: center;
78
+ }
79
+
80
+ &__description {
81
+ position: relative;
82
+ flex-shrink: 0;
83
+ padding: 20px @padding-md;
84
+ color: @action-sheet-description-color;
85
+ font-size: @action-sheet-description-font-size;
86
+ line-height: @action-sheet-description-line-height;
87
+ text-align: center;
88
+
89
+ &::after {
90
+ .hairline-bottom(@cell-border-color, @padding-md, @padding-md);
91
+ }
92
+ }
93
+
94
+ &__loading-icon .van-loading__spinner {
95
+ width: @action-sheet-loading-icon-size;
96
+ height: @action-sheet-loading-icon-size;
97
+ }
98
+
99
+ &__close {
100
+ position: absolute;
101
+ top: 0;
102
+ right: 0;
103
+ padding: @action-sheet-close-icon-padding;
104
+ color: @action-sheet-close-icon-color;
105
+ font-size: @action-sheet-close-icon-size;
106
+ line-height: inherit;
107
+
108
+ &:active {
109
+ color: @action-sheet-close-icon-active-color;
110
+ }
111
+ }
112
+ }
@@ -1,21 +1,21 @@
1
- @import '../style/var';
2
-
3
- .van-index-anchor {
4
- z-index: @index-anchor-z-index;
5
- box-sizing: border-box;
6
- padding: @index-anchor-padding;
7
- color: @index-anchor-text-color;
8
- font-weight: @index-anchor-font-weight;
9
- font-size: @index-anchor-font-size;
10
- line-height: @index-anchor-line-height;
11
- background-color: @index-anchor-background-color;
12
-
13
- &--sticky {
14
- position: fixed;
15
- top: 0;
16
- right: 0;
17
- left: 0;
18
- color: @index-anchor-sticky-text-color;
19
- background-color: @index-anchor-sticky-background-color;
20
- }
21
- }
1
+ @import '../style/var';
2
+
3
+ .van-index-anchor {
4
+ z-index: @index-anchor-z-index;
5
+ box-sizing: border-box;
6
+ padding: @index-anchor-padding;
7
+ color: @index-anchor-text-color;
8
+ font-weight: @index-anchor-font-weight;
9
+ font-size: @index-anchor-font-size;
10
+ line-height: @index-anchor-line-height;
11
+ background-color: @index-anchor-background-color;
12
+
13
+ &--sticky {
14
+ position: fixed;
15
+ top: 0;
16
+ right: 0;
17
+ left: 0;
18
+ color: @index-anchor-sticky-text-color;
19
+ background-color: @index-anchor-sticky-background-color;
20
+ }
21
+ }
@@ -1,27 +1,27 @@
1
- @import '../style/var';
2
-
3
- .van-index-bar {
4
- &__sidebar {
5
- position: fixed;
6
- top: 50%;
7
- right: 0;
8
- z-index: @index-bar-sidebar-z-index;
9
- display: flex;
10
- flex-direction: column;
11
- text-align: center;
12
- transform: translateY(-50%);
13
- cursor: pointer;
14
- user-select: none;
15
- }
16
-
17
- &__index {
18
- padding: 0 @padding-xs 0 @padding-md;
19
- font-weight: @font-weight-bold;
20
- font-size: @index-bar-index-font-size;
21
- line-height: @index-bar-index-line-height;
22
-
23
- &--active {
24
- color: @index-bar-index-active-color;
25
- }
26
- }
27
- }
1
+ @import '../style/var';
2
+
3
+ .van-index-bar {
4
+ &__sidebar {
5
+ position: fixed;
6
+ top: 50%;
7
+ right: 0;
8
+ z-index: @index-bar-sidebar-z-index;
9
+ display: flex;
10
+ flex-direction: column;
11
+ text-align: center;
12
+ transform: translateY(-50%);
13
+ cursor: pointer;
14
+ user-select: none;
15
+ }
16
+
17
+ &__index {
18
+ padding: 0 @padding-xs 0 @padding-md;
19
+ font-weight: @font-weight-bold;
20
+ font-size: @index-bar-index-font-size;
21
+ line-height: @index-bar-index-line-height;
22
+
23
+ &--active {
24
+ color: @index-bar-index-active-color;
25
+ }
26
+ }
27
+ }