bkui-vue 0.0.1-beta.158 → 0.0.1-beta.159
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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -3
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +8 -0
- package/lib/backtop/index.js +1 -1
- package/lib/input/input.css +1 -1
- package/lib/input/input.less +5 -5
- package/lib/input/input.variable.css +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +12 -12
- package/package.json +1 -1
package/lib/backtop/backtop.css
CHANGED
@@ -32,6 +32,14 @@
|
|
32
32
|
align-items: center;
|
33
33
|
justify-content: center;
|
34
34
|
}
|
35
|
+
.bk-backtop:hover .bk-backtop-icon {
|
36
|
+
color: #3a84ff;
|
37
|
+
}
|
38
|
+
.bk-backtop .bk-backtop-icon {
|
39
|
+
display: flex;
|
40
|
+
align-items: center;
|
41
|
+
font-size: 26px;
|
42
|
+
}
|
35
43
|
.bk-fade-enter-active,
|
36
44
|
.bk-fade-leave-active {
|
37
45
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
package/lib/backtop/backtop.less
CHANGED
@@ -13,6 +13,14 @@
|
|
13
13
|
box-shadow: 0px 2px 6px 0px @fixed-navbar-boxshadow-color;
|
14
14
|
align-items: center;
|
15
15
|
justify-content: center;
|
16
|
+
&:hover .@{bk-prefix}-backtop-icon {
|
17
|
+
color: @primary-color;
|
18
|
+
}
|
19
|
+
.@{bk-prefix}-backtop-icon {
|
20
|
+
display: flex;
|
21
|
+
align-items: center;
|
22
|
+
font-size: 26px;
|
23
|
+
}
|
16
24
|
}
|
17
25
|
|
18
26
|
.bk-fade-transtion();
|
@@ -145,6 +145,14 @@
|
|
145
145
|
align-items: center;
|
146
146
|
justify-content: center;
|
147
147
|
}
|
148
|
+
.bk-backtop:hover .bk-backtop-icon {
|
149
|
+
color: var(--primary-color);
|
150
|
+
}
|
151
|
+
.bk-backtop .bk-backtop-icon {
|
152
|
+
display: flex;
|
153
|
+
align-items: center;
|
154
|
+
font-size: 26px;
|
155
|
+
}
|
148
156
|
.bk-fade-enter-active,
|
149
157
|
.bk-fade-leave-active {
|
150
158
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
package/lib/backtop/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash","../icon"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash"),require("../icon")):t(e["../shared"],e.vue,e.lodash,e["../icon"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var n={6870:e=>{e.exports=r},4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash","../icon"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash"),require("../icon")):t(e["../shared"],e.vue,e.lodash,e["../icon"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var n={6870:e=>{e.exports=r},4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},a={};function l(e){var t=a[e];if(void 0!==t)return t.exports;var o=a[e]={exports:{}};return n[e](o,o.exports,l),o.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{l.r(u),l.d(u,{default:()=>a});var e=l(4212),t=l(748),o=l(467),r=l(6870);const n=(0,t.defineComponent)({name:"Backtop",props:{visibilityHeight:e.PropTypes.number.def(200),target:e.PropTypes.string.def(""),right:e.PropTypes.number.def(40),bottom:e.PropTypes.number.def(40),extCls:e.PropTypes.string.def("")},setup:function(n,a){var l=a.slots,u=(0,t.ref)(null),i=(0,t.ref)(null),s=(0,t.ref)(!1),d=(0,t.ref)(e.bkZIndexManager.getModalNextIndex()),c="".concat(n.bottom,"px"),f="".concat(n.right,"px"),p=(0,o.throttle)((function(){s.value=i.value.scrollTop>=n.visibilityHeight}),30),v=function(){i.value.scrollTo({top:0,behavior:"smooth"})};return(0,t.watch)((function(){return s}),(function(){d.value=e.bkZIndexManager.getModalNextIndex()})),(0,t.onMounted)((function(){if(u.value=document,i.value=document.documentElement,n.target){if(i.value=document.querySelector(n.target),!i.value)throw new Error("target does not exist");u.value=i.value}u.value.addEventListener("scroll",p)})),(0,t.onBeforeUnmount)((function(){u.value.removeEventListener("scroll",p)})),function(){var e,o;return(0,t.createVNode)(t.Transition,{name:"bk-fade"},{default:function(){return[s.value?(0,t.createVNode)("div",{class:"bk-backtop ".concat(n.extCls),style:{right:f,bottom:c,zIndex:d.value},onClick:v},[null!==(o=null===(e=l.default)||void 0===e?void 0:e.call(l))&&void 0!==o?o:(0,t.createVNode)(r.AngleUp,{class:"bk-backtop-icon"},null)]):""]}})}}}),a=(0,e.withInstall)(n)})(),u})()));
|
package/lib/input/input.css
CHANGED
package/lib/input/input.less
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
&.is-readonly textarea {
|
34
34
|
cursor: auto;
|
35
35
|
}
|
36
|
-
|
36
|
+
|
37
37
|
}
|
38
38
|
|
39
39
|
.placeholder() {
|
@@ -81,7 +81,7 @@
|
|
81
81
|
|
82
82
|
span {
|
83
83
|
color: @input-maxlength-color;
|
84
|
-
|
84
|
+
|
85
85
|
}
|
86
86
|
}
|
87
87
|
|
@@ -106,7 +106,7 @@
|
|
106
106
|
border-color: @gray-color;
|
107
107
|
|
108
108
|
.show-clear-only-hover {
|
109
|
-
display:
|
109
|
+
display: flex;
|
110
110
|
}
|
111
111
|
}
|
112
112
|
|
@@ -180,7 +180,7 @@
|
|
180
180
|
|
181
181
|
&.is-focused:not(.is-readonly) {
|
182
182
|
.active();
|
183
|
-
|
183
|
+
|
184
184
|
&.is-simplicity {
|
185
185
|
border-color: transparent;
|
186
186
|
border-bottom-color: @primary-color;
|
@@ -191,7 +191,7 @@
|
|
191
191
|
}
|
192
192
|
}
|
193
193
|
|
194
|
-
|
194
|
+
|
195
195
|
|
196
196
|
&--prefix-area,
|
197
197
|
&--suffix-area {
|
package/lib/link/link.css
CHANGED
@@ -11,39 +11,39 @@
|
|
11
11
|
.bk-link.default {
|
12
12
|
color: #63656e;
|
13
13
|
}
|
14
|
-
.bk-link.default.is-disabled {
|
15
|
-
color: #dcdee5;
|
16
|
-
}
|
17
14
|
.bk-link.default:hover {
|
18
15
|
color: #979ba5;
|
19
16
|
}
|
17
|
+
.bk-link.default.is-disabled {
|
18
|
+
color: #dcdee5;
|
19
|
+
}
|
20
20
|
.bk-link.primary {
|
21
21
|
color: #3a84ff;
|
22
22
|
}
|
23
|
-
.bk-link.primary.is-disabled {
|
24
|
-
color: #a3c5fd;
|
25
|
-
}
|
26
23
|
.bk-link.primary:hover {
|
27
24
|
color: #699df4;
|
28
25
|
}
|
26
|
+
.bk-link.primary.is-disabled {
|
27
|
+
color: #a3c5fd;
|
28
|
+
}
|
29
29
|
.bk-link.success {
|
30
30
|
color: #2dcb56;
|
31
31
|
}
|
32
|
-
.bk-link.success.is-disabled {
|
33
|
-
color: #94f5a4;
|
34
|
-
}
|
35
32
|
.bk-link.success:hover {
|
36
33
|
color: #45e35f;
|
37
34
|
}
|
35
|
+
.bk-link.success.is-disabled {
|
36
|
+
color: #94f5a4;
|
37
|
+
}
|
38
38
|
.bk-link.warning {
|
39
39
|
color: #ff9c01;
|
40
40
|
}
|
41
|
-
.bk-link.warning.is-disabled {
|
42
|
-
color: #ffd695;
|
43
|
-
}
|
44
41
|
.bk-link.warning:hover {
|
45
42
|
color: #ffb848;
|
46
43
|
}
|
44
|
+
.bk-link.warning.is-disabled {
|
45
|
+
color: #ffd695;
|
46
|
+
}
|
47
47
|
.bk-link.danger {
|
48
48
|
color: #ea3636;
|
49
49
|
}
|
package/lib/link/link.less
CHANGED
@@ -15,49 +15,51 @@
|
|
15
15
|
&.default {
|
16
16
|
color: @default-color;
|
17
17
|
|
18
|
+
&:hover {
|
19
|
+
color: @link-default-hover-color;
|
20
|
+
}
|
21
|
+
|
18
22
|
&.is-disabled {
|
19
23
|
color: @link-default-disabled-color;
|
20
24
|
}
|
21
25
|
|
22
|
-
&:hover {
|
23
|
-
color: @link-default-hover-color;
|
24
|
-
}
|
25
26
|
}
|
26
27
|
|
27
28
|
&.primary {
|
28
29
|
color: @primary-color;
|
29
30
|
|
30
|
-
&.is-disabled {
|
31
|
-
color: @link-primary-disabled-color;
|
32
|
-
}
|
33
|
-
|
34
31
|
&:hover {
|
35
32
|
color: @link-primary-hover-color;
|
36
33
|
}
|
34
|
+
|
35
|
+
&.is-disabled {
|
36
|
+
color: @link-primary-disabled-color;
|
37
|
+
}
|
37
38
|
}
|
38
39
|
|
39
40
|
&.success {
|
40
41
|
color: @success-color;
|
41
42
|
|
43
|
+
&:hover {
|
44
|
+
color: @link-success-hover-color;
|
45
|
+
}
|
46
|
+
|
42
47
|
&.is-disabled {
|
43
48
|
color: @link-success-disabled-color;
|
44
49
|
}
|
45
50
|
|
46
|
-
&:hover {
|
47
|
-
color: @link-success-hover-color;
|
48
|
-
}
|
49
51
|
}
|
50
52
|
|
51
53
|
&.warning {
|
52
54
|
color: @warning-color;
|
53
55
|
|
54
|
-
&.is-disabled {
|
55
|
-
color: @link-warning-disabled-color;
|
56
|
-
}
|
57
|
-
|
58
56
|
&:hover {
|
59
57
|
color: @link-warning-hover-color;
|
60
58
|
}
|
59
|
+
|
60
|
+
&.is-disabled {
|
61
|
+
color: @link-warning-disabled-color;
|
62
|
+
}
|
61
63
|
}
|
62
64
|
|
63
65
|
&.danger {
|
@@ -124,39 +124,39 @@
|
|
124
124
|
.bk-link.default {
|
125
125
|
color: var(--default-color);
|
126
126
|
}
|
127
|
-
.bk-link.default.is-disabled {
|
128
|
-
color: var(--link-default-disabled-color);
|
129
|
-
}
|
130
127
|
.bk-link.default:hover {
|
131
128
|
color: var(--link-default-hover-color);
|
132
129
|
}
|
130
|
+
.bk-link.default.is-disabled {
|
131
|
+
color: var(--link-default-disabled-color);
|
132
|
+
}
|
133
133
|
.bk-link.primary {
|
134
134
|
color: var(--primary-color);
|
135
135
|
}
|
136
|
-
.bk-link.primary.is-disabled {
|
137
|
-
color: var(--link-primary-disabled-color);
|
138
|
-
}
|
139
136
|
.bk-link.primary:hover {
|
140
137
|
color: var(--link-primary-hover-color);
|
141
138
|
}
|
139
|
+
.bk-link.primary.is-disabled {
|
140
|
+
color: var(--link-primary-disabled-color);
|
141
|
+
}
|
142
142
|
.bk-link.success {
|
143
143
|
color: var(--success-color);
|
144
144
|
}
|
145
|
-
.bk-link.success.is-disabled {
|
146
|
-
color: var(--link-success-disabled-color);
|
147
|
-
}
|
148
145
|
.bk-link.success:hover {
|
149
146
|
color: var(--link-success-hover-color);
|
150
147
|
}
|
148
|
+
.bk-link.success.is-disabled {
|
149
|
+
color: var(--link-success-disabled-color);
|
150
|
+
}
|
151
151
|
.bk-link.warning {
|
152
152
|
color: var(--warning-color);
|
153
153
|
}
|
154
|
-
.bk-link.warning.is-disabled {
|
155
|
-
color: var(--link-warning-disabled-color);
|
156
|
-
}
|
157
154
|
.bk-link.warning:hover {
|
158
155
|
color: var(--link-warning-hover-color);
|
159
156
|
}
|
157
|
+
.bk-link.warning.is-disabled {
|
158
|
+
color: var(--link-warning-disabled-color);
|
159
|
+
}
|
160
160
|
.bk-link.danger {
|
161
161
|
color: var(--danger-color);
|
162
162
|
}
|