adata-ui 0.1.5 → 0.1.9
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/adata-ui.common.js +4481 -780
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +4481 -780
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +1 -1
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Alert/Alert.vue +1 -1
- package/src/components/Button/BaseButton.vue +1 -1
- package/src/components/Footer/Footer.vue +2 -2
- package/src/components/Header/Header.vue +5 -12
- package/src/components/Header/Profile.vue +1 -1
- package/src/components/index.js +5 -2
- package/src/components/transitions/SlideToggle.vue +1 -1
- package/src/components/transitions/VerticalMobileToggle.vue +1 -5
package/package.json
CHANGED
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
|
|
56
56
|
<script>
|
|
57
57
|
export default {
|
|
58
|
+
name: "Footer",
|
|
58
59
|
props: {
|
|
59
|
-
name: "Footer",
|
|
60
60
|
hasBottomMenu: {
|
|
61
61
|
type: Boolean,
|
|
62
62
|
default: false
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
</script>
|
|
67
|
-
<style lang="scss"
|
|
67
|
+
<style lang="scss">
|
|
68
68
|
ul, li {
|
|
69
69
|
list-style: none;
|
|
70
70
|
text-decoration: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<header class="header">
|
|
2
|
+
<header class="a-header">
|
|
3
3
|
<div class="container">
|
|
4
|
-
<div class="header__left">
|
|
4
|
+
<div class="a-header__left">
|
|
5
5
|
<a class="logo" :href="toAdtdev('https://adata.kz')">
|
|
6
6
|
<svg class="adata-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 166 48">
|
|
7
7
|
<path d="M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"></path>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
|
-
<div class="header__right">
|
|
22
|
+
<div class="a-header__right">
|
|
23
23
|
<slot name="chooseCountry"></slot>
|
|
24
24
|
<slot name="profile"></slot>
|
|
25
25
|
<Profile
|
|
@@ -163,7 +163,7 @@ export default {
|
|
|
163
163
|
};
|
|
164
164
|
</script>
|
|
165
165
|
|
|
166
|
-
<style lang="scss"
|
|
166
|
+
<style lang="scss">
|
|
167
167
|
* {
|
|
168
168
|
font-family: "Open Sans", sans-serif;
|
|
169
169
|
box-sizing: border-box;
|
|
@@ -171,14 +171,7 @@ export default {
|
|
|
171
171
|
padding: 0;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.
|
|
175
|
-
max-width: 1180px;
|
|
176
|
-
width: 100%;
|
|
177
|
-
padding: 0 20px;
|
|
178
|
-
margin: 0 auto;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.header {
|
|
174
|
+
.a-header {
|
|
182
175
|
width: 100%;
|
|
183
176
|
background: #ffffff;
|
|
184
177
|
max-height: 62px;
|
package/src/components/index.js
CHANGED
|
@@ -3,12 +3,15 @@ import AButton from './Button/BaseButton'
|
|
|
3
3
|
import ATextField from './TextField/TextField'
|
|
4
4
|
import APasswordField from './PasswordField/PasswordField'
|
|
5
5
|
import AAlert from './Alert/Alert'
|
|
6
|
-
|
|
6
|
+
import AHeader from './Header/Header'
|
|
7
|
+
import AFooter from './Footer/Footer'
|
|
7
8
|
const Components = {
|
|
8
9
|
AButton,
|
|
9
10
|
ATextField,
|
|
10
11
|
APasswordField,
|
|
11
|
-
AAlert
|
|
12
|
+
AAlert,
|
|
13
|
+
AHeader,
|
|
14
|
+
AFooter
|
|
12
15
|
};
|
|
13
16
|
|
|
14
17
|
Object.keys(Components).forEach(name => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<transition
|
|
3
3
|
v-on:before-enter="beforeEnter"
|
|
4
|
-
v-on:enter="enter"
|
|
5
4
|
v-on:after-enter="afterEnter"
|
|
6
5
|
v-on:before-leave="beforeLeave"
|
|
7
6
|
v-on:leave="leave"
|
|
@@ -36,9 +35,6 @@ export default {
|
|
|
36
35
|
el.style.right = "0";
|
|
37
36
|
el.style.background = "#fff";
|
|
38
37
|
},
|
|
39
|
-
enter: function (el) {
|
|
40
|
-
// el.style.width = el.scrollHeight + "px"; Can be justified to make transition smoother
|
|
41
|
-
},
|
|
42
38
|
afterEnter: function (el) {
|
|
43
39
|
el.style.height = "100vh";
|
|
44
40
|
el.style.width = "100vw";
|
|
@@ -68,7 +64,7 @@ export default {
|
|
|
68
64
|
},
|
|
69
65
|
};
|
|
70
66
|
</script>
|
|
71
|
-
<style
|
|
67
|
+
<style>
|
|
72
68
|
.slideToggleAnimation {
|
|
73
69
|
transition: 0.3s all;
|
|
74
70
|
|