@opensite/ui 0.8.4 → 0.8.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/article-breadcrumb-social.cjs +57 -73
- package/dist/article-breadcrumb-social.d.cts +2 -24
- package/dist/article-breadcrumb-social.d.ts +2 -24
- package/dist/article-breadcrumb-social.js +57 -73
- package/dist/article-compact-toc.cjs +1 -1
- package/dist/article-compact-toc.js +1 -1
- package/dist/article-sidebar-sticky.cjs +73 -26
- package/dist/article-sidebar-sticky.js +73 -26
- package/dist/blog-horizontal-timeline.cjs +7 -4
- package/dist/blog-horizontal-timeline.js +7 -4
- package/dist/faq-split-hero.cjs +704 -0
- package/dist/faq-split-hero.d.cts +118 -0
- package/dist/faq-split-hero.d.ts +118 -0
- package/dist/faq-split-hero.js +682 -0
- package/dist/feature-badge-grid-six.cjs +1 -1
- package/dist/feature-badge-grid-six.js +1 -1
- package/dist/feature-card-grid-linked.cjs +92 -22
- package/dist/feature-card-grid-linked.js +92 -22
- package/dist/feature-carousel-progress.cjs +1 -1
- package/dist/feature-carousel-progress.js +1 -1
- package/dist/feature-checklist-image.cjs +88 -15
- package/dist/feature-checklist-image.js +88 -15
- package/dist/feature-checklist-three-column.cjs +1 -1
- package/dist/feature-checklist-three-column.js +1 -1
- package/dist/feature-icon-grid-accent.cjs +50 -8
- package/dist/feature-icon-grid-accent.js +50 -8
- package/dist/feature-icon-grid-bordered.cjs +84 -14
- package/dist/feature-icon-grid-bordered.js +84 -14
- package/dist/feature-icon-tabs-content.cjs +217 -84
- package/dist/feature-icon-tabs-content.js +217 -84
- package/dist/feature-image-overlay-badge.cjs +106 -33
- package/dist/feature-image-overlay-badge.js +106 -33
- package/dist/feature-numbered-cards.cjs +154 -35
- package/dist/feature-numbered-cards.js +154 -35
- package/dist/feature-showcase.cjs +67 -71
- package/dist/feature-showcase.d.cts +1 -5
- package/dist/feature-showcase.d.ts +1 -5
- package/dist/feature-showcase.js +68 -72
- package/dist/feature-split-image-reverse.cjs +90 -15
- package/dist/feature-split-image-reverse.js +90 -15
- package/dist/feature-split-image.cjs +87 -15
- package/dist/feature-split-image.js +87 -15
- package/dist/feature-stats-highlight.cjs +2 -2
- package/dist/feature-stats-highlight.js +2 -2
- package/dist/feature-tabbed-content-image.cjs +207 -72
- package/dist/feature-tabbed-content-image.js +207 -72
- package/dist/feature-three-column-values.cjs +107 -14
- package/dist/feature-three-column-values.js +107 -14
- package/dist/registry.cjs +1460 -461
- package/dist/registry.js +1460 -461
- package/package.json +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing } from './community-initiatives-Sm_ZSgyv.cjs';
|
|
4
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
5
|
+
import './blocks-Cohq4eio.cjs';
|
|
6
|
+
import 'class-variance-authority';
|
|
7
|
+
import './button-variants-lRElsmTc.cjs';
|
|
8
|
+
import 'class-variance-authority/types';
|
|
9
|
+
|
|
10
|
+
interface FaqItem {
|
|
11
|
+
id: string;
|
|
12
|
+
question: React.ReactNode;
|
|
13
|
+
answer: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
interface FaqSplitHeroProps {
|
|
16
|
+
/**
|
|
17
|
+
* Main heading text
|
|
18
|
+
*/
|
|
19
|
+
heading?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Subheading/description text
|
|
22
|
+
*/
|
|
23
|
+
subheading?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Array of FAQ items
|
|
26
|
+
*/
|
|
27
|
+
items?: FaqItem[];
|
|
28
|
+
/**
|
|
29
|
+
* Custom slot for rendering items (overrides items array)
|
|
30
|
+
*/
|
|
31
|
+
itemsSlot?: React.ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Custom slot for rendering the image section
|
|
34
|
+
*/
|
|
35
|
+
imageSlot?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Image source URL
|
|
38
|
+
*/
|
|
39
|
+
imageSrc?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Image alt text
|
|
42
|
+
*/
|
|
43
|
+
imageAlt?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Background style for the section
|
|
46
|
+
*/
|
|
47
|
+
background?: SectionBackground;
|
|
48
|
+
/**
|
|
49
|
+
* Vertical spacing for the section
|
|
50
|
+
*/
|
|
51
|
+
spacing?: SectionSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Optional background pattern name or URL
|
|
54
|
+
*/
|
|
55
|
+
pattern?: PatternName | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Pattern overlay opacity (0-1)
|
|
58
|
+
*/
|
|
59
|
+
patternOpacity?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Additional CSS classes for the pattern overlay
|
|
62
|
+
*/
|
|
63
|
+
patternClassName?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Additional CSS classes for the section
|
|
66
|
+
*/
|
|
67
|
+
className?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the content wrapper
|
|
70
|
+
*/
|
|
71
|
+
contentWrapperClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the left column
|
|
74
|
+
*/
|
|
75
|
+
leftColumnClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the header wrapper
|
|
78
|
+
*/
|
|
79
|
+
headerClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Additional CSS classes for the heading
|
|
82
|
+
*/
|
|
83
|
+
headingClassName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Additional CSS classes for the subheading
|
|
86
|
+
*/
|
|
87
|
+
subheadingClassName?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Additional CSS classes for the accordion
|
|
90
|
+
*/
|
|
91
|
+
accordionClassName?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for accordion items
|
|
94
|
+
*/
|
|
95
|
+
accordionItemClassName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Additional CSS classes for accordion triggers
|
|
98
|
+
*/
|
|
99
|
+
accordionTriggerClassName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Additional CSS classes for accordion content
|
|
102
|
+
*/
|
|
103
|
+
accordionContentClassName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Additional CSS classes for the image
|
|
106
|
+
*/
|
|
107
|
+
imageClassName?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Optional Optix Flow configuration for image optimization
|
|
110
|
+
*/
|
|
111
|
+
optixFlowConfig?: {
|
|
112
|
+
apiKey: string;
|
|
113
|
+
compression?: number;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
declare function FaqSplitHero({ heading, subheading, items, itemsSlot, imageSlot, imageSrc, imageAlt, background, spacing, pattern, patternOpacity, patternClassName, className, contentWrapperClassName, leftColumnClassName, headerClassName, headingClassName, subheadingClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName, imageClassName, optixFlowConfig, }: FaqSplitHeroProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
export { FaqSplitHero, type FaqSplitHeroProps };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { f as SectionBackground, g as SectionSpacing } from './community-initiatives-BeWIIjA4.js';
|
|
4
|
+
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
5
|
+
import './blocks-k17uluAz.js';
|
|
6
|
+
import 'class-variance-authority';
|
|
7
|
+
import './button-variants-lRElsmTc.js';
|
|
8
|
+
import 'class-variance-authority/types';
|
|
9
|
+
|
|
10
|
+
interface FaqItem {
|
|
11
|
+
id: string;
|
|
12
|
+
question: React.ReactNode;
|
|
13
|
+
answer: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
interface FaqSplitHeroProps {
|
|
16
|
+
/**
|
|
17
|
+
* Main heading text
|
|
18
|
+
*/
|
|
19
|
+
heading?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Subheading/description text
|
|
22
|
+
*/
|
|
23
|
+
subheading?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Array of FAQ items
|
|
26
|
+
*/
|
|
27
|
+
items?: FaqItem[];
|
|
28
|
+
/**
|
|
29
|
+
* Custom slot for rendering items (overrides items array)
|
|
30
|
+
*/
|
|
31
|
+
itemsSlot?: React.ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Custom slot for rendering the image section
|
|
34
|
+
*/
|
|
35
|
+
imageSlot?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Image source URL
|
|
38
|
+
*/
|
|
39
|
+
imageSrc?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Image alt text
|
|
42
|
+
*/
|
|
43
|
+
imageAlt?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Background style for the section
|
|
46
|
+
*/
|
|
47
|
+
background?: SectionBackground;
|
|
48
|
+
/**
|
|
49
|
+
* Vertical spacing for the section
|
|
50
|
+
*/
|
|
51
|
+
spacing?: SectionSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Optional background pattern name or URL
|
|
54
|
+
*/
|
|
55
|
+
pattern?: PatternName | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Pattern overlay opacity (0-1)
|
|
58
|
+
*/
|
|
59
|
+
patternOpacity?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Additional CSS classes for the pattern overlay
|
|
62
|
+
*/
|
|
63
|
+
patternClassName?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Additional CSS classes for the section
|
|
66
|
+
*/
|
|
67
|
+
className?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the content wrapper
|
|
70
|
+
*/
|
|
71
|
+
contentWrapperClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the left column
|
|
74
|
+
*/
|
|
75
|
+
leftColumnClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the header wrapper
|
|
78
|
+
*/
|
|
79
|
+
headerClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Additional CSS classes for the heading
|
|
82
|
+
*/
|
|
83
|
+
headingClassName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Additional CSS classes for the subheading
|
|
86
|
+
*/
|
|
87
|
+
subheadingClassName?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Additional CSS classes for the accordion
|
|
90
|
+
*/
|
|
91
|
+
accordionClassName?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for accordion items
|
|
94
|
+
*/
|
|
95
|
+
accordionItemClassName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Additional CSS classes for accordion triggers
|
|
98
|
+
*/
|
|
99
|
+
accordionTriggerClassName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Additional CSS classes for accordion content
|
|
102
|
+
*/
|
|
103
|
+
accordionContentClassName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Additional CSS classes for the image
|
|
106
|
+
*/
|
|
107
|
+
imageClassName?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Optional Optix Flow configuration for image optimization
|
|
110
|
+
*/
|
|
111
|
+
optixFlowConfig?: {
|
|
112
|
+
apiKey: string;
|
|
113
|
+
compression?: number;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
declare function FaqSplitHero({ heading, subheading, items, itemsSlot, imageSlot, imageSrc, imageAlt, background, spacing, pattern, patternOpacity, patternClassName, className, contentWrapperClassName, leftColumnClassName, headerClassName, headingClassName, subheadingClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName, imageClassName, optixFlowConfig, }: FaqSplitHeroProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
export { FaqSplitHero, type FaqSplitHeroProps };
|