@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,134 @@
|
|
|
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 { A as ActionConfig, 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
|
+
* CarouselPortfolioHero
|
|
12
|
+
*
|
|
13
|
+
* A fullscreen portfolio hero section with auto-advancing image slider,
|
|
14
|
+
* gradient overlay, category tags, and navigation controls. Features smooth
|
|
15
|
+
* opacity transitions between slides with slide counter display.
|
|
16
|
+
*
|
|
17
|
+
* Use cases:
|
|
18
|
+
* - Creative portfolio landing pages
|
|
19
|
+
* - Agency showcase hero sections
|
|
20
|
+
* - Photography portfolio introductions
|
|
21
|
+
* - Design studio homepages
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
interface PortfolioSlide {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the slide
|
|
27
|
+
*/
|
|
28
|
+
id: number | string;
|
|
29
|
+
/**
|
|
30
|
+
* Image source URL
|
|
31
|
+
*/
|
|
32
|
+
image: string;
|
|
33
|
+
/**
|
|
34
|
+
* Slide title
|
|
35
|
+
*/
|
|
36
|
+
title?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Slide description
|
|
39
|
+
*/
|
|
40
|
+
description?: React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Category tag
|
|
43
|
+
*/
|
|
44
|
+
tag?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Additional CSS classes for the slide
|
|
47
|
+
*/
|
|
48
|
+
className?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Additional CSS classes for the image
|
|
51
|
+
*/
|
|
52
|
+
imageClassName?: string;
|
|
53
|
+
}
|
|
54
|
+
interface CarouselPortfolioHeroProps {
|
|
55
|
+
/**
|
|
56
|
+
* Array of portfolio slides
|
|
57
|
+
*/
|
|
58
|
+
slides?: PortfolioSlide[];
|
|
59
|
+
/**
|
|
60
|
+
* Custom slot for rendering slides (overrides slides array)
|
|
61
|
+
*/
|
|
62
|
+
slidesSlot?: React.ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Array of action configurations for CTA buttons
|
|
65
|
+
*/
|
|
66
|
+
actions?: ActionConfig[];
|
|
67
|
+
/**
|
|
68
|
+
* Custom slot for rendering actions (overrides actions array)
|
|
69
|
+
*/
|
|
70
|
+
actionsSlot?: React.ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Auto-play interval in milliseconds
|
|
73
|
+
*/
|
|
74
|
+
autoPlayInterval?: number;
|
|
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 content wrapper
|
|
85
|
+
*/
|
|
86
|
+
contentClassName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Additional CSS classes for the tag badge
|
|
89
|
+
*/
|
|
90
|
+
tagClassName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Additional CSS classes for the title
|
|
93
|
+
*/
|
|
94
|
+
titleClassName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Additional CSS classes for the description
|
|
97
|
+
*/
|
|
98
|
+
descriptionClassName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Additional CSS classes for the actions container
|
|
101
|
+
*/
|
|
102
|
+
actionsClassName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Additional CSS classes for the navigation controls
|
|
105
|
+
*/
|
|
106
|
+
navigationClassName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Additional CSS classes for the slide counter
|
|
109
|
+
*/
|
|
110
|
+
counterClassName?: string;
|
|
111
|
+
/**
|
|
112
|
+
* OptixFlow image optimization configuration
|
|
113
|
+
*/
|
|
114
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
115
|
+
/**
|
|
116
|
+
* Background style for the section
|
|
117
|
+
*/
|
|
118
|
+
background?: SectionBackground;
|
|
119
|
+
/**
|
|
120
|
+
* Vertical spacing for the section
|
|
121
|
+
*/
|
|
122
|
+
spacing?: SectionSpacing;
|
|
123
|
+
/**
|
|
124
|
+
* Optional background pattern name or URL
|
|
125
|
+
*/
|
|
126
|
+
pattern?: PatternName | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Pattern overlay opacity (0-1)
|
|
129
|
+
*/
|
|
130
|
+
patternOpacity?: number;
|
|
131
|
+
}
|
|
132
|
+
declare function CarouselPortfolioHero({ slides, slidesSlot, actions, actionsSlot, autoPlayInterval, className, containerClassName, contentClassName, tagClassName, titleClassName, descriptionClassName, actionsClassName, navigationClassName, counterClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: CarouselPortfolioHeroProps): React.JSX.Element;
|
|
133
|
+
|
|
134
|
+
export { CarouselPortfolioHero, type CarouselPortfolioHeroProps, type PortfolioSlide };
|
|
@@ -0,0 +1,134 @@
|
|
|
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 { A as ActionConfig, 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
|
+
* CarouselPortfolioHero
|
|
12
|
+
*
|
|
13
|
+
* A fullscreen portfolio hero section with auto-advancing image slider,
|
|
14
|
+
* gradient overlay, category tags, and navigation controls. Features smooth
|
|
15
|
+
* opacity transitions between slides with slide counter display.
|
|
16
|
+
*
|
|
17
|
+
* Use cases:
|
|
18
|
+
* - Creative portfolio landing pages
|
|
19
|
+
* - Agency showcase hero sections
|
|
20
|
+
* - Photography portfolio introductions
|
|
21
|
+
* - Design studio homepages
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
interface PortfolioSlide {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the slide
|
|
27
|
+
*/
|
|
28
|
+
id: number | string;
|
|
29
|
+
/**
|
|
30
|
+
* Image source URL
|
|
31
|
+
*/
|
|
32
|
+
image: string;
|
|
33
|
+
/**
|
|
34
|
+
* Slide title
|
|
35
|
+
*/
|
|
36
|
+
title?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Slide description
|
|
39
|
+
*/
|
|
40
|
+
description?: React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Category tag
|
|
43
|
+
*/
|
|
44
|
+
tag?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Additional CSS classes for the slide
|
|
47
|
+
*/
|
|
48
|
+
className?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Additional CSS classes for the image
|
|
51
|
+
*/
|
|
52
|
+
imageClassName?: string;
|
|
53
|
+
}
|
|
54
|
+
interface CarouselPortfolioHeroProps {
|
|
55
|
+
/**
|
|
56
|
+
* Array of portfolio slides
|
|
57
|
+
*/
|
|
58
|
+
slides?: PortfolioSlide[];
|
|
59
|
+
/**
|
|
60
|
+
* Custom slot for rendering slides (overrides slides array)
|
|
61
|
+
*/
|
|
62
|
+
slidesSlot?: React.ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Array of action configurations for CTA buttons
|
|
65
|
+
*/
|
|
66
|
+
actions?: ActionConfig[];
|
|
67
|
+
/**
|
|
68
|
+
* Custom slot for rendering actions (overrides actions array)
|
|
69
|
+
*/
|
|
70
|
+
actionsSlot?: React.ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Auto-play interval in milliseconds
|
|
73
|
+
*/
|
|
74
|
+
autoPlayInterval?: number;
|
|
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 content wrapper
|
|
85
|
+
*/
|
|
86
|
+
contentClassName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Additional CSS classes for the tag badge
|
|
89
|
+
*/
|
|
90
|
+
tagClassName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Additional CSS classes for the title
|
|
93
|
+
*/
|
|
94
|
+
titleClassName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Additional CSS classes for the description
|
|
97
|
+
*/
|
|
98
|
+
descriptionClassName?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Additional CSS classes for the actions container
|
|
101
|
+
*/
|
|
102
|
+
actionsClassName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Additional CSS classes for the navigation controls
|
|
105
|
+
*/
|
|
106
|
+
navigationClassName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Additional CSS classes for the slide counter
|
|
109
|
+
*/
|
|
110
|
+
counterClassName?: string;
|
|
111
|
+
/**
|
|
112
|
+
* OptixFlow image optimization configuration
|
|
113
|
+
*/
|
|
114
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
115
|
+
/**
|
|
116
|
+
* Background style for the section
|
|
117
|
+
*/
|
|
118
|
+
background?: SectionBackground;
|
|
119
|
+
/**
|
|
120
|
+
* Vertical spacing for the section
|
|
121
|
+
*/
|
|
122
|
+
spacing?: SectionSpacing;
|
|
123
|
+
/**
|
|
124
|
+
* Optional background pattern name or URL
|
|
125
|
+
*/
|
|
126
|
+
pattern?: PatternName | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Pattern overlay opacity (0-1)
|
|
129
|
+
*/
|
|
130
|
+
patternOpacity?: number;
|
|
131
|
+
}
|
|
132
|
+
declare function CarouselPortfolioHero({ slides, slidesSlot, actions, actionsSlot, autoPlayInterval, className, containerClassName, contentClassName, tagClassName, titleClassName, descriptionClassName, actionsClassName, navigationClassName, counterClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: CarouselPortfolioHeroProps): React.JSX.Element;
|
|
133
|
+
|
|
134
|
+
export { CarouselPortfolioHero, type CarouselPortfolioHeroProps, type PortfolioSlide };
|