adata-ui 0.3.73 → 0.3.74

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 (96) hide show
  1. package/README.md +7 -7
  2. package/babel.config.js +5 -5
  3. package/package.json +76 -76
  4. package/public/index.html +17 -17
  5. package/public/logo.svg +4 -4
  6. package/src/App.vue +25 -25
  7. package/src/assets/_text_field.scss +224 -224
  8. package/src/assets/facebook.svg +4 -4
  9. package/src/assets/instagram.svg +6 -6
  10. package/src/assets/logo-desktop-main.svg +8 -8
  11. package/src/assets/logo-desktop.svg +9 -9
  12. package/src/assets/logo-mobile-main.svg +4 -4
  13. package/src/assets/logo-mobile.svg +9 -9
  14. package/src/assets/logo-white-desktop.svg +8 -8
  15. package/src/assets/style.scss +1 -1
  16. package/src/assets/telegram.svg +4 -4
  17. package/src/assets/tiktok.svg +4 -4
  18. package/src/assets/up-down.svg +3 -3
  19. package/src/assets/youtube.svg +5 -5
  20. package/src/components/Alert/Alert.stories.js +17 -17
  21. package/src/components/Alert/Alert.vue +63 -63
  22. package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +160 -160
  23. package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +24 -24
  24. package/src/components/Button/AButton.vue +231 -231
  25. package/src/components/Button/Button.stories.js +23 -23
  26. package/src/components/Checkbox/ACheckbox.vue +114 -114
  27. package/src/components/Checkbox/Checkbox.stories.js +15 -15
  28. package/src/components/CheckboxMenu/CheckboxMenu.stories.js +23 -23
  29. package/src/components/CheckboxMenu/CheckboxMenu.vue +108 -108
  30. package/src/components/ErrorPages/BadGateway.vue +224 -224
  31. package/src/components/ErrorPages/Forbidden.vue +468 -468
  32. package/src/components/ErrorPages/InternalServerError.vue +275 -275
  33. package/src/components/ErrorPages/NotFound.vue +995 -995
  34. package/src/components/ErrorPages/Unavailable.vue +3705 -3705
  35. package/src/components/Footer/Footer.stories.js +20 -20
  36. package/src/components/Footer/Footer.vue +292 -292
  37. package/src/components/Header/ChildLinks.vue +141 -122
  38. package/src/components/Header/Header.stories.js +56 -56
  39. package/src/components/Header/Header.vue +1289 -1289
  40. package/src/components/Header/InfoHeader.vue +319 -319
  41. package/src/components/Header/Profile.vue +670 -670
  42. package/src/components/Header/ProfileMenu.vue +291 -276
  43. package/src/components/Header/ProfileMobile.vue +308 -308
  44. package/src/components/Header/ProfileOld.vue +781 -781
  45. package/src/components/InternalServerError/InternalServerError.stories.js +16 -16
  46. package/src/components/InternalServerError/InternalServerError.vue +262 -262
  47. package/src/components/Introduction.stories.mdx +7 -7
  48. package/src/components/Loader/Loader.stories.js +24 -24
  49. package/src/components/Loader/Loader.vue +325 -325
  50. package/src/components/MailTo/MailTo.stories.js +14 -14
  51. package/src/components/MailTo/MailTo.vue +258 -258
  52. package/src/components/NavIcon/ANavIcon.vue +49 -49
  53. package/src/components/NavIcon/NavIcon.stories.js +14 -14
  54. package/src/components/PasswordField/PasswordField.stories.js +16 -16
  55. package/src/components/PasswordField/PasswordField.vue +77 -77
  56. package/src/components/SearchTextField/SearchTextField.stories.js +77 -77
  57. package/src/components/SearchTextField/SearchTextField.vue +230 -230
  58. package/src/components/ServiceSlider/AServiceSlider.vue +782 -782
  59. package/src/components/ServiceSlider/ServiceSlider.stories.js +20 -20
  60. package/src/components/Table/ATable.vue +117 -117
  61. package/src/components/Table/Table.stories.js +15 -15
  62. package/src/components/TextArea/TextArea.stories.js +17 -17
  63. package/src/components/TextArea/TextArea.vue +116 -116
  64. package/src/components/TextError/TextError.stories.js +15 -15
  65. package/src/components/TextError/TextError.vue +57 -57
  66. package/src/components/TextField/TextField.stories.js +17 -17
  67. package/src/components/TextField/TextField.vue +107 -107
  68. package/src/components/index.js +54 -54
  69. package/src/components/newComponents/FooterNew/FooterBottom.vue +153 -153
  70. package/src/components/newComponents/FooterNew/FooterItem.vue +113 -113
  71. package/src/components/newComponents/FooterNew/FooterNew.stories.js +20 -20
  72. package/src/components/newComponents/FooterNew/FooterNew.vue +39 -39
  73. package/src/components/newComponents/FooterNew/FooterTop.vue +321 -321
  74. package/src/components/transitions/SlideToggle.vue +55 -55
  75. package/src/components/transitions/VerticalMobileToggle.vue +75 -75
  76. package/src/configs/icons.js +112 -112
  77. package/src/configs/profileDropDown.js +134 -134
  78. package/src/main.js +12 -12
  79. package/dist/adata-ui.common.js +0 -12969
  80. package/dist/adata-ui.common.js.map +0 -1
  81. package/dist/adata-ui.css +0 -1
  82. package/dist/adata-ui.umd.js +0 -12979
  83. package/dist/adata-ui.umd.js.map +0 -1
  84. package/dist/adata-ui.umd.min.js +0 -7
  85. package/dist/adata-ui.umd.min.js.map +0 -1
  86. package/dist/demo.html +0 -10
  87. package/dist/img/facebook.797d820f.svg +0 -4
  88. package/dist/img/instagram.8a77381c.svg +0 -6
  89. package/dist/img/logo-desktop-main.4d169395.svg +0 -8
  90. package/dist/img/logo-mobile-main.397bce24.svg +0 -4
  91. package/dist/img/logo-white-desktop.7d0e3481.svg +0 -8
  92. package/dist/img/telegram.be0d1008.svg +0 -4
  93. package/dist/img/tiktok.eaeb39cb.svg +0 -4
  94. package/dist/img/up-down.e2b28f72.svg +0 -3
  95. package/dist/img/youtube.125aace6.svg +0 -5
  96. package/package-lock.json +0 -26218
