@opensite/ui 0.7.9 → 0.8.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.
@@ -1529,6 +1529,50 @@ var Pressable = React4__namespace.forwardRef(
1529
1529
  }
1530
1530
  );
1531
1531
  Pressable.displayName = "Pressable";
1532
+ function CarouselPagination({
1533
+ onPrevious,
1534
+ onNext,
1535
+ canScrollPrevious = true,
1536
+ canScrollNext = true,
1537
+ iconSize = 24,
1538
+ className,
1539
+ buttonClassName,
1540
+ previousIcon = "lucide/arrow-left",
1541
+ nextIcon = "lucide/arrow-right",
1542
+ previousAriaLabel = "Previous",
1543
+ nextAriaLabel = "Next"
1544
+ }) {
1545
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex justify-end gap-2", className), children: [
1546
+ /* @__PURE__ */ jsxRuntime.jsx(
1547
+ Pressable,
1548
+ {
1549
+ onClick: onPrevious,
1550
+ disabled: !canScrollPrevious,
1551
+ "aria-label": previousAriaLabel,
1552
+ asButton: true,
1553
+ className: cn(
1554
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1555
+ buttonClassName
1556
+ ),
1557
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: previousIcon, size: iconSize })
1558
+ }
1559
+ ),
1560
+ /* @__PURE__ */ jsxRuntime.jsx(
1561
+ Pressable,
1562
+ {
1563
+ onClick: onNext,
1564
+ disabled: !canScrollNext,
1565
+ "aria-label": nextAriaLabel,
1566
+ asButton: true,
1567
+ className: cn(
1568
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1569
+ buttonClassName
1570
+ ),
1571
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: nextIcon, size: iconSize })
1572
+ }
1573
+ )
1574
+ ] });
1575
+ }
1532
1576
  function AlternatingBlocks({
1533
1577
  sections,
1534
1578
  sectionsSlot,
@@ -4515,6 +4559,7 @@ exports.CardDescription = CardDescription;
4515
4559
  exports.CardFooter = CardFooter;
4516
4560
  exports.CardHeader = CardHeader;
4517
4561
  exports.CardTitle = CardTitle;
4562
+ exports.CarouselPagination = CarouselPagination;
4518
4563
  exports.CommunityInitiatives = CommunityInitiatives;
4519
4564
  exports.Container = Container;
4520
4565
  exports.DynamicIcon = DynamicIcon;
@@ -8,6 +8,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
8
8
  export { Badge } from './badge.cjs';
9
9
  export { Popover, PopoverContent, PopoverTrigger } from './popover.cjs';
10
10
  export { DynamicIcon } from './dynamic-icon.cjs';
11
+ export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.cjs';
11
12
  export { Pressable, PressableProps } from './pressable.cjs';
12
13
  export { AlternatingBlocks } from './alternating-blocks.cjs';
13
14
  export { c as AboutCultureTabs, p as AboutCultureTabsProps, b as AboutExpandableValues, n as AboutExpandableValuesProps, a as AboutMissionPrinciples, m as AboutMissionPrinciplesProps, A as AboutSplitHero, l as AboutSplitHeroProps, k as AlternatingBlockSection, j as AlternatingBlocksProps, h as AnimatedDialogProps, i as AnimatedDialogSize, C as CommunityInitiatives, o as CommunityInitiativesProps, e as ContainerMaxWidth, d as ContainerProps, q as MediaHoverCtaItem, r as MediaHoverCtaType, M as MediaHoverCtasProps, P as PageHeroBannerProps, f as SectionBackground, S as SectionProps, g as SectionSpacing } from './community-initiatives-CES_LEJI.cjs';
@@ -8,6 +8,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
8
8
  export { Badge } from './badge.js';
9
9
  export { Popover, PopoverContent, PopoverTrigger } from './popover.js';
10
10
  export { DynamicIcon } from './dynamic-icon.js';
11
+ export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.js';
11
12
  export { Pressable, PressableProps } from './pressable.js';
12
13
  export { AlternatingBlocks } from './alternating-blocks.js';
13
14
  export { c as AboutCultureTabs, p as AboutCultureTabsProps, b as AboutExpandableValues, n as AboutExpandableValuesProps, a as AboutMissionPrinciples, m as AboutMissionPrinciplesProps, A as AboutSplitHero, l as AboutSplitHeroProps, k as AlternatingBlockSection, j as AlternatingBlocksProps, h as AnimatedDialogProps, i as AnimatedDialogSize, C as CommunityInitiatives, o as CommunityInitiativesProps, e as ContainerMaxWidth, d as ContainerProps, q as MediaHoverCtaItem, r as MediaHoverCtaType, M as MediaHoverCtasProps, P as PageHeroBannerProps, f as SectionBackground, S as SectionProps, g as SectionSpacing } from './community-initiatives-BRz60ABw.js';
@@ -1506,6 +1506,50 @@ var Pressable = React4.forwardRef(
1506
1506
  }
1507
1507
  );
1508
1508
  Pressable.displayName = "Pressable";
1509
+ function CarouselPagination({
1510
+ onPrevious,
1511
+ onNext,
1512
+ canScrollPrevious = true,
1513
+ canScrollNext = true,
1514
+ iconSize = 24,
1515
+ className,
1516
+ buttonClassName,
1517
+ previousIcon = "lucide/arrow-left",
1518
+ nextIcon = "lucide/arrow-right",
1519
+ previousAriaLabel = "Previous",
1520
+ nextAriaLabel = "Next"
1521
+ }) {
1522
+ return /* @__PURE__ */ jsxs("div", { className: cn("flex justify-end gap-2", className), children: [
1523
+ /* @__PURE__ */ jsx(
1524
+ Pressable,
1525
+ {
1526
+ onClick: onPrevious,
1527
+ disabled: !canScrollPrevious,
1528
+ "aria-label": previousAriaLabel,
1529
+ asButton: true,
1530
+ className: cn(
1531
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1532
+ buttonClassName
1533
+ ),
1534
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: previousIcon, size: iconSize })
1535
+ }
1536
+ ),
1537
+ /* @__PURE__ */ jsx(
1538
+ Pressable,
1539
+ {
1540
+ onClick: onNext,
1541
+ disabled: !canScrollNext,
1542
+ "aria-label": nextAriaLabel,
1543
+ asButton: true,
1544
+ className: cn(
1545
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1546
+ buttonClassName
1547
+ ),
1548
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: nextIcon, size: iconSize })
1549
+ }
1550
+ )
1551
+ ] });
1552
+ }
1509
1553
  function AlternatingBlocks({
1510
1554
  sections,
1511
1555
  sectionsSlot,
@@ -4478,4 +4522,4 @@ function FooterNavSocial({
4478
4522
  );
4479
4523
  }
4480
4524
 
4481
- export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, ImageSlider, MediaHoverCtas, PageHeroBanner, Popover, PopoverContent, PopoverTrigger, Pressable, Section };
4525
+ export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CarouselPagination, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, ImageSlider, MediaHoverCtas, PageHeroBanner, Popover, PopoverContent, PopoverTrigger, Pressable, Section };
package/dist/index.cjs CHANGED
@@ -1530,6 +1530,50 @@ var Pressable = React4__namespace.forwardRef(
1530
1530
  }
