fixed-vuesax 3.13.122 → 3.14.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 (49) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +187 -187
  3. package/dist/demo.html +1 -10
  4. package/dist/style/colors.styl +30 -30
  5. package/dist/style/components/vsAlert.styl +66 -66
  6. package/dist/style/components/vsAvatar.styl +64 -64
  7. package/dist/style/components/vsBreadcrumb.styl +50 -50
  8. package/dist/style/components/vsButton.styl +181 -181
  9. package/dist/style/components/vsCard.styl +64 -64
  10. package/dist/style/components/vsCheckBox.styl +111 -111
  11. package/dist/style/components/vsChip.styl +122 -122
  12. package/dist/style/components/vsCollapse.styl +109 -109
  13. package/dist/style/components/vsDivider.styl +34 -34
  14. package/dist/style/components/vsDropDown.styl +231 -231
  15. package/dist/style/components/vsIcon.styl +47 -47
  16. package/dist/style/components/vsImages.styl +166 -166
  17. package/dist/style/components/vsInput.styl +219 -219
  18. package/dist/style/components/vsInputNumber.styl +170 -170
  19. package/dist/style/components/vsList.styl +49 -49
  20. package/dist/style/components/vsLoading.styl +397 -397
  21. package/dist/style/components/vsNavbar.styl +286 -286
  22. package/dist/style/components/vsNotifications.styl +92 -92
  23. package/dist/style/components/vsPagination.styl +143 -143
  24. package/dist/style/components/vsPopup.styl +159 -159
  25. package/dist/style/components/vsProgress.styl +45 -45
  26. package/dist/style/components/vsRadio.styl +93 -93
  27. package/dist/style/components/vsSelect.styl +219 -219
  28. package/dist/style/components/vsSideBar.styl +267 -267
  29. package/dist/style/components/vsSlider.styl +196 -196
  30. package/dist/style/components/vsSpacer.styl +5 -5
  31. package/dist/style/components/vsSwitch.styl +93 -93
  32. package/dist/style/components/vsTable.styl +408 -408
  33. package/dist/style/components/vsTabs.styl +280 -280
  34. package/dist/style/components/vsTextarea.styl +82 -82
  35. package/dist/style/components/vsTimePicker.styl +42 -42
  36. package/dist/style/components/vsTooltip.styl +85 -85
  37. package/dist/style/components/vsUpload.styl +460 -460
  38. package/dist/style/mixins.styl +133 -133
  39. package/dist/style/root.styl +9 -9
  40. package/dist/style/vars.styl +45 -45
  41. package/dist/style/vuesax.styl +25 -25
  42. package/dist/vuesax.common.js +1 -1
  43. package/dist/vuesax.common.js.map +1 -1
  44. package/dist/vuesax.css +1 -1
  45. package/dist/vuesax.umd.js +1 -1
  46. package/dist/vuesax.umd.js.map +1 -1
  47. package/dist/vuesax.umd.min.js +2 -1
  48. package/dist/vuesax.umd.min.js.map +1 -0
  49. package/package.json +24 -26
