@aziontech/webkit 1.5.4 → 1.6.0

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": "@aziontech/webkit",
3
- "version": "1.5.4",
3
+ "version": "1.6.0",
4
4
  "description": "Reusable UI components and design system utilities for building Azion web interfaces.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -68,6 +68,7 @@
68
68
  "./label": "./src/core/form/label/label.vue",
69
69
  "./selector-block": "./src/core/selector-block/selector-block.vue",
70
70
  "./azion-system-status": "./src/components/azion-system-status/azion-system-status.vue",
71
+ "./testimonials-carousel": "./src/components/testimonials-carousel/testimonials-carousel.vue",
71
72
  "./client-testimonials-block": "./src/components/client-testimonials-block/client-testimonials-block.vue",
72
73
  "./svg/error-403": "./src/svg/error-403/error-403.vue",
73
74
  "./svg/error-404": "./src/svg/error-404/error-404.vue",
@@ -0,0 +1,11 @@
1
+ {
2
+ "main": "./testimonials-carousel.vue",
3
+ "module": "./testimonials-carousel.vue",
4
+ "types": "./testimonials-carousel.vue.d.ts",
5
+ "browser": {
6
+ "./sfc": "./testimonials-carousel.vue"
7
+ },
8
+ "sideEffects": [
9
+ "*.vue"
10
+ ]
11
+ }
@@ -0,0 +1,78 @@
1
+ <script setup>
2
+ import Carousel from 'primevue/carousel'
3
+ import { computed } from 'vue'
4
+
5
+ const AUTOPLAY_INTERVAL_MS = 10000
6
+
7
+ const props = defineProps({
8
+ testimonials: {
9
+ type: Array,
10
+ required: true,
11
+ validator: (value) => value.length > 0
12
+ },
13
+ subtitle: {
14
+ type: String,
15
+ default: 'Trusted by market leaders across banking, e-commerce, tech, and other industries.'
16
+ },
17
+ autoplayInterval: {
18
+ type: Number,
19
+ default: AUTOPLAY_INTERVAL_MS
20
+ },
21
+ circular: {
22
+ type: Boolean,
23
+ default: false
24
+ },
25
+ showNavigators: {
26
+ type: Boolean,
27
+ default: false
28
+ },
29
+ showIndicators: {
30
+ type: Boolean,
31
+ default: false
32
+ },
33
+ quoted: {
34
+ type: Boolean,
35
+ default: true
36
+ }
37
+ })
38
+
39
+ const carouselOptions = computed(() => ({
40
+ numVisible: 1,
41
+ circular: props.circular,
42
+ showNavigators: props.showNavigators,
43
+ showIndicators: props.showIndicators,
44
+ autoplayInterval: props.autoplayInterval
45
+ }))
46
+ </script>
47
+
48
+ <template>
49
+ <div class="flex flex-col gap-16 md:max-w-[672px]">
50
+ <p class="text-color-secondary text-center">
51
+ {{ subtitle }}
52
+ </p>
53
+
54
+ <Carousel
55
+ :value="testimonials"
56
+ v-bind="carouselOptions"
57
+ >
58
+ <template #item="{ data }">
59
+ <div class="flex flex-col gap-2">
60
+ <div class="text-xl md:text-3xl font-medium text-center">
61
+ <q v-if="quoted">{{ data.testimonial }}</q>
62
+ <span v-else>{{ data.testimonial }}</span>
63
+ </div>
64
+ <p class="text-color-secondary text-center">
65
+ {{ data.name }}, {{ data.position }}
66
+ </p>
67
+ </div>
68
+
69
+ <div
70
+ v-if="data.logo"
71
+ class="flex justify-center mt-16"
72
+ >
73
+ <component :is="data.logo" />
74
+ </div>
75
+ </template>
76
+ </Carousel>
77
+ </div>
78
+ </template>
@@ -0,0 +1,71 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ testimonials: {
5
+ type: ArrayConstructor;
6
+ required: true;
7
+ validator: (value: unknown) => boolean;
8
+ };
9
+ subtitle: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ autoplayInterval: {
14
+ type: NumberConstructor;
15
+ default: number;
16
+ };
17
+ circular: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ showNavigators: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ showIndicators: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ quoted: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ testimonials: {
35
+ type: ArrayConstructor;
36
+ required: true;
37
+ validator: (value: unknown) => boolean;
38
+ };
39
+ subtitle: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ autoplayInterval: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ };
47
+ circular: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ showNavigators: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ showIndicators: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ quoted: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ }>> & Readonly<{}>, {
64
+ subtitle: string;
65
+ autoplayInterval: number;
66
+ circular: boolean;
67
+ showNavigators: boolean;
68
+ showIndicators: boolean;
69
+ quoted: boolean;
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
+ //# sourceMappingURL=testimonials-carousel.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testimonials-carousel.vue.d.ts","sourceRoot":"","sources":["testimonials-carousel.vue"],"names":[],"mappings":"wBAmQqB,OAAO,YAAY;;AAjCxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAgCG"}
@@ -93,8 +93,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
93
93
  disabled: boolean;
94
94
  value: string;
95
95
  placeholder: string;
96
- readonly: boolean;
97
96
  required: boolean;
97
+ readonly: boolean;
98
98
  iconPosition: string;
99
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
100
  //# sourceMappingURL=field-text-icon.vue.d.ts.map