@opensite/ui 0.7.0 → 0.7.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.
- package/dist/blog-cards-read-time.cjs +1 -1
- package/dist/blog-cards-read-time.js +1 -1
- package/dist/blog-cards-tagline-cta.cjs +1 -1
- package/dist/blog-cards-tagline-cta.js +1 -1
- package/dist/blog-category-overlay.cjs +1 -1
- package/dist/blog-category-overlay.js +1 -1
- package/dist/blog-featured-popular.cjs +1 -1
- package/dist/blog-featured-popular.js +1 -1
- package/dist/blog-grid-author-cards.cjs +1 -1
- package/dist/blog-grid-author-cards.js +1 -1
- package/dist/blog-grid-nine-posts.cjs +1 -1
- package/dist/blog-grid-nine-posts.js +1 -1
- package/dist/blog-horizontal-cards.cjs +1 -1
- package/dist/blog-horizontal-cards.js +1 -1
- package/dist/blog-tech-insights.cjs +54 -45
- package/dist/blog-tech-insights.js +54 -45
- package/dist/carousel-animated-sections.cjs +1224 -0
- package/dist/carousel-animated-sections.d.cts +154 -0
- package/dist/carousel-animated-sections.d.ts +154 -0
- package/dist/carousel-animated-sections.js +1203 -0
- package/dist/carousel-auto-progress-slides.cjs +1156 -0
- package/dist/carousel-auto-progress-slides.d.cts +122 -0
- package/dist/carousel-auto-progress-slides.d.ts +122 -0
- package/dist/carousel-auto-progress-slides.js +1135 -0
- package/dist/carousel-autoplay-progress.cjs +1141 -0
- package/dist/carousel-autoplay-progress.d.cts +119 -0
- package/dist/carousel-autoplay-progress.d.ts +119 -0
- package/dist/carousel-autoplay-progress.js +1116 -0
- package/dist/carousel-feature-badge.cjs +1216 -0
- package/dist/carousel-feature-badge.d.cts +99 -0
- package/dist/carousel-feature-badge.d.ts +99 -0
- package/dist/carousel-feature-badge.js +1192 -0
- package/dist/carousel-fullscreen-scroll-fx.cjs +526 -0
- package/dist/carousel-fullscreen-scroll-fx.d.cts +122 -0
- package/dist/carousel-fullscreen-scroll-fx.d.ts +122 -0
- package/dist/carousel-fullscreen-scroll-fx.js +505 -0
- package/dist/carousel-gallery-thumbnails.cjs +1059 -0
- package/dist/carousel-gallery-thumbnails.d.cts +122 -0
- package/dist/carousel-gallery-thumbnails.d.ts +122 -0
- package/dist/carousel-gallery-thumbnails.js +1038 -0
- package/dist/carousel-horizontal-cards.cjs +1083 -0
- package/dist/carousel-horizontal-cards.d.cts +126 -0
- package/dist/carousel-horizontal-cards.d.ts +126 -0
- package/dist/carousel-horizontal-cards.js +1062 -0
- package/dist/carousel-image-hero.cjs +1075 -0
- package/dist/carousel-image-hero.d.cts +116 -0
- package/dist/carousel-image-hero.d.ts +116 -0
- package/dist/carousel-image-hero.js +1054 -0
- package/dist/carousel-multi-step-showcase.cjs +1146 -0
- package/dist/carousel-multi-step-showcase.d.cts +142 -0
- package/dist/carousel-multi-step-showcase.d.ts +142 -0
- package/dist/carousel-multi-step-showcase.js +1125 -0
- package/dist/carousel-portfolio-hero.cjs +1063 -0
- package/dist/carousel-portfolio-hero.d.cts +134 -0
- package/dist/carousel-portfolio-hero.d.ts +134 -0
- package/dist/carousel-portfolio-hero.js +1042 -0
- package/dist/carousel-product-feature-showcase.cjs +1127 -0
- package/dist/carousel-product-feature-showcase.d.cts +161 -0
- package/dist/carousel-product-feature-showcase.d.ts +161 -0
- package/dist/carousel-product-feature-showcase.js +1106 -0
- package/dist/carousel-progress-slider.cjs +597 -0
- package/dist/carousel-progress-slider.d.cts +122 -0
- package/dist/carousel-progress-slider.d.ts +122 -0
- package/dist/carousel-progress-slider.js +576 -0
- package/dist/carousel-scrolling-feature-showcase.cjs +530 -0
- package/dist/carousel-scrolling-feature-showcase.d.cts +126 -0
- package/dist/carousel-scrolling-feature-showcase.d.ts +126 -0
- package/dist/carousel-scrolling-feature-showcase.js +509 -0
- package/dist/registry.cjs +349 -238
- package/dist/registry.js +349 -238
- package/package.json +3 -2
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing } from './community-initiatives-Sm_ZSgyv.cjs';
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority';
|
|
7
|
+
import './button-variants-lRElsmTc.cjs';
|
|
8
|
+
import 'class-variance-authority/types';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* CarouselHorizontalCards
|
|
12
|
+
*
|
|
13
|
+
* A horizontal scrolling card carousel with animated entrance effects,
|
|
14
|
+
* navigation buttons, and stat displays. Features smooth scroll behavior
|
|
15
|
+
* with dynamic button visibility based on scroll position.
|
|
16
|
+
*
|
|
17
|
+
* Use cases:
|
|
18
|
+
* - Feature showcases with multiple cards
|
|
19
|
+
* - Product category browsing
|
|
20
|
+
* - Team member or testimonial displays
|
|
21
|
+
* - Content discovery sections
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
interface CardItem {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the card
|
|
27
|
+
*/
|
|
28
|
+
id: string | number;
|
|
29
|
+
/**
|
|
30
|
+
* Image source URL
|
|
31
|
+
*/
|
|
32
|
+
imageSrc: string;
|
|
33
|
+
/**
|
|
34
|
+
* Card title
|
|
35
|
+
*/
|
|
36
|
+
title?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Stat count value
|
|
39
|
+
*/
|
|
40
|
+
count?: React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Label for the count
|
|
43
|
+
*/
|
|
44
|
+
countLabel?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Additional CSS classes for the card
|
|
47
|
+
*/
|
|
48
|
+
className?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Additional CSS classes for the image
|
|
51
|
+
*/
|
|
52
|
+
imageClassName?: string;
|
|
53
|
+
}
|
|
54
|
+
interface CarouselHorizontalCardsProps {
|
|
55
|
+
/**
|
|
56
|
+
* Main heading content
|
|
57
|
+
*/
|
|
58
|
+
heading?: React.ReactNode;
|
|
59
|
+
/**
|
|
60
|
+
* Subtitle/description text
|
|
61
|
+
*/
|
|
62
|
+
subtitle?: React.ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* URL for the heading link
|
|
65
|
+
*/
|
|
66
|
+
headingHref?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Array of card items
|
|
69
|
+
*/
|
|
70
|
+
items?: CardItem[];
|
|
71
|
+
/**
|
|
72
|
+
* Custom slot for rendering items (overrides items array)
|
|
73
|
+
*/
|
|
74
|
+
itemsSlot?: React.ReactNode;
|
|
75
|
+
/**
|
|
76
|
+
* Additional CSS classes for the section
|
|
77
|
+
*/
|
|
78
|
+
className?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Additional CSS classes for the container
|
|
81
|
+
*/
|
|
82
|
+
containerClassName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Additional CSS classes for the header
|
|
85
|
+
*/
|
|
86
|
+
headerClassName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Additional CSS classes for the heading
|
|
89
|
+
*/
|
|
90
|
+
headingClassName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Additional CSS classes for the subtitle
|
|
93
|
+
*/
|
|
94
|
+
subtitleClassName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Additional CSS classes for the carousel container
|
|
97
|
+
*/
|
|
98
|
+
carouselClassName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Additional CSS classes for the navigation buttons
|
|
101
|
+
*/
|
|
102
|
+
navigationClassName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* OptixFlow image optimization configuration
|
|
105
|
+
*/
|
|
106
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
107
|
+
/**
|
|
108
|
+
* Background style for the section
|
|
109
|
+
*/
|
|
110
|
+
background?: SectionBackground;
|
|
111
|
+
/**
|
|
112
|
+
* Vertical spacing for the section
|
|
113
|
+
*/
|
|
114
|
+
spacing?: SectionSpacing;
|
|
115
|
+
/**
|
|
116
|
+
* Optional background pattern name or URL
|
|
117
|
+
*/
|
|
118
|
+
pattern?: PatternName | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Pattern overlay opacity (0-1)
|
|
121
|
+
*/
|
|
122
|
+
patternOpacity?: number;
|
|
123
|
+
}
|
|
124
|
+
declare function CarouselHorizontalCards({ heading, subtitle, headingHref, items, itemsSlot, className, containerClassName, headerClassName, headingClassName, subtitleClassName, carouselClassName, navigationClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: CarouselHorizontalCardsProps): React.JSX.Element;
|
|
125
|
+
|
|
126
|
+
export { type CardItem, CarouselHorizontalCards, type CarouselHorizontalCardsProps };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing } from './community-initiatives-BeWIIjA4.js';
|
|
4
|
+
import { O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
5
|
+
import 'react/jsx-runtime';
|
|
6
|
+
import 'class-variance-authority';
|
|
7
|
+
import './button-variants-lRElsmTc.js';
|
|
8
|
+
import 'class-variance-authority/types';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* CarouselHorizontalCards
|
|
12
|
+
*
|
|
13
|
+
* A horizontal scrolling card carousel with animated entrance effects,
|
|
14
|
+
* navigation buttons, and stat displays. Features smooth scroll behavior
|
|
15
|
+
* with dynamic button visibility based on scroll position.
|
|
16
|
+
*
|
|
17
|
+
* Use cases:
|
|
18
|
+
* - Feature showcases with multiple cards
|
|
19
|
+
* - Product category browsing
|
|
20
|
+
* - Team member or testimonial displays
|
|
21
|
+
* - Content discovery sections
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
interface CardItem {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the card
|
|
27
|
+
*/
|
|
28
|
+
id: string | number;
|
|
29
|
+
/**
|
|
30
|
+
* Image source URL
|
|
31
|
+
*/
|
|
32
|
+
imageSrc: string;
|
|
33
|
+
/**
|
|
34
|
+
* Card title
|
|
35
|
+
*/
|
|
36
|
+
title?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Stat count value
|
|
39
|
+
*/
|
|
40
|
+
count?: React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Label for the count
|
|
43
|
+
*/
|
|
44
|
+
countLabel?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Additional CSS classes for the card
|
|
47
|
+
*/
|
|
48
|
+
className?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Additional CSS classes for the image
|
|
51
|
+
*/
|
|
52
|
+
imageClassName?: string;
|
|
53
|
+
}
|
|
54
|
+
interface CarouselHorizontalCardsProps {
|
|
55
|
+
/**
|
|
56
|
+
* Main heading content
|
|
57
|
+
*/
|
|
58
|
+
heading?: React.ReactNode;
|
|
59
|
+
/**
|
|
60
|
+
* Subtitle/description text
|
|
61
|
+
*/
|
|
62
|
+
subtitle?: React.ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* URL for the heading link
|
|
65
|
+
*/
|
|
66
|
+
headingHref?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Array of card items
|
|
69
|
+
*/
|
|
70
|
+
items?: CardItem[];
|
|
71
|
+
/**
|
|
72
|
+
* Custom slot for rendering items (overrides items array)
|
|
73
|
+
*/
|
|
74
|
+
itemsSlot?: React.ReactNode;
|
|
75
|
+
/**
|
|
76
|
+
* Additional CSS classes for the section
|
|
77
|
+
*/
|
|
78
|
+
className?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Additional CSS classes for the container
|
|
81
|
+
*/
|
|
82
|
+
containerClassName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Additional CSS classes for the header
|
|
85
|
+
*/
|
|
86
|
+
headerClassName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Additional CSS classes for the heading
|
|
89
|
+
*/
|
|
90
|
+
headingClassName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Additional CSS classes for the subtitle
|
|
93
|
+
*/
|
|
94
|
+
subtitleClassName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Additional CSS classes for the carousel container
|
|
97
|
+
*/
|
|
98
|
+
carouselClassName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Additional CSS classes for the navigation buttons
|
|
101
|
+
*/
|
|
102
|
+
navigationClassName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* OptixFlow image optimization configuration
|
|
105
|
+
*/
|
|
106
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
107
|
+
/**
|
|
108
|
+
* Background style for the section
|
|
109
|
+
*/
|
|
110
|
+
background?: SectionBackground;
|
|
111
|
+
/**
|
|
112
|
+
* Vertical spacing for the section
|
|
113
|
+
*/
|
|
114
|
+
spacing?: SectionSpacing;
|
|
115
|
+
/**
|
|
116
|
+
* Optional background pattern name or URL
|
|
117
|
+
*/
|
|
118
|
+
pattern?: PatternName | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Pattern overlay opacity (0-1)
|
|
121
|
+
*/
|
|
122
|
+
patternOpacity?: number;
|
|
123
|
+
}
|
|
124
|
+
declare function CarouselHorizontalCards({ heading, subtitle, headingHref, items, itemsSlot, className, containerClassName, headerClassName, headingClassName, subtitleClassName, carouselClassName, navigationClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: CarouselHorizontalCardsProps): React.JSX.Element;
|
|
125
|
+
|
|
126
|
+
export { type CardItem, CarouselHorizontalCards, type CarouselHorizontalCardsProps };
|