adata-ui 2.0.0 → 2.0.2

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.
@@ -1,13 +1,20 @@
1
1
  <script setup lang="ts">
2
+ import { NuxtLinkLocale } from '#components'
3
+
2
4
  const props = defineProps<{
3
5
  icon: Component
4
6
  title: string
5
7
  description: string
8
+ to?: string
6
9
  }>()
7
10
  </script>
8
11
 
9
12
  <template>
10
- <div class="relative w-fit cursor-pointer">
13
+ <component
14
+ :is="to ? NuxtLinkLocale : 'button'"
15
+ :to="to"
16
+ class="relative w-fit cursor-pointer"
17
+ >
11
18
  <svg
12
19
  width="306"
13
20
  height="182"
@@ -133,7 +140,7 @@ const props = defineProps<{
133
140
  </linearGradient>
134
141
  </defs>
135
142
  </svg>
136
- </div>
143
+ </component>
137
144
  </template>
138
145
 
139
146
  <style lang="scss" scoped>
@@ -68,12 +68,12 @@ onUnmounted(() => clearTimer())
68
68
  <component
69
69
  :is="item.icon"
70
70
  class="shrink-0 size-6 transition-colors duration-300 ease-in-out"
71
- :class="selected === idx ? 'text-white' : 'text-gray-600'"
71
+ :class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-gray-200'"
72
72
  />
73
73
  </div>
74
74
  <p
75
75
  class="font-semibold text-xl transition-colors duration-300 ease-in-out"
76
- :class="selected === idx ? '' : 'text-gray-600'"
76
+ :class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-gray-200'"
77
77
  >
78
78
  {{ item.title }}
79
79
  </p>
@@ -45,11 +45,13 @@
45
45
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
46
46
  }
47
47
 
