@opensite/ui 3.7.5 → 3.7.7
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/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/blog-featured-popular.cjs +13 -12
- package/dist/blog-featured-popular.d.cts +1 -1
- package/dist/blog-featured-popular.d.ts +1 -1
- package/dist/blog-featured-popular.js +13 -12
- package/dist/blog-horizontal-cards.cjs +24 -42
- package/dist/blog-horizontal-cards.d.cts +1 -1
- package/dist/blog-horizontal-cards.d.ts +1 -1
- package/dist/blog-horizontal-cards.js +24 -42
- package/dist/blog-related-articles.cjs +8 -7
- package/dist/blog-related-articles.js +8 -7
- package/dist/carousel-icon-tabs.cjs +6 -4
- package/dist/carousel-icon-tabs.d.cts +5 -1
- package/dist/carousel-icon-tabs.d.ts +5 -1
- package/dist/carousel-icon-tabs.js +6 -4
- package/dist/carousel-progress-slider.cjs +3 -2
- package/dist/carousel-progress-slider.js +3 -2
- package/dist/carousel-scale-focus.cjs +1 -1
- package/dist/carousel-scale-focus.js +1 -1
- package/dist/carousel-scrolling-feature-showcase.cjs +4 -2
- package/dist/carousel-scrolling-feature-showcase.js +4 -2
- package/dist/carousel-sidebar-resources.cjs +11 -15
- package/dist/carousel-sidebar-resources.d.cts +5 -1
- package/dist/carousel-sidebar-resources.d.ts +5 -1
- package/dist/carousel-sidebar-resources.js +11 -15
- package/dist/carousel-tabs-content.cjs +1 -1
- package/dist/carousel-tabs-content.js +1 -1
- package/dist/expandable-case-study-cards.cjs +3 -3
- package/dist/expandable-case-study-cards.js +3 -3
- package/dist/feature-animated-carousel.cjs +2 -1
- package/dist/feature-animated-carousel.js +2 -1
- package/dist/feature-bento-image-grid.cjs +9 -12
- package/dist/feature-bento-image-grid.js +9 -12
- package/dist/feature-image-overlay-badge.cjs +3 -40
- package/dist/feature-image-overlay-badge.js +3 -40
- package/dist/feature-integration-cards.cjs +10 -14
- package/dist/feature-integration-cards.js +10 -14
- package/dist/footer-newsletter-contact.cjs +4 -4
- package/dist/footer-newsletter-contact.js +4 -4
- package/dist/hero-adaptable-product-grid.cjs +2 -1
- package/dist/hero-adaptable-product-grid.js +2 -1
- package/dist/hero-ai-powered-carousel.cjs +2 -1
- package/dist/hero-ai-powered-carousel.js +2 -1
- package/dist/hero-architecture-fullscreen.cjs +3 -2
- package/dist/hero-architecture-fullscreen.js +3 -2
- package/dist/hero-badge-image-split.cjs +3 -2
- package/dist/hero-badge-image-split.js +3 -2
- package/dist/hero-badge-shadow-overlay.cjs +2 -1
- package/dist/hero-badge-shadow-overlay.js +2 -1
- package/dist/hero-billing-platform-logos.cjs +12 -8
- package/dist/hero-billing-platform-logos.js +12 -8
- package/dist/hero-business-carousel-dots.cjs +2 -1
- package/dist/hero-business-carousel-dots.js +2 -1
- package/dist/hero-conversation-intelligence.cjs +2 -1
- package/dist/hero-conversation-intelligence.js +2 -1
- package/dist/hero-crm-streamlined.cjs +2 -2
- package/dist/hero-crm-streamlined.js +2 -2
- package/dist/hero-design-carousel-portfolio.cjs +2 -1
- package/dist/hero-design-carousel-portfolio.js +2 -1
- package/dist/hero-ecommerce-product-showcase.cjs +8 -4
- package/dist/hero-ecommerce-product-showcase.js +8 -4
- package/dist/hero-event-registration.cjs +2 -1
- package/dist/hero-event-registration.js +2 -1
- package/dist/hero-gradient-avatars-rating.cjs +4 -2
- package/dist/hero-gradient-avatars-rating.js +4 -2
- package/dist/hero-mental-health-team.cjs +13 -18
- package/dist/hero-mental-health-team.js +13 -18
- package/dist/hero-mentorship-video-split.cjs +3 -10
- package/dist/hero-mentorship-video-split.js +3 -10
- package/dist/hero-product-showcase-floating.cjs +4 -2
- package/dist/hero-product-showcase-floating.js +4 -2
- package/dist/hero-saas-dashboard-preview.cjs +2 -1
- package/dist/hero-saas-dashboard-preview.js +2 -1
- package/dist/hero-software-growth-video-dialog.cjs +2 -1
- package/dist/hero-software-growth-video-dialog.js +2 -1
- package/dist/hero-split-icon-cards.cjs +7 -59
- package/dist/hero-split-icon-cards.js +7 -59
- package/dist/hero-task-timer-animated.cjs +145 -86
- package/dist/hero-task-timer-animated.d.cts +19 -18
- package/dist/hero-task-timer-animated.d.ts +19 -18
- package/dist/hero-task-timer-animated.js +146 -68
- package/dist/navbar-animated-preview.cjs +1 -1
- package/dist/navbar-animated-preview.js +1 -1
- package/dist/navbar-enterprise-mega.cjs +29 -10
- package/dist/navbar-enterprise-mega.d.cts +3 -0
- package/dist/navbar-enterprise-mega.d.ts +3 -0
- package/dist/navbar-enterprise-mega.js +29 -10
- package/dist/navbar-image-preview.cjs +10 -2
- package/dist/navbar-image-preview.d.cts +6 -6
- package/dist/navbar-image-preview.d.ts +6 -6
- package/dist/navbar-image-preview.js +10 -2
- package/dist/process-hover-cards.cjs +4 -2
- package/dist/process-hover-cards.js +4 -2
- package/dist/process-icon-timeline.cjs +1 -2
- package/dist/process-icon-timeline.d.cts +0 -4
- package/dist/process-icon-timeline.d.ts +0 -4
- package/dist/process-icon-timeline.js +1 -2
- package/dist/process-scroll-image.cjs +2 -2
- package/dist/process-scroll-image.js +2 -2
- package/dist/process-steps-grid.cjs +7 -5
- package/dist/process-steps-grid.js +7 -5
- package/dist/registry.cjs +427 -341
- package/dist/registry.js +427 -341
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/testimonials-animated-split.cjs +2 -1
- package/dist/testimonials-animated-split.js +2 -1
- package/dist/testimonials-carousel-image.cjs +4 -2
- package/dist/testimonials-carousel-image.js +4 -2
- package/dist/testimonials-company-logo.cjs +4 -2
- package/dist/testimonials-company-logo.js +4 -2
- package/dist/testimonials-scrolling-columns.cjs +4 -2
- package/dist/testimonials-scrolling-columns.js +4 -2
- package/package.json +1 -1
package/dist/badge.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
package/dist/badge.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
|
@@ -451,7 +451,8 @@ function BlogFeaturedPopular({
|
|
|
451
451
|
featuredSlot,
|
|
452
452
|
postsSlot,
|
|
453
453
|
className,
|
|
454
|
-
containerClassName,
|
|
454
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
455
|
+
spacing = "lg",
|
|
455
456
|
headerClassName,
|
|
456
457
|
headingClassName,
|
|
457
458
|
descriptionClassName,
|
|
@@ -463,7 +464,6 @@ function BlogFeaturedPopular({
|
|
|
463
464
|
postCardClassName,
|
|
464
465
|
optixFlowConfig,
|
|
465
466
|
background,
|
|
466
|
-
spacing,
|
|
467
467
|
pattern,
|
|
468
468
|
patternOpacity
|
|
469
469
|
}) {
|
|
@@ -504,9 +504,9 @@ function BlogFeaturedPopular({
|
|
|
504
504
|
featuredContentClassName
|
|
505
505
|
),
|
|
506
506
|
children: [
|
|
507
|
-
(featuredPost.category || featuredPost.label) && /* @__PURE__ */ jsxRuntime.jsx(Badge, {
|
|
508
|
-
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl font-semibold text-balance md:max-w-lg lg:text-3xl", children: featuredPost.title }) :
|
|
509
|
-
(featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "
|
|
507
|
+
(featuredPost.category || featuredPost.label) && /* @__PURE__ */ jsxRuntime.jsx(Badge, { children: featuredPost.category || featuredPost.label }),
|
|
508
|
+
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl font-semibold text-balance md:max-w-lg lg:text-3xl", children: featuredPost.title }) : featuredPost.title),
|
|
509
|
+
(featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-70", children: featuredPost.description || featuredPost.summary })
|
|
510
510
|
]
|
|
511
511
|
}
|
|
512
512
|
)
|
|
@@ -544,9 +544,9 @@ function BlogFeaturedPopular({
|
|
|
544
544
|
optixFlowConfig
|
|
545
545
|
}
|
|
546
546
|
),
|
|
547
|
-
(post.category || post.label) && /* @__PURE__ */ jsxRuntime.jsx(Badge, {
|
|
548
|
-
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-semibold text-balance md:max-w-md", children: post.title }) :
|
|
549
|
-
(post.description || post.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "
|
|
547
|
+
(post.category || post.label) && /* @__PURE__ */ jsxRuntime.jsx(Badge, { children: post.category || post.label }),
|
|
548
|
+
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl font-semibold text-balance md:max-w-md", children: post.title }) : post.title),
|
|
549
|
+
(post.description || post.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-70", children: post.description || post.summary })
|
|
550
550
|
]
|
|
551
551
|
},
|
|
552
552
|
postId
|
|
@@ -562,7 +562,8 @@ function BlogFeaturedPopular({
|
|
|
562
562
|
className: cn(className),
|
|
563
563
|
pattern,
|
|
564
564
|
patternOpacity,
|
|
565
|
-
|
|
565
|
+
containerClassName,
|
|
566
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
566
567
|
(heading || description) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
567
568
|
"div",
|
|
568
569
|
{
|
|
@@ -580,17 +581,17 @@ function BlogFeaturedPopular({
|
|
|
580
581
|
),
|
|
581
582
|
children: heading
|
|
582
583
|
}
|
|
583
|
-
) :
|
|
584
|
+
) : heading),
|
|
584
585
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
585
586
|
"p",
|
|
586
587
|
{
|
|
587
588
|
className: cn(
|
|
588
|
-
"mx-auto mt-4 max-w-
|
|
589
|
+
"mx-auto mt-4 max-w-full md:max-w-md text-lg opacity-70 text-balance",
|
|
589
590
|
descriptionClassName
|
|
590
591
|
),
|
|
591
592
|
children: description
|
|
592
593
|
}
|
|
593
|
-
) :
|
|
594
|
+
) : description)
|
|
594
595
|
]
|
|
595
596
|
}
|
|
596
597
|
),
|
|
@@ -98,6 +98,6 @@ interface BlogFeaturedPopularProps {
|
|
|
98
98
|
/** Optional Section ID */
|
|
99
99
|
sectionId?: string;
|
|
100
100
|
}
|
|
101
|
-
declare function BlogFeaturedPopular({ sectionId, heading, description, popularHeading, posts, featuredSlot, postsSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, featuredClassName, featuredImageClassName, featuredContentClassName, popularHeadingClassName, postsClassName, postCardClassName, optixFlowConfig, background,
|
|
101
|
+
declare function BlogFeaturedPopular({ sectionId, heading, description, popularHeading, posts, featuredSlot, postsSlot, className, containerClassName, spacing, headerClassName, headingClassName, descriptionClassName, featuredClassName, featuredImageClassName, featuredContentClassName, popularHeadingClassName, postsClassName, postCardClassName, optixFlowConfig, background, pattern, patternOpacity, }: BlogFeaturedPopularProps): React.JSX.Element;
|
|
102
102
|
|
|
103
103
|
export { BlogFeaturedPopular, type BlogFeaturedPopularProps };
|
|
@@ -98,6 +98,6 @@ interface BlogFeaturedPopularProps {
|
|
|
98
98
|
/** Optional Section ID */
|
|
99
99
|
sectionId?: string;
|
|
100
100
|
}
|
|
101
|
-
declare function BlogFeaturedPopular({ sectionId, heading, description, popularHeading, posts, featuredSlot, postsSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, featuredClassName, featuredImageClassName, featuredContentClassName, popularHeadingClassName, postsClassName, postCardClassName, optixFlowConfig, background,
|
|
101
|
+
declare function BlogFeaturedPopular({ sectionId, heading, description, popularHeading, posts, featuredSlot, postsSlot, className, containerClassName, spacing, headerClassName, headingClassName, descriptionClassName, featuredClassName, featuredImageClassName, featuredContentClassName, popularHeadingClassName, postsClassName, postCardClassName, optixFlowConfig, background, pattern, patternOpacity, }: BlogFeaturedPopularProps): React.JSX.Element;
|
|
102
102
|
|
|
103
103
|
export { BlogFeaturedPopular, type BlogFeaturedPopularProps };
|
|
@@ -430,7 +430,8 @@ function BlogFeaturedPopular({
|
|
|
430
430
|
featuredSlot,
|
|
431
431
|
postsSlot,
|
|
432
432
|
className,
|
|
433
|
-
containerClassName,
|
|
433
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
434
|
+
spacing = "lg",
|
|
434
435
|
headerClassName,
|
|
435
436
|
headingClassName,
|
|
436
437
|
descriptionClassName,
|
|
@@ -442,7 +443,6 @@ function BlogFeaturedPopular({
|
|
|
442
443
|
postCardClassName,
|
|
443
444
|
optixFlowConfig,
|
|
444
445
|
background,
|
|
445
|
-
spacing,
|
|
446
446
|
pattern,
|
|
447
447
|
patternOpacity
|
|
448
448
|
}) {
|
|
@@ -483,9 +483,9 @@ function BlogFeaturedPopular({
|
|
|
483
483
|
featuredContentClassName
|
|
484
484
|
),
|
|
485
485
|
children: [
|
|
486
|
-
(featuredPost.category || featuredPost.label) && /* @__PURE__ */ jsx(Badge, {
|
|
487
|
-
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold text-balance md:max-w-lg lg:text-3xl", children: featuredPost.title }) :
|
|
488
|
-
(featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsx("p", { className: "
|
|
486
|
+
(featuredPost.category || featuredPost.label) && /* @__PURE__ */ jsx(Badge, { children: featuredPost.category || featuredPost.label }),
|
|
487
|
+
featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold text-balance md:max-w-lg lg:text-3xl", children: featuredPost.title }) : featuredPost.title),
|
|
488
|
+
(featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsx("p", { className: "opacity-70", children: featuredPost.description || featuredPost.summary })
|
|
489
489
|
]
|
|
490
490
|
}
|
|
491
491
|
)
|
|
@@ -523,9 +523,9 @@ function BlogFeaturedPopular({
|
|
|
523
523
|
optixFlowConfig
|
|
524
524
|
}
|
|
525
525
|
),
|
|
526
|
-
(post.category || post.label) && /* @__PURE__ */ jsx(Badge, {
|
|
527
|
-
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold text-balance md:max-w-md", children: post.title }) :
|
|
528
|
-
(post.description || post.summary) && /* @__PURE__ */ jsx("p", { className: "
|
|
526
|
+
(post.category || post.label) && /* @__PURE__ */ jsx(Badge, { children: post.category || post.label }),
|
|
527
|
+
post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold text-balance md:max-w-md", children: post.title }) : post.title),
|
|
528
|
+
(post.description || post.summary) && /* @__PURE__ */ jsx("p", { className: "opacity-70", children: post.description || post.summary })
|
|
529
529
|
]
|
|
530
530
|
},
|
|
531
531
|
postId
|
|
@@ -541,7 +541,8 @@ function BlogFeaturedPopular({
|
|
|
541
541
|
className: cn(className),
|
|
542
542
|
pattern,
|
|
543
543
|
patternOpacity,
|
|
544
|
-
|
|
544
|
+
containerClassName,
|
|
545
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
545
546
|
(heading || description) && /* @__PURE__ */ jsxs(
|
|
546
547
|
"div",
|
|
547
548
|
{
|
|
@@ -559,17 +560,17 @@ function BlogFeaturedPopular({
|
|
|
559
560
|
),
|
|
560
561
|
children: heading
|
|
561
562
|
}
|
|
562
|
-
) :
|
|
563
|
+
) : heading),
|
|
563
564
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
564
565
|
"p",
|
|
565
566
|
{
|
|
566
567
|
className: cn(
|
|
567
|
-
"mx-auto mt-4 max-w-
|
|
568
|
+
"mx-auto mt-4 max-w-full md:max-w-md text-lg opacity-70 text-balance",
|
|
568
569
|
descriptionClassName
|
|
569
570
|
),
|
|
570
571
|
children: description
|
|
571
572
|
}
|
|
572
|
-
) :
|
|
573
|
+
) : description)
|
|
573
574
|
]
|
|
574
575
|
}
|
|
575
576
|
),
|
|
@@ -67,19 +67,6 @@ function Badge({
|
|
|
67
67
|
}
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
|
-
function Card({ className, ...props }) {
|
|
71
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
72
|
-
"div",
|
|
73
|
-
{
|
|
74
|
-
"data-slot": "card",
|
|
75
|
-
className: cn(
|
|
76
|
-
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
77
|
-
className
|
|
78
|
-
),
|
|
79
|
-
...props
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
70
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
84
71
|
var DynamicIcon = React4__namespace.memo(function DynamicIcon2({
|
|
85
72
|
apiKey,
|
|
@@ -480,7 +467,8 @@ function BlogHorizontalCards({
|
|
|
480
467
|
postsSlot,
|
|
481
468
|
readMoreText,
|
|
482
469
|
className,
|
|
483
|
-
containerClassName,
|
|
470
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
471
|
+
spacing = "lg",
|
|
484
472
|
headerClassName,
|
|
485
473
|
badgeClassName,
|
|
486
474
|
headingClassName,
|
|
@@ -490,7 +478,6 @@ function BlogHorizontalCards({
|
|
|
490
478
|
ctaClassName,
|
|
491
479
|
optixFlowConfig,
|
|
492
480
|
background,
|
|
493
|
-
spacing,
|
|
494
481
|
pattern,
|
|
495
482
|
patternOpacity
|
|
496
483
|
}) {
|
|
@@ -530,7 +517,7 @@ function BlogHorizontalCards({
|
|
|
530
517
|
const postSummary = post.summary || post.description;
|
|
531
518
|
const postDate = post.published || post.date;
|
|
532
519
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
533
|
-
|
|
520
|
+
"div",
|
|
534
521
|
{
|
|
535
522
|
className: cn(
|
|
536
523
|
"overflow-hidden border-0 bg-transparent shadow-none",
|
|
@@ -548,37 +535,31 @@ function BlogHorizontalCards({
|
|
|
548
535
|
src: post.image,
|
|
549
536
|
alt: postTitle,
|
|
550
537
|
className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
|
|
551
|
-
optixFlowConfig
|
|
538
|
+
optixFlowConfig,
|
|
539
|
+
loading: "eager"
|
|
552
540
|
}
|
|
553
541
|
)
|
|
554
542
|
}
|
|
555
543
|
) }),
|
|
556
544
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 space-y-3", children: [
|
|
557
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 text-sm
|
|
545
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 text-sm opacity-70", children: [
|
|
558
546
|
postLabel && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "secondary", children: postLabel }),
|
|
559
547
|
post.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: post.author }),
|
|
560
548
|
postDate && /* @__PURE__ */ jsxRuntime.jsx("span", { children: postDate })
|
|
561
549
|
] }),
|
|
562
550
|
post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
|
|
563
|
-
postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base
|
|
564
|
-
readMoreText && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
size: 16,
|
|
576
|
-
className: "ml-2 size-4"
|
|
577
|
-
}
|
|
578
|
-
)
|
|
579
|
-
]
|
|
580
|
-
}
|
|
581
|
-
)
|
|
551
|
+
postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70", children: postSummary }),
|
|
552
|
+
readMoreText && /* @__PURE__ */ jsxRuntime.jsxs(pressable.Pressable, { href: postHref, variant: "outline", children: [
|
|
553
|
+
readMoreText,
|
|
554
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
555
|
+
DynamicIcon,
|
|
556
|
+
{
|
|
557
|
+
name: "lucide/arrow-right",
|
|
558
|
+
size: 16,
|
|
559
|
+
className: "size-4"
|
|
560
|
+
}
|
|
561
|
+
)
|
|
562
|
+
] })
|
|
582
563
|
] })
|
|
583
564
|
] })
|
|
584
565
|
},
|
|
@@ -595,9 +576,10 @@ function BlogHorizontalCards({
|
|
|
595
576
|
className: cn(className),
|
|
596
577
|
pattern,
|
|
597
578
|
patternOpacity,
|
|
598
|
-
|
|
579
|
+
containerClassName,
|
|
580
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
599
581
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto max-w-3xl text-center", headerClassName), children: [
|
|
600
|
-
badge && (typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, {
|
|
582
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
601
583
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
602
584
|
"h2",
|
|
603
585
|
{
|
|
@@ -607,17 +589,17 @@ function BlogHorizontalCards({
|
|
|
607
589
|
),
|
|
608
590
|
children: heading
|
|
609
591
|
}
|
|
610
|
-
) :
|
|
592
|
+
) : heading),
|
|
611
593
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
612
594
|
"p",
|
|
613
595
|
{
|
|
614
596
|
className: cn(
|
|
615
|
-
"mb-12
|
|
597
|
+
"mb-12 opacity-70 md:text-base lg:text-lg text-balance",
|
|
616
598
|
descriptionClassName
|
|
617
599
|
),
|
|
618
600
|
children: description
|
|
619
601
|
}
|
|
620
|
-
) :
|
|
602
|
+
) : description)
|
|
621
603
|
] }),
|
|
622
604
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mx-auto max-w-5xl space-y-12", postsClassName), children: postsContent }),
|
|
623
605
|
(ctaSlot || ctaAction) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-16 text-center", ctaClassName), children: ctaContent })
|
|
@@ -98,6 +98,6 @@ interface BlogHorizontalCardsProps {
|
|
|
98
98
|
/** Optional Section ID */
|
|
99
99
|
sectionId?: string;
|
|
100
100
|
}
|
|
101
|
-
declare function BlogHorizontalCards({ sectionId, badge, heading, description, ctaAction, ctaSlot, posts, postsSlot, readMoreText, className, containerClassName, headerClassName, badgeClassName, headingClassName, descriptionClassName, postsClassName, postCardClassName, ctaClassName, optixFlowConfig, background,
|
|
101
|
+
declare function BlogHorizontalCards({ sectionId, badge, heading, description, ctaAction, ctaSlot, posts, postsSlot, readMoreText, className, containerClassName, spacing, headerClassName, badgeClassName, headingClassName, descriptionClassName, postsClassName, postCardClassName, ctaClassName, optixFlowConfig, background, pattern, patternOpacity, }: BlogHorizontalCardsProps): React.JSX.Element;
|
|
102
102
|
|
|
103
103
|
export { BlogHorizontalCards, type BlogHorizontalCardsProps };
|
|
@@ -98,6 +98,6 @@ interface BlogHorizontalCardsProps {
|
|
|
98
98
|
/** Optional Section ID */
|
|
99
99
|
sectionId?: string;
|
|
100
100
|
}
|
|
101
|
-
declare function BlogHorizontalCards({ sectionId, badge, heading, description, ctaAction, ctaSlot, posts, postsSlot, readMoreText, className, containerClassName, headerClassName, badgeClassName, headingClassName, descriptionClassName, postsClassName, postCardClassName, ctaClassName, optixFlowConfig, background,
|
|
101
|
+
declare function BlogHorizontalCards({ sectionId, badge, heading, description, ctaAction, ctaSlot, posts, postsSlot, readMoreText, className, containerClassName, spacing, headerClassName, badgeClassName, headingClassName, descriptionClassName, postsClassName, postCardClassName, ctaClassName, optixFlowConfig, background, pattern, patternOpacity, }: BlogHorizontalCardsProps): React.JSX.Element;
|
|
102
102
|
|
|
103
103
|
export { BlogHorizontalCards, type BlogHorizontalCardsProps };
|
|
@@ -46,19 +46,6 @@ function Badge({
|
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
|
-
function Card({ className, ...props }) {
|
|
50
|
-
return /* @__PURE__ */ jsx(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
"data-slot": "card",
|
|
54
|
-
className: cn(
|
|
55
|
-
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
56
|
-
className
|
|
57
|
-
),
|
|
58
|
-
...props
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
49
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
63
50
|
var DynamicIcon = React4.memo(function DynamicIcon2({
|
|
64
51
|
apiKey,
|
|
@@ -459,7 +446,8 @@ function BlogHorizontalCards({
|
|
|
459
446
|
postsSlot,
|
|
460
447
|
readMoreText,
|
|
461
448
|
className,
|
|
462
|
-
containerClassName,
|
|
449
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
450
|
+
spacing = "lg",
|
|
463
451
|
headerClassName,
|
|
464
452
|
badgeClassName,
|
|
465
453
|
headingClassName,
|
|
@@ -469,7 +457,6 @@ function BlogHorizontalCards({
|
|
|
469
457
|
ctaClassName,
|
|
470
458
|
optixFlowConfig,
|
|
471
459
|
background,
|
|
472
|
-
spacing,
|
|
473
460
|
pattern,
|
|
474
461
|
patternOpacity
|
|
475
462
|
}) {
|
|
@@ -509,7 +496,7 @@ function BlogHorizontalCards({
|
|
|
509
496
|
const postSummary = post.summary || post.description;
|
|
510
497
|
const postDate = post.published || post.date;
|
|
511
498
|
return /* @__PURE__ */ jsx(
|
|
512
|
-
|
|
499
|
+
"div",
|
|
513
500
|
{
|
|
514
501
|
className: cn(
|
|
515
502
|
"overflow-hidden border-0 bg-transparent shadow-none",
|
|
@@ -527,37 +514,31 @@ function BlogHorizontalCards({
|
|
|
527
514
|
src: post.image,
|
|
528
515
|
alt: postTitle,
|
|
529
516
|
className: "aspect-video w-full rounded-lg object-cover object-center sm:w-[260px]",
|
|
530
|
-
optixFlowConfig
|
|
517
|
+
optixFlowConfig,
|
|
518
|
+
loading: "eager"
|
|
531
519
|
}
|
|
532
520
|
)
|
|
533
521
|
}
|
|
534
522
|
) }),
|
|
535
523
|
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-3", children: [
|
|
536
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 text-sm
|
|
524
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 text-sm opacity-70", children: [
|
|
537
525
|
postLabel && /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: postLabel }),
|
|
538
526
|
post.author && /* @__PURE__ */ jsx("span", { children: post.author }),
|
|
539
527
|
postDate && /* @__PURE__ */ jsx("span", { children: postDate })
|
|
540
528
|
] }),
|
|
541
529
|
post.title && /* @__PURE__ */ jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
|
|
542
|
-
postSummary && /* @__PURE__ */ jsx("p", { className: "text-base
|
|
543
|
-
readMoreText && /* @__PURE__ */ jsxs(
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
size: 16,
|
|
555
|
-
className: "ml-2 size-4"
|
|
556
|
-
}
|
|
557
|
-
)
|
|
558
|
-
]
|
|
559
|
-
}
|
|
560
|
-
)
|
|
530
|
+
postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70", children: postSummary }),
|
|
531
|
+
readMoreText && /* @__PURE__ */ jsxs(Pressable, { href: postHref, variant: "outline", children: [
|
|
532
|
+
readMoreText,
|
|
533
|
+
/* @__PURE__ */ jsx(
|
|
534
|
+
DynamicIcon,
|
|
535
|
+
{
|
|
536
|
+
name: "lucide/arrow-right",
|
|
537
|
+
size: 16,
|
|
538
|
+
className: "size-4"
|
|
539
|
+
}
|
|
540
|
+
)
|
|
541
|
+
] })
|
|
561
542
|
] })
|
|
562
543
|
] })
|
|
563
544
|
},
|
|
@@ -574,9 +555,10 @@ function BlogHorizontalCards({
|
|
|
574
555
|
className: cn(className),
|
|
575
556
|
pattern,
|
|
576
557
|
patternOpacity,
|
|
577
|
-
|
|
558
|
+
containerClassName,
|
|
559
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
578
560
|
/* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-3xl text-center", headerClassName), children: [
|
|
579
|
-
badge && (typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, {
|
|
561
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
580
562
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
581
563
|
"h2",
|
|
582
564
|
{
|
|
@@ -586,17 +568,17 @@ function BlogHorizontalCards({
|
|
|
586
568
|
),
|
|
587
569
|
children: heading
|
|
588
570
|
}
|
|
589
|
-
) :
|
|
571
|
+
) : heading),
|
|
590
572
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
591
573
|
"p",
|
|
592
574
|
{
|
|
593
575
|
className: cn(
|
|
594
|
-
"mb-12
|
|
576
|
+
"mb-12 opacity-70 md:text-base lg:text-lg text-balance",
|
|
595
577
|
descriptionClassName
|
|
596
578
|
),
|
|
597
579
|
children: description
|
|
598
580
|
}
|
|
599
|
-
) :
|
|
581
|
+
) : description)
|
|
600
582
|
] }),
|
|
601
583
|
/* @__PURE__ */ jsx("div", { className: cn("mx-auto max-w-5xl space-y-12", postsClassName), children: postsContent }),
|
|
602
584
|
(ctaSlot || ctaAction) && /* @__PURE__ */ jsx("div", { className: cn("mt-16 text-center", ctaClassName), children: ctaContent })
|
|
@@ -415,7 +415,7 @@ function BlogRelatedArticles({
|
|
|
415
415
|
articles,
|
|
416
416
|
articlesSlot,
|
|
417
417
|
className,
|
|
418
|
-
containerClassName,
|
|
418
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
419
419
|
headerClassName,
|
|
420
420
|
headingClassName,
|
|
421
421
|
seeAllClassName,
|
|
@@ -467,10 +467,10 @@ function BlogRelatedArticles({
|
|
|
467
467
|
href: itemHref,
|
|
468
468
|
className: cn("flex flex-col gap-2", articleCardClassName),
|
|
469
469
|
children: [
|
|
470
|
-
(item.category || item.label) && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium
|
|
471
|
-
item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-1 text-lg font-semibold", children: item.title }) :
|
|
472
|
-
(item.description || item.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-sm
|
|
473
|
-
(item.date || item.published) && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium
|
|
470
|
+
(item.category || item.label) && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium opacity-70", children: item.category || item.label }),
|
|
471
|
+
item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-1 text-lg font-semibold", children: item.title }) : item.title),
|
|
472
|
+
(item.description || item.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-sm opacity-70", children: item.description || item.summary }),
|
|
473
|
+
(item.date || item.published) && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: item.date || item.published })
|
|
474
474
|
]
|
|
475
475
|
},
|
|
476
476
|
itemId
|
|
@@ -486,7 +486,8 @@ function BlogRelatedArticles({
|
|
|
486
486
|
className: cn(className),
|
|
487
487
|
pattern,
|
|
488
488
|
patternOpacity,
|
|
489
|
-
|
|
489
|
+
containerClassName,
|
|
490
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
490
491
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
491
492
|
"div",
|
|
492
493
|
{
|
|
@@ -504,7 +505,7 @@ function BlogRelatedArticles({
|
|
|
504
505
|
),
|
|
505
506
|
children: heading
|
|
506
507
|
}
|
|
507
|
-
) :
|
|
508
|
+
) : heading),
|
|
508
509
|
renderedSeeAllAction
|
|
509
510
|
]
|
|
510
511
|
}
|
|
@@ -394,7 +394,7 @@ function BlogRelatedArticles({
|
|
|
394
394
|
articles,
|
|
395
395
|
articlesSlot,
|
|
396
396
|
className,
|
|
397
|
-
containerClassName,
|
|
397
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
398
398
|
headerClassName,
|
|
399
399
|
headingClassName,
|
|
400
400
|
seeAllClassName,
|
|
@@ -446,10 +446,10 @@ function BlogRelatedArticles({
|
|
|
446
446
|
href: itemHref,
|
|
447
447
|
className: cn("flex flex-col gap-2", articleCardClassName),
|
|
448
448
|
children: [
|
|
449
|
-
(item.category || item.label) && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium
|
|
450
|
-
item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-1 text-lg font-semibold", children: item.title }) :
|
|
451
|
-
(item.description || item.summary) && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm
|
|
452
|
-
(item.date || item.published) && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium
|
|
449
|
+
(item.category || item.label) && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium opacity-70", children: item.category || item.label }),
|
|
450
|
+
item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-1 text-lg font-semibold", children: item.title }) : item.title),
|
|
451
|
+
(item.description || item.summary) && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm opacity-70", children: item.description || item.summary }),
|
|
452
|
+
(item.date || item.published) && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: item.date || item.published })
|
|
453
453
|
]
|
|
454
454
|
},
|
|
455
455
|
itemId
|
|
@@ -465,7 +465,8 @@ function BlogRelatedArticles({
|
|
|
465
465
|
className: cn(className),
|
|
466
466
|
pattern,
|
|
467
467
|
patternOpacity,
|
|
468
|
-
|
|
468
|
+
containerClassName,
|
|
469
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
469
470
|
/* @__PURE__ */ jsxs(
|
|
470
471
|
"div",
|
|
471
472
|
{
|
|
@@ -483,7 +484,7 @@ function BlogRelatedArticles({
|
|
|
483
484
|
),
|
|
484
485
|
children: heading
|
|
485
486
|
}
|
|
486
|
-
) :
|
|
487
|
+
) : heading),
|
|
487
488
|
renderedSeeAllAction
|
|
488
489
|
]
|
|
489
490
|
}
|
|
@@ -669,7 +669,8 @@ function CarouselIconTabs({
|
|
|
669
669
|
tabClassName,
|
|
670
670
|
controlsClassName,
|
|
671
671
|
background,
|
|
672
|
-
|
|
672
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
673
|
+
spacing = "hero",
|
|
673
674
|
pattern,
|
|
674
675
|
patternOpacity,
|
|
675
676
|
patternClassName,
|
|
@@ -775,7 +776,7 @@ function CarouselIconTabs({
|
|
|
775
776
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 flex cursor-pointer flex-col gap-2 md:hidden", children: [
|
|
776
777
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.icon, size: 20 }) }),
|
|
777
778
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-medium", children: item.title }),
|
|
778
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
779
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base", children: item.text })
|
|
779
780
|
] })
|
|
780
781
|
]
|
|
781
782
|
},
|
|
@@ -810,8 +811,8 @@ function CarouselIconTabs({
|
|
|
810
811
|
"div",
|
|
811
812
|
{
|
|
812
813
|
className: cn(
|
|
813
|
-
"text-lg hover:
|
|
814
|
-
index + 1 === current ? "
|
|
814
|
+
"text-lg hover:opacity-100",
|
|
815
|
+
index + 1 === current ? "opacity-100" : "opacity-70"
|
|
815
816
|
),
|
|
816
817
|
children: section.text
|
|
817
818
|
}
|
|
@@ -833,6 +834,7 @@ function CarouselIconTabs({
|
|
|
833
834
|
patternOpacity,
|
|
834
835
|
patternClassName,
|
|
835
836
|
className,
|
|
837
|
+
containerClassName,
|
|
836
838
|
children: [
|
|
837
839
|
headerContent,
|
|
838
840
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -104,6 +104,10 @@ interface CarouselIconTabsProps {
|
|
|
104
104
|
* Background style for the section
|
|
105
105
|
*/
|
|
106
106
|
background?: SectionBackground;
|
|
107
|
+
/**
|
|
108
|
+
* Additional CSS classes for the container
|
|
109
|
+
*/
|
|
110
|
+
containerClassName?: string;
|
|
107
111
|
/**
|
|
108
112
|
* Vertical spacing for the section
|
|
109
113
|
*/
|
|
@@ -152,6 +156,6 @@ interface CarouselIconTabsProps {
|
|
|
152
156
|
* />
|
|
153
157
|
* ```
|
|
154
158
|
*/
|
|
155
|
-
declare function CarouselIconTabs({ sectionId, heading, badge, sections, sectionsSlot, headerSlot, className, headerClassName, headingClassName, badgeClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, tabsClassName, tabClassName, controlsClassName, background, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: CarouselIconTabsProps): React.JSX.Element;
|
|
159
|
+
declare function CarouselIconTabs({ sectionId, heading, badge, sections, sectionsSlot, headerSlot, className, headerClassName, headingClassName, badgeClassName, carouselClassName, carouselContentClassName, itemClassName, imageClassName, tabsClassName, tabClassName, controlsClassName, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, optixFlowConfig, }: CarouselIconTabsProps): React.JSX.Element;
|
|
156
160
|
|
|
157
161
|
export { type CarouselIconTabItem, CarouselIconTabs, type CarouselIconTabsProps };
|