1531
1531
  );
1532
1532
  Pressable.displayName = "Pressable";
1533
+ function CarouselPagination({
1534
+ onPrevious,
1535
+ onNext,
1536
+ canScrollPrevious = true,
1537
+ canScrollNext = true,
1538
+ iconSize = 24,
1539
+ className,
1540
+ buttonClassName,
1541
+ previousIcon = "lucide/arrow-left",
1542
+ nextIcon = "lucide/arrow-right",
1543
+ previousAriaLabel = "Previous",
1544
+ nextAriaLabel = "Next"
1545
+ }) {
1546
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex justify-end gap-2", className), children: [
1547
+ /* @__PURE__ */ jsxRuntime.jsx(
1548
+ Pressable,
1549
+ {
1550
+ onClick: onPrevious,
1551
+ disabled: !canScrollPrevious,
1552
+ "aria-label": previousAriaLabel,
1553
+ asButton: true,
1554
+ className: cn(
1555
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1556
+ buttonClassName
1557
+ ),
1558
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: previousIcon, size: iconSize })
1559
+ }
1560
+ ),
1561
+ /* @__PURE__ */ jsxRuntime.jsx(
1562
+ Pressable,
1563
+ {
1564
+ onClick: onNext,
1565
+ disabled: !canScrollNext,
1566
+ "aria-label": nextAriaLabel,
1567
+ asButton: true,
1568
+ className: cn(
1569
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1570
+ buttonClassName
1571
+ ),
1572
+ children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: nextIcon, size: iconSize })
1573
+ }
1574
+ )
1575
+ ] });
1576
+ }
1533
1577
  function AlternatingBlocks({
1534
1578
  sections,
1535
1579
  sectionsSlot,
@@ -4516,6 +4560,7 @@ exports.CardDescription = CardDescription;
4516
4560
  exports.CardFooter = CardFooter;
4517
4561
  exports.CardHeader = CardHeader;
4518
4562
  exports.CardTitle = CardTitle;
4563
+ exports.CarouselPagination = CarouselPagination;
4519
4564
  exports.CommunityInitiatives = CommunityInitiatives;
4520
4565
  exports.Container = Container;
4521
4566
  exports.DynamicIcon = DynamicIcon;
package/dist/index.d.cts CHANGED
@@ -8,6 +8,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
8
8
  export { Badge } from './badge.cjs';
9
9
  export { Popover, PopoverContent, PopoverTrigger } from './popover.cjs';
10
10
  export { DynamicIcon } from './dynamic-icon.cjs';
11
+ export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.cjs';
11
12
  export { Pressable, PressableProps } from './pressable.cjs';
12
13
  export { AlternatingBlocks } from './alternating-blocks.cjs';
13
14
  export { c as AboutCultureTabs, p as AboutCultureTabsProps, b as AboutExpandableValues, n as AboutExpandableValuesProps, a as AboutMissionPrinciples, m as AboutMissionPrinciplesProps, A as AboutSplitHero, l as AboutSplitHeroProps, k as AlternatingBlockSection, j as AlternatingBlocksProps, h as AnimatedDialogProps, i as AnimatedDialogSize, C as CommunityInitiatives, o as CommunityInitiativesProps, e as ContainerMaxWidth, d as ContainerProps, D as DirectionConfig, F as FeatureShowcaseItem, s as FeatureShowcaseProps, q as MediaHoverCtaItem, r as MediaHoverCtaType, M as MediaHoverCtasProps, P as PageHeroBannerProps, f as SectionBackground, S as SectionProps, g as SectionSpacing } from './community-initiatives-CES_LEJI.cjs';
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }
8
8
  export { Badge } from './badge.js';
9
9
  export { Popover, PopoverContent, PopoverTrigger } from './popover.js';
10
10
  export { DynamicIcon } from './dynamic-icon.js';
11
+ export { CarouselPagination, CarouselPaginationProps } from './carousel-pagination.js';
11
12
  export { Pressable, PressableProps } from './pressable.js';
12
13
  export { AlternatingBlocks } from './alternating-blocks.js';
13
14
  export { c as AboutCultureTabs, p as AboutCultureTabsProps, b as AboutExpandableValues, n as AboutExpandableValuesProps, a as AboutMissionPrinciples, m as AboutMissionPrinciplesProps, A as AboutSplitHero, l as AboutSplitHeroProps, k as AlternatingBlockSection, j as AlternatingBlocksProps, h as AnimatedDialogProps, i as AnimatedDialogSize, C as CommunityInitiatives, o as CommunityInitiativesProps, e as ContainerMaxWidth, d as ContainerProps, D as DirectionConfig, F as FeatureShowcaseItem, s as FeatureShowcaseProps, q as MediaHoverCtaItem, r as MediaHoverCtaType, M as MediaHoverCtasProps, P as PageHeroBannerProps, f as SectionBackground, S as SectionProps, g as SectionSpacing } from './community-initiatives-BRz60ABw.js';
package/dist/index.js CHANGED
@@ -1507,6 +1507,50 @@ var Pressable = React4.forwardRef(
1507
1507
  }
1508
1508
  );