@@ -1,231 +1,231 @@
1
- <template>
2
- <component
3
- :class="[
4
- 'a-btn',
5
- `a-btn_${variant}`,
6
- `size_${size}`,
7
- ]"
8
- v-bind="$attrs"
9
- v-on="$listeners"
10
- :is="url ? 'a' : nuxtUrl ? 'nuxt-link' : 'button'"
11
- :href="url"
12
- :to="nuxtUrl"
13
- :event="event ? 'click' : ''"
14
- :disabled="disabled"
15
- >
16
- <slot></slot>
17
- </component>
18
- </template>
19
-
20
-
21
- <script>
22
- export default {
23
- name: "AButton",
24
- props: {
25
- variant: {
26
- type: String,
27
- default: "yellow",
28
- validator: function (value) {
29
- return (
30
- [
31
- 'white',
32
- 'grey',
33
- 'yellow',
34
- 'red',
35
- 'green',
36
- 'blue_outlined',
37
- 'blue'
38
- ].includes(value)
39
- );
40
- },
41
- },
42
- size: {
43
- type: String,
44
- default: "md",
45
- validator: function (value) {
46
- return (
47
- [
48
- 'sm',
49
- 'md',
50
- 'extra_sm',
51
- 'fit',
52
- 'fit-md',
53
- ].includes(value)
54
- );
55
- },
56
- },
57
- url: {
58
- type: String,
59
- },
60
- nuxtUrl: {
61
- type: String,
62
- },
63
- event: {
64
- type: Boolean,
65
- default: true
66
- },
67
- disabled: {
68
- type: Boolean,
69
- default: false
70
- }
71
- },
72
- }
73
- </script>
74
-
75
- <style lang="scss">
76
-
77
- .a-btn {
78
- cursor: pointer;
79
- border: none;
80
- border-radius: 2px;
81
- font-size: 14px;
82
- font-weight: 500;
83
-
84
- display: flex;
85
- justify-content: center;
86
- align-items: center;
87
-
88
- @media screen and (max-width: 560px) {
89
- width: 100%;
90
- text-align: center;
91
- }
92
-
93
- svg {
94
- margin-right: 8px;
95
- }
96
-
97
- &:disabled {
98
- cursor: not-allowed;
99
- }
100
-
101
- &.size {
102
- &_extra_sm {
103
- height: 24px;
104
- padding: 3px 16px;
105
- font-size: 12px;
106
- }
107
- &_sm {
108
- height: 32px;
109
- padding: 6px 20px;
110
- }
111
- &_md {
112
- height: 40px;
113
- padding: 8px 30px;
114
- }
115
- &_fit {
116
- padding: 8px 0;
117
- width: 100%;
118
- }
119
- &_fit-md {
120
- height: 40px;
121
- padding: 8px 0;
122
- width: 100%;
123
- }
124
- }
125
-
126
- &_grey {
127
- color: var(--newGray);
128
- border: 1px solid #9da3ac;
129
- background: #fff;
130
-
131
- &:hover {
132
- background: #eef0f5;
133
- }
134
-
135
- &:active {
136
- background: #eef0f5;
137
- }
138
- }
139
-
140
- &-white {
141
- background: #FFFFFF;
142
- color: #007AFF;
143
-
144
- &:hover {
145
- background: #eef0f5;
146
- }
147
-
148
- &:active {
149
- background: #d6d6d7;
150
- }
151
- }
152
-
153
- &_yellow {
154
- background: linear-gradient(140.08deg, #FFE15A 13.59%, #FBC920 85.57%);
155
- color: #2C3E50;
156
-
157
- &:hover {
158
- background: #FBC920;
159
- }
160
-
161
- &:active {
162
- background: #FBC920;
163
- }
164
- }
165
-
166
- &_red {
167
- border: 1px solid #FF2E43;
168
- color: #FF2E43;
169
- background-color: transparent;
170
- &:hover {
171
- background: #FF2E43;
172
- color: #fff;
173
- }
174
-
175
- &:active {
176
- background: #FF2E43;
177
- color: #fff;
178
- }
179
- }
180
-
181
- &_green {
182
- background: #00B92D;
183
- color: #fff;
184
-
185
- &:hover {
186
- background: #008621;
187
- }
188
-
189
- &:active {
190
- background: #008621;
191
- }
192
- }
193
-
194
- &_blue_outlined {
195
- border: 1px solid #007AFF;
196
- color: #007AFF;
197
- background-color: transparent;
198
-
199
- &:hover {
200
- background: #007AFF;
201
- color: #fff;
202
- }
203
-
204
- &:active {
205
- background: #0055BB;
206
- color: #fff;
207
- }
208
-
209
- }
210
-
211
- &_blue {
212
- background: #007AFF;
213
- color: #FFF;
214
-
215
- &:hover {
216
- background: #007AFF;
217
- color: #fff;
218
- }
219
-
220
- &:active {
221
- background: #0055BB;
222
- color: #fff;
223
- }
224
- }
225
-
226
- box-sizing: border-box !important;
227
- -webkit-box-sizing: border-box !important;
228
- -moz-box-sizing: border-box !important;
229
- -ms-box-sizing: border-box !important;
230
- }
231
- </style>
1
+ <template>
2
+ <component
3
+ :class="[
4
+ 'a-btn',
5
+ `a-btn_${variant}`,
6
+ `size_${size}`,
7
+ ]"
8
+ v-bind="$attrs"
9
+ v-on="$listeners"
10
+ :is="url ? 'a' : nuxtUrl ? 'nuxt-link' : 'button'"
11
+ :href="url"
12
+ :to="nuxtUrl"
13
+ :event="event ? 'click' : ''"
14
+ :disabled="disabled"
15
+ >
16
+ <slot></slot>
17
+ </component>
18
+ </template>
19
+
20
+
21
+ <script>
22
+ export default {
23
+ name: "AButton",
24
+ props: {
25
+ variant: {
26
+ type: String,
27
+ default: "yellow",
28
+ validator: function (value) {
29
+ return (
30
+ [
31
+ 'white',
32
+ 'grey',
33
+ 'yellow',
34
+ 'red',
35
+ 'green',
36
+ 'blue_outlined',
37
+ 'blue'
38
+ ].includes(value)
39
+ );
40
+ },
41
+ },
42
+ size: {
43
+ type: String,
44
+ default: "md",
45
+ validator: function (value) {
46
+ return (
47
+ [
48
+ 'sm',
49
+ 'md',
50
+ 'extra_sm',
51
+ 'fit',
52
+ 'fit-md',
53
+ ].includes(value)
54
+ );
55
+ },
56
+ },
57
+ url: {
58
+ type: String,
59
+ },
60
+ nuxtUrl: {
61
+ type: String,
62
+ },
63
+ event: {
64
+ type: Boolean,
65
+ default: true
66
+ },
67
+ disabled: {
68
+ type: Boolean,
69
+ default: false
70
+ }
71
+ },
72
+ }
73
+ </script>
74
+
75
+ <style lang="scss">
76
+
77
+ .a-btn {
78
+ cursor: pointer;
79
+ border: none;
80
+ border-radius: 2px;
81
+ font-size: 14px;
82
+ font-weight: 500;
83
+
84
+ display: flex;
85
+ justify-content: center;
86
+ align-items: center;
87
+
88
+ @media screen and (max-width: 560px) {
89
+ width: 100%;
90
+ text-align: center;
91
+ }
92
+
93
+ svg {
94
+ margin-right: 8px;
95
+ }
96
+
97
+ &:disabled {
98
+ cursor: not-allowed;
99
+ }
100
+
101
+ &.size {
102
+ &_extra_sm {
103
+ height: 24px;
104
+ padding: 3px 16px;
105
+ font-size: 12px;
106
+ }
107
+ &_sm {
108
+ height: 32px;
109
+ padding: 6px 20px;
110
+ }
111
+ &_md {
112
+ height: 40px;
113
+ padding: 8px 30px;
114
+ }
115
+ &_fit {
116
+ padding: 8px 0;
117
+ width: 100%;
118
+ }
119
+ &_fit-md {
120
+ height: 40px;
121
+ padding: 8px 0;
122
+ width: 100%;
123
+ }
124
+ }
125
+
126
+ &_grey {
127
+ color: var(--newGray);
128
+ border: 1px solid #9da3ac;
129
+ background: #fff;
130
+
131
+ &:hover {
132
+ background: #eef0f5;
133
+ }
134
+
135
+ &:active {
136
+ background: #eef0f5;
137
+ }
138
+ }
139
+
140
+ &-white {
141
+ background: #FFFFFF;
142
+ color: #007AFF;
143
+
144
+ &:hover {
145
+ background: #eef0f5;
146
+ }
147
+
148
+ &:active {
149
+ background: #d6d6d7;
150
+ }
151
+ }
152
+
153
+ &_yellow {
154
+ background: linear-gradient(140.08deg, #FFE15A 13.59%, #FBC920 85.57%);
155
+ color: #2C3E50;
156
+
157
+ &:hover {
158
+ background: #FBC920;
159
+ }
160
+
161
+ &:active {
162
+ background: #FBC920;
163
+ }
164
+ }
165
+
166
+ &_red {
167
+ border: 1px solid #FF2E43;
168
+ color: #FF2E43;
169
+ background-color: transparent;
170
+ &:hover {
171
+ background: #FF2E43;
172
+ color: #fff;
173
+ }
174
+
175
+ &:active {
176
+ background: #FF2E43;
177
+ color: #fff;
178
+ }
179
+ }
180
+
181
+ &_green {
182
+ background: #00B92D;
183
+ color: #fff;
184
+
185
+ &:hover {
186
+ background: #008621;
187
+ }
188
+
189
+ &:active {
190
+ background: #008621;
191
+ }
192
+ }
193
+
194
+ &_blue_outlined {
195
+ border: 1px solid #007AFF;
196
+ color: #007AFF;
197
+ background-color: transparent;
198
+
199
+ &:hover {
200
+ background: #007AFF;
201
+ color: #fff;
202
+ }
203
+
204
+ &:active {
205
+ background: #0055BB;
206
+ color: #fff;
207
+ }
208
+
209
+ }
210
+
211
+ &_blue {
212
+ background: #007AFF;
213
+ color: #FFF;
214
+
215
+ &:hover {
216
+ background: #007AFF;
217
+ color: #fff;
218
+ }
219
+
220
+ &:active {
221
+ background: #0055BB;
222
+ color: #fff;
223
+ }
224
+ }
225
+
226
+ box-sizing: border-box !important;
227
+ -webkit-box-sizing: border-box !important;
228
+ -moz-box-sizing: border-box !important;
229
+ -ms-box-sizing: border-box !important;
230
+ }
231
+ </style>
@@ -1,23 +1,23 @@
1
- import AButton from './AButton.vue'
2
- import { action } from "@storybook/addon-actions"
3
-
4
- export default {
5
- title: 'Button',
6
- component: AButton,
7
- template: '<a-button>Button</a-button>'
8
- }
9
-
10
- const Template = (args, { argTypes }) => ({
11
- components: { AButton },
12
- props: Object.keys(argTypes),
13
- template: '<a-button @click="action" v-bind="$props">Button</a-button>',
14
- methods: {
15
- action: action('click')
16
- }
17
- })
18
-
19
- export const Simple = Template.bind({})
20
- Simple.args = {
21
- size: 'lg',
22
- variant: 'yellow'
23
- }
1
+ import AButton from './AButton.vue'
2
+ import { action } from "@storybook/addon-actions"
3
+
4
+ export default {
5
+ title: 'Button',
6
+ component: AButton,
7
+ template: '<a-button>Button</a-button>'
8
+ }
9
+
10
+ const Template = (args, { argTypes }) => ({
11
+ components: { AButton },
12
+ props: Object.keys(argTypes),
13
+ template: '<a-button @click="action" v-bind="$props">Button</a-button>',
14
+ methods: {
15
+ action: action('click')
16
+ }
17
+ })
18
+
19
+ export const Simple = Template.bind({})
20
+ Simple.args = {
21
+ size: 'lg',
22
+ variant: 'yellow'
23
+ }