@@ -1,231 +1,231 @@
1
- //transitions
2
- .dropdown-group-enter-active, .dropdown-group-leave-active {
3
- transition: opacity .25s;
4
- }
5
-
6
- .dropdown-group-enter, .dropdown-group-leave-to /* .fade-leave-active below version 2.1.8 */
7
- {
8
- opacity: 0;
9
- }
10
-
11
- .vs-con-dropdown
12
- position: relative;
13
- display: inline-block;
14
- border: 0;
15
- background: transparent;
16
-
17
- *
18
- pointer-events: none
19
-
20
- a
21
- user-select: none !important;
22
-
23
- &:active
24
- opacity: 1 !important;
25
-
26
- .vuesax-app-is-rtl
27
- .vs-con-dropdown
28
- .a-icon
29
- flex-direction: row-reverse
30
-
31
- .vs-dropdown--group
32
- position: relative;
33
- list-style: none;
34
- margin-left: 3px;
35
- width: auto;
36
- display: block;
37
- padding: 5px;
38
- padding-left: 10px
39
- padding-right: 10px
40
- box-sizing: border-box;
41
- cursor: pointer;
42
- transition: all .3s ease;
43
-
44
- &.marginIcon
45
- padding-right: 25px;
46
-
47
- &:hover
48
- .con-dropdown--group
49
- border-left: 1px solid rgba(0, 0, 0, 0.1);
50
-
51
- > .icon-group
52
- transform: translate(0, -50%) rotate(-180deg);
53
- opacity: 0;
54
-
55
- .vs-dropdown--group-label
56
- font-size: 0.9375em;
57
- font-weight: normal;
58
- pointer-events: none
59
-
60
- .vs-dropdown--group-icon
61
- position: absolute;
62
- right: 4px;
63
- font-size: 1.125em;
64
- top: 50%;
65
- transition: all .25s ease;
66
- transform: translate(0, -50%);
67
-
68
- .con-dropdown--group-con-ul
69
- padding-left: 3px
70
- position: relative;
71
- right: 0;
72
- top: 0;
73
- min-width: 130px;
74
- width: auto;
75
- z-index: 1000;
76
- background: inherit
77
- overflow: hidden;
78
- transition: all .3s ease;
79
- border-left: 1px solid rgba(0, 0, 0, 0.1);
80
-
81
- .con-dropdown--group-ul
82
- padding-top: 5px;
83
- padding-left: 0;
84
- position: relative;
85
- background: rgb(255, 255, 255);
86
- border-radius: 5px;
87
-
88
- .no-cascading
89
- font-weight: bold;
90
- border-top: 1px solid rgba(0, 0, 0, 0.05);
91
- padding-left: 0 !important;
92
- padding-right: 0 !important;
93
- margin-top: 5px !important;
94
- margin-left: 0;
95
-
96
- > h3
97
- padding: 0 10px;
98
- font-size: 0.9375em;
99
- padding-top: 6px;
100
- padding-bottom: 6px;
101
- cursor: default;
102
-
103
- .con-dropdown--group-no-cascading
104
- width: 100% !important;
105
- font-weight: bold;
106
- height: auto !important;
107
- opacity: 1 !important;
108
- border-left: 1px solid rgba(0, 0, 0, 0.0) !important;
109
-
110
- ul
111
- width: 100%;
112
- box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0) !important;
113
- padding-left: 0 !important;
114
-
115
-
116
- .vs-dropdown--item
117
- transition: all .2s ease;
118
- position: relative;
119
- z-index: 100;
120
- dirValue(text-align, left)
121
- border-radius: 5px;
122
- width: calc(100% - 6px)
123
- margin: 0 3px;
124
- list-style: none;
125
- font-weight: normal !important;
126
- font-size: 0.9375em;
127
-
128
- .vs-dropdown--item-link
129
- background: inherit !important;
130
- color: inherit !important;
131
- cursor: pointer;
132
- transition: all .2s ease;
133
- padding: 5px;
134
- padding-left: 10px;
135
- padding-right: 10px;
136
- width: 100%;
137
- position: relative;
138
- display: block;
139
-
140
- &.disabled
141
- user-select: none;
142
- pointer-events: none !important;
143
- cursor: default;
144
- opacity: $vs-disabled-opacity !important;
145
- color: rgba(0, 0, 0, $vs-disabled-opacity) !important;
146
-
147
- &.divider
148
- border-top: 1px solid rgba(0, 0, 0, 0.08)
149
- margin-top: 5px;
150
-
151
-
152
- //transitions
153
- .dropdownx-enter, .dropdownx-leave-to /* .fade-leave-active below version 2.1.8 */
154
- {
155
- opacity: 0;
156
- transform: translate(-100%, 8px) !important;
157
- }
158
-
159
- .con-vs-dropdown--menu
160
- padding-top: 10px
161
- position: absolute;
162
- height: auto;
163
- width: auto;
164
- z-index: 40000
165
- transform: translate(-100%);
166
- transition: opacity .25s, transform .25s, width .3s ease;
167
-
168
- &.rightx
169
- .vs-dropdown--menu--after
170
- left: 30px
171
- right: 0
172
-
173
- &::after
174
- content: ''
175
- display block
176
- width 100%
177
- height 10px
178
- position absolute
179
- left 0
180
- top 100%
181
-
182
- .vs-dropdown--menu
183
- background: rgb(255, 255, 255);
184
- padding-left: 0 !important;
185
- border-radius: 5px;
186
- box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.1);
187
- border: 1px solid rgba(0, 0, 0, 0.1)
188
- padding-top: 5px;
189
- padding-bottom: 5px;
190
- position: relative;
191
- margin: 0;
192
-
193
- .vs-dropdown-right--menu--after
194
- position: absolute;
195
- left: 20px;
196
- width: 10px;
197
- height: 10px;
198
- display: block;
199
- background: rgb(255, 255, 255);
200
- transform: rotate(45deg) translate(-7px);
201
- border-top: 1px solid rgba(0, 0, 0, 0.1);
202
- border-left: 1px solid rgba(0, 0, 0, 0.1);
203
- z-index: 10;
204
- box-sizing: border-box
205
-
206
- .vs-dropdown--menu--after
207
- position: absolute;
208
- right: 10px;
209
- width: 10px;
210
- height: 10px;
211
- display: block;
212
- background: rgb(255, 255, 255);
213
- transform: rotate(45deg) translate(-7px);
214
- border-top: 1px solid rgba(0, 0, 0, 0.1);
215
- border-left: 1px solid rgba(0, 0, 0, 0.1);
216
- z-index: 10;
217
- box-sizing: border-box
218
-
219
- &.notHeight .vs-dropdown-menu
220
- &::after
221
- top: auto;
222
- bottom: 0;
223
- border-top: 1px solid rgba(0, 0, 0, 0.0);
224
- border-left: 1px solid rgba(0, 0, 0, 0.0);
225
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
226
- border-right: 1px solid rgba(0, 0, 0, 0.1);
227
- transform: rotate(45deg) translate(7px);
228
-
229
- .vs-dropdown--custom
230
- padding: 5px !important;
231
- padding-top: 8px !important;
1
+ //transitions
2
+ .dropdown-group-enter-active, .dropdown-group-leave-active {
3
+ transition: opacity .25s;
4
+ }
5
+
6
+ .dropdown-group-enter, .dropdown-group-leave-to /* .fade-leave-active below version 2.1.8 */
7
+ {
8
+ opacity: 0;
9
+ }
10
+
11
+ .vs-con-dropdown
12
+ position: relative;
13
+ display: inline-block;
14
+ border: 0;
15
+ background: transparent;
16
+
17
+ *
18
+ pointer-events: none
19
+
20
+ a
21
+ user-select: none !important;
22
+
23
+ &:active
24
+ opacity: 1 !important;
25
+
26
+ .vuesax-app-is-rtl
27
+ .vs-con-dropdown
28
+ .a-icon
29
+ flex-direction: row-reverse
30
+
31
+ .vs-dropdown--group
32
+ position: relative;
33
+ list-style: none;
34
+ margin-left: 3px;
35
+ width: auto;
36
+ display: block;
37
+ padding: 5px;
38
+ padding-left: 10px
39
+ padding-right: 10px
40
+ box-sizing: border-box;
41
+ cursor: pointer;
42
+ transition: all .3s ease;
43
+
44
+ &.marginIcon
45
+ padding-right: 25px;
46
+
47
+ &:hover
48
+ .con-dropdown--group
49
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
50
+
51
+ > .icon-group
52
+ transform: translate(0, -50%) rotate(-180deg);
53
+ opacity: 0;
54
+
55
+ .vs-dropdown--group-label
56
+ font-size: 0.9375em;
57
+ font-weight: normal;
58
+ pointer-events: none
59
+
60
+ .vs-dropdown--group-icon
61
+ position: absolute;
62
+ right: 4px;
63
+ font-size: 1.125em;
64
+ top: 50%;
65
+ transition: all .25s ease;
66
+ transform: translate(0, -50%);
67
+
68
+ .con-dropdown--group-con-ul
69
+ padding-left: 3px
70
+ position: relative;
71
+ right: 0;
72
+ top: 0;
73
+ min-width: 130px;
74
+ width: auto;
75
+ z-index: 1000;
76
+ background: inherit
77
+ overflow: hidden;
78
+ transition: all .3s ease;
79
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
80
+
81
+ .con-dropdown--group-ul
82
+ padding-top: 5px;
83
+ padding-left: 0;
84
+ position: relative;
85
+ background: rgb(255, 255, 255);
86
+ border-radius: 5px;
87
+
88
+ .no-cascading
89
+ font-weight: bold;
90
+ border-top: 1px solid rgba(0, 0, 0, 0.05);
91
+ padding-left: 0 !important;
92
+ padding-right: 0 !important;
93
+ margin-top: 5px !important;
94
+ margin-left: 0;
95
+
96
+ > h3
97
+ padding: 0 10px;
98
+ font-size: 0.9375em;
99
+ padding-top: 6px;
100
+ padding-bottom: 6px;
101
+ cursor: default;
102
+
103
+ .con-dropdown--group-no-cascading
104
+ width: 100% !important;
105
+ font-weight: bold;
106
+ height: auto !important;
107
+ opacity: 1 !important;
108
+ border-left: 1px solid rgba(0, 0, 0, 0.0) !important;
109
+
110
+ ul
111
+ width: 100%;
112
+ box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0) !important;
113
+ padding-left: 0 !important;
114
+
115
+
116
+ .vs-dropdown--item
117
+ transition: all .2s ease;
118
+ position: relative;
119
+ z-index: 100;
120
+ dirValue(text-align, left)
121
+ border-radius: 5px;
122
+ width: calc(100% - 6px)
123
+ margin: 0 3px;
124
+ list-style: none;
125
+ font-weight: normal !important;
126
+ font-size: 0.9375em;
127
+
128
+ .vs-dropdown--item-link
129
+ background: inherit !important;
130
+ color: inherit !important;
131
+ cursor: pointer;
132
+ transition: all .2s ease;
133
+ padding: 5px;
134
+ padding-left: 10px;
135
+ padding-right: 10px;
136
+ width: 100%;
137
+ position: relative;
138
+ display: block;
139
+
140
+ &.disabled
141
+ user-select: none;
142
+ pointer-events: none !important;
143
+ cursor: default;
144
+ opacity: $vs-disabled-opacity !important;
145
+ color: rgba(0, 0, 0, $vs-disabled-opacity) !important;
146
+
147
+ &.divider
148
+ border-top: 1px solid rgba(0, 0, 0, 0.08)
149
+ margin-top: 5px;
150
+
151
+
152
+ //transitions
153
+ .dropdownx-enter, .dropdownx-leave-to /* .fade-leave-active below version 2.1.8 */
154
+ {
155
+ opacity: 0;
156
+ transform: translate(-100%, 8px) !important;
157
+ }
158
+
159
+ .con-vs-dropdown--menu
160
+ padding-top: 10px
161
+ position: absolute;
162
+ height: auto;
163
+ width: auto;
164
+ z-index: 40000
165
+ transform: translate(-100%);
166
+ transition: opacity .25s, transform .25s, width .3s ease;
167
+
168
+ &.rightx
169
+ .vs-dropdown--menu--after
170
+ left: 30px
171
+ right: 0
172
+
173
+ &::after
174
+ content: ''
175
+ display block
176
+ width 100%
177
+ height 10px
178
+ position absolute
179
+ left 0
180
+ top 100%
181
+
182
+ .vs-dropdown--menu
183
+ background: rgb(255, 255, 255);
184
+ padding-left: 0 !important;
185
+ border-radius: 5px;
186
+ box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.1);
187
+ border: 1px solid rgba(0, 0, 0, 0.1)
188
+ padding-top: 5px;
189
+ padding-bottom: 5px;
190
+ position: relative;
191
+ margin: 0;
192
+
193
+ .vs-dropdown-right--menu--after
194
+ position: absolute;
195
+ left: 20px;
196
+ width: 10px;
197
+ height: 10px;
198
+ display: block;
199
+ background: rgb(255, 255, 255);
200
+ transform: rotate(45deg) translate(-7px);
201
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
202
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
203
+ z-index: 10;
204
+ box-sizing: border-box
205
+
206
+ .vs-dropdown--menu--after
207
+ position: absolute;
208
+ right: 10px;
209
+ width: 10px;
210
+ height: 10px;
211
+ display: block;
212
+ background: rgb(255, 255, 255);
213
+ transform: rotate(45deg) translate(-7px);
214
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
215
+ border-left: 1px solid rgba(0, 0, 0, 0.1);
216
+ z-index: 10;
217
+ box-sizing: border-box
218
+
219
+ &.notHeight .vs-dropdown-menu
220
+ &::after
221
+ top: auto;
222
+ bottom: 0;
223
+ border-top: 1px solid rgba(0, 0, 0, 0.0);
224
+ border-left: 1px solid rgba(0, 0, 0, 0.0);
225
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
226
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
227
+ transform: rotate(45deg) translate(7px);
228
+
229
+ .vs-dropdown--custom
230
+ padding: 5px !important;
231
+ padding-top: 8px !important;
@@ -1,47 +1,47 @@
1
- .vs-icon
2
- user-select none
3
- color: inherit
4
- text-align: center
5
- font-size: 1rem
6
-
7
- &.large
8
- font-size: 3.125rem;
9
- width: 3.125rem;
10
- height: 3.125rem;
11
-
12
- &.medium
13
- font-size: 2.31rem;
14
- width: 2.31rem;
15
- height: 2.31rem;
16
-
17
- &.small
18
- font-size: 1.5rem;
19
- width: 1.5rem;
20
- height: 1.5rem;
21
-
22
- .vs-icon-bg
23
- width: 1rem;
24
- height: 1rem;
25
-
26
- &.bg-large
27
- width: 3.125rem;
28
- height: 3.125rem;
29
-
30
- &.bg-medium
31
- width: 2.31rem;
32
- height: 2.31rem;
33
-
34
- &.bg-small
35
- width: 1.5rem;
36
- height: 1.5rem;
37
-
38
- .round
39
- border-radius: 50%;
40
-
41
- for colorx, i in $vs-colors
42
- .con-vs-icon-bg-{colorx}
43
- background: getColor(colorx, 1)
44
- .dot-count-{colorx}
45
- background: getColor(colorx, 1)
46
- .vs-icon-{colorx}
47
- color: getColor(colorx, 1)
1
+ .vs-icon
2
+ user-select none
3
+ color: inherit
4
+ text-align: center
5
+ font-size: 1rem
6
+
7
+ &.large
8
+ font-size: 3.125rem;
9
+ width: 3.125rem;
10
+ height: 3.125rem;
11
+
12
+ &.medium
13
+ font-size: 2.31rem;
14
+ width: 2.31rem;
15
+ height: 2.31rem;
16
+
17
+ &.small
18
+ font-size: 1.5rem;
19
+ width: 1.5rem;
20
+ height: 1.5rem;
21
+
22
+ .vs-icon-bg
23
+ width: 1rem;
24
+ height: 1rem;
25
+
26
+ &.bg-large
27
+ width: 3.125rem;
28
+ height: 3.125rem;
29
+
30
+ &.bg-medium
31
+ width: 2.31rem;
32
+ height: 2.31rem;
33
+
34
+ &.bg-small
35
+ width: 1.5rem;
36
+ height: 1.5rem;
37
+
38
+ .round
39
+ border-radius: 50%;
40
+
41
+ for colorx, i in $vs-colors
42
+ .con-vs-icon-bg-{colorx}
43
+ background: getColor(colorx, 1)
44
+ .dot-count-{colorx}
45
+ background: getColor(colorx, 1)
46
+ .vs-icon-{colorx}
47
+ color: getColor(colorx, 1)