@opensite/ui 1.3.2 → 1.3.4
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/footer-accordion-social.cjs +1344 -0
- package/dist/footer-accordion-social.d.cts +154 -0
- package/dist/footer-accordion-social.d.ts +154 -0
- package/dist/footer-accordion-social.js +1322 -0
- package/dist/footer-info-cards-accordion.cjs +1427 -0
- package/dist/footer-info-cards-accordion.d.cts +278 -0
- package/dist/footer-info-cards-accordion.d.ts +278 -0
- package/dist/footer-info-cards-accordion.js +1404 -0
- package/dist/footer-newsletter-contact.cjs +1281 -0
- package/dist/footer-newsletter-contact.d.cts +163 -0
- package/dist/footer-newsletter-contact.d.ts +163 -0
- package/dist/footer-newsletter-contact.js +1259 -0
- package/dist/footer-split-image-accordion.cjs +1395 -0
- package/dist/footer-split-image-accordion.d.cts +236 -0
- package/dist/footer-split-image-accordion.d.ts +236 -0
- package/dist/footer-split-image-accordion.js +1372 -0
- package/dist/list-achievements-showcase.cjs +1141 -0
- package/dist/list-achievements-showcase.d.cts +131 -0
- package/dist/list-achievements-showcase.d.ts +131 -0
- package/dist/list-achievements-showcase.js +1119 -0
- package/dist/list-career-timeline.cjs +531 -0
- package/dist/list-career-timeline.d.cts +153 -0
- package/dist/list-career-timeline.d.ts +153 -0
- package/dist/list-career-timeline.js +509 -0
- package/dist/list-feature-comparison.cjs +1211 -0
- package/dist/list-feature-comparison.d.cts +189 -0
- package/dist/list-feature-comparison.d.ts +189 -0
- package/dist/list-feature-comparison.js +1190 -0
- package/dist/list-metrics-dashboard.cjs +1402 -0
- package/dist/list-metrics-dashboard.d.cts +191 -0
- package/dist/list-metrics-dashboard.d.ts +191 -0
- package/dist/list-metrics-dashboard.js +1379 -0
- package/dist/list-service-category-table.cjs +762 -0
- package/dist/list-service-category-table.d.cts +135 -0
- package/dist/list-service-category-table.d.ts +135 -0
- package/dist/list-service-category-table.js +741 -0
- package/dist/offer-modal-membership-image.cjs +1361 -0
- package/dist/offer-modal-membership-image.d.cts +194 -0
- package/dist/offer-modal-membership-image.d.ts +194 -0
- package/dist/offer-modal-membership-image.js +1339 -0
- package/dist/offer-modal-newsletter-discount.cjs +1296 -0
- package/dist/offer-modal-newsletter-discount.d.cts +164 -0
- package/dist/offer-modal-newsletter-discount.d.ts +164 -0
- package/dist/offer-modal-newsletter-discount.js +1274 -0
- package/dist/offer-modal-sheet-newsletter.cjs +1360 -0
- package/dist/offer-modal-sheet-newsletter.d.cts +221 -0
- package/dist/offer-modal-sheet-newsletter.d.ts +221 -0
- package/dist/offer-modal-sheet-newsletter.js +1337 -0
- package/dist/pricing-addons-cards.cjs +1143 -0
- package/dist/pricing-addons-cards.d.cts +203 -0
- package/dist/pricing-addons-cards.d.ts +203 -0
- package/dist/pricing-addons-cards.js +1122 -0
- package/dist/pricing-addons-featured.cjs +1224 -0
- package/dist/pricing-addons-featured.d.cts +271 -0
- package/dist/pricing-addons-featured.d.ts +271 -0
- package/dist/pricing-addons-featured.js +1203 -0
- package/dist/pricing-collapsible-plans.cjs +1315 -0
- package/dist/pricing-collapsible-plans.d.cts +258 -0
- package/dist/pricing-collapsible-plans.d.ts +258 -0
- package/dist/pricing-collapsible-plans.js +1294 -0
- package/dist/pricing-columns-toggle.cjs +1234 -0
- package/dist/pricing-columns-toggle.d.cts +251 -0
- package/dist/pricing-columns-toggle.d.ts +251 -0
- package/dist/pricing-columns-toggle.js +1212 -0
- package/dist/pricing-comparison-headers.cjs +1235 -0
- package/dist/pricing-comparison-headers.d.cts +245 -0
- package/dist/pricing-comparison-headers.d.ts +245 -0
- package/dist/pricing-comparison-headers.js +1213 -0
- package/dist/pricing-comparison-table.cjs +1374 -0
- package/dist/pricing-comparison-table.d.cts +280 -0
- package/dist/pricing-comparison-table.d.ts +280 -0
- package/dist/pricing-comparison-table.js +1352 -0
- package/dist/pricing-discount-card.cjs +1217 -0
- package/dist/pricing-discount-card.d.cts +195 -0
- package/dist/pricing-discount-card.d.ts +195 -0
- package/dist/pricing-discount-card.js +1195 -0
- package/dist/pricing-enterprise-contact.cjs +1094 -0
- package/dist/pricing-enterprise-contact.d.cts +170 -0
- package/dist/pricing-enterprise-contact.d.ts +170 -0
- package/dist/pricing-enterprise-contact.js +1073 -0
- package/dist/pricing-feature-matrix.cjs +1197 -0
- package/dist/pricing-feature-matrix.d.cts +56 -0
- package/dist/pricing-feature-matrix.d.ts +56 -0
- package/dist/pricing-feature-matrix.js +1174 -0
- package/dist/pricing-four-tier-toggle.cjs +1320 -0
- package/dist/pricing-four-tier-toggle.d.cts +266 -0
- package/dist/pricing-four-tier-toggle.d.ts +266 -0
- package/dist/pricing-four-tier-toggle.js +1297 -0
- package/dist/pricing-full-comparison.cjs +1301 -0
- package/dist/pricing-full-comparison.d.cts +265 -0
- package/dist/pricing-full-comparison.d.ts +265 -0
- package/dist/pricing-full-comparison.js +1279 -0
- package/dist/pricing-gradient-cards.cjs +1248 -0
- package/dist/pricing-gradient-cards.d.cts +258 -0
- package/dist/pricing-gradient-cards.d.ts +258 -0
- package/dist/pricing-gradient-cards.js +1226 -0
- package/dist/pricing-icon-headers.cjs +1163 -0
- package/dist/pricing-icon-headers.d.cts +218 -0
- package/dist/pricing-icon-headers.d.ts +218 -0
- package/dist/pricing-icon-headers.js +1142 -0
- package/dist/pricing-minimal-cards.cjs +1146 -0
- package/dist/pricing-minimal-cards.d.cts +210 -0
- package/dist/pricing-minimal-cards.d.ts +210 -0
- package/dist/pricing-minimal-cards.js +1125 -0
- package/dist/pricing-packages-radio.cjs +1203 -0
- package/dist/pricing-packages-radio.d.cts +243 -0
- package/dist/pricing-packages-radio.d.ts +243 -0
- package/dist/pricing-packages-radio.js +1182 -0
- package/dist/pricing-popular-highlight.cjs +1293 -0
- package/dist/pricing-popular-highlight.d.cts +255 -0
- package/dist/pricing-popular-highlight.d.ts +255 -0
- package/dist/pricing-popular-highlight.js +1271 -0
- package/dist/pricing-radio-toggle.cjs +1277 -0
- package/dist/pricing-radio-toggle.d.cts +251 -0
- package/dist/pricing-radio-toggle.d.ts +251 -0
- package/dist/pricing-radio-toggle.js +1255 -0
- package/dist/pricing-responsive-table.cjs +1229 -0
- package/dist/pricing-responsive-table.d.cts +55 -0
- package/dist/pricing-responsive-table.d.ts +55 -0
- package/dist/pricing-responsive-table.js +1206 -0
- package/dist/pricing-services-cards.cjs +1209 -0
- package/dist/pricing-services-cards.d.cts +230 -0
- package/dist/pricing-services-cards.d.ts +230 -0
- package/dist/pricing-services-cards.js +1188 -0
- package/dist/pricing-simple-card.cjs +1102 -0
- package/dist/pricing-simple-card.d.cts +174 -0
- package/dist/pricing-simple-card.d.ts +174 -0
- package/dist/pricing-simple-card.js +1081 -0
- package/dist/pricing-single-card.cjs +1174 -0
- package/dist/pricing-single-card.d.cts +201 -0
- package/dist/pricing-single-card.d.ts +201 -0
- package/dist/pricing-single-card.js +1152 -0
- package/dist/pricing-split-layout.cjs +1001 -0
- package/dist/pricing-split-layout.d.cts +44 -0
- package/dist/pricing-split-layout.d.ts +44 -0
- package/dist/pricing-split-layout.js +980 -0
- package/dist/pricing-spotlight-card.cjs +1157 -0
- package/dist/pricing-spotlight-card.d.cts +201 -0
- package/dist/pricing-spotlight-card.d.ts +201 -0
- package/dist/pricing-spotlight-card.js +1136 -0
- package/dist/pricing-switch-cards.cjs +1274 -0
- package/dist/pricing-switch-cards.d.cts +254 -0
- package/dist/pricing-switch-cards.d.ts +254 -0
- package/dist/pricing-switch-cards.js +1252 -0
- package/dist/pricing-tabs-toggle.cjs +1314 -0
- package/dist/pricing-tabs-toggle.d.cts +274 -0
- package/dist/pricing-tabs-toggle.d.ts +274 -0
- package/dist/pricing-tabs-toggle.js +1291 -0
- package/dist/pricing-tier-grid.cjs +1190 -0
- package/dist/pricing-tier-grid.d.cts +224 -0
- package/dist/pricing-tier-grid.d.ts +224 -0
- package/dist/pricing-tier-grid.js +1169 -0
- package/dist/pricing-toggle-cards.cjs +1330 -0
- package/dist/pricing-toggle-cards.d.cts +267 -0
- package/dist/pricing-toggle-cards.d.ts +267 -0
- package/dist/pricing-toggle-cards.js +1307 -0
- package/dist/pricing-toggle-period.cjs +1251 -0
- package/dist/pricing-toggle-period.d.cts +265 -0
- package/dist/pricing-toggle-period.d.ts +265 -0
- package/dist/pricing-toggle-period.js +1230 -0
- package/dist/pricing-two-column-basic.cjs +1243 -0
- package/dist/pricing-two-column-basic.d.cts +244 -0
- package/dist/pricing-two-column-basic.d.ts +244 -0
- package/dist/pricing-two-column-basic.js +1222 -0
- package/dist/registry.cjs +109 -85
- package/dist/registry.js +931 -907
- package/package.json +1 -1
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bz_A5vLU.cjs';
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
5
|
+
import 'class-variance-authority';
|
|
6
|
+
import './button-variants-lRElsmTc.cjs';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
|
|
9
|
+
interface FooterInfoCardsAccordionInfoItem {
|
|
10
|
+
/**
|
|
11
|
+
* Icon name in format: prefix/name
|
|
12
|
+
*/
|
|
13
|
+
icon: string;
|
|
14
|
+
/**
|
|
15
|
+
* Info item title
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Info item text
|
|
20
|
+
*/
|
|
21
|
+
text: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional link URL
|
|
24
|
+
*/
|
|
25
|
+
link?: string;
|
|
26
|
+
}
|
|
27
|
+
interface FooterInfoCardsAccordionLink {
|
|
28
|
+
/**
|
|
29
|
+
* Link text
|
|
30
|
+
*/
|
|
31
|
+
text: string;
|
|
32
|
+
/**
|
|
33
|
+
* Link URL
|
|
34
|
+
*/
|
|
35
|
+
link?: string;
|
|
36
|
+
}
|
|
37
|
+
interface FooterInfoCardsAccordionSection {
|
|
38
|
+
/**
|
|
39
|
+
* Section title
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Array of links in this section
|
|
48
|
+
*/
|
|
49
|
+
items: FooterInfoCardsAccordionLink[];
|
|
50
|
+
}
|
|
51
|
+
interface FooterInfoCardsAccordionSocialLink {
|
|
52
|
+
/**
|
|
53
|
+
* Icon name in format: prefix/name
|
|
54
|
+
*/
|
|
55
|
+
icon: string;
|
|
56
|
+
/**
|
|
57
|
+
* Link URL
|
|
58
|
+
*/
|
|
59
|
+
link: string;
|
|
60
|
+
/**
|
|
61
|
+
* Accessible label
|
|
62
|
+
*/
|
|
63
|
+
label: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Footer details configuration
|
|
67
|
+
*/
|
|
68
|
+
interface FooterInfoCardsAccordionDetails {
|
|
69
|
+
/** Hero image configuration */
|
|
70
|
+
image: {
|
|
71
|
+
src: string;
|
|
72
|
+
alt: string;
|
|
73
|
+
};
|
|
74
|
+
/** Logo configuration with light/dark variants */
|
|
75
|
+
logo: {
|
|
76
|
+
light: string;
|
|
77
|
+
dark: string;
|
|
78
|
+
};
|
|
79
|
+
/** Logo link URL */
|
|
80
|
+
logoUrl: string;
|
|
81
|
+
/** Brand description text */
|
|
82
|
+
description: string;
|
|
83
|
+
}
|
|
84
|
+
interface FooterInfoCardsAccordionProps {
|
|
85
|
+
/**
|
|
86
|
+
* Newsletter title
|
|
87
|
+
*/
|
|
88
|
+
newsletterTitle?: React.ReactNode;
|
|
89
|
+
/**
|
|
90
|
+
* Newsletter description
|
|
91
|
+
*/
|
|
92
|
+
newsletterDescription?: React.ReactNode;
|
|
93
|
+
/**
|
|
94
|
+
* Email input placeholder text
|
|
95
|
+
*/
|
|
96
|
+
emailPlaceholder?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Subscribe button text
|
|
99
|
+
*/
|
|
100
|
+
subscribeText?: React.ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* Terms text before links
|
|
103
|
+
*/
|
|
104
|
+
termsText?: React.ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Terms of Use link text
|
|
107
|
+
*/
|
|
108
|
+
termsLinkText?: React.ReactNode;
|
|
109
|
+
/**
|
|
110
|
+
* Terms of Use link URL
|
|
111
|
+
*/
|
|
112
|
+
termsLinkUrl?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Privacy Policy link text
|
|
115
|
+
*/
|
|
116
|
+
privacyLinkText?: React.ReactNode;
|
|
117
|
+
/**
|
|
118
|
+
* Privacy Policy link URL
|
|
119
|
+
*/
|
|
120
|
+
privacyLinkUrl?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Info section items (contact cards)
|
|
123
|
+
*/
|
|
124
|
+
infoItems?: FooterInfoCardsAccordionInfoItem[];
|
|
125
|
+
/**
|
|
126
|
+
* Footer link sections
|
|
127
|
+
*/
|
|
128
|
+
footerLinks?: FooterInfoCardsAccordionSection[];
|
|
129
|
+
/**
|
|
130
|
+
* Social media links
|
|
131
|
+
*/
|
|
132
|
+
socialLinks?: FooterInfoCardsAccordionSocialLink[];
|
|
133
|
+
/**
|
|
134
|
+
* Payment method image URLs
|
|
135
|
+
*/
|
|
136
|
+
paymentMethods?: string[];
|
|
137
|
+
/**
|
|
138
|
+
* Submenu links
|
|
139
|
+
*/
|
|
140
|
+
submenuLinks?: FooterInfoCardsAccordionLink[];
|
|
141
|
+
/**
|
|
142
|
+
* Footer details configuration
|
|
143
|
+
*/
|
|
144
|
+
footerDetails?: FooterInfoCardsAccordionDetails;
|
|
145
|
+
/**
|
|
146
|
+
* Copyright text
|
|
147
|
+
*/
|
|
148
|
+
copyright?: React.ReactNode;
|
|
149
|
+
/**
|
|
150
|
+
* Additional CSS classes for the section wrapper
|
|
151
|
+
*/
|
|
152
|
+
className?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Additional CSS classes for the content wrapper
|
|
155
|
+
*/
|
|
156
|
+
contentClassName?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Additional CSS classes for the newsletter grid
|
|
159
|
+
*/
|
|
160
|
+
newsletterGridClassName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Additional CSS classes for the newsletter image wrapper
|
|
163
|
+
*/
|
|
164
|
+
newsletterImageClassName?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Additional CSS classes for the newsletter content
|
|
167
|
+
*/
|
|
168
|
+
newsletterContentClassName?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Additional CSS classes for the newsletter title
|
|
171
|
+
*/
|
|
172
|
+
newsletterTitleClassName?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Additional CSS classes for the newsletter description
|
|
175
|
+
*/
|
|
176
|
+
newsletterDescriptionClassName?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Additional CSS classes for the newsletter form
|
|
179
|
+
*/
|
|
180
|
+
newsletterFormClassName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Additional CSS classes for the info cards grid
|
|
183
|
+
*/
|
|
184
|
+
infoCardsGridClassName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Additional CSS classes for info cards
|
|
187
|
+
*/
|
|
188
|
+
infoCardClassName?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Additional CSS classes for the brand/accordion grid
|
|
191
|
+
*/
|
|
192
|
+
brandGridClassName?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Additional CSS classes for the brand column
|
|
195
|
+
*/
|
|
196
|
+
brandColumnClassName?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Additional CSS classes for the logo
|
|
199
|
+
*/
|
|
200
|
+
logoClassName?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Additional CSS classes for the brand description
|
|
203
|
+
*/
|
|
204
|
+
brandDescriptionClassName?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Additional CSS classes for the accordion column
|
|
207
|
+
*/
|
|
208
|
+
accordionColumnClassName?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Additional CSS classes for the payment/social row
|
|
211
|
+
*/
|
|
212
|
+
paymentSocialRowClassName?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Additional CSS classes for payment methods
|
|
215
|
+
*/
|
|
216
|
+
paymentMethodsClassName?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Additional CSS classes for social links
|
|
219
|
+
*/
|
|
220
|
+
socialLinksClassName?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Additional CSS classes for the bottom section
|
|
223
|
+
*/
|
|
224
|
+
bottomClassName?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Additional CSS classes for the copyright
|
|
227
|
+
*/
|
|
228
|
+
copyrightClassName?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Additional CSS classes for submenu links
|
|
231
|
+
*/
|
|
232
|
+
submenuLinksClassName?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Section background variant
|
|
235
|
+
*/
|
|
236
|
+
background?: SectionBackground;
|
|
237
|
+
/**
|
|
238
|
+
* Section spacing variant
|
|
239
|
+
*/
|
|
240
|
+
spacing?: SectionSpacing;
|
|
241
|
+
/**
|
|
242
|
+
* Optional background pattern
|
|
243
|
+
*/
|
|
244
|
+
pattern?: PatternName | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Pattern opacity (0-1)
|
|
247
|
+
*/
|
|
248
|
+
patternOpacity?: number;
|
|
249
|
+
/**
|
|
250
|
+
* Optional Optix Flow configuration for image optimization
|
|
251
|
+
*/
|
|
252
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Footer Info Cards Accordion - A comprehensive footer with info cards,
|
|
256
|
+
* newsletter, accordion navigation, payment methods, and social links.
|
|
257
|
+
*
|
|
258
|
+
* Layout: Hero image with newsletter, info cards grid, accordion links.
|
|
259
|
+
* Key features: Contact info cards, payment method icons, language selector.
|
|
260
|
+
* Best for: E-commerce sites, service businesses, customer-focused brands.
|
|
261
|
+
*
|
|
262
|
+
* @example
|
|
263
|
+
* ```tsx
|
|
264
|
+
* <FooterInfoCardsAccordion
|
|
265
|
+
* newsletterTitle="Newsletter"
|
|
266
|
+
* newsletterDescription="Join for exclusive offers."
|
|
267
|
+
* infoItems={[
|
|
268
|
+
* { icon: "lucide/phone", title: "Call Us", text: "+1 555-1234" },
|
|
269
|
+
* ]}
|
|
270
|
+
* footerLinks={[
|
|
271
|
+
* { title: "Shop", id: "shop", items: [...] },
|
|
272
|
+
* ]}
|
|
273
|
+
* />
|
|
274
|
+
* ```
|
|
275
|
+
*/
|
|
276
|
+
declare function FooterInfoCardsAccordion({ newsletterTitle, newsletterDescription, emailPlaceholder, subscribeText, termsText, termsLinkText, termsLinkUrl, privacyLinkText, privacyLinkUrl, infoItems, footerLinks, socialLinks, paymentMethods, submenuLinks, footerDetails, copyright, className, contentClassName, newsletterGridClassName, newsletterImageClassName, newsletterContentClassName, newsletterTitleClassName, newsletterDescriptionClassName, newsletterFormClassName, infoCardsGridClassName, infoCardClassName, brandGridClassName, brandColumnClassName, logoClassName, brandDescriptionClassName, accordionColumnClassName, paymentSocialRowClassName, paymentMethodsClassName, socialLinksClassName, bottomClassName, copyrightClassName, submenuLinksClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterInfoCardsAccordionProps): react_jsx_runtime.JSX.Element;
|
|
277
|
+
|
|
278
|
+
export { FooterInfoCardsAccordion, type FooterInfoCardsAccordionInfoItem, type FooterInfoCardsAccordionLink, type FooterInfoCardsAccordionProps, type FooterInfoCardsAccordionSection, type FooterInfoCardsAccordionSocialLink };
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bi_ClKrO.js';
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
5
|
+
import 'class-variance-authority';
|
|
6
|
+
import './button-variants-lRElsmTc.js';
|
|
7
|
+
import 'class-variance-authority/types';
|
|
8
|
+
|
|
9
|
+
interface FooterInfoCardsAccordionInfoItem {
|
|
10
|
+
/**
|
|
11
|
+
* Icon name in format: prefix/name
|
|
12
|
+
*/
|
|
13
|
+
icon: string;
|
|
14
|
+
/**
|
|
15
|
+
* Info item title
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Info item text
|
|
20
|
+
*/
|
|
21
|
+
text: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional link URL
|
|
24
|
+
*/
|
|
25
|
+
link?: string;
|
|
26
|
+
}
|
|
27
|
+
interface FooterInfoCardsAccordionLink {
|
|
28
|
+
/**
|
|
29
|
+
* Link text
|
|
30
|
+
*/
|
|
31
|
+
text: string;
|
|
32
|
+
/**
|
|
33
|
+
* Link URL
|
|
34
|
+
*/
|
|
35
|
+
link?: string;
|
|
36
|
+
}
|
|
37
|
+
interface FooterInfoCardsAccordionSection {
|
|
38
|
+
/**
|
|
39
|
+
* Section title
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* Array of links in this section
|
|
48
|
+
*/
|
|
49
|
+
items: FooterInfoCardsAccordionLink[];
|
|
50
|
+
}
|
|
51
|
+
interface FooterInfoCardsAccordionSocialLink {
|
|
52
|
+
/**
|
|
53
|
+
* Icon name in format: prefix/name
|
|
54
|
+
*/
|
|
55
|
+
icon: string;
|
|
56
|
+
/**
|
|
57
|
+
* Link URL
|
|
58
|
+
*/
|
|
59
|
+
link: string;
|
|
60
|
+
/**
|
|
61
|
+
* Accessible label
|
|
62
|
+
*/
|
|
63
|
+
label: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Footer details configuration
|
|
67
|
+
*/
|
|
68
|
+
interface FooterInfoCardsAccordionDetails {
|
|
69
|
+
/** Hero image configuration */
|
|
70
|
+
image: {
|
|
71
|
+
src: string;
|
|
72
|
+
alt: string;
|
|
73
|
+
};
|
|
74
|
+
/** Logo configuration with light/dark variants */
|
|
75
|
+
logo: {
|
|
76
|
+
light: string;
|
|
77
|
+
dark: string;
|
|
78
|
+
};
|
|
79
|
+
/** Logo link URL */
|
|
80
|
+
logoUrl: string;
|
|
81
|
+
/** Brand description text */
|
|
82
|
+
description: string;
|
|
83
|
+
}
|
|
84
|
+
interface FooterInfoCardsAccordionProps {
|
|
85
|
+
/**
|
|
86
|
+
* Newsletter title
|
|
87
|
+
*/
|
|
88
|
+
newsletterTitle?: React.ReactNode;
|
|
89
|
+
/**
|
|
90
|
+
* Newsletter description
|
|
91
|
+
*/
|
|
92
|
+
newsletterDescription?: React.ReactNode;
|
|
93
|
+
/**
|
|
94
|
+
* Email input placeholder text
|
|
95
|
+
*/
|
|
96
|
+
emailPlaceholder?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Subscribe button text
|
|
99
|
+
*/
|
|
100
|
+
subscribeText?: React.ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* Terms text before links
|
|
103
|
+
*/
|
|
104
|
+
termsText?: React.ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Terms of Use link text
|
|
107
|
+
*/
|
|
108
|
+
termsLinkText?: React.ReactNode;
|
|
109
|
+
/**
|
|
110
|
+
* Terms of Use link URL
|
|
111
|
+
*/
|
|
112
|
+
termsLinkUrl?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Privacy Policy link text
|
|
115
|
+
*/
|
|
116
|
+
privacyLinkText?: React.ReactNode;
|
|
117
|
+
/**
|
|
118
|
+
* Privacy Policy link URL
|
|
119
|
+
*/
|
|
120
|
+
privacyLinkUrl?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Info section items (contact cards)
|
|
123
|
+
*/
|
|
124
|
+
infoItems?: FooterInfoCardsAccordionInfoItem[];
|
|
125
|
+
/**
|
|
126
|
+
* Footer link sections
|
|
127
|
+
*/
|
|
128
|
+
footerLinks?: FooterInfoCardsAccordionSection[];
|
|
129
|
+
/**
|
|
130
|
+
* Social media links
|
|
131
|
+
*/
|
|
132
|
+
socialLinks?: FooterInfoCardsAccordionSocialLink[];
|
|
133
|
+
/**
|
|
134
|
+
* Payment method image URLs
|
|
135
|
+
*/
|
|
136
|
+
paymentMethods?: string[];
|
|
137
|
+
/**
|
|
138
|
+
* Submenu links
|
|
139
|
+
*/
|
|
140
|
+
submenuLinks?: FooterInfoCardsAccordionLink[];
|
|
141
|
+
/**
|
|
142
|
+
* Footer details configuration
|
|
143
|
+
*/
|
|
144
|
+
footerDetails?: FooterInfoCardsAccordionDetails;
|
|
145
|
+
/**
|
|
146
|
+
* Copyright text
|
|
147
|
+
*/
|
|
148
|
+
copyright?: React.ReactNode;
|
|
149
|
+
/**
|
|
150
|
+
* Additional CSS classes for the section wrapper
|
|
151
|
+
*/
|
|
152
|
+
className?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Additional CSS classes for the content wrapper
|
|
155
|
+
*/
|
|
156
|
+
contentClassName?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Additional CSS classes for the newsletter grid
|
|
159
|
+
*/
|
|
160
|
+
newsletterGridClassName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Additional CSS classes for the newsletter image wrapper
|
|
163
|
+
*/
|
|
164
|
+
newsletterImageClassName?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Additional CSS classes for the newsletter content
|
|
167
|
+
*/
|
|
168
|
+
newsletterContentClassName?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Additional CSS classes for the newsletter title
|
|
171
|
+
*/
|
|
172
|
+
newsletterTitleClassName?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Additional CSS classes for the newsletter description
|
|
175
|
+
*/
|
|
176
|
+
newsletterDescriptionClassName?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Additional CSS classes for the newsletter form
|
|
179
|
+
*/
|
|
180
|
+
newsletterFormClassName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Additional CSS classes for the info cards grid
|
|
183
|
+
*/
|
|
184
|
+
infoCardsGridClassName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Additional CSS classes for info cards
|
|
187
|
+
*/
|
|
188
|
+
infoCardClassName?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Additional CSS classes for the brand/accordion grid
|
|
191
|
+
*/
|
|
192
|
+
brandGridClassName?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Additional CSS classes for the brand column
|
|
195
|
+
*/
|
|
196
|
+
brandColumnClassName?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Additional CSS classes for the logo
|
|
199
|
+
*/
|
|
200
|
+
logoClassName?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Additional CSS classes for the brand description
|
|
203
|
+
*/
|
|
204
|
+
brandDescriptionClassName?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Additional CSS classes for the accordion column
|
|
207
|
+
*/
|
|
208
|
+
accordionColumnClassName?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Additional CSS classes for the payment/social row
|
|
211
|
+
*/
|
|
212
|
+
paymentSocialRowClassName?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Additional CSS classes for payment methods
|
|
215
|
+
*/
|
|
216
|
+
paymentMethodsClassName?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Additional CSS classes for social links
|
|
219
|
+
*/
|
|
220
|
+
socialLinksClassName?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Additional CSS classes for the bottom section
|
|
223
|
+
*/
|
|
224
|
+
bottomClassName?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Additional CSS classes for the copyright
|
|
227
|
+
*/
|
|
228
|
+
copyrightClassName?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Additional CSS classes for submenu links
|
|
231
|
+
*/
|
|
232
|
+
submenuLinksClassName?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Section background variant
|
|
235
|
+
*/
|
|
236
|
+
background?: SectionBackground;
|
|
237
|
+
/**
|
|
238
|
+
* Section spacing variant
|
|
239
|
+
*/
|
|
240
|
+
spacing?: SectionSpacing;
|
|
241
|
+
/**
|
|
242
|
+
* Optional background pattern
|
|
243
|
+
*/
|
|
244
|
+
pattern?: PatternName | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Pattern opacity (0-1)
|
|
247
|
+
*/
|
|
248
|
+
patternOpacity?: number;
|
|
249
|
+
/**
|
|
250
|
+
* Optional Optix Flow configuration for image optimization
|
|
251
|
+
*/
|
|
252
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Footer Info Cards Accordion - A comprehensive footer with info cards,
|
|
256
|
+
* newsletter, accordion navigation, payment methods, and social links.
|
|
257
|
+
*
|
|
258
|
+
* Layout: Hero image with newsletter, info cards grid, accordion links.
|
|
259
|
+
* Key features: Contact info cards, payment method icons, language selector.
|
|
260
|
+
* Best for: E-commerce sites, service businesses, customer-focused brands.
|
|
261
|
+
*
|
|
262
|
+
* @example
|
|
263
|
+
* ```tsx
|
|
264
|
+
* <FooterInfoCardsAccordion
|
|
265
|
+
* newsletterTitle="Newsletter"
|
|
266
|
+
* newsletterDescription="Join for exclusive offers."
|
|
267
|
+
* infoItems={[
|
|
268
|
+
* { icon: "lucide/phone", title: "Call Us", text: "+1 555-1234" },
|
|
269
|
+
* ]}
|
|
270
|
+
* footerLinks={[
|
|
271
|
+
* { title: "Shop", id: "shop", items: [...] },
|
|
272
|
+
* ]}
|
|
273
|
+
* />
|
|
274
|
+
* ```
|
|
275
|
+
*/
|
|
276
|
+
declare function FooterInfoCardsAccordion({ newsletterTitle, newsletterDescription, emailPlaceholder, subscribeText, termsText, termsLinkText, termsLinkUrl, privacyLinkText, privacyLinkUrl, infoItems, footerLinks, socialLinks, paymentMethods, submenuLinks, footerDetails, copyright, className, contentClassName, newsletterGridClassName, newsletterImageClassName, newsletterContentClassName, newsletterTitleClassName, newsletterDescriptionClassName, newsletterFormClassName, infoCardsGridClassName, infoCardClassName, brandGridClassName, brandColumnClassName, logoClassName, brandDescriptionClassName, accordionColumnClassName, paymentSocialRowClassName, paymentMethodsClassName, socialLinksClassName, bottomClassName, copyrightClassName, submenuLinksClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: FooterInfoCardsAccordionProps): react_jsx_runtime.JSX.Element;
|
|
277
|
+
|
|
278
|
+
export { FooterInfoCardsAccordion, type FooterInfoCardsAccordionInfoItem, type FooterInfoCardsAccordionLink, type FooterInfoCardsAccordionProps, type FooterInfoCardsAccordionSection, type FooterInfoCardsAccordionSocialLink };
|