@opensite/ui 1.8.2 → 1.8.4
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-story-gallery.cjs +3 -30
- package/dist/about-story-gallery.d.cts +1 -1
- package/dist/about-story-gallery.d.ts +1 -1
- package/dist/about-story-gallery.js +3 -30
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/contact-callback.cjs +526 -273
- package/dist/contact-callback.d.cts +39 -59
- package/dist/contact-callback.d.ts +39 -59
- package/dist/contact-callback.js +528 -274
- package/dist/contact-card.cjs +459 -183
- package/dist/contact-card.d.cts +26 -49
- package/dist/contact-card.d.ts +26 -49
- package/dist/contact-card.js +461 -183
- package/dist/contact-careers.cjs +614 -510
- package/dist/contact-careers.d.cts +32 -55
- package/dist/contact-careers.d.ts +32 -55
- package/dist/contact-careers.js +616 -510
- package/dist/contact-catering.cjs +507 -501
- package/dist/contact-catering.d.cts +27 -61
- package/dist/contact-catering.d.ts +27 -61
- package/dist/contact-catering.js +509 -500
- package/dist/contact-consultation.cjs +484 -253
- package/dist/contact-consultation.d.cts +29 -56
- package/dist/contact-consultation.d.ts +29 -56
- package/dist/contact-consultation.js +486 -253
- package/dist/contact-dark.cjs +296 -296
- package/dist/contact-dark.d.cts +1 -1
- package/dist/contact-dark.d.ts +1 -1
- package/dist/contact-dark.js +297 -296
- package/dist/contact-demo.d.cts +1 -1
- package/dist/contact-demo.d.ts +1 -1
- package/dist/contact-emergency.d.cts +1 -1
- package/dist/contact-emergency.d.ts +1 -1
- package/dist/contact-event.d.cts +1 -1
- package/dist/contact-event.d.ts +1 -1
- package/dist/contact-faq.cjs +247 -250
- package/dist/contact-faq.d.cts +1 -1
- package/dist/contact-faq.d.ts +1 -1
- package/dist/contact-faq.js +248 -250
- package/dist/contact-feedback.d.cts +1 -1
- package/dist/contact-feedback.d.ts +1 -1
- package/dist/contact-fitness.d.cts +1 -1
- package/dist/contact-fitness.d.ts +1 -1
- package/dist/contact-guest.d.cts +1 -1
- package/dist/contact-guest.d.ts +1 -1
- package/dist/contact-image.d.cts +1 -1
- package/dist/contact-image.d.ts +1 -1
- package/dist/contact-insurance.d.cts +1 -1
- package/dist/contact-insurance.d.ts +1 -1
- package/dist/contact-interview.d.cts +1 -1
- package/dist/contact-interview.d.ts +1 -1
- package/dist/contact-locations.d.cts +1 -1
- package/dist/contact-locations.d.ts +1 -1
- package/dist/contact-maintenance.d.cts +1 -1
- package/dist/contact-maintenance.d.ts +1 -1
- package/dist/contact-map.d.cts +1 -1
- package/dist/contact-map.d.ts +1 -1
- package/dist/contact-minimal.d.cts +1 -1
- package/dist/contact-minimal.d.ts +1 -1
- package/dist/contact-moving.d.cts +1 -1
- package/dist/contact-moving.d.ts +1 -1
- package/dist/contact-multistep.d.cts +1 -1
- package/dist/contact-multistep.d.ts +1 -1
- package/dist/contact-partnership.d.cts +1 -1
- package/dist/contact-partnership.d.ts +1 -1
- package/dist/contact-photography.cjs +247 -250
- package/dist/contact-photography.d.cts +1 -1
- package/dist/contact-photography.d.ts +1 -1
- package/dist/contact-photography.js +248 -250
- package/dist/contact-press.d.cts +1 -1
- package/dist/contact-press.d.ts +1 -1
- package/dist/contact-quote.d.cts +1 -1
- package/dist/contact-quote.d.ts +1 -1
- package/dist/contact-referral.d.cts +1 -1
- package/dist/contact-referral.d.ts +1 -1
- package/dist/contact-report.d.cts +1 -1
- package/dist/contact-report.d.ts +1 -1
- package/dist/contact-reservation.d.cts +1 -1
- package/dist/contact-reservation.d.ts +1 -1
- package/dist/contact-retreat.d.cts +1 -1
- package/dist/contact-retreat.d.ts +1 -1
- package/dist/contact-rsvp.d.cts +1 -1
- package/dist/contact-rsvp.d.ts +1 -1
- package/dist/contact-sales.d.cts +1 -1
- package/dist/contact-sales.d.ts +1 -1
- package/dist/contact-schedule.d.cts +1 -1
- package/dist/contact-schedule.d.ts +1 -1
- package/dist/contact-sponsorship.d.cts +1 -1
- package/dist/contact-sponsorship.d.ts +1 -1
- package/dist/contact-support.d.cts +1 -1
- package/dist/contact-support.d.ts +1 -1
- package/dist/contact-tenant.d.cts +1 -1
- package/dist/contact-tenant.d.ts +1 -1
- package/dist/contact-vendor.d.cts +1 -1
- package/dist/contact-vendor.d.ts +1 -1
- package/dist/contact-volunteer.d.cts +1 -1
- package/dist/contact-volunteer.d.ts +1 -1
- package/dist/contact-warranty.d.cts +1 -1
- package/dist/contact-warranty.d.ts +1 -1
- package/dist/contact-wedding.d.cts +1 -1
- package/dist/contact-wedding.d.ts +1 -1
- package/dist/cta-app-download-newsletter.d.cts +1 -1
- package/dist/cta-app-download-newsletter.d.ts +1 -1
- package/dist/cta-newsletter-features.d.cts +1 -1
- package/dist/cta-newsletter-features.d.ts +1 -1
- package/dist/footer-accordion-social.d.cts +1 -1
- package/dist/footer-accordion-social.d.ts +1 -1
- package/dist/footer-newsletter-contact.d.cts +1 -1
- package/dist/footer-newsletter-contact.d.ts +1 -1
- package/dist/footer-newsletter-minimal.d.cts +1 -1
- package/dist/footer-newsletter-minimal.d.ts +1 -1
- package/dist/footer-split-image-accordion.d.cts +1 -1
- package/dist/footer-split-image-accordion.d.ts +1 -1
- package/dist/{forms-nGgHUTBw.d.cts → forms-CStlFhnh.d.cts} +41 -0
- package/dist/{forms-nGgHUTBw.d.ts → forms-CStlFhnh.d.ts} +41 -0
- package/dist/hero-conversation-intelligence.cjs +1 -2
- package/dist/hero-conversation-intelligence.d.cts +1 -5
- package/dist/hero-conversation-intelligence.d.ts +1 -5
- package/dist/hero-conversation-intelligence.js +1 -2
- package/dist/hero-conversion-video-play.cjs +2 -2
- package/dist/hero-conversion-video-play.js +2 -2
- package/dist/hero-design-system-3d.cjs +162 -82
- package/dist/hero-design-system-3d.js +162 -82
- package/dist/hero-ecommerce-product-showcase.cjs +103 -81
- package/dist/hero-ecommerce-product-showcase.d.cts +5 -1
- package/dist/hero-ecommerce-product-showcase.d.ts +5 -1
- package/dist/hero-ecommerce-product-showcase.js +103 -81
- package/dist/hero-floating-images.cjs +1 -1
- package/dist/hero-floating-images.js +1 -1
- package/dist/hero-hiring-animated-text.cjs +4 -4
- package/dist/hero-hiring-animated-text.js +4 -4
- package/dist/hero-minimal-centered-dark.cjs +111 -82
- package/dist/hero-minimal-centered-dark.d.cts +1 -1
- package/dist/hero-minimal-centered-dark.d.ts +1 -1
- package/dist/hero-minimal-centered-dark.js +111 -82
- package/dist/hero-mobile-app-download.cjs +1 -1
- package/dist/hero-mobile-app-download.js +1 -1
- package/dist/hero-overlay-cta-grid.cjs +1 -1
- package/dist/hero-overlay-cta-grid.js +1 -1
- package/dist/hero-spiral-pattern-cards.cjs +1 -1
- package/dist/hero-spiral-pattern-cards.js +1 -1
- package/dist/hero-startup-launch-cta.cjs +1 -1
- package/dist/hero-startup-launch-cta.js +1 -1
- package/dist/hero-stats-social-proof.cjs +106 -90
- package/dist/hero-stats-social-proof.js +106 -90
- package/dist/hero-testimonial-image-grid.cjs +1 -1
- package/dist/hero-testimonial-image-grid.js +1 -1
- package/dist/hero-therapy-testimonial-grid.cjs +1 -1
- package/dist/hero-therapy-testimonial-grid.js +1 -1
- package/dist/hero-ui-library-showcase.cjs +63 -15
- package/dist/hero-ui-library-showcase.d.cts +5 -1
- package/dist/hero-ui-library-showcase.d.ts +5 -1
- package/dist/hero-ui-library-showcase.js +63 -15
- package/dist/index.cjs +44 -6
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +44 -6
- package/dist/link-page-newsletter-social.d.cts +1 -1
- package/dist/link-page-newsletter-social.d.ts +1 -1
- package/dist/offer-modal-membership-image.d.cts +1 -1
- package/dist/offer-modal-membership-image.d.ts +1 -1
- package/dist/offer-modal-newsletter-discount.d.cts +1 -1
- package/dist/offer-modal-newsletter-discount.d.ts +1 -1
- package/dist/offer-modal-sheet-newsletter.d.cts +1 -1
- package/dist/offer-modal-sheet-newsletter.d.ts +1 -1
- package/dist/registry.cjs +14465 -14767
- package/dist/registry.js +12664 -12966
- package/dist/resource-list-hero-filter.d.cts +1 -1
- package/dist/resource-list-hero-filter.d.ts +1 -1
- package/package.json +3 -3
|
@@ -15,32 +15,6 @@ var React__default = /*#__PURE__*/_interopDefault(React);
|
|
|
15
15
|
function cn(...inputs) {
|
|
16
16
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
17
17
|
}
|
|
18
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
19
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
20
|
-
if (isDark) {
|
|
21
|
-
switch (variant) {
|
|
22
|
-
case "default":
|
|
23
|
-
return "text-foreground";
|
|
24
|
-
case "muted":
|
|
25
|
-
return "text-foreground/80";
|
|
26
|
-
case "subtle":
|
|
27
|
-
return "text-foreground/60";
|
|
28
|
-
case "accent":
|
|
29
|
-
return "text-accent-foreground";
|
|
30
|
-
}
|
|
31
|
-
} else {
|
|
32
|
-
switch (variant) {
|
|
33
|
-
case "default":
|
|
34
|
-
return "text-foreground";
|
|
35
|
-
case "muted":
|
|
36
|
-
return "text-muted-foreground";
|
|
37
|
-
case "subtle":
|
|
38
|
-
return "text-muted-foreground/70";
|
|
39
|
-
case "accent":
|
|
40
|
-
return "text-primary";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
18
|
var maxWidthStyles = {
|
|
45
19
|
sm: "max-w-screen-sm",
|
|
46
20
|
md: "max-w-screen-md",
|
|
@@ -418,7 +392,6 @@ var Section = React__default.default.forwardRef(
|
|
|
418
392
|
Section.displayName = "Section";
|
|
419
393
|
function AboutStoryGallery({
|
|
420
394
|
className,
|
|
421
|
-
containerClassName,
|
|
422
395
|
title,
|
|
423
396
|
titleClassName,
|
|
424
397
|
description,
|
|
@@ -428,7 +401,8 @@ function AboutStoryGallery({
|
|
|
428
401
|
imagesClassName,
|
|
429
402
|
optixFlowConfig,
|
|
430
403
|
background,
|
|
431
|
-
spacing,
|
|
404
|
+
spacing = "py-8 md:py-32",
|
|
405
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
432
406
|
pattern,
|
|
433
407
|
patternOpacity
|
|
434
408
|
}) {
|
|
@@ -465,7 +439,7 @@ function AboutStoryGallery({
|
|
|
465
439
|
spacing,
|
|
466
440
|
pattern,
|
|
467
441
|
patternOpacity,
|
|
468
|
-
className
|
|
442
|
+
className,
|
|
469
443
|
containerClassName,
|
|
470
444
|
children: [
|
|
471
445
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-3xl text-center", children: [
|
|
@@ -484,7 +458,6 @@ function AboutStoryGallery({
|
|
|
484
458
|
{
|
|
485
459
|
className: cn(
|
|
486
460
|
"mt-6 text-lg whitespace-pre-line text-balance",
|
|
487
|
-
getTextColor(background, "muted"),
|
|
488
461
|
descriptionClassName
|
|
489
462
|
),
|
|
490
463
|
children: description
|
|
@@ -69,6 +69,6 @@ interface AboutStoryGalleryProps {
|
|
|
69
69
|
*/
|
|
70
70
|
patternOpacity?: number;
|
|
71
71
|
}
|
|
72
|
-
declare function AboutStoryGallery({ className,
|
|
72
|
+
declare function AboutStoryGallery({ className, title, titleClassName, description, descriptionClassName, images, imagesSlot, imagesClassName, optixFlowConfig, background, spacing, containerClassName, pattern, patternOpacity, }: AboutStoryGalleryProps): React.JSX.Element;
|
|
73
73
|
|
|
74
74
|
export { AboutStoryGallery, type AboutStoryGalleryProps };
|
|
@@ -69,6 +69,6 @@ interface AboutStoryGalleryProps {
|
|
|
69
69
|
*/
|
|
70
70
|
patternOpacity?: number;
|
|
71
71
|
}
|
|
72
|
-
declare function AboutStoryGallery({ className,
|
|
72
|
+
declare function AboutStoryGallery({ className, title, titleClassName, description, descriptionClassName, images, imagesSlot, imagesClassName, optixFlowConfig, background, spacing, containerClassName, pattern, patternOpacity, }: AboutStoryGalleryProps): React.JSX.Element;
|
|
73
73
|
|
|
74
74
|
export { AboutStoryGallery, type AboutStoryGalleryProps };
|
|
@@ -9,32 +9,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
9
9
|
function cn(...inputs) {
|
|
10
10
|
return twMerge(clsx(inputs));
|
|
11
11
|
}
|
|
12
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
13
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
14
|
-
if (isDark) {
|
|
15
|
-
switch (variant) {
|
|
16
|
-
case "default":
|
|
17
|
-
return "text-foreground";
|
|
18
|
-
case "muted":
|
|
19
|
-
return "text-foreground/80";
|
|
20
|
-
case "subtle":
|
|
21
|
-
return "text-foreground/60";
|
|
22
|
-
case "accent":
|
|
23
|
-
return "text-accent-foreground";
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
switch (variant) {
|
|
27
|
-
case "default":
|
|
28
|
-
return "text-foreground";
|
|
29
|
-
case "muted":
|
|
30
|
-
return "text-muted-foreground";
|
|
31
|
-
case "subtle":
|
|
32
|
-
return "text-muted-foreground/70";
|
|
33
|
-
case "accent":
|
|
34
|
-
return "text-primary";
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
12
|
var maxWidthStyles = {
|
|
39
13
|
sm: "max-w-screen-sm",
|
|
40
14
|
md: "max-w-screen-md",
|
|
@@ -412,7 +386,6 @@ var Section = React.forwardRef(
|
|
|
412
386
|
Section.displayName = "Section";
|
|
413
387
|
function AboutStoryGallery({
|
|
414
388
|
className,
|
|
415
|
-
containerClassName,
|
|
416
389
|
title,
|
|
417
390
|
titleClassName,
|
|
418
391
|
description,
|
|
@@ -422,7 +395,8 @@ function AboutStoryGallery({
|
|
|
422
395
|
imagesClassName,
|
|
423
396
|
optixFlowConfig,
|
|
424
397
|
background,
|
|
425
|
-
spacing,
|
|
398
|
+
spacing = "py-8 md:py-32",
|
|
399
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
426
400
|
pattern,
|
|
427
401
|
patternOpacity
|
|
428
402
|
}) {
|
|
@@ -459,7 +433,7 @@ function AboutStoryGallery({
|
|
|
459
433
|
spacing,
|
|
460
434
|
pattern,
|
|
461
435
|
patternOpacity,
|
|
462
|
-
className
|
|
436
|
+
className,
|
|
463
437
|
containerClassName,
|
|
464
438
|
children: [
|
|
465
439
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-3xl text-center", children: [
|
|
@@ -478,7 +452,6 @@ function AboutStoryGallery({
|
|
|
478
452
|
{
|
|
479
453
|
className: cn(
|
|
480
454
|
"mt-6 text-lg whitespace-pre-line text-balance",
|
|
481
|
-
getTextColor(background, "muted"),
|
|
482
455
|
descriptionClassName
|
|
483
456
|
),
|
|
484
457
|
children: description
|
package/dist/components.d.cts
CHANGED
|
@@ -37,5 +37,5 @@ import './button-variants-lRElsmTc.cjs';
|
|
|
37
37
|
import 'class-variance-authority/types';
|
|
38
38
|
import '@radix-ui/react-popover';
|
|
39
39
|
import './types-Cs1jk79n.cjs';
|
|
40
|
-
import './forms-
|
|
40
|
+
import './forms-CStlFhnh.cjs';
|
|
41
41
|
import '@page-speed/forms/integration';
|
package/dist/components.d.ts
CHANGED