adata-ui 0.3.35 → 0.3.36

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/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -8241,6 +8241,16 @@
8241
8241
  "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
8242
8242
  "dev": true
8243
8243
  },
8244
+ "bindings": {
8245
+ "version": "1.5.0",
8246
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
8247
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
8248
+ "dev": true,
8249
+ "optional": true,
8250
+ "requires": {
8251
+ "file-uri-to-path": "1.0.0"
8252
+ }
8253
+ },
8244
8254
  "bluebird": {
8245
8255
  "version": "3.7.2",
8246
8256
  "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@@ -12303,6 +12313,13 @@
12303
12313
  }
12304
12314
  }
12305
12315
  },
12316
+ "file-uri-to-path": {
12317
+ "version": "1.0.0",
12318
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
12319
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
12320
+ "dev": true,
12321
+ "optional": true
12322
+ },
12306
12323
  "filesize": {
12307
12324
  "version": "3.6.1",
12308
12325
  "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
@@ -25030,6 +25047,7 @@
25030
25047
  "dev": true,
25031
25048
  "optional": true,
25032
25049
  "requires": {
25050
+ "bindings": "^1.5.0",
25033
25051
  "nan": "^2.12.1"
25034
25052
  }
25035
25053
  },
@@ -25452,6 +25470,7 @@
25452
25470
  "dev": true,
25453
25471
  "optional": true,
25454
25472
  "requires": {
25473
+ "bindings": "^1.5.0",
25455
25474
  "nan": "^2.12.1"
25456
25475
  }
25457
25476
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -1,25 +1,16 @@
1
1
  <template>
2
2
  <div id="app">
3
-
4
- <!-- <a-header active-tab-key="" login-url="" mode=""></a-header>-->
5
- <a-service-slider
6
- module="tenders"
7
- mode="dev"
8
- open-service
9
- />
10
- <a-bottom-navigation-bar
11
- login-url="https://google.com" mode="prod" module="tenders"/>
3
+ <a-header active-tab-key="" login-url="" mode="dev"></a-header>
4
+ <a-text-field label="bin" error-text="test"/>
12
5
  </div>
13
6
  </template>
14
7
 
15
8
  <script>
16
9
 
17
- import ABottomNavigationBar from "@/components/BottomNavigationBar/ABottomNavigationBar";
18
- import AServiceSlider from "@/components/ServiceSlider/AServiceSlider";
10
+
19
11
 
20
12
  export default {
21
13
  name: "App",
22
- components: {AServiceSlider, ABottomNavigationBar},
23
14
  };
24
15
  </script>
25
16
 
@@ -40,15 +40,23 @@
40
40
  }
41
41
 
42
42
  &__error {
43
- text-align: left;
44
- font-size: 10px;
45
- line-height: 14px;
46
- color: #ff2e43;
47
- margin-top: 8px;
48
43
  display: flex;
49
44
  align-items: center;
50
- svg {
51
- margin-right: 9px;
45
+ background: rgba(255, 46, 67, 0.12);
46
+ border-radius: 4px;
47
+ overflow: hidden;
48
+ color: #2c3e50;
49
+ margin-top: 8px;
50
+ .error-icon {
51
+ background: #FF2E43;
52
+ padding: 4px 8px;
53
+ display: grid;
54
+ place-content: center;
55
+ }
56
+ p {
57
+ font-size: 12px;
58
+ line-height: 20px;
59
+ padding: 2px 16px;
52
60
  }
53
61
  }
54
62
 
@@ -103,6 +111,10 @@
103
111
  &::placeholder {
104
112
  font-size: 12px;
105
113
  }
114
+
115
+ &.error {
116
+ border-color: #ff2e43;
117
+ }
106
118
  }
107
119
 
108
120
  &__textarea {
@@ -127,8 +139,8 @@
127
139
  }
128
140
  textarea {
129
141
  border: none;
130
- height: 92px;
131
- padding: 0 40px 5px 16px;
142
+ height: 100%;
143
+ padding: 24px 40px 5px 16px;
132
144
  resize: none;
133
145
  &:focus,
134
146
  &:hover {
@@ -47,9 +47,11 @@
47
47
  </template>
48
48
 
49
49
  <script>
50
+ import ANavIcon from "../NavIcon/ANavIcon";
50
51
 
51
52
  export default {
52
53
  name: "ABottomNavigationBar",
54
+ components: {ANavIcon},
53
55
  props: {
54
56
  module: {
55
57
  type: String,
@@ -40,25 +40,21 @@
40
40
  </div>
41
41
  </div>
42
42
  <div class="adt-text-block__error" v-if="!!errorText">
43
- <svg
44
- width="14"
45
- height="14"
46
- viewBox="0 0 16 16"
47
- fill="none"
48
- xmlns="http://www.w3.org/2000/svg"
49
- id="icon__attention"
50
- >
51
- <path
52
- d="M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z"
53
- fill="#FF2E43"
54
- />
55
- <path
56
- d="M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z"
57
- fill="#FF2E43"
58
- />
59
- <circle cx="8" cy="8" r="7" stroke="#FF2E43" />
60
- </svg>
61
- {{ errorText }}
43
+ <div class="error-icon">
44
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
45
+ <g clip-path="url(#clip0_508_13640)">
46
+ <path d="M8.00016 14.6666C11.6821 14.6666 14.6668 11.6818 14.6668 7.99992C14.6668 4.31802 11.6821 1.33325 8.00016 1.33325C4.31826 1.33325 1.3335 4.31802 1.3335 7.99992C1.3335 11.6818 4.31826 14.6666 8.00016 14.6666Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
47
+ <path d="M8 10.6667H8.00667" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
48
+ <path d="M8 5.33325V7.99992" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
49
+ </g>
50
+ <defs>
51
+ <clipPath id="clip0_508_13640">
52
+ <rect width="16" height="16" fill="white"/>
53
+ </clipPath>
54
+ </defs>
55
+ </svg>
56
+ </div>
57
+ <p>{{ errorText }}</p>
62
58
  </div>
63
59
  </div>
64
60
  </template>