1509
1509
  Pressable.displayName = "Pressable";
1510
+ function CarouselPagination({
1511
+ onPrevious,
1512
+ onNext,
1513
+ canScrollPrevious = true,
1514
+ canScrollNext = true,
1515
+ iconSize = 24,
1516
+ className,
1517
+ buttonClassName,
1518
+ previousIcon = "lucide/arrow-left",
1519
+ nextIcon = "lucide/arrow-right",
1520
+ previousAriaLabel = "Previous",
1521
+ nextAriaLabel = "Next"
1522
+ }) {
1523
+ return /* @__PURE__ */ jsxs("div", { className: cn("flex justify-end gap-2", className), children: [
1524
+ /* @__PURE__ */ jsx(
1525
+ Pressable,
1526
+ {
1527
+ onClick: onPrevious,
1528
+ disabled: !canScrollPrevious,
1529
+ "aria-label": previousAriaLabel,
1530
+ asButton: true,
1531
+ className: cn(
1532
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1533
+ buttonClassName
1534
+ ),
1535
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: previousIcon, size: iconSize })
1536
+ }
1537
+ ),
1538
+ /* @__PURE__ */ jsx(
1539
+ Pressable,
1540
+ {
1541
+ onClick: onNext,
1542
+ disabled: !canScrollNext,
1543
+ "aria-label": nextAriaLabel,
1544
+ asButton: true,
1545
+ className: cn(
1546
+ "relative z-40 flex h-10 w-10 items-center justify-center rounded-full disabled:opacity-50",
1547
+ buttonClassName
1548
+ ),
1549
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: nextIcon, size: iconSize })
1550
+ }
1551
+ )
1552
+ ] });
1553
+ }
1510
1554
  function AlternatingBlocks({
1511
1555
  sections,
1512
1556
  sectionsSlot,
@@ -4479,4 +4523,4 @@ function FooterNavSocial({
4479
4523
  );
4480
4524
  }
4481
4525
 
4482
- export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, ImageSlider, MediaHoverCtas, PageHeroBanner, Popover, PopoverContent, PopoverTrigger, Pressable, Section, cn, useNavigation };
4526
+ export { AboutCultureTabs, AboutExpandableValues, AboutMissionPrinciples, AboutSplitHero, AlternatingBlocks, AnimatedDialog, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CarouselPagination, CommunityInitiatives, Container, DynamicIcon, FooterAnimatedSocial, FooterBackgroundCard, FooterBrandDescription, FooterContactCard, FooterCtaBanner, FooterCtaSocial, FooterLinksGrid, FooterNavSocial, FooterNewsletterGrid, FooterNewsletterMinimal, FooterSimpleCentered, FooterSocialApps, FooterSocialNewsletter, ImageSlider, MediaHoverCtas, PageHeroBanner, Popover, PopoverContent, PopoverTrigger, Pressable, Section, cn, useNavigation };