@aiaiai-pt/design-system 0.24.0 → 0.26.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/components/ActionFormRenderer.svelte +54 -14
- package/components/ActionFormRenderer.svelte.d.ts +16 -0
- package/components/CallToAction.svelte +180 -0
- package/components/CallToAction.svelte.d.ts +43 -0
- package/components/CheckAnswers.svelte +197 -0
- package/components/CheckAnswers.svelte.d.ts +60 -0
- package/components/Confirmation.svelte +172 -0
- package/components/Confirmation.svelte.d.ts +53 -0
- package/components/FaqList.svelte +159 -0
- package/components/FaqList.svelte.d.ts +36 -0
- package/components/FeatureGrid.svelte +139 -0
- package/components/FeatureGrid.svelte.d.ts +48 -0
- package/components/Hero.svelte +23 -1
- package/components/Hero.svelte.d.ts +7 -0
- package/components/LogoStrip.svelte +116 -0
- package/components/LogoStrip.svelte.d.ts +36 -0
- package/components/MediaGallery.svelte +175 -0
- package/components/MediaGallery.svelte.d.ts +46 -0
- package/components/MediaText.svelte +143 -0
- package/components/MediaText.svelte.d.ts +52 -0
- package/components/ServiceFlow.svelte +264 -0
- package/components/ServiceFlow.svelte.d.ts +83 -0
- package/components/Steps.svelte +137 -0
- package/components/Steps.svelte.d.ts +37 -0
- package/components/Testimonial.svelte +161 -0
- package/components/Testimonial.svelte.d.ts +45 -0
- package/components/index.d.ts +16 -0
- package/components/index.js +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export default Testimonial;
|
|
2
|
+
type Testimonial = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<$$ComponentProps>): void;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Testimonial
|
|
8
|
+
*
|
|
9
|
+
* A quote / testimonial band — one prominent pull-quote, or a small grid of
|
|
10
|
+
* them. Semantic `<figure>` + `<blockquote>` + `<figcaption>` so the attribution
|
|
11
|
+
* is correctly associated with the quote. Presentational: the quotes (text +
|
|
12
|
+
* author + role + optional avatar) are DATA.
|
|
13
|
+
*
|
|
14
|
+
* @example Single quote
|
|
15
|
+
* <Testimonial quote="Finalmente a minha rua tem iluminação nova." author="Maria S." role="Junta de Freguesia" />
|
|
16
|
+
*
|
|
17
|
+
* @example A grid of quotes
|
|
18
|
+
* <Testimonial
|
|
19
|
+
* heading="O que dizem os cidadãos"
|
|
20
|
+
* items={[
|
|
21
|
+
* { quote: "Simples e rápido.", author: "João P." },
|
|
22
|
+
* { quote: "A minha proposta foi executada!", author: "Ana R.", role: "Valongo" },
|
|
23
|
+
* ]}
|
|
24
|
+
* />
|
|
25
|
+
*/
|
|
26
|
+
declare const Testimonial: import("svelte").Component<{
|
|
27
|
+
heading?: string;
|
|
28
|
+
headingLevel?: number;
|
|
29
|
+
quote?: string;
|
|
30
|
+
author?: string;
|
|
31
|
+
role?: string;
|
|
32
|
+
avatar?: any;
|
|
33
|
+
items?: any[];
|
|
34
|
+
class?: string;
|
|
35
|
+
} & Record<string, any>, {}, "">;
|
|
36
|
+
type $$ComponentProps = {
|
|
37
|
+
heading?: string;
|
|
38
|
+
headingLevel?: number;
|
|
39
|
+
quote?: string;
|
|
40
|
+
author?: string;
|
|
41
|
+
role?: string;
|
|
42
|
+
avatar?: any;
|
|
43
|
+
items?: any[];
|
|
44
|
+
class?: string;
|
|
45
|
+
} & Record<string, any>;
|
package/components/index.d.ts
CHANGED
|
@@ -31,6 +31,14 @@ export { default as ContentBlock } from "./ContentBlock.svelte";
|
|
|
31
31
|
export { default as StatusTimeline } from "./StatusTimeline.svelte";
|
|
32
32
|
export { default as WidgetGrid } from "./WidgetGrid.svelte";
|
|
33
33
|
export { default as VotingWidget } from "./VotingWidget.svelte";
|
|
34
|
+
export { default as FeatureGrid } from "./FeatureGrid.svelte";
|
|
35
|
+
export { default as CallToAction } from "./CallToAction.svelte";
|
|
36
|
+
export { default as MediaText } from "./MediaText.svelte";
|
|
37
|
+
export { default as Steps } from "./Steps.svelte";
|
|
38
|
+
export { default as Testimonial } from "./Testimonial.svelte";
|
|
39
|
+
export { default as FaqList } from "./FaqList.svelte";
|
|
40
|
+
export { default as LogoStrip } from "./LogoStrip.svelte";
|
|
41
|
+
export { default as MediaGallery } from "./MediaGallery.svelte";
|
|
34
42
|
export { default as Card } from "./Card.svelte";
|
|
35
43
|
export { default as Panel } from "./Panel.svelte";
|
|
36
44
|
export { default as Modal } from "./Modal.svelte";
|
|
@@ -53,6 +61,14 @@ export { default as TabPanel } from "./TabPanel.svelte";
|
|
|
53
61
|
export { default as FeedView } from "./FeedView.svelte";
|
|
54
62
|
export { default as ActionPanel } from "./ActionPanel.svelte";
|
|
55
63
|
export { default as RecordList } from "./RecordList.svelte";
|
|
64
|
+
export { default as PhaseTimeline } from "./PhaseTimeline.svelte";
|
|
65
|
+
export { default as RankingBoard } from "./RankingBoard.svelte";
|
|
66
|
+
export { default as ResultsChart } from "./ResultsChart.svelte";
|
|
67
|
+
export { default as NotificationPrefs } from "./NotificationPrefs.svelte";
|
|
68
|
+
export { default as ConsentManager } from "./ConsentManager.svelte";
|
|
69
|
+
export { default as ServiceFlow } from "./ServiceFlow.svelte";
|
|
70
|
+
export { default as CheckAnswers } from "./CheckAnswers.svelte";
|
|
71
|
+
export { default as Confirmation } from "./Confirmation.svelte";
|
|
56
72
|
export { default as Alert } from "./Alert.svelte";
|
|
57
73
|
export { default as Toast } from "./Toast.svelte";
|
|
58
74
|
export { default as ToastManager } from "./ToastManager.svelte";
|
package/components/index.js
CHANGED
|
@@ -49,6 +49,18 @@ export { default as StatusTimeline } from "./StatusTimeline.svelte";
|
|
|
49
49
|
export { default as WidgetGrid } from "./WidgetGrid.svelte";
|
|
50
50
|
export { default as VotingWidget } from "./VotingWidget.svelte";
|
|
51
51
|
|
|
52
|
+
// Landing & content surface (#105 Phase 7) — presentational, marketing-grade,
|
|
53
|
+
// config-driven sections for landing / campaign / about / faq / contact pages.
|
|
54
|
+
// Each renders purely from props (zero fetch); copy + media are tenant DATA.
|
|
55
|
+
export { default as FeatureGrid } from "./FeatureGrid.svelte";
|
|
56
|
+
export { default as CallToAction } from "./CallToAction.svelte";
|
|
57
|
+
export { default as MediaText } from "./MediaText.svelte";
|
|
58
|
+
export { default as Steps } from "./Steps.svelte";
|
|
59
|
+
export { default as Testimonial } from "./Testimonial.svelte";
|
|
60
|
+
export { default as FaqList } from "./FaqList.svelte";
|
|
61
|
+
export { default as LogoStrip } from "./LogoStrip.svelte";
|
|
62
|
+
export { default as MediaGallery } from "./MediaGallery.svelte";
|
|
63
|
+
|
|
52
64
|
// Containers
|
|
53
65
|
export { default as Card } from "./Card.svelte";
|
|
54
66
|
export { default as Panel } from "./Panel.svelte";
|
|
@@ -97,6 +109,13 @@ export { default as NotificationPrefs } from "./NotificationPrefs.svelte";
|
|
|
97
109
|
// data portability (export) + type-to-confirm account erasure.
|
|
98
110
|
export { default as ConsentManager } from "./ConsentManager.svelte";
|
|
99
111
|
|
|
112
|
+
// Service-flow steps (#105 Phase 6) — the multi-step submit journey: a wizard
|
|
113
|
+
// shell (step nav + progress + focus mgmt + error summary), the review-before-
|
|
114
|
+
// submit answer list (WCAG 3.3.4 change links), and the success receipt.
|
|
115
|
+
export { default as ServiceFlow } from "./ServiceFlow.svelte";
|
|
116
|
+
export { default as CheckAnswers } from "./CheckAnswers.svelte";
|
|
117
|
+
export { default as Confirmation } from "./Confirmation.svelte";
|
|
118
|
+
|
|
100
119
|
// Feedback
|
|
101
120
|
export { default as Alert } from "./Alert.svelte";
|
|
102
121
|
export { default as Toast } from "./Toast.svelte";
|