adata-ui 2.1.41-beta.0 → 2.1.41-beta.10
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/-error.vue +1 -1
- package/CLAUDE.md +3 -2
- package/assets/styles/main.css +4 -3
- package/assets/styles/theme.css +20 -6
- package/assets/styles/ui.css +77 -0
- package/components/elements/button/AButtonV2.vue +60 -15
- package/components/elements/count-up/ACountUp.vue +54 -0
- package/components/elements/curve-block-v2/ACurveBlockV2.vue +56 -18
- package/components/elements/empty-box/empty-box-V2.vue +1 -1
- package/components/elements/error-template/index.vue +8 -3
- package/components/elements/infinite-carousel/AInfiniteCarousel.vue +46 -8
- package/components/elements/section-heading/ASectionHeading.vue +35 -0
- package/components/elements/select/ACascadeSelectV2.vue +710 -0
- package/components/elements/select/ASelectV2.vue +70 -143
- package/components/elements/select/cascade-utils.ts +115 -0
- package/components/elements/select/types.ts +27 -0
- package/components/elements/select/ui/cascade-drawer.vue +146 -0
- package/components/elements/select/ui/cascade-panel.vue +237 -0
- package/components/elements/select/ui/select-trigger.vue +167 -0
- package/components/elements/step-slider/AStepSliderColCard.vue +75 -42
- package/components/elements/step-slider/AStepSliderColNumber.vue +74 -53
- package/components/features/color-mode/AColorMode.client.vue +1 -23
- package/components/features/go-top/GoTop.vue +4 -0
- package/components/forms/feedback-form/FeedbackFormV2.vue +18 -18
- package/components/forms/input/AInputV2.vue +69 -47
- package/components/forms/input/textarea/ATextareaV2.vue +10 -5
- package/components/modals/ReportBugModal.vue +1 -1
- package/components/modals/id/IdModals.vue +14 -10
- package/components/navigation/bottom-navigation/ABottomNavigation.vue +1 -1
- package/components/navigation/footer/AFooter.vue +2 -2
- package/components/navigation/header/AHeader.vue +8 -4
- package/components/navigation/pill-tabs/APillTabsV2.vue +29 -14
- package/components/overlays/drawer/ADrawerV2.vue +9 -2
- package/components/overlays/modal/AModalV2.vue +1 -0
- package/icons/ai/ai-diamond-unfilled.vue +26 -0
- package/icons/ai/ai-diamond.vue +11 -0
- package/icons/arrow/arrow-down-left.vue +6 -0
- package/icons/arrow/arrow-up-right.vue +6 -0
- package/icons/clock-rotate-ccw.vue +7 -0
- package/icons/crown.vue +6 -0
- package/icons/letter/letter-a.vue +4 -2
- package/icons/letter/letter-b.vue +2 -2
- package/icons/letter/letter-c.vue +2 -2
- package/icons/letter/letter-d.vue +2 -2
- package/icons/letter/letter-e.vue +2 -2
- package/icons/list-checks.vue +3 -0
- package/icons/log-out.vue +21 -0
- package/icons/main-filter.vue +6 -1
- package/icons/refresh-cw.vue +8 -0
- package/icons/shield-check.vue +20 -0
- package/icons/shuffle.vue +3 -0
- package/icons/user-plus.vue +3 -0
- package/icons/wallet.vue +6 -0
- package/illustrations/notes-search.vue +20 -0
- package/illustrations/notes-sticky.vue +20 -0
- package/illustrations/scheme-notes.vue +21 -0
- package/illustrations/scheme-waypoints.vue +25 -0
- package/lang/en.ts +2 -1
- package/lang/kk.ts +3 -2
- package/lang/ru.ts +2 -1
- package/nuxt.config.ts +7 -4
- package/package.json +2 -2
- package/utils/toCssSize.ts +11 -0
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
|
|
2
|
+
/* fade: gradient — краевые градиенты на bg-main (историческое поведение,
|
|
3
|
+
верно только когда карусель лежит на основной поверхности);
|
|
4
|
+
mask — краевая маска, не зависящая от фона под каруселью. */
|
|
5
|
+
withDefaults(defineProps<{
|
|
6
|
+
duration?: number
|
|
7
|
+
pauseOnHover?: boolean
|
|
8
|
+
fade?: 'gradient' | 'mask' | 'none'
|
|
9
|
+
}>(), {
|
|
10
|
+
duration: 25,
|
|
11
|
+
pauseOnHover: false,
|
|
12
|
+
fade: 'gradient',
|
|
13
|
+
})
|
|
3
14
|
</script>
|
|
4
15
|
|
|
5
16
|
<template>
|
|
6
|
-
<div
|
|
7
|
-
|
|
17
|
+
<div
|
|
18
|
+
class="carousel relative w-full overflow-hidden"
|
|
19
|
+
:class="[
|
|
20
|
+
fade === 'gradient' ? 'carousel--fade-gradient' : '',
|
|
21
|
+
fade === 'mask' ? 'carousel--fade-mask' : '',
|
|
22
|
+
pauseOnHover ? 'carousel--pausable' : '',
|
|
23
|
+
]"
|
|
24
|
+
>
|
|
25
|
+
<div
|
|
26
|
+
class="animate-scroll flex w-max"
|
|
27
|
+
:style="{ animationDuration: `${duration}s` }"
|
|
28
|
+
>
|
|
8
29
|
<div
|
|
9
30
|
v-for="i in 2"
|
|
10
31
|
:key="i"
|
|
@@ -16,17 +37,22 @@
|
|
|
16
37
|
</div>
|
|
17
38
|
</template>
|
|
18
39
|
|
|
19
|
-
<style
|
|
40
|
+
<style scoped>
|
|
20
41
|
@keyframes scroll {
|
|
21
42
|
0% { transform: translateX(0); }
|
|
22
43
|
100% { transform: translateX(-50%); }
|
|
23
44
|
}
|
|
45
|
+
|
|
24
46
|
.animate-scroll {
|
|
25
47
|
animation: scroll 25s linear infinite;
|
|
26
48
|
}
|
|
27
49
|
|
|
28
|
-
.carousel:
|
|
29
|
-
|
|
50
|
+
.carousel--pausable:hover .animate-scroll {
|
|
51
|
+
animation-play-state: paused;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.carousel--fade-gradient:before,
|
|
55
|
+
.carousel--fade-gradient:after {
|
|
30
56
|
position: absolute;
|
|
31
57
|
top: 0;
|
|
32
58
|
width: 120px;
|
|
@@ -35,13 +61,25 @@
|
|
|
35
61
|
z-index: 2;
|
|
36
62
|
}
|
|
37
63
|
|
|
38
|
-
.carousel:before {
|
|
64
|
+
.carousel--fade-gradient:before {
|
|
39
65
|
left: 0;
|
|
40
66
|
background: linear-gradient(to left, transparent, var(--background-color-main));
|
|
41
67
|
}
|
|
42
68
|
|
|
43
|
-
.carousel:after {
|
|
69
|
+
.carousel--fade-gradient:after {
|
|
44
70
|
right: 0;
|
|
45
71
|
background: linear-gradient(to right, transparent, var(--background-color-main));
|
|
46
72
|
}
|
|
73
|
+
|
|
74
|
+
/* Маска читает только альфу, поэтому #000 здесь — не цвет (осознанное
|
|
75
|
+
исключение из запрета сырых hex). */
|
|
76
|
+
.carousel--fade-mask {
|
|
77
|
+
mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (prefers-reduced-motion: reduce) {
|
|
81
|
+
.animate-scroll {
|
|
82
|
+
animation: none;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
47
85
|
</style>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
// Заголовок блока лендинга: Display/Small → Display/Large + подзаголовок.
|
|
3
|
+
// Бейджи-eyebrow в блоках не используются — они живут только в hero и форме обратной связи.
|
|
4
|
+
withDefaults(defineProps<{
|
|
5
|
+
title?: string
|
|
6
|
+
subtitle?: string
|
|
7
|
+
center?: boolean
|
|
8
|
+
}>(), {
|
|
9
|
+
title: '',
|
|
10
|
+
subtitle: '',
|
|
11
|
+
center: false,
|
|
12
|
+
})
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div
|
|
17
|
+
class="flex flex-col gap-2.5"
|
|
18
|
+
:class="center ? 'items-center text-center' : 'text-left'"
|
|
19
|
+
>
|
|
20
|
+
<h2 class="text-display-sm text-primary md:text-display-lg">
|
|
21
|
+
<slot name="title">
|
|
22
|
+
{{ title }}
|
|
23
|
+
</slot>
|
|
24
|
+
</h2>
|
|
25
|
+
<p
|
|
26
|
+
v-if="subtitle || $slots.subtitle"
|
|
27
|
+
class="text-body-lg text-quaternary"
|
|
28
|
+
:class="{ 'max-w-2xl': center }"
|
|
29
|
+
>
|
|
30
|
+
<slot name="subtitle">
|
|
31
|
+
{{ subtitle }}
|
|
32
|
+
</slot>
|
|
33
|
+
</p>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|