@opensite/ui 0.6.3 → 0.6.5
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/about-startup-team.cjs +2 -2
- package/dist/about-startup-team.js +2 -2
- package/dist/article-breadcrumb-social.cjs +434 -215
- package/dist/article-breadcrumb-social.d.cts +19 -1
- package/dist/article-breadcrumb-social.d.ts +19 -1
- package/dist/article-breadcrumb-social.js +434 -214
- package/dist/article-chapters-author.cjs +422 -204
- package/dist/article-chapters-author.d.cts +19 -1
- package/dist/article-chapters-author.d.ts +19 -1
- package/dist/article-chapters-author.js +422 -203
- package/dist/article-compact-toc.cjs +429 -73
- package/dist/article-compact-toc.d.cts +19 -1
- package/dist/article-compact-toc.d.ts +19 -1
- package/dist/article-compact-toc.js +430 -73
- package/dist/article-hero-prose.cjs +394 -347
- package/dist/article-hero-prose.d.cts +19 -1
- package/dist/article-hero-prose.d.ts +19 -1
- package/dist/article-hero-prose.js +396 -348
- package/dist/article-sidebar-sticky.cjs +398 -152
- package/dist/article-sidebar-sticky.d.cts +19 -1
- package/dist/article-sidebar-sticky.d.ts +19 -1
- package/dist/article-sidebar-sticky.js +400 -153
- package/dist/article-split-animated.cjs +422 -35
- package/dist/article-split-animated.d.cts +19 -1
- package/dist/article-split-animated.d.ts +19 -1
- package/dist/article-split-animated.js +423 -35
- package/dist/article-toc-sidebar.cjs +417 -356
- package/dist/article-toc-sidebar.d.cts +19 -1
- package/dist/article-toc-sidebar.d.ts +19 -1
- package/dist/article-toc-sidebar.js +417 -355
- package/dist/blog-cards-read-time.cjs +66 -27
- package/dist/blog-cards-read-time.js +66 -27
- package/dist/blog-cards-tagline-cta.cjs +64 -14
- package/dist/blog-cards-tagline-cta.js +64 -14
- package/dist/blog-carousel-apple.cjs +1255 -0
- package/dist/blog-carousel-apple.d.cts +113 -0
- package/dist/blog-carousel-apple.d.ts +113 -0
- package/dist/blog-carousel-apple.js +1234 -0
- package/dist/blog-category-overlay.cjs +77 -15
- package/dist/blog-category-overlay.js +77 -15
- package/dist/blog-featured-popular.cjs +72 -14
- package/dist/blog-featured-popular.js +72 -14
- package/dist/blog-filtered-results.cjs +122 -39
- package/dist/blog-filtered-results.js +122 -39
- package/dist/blog-grid-author-cards.cjs +40 -6
- package/dist/blog-grid-author-cards.js +40 -6
- package/dist/blog-grid-nine-posts.cjs +40 -6
- package/dist/blog-grid-nine-posts.js +40 -6
- package/dist/blog-horizontal-cards.cjs +34 -6
- package/dist/blog-horizontal-cards.js +34 -6
- package/dist/blog-horizontal-timeline.cjs +41 -12
- package/dist/blog-horizontal-timeline.js +41 -12
- package/dist/blog-masonry-featured.cjs +96 -52
- package/dist/blog-masonry-featured.js +96 -52
- package/dist/blog-related-articles.cjs +47 -9
- package/dist/blog-related-articles.js +47 -9
- package/dist/blog-tech-insights.cjs +78 -14
- package/dist/blog-tech-insights.js +78 -14
- package/dist/registry.cjs +1036 -687
- package/dist/registry.js +1036 -687
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
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-CODGexkN.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
|
+
interface BlogCarouselApplePost {
|
|
11
|
+
/**
|
|
12
|
+
* Content item image URL
|
|
13
|
+
*/
|
|
14
|
+
image?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Content item title
|
|
17
|
+
*/
|
|
18
|
+
title?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Content item category/tag
|
|
21
|
+
*/
|
|
22
|
+
category?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Content item URL (internal or external)
|
|
25
|
+
*/
|
|
26
|
+
url?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Optional content item excerpt/description (for dialog/lightbox views)
|
|
29
|
+
*/
|
|
30
|
+
excerpt?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
interface BlogCarouselAppleProps {
|
|
33
|
+
/**
|
|
34
|
+
* Section title
|
|
35
|
+
*/
|
|
36
|
+
title?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Section subtitle/eyebrow text
|
|
39
|
+
*/
|
|
40
|
+
subtitle?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Array of content items to display in the carousel
|
|
43
|
+
*/
|
|
44
|
+
posts?: BlogCarouselApplePost[];
|
|
45
|
+
/**
|
|
46
|
+
* Card action type - determines behavior when cards are clicked
|
|
47
|
+
*/
|
|
48
|
+
actionType?: "link" | "dialog" | "lightbox" | "none";
|
|
49
|
+
/**
|
|
50
|
+
* Custom action handler for card clicks
|
|
51
|
+
*/
|
|
52
|
+
onCardClick?: (post: BlogCarouselApplePost, index: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Enable layout animations for cards
|
|
55
|
+
*/
|
|
56
|
+
enableLayoutAnimations?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* OptixFlow configuration for optimized image loading
|
|
59
|
+
*/
|
|
60
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
61
|
+
/**
|
|
62
|
+
* Background style for the section
|
|
63
|
+
*/
|
|
64
|
+
background?: SectionBackground;
|
|
65
|
+
/**
|
|
66
|
+
* Vertical spacing for the section
|
|
67
|
+
*/
|
|
68
|
+
spacing?: SectionSpacing;
|
|
69
|
+
/**
|
|
70
|
+
* Optional background pattern name or URL
|
|
71
|
+
*/
|
|
72
|
+
pattern?: PatternName | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Pattern overlay opacity (0-1)
|
|
75
|
+
*/
|
|
76
|
+
patternOpacity?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Additional CSS classes for the section
|
|
79
|
+
*/
|
|
80
|
+
className?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Additional CSS classes for the carousel wrapper
|
|
83
|
+
*/
|
|
84
|
+
carouselClassName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Additional CSS classes for the carousel container
|
|
87
|
+
*/
|
|
88
|
+
containerClassName?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Additional CSS classes for individual cards
|
|
91
|
+
*/
|
|
92
|
+
cardClassName?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* BlogCarouselApple - An eye-catching horizontal carousel featuring
|
|
96
|
+
* Apple-style cards with gradient overlays and smooth animations. Each card
|
|
97
|
+
* displays a featured image, category tag, and title. Perfect for showcasing
|
|
98
|
+
* featured content items, latest updates, or curated content collections.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```tsx
|
|
102
|
+
* <BlogCarouselApple
|
|
103
|
+
* title="Latest Insights"
|
|
104
|
+
* subtitle="Featured Content"
|
|
105
|
+
* posts={contentItems}
|
|
106
|
+
* actionType="link"
|
|
107
|
+
* background="gray"
|
|
108
|
+
* />
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
declare function BlogCarouselAppleComponent({ title, subtitle, posts, actionType, onCardClick, enableLayoutAnimations, optixFlowConfig, background, spacing, pattern, patternOpacity, className, carouselClassName, containerClassName, cardClassName, }: BlogCarouselAppleProps): React.JSX.Element;
|
|
112
|
+
|
|
113
|
+
export { BlogCarouselAppleComponent as BlogCarouselApple, type BlogCarouselApplePost, type BlogCarouselAppleProps };
|
|
@@ -0,0 +1,113 @@
|
|
|
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-31vhKBa1.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
|
+
interface BlogCarouselApplePost {
|
|
11
|
+
/**
|
|
12
|
+
* Content item image URL
|
|
13
|
+
*/
|
|
14
|
+
image?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Content item title
|
|
17
|
+
*/
|
|
18
|
+
title?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Content item category/tag
|
|
21
|
+
*/
|
|
22
|
+
category?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Content item URL (internal or external)
|
|
25
|
+
*/
|
|
26
|
+
url?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Optional content item excerpt/description (for dialog/lightbox views)
|
|
29
|
+
*/
|
|
30
|
+
excerpt?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
interface BlogCarouselAppleProps {
|
|
33
|
+
/**
|
|
34
|
+
* Section title
|
|
35
|
+
*/
|
|
36
|
+
title?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Section subtitle/eyebrow text
|
|
39
|
+
*/
|
|
40
|
+
subtitle?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Array of content items to display in the carousel
|
|
43
|
+
*/
|
|
44
|
+
posts?: BlogCarouselApplePost[];
|
|
45
|
+
/**
|
|
46
|
+
* Card action type - determines behavior when cards are clicked
|
|
47
|
+
*/
|
|
48
|
+
actionType?: "link" | "dialog" | "lightbox" | "none";
|
|
49
|
+
/**
|
|
50
|
+
* Custom action handler for card clicks
|
|
51
|
+
*/
|
|
52
|
+
onCardClick?: (post: BlogCarouselApplePost, index: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Enable layout animations for cards
|
|
55
|
+
*/
|
|
56
|
+
enableLayoutAnimations?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* OptixFlow configuration for optimized image loading
|
|
59
|
+
*/
|
|
60
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
61
|
+
/**
|
|
62
|
+
* Background style for the section
|
|
63
|
+
*/
|
|
64
|
+
background?: SectionBackground;
|
|
65
|
+
/**
|
|
66
|
+
* Vertical spacing for the section
|
|
67
|
+
*/
|
|
68
|
+
spacing?: SectionSpacing;
|
|
69
|
+
/**
|
|
70
|
+
* Optional background pattern name or URL
|
|
71
|
+
*/
|
|
72
|
+
pattern?: PatternName | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Pattern overlay opacity (0-1)
|
|
75
|
+
*/
|
|
76
|
+
patternOpacity?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Additional CSS classes for the section
|
|
79
|
+
*/
|
|
80
|
+
className?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Additional CSS classes for the carousel wrapper
|
|
83
|
+
*/
|
|
84
|
+
carouselClassName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Additional CSS classes for the carousel container
|
|
87
|
+
*/
|
|
88
|
+
containerClassName?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Additional CSS classes for individual cards
|
|
91
|
+
*/
|
|
92
|
+
cardClassName?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* BlogCarouselApple - An eye-catching horizontal carousel featuring
|
|
96
|
+
* Apple-style cards with gradient overlays and smooth animations. Each card
|
|
97
|
+
* displays a featured image, category tag, and title. Perfect for showcasing
|
|
98
|
+
* featured content items, latest updates, or curated content collections.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```tsx
|
|
102
|
+
* <BlogCarouselApple
|
|
103
|
+
* title="Latest Insights"
|
|
104
|
+
* subtitle="Featured Content"
|
|
105
|
+
* posts={contentItems}
|
|
106
|
+
* actionType="link"
|
|
107
|
+
* background="gray"
|
|
108
|
+
* />
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
declare function BlogCarouselAppleComponent({ title, subtitle, posts, actionType, onCardClick, enableLayoutAnimations, optixFlowConfig, background, spacing, pattern, patternOpacity, className, carouselClassName, containerClassName, cardClassName, }: BlogCarouselAppleProps): React.JSX.Element;
|
|
112
|
+
|
|
113
|
+
export { BlogCarouselAppleComponent as BlogCarouselApple, type BlogCarouselApplePost, type BlogCarouselAppleProps };
|