@opensite/ui 2.9.0 → 2.9.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.
Files changed (51) hide show
  1. package/dist/carousel-feature-badge.cjs +4 -3
  2. package/dist/carousel-feature-badge.d.cts +1 -1
  3. package/dist/carousel-feature-badge.d.ts +1 -1
  4. package/dist/carousel-feature-badge.js +4 -3
  5. package/dist/carousel-scrolling-feature-showcase.cjs +47 -38
  6. package/dist/carousel-scrolling-feature-showcase.js +47 -38
  7. package/dist/registry.cjs +454 -265
  8. package/dist/registry.js +454 -265
  9. package/dist/testimonials-grid-add-review.cjs +578 -39
  10. package/dist/testimonials-grid-add-review.d.cts +26 -26
  11. package/dist/testimonials-grid-add-review.d.ts +26 -26
  12. package/dist/testimonials-grid-add-review.js +577 -38
  13. package/dist/testimonials-images-helpful.cjs +85 -74
  14. package/dist/testimonials-images-helpful.js +85 -74
  15. package/dist/testimonials-list-verified.cjs +1 -0
  16. package/dist/testimonials-list-verified.js +1 -0
  17. package/dist/testimonials-logo-cards.cjs +8 -5
  18. package/dist/testimonials-logo-cards.js +8 -5
  19. package/dist/testimonials-masonry-grid.cjs +87 -11
  20. package/dist/testimonials-masonry-grid.d.cts +14 -1
  21. package/dist/testimonials-masonry-grid.d.ts +14 -1
  22. package/dist/testimonials-masonry-grid.js +88 -12
  23. package/dist/testimonials-mini-dividers.cjs +438 -26
  24. package/dist/testimonials-mini-dividers.js +434 -22
  25. package/dist/testimonials-minimal-numbered.cjs +1 -1
  26. package/dist/testimonials-minimal-numbered.js +1 -1
  27. package/dist/testimonials-parallax-number.cjs +1 -1
  28. package/dist/testimonials-parallax-number.js +1 -1
  29. package/dist/testimonials-quote-carousel.cjs +39 -37
  30. package/dist/testimonials-quote-carousel.d.cts +5 -1
  31. package/dist/testimonials-quote-carousel.d.ts +5 -1
  32. package/dist/testimonials-quote-carousel.js +39 -37
  33. package/dist/testimonials-scrolling-columns.cjs +438 -8
  34. package/dist/testimonials-scrolling-columns.js +436 -6
  35. package/dist/testimonials-simple-grid.cjs +82 -6
  36. package/dist/testimonials-simple-grid.d.cts +14 -1
  37. package/dist/testimonials-simple-grid.d.ts +14 -1
  38. package/dist/testimonials-simple-grid.js +83 -7
  39. package/dist/testimonials-stats-header.cjs +88 -8
  40. package/dist/testimonials-stats-header.d.cts +14 -1
  41. package/dist/testimonials-stats-header.d.ts +14 -1
  42. package/dist/testimonials-stats-header.js +89 -9
  43. package/dist/testimonials-twitter-cards.cjs +150 -25
  44. package/dist/testimonials-twitter-cards.d.cts +14 -1
  45. package/dist/testimonials-twitter-cards.d.ts +14 -1
  46. package/dist/testimonials-twitter-cards.js +151 -26
  47. package/dist/testimonials-wall-compact.cjs +529 -50
  48. package/dist/testimonials-wall-compact.d.cts +14 -1
  49. package/dist/testimonials-wall-compact.d.ts +14 -1
  50. package/dist/testimonials-wall-compact.js +526 -44
  51. package/package.json +1 -1
@@ -1,38 +1,18 @@
1
1
  import * as React from 'react';
2
2
  import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-B8KCpwXH.cjs';
3
- import './blocks-BtDAbw8d.cjs';
3
+ import { ActionConfig } from '@page-speed/maps/components/geo-map';
4
+ import { T as TestimonialItem } from './blocks-BtDAbw8d.cjs';
5
+ import 'react/jsx-runtime';
4
6
  import 'class-variance-authority';
5
7
  import './button-variants-8mtEHxev.cjs';
6
8
  import 'class-variance-authority/types';
7
9
  import '@opensite/hooks/usePlatformFromUrl';
8
- import 'react/jsx-runtime';
9
10
 
