adata-ui 0.1.43 → 0.1.46
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 +98 -18
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +98 -18
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/dist/img/mail.45723285.png +0 -0
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/components/Button/AButton.vue +2 -0
- package/src/components/MailTo/MailTo.stories.js +14 -0
- package/src/components/MailTo/MailTo.vue +62 -0
- package/src/components/MailTo/mail.png +0 -0
- package/src/components/TextField/TextField.vue +0 -1
- package/src/components/index.js +19 -17
|
Binary file
|
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -72,6 +72,7 @@ export default {
|
|
|
72
72
|
border: none;
|
|
73
73
|
border-radius: 2px;
|
|
74
74
|
font-size: 14px;
|
|
75
|
+
font-weight: 500;
|
|
75
76
|
|
|
76
77
|
@media screen and (max-width: 560px) {
|
|
77
78
|
width: 100%;
|
|
@@ -183,6 +184,7 @@ export default {
|
|
|
183
184
|
background: #0055BB;
|
|
184
185
|
color: #fff;
|
|
185
186
|
}
|
|
187
|
+
|
|
186
188
|
}
|
|
187
189
|
|
|
188
190
|
&_blue {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import MailTo from "./MailTo.vue";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: "MailTo",
|
|
5
|
+
component: MailTo,
|
|
6
|
+
template: "<mail-to></mail-to>",
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const Template = () => ({
|
|
10
|
+
components: { MailTo },
|
|
11
|
+
template: "<mail-to></mail-to>",
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export const AMailTo = Template.bind({});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="mail">
|
|
3
|
+
<h2 class="mail__title">Интересует больше данных?</h2>
|
|
4
|
+
<p class="mail__subtitle">
|
|
5
|
+
Отправьте ваш запрос на
|
|
6
|
+
<a class="mail__link" href="mailto:info@adata.kz">info@adata.kz</a>
|
|
7
|
+
</p>
|
|
8
|
+
<div class="mail__img-wrapper">
|
|
9
|
+
<img class="mail__img" :src="require('./mail.png')" alt="mail" />
|
|
10
|
+
</div>
|
|
11
|
+
<p class="mail__text">
|
|
12
|
+
Мы обязательно ответим вам <br />
|
|
13
|
+
в кратчайшие сроки.
|
|
14
|
+
</p>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
export default {
|
|
20
|
+
name: "MailTo",
|
|
21
|
+
};
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<style lang="scss" scoped>
|
|
25
|
+
.mail {
|
|
26
|
+
padding: 25px 0px 50px;
|
|
27
|
+
&__title {
|
|
28
|
+
font-size: 20px;
|
|
29
|
+
line-height: 27px;
|
|
30
|
+
color: #2c3e50;
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
text-align: center;
|
|
33
|
+
margin-bottom: 16px;
|
|
34
|
+
}
|
|
35
|
+
&__subtitle {
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
line-height: 22px;
|
|
38
|
+
text-align: center;
|
|
39
|
+
color: #2c3e50;
|
|
40
|
+
}
|
|
41
|
+
&__link {
|
|
42
|
+
color: #007aff;
|
|
43
|
+
text-decoration: underline;
|
|
44
|
+
}
|
|
45
|
+
&__img-wrapper {
|
|
46
|
+
padding: 24px;
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
}
|
|
50
|
+
&__img {
|
|
51
|
+
width: 120px;
|
|
52
|
+
height: 120px;
|
|
53
|
+
object-fit: contain;
|
|
54
|
+
}
|
|
55
|
+
&__text {
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
line-height: 22px;
|
|
58
|
+
text-align: center;
|
|
59
|
+
color: #2c3e50;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
</style>
|
|
Binary file
|
package/src/components/index.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import Vue from
|
|
2
|
-
import AButton from
|
|
3
|
-
import ATextField from
|
|
4
|
-
import APasswordField from
|
|
5
|
-
import AAlert from
|
|
6
|
-
import AHeader from
|
|
7
|
-
import AFooter from
|
|
8
|
-
import ASearchTextField from
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import AButton from "./Button/AButton";
|
|
3
|
+
import ATextField from "./TextField/TextField";
|
|
4
|
+
import APasswordField from "./PasswordField/PasswordField";
|
|
5
|
+
import AAlert from "./Alert/Alert";
|
|
6
|
+
import AHeader from "./Header/Header";
|
|
7
|
+
import AFooter from "./Footer/Footer";
|
|
8
|
+
import ASearchTextField from "./SearchTextField/SearchTextField";
|
|
9
|
+
import AMailTo from "./MailTo/MailTo";
|
|
9
10
|
|
|
10
11
|
const Components = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
AButton,
|
|
13
|
+
ATextField,
|
|
14
|
+
APasswordField,
|
|
15
|
+
AAlert,
|
|
16
|
+
AHeader,
|
|
17
|
+
AFooter,
|
|
18
|
+
ASearchTextField,
|
|
19
|
+
AMailTo,
|
|
18
20
|
};
|
|
19
21
|
|
|
20
|
-
Object.keys(Components).forEach(name => {
|
|
21
|
-
|
|
22
|
+
Object.keys(Components).forEach((name) => {
|
|
23
|
+
Vue.component(name, Components[name]);
|
|
22
24
|
});
|
|
23
25
|
|
|
24
26
|
export default Components;
|