48
- .dark .carousel:before {
49
- background: linear-gradient(to left, rgba(38, 40, 43, 0), #161617);
50
- }
51
-
52
- .dark .carousel:after {
53
- background: linear-gradient(to right, rgba(38, 40, 43, 0), #161617);
48
+ .dark {
49
+ .carousel:before {
50
+ background: linear-gradient(to left, rgba(38, 40, 43, 0), #161617);
51
+ }
52
+
53
+ .carousel:after {
54
+ background: linear-gradient(to right, rgba(38, 40, 43, 0), #161617);
55
+ }
54
56
  }
55
57
  </style>
@@ -79,9 +79,8 @@ function onSend() {
79
79
  />
80
80
  </div>
81
81
  </slot>
82
- <div class="flex flex-col gap-2">
82
+ <div>
83
83
  <a-button @click="onSend">{{ t('forms.request_demo.send') }}</a-button>
84
- <p class="text-center text-[10px] text-gray-500">{{ t('forms.request_demo.title') }}</p>
85
84
  </div>
86
85
  </div>
87
86
  </div>
@@ -98,6 +98,7 @@ const { t, rt, tm } = useI18n()
98
98
  view="outline"
99
99
  variant="primary"
100
100
  block
101
+ class="!rounded-full"
101
102
  @click="isOpen = false"
102
103
  >
103
104
  {{ t('reuse.close') }}
@@ -1,20 +1,5 @@
1
1
  <template>
2
- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="https://www.w3.org/2000/svg">
3
- <path d="M16.5 0H1.5C1.10218 0 0.720644 0.158035 0.43934 0.43934C0.158035 0.720644 0 1.10218 0
4
- 1.5V16.5C0 16.8978 0.158035 17.2794 0.43934 17.5607C0.720644 17.842 1.10218 18 1.5 18H16.5C16.8978
5
- 18 17.2794 17.842 17.5607 17.5607C17.842 17.2794 18 16.8978 18 16.5V1.5C18 1.10218 17.842 0.720644 17.5607
6
- 0.43934C17.2794 0.158035 16.8978 0 16.5 0ZM16.5 1.5V11.25H13.8094C13.6125 11.2495 13.4174 11.2881 13.2356 11.3636C13.0537
7
- 11.4391 12.8887 11.5499 12.75 11.6897L10.9397 13.5H7.06031L5.25 11.6897C5.11122 11.5498 4.94601 11.4389 4.76398 11.3634C4.58196
8
- 11.2879 4.38674 11.2494 4.18969 11.25H1.5V1.5H16.5ZM16.5 16.5H1.5V12.75H4.18969L6 14.5603C6.13878 14.7002 6.30399 14.8111 6.48602
9
- 14.8866C6.66804 14.9621 6.86326 15.0006 7.06031 15H10.9397C11.1367 15.0006 11.332 14.9621 11.514 14.8866C11.696 14.8111 11.8612 14.7002
10
- 12 14.5603L13.8103 12.75H16.5V16.5ZM5.46937 8.78063C5.32864 8.63989 5.24958 8.44902 5.24958 8.25C5.24958 8.05098 5.32864 7.86011 5.46937
11
- 7.71937C5.61011 7.57864 5.80098 7.49958 6 7.49958C6.19902 7.49958 6.38989 7.57864 6.53063 7.71937L8.25 9.43969V3.75C8.25 3.55109 8.32902
12
- 3.36032 8.46967 3.21967C8.61032 3.07902 8.80109 3 9 3C9.19891 3 9.38968 3.07902 9.53033 3.21967C9.67098 3.36032 9.75 3.55109 9.75
13
- 3.75V9.43969L11.4694 7.71937C11.5391 7.64969 11.6218 7.59442 11.7128 7.5567C11.8039 7.51899 11.9015 7.49958 12 7.49958C12.0985 7.49958 12.1961
14
- 7.51899 12.2872 7.5567C12.3782 7.59442 12.4609 7.64969 12.5306 7.71937C12.6003 7.78906 12.6556 7.87178 12.6933 7.96283C12.731 8.05387 12.7504
15
- 8.15145 12.7504 8.25C12.7504 8.34855 12.731 8.44613 12.6933 8.53717C12.6556 8.62822 12.6003 8.71094 12.5306 8.78063L9.53063 11.7806C9.46097 11.8504 9.37825
16
- 11.9057 9.2872 11.9434C9.19616 11.9812 9.09856 12.0006 9 12.0006C8.90144 12.0006 8.80384 11.9812 8.7128 11.9434C8.62175 11.9057 8.53903 11.8504 8.46937 11.7806L5.46937 8.78063Z"
17
- fill="currentColor"/>
2
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2.33398 7.9987C2.33398 4.86909 4.87104 2.33203 8.00065 2.33203C11.1302 2.33203 13.6673 4.86909 13.6673 7.9987C13.6673 11.1283 11.1302 13.6654 8.00065 13.6654C4.87104 13.6654 2.33398 11.1283 2.33398 7.9987ZM8.00065 1.33203C4.31875 1.33203 1.33398 4.3168 1.33398 7.9987C1.33398 11.6806 4.31875 14.6654 8.00065 14.6654C11.6825 14.6654 14.6673 11.6806 14.6673 7.9987C14.6673 4.3168 11.6825 1.33203 8.00065 1.33203ZM5.88757 7.64515C5.69231 7.44988 5.37572 7.44988 5.18046 7.64515C4.9852 7.84041 4.9852 8.15699 5.18046 8.35225L7.64713 10.8189C7.84239 11.0142 8.15897 11.0142 8.35423 10.8189L10.8209 8.35225C11.0161 8.15699 11.0161 7.84041 10.8209 7.64515C10.6256 7.44988 10.309 7.44988 10.1138 7.64515L8.50065 9.25829V5.53206C8.50065 5.25592 8.27679 5.03206 8.00065 5.03206C7.72451 5.03206 7.50065 5.25592 7.50065 5.53206V9.25823L5.88757 7.64515Z" fill="#0070EB"/>
18
4
  </svg>
19
-
20
5
  </template>
package/lang/en.ts CHANGED
@@ -399,8 +399,8 @@ const EnLocale: RuLocale = {
399
399
  b: "Request demo access"
400
400
  },
401
401
  request_demo: {
402
- title: 'Wondering if our service is right for you? Request a demo version.',
403
- info: 'Wondering if our service is right for you? Request a demo version.',
402
+ title: 'Request demo access',
403
+ info: 'Fill out the form to request demo access',
404
404
  agreement: 'By filling out the form, you agree to the processing of personal data and receiving informational messages',
405
405
  send: 'Submit Request',
406
406
  },
package/lang/kk.ts CHANGED
@@ -400,8 +400,8 @@ const KkLocale: RuLocale = {
400
400
  b: "Демо қолжетімділікті сұрау"
401
401
  },
402
402
  request_demo: {
403
- title: 'Біздің қызмет сізге сәйкес келе ме деп ойлайсыз ба? Демо-нұсқаны сұратыңыз.',
404
- info: 'Біздің қызмет сізге сәйкес келе ме деп ойлайсыз ба? Демо-нұсқаны сұратыңыз.',
403
+ title: 'Демо қатынасын сұрау',
404
+ info: 'Демо қатынасын сұрау үшін пішінді толтырыңыз',
405
405
  agreement: 'Пішінді толтыра отырып, сіз жеке деректерді өңдеуге және ақпараттық хабарламаларды алуға келісім бересіз',
406
406
  send: 'Өтінімді жіберу',
407
407
  },
package/lang/ru.ts CHANGED
@@ -400,8 +400,8 @@ const RuLocale = {
400
400
  b: 'Запросить демо-доступ'
401
401
  },
402
402
  request_demo: {
403
- title: 'Интересно, подойдёт ли вам наш сервис ? Запросите демо - версию.',
404
- info: 'Интересно, подойдёт ли вам наш сервис ? Запросите демо - версию.',
403
+ title: 'Запросить демо-доступ',
404
+ info: 'Заполните форму, чтобы оставить заявку на демо-доступ',
405
405
  agreement: 'Заполняя форму, вы соглашаетесь на обработку персональных данных и получение информационных сообщений',
406
406
  send: 'Отправить заявку',
407
407
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.2",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -22,13 +22,13 @@
22
22
  "@vitest/coverage-v8": "^1.6.1",
23
23
  "@vitest/ui": "^1.6.1",
24
24
  "@vue/test-utils": "^2.4.6",
25
- "eslint": "^9.31.0",
25
+ "eslint": "^9.32.0",
26
26
  "histoire": "^0.17.17",
27
- "nuxt": "^3.17.7",
27
+ "nuxt": "^3.18.1",
28
28
  "prettier": "^3.6.2",
29
29
  "prettier-plugin-tailwindcss": "^0.5.14",
30
- "sass-embedded": "^1.89.2",
31
- "typescript": "^5.8.3",
30
+ "sass-embedded": "^1.90.0",
31
+ "typescript": "^5.9.2",
32
32
  "vitest": "^1.6.1",
33
33
  "vue-tsc": "^2.2.12"
34
34
  },
@@ -36,7 +36,7 @@
36
36
  "@headlessui/tailwindcss": "^0.2.2",
37
37
  "@headlessui/vue": "^1.7.23",
38
38
  "@nuxt/image": "1.8.1",
39
- "@nuxt/kit": "^3.17.7",
39
+ "@nuxt/kit": "^3.18.1",
40
40
  "@nuxtjs/color-mode": "^3.5.2",
41
41
  "@nuxtjs/google-fonts": "^3.2.0",
42
42
  "@nuxtjs/i18n": "9.3.3",
@@ -55,11 +55,11 @@
55
55
  "lodash.isequal": "^4.5.0",
56
56
  "maska": "^2.1.11",
57
57
  "ofetch": "^1.4.1",
58
- "sass": "^1.89.2",
58
+ "sass": "^1.90.0",
59
59
  "scss": "^0.2.4",
60
60
  "tailwind-merge": "^2.6.0",
61
61
  "tailwindcss": "^3.4.17",
62
62
  "vue3-toastify": "^0.2.8",
63
- "zod": "^4.0.8"
63
+ "zod": "^4.0.15"
64
64
  }
65
65
  }