adata-ui 3.1.25 → 3.1.27

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/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
7
  "failOnWarn": false,
8
- "version": "3.1.25",
8
+ "version": "3.1.27",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"
@@ -4,7 +4,8 @@ const props = defineProps({
4
4
  icon: { type: Object, required: true },
5
5
  title: { type: String, required: true },
6
6
  description: { type: String, required: true },
7
- to: { type: String, required: false }
7
+ to: { type: String, required: false },
8
+ wide: { type: Boolean, required: false }
8
9
  });
9
10
  </script>
10
11
 
@@ -16,6 +17,54 @@ const props = defineProps({
16
17
  active-class="active-item"
17
18
  >
18
19
  <svg
20
+ v-if="wide"
21
+ class="w-full"
22
+ viewBox="-2 -4 416 188"
23
+ fill="none"
24
+ preserveAspectRatio="none"
25
+ xmlns="http://www.w3.org/2000/svg"
26
+ >
27
+ <path
28
+ class="border-path border-path--large"
29
+ d="M413.333 105.936C413.333 116.008 399.074 123 389.001 123C369.671 123 354.001 138.67 354.001 158C354.001 168.009 347.088 182 337.079 182H16.3334C7.49682 182 0.333374 174.837 0.333374 166V16C0.333374 7.16344 7.49682 0 16.3334 0H397.333C406.17 0 413.333 7.16344 413.333 16V105.936Z"
30
+ stroke-width="2"
31
+ fill="transparent"
32
+ />
33
+ <defs>
34
+ <linearGradient
35
+ id="gradient-light"
36
+ x1="164.372"
37
+ y1="-137.957"
38
+ x2="-20.5433"
39
+ y2="68.1723"
40
+ gradientUnits="userSpaceOnUse"
41
+ >
42
+ <stop stop-color="#479FFF" />
43
+ <stop
44
+ offset="1"
45
+ stop-color="#0070EB"
46
+ />
47
+ </linearGradient>
48
+
49
+ <linearGradient
50
+ id="gradient-dark"
51
+ x1="164.372"
52
+ y1="-137.957"
53
+ x2="-20.5433"
54
+ y2="68.1723"
55
+ gradientUnits="userSpaceOnUse"
56
+ >
57
+ <stop stop-color="#4FBDFF" />
58
+ <stop
59
+ offset="1"
60
+ stop-color="#1B98E2"
61
+ />
62
+ </linearGradient>
63
+ </defs>
64
+ </svg>
65
+
66
+ <svg
67
+ v-else
19
68
  class="w-full"
20
69
  viewBox="-1 -1 308 184"
21
70
  xmlns="http://www.w3.org/2000/svg"
@@ -147,6 +196,11 @@ const props = defineProps({
147
196
  fill: #F4F5F6;
148
197
  }
149
198
 
199
+ .border-path--large {
200
+ stroke-dasharray: 1400;
201
+ stroke-dashoffset: 1400;
202
+ }
203
+
150
204
  .animated-border {
151
205
  stroke-dasharray: 180;
152
206
  stroke-dashoffset: 180;
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  title: string;
5
5
  description: string;
6
6
  to?: string;
7
+ wide?: boolean;
7
8
  };
8
9
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
10
  export default _default;
@@ -86,9 +86,7 @@ onBeforeMount(() => {
86
86
  class="text-deepblue dark:text-[#E3E5E8]"
87
87
  @click="goToAnotherModule"
88
88
  >
89
- <span class="visually-hidden"> Сервисы Adata.kz</span>
90
-
91
- <adata-logo
89
+ <i-adata
92
90
  :font-controlled="false"
93
91
  filled
94
92
  />
@@ -14,13 +14,13 @@ interface Props {
14
14
  oldVersion?: string;
15
15
  redirectAfterLogin?: string;
16
16
  }
17
- declare var __VLS_4: {}, __VLS_18: {}, __VLS_55: {};
17
+ declare var __VLS_4: {}, __VLS_17: {}, __VLS_54: {};
18
18
  type __VLS_Slots = {} & {
19
19
  'mobile-left'?: (props: typeof __VLS_4) => any;
20
20
  } & {
21
- 'mobile-right'?: (props: typeof __VLS_18) => any;
21
+ 'mobile-right'?: (props: typeof __VLS_17) => any;
22
22
  } & {
23
- notifications?: (props: typeof __VLS_55) => any;
23
+ notifications?: (props: typeof __VLS_54) => any;
24
24
  };
25
25
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
26
26
  daysRemaining: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "3.1.25",
3
+ "version": "3.1.27",
4
4
  "description": "Adata UI",
5
5
  "repository": "your-org/my-module",
6
6
  "license": "MIT",