10
- /**
11
- * Review item interface for grid with add review
12
- */
13
- interface GridReviewItem {
14
- /**
15
- * Star rating (1-5)
16
- */
17
- rating: number;
18
- /**
19
- * Review content/body
20
- */
21
- content: React.ReactNode;
22
- /**
23
- * Author name
24
- */
25
- author?: React.ReactNode;
26
- /**
27
- * Author avatar image URL
28
- */
29
- avatarSrc?: string;
30
- }
31
11
  interface TestimonialsGridAddReviewProps {
32
12
  /**
33
13
  * Array of reviews to display
34
14
  */
35
- reviews?: GridReviewItem[];
15
+ reviews?: TestimonialItem[];
36
16
  /**
37
17
  * Custom slot for rendering reviews (overrides reviews array)
38
18
  */
@@ -105,6 +85,26 @@ interface TestimonialsGridAddReviewProps {
105
85
  * Pattern overlay opacity (0-1)
106
86
  */
107
87
  patternOpacity?: number;
88
+ /**
89
+ * Additional CSS classes for the container
90
+ */
91
+ containerClassName?: string;
92
+ /**
93
+ * Array of action configurations for CTA buttons
94
+ */
95
+ actions?: ActionConfig[];
96
+ /**
97
+ * Custom slot for rendering actions (overrides actions array)
98
+ */
99
+ actionsSlot?: React.ReactNode;
100
+ /**
101
+ * Additional CSS classes for the actions container
102
+ */
103
+ actionsClassName?: string;
104
+ /**
105
+ * Additional CSS classes for the quote text
106
+ */
107
+ quoteClassName?: string;
108
108
  }
109
109
  /**
110
110
  * TestimonialsGridAddReview - A testimonial grid layout featuring review cards with
@@ -132,6 +132,6 @@ interface TestimonialsGridAddReviewProps {
132
132
  * />
133
133
  * ```
134
134
  */
135
- declare function TestimonialsGridAddReview({ reviews, reviewsSlot, heading, description, addReviewText, addReviewSubtext, onAddReview, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, addReviewCardClassName, authorClassName, background, spacing, pattern, patternOpacity, }: TestimonialsGridAddReviewProps): React.JSX.Element;
135
+ declare function TestimonialsGridAddReview({ reviews, reviewsSlot, heading, description, addReviewText, addReviewSubtext, onAddReview, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, quoteClassName, addReviewCardClassName, authorClassName, background, spacing, containerClassName, pattern, patternOpacity, actions, actionsSlot, actionsClassName, }: TestimonialsGridAddReviewProps): React.JSX.Element;
136
136
 
137
- export { type GridReviewItem, TestimonialsGridAddReview, type TestimonialsGridAddReviewProps };
137
+ export { TestimonialsGridAddReview, type TestimonialsGridAddReviewProps };
@@ -1,38 +1,18 @@
1
1
  import * as React from 'react';
2
2
  import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-rTRuDt0r.js';
3
- import './blocks-BlWXj9GI.js';
3
+ import { ActionConfig } from '@page-speed/maps/components/geo-map';
4
+ import { T as TestimonialItem } from './blocks-BlWXj9GI.js';
5
+ import 'react/jsx-runtime';
4
6
  import 'class-variance-authority';
5
7
  import './button-variants-8mtEHxev.js';
6
8
  import 'class-variance-authority/types';
7
9
  import '@opensite/hooks/usePlatformFromUrl';
8
- import 'react/jsx-runtime';
9
10
 
10
- /**
11
- * Review item interface for grid with add review
12
- */
13
- interface GridReviewItem {
14
- /**
15
- * Star rating (1-5)
16
- */
17
- rating: number;
18
- /**
19
- * Review content/body
20
- */
21
- content: React.ReactNode;
22
- /**
23
- * Author name
24
- */
25
- author?: React.ReactNode;
26
- /**
27
- * Author avatar image URL
28
- */
29
- avatarSrc?: string;
30
- }
31
11
  interface TestimonialsGridAddReviewProps {
32
12
  /**
33
13
  * Array of reviews to display
34
14
  */
35
- reviews?: GridReviewItem[];
15
+ reviews?: TestimonialItem[];
36
16
  /**
37
17
  * Custom slot for rendering reviews (overrides reviews array)
38
18
  */
@@ -105,6 +85,26 @@ interface TestimonialsGridAddReviewProps {
105
85
  * Pattern overlay opacity (0-1)
106
86
  */
107
87
  patternOpacity?: number;
88
+ /**
89
+ * Additional CSS classes for the container
90
+ */
91
+ containerClassName?: string;
92
+ /**
93
+ * Array of action configurations for CTA buttons
94
+ */
95
+ actions?: ActionConfig[];
96
+ /**
97
+ * Custom slot for rendering actions (overrides actions array)
98
+ */
99
+ actionsSlot?: React.ReactNode;
100
+ /**
101
+ * Additional CSS classes for the actions container
102
+ */
103
+ actionsClassName?: string;
104
+ /**
105
+ * Additional CSS classes for the quote text
106
+ */
107
+ quoteClassName?: string;
108
108
  }
109
109
  /**
110
110
  * TestimonialsGridAddReview - A testimonial grid layout featuring review cards with
@@ -132,6 +132,6 @@ interface TestimonialsGridAddReviewProps {
132
132
  * />
133
133
  * ```
134
134
  */
135
- declare function TestimonialsGridAddReview({ reviews, reviewsSlot, heading, description, addReviewText, addReviewSubtext, onAddReview, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, addReviewCardClassName, authorClassName, background, spacing, pattern, patternOpacity, }: TestimonialsGridAddReviewProps): React.JSX.Element;
135
+ declare function TestimonialsGridAddReview({ reviews, reviewsSlot, heading, description, addReviewText, addReviewSubtext, onAddReview, className, headerClassName, headingClassName, descriptionClassName, gridClassName, cardClassName, quoteClassName, addReviewCardClassName, authorClassName, background, spacing, containerClassName, pattern, patternOpacity, actions, actionsSlot, actionsClassName, }: TestimonialsGridAddReviewProps): React.JSX.Element;
136
136
 
137
- export { type GridReviewItem, TestimonialsGridAddReview, type TestimonialsGridAddReviewProps };
137
+ export { TestimonialsGridAddReview, type TestimonialsGridAddReviewProps };