@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
|
@@ -8,9 +8,9 @@ var img = require('@page-speed/img');
|
|
|
8
8
|
var icon = require('@page-speed/icon');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
10
|
var TabsPrimitive = require('@radix-ui/react-tabs');
|
|
11
|
+
var pressable = require('@page-speed/pressable');
|
|
11
12
|
var reactSlot = require('@radix-ui/react-slot');
|
|
12
13
|
var classVarianceAuthority = require('class-variance-authority');
|
|
13
|
-
var pressable = require('@page-speed/pressable');
|
|
14
14
|
|
|
15
15
|
function _interopNamespace(e) {
|
|
16
16
|
if (e && e.__esModule) return e;
|
|
@@ -616,16 +616,30 @@ function ActionComponent({ action }) {
|
|
|
616
616
|
children,
|
|
617
617
|
href,
|
|
618
618
|
onClick,
|
|
619
|
+
asButton,
|
|
620
|
+
variant,
|
|
621
|
+
size,
|
|
619
622
|
className: actionClassName,
|
|
620
623
|
...pressableProps
|
|
621
624
|
} = action;
|
|
625
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
626
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
627
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
622
628
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
623
629
|
pressable.Pressable,
|
|
624
630
|
{
|
|
625
631
|
href,
|
|
626
632
|
onClick,
|
|
627
|
-
asButton:
|
|
628
|
-
|
|
633
|
+
asButton: shouldStyleAsButton,
|
|
634
|
+
variant: resolvedVariant,
|
|
635
|
+
size: resolvedSize,
|
|
636
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
637
|
+
"data-variant": resolvedVariant,
|
|
638
|
+
"data-size": resolvedSize,
|
|
639
|
+
className: cn(
|
|
640
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
641
|
+
actionClassName
|
|
642
|
+
),
|
|
629
643
|
...pressableProps,
|
|
630
644
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
631
645
|
icon,
|
|
@@ -7,9 +7,9 @@ import { Img } from '@page-speed/img';
|
|
|
7
7
|
import { Icon } from '@page-speed/icon';
|
|
8
8
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
10
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
10
11
|
import { Slot } from '@radix-ui/react-slot';
|
|
11
12
|
import { cva } from 'class-variance-authority';
|
|
12
|
-
import { Pressable } from '@page-speed/pressable';
|
|
13
13
|
|
|
14
14
|
// components/blocks/about/about-culture-tabs.tsx
|
|
15
15
|
function cn(...inputs) {
|
|
@@ -594,16 +594,30 @@ function ActionComponent({ action }) {
|
|
|
594
594
|
children,
|
|
595
595
|
href,
|
|
596
596
|
onClick,
|
|
597
|
+
asButton,
|
|
598
|
+
variant,
|
|
599
|
+
size,
|
|
597
600
|
className: actionClassName,
|
|
598
601
|
...pressableProps
|
|
599
602
|
} = action;
|
|
603
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
604
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
605
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
600
606
|
return /* @__PURE__ */ jsx(
|
|
601
607
|
Pressable,
|
|
602
608
|
{
|
|
603
609
|
href,
|
|
604
610
|
onClick,
|
|
605
|
-
asButton:
|
|
606
|
-
|
|
611
|
+
asButton: shouldStyleAsButton,
|
|
612
|
+
variant: resolvedVariant,
|
|
613
|
+
size: resolvedSize,
|
|
614
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
615
|
+
"data-variant": resolvedVariant,
|
|
616
|
+
"data-size": resolvedSize,
|
|
617
|
+
className: cn(
|
|
618
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
619
|
+
actionClassName
|
|
620
|
+
),
|
|
607
621
|
...pressableProps,
|
|
608
622
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
609
623
|
icon,
|
|
@@ -6,10 +6,10 @@ 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
12
|
var icon = require('@page-speed/icon');
|
|
12
|
-
var pressable = require('@page-speed/pressable');
|
|
13
13
|
var usePlatformFromUrl = require('@opensite/hooks/usePlatformFromUrl');
|
|
14
14
|
|
|
15
15
|
function _interopNamespace(e) {
|
|
@@ -590,16 +590,30 @@ function ActionComponent({ action }) {
|
|
|
590
590
|
children,
|
|
591
591
|
href,
|
|
592
592
|
onClick,
|
|
593
|
+
asButton,
|
|
594
|
+
variant,
|
|
595
|
+
size,
|
|
593
596
|
className: actionClassName,
|
|
594
597
|
...pressableProps
|
|
595
598
|
} = action;
|
|
599
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
600
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
601
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
596
602
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
597
603
|
pressable.Pressable,
|
|
598
604
|
{
|
|
599
605
|
href,
|
|
600
606
|
onClick,
|
|
601
|
-
asButton:
|
|
602
|
-
|
|
607
|
+
asButton: shouldStyleAsButton,
|
|
608
|
+
variant: resolvedVariant,
|
|
609
|
+
size: resolvedSize,
|
|
610
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
611
|
+
"data-variant": resolvedVariant,
|
|
612
|
+
"data-size": resolvedSize,
|
|
613
|
+
className: cn(
|
|
614
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
615
|
+
actionClassName
|
|
616
|
+
),
|
|
603
617
|
...pressableProps,
|
|
604
618
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
605
619
|
icon,
|
|
@@ -5,10 +5,10 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
8
9
|
import { Slot } from '@radix-ui/react-slot';
|
|
9
10
|
import { cva } from 'class-variance-authority';
|
|
10
11
|
import { Icon } from '@page-speed/icon';
|
|
11
|
-
import { Pressable } from '@page-speed/pressable';
|
|
12
12
|
import { usePlatformFromUrl } from '@opensite/hooks/usePlatformFromUrl';
|
|
13
13
|
|
|
14
14
|
// components/blocks/about/about-developer-profile.tsx
|
|
@@ -569,16 +569,30 @@ function ActionComponent({ action }) {
|
|
|
569
569
|
children,
|
|
570
570
|
href,
|
|
571
571
|
onClick,
|
|
572
|
+
asButton,
|
|
573
|
+
variant,
|
|
574
|
+
size,
|
|
572
575
|
className: actionClassName,
|
|
573
576
|
...pressableProps
|
|
574
577
|
} = action;
|
|
578
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
579
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
580
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
575
581
|
return /* @__PURE__ */ jsx(
|
|
576
582
|
Pressable,
|
|
577
583
|
{
|
|
578
584
|
href,
|
|
579
585
|
onClick,
|
|
580
|
-
asButton:
|
|
581
|
-
|
|
586
|
+
asButton: shouldStyleAsButton,
|
|
587
|
+
variant: resolvedVariant,
|
|
588
|
+
size: resolvedSize,
|
|
589
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
590
|
+
"data-variant": resolvedVariant,
|
|
591
|
+
"data-size": resolvedSize,
|
|
592
|
+
className: cn(
|
|
593
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
594
|
+
actionClassName
|
|
595
|
+
),
|
|
582
596
|
...pressableProps,
|
|
583
597
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
584
598
|
icon,
|
|
@@ -485,16 +485,30 @@ function ActionComponent({ action }) {
|
|
|
485
485
|
children,
|
|
486
486
|
href,
|
|
487
487
|
onClick,
|
|
488
|
+
asButton,
|
|
489
|
+
variant,
|
|
490
|
+
size,
|
|
488
491
|
className: actionClassName,
|
|
489
492
|
...pressableProps
|
|
490
493
|
} = action;
|
|
494
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
495
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
496
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
491
497
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
492
498
|
pressable.Pressable,
|
|
493
499
|
{
|
|
494
500
|
href,
|
|
495
501
|
onClick,
|
|
496
|
-
asButton:
|
|
497
|
-
|
|
502
|
+
asButton: shouldStyleAsButton,
|
|
503
|
+
variant: resolvedVariant,
|
|
504
|
+
size: resolvedSize,
|
|
505
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
506
|
+
"data-variant": resolvedVariant,
|
|
507
|
+
"data-size": resolvedSize,
|
|
508
|
+
className: cn(
|
|
509
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
510
|
+
actionClassName
|
|
511
|
+
),
|
|
498
512
|
...pressableProps,
|
|
499
513
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
500
514
|
icon,
|
|
@@ -5,7 +5,7 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
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/about/about-developer-story.tsx
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -464,16 +464,30 @@ function ActionComponent({ action }) {
|
|
|
464
464
|
children,
|
|
465
465
|
href,
|
|
466
466
|
onClick,
|
|
467
|
+
asButton,
|
|
468
|
+
variant,
|
|
469
|
+
size,
|
|
467
470
|
className: actionClassName,
|
|
468
471
|
...pressableProps
|
|
469
472
|
} = action;
|
|
473
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
474
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
475
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
470
476
|
return /* @__PURE__ */ jsx(
|
|
471
477
|
Pressable,
|
|
472
478
|
{
|
|
473
479
|
href,
|
|
474
480
|
onClick,
|
|
475
|
-
asButton:
|
|
476
|
-
|
|
481
|
+
asButton: shouldStyleAsButton,
|
|
482
|
+
variant: resolvedVariant,
|
|
483
|
+
size: resolvedSize,
|
|
484
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
485
|
+
"data-variant": resolvedVariant,
|
|
486
|
+
"data-size": resolvedSize,
|
|
487
|
+
className: cn(
|
|
488
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
489
|
+
actionClassName
|
|
490
|
+
),
|
|
477
491
|
...pressableProps,
|
|
478
492
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
479
493
|
icon,
|
|
@@ -6,9 +6,9 @@ var clsx = require('clsx');
|
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var icon = require('@page-speed/icon');
|
|
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 _interopNamespace(e) {
|
|
14
14
|
if (e && e.__esModule) return e;
|
|
@@ -500,16 +500,30 @@ function ActionComponent({ action }) {
|
|
|
500
500
|
children,
|
|
501
501
|
href,
|
|
502
502
|
onClick,
|
|
503
|
+
asButton,
|
|
504
|
+
variant,
|
|
505
|
+
size,
|
|
503
506
|
className: actionClassName,
|
|
504
507
|
...pressableProps
|
|
505
508
|
} = action;
|
|
509
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
510
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
511
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
506
512
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
507
513
|
pressable.Pressable,
|
|
508
514
|
{
|
|
509
515
|
href,
|
|
510
516
|
onClick,
|
|
511
|
-
asButton:
|
|
512
|
-
|
|
517
|
+
asButton: shouldStyleAsButton,
|
|
518
|
+
variant: resolvedVariant,
|
|
519
|
+
size: resolvedSize,
|
|
520
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
521
|
+
"data-variant": resolvedVariant,
|
|
522
|
+
"data-size": resolvedSize,
|
|
523
|
+
className: cn(
|
|
524
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
525
|
+
actionClassName
|
|
526
|
+
),
|
|
513
527
|
...pressableProps,
|
|
514
528
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
515
529
|
icon,
|
|
@@ -5,9 +5,9 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Icon } from '@page-speed/icon';
|
|
7
7
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
8
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
8
9
|
import { Slot } from '@radix-ui/react-slot';
|
|
9
10
|
import { cva } from 'class-variance-authority';
|
|
10
|
-
import { Pressable } from '@page-speed/pressable';
|
|
11
11
|
|
|
12
12
|
// components/blocks/about/about-expandable-values.tsx
|
|
13
13
|
function cn(...inputs) {
|
|
@@ -479,16 +479,30 @@ function ActionComponent({ action }) {
|
|
|
479
479
|
children,
|
|
480
480
|
href,
|
|
481
481
|
onClick,
|
|
482
|
+
asButton,
|
|
483
|
+
variant,
|
|
484
|
+
size,
|
|
482
485
|
className: actionClassName,
|
|
483
486
|
...pressableProps
|
|
484
487
|
} = action;
|
|
488
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
489
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
490
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
485
491
|
return /* @__PURE__ */ jsx(
|
|
486
492
|
Pressable,
|
|
487
493
|
{
|
|
488
494
|
href,
|
|
489
495
|
onClick,
|
|
490
|
-
asButton:
|
|
491
|
-
|
|
496
|
+
asButton: shouldStyleAsButton,
|
|
497
|
+
variant: resolvedVariant,
|
|
498
|
+
size: resolvedSize,
|
|
499
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
500
|
+
"data-variant": resolvedVariant,
|
|
501
|
+
"data-size": resolvedSize,
|
|
502
|
+
className: cn(
|
|
503
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
504
|
+
actionClassName
|
|
505
|
+
),
|
|
492
506
|
...pressableProps,
|
|
493
507
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
494
508
|
icon,
|
|
@@ -453,16 +453,30 @@ function ActionComponent({ action }) {
|
|
|
453
453
|
children,
|
|
454
454
|
href,
|
|
455
455
|
onClick,
|
|
456
|
+
asButton,
|
|
457
|
+
variant,
|
|
458
|
+
size,
|
|
456
459
|
className: actionClassName,
|
|
457
460
|
...pressableProps
|
|
458
461
|
} = action;
|
|
462
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
463
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
464
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
459
465
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
460
466
|
pressable.Pressable,
|
|
461
467
|
{
|
|
462
468
|
href,
|
|
463
469
|
onClick,
|
|
464
|
-
asButton:
|
|
465
|
-
|
|
470
|
+
asButton: shouldStyleAsButton,
|
|
471
|
+
variant: resolvedVariant,
|
|
472
|
+
size: resolvedSize,
|
|
473
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
474
|
+
"data-variant": resolvedVariant,
|
|
475
|
+
"data-size": resolvedSize,
|
|
476
|
+
className: cn(
|
|
477
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
478
|
+
actionClassName
|
|
479
|
+
),
|
|
466
480
|
...pressableProps,
|
|
467
481
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
468
482
|
icon,
|
|
@@ -5,7 +5,7 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
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/about/about-mission-dual-image.tsx
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -432,16 +432,30 @@ function ActionComponent({ action }) {
|
|
|
432
432
|
children,
|
|
433
433
|
href,
|
|
434
434
|
onClick,
|
|
435
|
+
asButton,
|
|
436
|
+
variant,
|
|
437
|
+
size,
|
|
435
438
|
className: actionClassName,
|
|
436
439
|
...pressableProps
|
|
437
440
|
} = action;
|
|
441
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
442
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
443
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
438
444
|
return /* @__PURE__ */ jsx(
|
|
439
445
|
Pressable,
|
|
440
446
|
{
|
|
441
447
|
href,
|
|
442
448
|
onClick,
|
|
443
|
-
asButton:
|
|
444
|
-
|
|
449
|
+
asButton: shouldStyleAsButton,
|
|
450
|
+
variant: resolvedVariant,
|
|
451
|
+
size: resolvedSize,
|
|
452
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
453
|
+
"data-variant": resolvedVariant,
|
|
454
|
+
"data-size": resolvedSize,
|
|
455
|
+
className: cn(
|
|
456
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
457
|
+
actionClassName
|
|
458
|
+
),
|
|
445
459
|
...pressableProps,
|
|
446
460
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
447
461
|
icon,
|
|
@@ -468,16 +468,30 @@ function ActionComponent({ action }) {
|
|
|
468
468
|
children,
|
|
469
469
|
href,
|
|
470
470
|
onClick,
|
|
471
|
+
asButton,
|
|
472
|
+
variant,
|
|
473
|
+
size,
|
|
471
474
|
className: actionClassName,
|
|
472
475
|
...pressableProps
|
|
473
476
|
} = action;
|
|
477
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
478
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
479
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
474
480
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
475
481
|
pressable.Pressable,
|
|
476
482
|
{
|
|
477
483
|
href,
|
|
478
484
|
onClick,
|
|
479
|
-
asButton:
|
|
480
|
-
|
|
485
|
+
asButton: shouldStyleAsButton,
|
|
486
|
+
variant: resolvedVariant,
|
|
487
|
+
size: resolvedSize,
|
|
488
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
489
|
+
"data-variant": resolvedVariant,
|
|
490
|
+
"data-size": resolvedSize,
|
|
491
|
+
className: cn(
|
|
492
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
493
|
+
actionClassName
|
|
494
|
+
),
|
|
481
495
|
...pressableProps,
|
|
482
496
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
483
497
|
icon,
|
|
@@ -7,7 +7,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
7
7
|
import { Img } from '@page-speed/img';
|
|
8
8
|
import { Icon } from '@page-speed/icon';
|
|
9
9
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
10
|
-
import { Pressable } from '@page-speed/pressable';
|
|
10
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
11
11
|
|
|
12
12
|
// components/blocks/about/about-network-spotlight.tsx
|
|
13
13
|
function cn(...inputs) {
|
|
@@ -447,16 +447,30 @@ function ActionComponent({ action }) {
|
|
|
447
447
|
children,
|
|
448
448
|
href,
|
|
449
449
|
onClick,
|
|
450
|
+
asButton,
|
|
451
|
+
variant,
|
|
452
|
+
size,
|
|
450
453
|
className: actionClassName,
|
|
451
454
|
...pressableProps
|
|
452
455
|
} = action;
|
|
456
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
457
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
458
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
453
459
|
return /* @__PURE__ */ jsx(
|
|
454
460
|
Pressable,
|
|
455
461
|
{
|
|
456
462
|
href,
|
|
457
463
|
onClick,
|
|
458
|
-
asButton:
|
|
459
|
-
|
|
464
|
+
asButton: shouldStyleAsButton,
|
|
465
|
+
variant: resolvedVariant,
|
|
466
|
+
size: resolvedSize,
|
|
467
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
468
|
+
"data-variant": resolvedVariant,
|
|
469
|
+
"data-size": resolvedSize,
|
|
470
|
+
className: cn(
|
|
471
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
472
|
+
actionClassName
|
|
473
|
+
),
|
|
460
474
|
...pressableProps,
|
|
461
475
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
462
476
|
icon,
|
|
@@ -7,8 +7,8 @@ var clsx = require('clsx');
|
|
|
7
7
|
var tailwindMerge = require('tailwind-merge');
|
|
8
8
|
var img = require('@page-speed/img');
|
|
9
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
|
-
var icon = require('@page-speed/icon');
|
|
11
10
|
var pressable = require('@page-speed/pressable');
|
|
11
|
+
var icon = require('@page-speed/icon');
|
|
12
12
|
|
|
13
13
|
function _interopNamespace(e) {
|
|
14
14
|
if (e && e.__esModule) return e;
|
|
@@ -468,16 +468,30 @@ function ActionComponent({ action }) {
|
|
|
468
468
|
children,
|
|
469
469
|
href,
|
|
470
470
|
onClick,
|
|
471
|
+
asButton,
|
|
472
|
+
variant,
|
|
473
|
+
size,
|
|
471
474
|
className: actionClassName,
|
|
472
475
|
...pressableProps
|
|
473
476
|
} = action;
|
|
477
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
478
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
479
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
474
480
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
475
481
|
pressable.Pressable,
|
|
476
482
|
{
|
|
477
483
|
href,
|
|
478
484
|
onClick,
|
|
479
|
-
asButton:
|
|
480
|
-
|
|
485
|
+
asButton: shouldStyleAsButton,
|
|
486
|
+
variant: resolvedVariant,
|
|
487
|
+
size: resolvedSize,
|
|
488
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
489
|
+
"data-variant": resolvedVariant,
|
|
490
|
+
"data-size": resolvedSize,
|
|
491
|
+
className: cn(
|
|
492
|
+
shouldStyleAsButton && pressable.buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
493
|
+
actionClassName
|
|
494
|
+
),
|
|
481
495
|
...pressableProps,
|
|
482
496
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
483
497
|
icon,
|
|
@@ -6,8 +6,8 @@ import { clsx } from 'clsx';
|
|
|
6
6
|
import { twMerge } from 'tailwind-merge';
|
|
7
7
|
import { Img } from '@page-speed/img';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
9
10
|
import { Icon } from '@page-speed/icon';
|
|
10
|
-
import { Pressable } from '@page-speed/pressable';
|
|
11
11
|
|
|
12
12
|
// components/blocks/about/about-story-expertise.tsx
|
|
13
13
|
function cn(...inputs) {
|
|
@@ -447,16 +447,30 @@ function ActionComponent({ action }) {
|
|
|
447
447
|
children,
|
|
448
448
|
href,
|
|
449
449
|
onClick,
|
|
450
|
+
asButton,
|
|
451
|
+
variant,
|
|
452
|
+
size,
|
|
450
453
|
className: actionClassName,
|
|
451
454
|
...pressableProps
|
|
452
455
|
} = action;
|
|
456
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
457
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
458
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
453
459
|
return /* @__PURE__ */ jsx(
|
|
454
460
|
Pressable,
|
|
455
461
|
{
|
|
456
462
|
href,
|
|
457
463
|
onClick,
|
|
458
|
-
asButton:
|
|
459
|
-
|
|
464
|
+
asButton: shouldStyleAsButton,
|
|
465
|
+
variant: resolvedVariant,
|
|
466
|
+
size: resolvedSize,
|
|
467
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
468
|
+
"data-variant": resolvedVariant,
|
|
469
|
+
"data-size": resolvedSize,
|
|
470
|
+
className: cn(
|
|
471
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
472
|
+
actionClassName
|
|
473
|
+
),
|
|
460
474
|
...pressableProps,
|
|
461
475
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
462
476
|
icon,
|
|
@@ -6,8 +6,8 @@ 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 icon = require('@page-speed/icon');
|
|
10
9
|
var pressable = require('@page-speed/pressable');
|
|
10
|
+
var icon = require('@page-speed/icon');
|
|
11
11
|
|
|
12
12
|
function _interopNamespace(e) {
|
|
13
13
|
if (e && e.__esModule) return e;
|
|
@@ -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,
|
|
@@ -5,8 +5,8 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
|
+
import { Pressable, buttonVariants } from '@page-speed/pressable';
|
|
8
9
|
import { Icon } from '@page-speed/icon';
|
|
9
|
-
import { Pressable } from '@page-speed/pressable';
|
|
10
10
|
|
|
11
11
|
// components/blocks/about/about-streamline-team.tsx
|
|
12
12
|
function cn(...inputs) {
|
|
@@ -446,16 +446,30 @@ function ActionComponent({ action }) {
|
|
|
446
446
|
children,
|
|
447
447
|
href,
|
|
448
448
|
onClick,
|
|
449
|
+
asButton,
|
|
450
|
+
variant,
|
|
451
|
+
size,
|
|
449
452
|
className: actionClassName,
|
|
450
453
|
...pressableProps
|
|
451
454
|
} = action;
|
|
455
|
+
const shouldStyleAsButton = asButton ?? true;
|
|
456
|
+
const resolvedVariant = shouldStyleAsButton ? variant ?? "default" : void 0;
|
|
457
|
+
const resolvedSize = shouldStyleAsButton ? size ?? "default" : void 0;
|
|
452
458
|
return /* @__PURE__ */ jsx(
|
|
453
459
|
Pressable,
|
|
454
460
|
{
|
|
455
461
|
href,
|
|
456
462
|
onClick,
|
|
457
|
-
asButton:
|
|
458
|
-
|
|
463
|
+
asButton: shouldStyleAsButton,
|
|
464
|
+
variant: resolvedVariant,
|
|
465
|
+
size: resolvedSize,
|
|
466
|
+
"data-slot": shouldStyleAsButton ? "button" : void 0,
|
|
467
|
+
"data-variant": resolvedVariant,
|
|
468
|
+
"data-size": resolvedSize,
|
|
469
|
+
className: cn(
|
|
470
|
+
shouldStyleAsButton && buttonVariants({ variant: resolvedVariant, size: resolvedSize }),
|
|
471
|
+
actionClassName
|
|
472
|
+
),
|
|
459
473
|
...pressableProps,
|
|
460
474
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
461
475
|
icon,
|