adata-ui 0.3.85 → 0.3.87

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.85",
3
+ "version": "0.3.87",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
package/src/App.vue CHANGED
@@ -1,8 +1,6 @@
1
1
  <template>
2
2
  <div id="app">
3
- <a-header active-tab-key="" login-url="" mode="dev"></a-header>
4
- <a-footer/>
5
- <a-footer-new :mode="'dev'"/>
3
+ <a-header active-tab-key="" login-url="" mode="prod"></a-header>
6
4
  </div>
7
5
  </template>
8
6
 
@@ -11,6 +9,11 @@
11
9
  export default {
12
10
  name: "App",
13
11
  components: {},
12
+ data() {
13
+ return {
14
+ password: ''
15
+ }
16
+ }
14
17
  };
15
18
  </script>
16
19
 
@@ -69,7 +69,7 @@
69
69
  &:focus ~ #{$self}__label,
70
70
  &:not(:focus):valid ~ #{$self}__label,
71
71
  &:-webkit-autofill ~ #{$self}__label,
72
- &:not(:placeholder-shown) ~ #{$self}__label,
72
+ &:not(.password):not(:placeholder-shown) ~ #{$self}__label,
73
73
  &:not(:-webkit-autofill):valid ~ #{$self}__label {
74
74
  top: 12px;
75
75
  font-size: 10px;
@@ -1,5 +1,8 @@
1
1
  <template>
2
2
  <header :class="{ sticky: isSticky }">
3
+ <div class="version">
4
+ <a :href="newVersion[mode]" target='_blank'>Перейти на новую версию сайта</a>
5
+ </div>
3
6
  <InfoHeader
4
7
  :weather="weather"
5
8
  :currencies="currencies"
@@ -515,6 +518,11 @@ export default {
515
518
  prod: "https://adata.kz",
516
519
  staging: "https://adada.kz",
517
520
  },
521
+ newVersion: {
522
+ dev: "https://pk.adtdev.kz",
523
+ staging: "https://pk.adada.kz",
524
+ prod: "https://pk.adata.kz",
525
+ },
518
526
  headerItems: [
519
527
  {
520
528
  id: 1,
@@ -792,6 +800,21 @@ export default {
792
800
  </script>
793
801
 
794
802
  <style lang="scss">
803
+ .version{
804
+ background: #E0EFFF;
805
+ a{
806
+ font-size: 14px;
807
+ font-weight: 600;
808
+ color: #0070EB;
809
+ display: flex;
810
+ align-items: center;
811
+ justify-content: center;
812
+ gap: 1px;
813
+ width: 100%;
814
+ padding: 8px 0px;
815
+ cursor: pointer;
816
+ }
817
+ }
795
818
  * {
796
819
  font-family: "Open Sans", sans-serif;
797
820
  box-sizing: border-box;
@@ -8,7 +8,7 @@
8
8
  :value="value"
9
9
  required
10
10
  @input="$emit('input', $event.target.value)"
11
- class="adt-text-block__input"
11
+ class="adt-text-block__input password"
12
12
  :class="{ error: !!errorText }"
13
13
  />
14
14
  <label :for="id" class="adt-text-block__label">{{ label }}</label>