@opensite/ui 3.3.8 → 3.4.0
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-culture-tabs.cjs +17 -3
- package/dist/about-culture-tabs.js +17 -3
- package/dist/about-developer-profile.cjs +17 -3
- package/dist/about-developer-profile.js +17 -3
- package/dist/about-developer-story.cjs +16 -2
- package/dist/about-developer-story.js +17 -3
- package/dist/about-expandable-values.cjs +17 -3
- package/dist/about-expandable-values.js +17 -3
- package/dist/about-mission-dual-image.cjs +16 -2
- package/dist/about-mission-dual-image.js +17 -3
- package/dist/about-network-spotlight.cjs +16 -2
- package/dist/about-network-spotlight.js +17 -3
- package/dist/about-story-expertise.cjs +17 -3
- package/dist/about-story-expertise.js +17 -3
- package/dist/about-streamline-team.cjs +17 -3
- package/dist/about-streamline-team.js +17 -3
- package/dist/carousel-feature-badge.cjs +16 -2
- package/dist/carousel-feature-badge.js +17 -3
- package/dist/carousel-image-hero.cjs +16 -2
- package/dist/carousel-image-hero.js +17 -3
- package/dist/carousel-portfolio-hero.cjs +16 -2
- package/dist/carousel-portfolio-hero.js +17 -3
- package/dist/community-initiatives.cjs +16 -2
- package/dist/community-initiatives.js +17 -3
- package/dist/components.cjs +16 -2
- package/dist/components.js +16 -2
- package/dist/cta-feature-checklist.cjs +16 -2
- package/dist/cta-feature-checklist.js +17 -3
- package/dist/faq-numbered-grid.cjs +16 -2
- package/dist/faq-numbered-grid.js +17 -3
- package/dist/hero-ad-campaign-expert.cjs +16 -2
- package/dist/hero-ad-campaign-expert.js +17 -3
- package/dist/hero-adaptable-product-grid.cjs +16 -2
- package/dist/hero-adaptable-product-grid.js +17 -3
- package/dist/hero-agency-animated-images.cjs +16 -2
- package/dist/hero-agency-animated-images.js +17 -3
- package/dist/hero-ai-powered-carousel.cjs +16 -2
- package/dist/hero-ai-powered-carousel.js +17 -3
- package/dist/hero-announcement-badge.cjs +16 -2
- package/dist/hero-announcement-badge.js +17 -3
- package/dist/hero-badge-image-split.cjs +16 -2
- package/dist/hero-badge-image-split.js +17 -3
- package/dist/hero-badge-shadow-overlay.cjs +16 -2
- package/dist/hero-badge-shadow-overlay.js +17 -3
- package/dist/hero-business-carousel-dots.cjs +16 -2
- package/dist/hero-business-carousel-dots.js +17 -3
- package/dist/hero-business-operations-mosaic.cjs +16 -2
- package/dist/hero-business-operations-mosaic.js +17 -3
- package/dist/hero-centered-gradient-cta.cjs +16 -2
- package/dist/hero-centered-gradient-cta.js +17 -3
- package/dist/hero-community-survey-cta.cjs +16 -2
- package/dist/hero-community-survey-cta.js +17 -3
- package/dist/hero-conversation-intelligence.cjs +16 -2
- package/dist/hero-conversation-intelligence.js +17 -3
- package/dist/hero-creative-studio-stacked.cjs +16 -2
- package/dist/hero-creative-studio-stacked.js +17 -3
- package/dist/hero-crm-streamlined.cjs +16 -2
- package/dist/hero-crm-streamlined.js +17 -3
- package/dist/hero-customer-support-layered.cjs +16 -2
- package/dist/hero-customer-support-layered.js +17 -3
- package/dist/hero-design-carousel-portfolio.cjs +16 -2
- package/dist/hero-design-carousel-portfolio.js +17 -3
- package/dist/hero-design-showcase-logos.cjs +16 -2
- package/dist/hero-design-showcase-logos.js +17 -3
- package/dist/hero-design-system-3d.cjs +16 -2
- package/dist/hero-design-system-3d.js +17 -3
- package/dist/hero-developer-tools-code.cjs +16 -2
- package/dist/hero-developer-tools-code.js +17 -3
- package/dist/hero-digital-agency-fullscreen.cjs +16 -2
- package/dist/hero-digital-agency-fullscreen.js +17 -3
- package/dist/hero-ecommerce-product-showcase.cjs +17 -3
- package/dist/hero-ecommerce-product-showcase.js +17 -3
- package/dist/hero-enterprise-security.cjs +16 -2
- package/dist/hero-enterprise-security.js +17 -3
- package/dist/hero-event-registration.cjs +16 -2
- package/dist/hero-event-registration.js +17 -3
- package/dist/hero-feature-cards-grid.cjs +16 -2
- package/dist/hero-feature-cards-grid.js +17 -3
- package/dist/hero-floating-images.cjs +16 -2
- package/dist/hero-floating-images.js +17 -3
- package/dist/hero-fullscreen-background-image.cjs +16 -2
- package/dist/hero-fullscreen-background-image.js +17 -3
- package/dist/hero-gradient-avatars-rating.cjs +16 -2
- package/dist/hero-gradient-avatars-rating.js +17 -3
- package/dist/hero-gradient-client-focused.cjs +16 -2
- package/dist/hero-gradient-client-focused.js +17 -3
- package/dist/hero-grid-pattern-solutions.cjs +16 -2
- package/dist/hero-grid-pattern-solutions.js +17 -3
- package/dist/hero-hiring-animated-text.cjs +16 -2
- package/dist/hero-hiring-animated-text.js +17 -3
- package/dist/hero-image-left-content.cjs +16 -2
- package/dist/hero-image-left-content.js +17 -3
- package/dist/hero-image-slider.cjs +16 -2
- package/dist/hero-image-slider.js +17 -3
- package/dist/hero-innovation-image-grid.cjs +16 -2
- package/dist/hero-innovation-image-grid.js +17 -3
- package/dist/hero-mental-health-team.cjs +16 -2
- package/dist/hero-mental-health-team.js +17 -3
- package/dist/hero-minimal-centered-dark.cjs +17 -3
- package/dist/hero-minimal-centered-dark.js +17 -3
- package/dist/hero-overlay-cta-grid.cjs +16 -2
- package/dist/hero-overlay-cta-grid.js +17 -3
- package/dist/hero-presentation-platform-video.cjs +16 -2
- package/dist/hero-presentation-platform-video.js +17 -3
- package/dist/hero-product-showcase-floating.cjs +17 -3
- package/dist/hero-product-showcase-floating.js +17 -3
- package/dist/hero-shared-inbox-layered.cjs +16 -2
- package/dist/hero-shared-inbox-layered.js +17 -3
- package/dist/hero-simple-centered-image.cjs +16 -2
- package/dist/hero-simple-centered-image.js +17 -3
- package/dist/hero-software-growth-video-dialog.cjs +16 -2
- package/dist/hero-software-growth-video-dialog.js +17 -3
- package/dist/hero-spiral-pattern-cards.cjs +17 -3
- package/dist/hero-spiral-pattern-cards.js +17 -3
- package/dist/hero-split-geometric-shapes.cjs +16 -2
- package/dist/hero-split-geometric-shapes.js +17 -3
- package/dist/hero-startup-launch-cta.cjs +17 -3
- package/dist/hero-startup-launch-cta.js +17 -3
- package/dist/hero-stats-social-proof.cjs +17 -3
- package/dist/hero-stats-social-proof.js +17 -3
- package/dist/hero-task-timer-animated.cjs +16 -2
- package/dist/hero-task-timer-animated.js +17 -3
- package/dist/hero-testimonial-image-grid.cjs +16 -2
- package/dist/hero-testimonial-image-grid.js +17 -3
- package/dist/hero-therapy-testimonial-grid.cjs +16 -2
- package/dist/hero-therapy-testimonial-grid.js +17 -3
- package/dist/hero-ui-library-showcase.cjs +16 -2
- package/dist/hero-ui-library-showcase.js +17 -3
- package/dist/hero-video-background-dark.cjs +17 -3
- package/dist/hero-video-background-dark.js +17 -3
- package/dist/hero-video-dialog-gradient.cjs +16 -2
- package/dist/hero-video-dialog-gradient.js +17 -3
- package/dist/hero-video-overlay-stars.cjs +16 -2
- package/dist/hero-video-overlay-stars.js +17 -3
- package/dist/hero-welcome-asymmetric-images.cjs +16 -2
- package/dist/hero-welcome-asymmetric-images.js +17 -3
- package/dist/index.cjs +16 -2
- package/dist/index.js +16 -2
- package/dist/process-sticky-steps.cjs +19 -5
- package/dist/process-sticky-steps.js +20 -6
- package/dist/registry.cjs +20 -6
- package/dist/registry.js +20 -6
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/stats-growth-timeline.cjs +16 -2
- package/dist/stats-growth-timeline.js +17 -3
- package/dist/testimonials-grid-add-review.cjs +16 -2
- package/dist/testimonials-grid-add-review.js +17 -3
- package/dist/testimonials-masonry-grid.cjs +16 -2
- package/dist/testimonials-masonry-grid.js +17 -3
- package/dist/testimonials-simple-grid.cjs +16 -2
- package/dist/testimonials-simple-grid.js +17 -3
- package/dist/testimonials-stats-header.cjs +16 -2
- package/dist/testimonials-stats-header.js +17 -3
- package/dist/testimonials-twitter-cards.cjs +16 -2
- package/dist/testimonials-twitter-cards.js +17 -3
- package/dist/testimonials-wall-compact.cjs +16 -2
- package/dist/testimonials-wall-compact.js +17 -3
- package/package.json +2 -2
|
@@ -4,9 +4,9 @@ import { clsx } from 'clsx';
|
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { Img } from '@page-speed/img';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
7
8
|
import { Slot } from '@radix-ui/react-slot';
|
|
8
9
|
import { cva } from 'class-variance-authority';
|
|
9
|
-
import { Pressable } from '@page-speed/pressable';
|
|
10
10
|
|
|
11
11
|
// components/blocks/hero/hero-startup-launch-cta.tsx
|
|
12
12
|
function cn(...inputs) {
|
|
@@ -465,16 +465,30 @@ function ActionComponent({ action }) {
|
|
|
465
465
|
children,
|
|
466
466
|
href,
|
|
467
467
|
onClick,
|
|
468
|
+
asButton,
|
|
469
|
+
variant,
|
|
470
|
+
size,
|
|
468
471
|
className: actionClassName,
|
|
469
472
|
...pressableProps
|
|
470
473
|
} = action;
|
|
474
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
475
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
476
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
471
477
|
return /* @__PURE__ */ jsx(
|
|
472
478
|
Pressable,
|
|
473
479
|
{
|
|
474
480
|
href,
|
|
475
481
|
onClick,
|
|
476
|
-
asButton:
|
|
477
|
-
|
|
482
|
+
asButton: shouldStyleAsButton,
|
|
483
|
+
variant: resolvedVariant,
|
|
484
|
+
size: resolvedSize,
|
|
485
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
486
|
+
"data-variant": resolvedVariant,
|
|
487
|
+
"data-size": resolvedSize,
|
|
488
|
+
className: cn(
|
|
489
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
490
|
+
actionClassName
|
|
491
|
+
),
|
|
478
492
|
...pressableProps,
|
|
479
493
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
480
494
|
icon,
|
|
@@ -6,9 +6,9 @@ var clsx = require('clsx');
|
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var img = require('@page-speed/img');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
+
var pressable = require('@page-speed/pressable');
|
|
9
10
|
var reactSlot = require('@radix-ui/react-slot');
|
|
10
11
|
var classVarianceAuthority = require('class-variance-authority');
|
|
11
|
-
var pressable = require('@page-speed/pressable');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
|
|
@@ -471,16 +471,30 @@ function ActionComponent({ action }) {
|
|
|
471
471
|
children,
|
|
472
472
|
href,
|
|
473
473
|
onClick,
|
|
474
|
+
asButton,
|
|
475
|
+
variant,
|
|
476
|
+
size,
|
|
474
477
|
className: actionClassName,
|
|
475
478
|
...pressableProps
|
|
476
479
|
} = action;
|
|
480
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
481
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
482
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
477
483
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
478
484
|
pressable.Pressable,
|
|
479
485
|
{
|
|
480
486
|
href,
|
|
481
487
|
onClick,
|
|
482
|
-
asButton:
|
|
483
|
-
|
|
488
|
+
asButton: shouldStyleAsButton,
|
|
489
|
+
variant: resolvedVariant,
|
|
490
|
+
size: resolvedSize,
|
|
491
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
492
|
+
"data-variant": resolvedVariant,
|
|
493
|
+
"data-size": resolvedSize,
|
|
494
|
+
className: cn(
|
|
495
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
496
|
+
actionClassName
|
|
497
|
+
),
|
|
484
498
|
...pressableProps,
|
|
485
499
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
486
500
|
icon,
|
|
@@ -4,9 +4,9 @@ import { clsx } from 'clsx';
|
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { Img } from '@page-speed/img';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
7
8
|
import { Slot } from '@radix-ui/react-slot';
|
|
8
9
|
import { cva } from 'class-variance-authority';
|
|
9
|
-
import { Pressable } from '@page-speed/pressable';
|
|
10
10
|
|
|
11
11
|
// components/blocks/hero/hero-stats-social-proof.tsx
|
|
12
12
|
function cn(...inputs) {
|
|
@@ -465,16 +465,30 @@ function ActionComponent({ action }) {
|
|
|
465
465
|
children,
|
|
466
466
|
href,
|
|
467
467
|
onClick,
|
|
468
|
+
asButton,
|
|
469
|
+
variant,
|
|
470
|
+
size,
|
|
468
471
|
className: actionClassName,
|
|
469
472
|
...pressableProps
|
|
470
473
|
} = action;
|
|
474
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
475
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
476
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
471
477
|
return /* @__PURE__ */ jsx(
|
|
472
478
|
Pressable,
|
|
473
479
|
{
|
|
474
480
|
href,
|
|
475
481
|
onClick,
|
|
476
|
-
asButton:
|
|
477
|
-
|
|
482
|
+
asButton: shouldStyleAsButton,
|
|
483
|
+
variant: resolvedVariant,
|
|
484
|
+
size: resolvedSize,
|
|
485
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
486
|
+
"data-variant": resolvedVariant,
|
|
487
|
+
"data-size": resolvedSize,
|
|
488
|
+
className: cn(
|
|
489
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
490
|
+
actionClassName
|
|
491
|
+
),
|
|
478
492
|
...pressableProps,
|
|
479
493
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
480
494
|
icon,
|
|
@@ -462,16 +462,30 @@ function ActionComponent({ action }) {
|
|
|
462
462
|
children,
|
|
463
463
|
href,
|
|
464
464
|
onClick,
|
|
465
|
+
asButton,
|
|
466
|
+
variant,
|
|
467
|
+
size,
|
|
465
468
|
className: actionClassName,
|
|
466
469
|
...pressableProps
|
|
467
470
|
} = action;
|
|
471
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
472
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
473
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
468
474
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
469
475
|
pressable.Pressable,
|
|
470
476
|
{
|
|
471
477
|
href,
|
|
472
478
|
onClick,
|
|
473
|
-
asButton:
|
|
474
|
-
|
|
479
|
+
asButton: shouldStyleAsButton,
|
|
480
|
+
variant: resolvedVariant,
|
|
481
|
+
size: resolvedSize,
|
|
482
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
483
|
+
"data-variant": resolvedVariant,
|
|
484
|
+
"data-size": resolvedSize,
|
|
485
|
+
className: cn(
|
|
486
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
487
|
+
actionClassName
|
|
488
|
+
),
|
|
475
489
|
...pressableProps,
|
|
476
490
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
477
491
|
icon,
|
|
@@ -5,7 +5,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
5
5
|
import { Img } from '@page-speed/img';
|
|
6
6
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
-
import { Pressable } from '@page-speed/pressable';
|
|
8
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
9
9
|
|
|
10
10
|
// components/blocks/hero/hero-task-timer-animated.tsx
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -437,16 +437,30 @@ function ActionComponent({ action }) {
|
|
|
437
437
|
children,
|
|
438
438
|
href,
|
|
439
439
|
onClick,
|
|
440
|
+
asButton,
|
|
441
|
+
variant,
|
|
442
|
+
size,
|
|
440
443
|
className: actionClassName,
|
|
441
444
|
...pressableProps
|
|
442
445
|
} = action;
|
|
446
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
447
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
448
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
443
449
|
return /* @__PURE__ */ jsx(
|
|
444
450
|
Pressable,
|
|
445
451
|
{
|
|
446
452
|
href,
|
|
447
453
|
onClick,
|
|
448
|
-
asButton:
|
|
449
|
-
|
|
454
|
+
asButton: shouldStyleAsButton,
|
|
455
|
+
variant: resolvedVariant,
|
|
456
|
+
size: resolvedSize,
|
|
457
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
458
|
+
"data-variant": resolvedVariant,
|
|
459
|
+
"data-size": resolvedSize,
|
|
460
|
+
className: cn(
|
|
461
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
462
|
+
actionClassName
|
|
463
|
+
),
|
|
450
464
|
...pressableProps,
|
|
451
465
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
452
466
|
icon,
|
|
@@ -509,16 +509,30 @@ function ActionComponent({ action }) {
|
|
|
509
509
|
children,
|
|
510
510
|
href,
|
|
511
511
|
onClick,
|
|
512
|
+
asButton,
|
|
513
|
+
variant,
|
|
514
|
+
size,
|
|
512
515
|
className: actionClassName,
|
|
513
516
|
...pressableProps
|
|
514
517
|
} = action;
|
|
518
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
519
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
520
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
515
521
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
516
522
|
pressable.Pressable,
|
|
517
523
|
{
|
|
518
524
|
href,
|
|
519
525
|
onClick,
|
|
520
|
-
asButton:
|
|
521
|
-
|
|
526
|
+
asButton: shouldStyleAsButton,
|
|
527
|
+
variant: resolvedVariant,
|
|
528
|
+
size: resolvedSize,
|
|
529
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
530
|
+
"data-variant": resolvedVariant,
|
|
531
|
+
"data-size": resolvedSize,
|
|
532
|
+
className: cn(
|
|
533
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
534
|
+
actionClassName
|
|
535
|
+
),
|
|
522
536
|
...pressableProps,
|
|
523
537
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
524
538
|
icon,
|
|
@@ -6,7 +6,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import { Img } from '@page-speed/img';
|
|
8
8
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
9
|
-
import { Pressable } from '@page-speed/pressable';
|
|
9
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
10
10
|
|
|
11
11
|
// components/blocks/hero/hero-testimonial-image-grid.tsx
|
|
12
12
|
function cn(...inputs) {
|
|
@@ -483,16 +483,30 @@ function ActionComponent({ action }) {
|
|
|
483
483
|
children,
|
|
484
484
|
href,
|
|
485
485
|
onClick,
|
|
486
|
+
asButton,
|
|
487
|
+
variant,
|
|
488
|
+
size,
|
|
486
489
|
className: actionClassName,
|
|
487
490
|
...pressableProps
|
|
488
491
|
} = action;
|
|
492
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
493
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
494
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
489
495
|
return /* @__PURE__ */ jsx(
|
|
490
496
|
Pressable,
|
|
491
497
|
{
|
|
492
498
|
href,
|
|
493
499
|
onClick,
|
|
494
|
-
asButton:
|
|
495
|
-
|
|
500
|
+
asButton: shouldStyleAsButton,
|
|
501
|
+
variant: resolvedVariant,
|
|
502
|
+
size: resolvedSize,
|
|
503
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
504
|
+
"data-variant": resolvedVariant,
|
|
505
|
+
"data-size": resolvedSize,
|
|
506
|
+
className: cn(
|
|
507
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
508
|
+
actionClassName
|
|
509
|
+
),
|
|
496
510
|
...pressableProps,
|
|
497
511
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
498
512
|
icon,
|
|
@@ -437,16 +437,30 @@ function ActionComponent({ action }) {
|
|
|
437
437
|
children,
|
|
438
438
|
href,
|
|
439
439
|
onClick,
|
|
440
|
+
asButton,
|
|
441
|
+
variant,
|
|
442
|
+
size,
|
|
440
443
|
className: actionClassName,
|
|
441
444
|
...pressableProps
|
|
442
445
|
} = action;
|
|
446
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
447
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
448
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
443
449
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
444
450
|
pressable.Pressable,
|
|
445
451
|
{
|
|
446
452
|
href,
|
|
447
453
|
onClick,
|
|
448
|
-
asButton:
|
|
449
|
-
|
|
454
|
+
asButton: shouldStyleAsButton,
|
|
455
|
+
variant: resolvedVariant,
|
|
456
|
+
size: resolvedSize,
|
|
457
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
458
|
+
"data-variant": resolvedVariant,
|
|
459
|
+
"data-size": resolvedSize,
|
|
460
|
+
className: cn(
|
|
461
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
462
|
+
actionClassName
|
|
463
|
+
),
|
|
450
464
|
...pressableProps,
|
|
451
465
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
452
466
|
icon,
|
|
@@ -4,7 +4,7 @@ import { clsx } from 'clsx';
|
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { Img } from '@page-speed/img';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
-
import { Pressable } from '@page-speed/pressable';
|
|
7
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
8
8
|
|
|
9
9
|
// components/blocks/hero/hero-therapy-testimonial-grid.tsx
|
|
10
10
|
function cn(...inputs) {
|
|
@@ -431,16 +431,30 @@ function ActionComponent({ action }) {
|
|
|
431
431
|
children,
|
|
432
432
|
href,
|
|
433
433
|
onClick,
|
|
434
|
+
asButton,
|
|
435
|
+
variant,
|
|
436
|
+
size,
|
|
434
437
|
className: actionClassName,
|
|
435
438
|
...pressableProps
|
|
436
439
|
} = action;
|
|
440
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
441
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
442
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
437
443
|
return /* @__PURE__ */ jsx(
|
|
438
444
|
Pressable,
|
|
439
445
|
{
|
|
440
446
|
href,
|
|
441
447
|
onClick,
|
|
442
|
-
asButton:
|
|
443
|
-
|
|
448
|
+
asButton: shouldStyleAsButton,
|
|
449
|
+
variant: resolvedVariant,
|
|
450
|
+
size: resolvedSize,
|
|
451
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
452
|
+
"data-variant": resolvedVariant,
|
|
453
|
+
"data-size": resolvedSize,
|
|
454
|
+
className: cn(
|
|
455
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
456
|
+
actionClassName
|
|
457
|
+
),
|
|
444
458
|
...pressableProps,
|
|
445
459
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
446
460
|
icon,
|
|
@@ -462,16 +462,30 @@ function ActionComponent({ action }) {
|
|
|
462
462
|
children,
|
|
463
463
|
href,
|
|
464
464
|
onClick,
|
|
465
|
+
asButton,
|
|
466
|
+
variant,
|
|
467
|
+
size,
|
|
465
468
|
className: actionClassName,
|
|
466
469
|
...pressableProps
|
|
467
470
|
} = action;
|
|
471
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
472
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
473
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
468
474
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
469
475
|
pressable.Pressable,
|
|
470
476
|
{
|
|
471
477
|
href,
|
|
472
478
|
onClick,
|
|
473
|
-
asButton:
|
|
474
|
-
|
|
479
|
+
asButton: shouldStyleAsButton,
|
|
480
|
+
variant: resolvedVariant,
|
|
481
|
+
size: resolvedSize,
|
|
482
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
483
|
+
"data-variant": resolvedVariant,
|
|
484
|
+
"data-size": resolvedSize,
|
|
485
|
+
className: cn(
|
|
486
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
487
|
+
actionClassName
|
|
488
|
+
),
|
|
475
489
|
...pressableProps,
|
|
476
490
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
477
491
|
icon,
|
|
@@ -5,7 +5,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
5
5
|
import { Img } from '@page-speed/img';
|
|
6
6
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
-
import { Pressable } from '@page-speed/pressable';
|
|
8
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
9
9
|
|
|
10
10
|
// components/blocks/hero/hero-ui-library-showcase.tsx
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -437,16 +437,30 @@ function ActionComponent({ action }) {
|
|
|
437
437
|
children,
|
|
438
438
|
href,
|
|
439
439
|
onClick,
|
|
440
|
+
asButton,
|
|
441
|
+
variant,
|
|
442
|
+
size,
|
|
440
443
|
className: actionClassName,
|
|
441
444
|
...pressableProps
|
|
442
445
|
} = action;
|
|
446
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
447
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
448
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
443
449
|
return /* @__PURE__ */ jsx(
|
|
444
450
|
Pressable,
|
|
445
451
|
{
|
|
446
452
|
href,
|
|
447
453
|
onClick,
|
|
448
|
-
asButton:
|
|
449
|
-
|
|
454
|
+
asButton: shouldStyleAsButton,
|
|
455
|
+
variant: resolvedVariant,
|
|
456
|
+
size: resolvedSize,
|
|
457
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
458
|
+
"data-variant": resolvedVariant,
|
|
459
|
+
"data-size": resolvedSize,
|
|
460
|
+
className: cn(
|
|
461
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
462
|
+
actionClassName
|
|
463
|
+
),
|
|
450
464
|
...pressableProps,
|
|
451
465
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
452
466
|
icon,
|
|
@@ -6,9 +6,9 @@ var video = require('@page-speed/video');
|
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var tailwindMerge = require('tailwind-merge');
|
|
8
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
+
var pressable = require('@page-speed/pressable');
|
|
9
10
|
var reactSlot = require('@radix-ui/react-slot');
|
|
10
11
|
var classVarianceAuthority = require('class-variance-authority');
|
|
11
|
-
var pressable = require('@page-speed/pressable');
|
|
12
12
|
|
|
13
13
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
|
|
@@ -532,16 +532,30 @@ function ActionComponent({ action }) {
|
|
|
532
532
|
children,
|
|
533
533
|
href,
|
|
534
534
|
onClick,
|
|
535
|
+
asButton,
|
|
536
|
+
variant,
|
|
537
|
+
size,
|
|
535
538
|
className: actionClassName,
|
|
536
539
|
...pressableProps
|
|
537
540
|
} = action;
|
|
541
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
542
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
543
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
538
544
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
539
545
|
pressable.Pressable,
|
|
540
546
|
{
|
|
541
547
|
href,
|
|
542
548
|
onClick,
|
|
543
|
-
asButton:
|
|
544
|
-
|
|
549
|
+
asButton: shouldStyleAsButton,
|
|
550
|
+
variant: resolvedVariant,
|
|
551
|
+
size: resolvedSize,
|
|
552
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
553
|
+
"data-variant": resolvedVariant,
|
|
554
|
+
"data-size": resolvedSize,
|
|
555
|
+
className: cn(
|
|
556
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
557
|
+
actionClassName
|
|
558
|
+
),
|
|
545
559
|
...pressableProps,
|
|
546
560
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
547
561
|
icon,
|
|
@@ -4,9 +4,9 @@ import { Video } from '@page-speed/video';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
7
8
|
import { Slot } from '@radix-ui/react-slot';
|
|
8
9
|
import { cva } from 'class-variance-authority';
|
|
9
|
-
import { Pressable } from '@page-speed/pressable';
|
|
10
10
|
|
|
11
11
|
// components/blocks/hero/hero-video-background-dark.tsx
|
|
12
12
|
function cn(...inputs) {
|
|
@@ -526,16 +526,30 @@ function ActionComponent({ action }) {
|
|
|
526
526
|
children,
|
|
527
527
|
href,
|
|
528
528
|
onClick,
|
|
529
|
+
asButton,
|
|
530
|
+
variant,
|
|
531
|
+
size,
|
|
529
532
|
className: actionClassName,
|
|
530
533
|
...pressableProps
|
|
531
534
|
} = action;
|
|
535
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
536
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
537
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
532
538
|
return /* @__PURE__ */ jsx(
|
|
533
539
|
Pressable,
|
|
534
540
|
{
|
|
535
541
|
href,
|
|
536
542
|
onClick,
|
|
537
|
-
asButton:
|
|
538
|
-
|
|
543
|
+
asButton: shouldStyleAsButton,
|
|
544
|
+
variant: resolvedVariant,
|
|
545
|
+
size: resolvedSize,
|
|
546
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
547
|
+
"data-variant": resolvedVariant,
|
|
548
|
+
"data-size": resolvedSize,
|
|
549
|
+
className: cn(
|
|
550
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
551
|
+
actionClassName
|
|
552
|
+
),
|
|
539
553
|
...pressableProps,
|
|
540
554
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
541
555
|
icon,
|
|
@@ -525,16 +525,30 @@ function ActionComponent({ action }) {
|
|
|
525
525
|
children,
|
|
526
526
|
href,
|
|
527
527
|
onClick,
|
|
528
|
+
asButton,
|
|
529
|
+
variant,
|
|
530
|
+
size,
|
|
528
531
|
className: actionClassName,
|
|
529
532
|
...pressableProps
|
|
530
533
|
} = action;
|
|
534
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
535
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
536
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
531
537
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
532
538
|
pressable.Pressable,
|
|
533
539
|
{
|
|
534
540
|
href,
|
|
535
541
|
onClick,
|
|
536
|
-
asButton:
|
|
537
|
-
|
|
542
|
+
asButton: shouldStyleAsButton,
|
|
543
|
+
variant: resolvedVariant,
|
|
544
|
+
size: resolvedSize,
|
|
545
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
546
|
+
"data-variant": resolvedVariant,
|
|
547
|
+
"data-size": resolvedSize,
|
|
548
|
+
className: cn(
|
|
549
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
550
|
+
actionClassName
|
|
551
|
+
),
|
|
538
552
|
...pressableProps,
|
|
539
553
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
540
554
|
icon,
|
|
@@ -10,7 +10,7 @@ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
|
10
10
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
12
12
|
import { Icon } from '@page-speed/icon';
|
|
13
|
-
import { Pressable } from '@page-speed/pressable';
|
|
13
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
14
14
|
|
|
15
15
|
// components/blocks/hero/hero-video-dialog-gradient.tsx
|
|
16
16
|
function cn(...inputs) {
|
|
@@ -502,16 +502,30 @@ function ActionComponent({ action }) {
|
|
|
502
502
|
children,
|
|
503
503
|
href,
|
|
504
504
|
onClick,
|
|
505
|
+
asButton,
|
|
506
|
+
variant,
|
|
507
|
+
size,
|
|
505
508
|
className: actionClassName,
|
|
506
509
|
...pressableProps
|
|
507
510
|
} = action;
|
|
511
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
512
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
513
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
508
514
|
return /* @__PURE__ */ jsx(
|
|
509
515
|
Pressable,
|
|
510
516
|
{
|
|
511
517
|
href,
|
|
512
518
|
onClick,
|
|
513
|
-
asButton:
|
|
514
|
-
|
|
519
|
+
asButton: shouldStyleAsButton,
|
|
520
|
+
variant: resolvedVariant,
|
|
521
|
+
size: resolvedSize,
|
|
522
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
523
|
+
"data-variant": resolvedVariant,
|
|
524
|
+
"data-size": resolvedSize,
|
|
525
|
+
className: cn(
|
|
526
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
527
|
+
actionClassName
|
|
528
|
+
),
|
|
515
529
|
...pressableProps,
|
|
516
530
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
517
531
|
icon,
|
|
@@ -467,16 +467,30 @@ function ActionComponent({ action }) {
|
|
|
467
467
|
children,
|
|
468
468
|
href,
|
|
469
469
|
onClick,
|
|
470
|
+
asButton,
|
|
471
|
+
variant,
|
|
472
|
+
size,
|
|
470
473
|
className: actionClassName,
|
|
471
474
|
...pressableProps
|
|
472
475
|
} = action;
|
|
476
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
477
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
478
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
473
479
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
474
480
|
pressable.Pressable,
|
|
475
481
|
{
|
|
476
482
|
href,
|
|
477
483
|
onClick,
|
|
478
|
-
asButton:
|
|
479
|
-
|
|
484
|
+
asButton: shouldStyleAsButton,
|
|
485
|
+
variant: resolvedVariant,
|
|
486
|
+
size: resolvedSize,
|
|
487
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
488
|
+
"data-variant": resolvedVariant,
|
|
489
|
+
"data-size": resolvedSize,
|
|
490
|
+
className: cn(
|
|
491
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
492
|
+
actionClassName
|
|
493
|
+
),
|
|
480
494
|
...pressableProps,
|
|
481
495
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
482
496
|
icon,
|