@primer/react-brand 0.80.0-rc.4bfa3a79 → 0.80.0-rc.b232dc70
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/docs/components/CarouselPagination/index.md +96 -0
- package/docs/components/IconButton/react.md +33 -15
- package/docs/components/Testimonial/react.md +28 -22
- package/docs/components/TestimonialGroup/index.md +152 -0
- package/docs/components/index.md +3 -1
- package/docs/index.md +5 -3
- package/esm/CarouselPagination/CarouselPagination.d.ts +42 -0
- package/esm/CarouselPagination/CarouselPagination.d.ts.map +1 -0
- package/esm/CarouselPagination/CarouselPagination.js +97 -0
- package/esm/CarouselPagination/CarouselPagination.js.map +1 -0
- package/esm/CarouselPagination/CarouselPagination.module-F-qylhO7.css +1 -0
- package/esm/CarouselPagination/CarouselPagination.module.js +14 -0
- package/esm/CarouselPagination/CarouselPagination.module.js.map +1 -0
- package/esm/CarouselPagination/index.d.ts +2 -0
- package/esm/CarouselPagination/index.d.ts.map +1 -0
- package/esm/Hero/Hero.d.ts.map +1 -1
- package/esm/Hero/Hero.js +5 -3
- package/esm/Hero/Hero.js.map +1 -1
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/IconButton/IconButton.d.ts.map +1 -1
- package/esm/IconButton/IconButton.js +1 -1
- package/esm/IconButton/IconButton.js.map +1 -1
- package/esm/IconButton/{IconButton.module-D2UJBm7x.css → IconButton.module-DDLfSj96.css} +1 -1
- package/esm/IconButton/IconButton.module.js +1 -1
- package/esm/IconButton/IconButton.module.js.map +1 -1
- package/esm/Tabs/Tabs.d.ts +12 -0
- package/esm/Tabs/Tabs.d.ts.map +1 -1
- package/esm/Tabs/Tabs.js +84 -120
- package/esm/Tabs/Tabs.js.map +1 -1
- package/esm/Tabs/{Tabs.module-CK_p1qwC.css → Tabs.module-B-E_MTke.css} +1 -1
- package/esm/Tabs/Tabs.module.js +4 -8
- package/esm/Tabs/Tabs.module.js.map +1 -1
- package/esm/Testimonial/Testimonial.d.ts +7 -3
- package/esm/Testimonial/Testimonial.d.ts.map +1 -1
- package/esm/Testimonial/Testimonial.js +77 -77
- package/esm/Testimonial/Testimonial.js.map +1 -1
- package/esm/Testimonial/Testimonial.module-BqMYuLeo.css +1 -0
- package/esm/Testimonial/Testimonial.module.js +9 -14
- package/esm/Testimonial/Testimonial.module.js.map +1 -1
- package/esm/TestimonialGroup/TestimonialGroup.d.ts +35 -0
- package/esm/TestimonialGroup/TestimonialGroup.d.ts.map +1 -0
- package/esm/TestimonialGroup/TestimonialGroup.js +190 -0
- package/esm/TestimonialGroup/TestimonialGroup.js.map +1 -0
- package/esm/TestimonialGroup/TestimonialGroup.module-kFxPa1k1.css +1 -0
- package/esm/TestimonialGroup/TestimonialGroup.module.js +22 -0
- package/esm/TestimonialGroup/TestimonialGroup.module.js.map +1 -0
- package/esm/TestimonialGroup/index.d.ts +2 -0
- package/esm/TestimonialGroup/index.d.ts.map +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.esm.js +35 -33
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors-with-modes-IFYKunDL.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/{base-CAG7koNB.css → base-h_olG8bi.css} +1 -1
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-BEiXR7-X.css +1 -0
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial-group/base-Cq-doRpg.css +1 -0
- package/lib/CarouselPagination/CarouselPagination.d.ts +41 -0
- package/lib/CarouselPagination/index.d.ts +1 -0
- package/lib/IconButton/IconButton.d.ts +1 -1
- package/lib/Tabs/Tabs.d.ts +12 -0
- package/lib/Testimonial/Testimonial.d.ts +7 -3
- package/lib/TestimonialGroup/TestimonialGroup.d.ts +34 -0
- package/lib/TestimonialGroup/index.d.ts +1 -0
- package/lib/css/main.css +477 -245
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors-with-modes.css +35 -0
- package/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors.css +13 -0
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon-button/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/icon-button/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-code/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/spinner/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/spinner/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +3 -1
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -46
- package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -16
- package/lib/design-tokens/css/tokens/functional/components/testimonial-group/base.css +9 -0
- package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tiles/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/toggle-switch/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/button/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/carousel-pagination/colors.js +43 -0
- package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/feature-comparison-table/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon-button/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/icon-button/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-code/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/spinner/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/spinner/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +9 -1
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -71
- package/lib/design-tokens/js/module/tokens/functional/components/testimonial-group/base.js +13 -0
- package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tiles/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/button/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/carousel-pagination/colors.js +11 -0
- package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/feature-comparison-table/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon-button/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/icon-button/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-code/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/spinner/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/spinner/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +3 -1
- package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -16
- package/lib/design-tokens/js/tokens/functional/components/testimonial-group/base.js +7 -0
- package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tiles/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/toggle-switch/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/toggle-switch/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/json/colors.json +6 -15
- package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/button/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/carousel-pagination/colors.scss +10 -0
- package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/feature-comparison-table/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon-button/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/icon-button/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-code/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/spinner/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/spinner/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +3 -1
- package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -16
- package/lib/design-tokens/scss/tokens/functional/components/testimonial-group/base.scss +6 -0
- package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tiles/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
- package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/button/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/button/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/carousel-pagination/colors.d.ts +28 -0
- package/lib/design-tokens/ts/tokens/functional/components/carousel-pagination/colors.js +25 -0
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/spinner/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/spinner/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +9 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +9 -1
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +2 -27
- package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -26
- package/lib/design-tokens/ts/tokens/functional/components/testimonial-group/base.d.ts +16 -0
- package/lib/design-tokens/ts/tokens/functional/components/testimonial-group/base.js +13 -0
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tiles/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tiles/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -1
- package/llms.txt +5 -3
- package/package.json +1 -1
- package/esm/Testimonial/Testimonial.module-_jTJvM-4.css +0 -1
- package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-isyQx5qj.css +0 -1
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { useProvidedRefOrCreate as t } from "../hooks/useRef.js";
|
|
3
|
+
import n from "../hooks/useIsomorphicLayoutEffect.js";
|
|
4
|
+
import { useReducedMotion as r } from "../hooks/useReducedMotion.js";
|
|
5
|
+
import { Testimonial as i } from "../Testimonial/Testimonial.js";
|
|
6
|
+
import { CarouselPagination as a } from "../CarouselPagination/CarouselPagination.js";
|
|
7
|
+
import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial-group/base-Cq-doRpg.css';/* empty css */
|
|
8
|
+
import o from "./TestimonialGroup.module.js";
|
|
9
|
+
import { Children as s, cloneElement as c, forwardRef as l, isValidElement as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
10
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
11
|
+
//#region src/TestimonialGroup/TestimonialGroup.tsx
|
|
12
|
+
var _ = { root: "TestimonialGroup" }, v = l(({ children: l, className: v, defaultActiveIndex: y = 0, onChange: b, labels: { carousel: x = "Testimonials", controlsPrev: S = "Previous testimonial", controlsNext: C = "Next testimonial", controlsNavigation: w = "{carousel} navigation", carouselRoleDescription: T = "carousel", slideRoleDescription: E = "slide", indicator: D = "Go to testimonial {current}", slide: O = "Testimonial {current} of {total}", announcement: k = "Testimonial {current} of {total}: {author}" } = {}, "aria-label": A = x, "data-testid": j, ...M }, N) => {
|
|
13
|
+
let P = f(() => s.toArray(l).filter((e) => u(e) && e.type === i), [l]), F = Math.max(0, Math.min(Number.isInteger(y) ? y : 0, P.length - 1)), [I, L] = m({
|
|
14
|
+
index: F,
|
|
15
|
+
targetIndex: F,
|
|
16
|
+
phase: "idle"
|
|
17
|
+
}), R = p(I), z = t(N), B = p(null), V = p(null), H = p(b), [U, W] = m(null), G = r(), K = p(null), q = (e, t) => e.replace(/\{(current|total|author|carousel)\}/g, (e, n) => String(t[n] ?? e));
|
|
18
|
+
if (n(() => {
|
|
19
|
+
H.current = b;
|
|
20
|
+
}, [b]), n(() => {
|
|
21
|
+
let e = B.current;
|
|
22
|
+
if (!e) return;
|
|
23
|
+
let t = () => {
|
|
24
|
+
let t = e.querySelectorAll(`.${o.TestimonialGroup__slide}`), n = Math.max(0, ...Array.from(t, (e) => e.getBoundingClientRect().height));
|
|
25
|
+
e.style.minHeight = `${Math.ceil(n)}px`;
|
|
26
|
+
let r = V.current;
|
|
27
|
+
if (!r) return;
|
|
28
|
+
let i = P[I.index]?.props.variant === "expressive" ? t[I.index].querySelector(`.${o.TestimonialGroup__quoteMark}`) : null, a = 0;
|
|
29
|
+
if (i) {
|
|
30
|
+
let t = e.getBoundingClientRect(), n = i.getBoundingClientRect();
|
|
31
|
+
a = getComputedStyle(e).direction === "rtl" ? t.right - n.right : n.left - t.left;
|
|
32
|
+
}
|
|
33
|
+
r.style.marginInlineStart = `${Math.max(0, a)}px`;
|
|
34
|
+
};
|
|
35
|
+
t();
|
|
36
|
+
let n = new ResizeObserver(t);
|
|
37
|
+
n.observe(e);
|
|
38
|
+
for (let t of e.children) n.observe(t);
|
|
39
|
+
return () => n.disconnect();
|
|
40
|
+
}, [P, I.index]), d(() => {
|
|
41
|
+
let e = B.current?.children;
|
|
42
|
+
if (e) for (let [t, n] of Array.from(e).entries()) n.toggleAttribute("inert", t !== I.index);
|
|
43
|
+
}, [P, I.index]), d(() => {
|
|
44
|
+
if (!z.current || P.length === 0) return;
|
|
45
|
+
let e = !1, t = R.current, n = P.length, r = (e) => {
|
|
46
|
+
t = e, R.current = e, L(e);
|
|
47
|
+
}, i = () => {
|
|
48
|
+
let n = t.targetIndex, i = n !== t.index;
|
|
49
|
+
r({
|
|
50
|
+
...t,
|
|
51
|
+
index: n,
|
|
52
|
+
phase: G ? "idle" : "in"
|
|
53
|
+
}), e && W(n), e = !1, i && H.current?.(n);
|
|
54
|
+
};
|
|
55
|
+
return K.current = {
|
|
56
|
+
changeTo: (a) => {
|
|
57
|
+
if (a < 0 || a >= n) return;
|
|
58
|
+
if (a === t.index && t.phase !== "out") {
|
|
59
|
+
W(a);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
e = !0;
|
|
63
|
+
let o = t.phase === "out";
|
|
64
|
+
if (r({
|
|
65
|
+
...t,
|
|
66
|
+
targetIndex: a
|
|
67
|
+
}), G) {
|
|
68
|
+
i();
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
if (o) {
|
|
72
|
+
a === t.index && (r({
|
|
73
|
+
...t,
|
|
74
|
+
phase: "in"
|
|
75
|
+
}), W(t.index), e = !1);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
r({
|
|
79
|
+
...t,
|
|
80
|
+
phase: "out"
|
|
81
|
+
});
|
|
82
|
+
},
|
|
83
|
+
finishPhase: () => {
|
|
84
|
+
t.phase === "out" ? i() : t.phase === "in" && r({
|
|
85
|
+
...t,
|
|
86
|
+
phase: "idle"
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}, t.index >= n || t.targetIndex >= n ? r({
|
|
90
|
+
index: n - 1,
|
|
91
|
+
targetIndex: n - 1,
|
|
92
|
+
phase: "idle"
|
|
93
|
+
}) : t.phase !== "idle" && i(), () => {
|
|
94
|
+
K.current = null;
|
|
95
|
+
};
|
|
96
|
+
}, [
|
|
97
|
+
G,
|
|
98
|
+
P.length,
|
|
99
|
+
z
|
|
100
|
+
]), d(() => {
|
|
101
|
+
if (I.phase === "idle" || G) return;
|
|
102
|
+
let e = B.current?.children[I.index];
|
|
103
|
+
if (!e) return;
|
|
104
|
+
let t = (e) => {
|
|
105
|
+
let t = Number.parseFloat(e);
|
|
106
|
+
return Number.isFinite(t) ? t * (e.trim().endsWith("ms") ? 1 : 1e3) : 0;
|
|
107
|
+
}, n = 0, r = e.querySelectorAll([
|
|
108
|
+
o.TestimonialGroup__quoteMark,
|
|
109
|
+
o.TestimonialGroup__quote,
|
|
110
|
+
o.TestimonialGroup__media
|
|
111
|
+
].map((e) => `.${e}`).join(","));
|
|
112
|
+
for (let e of r) {
|
|
113
|
+
let r = getComputedStyle(e), i = r.transitionDuration.split(",").map(t), a = r.transitionDelay.split(",").map(t);
|
|
114
|
+
for (let [e, t] of r.transitionProperty.split(",").entries()) t.trim() !== "opacity" && t.trim() !== "all" || (n = Math.max(n, i[e % i.length] + a[e % a.length]));
|
|
115
|
+
}
|
|
116
|
+
let i = setTimeout(() => K.current?.finishPhase(), n);
|
|
117
|
+
return () => clearTimeout(i);
|
|
118
|
+
}, [
|
|
119
|
+
G,
|
|
120
|
+
I.index,
|
|
121
|
+
I.phase
|
|
122
|
+
]), P.length === 0) return null;
|
|
123
|
+
let J = U === null ? void 0 : P[U], Y = J && s.toArray(J.props.children).find((e) => u(e) && e.type === i.Name)?.props.children, X = typeof Y == "string" && Y.trim().length > 0;
|
|
124
|
+
return /* @__PURE__ */ g("div", {
|
|
125
|
+
...M,
|
|
126
|
+
ref: z,
|
|
127
|
+
role: "region",
|
|
128
|
+
"aria-roledescription": T,
|
|
129
|
+
"aria-label": A,
|
|
130
|
+
"data-testid": j || _.root,
|
|
131
|
+
className: e(o.TestimonialGroup, v),
|
|
132
|
+
children: [/* @__PURE__ */ g("div", {
|
|
133
|
+
className: e(o.TestimonialGroup__content, P.some((e) => e.props.variant === "expressive") && o["TestimonialGroup__content--expressive"]),
|
|
134
|
+
children: [P.length > 1 && /* @__PURE__ */ h("div", {
|
|
135
|
+
ref: V,
|
|
136
|
+
className: o.TestimonialGroup__controls,
|
|
137
|
+
children: /* @__PURE__ */ h(a, {
|
|
138
|
+
loop: !0,
|
|
139
|
+
itemCount: P.length,
|
|
140
|
+
activeIndex: I.targetIndex,
|
|
141
|
+
"aria-label": q(w, { carousel: A }),
|
|
142
|
+
labels: {
|
|
143
|
+
previous: S,
|
|
144
|
+
next: C
|
|
145
|
+
},
|
|
146
|
+
itemAttributesBuilder: (e) => ({ "aria-label": q(D, {
|
|
147
|
+
current: e + 1,
|
|
148
|
+
total: P.length
|
|
149
|
+
}) }),
|
|
150
|
+
onChange: (e) => K.current?.changeTo(e)
|
|
151
|
+
})
|
|
152
|
+
}), /* @__PURE__ */ h("div", {
|
|
153
|
+
ref: B,
|
|
154
|
+
className: o.TestimonialGroup__slides,
|
|
155
|
+
children: P.map((t, n) => /* @__PURE__ */ h("div", {
|
|
156
|
+
className: e(o.TestimonialGroup__slide, n === I.index && o["TestimonialGroup__slide--active"]),
|
|
157
|
+
role: "group",
|
|
158
|
+
"aria-roledescription": E,
|
|
159
|
+
"aria-label": q(O, {
|
|
160
|
+
current: n + 1,
|
|
161
|
+
total: P.length
|
|
162
|
+
}),
|
|
163
|
+
"aria-hidden": n !== I.index || void 0,
|
|
164
|
+
children: c(t, {
|
|
165
|
+
variant: t.props.variant ?? "minimal",
|
|
166
|
+
animate: void 0,
|
|
167
|
+
quoteMarkClassName: e(t.props.quoteMarkClassName, o.TestimonialGroup__quoteMark),
|
|
168
|
+
mediaClassName: e(t.props.mediaClassName, o.TestimonialGroup__media),
|
|
169
|
+
children: s.map(t.props.children, (n) => u(n) ? n.type === i.Quote ? c(n, { className: e(n.props.className, o.TestimonialGroup__quote) }) : n.type === i.Avatar ? c(n, { className: e(n.props.className, o.TestimonialGroup__avatar, t.props.size === "large" && o["TestimonialGroup__avatar--size-large"]) }) : n : n),
|
|
170
|
+
className: e(t.props.className, o[`TestimonialGroup__testimonial--${n === I.index ? I.phase : "out"}`])
|
|
171
|
+
})
|
|
172
|
+
}, t.key))
|
|
173
|
+
})]
|
|
174
|
+
}), /* @__PURE__ */ h("span", {
|
|
175
|
+
className: o.TestimonialGroup__announcement,
|
|
176
|
+
role: "status",
|
|
177
|
+
"aria-live": "polite",
|
|
178
|
+
"aria-atomic": "true",
|
|
179
|
+
children: U !== null && J && q(X ? k : O, {
|
|
180
|
+
current: U + 1,
|
|
181
|
+
total: P.length,
|
|
182
|
+
author: X ? Y : void 0
|
|
183
|
+
})
|
|
184
|
+
})]
|
|
185
|
+
});
|
|
186
|
+
}), y = Object.assign(v, { testIds: _ });
|
|
187
|
+
//#endregion
|
|
188
|
+
export { y as TestimonialGroup };
|
|
189
|
+
|
|
190
|
+
//# sourceMappingURL=TestimonialGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestimonialGroup.js","names":[],"sources":["../../src/TestimonialGroup/TestimonialGroup.tsx"],"sourcesContent":["import React, {Children, cloneElement, forwardRef, isValidElement, useEffect, useMemo, useRef, useState} from 'react'\nimport {clsx} from 'clsx'\nimport {Testimonial, type TestimonialProps} from '../Testimonial'\nimport {CarouselPagination} from '../CarouselPagination'\nimport {useReducedMotion} from '../hooks/useReducedMotion'\nimport {useProvidedRefOrCreate} from '../hooks/useRef'\nimport useIsomorphicLayoutEffect from '../hooks/useIsomorphicLayoutEffect'\nimport type {BaseProps} from '../component-helpers'\n\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial-group/base.css'\nimport styles from './TestimonialGroup.module.css'\n\nconst testIds = {\n root: 'TestimonialGroup',\n}\n\nexport type TestimonialGroupProps = BaseProps<HTMLDivElement> &\n Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {\n 'data-testid'?: string\n /** Initial testimonial: 0 for the first, 1 for the second. */\n defaultActiveIndex?: number\n /** Called after a testimonial changes, with its index (first is 0). */\n onChange?: (activeIndex: number) => void\n /** Overrides accessible control labels and slide announcements. */\n labels?: {\n carousel?: string\n controlsPrev?: string\n controlsNext?: string\n controlsNavigation?: string\n carouselRoleDescription?: string\n slideRoleDescription?: string\n /** Complete selector label using {current} and {total}. */\n indicator?: string\n /** Complete slide label using {current} and {total}. */\n slide?: string\n /** Complete announcement using {current}, {total}, and {author}. */\n announcement?: string\n }\n }\n\ntype TestimonialGroupView = {index: number; targetIndex: number; phase: 'idle' | 'out' | 'in'}\n\nconst Root = forwardRef<HTMLDivElement, TestimonialGroupProps>(\n (\n {\n children,\n className,\n defaultActiveIndex = 0,\n onChange,\n labels: {\n carousel = 'Testimonials',\n controlsPrev = 'Previous testimonial',\n controlsNext = 'Next testimonial',\n controlsNavigation = '{carousel} navigation',\n carouselRoleDescription = 'carousel',\n slideRoleDescription = 'slide',\n indicator = 'Go to testimonial {current}',\n slide: slideLabel = 'Testimonial {current} of {total}',\n announcement: announcementLabel = 'Testimonial {current} of {total}: {author}',\n } = {},\n 'aria-label': ariaLabel = carousel,\n 'data-testid': testId,\n ...props\n },\n forwardedRef,\n ) => {\n const testimonials = useMemo(\n () =>\n Children.toArray(children).filter(\n (child): child is React.ReactElement<TestimonialProps> =>\n isValidElement<TestimonialProps>(child) && child.type === Testimonial,\n ),\n [children],\n )\n const initialIndex = Math.max(\n 0,\n Math.min(Number.isInteger(defaultActiveIndex) ? defaultActiveIndex : 0, testimonials.length - 1),\n )\n const [view, setView] = useState<TestimonialGroupView>({\n index: initialIndex,\n targetIndex: initialIndex,\n phase: 'idle',\n })\n const viewRef = useRef(view)\n const rootRef = useProvidedRefOrCreate<HTMLDivElement | null>(forwardedRef)\n const slidesRef = useRef<HTMLDivElement>(null)\n const controlsRef = useRef<HTMLDivElement>(null)\n const onChangeRef = useRef(onChange)\n const [announcementIndex, setAnnouncementIndex] = useState<number | null>(null)\n const prefersReducedMotion = useReducedMotion()\n const controller = useRef<{\n changeTo: (index: number) => void\n finishPhase: () => void\n } | null>(null)\n const formatLabel = (\n template: string,\n values: {current?: number; total?: number; author?: string; carousel?: string},\n ) =>\n template.replace(/\\{(current|total|author|carousel)\\}/g, (placeholder, name: keyof typeof values) =>\n String(values[name] ?? placeholder),\n )\n\n useIsomorphicLayoutEffect(() => {\n onChangeRef.current = onChange\n }, [onChange])\n\n useIsomorphicLayoutEffect(() => {\n const slidesContainer = slidesRef.current\n if (!slidesContainer) return\n\n const measureLayout = () => {\n const slides = slidesContainer.querySelectorAll<HTMLElement>(`.${styles.TestimonialGroup__slide}`)\n const tallest = Math.max(0, ...Array.from(slides, slide => slide.getBoundingClientRect().height))\n slidesContainer.style.minHeight = `${Math.ceil(tallest)}px`\n\n const controls = controlsRef.current\n if (!controls) return\n const quoteMark =\n testimonials[view.index]?.props.variant === 'expressive'\n ? slides[view.index].querySelector<HTMLElement>(`.${styles.TestimonialGroup__quoteMark}`)\n : null\n let inlineInset = 0\n if (quoteMark) {\n const slidesBounds = slidesContainer.getBoundingClientRect()\n const quoteBounds = quoteMark.getBoundingClientRect()\n inlineInset =\n getComputedStyle(slidesContainer).direction === 'rtl'\n ? slidesBounds.right - quoteBounds.right\n : quoteBounds.left - slidesBounds.left\n }\n controls.style.marginInlineStart = `${Math.max(0, inlineInset)}px`\n }\n measureLayout()\n const observer = new ResizeObserver(measureLayout)\n observer.observe(slidesContainer)\n for (const slide of slidesContainer.children) {\n observer.observe(slide)\n }\n return () => observer.disconnect()\n }, [testimonials, view.index])\n\n useEffect(() => {\n const slides = slidesRef.current?.children\n if (!slides) return\n\n for (const [index, slide] of Array.from(slides).entries()) {\n // Workaround to avoid React 18 / 19 type and rendering mismatches with the `inert` attribute.\n // TODO: Move back to JSX when React 19 is fully adopted in Dotcom.\n slide.toggleAttribute('inert', index !== view.index)\n }\n }, [testimonials, view.index])\n\n useEffect(() => {\n const root = rootRef.current\n if (!root || testimonials.length === 0) return\n let announceOnCommit = false\n let current = viewRef.current\n const count = testimonials.length\n const updateView = (nextView: TestimonialGroupView) => {\n current = nextView\n viewRef.current = nextView\n setView(nextView)\n }\n const commit = () => {\n const nextIndex = current.targetIndex\n const changed = nextIndex !== current.index\n updateView({...current, index: nextIndex, phase: prefersReducedMotion ? 'idle' : 'in'})\n if (announceOnCommit) setAnnouncementIndex(nextIndex)\n announceOnCommit = false\n if (changed) onChangeRef.current?.(nextIndex)\n }\n const changeTo = (nextIndex: number) => {\n if (nextIndex < 0 || nextIndex >= count) return\n if (nextIndex === current.index && current.phase !== 'out') {\n setAnnouncementIndex(nextIndex)\n return\n }\n announceOnCommit = true\n const wasOutgoing = current.phase === 'out'\n updateView({...current, targetIndex: nextIndex})\n if (prefersReducedMotion) {\n commit()\n return\n }\n if (wasOutgoing) {\n if (nextIndex === current.index) {\n updateView({...current, phase: 'in'})\n setAnnouncementIndex(current.index)\n announceOnCommit = false\n }\n return\n }\n updateView({...current, phase: 'out'})\n }\n controller.current = {\n changeTo,\n finishPhase: () => {\n if (current.phase === 'out') commit()\n else if (current.phase === 'in') updateView({...current, phase: 'idle'})\n },\n }\n if (current.index >= count || current.targetIndex >= count) {\n updateView({index: count - 1, targetIndex: count - 1, phase: 'idle'})\n } else if (current.phase !== 'idle') {\n commit()\n }\n return () => {\n controller.current = null\n }\n }, [prefersReducedMotion, testimonials.length, rootRef])\n\n useEffect(() => {\n if (view.phase === 'idle' || prefersReducedMotion) return\n const activeSlide = slidesRef.current?.children[view.index]\n if (!activeSlide) return\n const toMilliseconds = (value: string) => {\n const duration = Number.parseFloat(value)\n return Number.isFinite(duration) ? duration * (value.trim().endsWith('ms') ? 1 : 1000) : 0\n }\n let completionTime = 0\n const parts = activeSlide.querySelectorAll<HTMLElement>(\n [styles.TestimonialGroup__quoteMark, styles.TestimonialGroup__quote, styles.TestimonialGroup__media]\n .map(partClassName => `.${partClassName}`)\n .join(','),\n )\n for (const part of parts) {\n const computedStyle = getComputedStyle(part)\n const durations = computedStyle.transitionDuration.split(',').map(toMilliseconds)\n const delays = computedStyle.transitionDelay.split(',').map(toMilliseconds)\n for (const [index, property] of computedStyle.transitionProperty.split(',').entries()) {\n if (property.trim() !== 'opacity' && property.trim() !== 'all') continue\n completionTime = Math.max(completionTime, durations[index % durations.length] + delays[index % delays.length])\n }\n }\n const transitionTimer = setTimeout(() => controller.current?.finishPhase(), completionTime)\n return () => clearTimeout(transitionTimer)\n }, [prefersReducedMotion, view.index, view.phase])\n\n if (testimonials.length === 0) return null\n\n const announcedTestimonial = announcementIndex === null ? undefined : testimonials[announcementIndex]\n const announcedName =\n announcedTestimonial &&\n Children.toArray(announcedTestimonial.props.children).find(\n (child): child is React.ReactElement<{children?: React.ReactNode}> =>\n isValidElement(child) && child.type === Testimonial.Name,\n )?.props.children\n const hasAnnouncedName = typeof announcedName === 'string' && announcedName.trim().length > 0\n\n return (\n <div\n {...props}\n ref={rootRef}\n role=\"region\"\n aria-roledescription={carouselRoleDescription}\n aria-label={ariaLabel}\n data-testid={testId || testIds.root}\n className={clsx(styles.TestimonialGroup, className)}\n >\n <div\n className={clsx(\n styles.TestimonialGroup__content,\n testimonials.some(testimonial => testimonial.props.variant === 'expressive') &&\n styles['TestimonialGroup__content--expressive'],\n )}\n >\n {testimonials.length > 1 && (\n <div ref={controlsRef} className={styles.TestimonialGroup__controls}>\n <CarouselPagination\n loop\n itemCount={testimonials.length}\n activeIndex={view.targetIndex}\n aria-label={formatLabel(controlsNavigation, {carousel: ariaLabel})}\n labels={{\n previous: controlsPrev,\n next: controlsNext,\n }}\n itemAttributesBuilder={index => ({\n 'aria-label': formatLabel(indicator, {current: index + 1, total: testimonials.length}),\n })}\n onChange={index => controller.current?.changeTo(index)}\n />\n </div>\n )}\n <div ref={slidesRef} className={styles.TestimonialGroup__slides}>\n {testimonials.map((testimonial, index) => (\n <div\n key={testimonial.key}\n className={clsx(\n styles.TestimonialGroup__slide,\n index === view.index && styles['TestimonialGroup__slide--active'],\n )}\n role=\"group\"\n aria-roledescription={slideRoleDescription}\n aria-label={formatLabel(slideLabel, {current: index + 1, total: testimonials.length})}\n aria-hidden={index !== view.index || undefined}\n >\n {cloneElement(testimonial, {\n variant: testimonial.props.variant ?? 'minimal',\n animate: undefined,\n quoteMarkClassName: clsx(testimonial.props.quoteMarkClassName, styles.TestimonialGroup__quoteMark),\n mediaClassName: clsx(testimonial.props.mediaClassName, styles.TestimonialGroup__media),\n children: Children.map(testimonial.props.children, child => {\n if (!isValidElement<{className?: string}>(child)) return child\n if (child.type === Testimonial.Quote) {\n return cloneElement(child, {\n className: clsx(child.props.className, styles.TestimonialGroup__quote),\n })\n }\n if (child.type === Testimonial.Avatar) {\n return cloneElement(child, {\n className: clsx(\n child.props.className,\n styles.TestimonialGroup__avatar,\n testimonial.props.size === 'large' && styles['TestimonialGroup__avatar--size-large'],\n ),\n })\n }\n return child\n }),\n className: clsx(\n testimonial.props.className,\n styles[`TestimonialGroup__testimonial--${index === view.index ? view.phase : 'out'}`],\n ),\n })}\n </div>\n ))}\n </div>\n </div>\n <span className={styles.TestimonialGroup__announcement} role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n {announcementIndex !== null &&\n announcedTestimonial &&\n formatLabel(hasAnnouncedName ? announcementLabel : slideLabel, {\n current: announcementIndex + 1,\n total: testimonials.length,\n author: hasAnnouncedName ? announcedName : undefined,\n })}\n </span>\n </div>\n )\n },\n)\n\n/**\n * Use TestimonialGroup to display a collection of testimonials in a carousel format.\n * @see https://primer.style/brand/components/TestimonialGroup/\n */\nexport const TestimonialGroup = Object.assign(Root, {testIds})\n"],"mappings":";;;;;;;;;;;AAYA,IAAM,IAAU,EACd,MAAM,mBACR,GA4BM,IAAO,GAET,EACE,aACA,cACA,wBAAqB,GACrB,aACA,QAAQ,EACN,cAAW,gBACX,kBAAe,wBACf,kBAAe,oBACf,wBAAqB,yBACrB,6BAA0B,YAC1B,0BAAuB,SACvB,eAAY,+BACZ,OAAO,IAAa,oCACpB,cAAc,IAAoB,iDAChC,CAAC,GACL,cAAc,IAAY,GAC1B,eAAe,GACf,GAAG,KAEL,MACG;CACH,IAAM,IAAe,QAEjB,EAAS,QAAQ,CAAQ,CAAC,CAAC,QACxB,MACC,EAAiC,CAAK,KAAK,EAAM,SAAS,CAC9D,GACF,CAAC,CAAQ,CACX,GACM,IAAe,KAAK,IACxB,GACA,KAAK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--base-size-8));padding-inline:var(--base-size-32)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__content____OwRq{flex-direction:column;width:100%;display:flex}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slides___bujxD{flex-direction:column;justify-content:center;width:100%;display:flex;position:relative}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide___BQN5P{visibility:hidden;pointer-events:none;width:100%;position:absolute}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide--active___Po_Ui{visibility:visible;pointer-events:auto;position:relative}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c{border:var(--base-size-2) solid var(--brand-Testimonial-quoteMarkColor-green);border-radius:50%;flex:none}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar--size-large___RDqmT{width:var(--base-size-48);height:var(--base-size-48)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition:opacity var(--brand-TestimonialGroup-fadeInDuration) ease-in-out}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out .12s}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 80ms}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 40ms}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF{transition-delay:.1s}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa .Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition-delay:var(--brand-animation-duration-faster)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5{flex:none;order:1;align-items:center;margin-block-start:var(--base-size-32);padding-block-start:var(--base-size-16);display:flex}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__content--expressive___Ff_H7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5{margin-block-start:0}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__announcement___mOAht{width:var(--brand-borderWidth-thin);height:var(--brand-borderWidth-thin);clip-path:inset(50%);white-space:nowrap;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition:none}}@media screen and (width>=63.25rem){.Primer_Brand__TestimonialGroup-module__TestimonialGroup___WSHAX{padding-block:var(--base-size-60);padding-inline:var(--base-size-60)}}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './TestimonialGroup.module-kFxPa1k1.css';//#region src/TestimonialGroup/TestimonialGroup.module.css
|
|
2
|
+
var e = "Primer_Brand__TestimonialGroup-module__TestimonialGroup___WSHAX", t = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__content____OwRq", n = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slides___bujxD", r = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide___BQN5P", i = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c", a = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6", o = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF", s = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m", c = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5", l = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__announcement___mOAht", u = {
|
|
3
|
+
TestimonialGroup: e,
|
|
4
|
+
TestimonialGroup__content: t,
|
|
5
|
+
TestimonialGroup__slides: n,
|
|
6
|
+
TestimonialGroup__slide: r,
|
|
7
|
+
"TestimonialGroup__slide--active": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide--active___Po_Ui",
|
|
8
|
+
TestimonialGroup__avatar: i,
|
|
9
|
+
"TestimonialGroup__avatar--size-large": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar--size-large___RDqmT",
|
|
10
|
+
TestimonialGroup__quoteMark: a,
|
|
11
|
+
TestimonialGroup__quote: o,
|
|
12
|
+
TestimonialGroup__media: s,
|
|
13
|
+
"TestimonialGroup__testimonial--out": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7",
|
|
14
|
+
"TestimonialGroup__testimonial--in": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa",
|
|
15
|
+
TestimonialGroup__controls: c,
|
|
16
|
+
"TestimonialGroup__content--expressive": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__content--expressive___Ff_H7",
|
|
17
|
+
TestimonialGroup__announcement: l
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { e as TestimonialGroup, l as TestimonialGroup__announcement, i as TestimonialGroup__avatar, t as TestimonialGroup__content, c as TestimonialGroup__controls, s as TestimonialGroup__media, o as TestimonialGroup__quote, a as TestimonialGroup__quoteMark, r as TestimonialGroup__slide, n as TestimonialGroup__slides, u as default };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=TestimonialGroup.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TestimonialGroup.module.js","names":[],"sources":["../../src/TestimonialGroup/TestimonialGroup.module.css"],"sourcesContent":[".TestimonialGroup {\n width: 100%;\n min-width: 0;\n padding-block: calc(var(--base-size-48) + var(--base-size-8));\n padding-inline: var(--base-size-32);\n}\n\n.TestimonialGroup__content {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n.TestimonialGroup__slides {\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n}\n\n.TestimonialGroup__slide {\n position: absolute;\n width: 100%;\n visibility: hidden;\n pointer-events: none;\n}\n\n.TestimonialGroup__slide--active {\n position: relative;\n visibility: visible;\n pointer-events: auto;\n}\n\n.TestimonialGroup__avatar {\n flex: none;\n border: var(--base-size-2) solid var(--brand-Testimonial-quoteMarkColor-green);\n border-radius: 50%;\n}\n\n.TestimonialGroup__avatar.TestimonialGroup__avatar--size-large {\n width: var(--base-size-48);\n height: var(--base-size-48);\n}\n\n.TestimonialGroup__quoteMark,\n.TestimonialGroup__quote,\n.TestimonialGroup__media {\n transition: opacity var(--brand-TestimonialGroup-fadeInDuration) ease-in-out;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__quoteMark {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 120ms;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__quote {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 80ms;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__media {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 40ms;\n}\n\n.TestimonialGroup__testimonial--in .TestimonialGroup__quote {\n transition-delay: 100ms;\n}\n\n.TestimonialGroup__testimonial--in .TestimonialGroup__media {\n transition-delay: var(--brand-animation-duration-faster);\n}\n\n.TestimonialGroup__controls {\n display: flex;\n flex: none;\n order: 1;\n align-items: center;\n margin-block-start: var(--base-size-32);\n padding-block-start: var(--base-size-16);\n}\n\n.TestimonialGroup__content--expressive .TestimonialGroup__controls {\n margin-block-start: 0;\n}\n\n.TestimonialGroup__announcement {\n position: absolute;\n width: var(--brand-borderWidth-thin);\n height: var(--brand-borderWidth-thin);\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .TestimonialGroup__quoteMark,\n .TestimonialGroup__quote,\n .TestimonialGroup__media {\n transition: none;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .TestimonialGroup {\n padding-block: var(--base-size-60);\n padding-inline: var(--base-size-60);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TestimonialGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
package/esm/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './forms';
|
|
|
22
22
|
export * from './Stack';
|
|
23
23
|
export * from './Avatar';
|
|
24
24
|
export * from './Testimonial';
|
|
25
|
+
export * from './TestimonialGroup';
|
|
25
26
|
export * from './ComparisonTable';
|
|
26
27
|
export * from './FeatureComparisonTable';
|
|
27
28
|
export * from './AnchorNav';
|
|
@@ -50,6 +51,7 @@ export * from './NavList';
|
|
|
50
51
|
export * from './IDE';
|
|
51
52
|
export * from './Breadcrumbs';
|
|
52
53
|
export * from './Pagination';
|
|
54
|
+
export * from './CarouselPagination';
|
|
53
55
|
export * from './Tooltip';
|
|
54
56
|
export * from './Section';
|
|
55
57
|
export * from './Statistic';
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AAEjC,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAA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B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA;AACtB,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,QAAQ,CAAA;AACtB,cAAc,uBAAuB,CAAA;AACrC,cAAc,SAAS,CAAA;AAGvB,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA"}
|
package/esm/index.esm.js
CHANGED
|
@@ -51,36 +51,38 @@ import { CheckboxGroup as Ot } from "./forms/CheckboxGroup/CheckboxGroup.js";
|
|
|
51
51
|
import { RadioGroup as kt } from "./forms/RadioGroup/RadioGroup.js";
|
|
52
52
|
import { Avatar as At, AvatarShapes as jt, AvatarSizes as Mt } from "./Avatar/Avatar.js";
|
|
53
53
|
import { Testimonial as Nt, TestimonialQuoteMarkColors as Pt, TestimonialVariants as Ft, defaultQuoteMarkColor as It, defaultTestimonialVariant as Lt } from "./Testimonial/Testimonial.js";
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
|
|
54
|
+
import { CarouselPagination as Rt } from "./CarouselPagination/CarouselPagination.js";
|
|
55
|
+
import { TestimonialGroup as zt } from "./TestimonialGroup/TestimonialGroup.js";
|
|
56
|
+
import { ComparisonTable as Bt, _ComparisonTable as Vt } from "./ComparisonTable/ComparisonTable.js";
|
|
57
|
+
import { FeatureComparisonTable as Ht } from "./FeatureComparisonTable/FeatureComparisonTable.js";
|
|
58
|
+
import { AnchorNav as Ut } from "./AnchorNav/AnchorNav.js";
|
|
59
|
+
import { CTABanner as Wt, CTABannerBackgroundColors as Gt } from "./CTABanner/CTABanner.js";
|
|
60
|
+
import { UnorderedList as Kt } from "./list/UnorderedList/UnorderedList.js";
|
|
61
|
+
import { OrderedList as qt } from "./list/OrderedList/OrderedList.js";
|
|
62
|
+
import { CTAForm as Jt } from "./CTAForm/CTAForm.js";
|
|
63
|
+
import { MinimalFooter as Yt } from "./MinimalFooter/MinimalFooter.js";
|
|
64
|
+
import { Pillar as Xt, defaultPillarIconColor as Zt, defaultPillarIconSize as Qt } from "./Pillar/Pillar.js";
|
|
65
|
+
import { Card as $t, CardBackgroundColors as en, CardCTAVariants as tn, CardIconColors as nn, CardImagePaddingOptions as rn, CardLabelVariants as an, CardTokenPositions as on, CardVariants as sn, defaultCardCTAVariant as cn, defaultCardIconColor as ln, defaultCardLabelVariant as un } from "./Card/Card.js";
|
|
66
|
+
import { SectionIntro as dn } from "./SectionIntro/SectionIntro.js";
|
|
67
|
+
import { Prose as fn } from "./Prose/Prose.js";
|
|
68
|
+
import { useVideo as pn } from "./VideoPlayer/hooks/useVideo.js";
|
|
69
|
+
import { VideoPlayer as mn } from "./VideoPlayer/VideoPlayer.js";
|
|
70
|
+
import { MinimalVideoPlayer as hn, _MinimalVideoPlayer as gn } from "./MinimalVideoPlayer/MinimalVideoPlayer.js";
|
|
71
|
+
import { LogoSuite as _n } from "./LogoSuite/LogoSuite.js";
|
|
72
|
+
import { Timeline as vn } from "./Timeline/Timeline.js";
|
|
73
|
+
import { Bento as yn } from "./Bento/Bento.js";
|
|
74
|
+
import { EyebrowBanner as bn, EyebrowBannerIconColors as xn, EyebrowBannerLabelColors as Sn, defaultEyebrowBannerIconColor as Cn } from "./EyebrowBanner/EyebrowBanner.js";
|
|
75
|
+
import { PricingOptions as wn } from "./PricingOptions/PricingOptions.js";
|
|
76
|
+
import { SubNav as Tn, SubNavSubMenuVariants as En, useSubNavContext as Dn } from "./SubNav/SubNav.js";
|
|
77
|
+
import { NavList as On } from "./NavList/NavList.js";
|
|
78
|
+
import { IDE as kn, IDEDefaultIconMap as An, IDEFileExtensions as jn } from "./IDE/IDE.js";
|
|
79
|
+
import { BreadcrumbVariants as Mn, Breadcrumbs as Nn } from "./Breadcrumbs/Breadcrumbs.js";
|
|
80
|
+
import { Section as Pn, SectionBackgroundColors as Fn, SectionPaddingVariants as In, SectionVariants as Ln } from "./Section/Section.js";
|
|
81
|
+
import { Statistic as Rn, StatisticSizes as zn, StatisticSpacingValues as Bn } from "./Statistic/Statistic.js";
|
|
82
|
+
import { BreakoutBanner as Vn, BreakoutBannerBackgroundColors as Hn } from "./BreakoutBanner/BreakoutBanner.js";
|
|
83
|
+
import { Footnotes as Un, FootnotesItemTags as Wn, FootnotesTags as Gn } from "./Footnotes/Footnotes.js";
|
|
84
|
+
import { FrostedGlassVFX as Kn, FrostedGlassVFXIntensity as qn, defaultFrostedGlassVFXIntensity as Jn } from "./FrostedGlassVFX/FrostedGlassVFX.js";
|
|
85
|
+
import { SectionIntroStacked as Yn, SectionIntroStackedVariants as Xn } from "./SectionIntroStacked/SectionIntroStacked.js";
|
|
86
|
+
import { Tabs as Zn } from "./Tabs/Tabs.js";
|
|
87
|
+
import { Tiles as Qn } from "./Tiles/Tiles.js";
|
|
88
|
+
export { ut as Accordion, dt as AccordionContent, ft as AccordionHeading, pt as AccordionRoot, mt as AccordionToggleColors, ge as ActionMenu, fe as ActionMenuButtonModes, pe as ActionMenuProvider, me as ActionMenuSizes, Ut as AnchorNav, a as Animate, n as AnimationContext, r as AnimationProvider, i as AnimationVariants, At as Avatar, jt as AvatarShapes, Mt as AvatarSizes, yn as Bento, g as Box, _ as BoxBackgroundColors, v as BoxBorderColorOptions, y as BoxBorderRadiusOptions, b as BoxBorderWidthOptions, x as BoxSpacingValues, Mn as BreadcrumbVariants, Nn as Breadcrumbs, Vn as BreakoutBanner, Hn as BreakoutBannerBackgroundColors, Ze as BreakpointSize, K as Button, ve as ButtonGroup, ye as ButtonGroupVariants, q as ButtonSizes, J as ButtonVariants, Wt as CTABanner, Gt as CTABannerBackgroundColors, Jt as CTAForm, $t as Card, en as CardBackgroundColors, tn as CardCTAVariants, nn as CardIconColors, rn as CardImagePaddingOptions, an as CardLabelVariants, on as CardTokenPositions, sn as CardVariants, Rt as CarouselPagination, _t as Checkbox, Ot as CheckboxGroup, ce as ColorModesEnum, Bt as ComparisonTable, vt as DEFAULT_TEXTAREA_COLS, yt as DEFAULT_TEXTAREA_RESIZE, bt as DEFAULT_TEXTAREA_ROWS, bn as EyebrowBanner, xn as EyebrowBannerIconColors, Sn as EyebrowBannerLabelColors, M as EyebrowText, N as EyebrowTextVariants, ht as FAQ, gt as FAQGroup, Ht as FeatureComparisonTable, Un as Footnotes, Wn as FootnotesItemTags, Gn as FootnotesTags, Dt as FormControl, Kn as FrostedGlassVFX, qn as FrostedGlassVFXIntensity, t as Grid, I as Heading, L as HeadingFontVariants, R as HeadingLetterSpacing, z as HeadingSizes, B as HeadingStretch, V as HeadingTags, H as HeadingWeights, Ce as Hero, kn as IDE, An as IDEDefaultIconMap, jn as IDEFileExtensions, Ue as Icon, re as IconButton, ie as IconButtonSizes, ae as IconButtonVariants, xe as Image, Se as ImageBorderRadiusOptions, ot as InlineCode, at as InlineLink, Ae as Label, je as LabelColors, Me as LabelSizes, Ee as Link, De as LinkArrowDirections, Oe as LinkSizes, ke as LinkVariants, _n as LogoSuite, nt as MediaPlaylist, Yt as MinimalFooter, hn as MinimalVideoPlayer, On as NavList, qt as OrderedList, tt as Pagination, Xt as Pillar, wn as PricingOptions, fn as Prose, Tt as Radio, kt as RadioGroup, Fe as River, we as RiverAccordion, Te as RiverAccordionVariants, Ve as RiverBreakout, $e as RiverBreakoutTabs, He as RiverBreakoutVariants, et as RiverStoryScroll, Ie as RiverVisualPaddingOptions, Le as RiverVisualPositionOptions, Pn as Section, Fn as SectionBackgroundColors, dn as SectionIntro, Yn as SectionIntroStacked, Xn as SectionIntroStackedVariants, In as SectionPaddingVariants, Ln as SectionVariants, wt as Select, ne as Spinner, c as Stack, l as StackAlignItemVariants, u as StackDirectionVariants, d as StackFlexWrapVariants, f as StackJustifyContentVariants, p as StackSpacingVariants, Rn as Statistic, zn as StatisticSizes, Bn as StatisticSpacingValues, Tn as SubNav, En as SubNavSubMenuVariants, it as SubdomainNavBar, Zn as Tabs, Nt as Testimonial, zt as TestimonialGroup, Pt as TestimonialQuoteMarkColors, Ft as TestimonialVariants, S as Text, P as TextCursorAnimation, C as TextFontVariants, St as TextInput, Ct as TextInputSizes, s as TextRevealAnimation, w as TextSizes, T as TextTags, E as TextVariants, D as TextWeights, xt as Textarea, le as ThemeContext, ue as ThemeProvider, Qn as Tiles, vn as Timeline, Et as ToggleSwitch, st as Token, ct as TokenVariants, Q as Tooltip, $ as TooltipContext, ee as TooltipDelays, te as TooltipDirections, Kt as UnorderedList, mn as VideoPlayer, Y as _Button, Vt as _ComparisonTable, e as _GLOBAL_STYLES, gn as _MinimalVideoPlayer, _e as actionMenuOverlaySides, U as classMap, be as defaultButtonGroupVariant, X as defaultButtonSize, Z as defaultButtonVariant, cn as defaultCardCTAVariant, ln as defaultCardIconColor, un as defaultCardLabelVariant, Cn as defaultEyebrowBannerIconColor, O as defaultFontVariant, Jn as defaultFrostedGlassVFXIntensity, W as defaultHeadingFont, G as defaultHeadingTag, oe as defaultIconButtonSize, se as defaultIconButtonVariant, We as defaultIconColor, Ge as defaultIconSize, Ne as defaultLabelColor, Pe as defaultLabelSize, Zt as defaultPillarIconColor, Qt as defaultPillarIconSize, It as defaultQuoteMarkColor, Re as defaultRiverAlign, ze as defaultRiverImageTextRatio, Be as defaultRiverVariant, m as defaultStackDirection, h as defaultStackSpacing, Lt as defaultTestimonialVariant, k as defaultTextSize, A as defaultTextTag, j as defaultTextVariant, lt as defaultTokenVariant, Ke as iconColors, qe as iconSizeMap, Je as iconSizes, Ye as namedIconSizes, Xe as numericIconSizes, F as testIds, he as useActionMenuContext, o as useAnimation, rt as useFocusTrap, Dn as useSubNavContext, de as useTheme, pn as useVideo, Qe as useWindowSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,[data-color-mode=light],[data-color-mode=auto]{--brand-CarouselPagination-bgColor:var(--brand-color-canvas-subtle);--brand-CarouselPagination-indicator-bgColor:var(--base-color-scale-gray-6);--brand-CarouselPagination-indicator-active-bgColor:var(--base-color-scale-gray-7);--brand-CarouselPagination-arrowButton-fgColor:var(--base-color-scale-black-0);--brand-CarouselPagination-arrowButton-borderColor:var(--base-color-scale-gray-2);--brand-CarouselPagination-arrowButton-inactive-fgColor:var(--base-color-scale-gray-3)}[data-color-mode=dark]{--brand-CarouselPagination-bgColor:var(--brand-color-canvas-subtle);--brand-CarouselPagination-indicator-bgColor:var(--base-color-scale-gray-3);--brand-CarouselPagination-indicator-active-bgColor:var(--base-color-scale-gray-2);--brand-CarouselPagination-arrowButton-fgColor:var(--brand-color-text-default);--brand-CarouselPagination-arrowButton-borderColor:var(--base-color-scale-gray-6);--brand-CarouselPagination-arrowButton-inactive-fgColor:var(--base-color-scale-gray-3)}@media (prefers-color-scheme:dark){[data-color-mode=auto]{--brand-CarouselPagination-bgColor:var(--brand-color-canvas-subtle);--brand-CarouselPagination-indicator-bgColor:var(--base-color-scale-gray-3);--brand-CarouselPagination-indicator-active-bgColor:var(--base-color-scale-gray-2);--brand-CarouselPagination-arrowButton-fgColor:var(--brand-color-text-default);--brand-CarouselPagination-arrowButton-borderColor:var(--base-color-scale-gray-6);--brand-CarouselPagination-arrowButton-inactive-fgColor:var(--base-color-scale-gray-3)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--brand-Testimonial-quote-letterSpacing-large:var(--brand-text-letterSpacing-900);--brand-Testimonial-quote-letterSpacing-default:var(--brand-text-letterSpacing-400);--brand-Testimonial-quote-fontWeight-large:var(--brand-heading-weight-600);--brand-Testimonial-quote-fontWeight-default:var(--brand-heading-weight-1000);--brand-Testimonial-quote-fontSize-large:var(--brand-text-size-500);--brand-Testimonial-quote-fontSize-default:var(--brand-text-size-400)}
|
|
1
|
+
:root{--brand-Testimonial-quote-letterSpacing-large:var(--brand-text-letterSpacing-900);--brand-Testimonial-quote-letterSpacing-default:var(--brand-text-letterSpacing-400);--brand-Testimonial-quote-fontWeight-large:var(--brand-heading-weight-600);--brand-Testimonial-quote-fontWeight-default:var(--brand-heading-weight-1000);--brand-Testimonial-quote-fontSize-large:var(--brand-text-size-500);--brand-Testimonial-quote-fontSize-default:var(--brand-text-size-400);--brand-Testimonial-minimal-quote-lineHeight:1.35;--brand-Testimonial-minimal-quote-fontSize-large:2rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,[data-color-mode=light],[data-color-mode=auto]{--brand-Testimonial-quoteMarkBackground-default:var(--base-color-scale-gray-0);--brand-Testimonial-quoteMarkBackground-blue:var(--base-color-scale-blue-0);--brand-Testimonial-quoteMarkBackground-coral:var(--base-color-scale-coral-0);--brand-Testimonial-quoteMarkBackground-green:var(--base-color-scale-green-0);--brand-Testimonial-quoteMarkBackground-gray:var(--base-color-scale-gray-0);--brand-Testimonial-quoteMarkBackground-indigo:var(--base-color-scale-indigo-0);--brand-Testimonial-quoteMarkBackground-lemon:var(--base-color-scale-lemon-0);--brand-Testimonial-quoteMarkBackground-lime:var(--base-color-scale-lime-0);--brand-Testimonial-quoteMarkBackground-orange:var(--base-color-scale-orange-0);--brand-Testimonial-quoteMarkBackground-pink:var(--base-color-scale-pink-0);--brand-Testimonial-quoteMarkBackground-purple:var(--base-color-scale-purple-0);--brand-Testimonial-quoteMarkBackground-red:var(--base-color-scale-red-0);--brand-Testimonial-quoteMarkBackground-teal:var(--base-color-scale-teal-0);--brand-Testimonial-quoteMarkBackground-yellow:var(--base-color-scale-yellow-0);--brand-Testimonial-borderMask-default:linear-gradient(180deg, #0009, #0000004d);--brand-Testimonial-borderMask-subtle:linear-gradient(180deg, #0009, #0000004d);--brand-Testimonial-quoteMarkColor-default:var(--brand-color-text-default);--brand-Testimonial-quoteMarkColor-blue:var(--base-color-scale-blue-5);--brand-Testimonial-quoteMarkColor-coral:var(--base-color-scale-coral-5);--brand-Testimonial-quoteMarkColor-green:var(--base-color-scale-green-6);--brand-Testimonial-quoteMarkColor-gray:var(--base-color-scale-gray-5);--brand-Testimonial-quoteMarkColor-indigo:var(--base-color-scale-indigo-5);--brand-Testimonial-quoteMarkColor-lemon:var(--base-color-scale-lemon-5);--brand-Testimonial-quoteMarkColor-lime:var(--base-color-scale-lime-5);--brand-Testimonial-quoteMarkColor-orange:var(--base-color-scale-orange-5);--brand-Testimonial-quoteMarkColor-pink:var(--base-color-scale-pink-5);--brand-Testimonial-quoteMarkColor-purple:var(--base-color-scale-purple-5);--brand-Testimonial-quoteMarkColor-red:var(--base-color-scale-red-5);--brand-Testimonial-quoteMarkColor-teal:var(--base-color-scale-teal-5);--brand-Testimonial-quoteMarkColor-yellow:var(--base-color-scale-yellow-5);--brand-Testimonial-quote-color-default:var(--brand-color-text-default);--brand-Testimonial-quote-color-emphasis:var(--base-color-scale-green-7)}[data-color-mode=dark]{--brand-Testimonial-quoteMarkBackground-default:var(--base-color-scale-gray-6);--brand-Testimonial-quoteMarkBackground-blue:var(--base-color-scale-blue-8);--brand-Testimonial-quoteMarkBackground-coral:var(--base-color-scale-coral-8);--brand-Testimonial-quoteMarkBackground-green:var(--base-color-scale-green-8);--brand-Testimonial-quoteMarkBackground-gray:var(--base-color-scale-gray-6);--brand-Testimonial-quoteMarkBackground-indigo:var(--base-color-scale-indigo-8);--brand-Testimonial-quoteMarkBackground-lemon:var(--base-color-scale-lemon-8);--brand-Testimonial-quoteMarkBackground-lime:var(--base-color-scale-lime-8);--brand-Testimonial-quoteMarkBackground-orange:var(--base-color-scale-orange-8);--brand-Testimonial-quoteMarkBackground-pink:var(--base-color-scale-pink-8);--brand-Testimonial-quoteMarkBackground-purple:var(--base-color-scale-purple-8);--brand-Testimonial-quoteMarkBackground-red:var(--base-color-scale-red-8);--brand-Testimonial-quoteMarkBackground-teal:var(--base-color-scale-teal-8);--brand-Testimonial-quoteMarkBackground-yellow:var(--base-color-scale-yellow-8);--brand-Testimonial-borderMask-default:linear-gradient(180deg, #0009, #0000001a);--brand-Testimonial-borderMask-subtle:linear-gradient(180deg, #0009, #0000001a);--brand-Testimonial-quoteMarkColor-default:var(--brand-color-text-default);--brand-Testimonial-quoteMarkColor-blue:var(--base-color-scale-blue-2);--brand-Testimonial-quoteMarkColor-coral:var(--base-color-scale-coral-2);--brand-Testimonial-quoteMarkColor-green:var(--base-color-scale-green-2);--brand-Testimonial-quoteMarkColor-gray:var(--base-color-scale-gray-2);--brand-Testimonial-quoteMarkColor-indigo:var(--base-color-scale-indigo-2);--brand-Testimonial-quoteMarkColor-lemon:var(--base-color-scale-lemon-2);--brand-Testimonial-quoteMarkColor-lime:var(--base-color-scale-lime-2);--brand-Testimonial-quoteMarkColor-orange:var(--base-color-scale-orange-2);--brand-Testimonial-quoteMarkColor-pink:var(--base-color-scale-pink-2);--brand-Testimonial-quoteMarkColor-purple:var(--base-color-scale-purple-2);--brand-Testimonial-quoteMarkColor-red:var(--base-color-scale-red-2);--brand-Testimonial-quoteMarkColor-teal:var(--base-color-scale-teal-2);--brand-Testimonial-quoteMarkColor-yellow:var(--base-color-scale-yellow-2);--brand-Testimonial-quote-color-default:var(--brand-color-text-default);--brand-Testimonial-quote-color-emphasis:var(--brand-color-text-emphasized)}@media (prefers-color-scheme:dark){[data-color-mode=auto]{--brand-Testimonial-quoteMarkBackground-default:var(--base-color-scale-gray-6);--brand-Testimonial-quoteMarkBackground-blue:var(--base-color-scale-blue-8);--brand-Testimonial-quoteMarkBackground-coral:var(--base-color-scale-coral-8);--brand-Testimonial-quoteMarkBackground-green:var(--base-color-scale-green-8);--brand-Testimonial-quoteMarkBackground-gray:var(--base-color-scale-gray-6);--brand-Testimonial-quoteMarkBackground-indigo:var(--base-color-scale-indigo-8);--brand-Testimonial-quoteMarkBackground-lemon:var(--base-color-scale-lemon-8);--brand-Testimonial-quoteMarkBackground-lime:var(--base-color-scale-lime-8);--brand-Testimonial-quoteMarkBackground-orange:var(--base-color-scale-orange-8);--brand-Testimonial-quoteMarkBackground-pink:var(--base-color-scale-pink-8);--brand-Testimonial-quoteMarkBackground-purple:var(--base-color-scale-purple-8);--brand-Testimonial-quoteMarkBackground-red:var(--base-color-scale-red-8);--brand-Testimonial-quoteMarkBackground-teal:var(--base-color-scale-teal-8);--brand-Testimonial-quoteMarkBackground-yellow:var(--base-color-scale-yellow-8);--brand-Testimonial-borderMask-default:linear-gradient(180deg, #0009, #0000001a);--brand-Testimonial-borderMask-subtle:linear-gradient(180deg, #0009, #0000001a);--brand-Testimonial-quoteMarkColor-default:var(--brand-color-text-default);--brand-Testimonial-quoteMarkColor-blue:var(--base-color-scale-blue-2);--brand-Testimonial-quoteMarkColor-coral:var(--base-color-scale-coral-2);--brand-Testimonial-quoteMarkColor-green:var(--base-color-scale-green-2);--brand-Testimonial-quoteMarkColor-gray:var(--base-color-scale-gray-2);--brand-Testimonial-quoteMarkColor-indigo:var(--base-color-scale-indigo-2);--brand-Testimonial-quoteMarkColor-lemon:var(--base-color-scale-lemon-2);--brand-Testimonial-quoteMarkColor-lime:var(--base-color-scale-lime-2);--brand-Testimonial-quoteMarkColor-orange:var(--base-color-scale-orange-2);--brand-Testimonial-quoteMarkColor-pink:var(--base-color-scale-pink-2);--brand-Testimonial-quoteMarkColor-purple:var(--base-color-scale-purple-2);--brand-Testimonial-quoteMarkColor-red:var(--base-color-scale-red-2);--brand-Testimonial-quoteMarkColor-teal:var(--base-color-scale-teal-2);--brand-Testimonial-quoteMarkColor-yellow:var(--base-color-scale-yellow-2);--brand-Testimonial-quote-color-default:var(--brand-color-text-default);--brand-Testimonial-quote-color-emphasis:var(--brand-color-text-emphasized)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--brand-TestimonialGroup-fadeOutDuration:.25s;--brand-TestimonialGroup-fadeInDuration:.475s}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseProps } from '../component-helpers';
|
|
3
|
+
/**
|
|
4
|
+
* Design tokens
|
|
5
|
+
*/
|
|
6
|
+
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors-with-modes.css';
|
|
7
|
+
export type CarouselPaginationItemAttributes = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'type' | 'disabled' | 'aria-disabled' | 'aria-current'> & {
|
|
8
|
+
[attribute: `data-${string}`]: string | number | boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
export type CarouselPaginationLabels = {
|
|
11
|
+
previous?: string;
|
|
12
|
+
next?: string;
|
|
13
|
+
/** Complete selector label using {current} and {total}. */
|
|
14
|
+
item?: string;
|
|
15
|
+
};
|
|
16
|
+
export type CarouselPaginationProps = BaseProps<HTMLDivElement> & Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'> & {
|
|
17
|
+
/** Total number of carousel items. */
|
|
18
|
+
itemCount: number;
|
|
19
|
+
/** The current active item */
|
|
20
|
+
activeIndex: number;
|
|
21
|
+
/** Requests a new activeIndex; the parent updates selection. */
|
|
22
|
+
onChange: (activeIndex: number) => void;
|
|
23
|
+
/** Enables looping navigation between the first and last items. */
|
|
24
|
+
loop?: boolean;
|
|
25
|
+
/** Accessible control labels for localization. */
|
|
26
|
+
labels?: CarouselPaginationLabels;
|
|
27
|
+
/** Builds attributes for each item selector. */
|
|
28
|
+
itemAttributesBuilder?: (index: number) => CarouselPaginationItemAttributes;
|
|
29
|
+
/** Accessible name for the controls. */
|
|
30
|
+
'aria-label': string;
|
|
31
|
+
'data-testid'?: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Use CarouselPagination to navigate a collection of items.
|
|
35
|
+
* @see https://primer.style/brand/components/CarouselPagination/
|
|
36
|
+
*/
|
|
37
|
+
export declare const CarouselPagination: React.ForwardRefExoticComponent<Omit<CarouselPaginationProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
38
|
+
testIds: {
|
|
39
|
+
root: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CarouselPagination';
|
|
@@ -13,7 +13,7 @@ export type IconButtonSize = (typeof IconButtonSizes)[number];
|
|
|
13
13
|
type IconButtonBaseProps<C extends React.ElementType> = Omit<BaseProps<C>, 'ref'> & {
|
|
14
14
|
as?: C;
|
|
15
15
|
variant?: IconButtonVariant;
|
|
16
|
-
icon: Icon
|
|
16
|
+
icon: Icon | React.ReactElement<React.SVGProps<SVGSVGElement>>;
|
|
17
17
|
'aria-label': string;
|
|
18
18
|
description?: string;
|
|
19
19
|
inactive?: boolean;
|
package/lib/Tabs/Tabs.d.ts
CHANGED
|
@@ -46,10 +46,14 @@ export type TabsProps = {
|
|
|
46
46
|
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
47
47
|
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
48
48
|
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
49
|
+
* @param internalAccessibleLabels.controlsIndicator - Complete selector label using {current}. Default is "Go to tab {current}".
|
|
50
|
+
* @param internalAccessibleLabels.controlsNavigation - Label for the complete mobile control group. Default is "Tab navigation".
|
|
49
51
|
*/
|
|
50
52
|
internalAccessibleLabels?: {
|
|
51
53
|
controlsNext: string;
|
|
52
54
|
controlsPrev: string;
|
|
55
|
+
controlsIndicator?: string;
|
|
56
|
+
controlsNavigation?: string;
|
|
53
57
|
};
|
|
54
58
|
} & LabelOrLabelledBy & BaseProps<HTMLDivElement> & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'aria-label' | 'aria-labelledby'>;
|
|
55
59
|
export type TabsItemProps = {
|
|
@@ -111,10 +115,14 @@ export declare const Tabs: React.ForwardRefExoticComponent<(Omit<{
|
|
|
111
115
|
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
112
116
|
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
113
117
|
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
118
|
+
* @param internalAccessibleLabels.controlsIndicator - Complete selector label using {current}. Default is "Go to tab {current}".
|
|
119
|
+
* @param internalAccessibleLabels.controlsNavigation - Label for the complete mobile control group. Default is "Tab navigation".
|
|
114
120
|
*/
|
|
115
121
|
internalAccessibleLabels?: {
|
|
116
122
|
controlsNext: string;
|
|
117
123
|
controlsPrev: string;
|
|
124
|
+
controlsIndicator?: string;
|
|
125
|
+
controlsNavigation?: string;
|
|
118
126
|
};
|
|
119
127
|
} & {
|
|
120
128
|
'aria-label': string;
|
|
@@ -148,10 +156,14 @@ export declare const Tabs: React.ForwardRefExoticComponent<(Omit<{
|
|
|
148
156
|
* @param internalAccessibleLabels - Customizable labels for screen readers to improve accessibility. These are applied internally using the aria-label attribute.
|
|
149
157
|
* @param internalAccessibleLabels.controlsNext - Label for the "next tab" control button, used by screen readers. Default is "Next tab".
|
|
150
158
|
* @param internalAccessibleLabels.controlsPrev - Label for the "previous tab" control button, used by screen readers. Default is "Previous tab".
|
|
159
|
+
* @param internalAccessibleLabels.controlsIndicator - Complete selector label using {current}. Default is "Go to tab {current}".
|
|
160
|
+
* @param internalAccessibleLabels.controlsNavigation - Label for the complete mobile control group. Default is "Tab navigation".
|
|
151
161
|
*/
|
|
152
162
|
internalAccessibleLabels?: {
|
|
153
163
|
controlsNext: string;
|
|
154
164
|
controlsPrev: string;
|
|
165
|
+
controlsIndicator?: string;
|
|
166
|
+
controlsNavigation?: string;
|
|
155
167
|
};
|
|
156
168
|
} & {
|
|
157
169
|
'aria-labelledby': string;
|
|
@@ -4,8 +4,8 @@ import type { AvatarProps } from '../';
|
|
|
4
4
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/base.css';
|
|
5
5
|
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css';
|
|
6
6
|
type TestimonialSize = 'small' | 'large';
|
|
7
|
-
export declare const TestimonialQuoteMarkColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"
|
|
8
|
-
export declare const defaultQuoteMarkColor
|
|
7
|
+
export declare const TestimonialQuoteMarkColors: readonly ["default", "blue", "coral", "green", "gray", "indigo", "lemon", "lime", "orange", "pink", "purple", "red", "teal", "yellow"];
|
|
8
|
+
export declare const defaultQuoteMarkColor = "green";
|
|
9
9
|
export declare const TestimonialVariants: readonly ["subtle", "default", "minimal", "expressive"];
|
|
10
10
|
type TestimonialVariant = (typeof TestimonialVariants)[number];
|
|
11
11
|
export declare const defaultTestimonialVariant: TestimonialVariant;
|
|
@@ -28,6 +28,10 @@ export type TestimonialProps = {
|
|
|
28
28
|
size?: TestimonialSize;
|
|
29
29
|
/** Sets the color of the quote mark */
|
|
30
30
|
quoteMarkColor?: (typeof TestimonialQuoteMarkColors)[number];
|
|
31
|
+
/** Class applied to the quote mark. */
|
|
32
|
+
quoteMarkClassName?: string;
|
|
33
|
+
/** Class applied to the attribution wrapper. */
|
|
34
|
+
mediaClassName?: string;
|
|
31
35
|
} & BaseProps<HTMLElement> & React.HTMLAttributes<HTMLElement>;
|
|
32
36
|
/**
|
|
33
37
|
* Testimonial quote child element
|
|
@@ -52,7 +56,7 @@ type LogoProps = {
|
|
|
52
56
|
* Testimonial avatar child element
|
|
53
57
|
* <Testimonial.Avatar>
|
|
54
58
|
*/
|
|
55
|
-
declare function _Avatar({ size, ...rest }: AvatarProps): React.JSX.Element;
|
|
59
|
+
declare function _Avatar({ size, className, ...rest }: AvatarProps): React.JSX.Element;
|
|
56
60
|
/**
|
|
57
61
|
* Use Testimonial to display a quote from a customer or user.
|
|
58
62
|
* @see https://primer.style/brand/components/Testimonial
|