@fluentui/react-teaching-popover 9.7.2 → 9.74.3-experimental.esm.20260709-49ee7a20cf.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -2
- package/dist/index.d.cts +829 -0
- package/lib/TeachingPopover.js +1 -1
- package/lib/TeachingPopover.js.map +1 -1
- package/lib/TeachingPopoverBody.js +1 -1
- package/lib/TeachingPopoverBody.js.map +1 -1
- package/lib/TeachingPopoverCarousel.js +1 -1
- package/lib/TeachingPopoverCarousel.js.map +1 -1
- package/lib/TeachingPopoverCarouselCard.js +1 -1
- package/lib/TeachingPopoverCarouselCard.js.map +1 -1
- package/lib/TeachingPopoverCarouselFooter.js +1 -1
- package/lib/TeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/TeachingPopoverCarouselFooterButton.js +1 -1
- package/lib/TeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/TeachingPopoverCarouselNav.js +1 -1
- package/lib/TeachingPopoverCarouselNav.js.map +1 -1
- package/lib/TeachingPopoverCarouselNavButton.js +1 -1
- package/lib/TeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/TeachingPopoverCarouselPageCount.js +1 -1
- package/lib/TeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/TeachingPopoverFooter.js +1 -1
- package/lib/TeachingPopoverFooter.js.map +1 -1
- package/lib/TeachingPopoverHeader.js +1 -1
- package/lib/TeachingPopoverHeader.js.map +1 -1
- package/lib/TeachingPopoverSurface.js +1 -1
- package/lib/TeachingPopoverSurface.js.map +1 -1
- package/lib/TeachingPopoverTitle.js +1 -1
- package/lib/TeachingPopoverTitle.js.map +1 -1
- package/lib/TeachingPopoverTrigger.js +1 -1
- package/lib/TeachingPopoverTrigger.js.map +1 -1
- package/lib/components/TeachingPopover/TeachingPopover.js +3 -3
- package/lib/components/TeachingPopover/TeachingPopover.js.map +1 -1
- package/lib/components/TeachingPopover/index.js +4 -4
- package/lib/components/TeachingPopover/index.js.map +1 -1
- package/lib/components/TeachingPopover/renderTeachingPopover.js +1 -1
- package/lib/components/TeachingPopover/useTeachingPopover.js +1 -1
- package/lib/components/TeachingPopover/useTeachingPopoverContextValues.js +1 -1
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.js +5 -5
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.js.map +1 -1
- package/lib/components/TeachingPopoverBody/index.js +4 -4
- package/lib/components/TeachingPopoverBody/index.js.map +1 -1
- package/lib/components/TeachingPopoverBody/renderTeachingPopoverBody.js +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBody.js +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js +6 -6
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselContext.js +2 -2
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselContext.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js +3 -3
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js +3 -3
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js +2 -2
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js +4 -4
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js +6 -6
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/index.js +5 -5
- package/lib/components/TeachingPopoverCarousel/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js +2 -2
- package/lib/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js +3 -3
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js +1 -1
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js +5 -5
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselCard/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js +2 -2
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js +5 -5
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselFooter/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js +2 -2
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js +5 -5
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselFooterButton/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js +7 -7
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js +5 -5
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselNav/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js +2 -2
- package/lib/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js +3 -3
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverCarouselNav/valueIdContext.js +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js +5 -5
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselNavButton/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js +6 -6
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js +5 -5
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/index.js +4 -4
- package/lib/components/TeachingPopoverCarouselPageCount/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js +3 -3
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js +1 -1
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.js +5 -5
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/index.js +4 -4
- package/lib/components/TeachingPopoverFooter/index.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js +1 -1
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooter.js +3 -3
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js +2 -2
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js +2 -2
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.js +5 -5
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/index.js +4 -4
- package/lib/components/TeachingPopoverHeader/index.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js +1 -1
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeader.js +4 -4
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.js +5 -5
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/index.js +4 -4
- package/lib/components/TeachingPopoverSurface/index.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js +2 -2
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurface.js +1 -1
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.js +5 -5
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/index.js +4 -4
- package/lib/components/TeachingPopoverTitle/index.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js +1 -1
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitle.js +4 -4
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js +3 -3
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js +3 -3
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js +2 -2
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/index.js +3 -3
- package/lib/components/TeachingPopoverTrigger/index.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js +1 -1
- package/lib/index.js +21 -21
- package/lib/index.js.map +1 -1
- package/lib-commonjs/{TeachingPopover.js → TeachingPopover.cjs} +1 -1
- package/lib-commonjs/{TeachingPopover.js.map → TeachingPopover.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverBody.js → TeachingPopoverBody.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverBody.js.map → TeachingPopoverBody.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarousel.js → TeachingPopoverCarousel.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarousel.js.map → TeachingPopoverCarousel.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselCard.js → TeachingPopoverCarouselCard.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselCard.js.map → TeachingPopoverCarouselCard.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselFooter.js → TeachingPopoverCarouselFooter.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselFooter.js.map → TeachingPopoverCarouselFooter.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselFooterButton.js → TeachingPopoverCarouselFooterButton.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselFooterButton.js.map → TeachingPopoverCarouselFooterButton.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselNav.js → TeachingPopoverCarouselNav.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselNav.js.map → TeachingPopoverCarouselNav.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselNavButton.js → TeachingPopoverCarouselNavButton.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselNavButton.js.map → TeachingPopoverCarouselNavButton.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselPageCount.js → TeachingPopoverCarouselPageCount.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverCarouselPageCount.js.map → TeachingPopoverCarouselPageCount.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverFooter.js → TeachingPopoverFooter.cjs} +7 -7
- package/lib-commonjs/{TeachingPopoverFooter.js.map → TeachingPopoverFooter.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverHeader.js → TeachingPopoverHeader.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverHeader.js.map → TeachingPopoverHeader.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverSurface.js → TeachingPopoverSurface.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverSurface.js.map → TeachingPopoverSurface.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverTitle.js → TeachingPopoverTitle.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverTitle.js.map → TeachingPopoverTitle.cjs.map} +1 -1
- package/lib-commonjs/{TeachingPopoverTrigger.js → TeachingPopoverTrigger.cjs} +1 -1
- package/lib-commonjs/{TeachingPopoverTrigger.js.map → TeachingPopoverTrigger.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopover/{TeachingPopover.js → TeachingPopover.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopover/{TeachingPopover.js.map → TeachingPopover.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopover/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopover/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/{TeachingPopoverBody.js → TeachingPopoverBody.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverBody/{TeachingPopoverBody.js.map → TeachingPopoverBody.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverBody/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{Carousel.js → Carousel.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{Carousel.js.map → Carousel.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{CarouselContext.js → CarouselContext.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{CarouselContext.js.map → CarouselContext.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{Carouseltem.js → Carouseltem.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{Carouseltem.js.map → Carouseltem.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{useCarouselItem.js → useCarouselItem.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{useCarouselItem.js.map → useCarouselItem.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{useCarouselValues.js → useCarouselValues.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{useCarouselValues.js.map → useCarouselValues.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{useCarouselWalker.js → useCarouselWalker.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{useCarouselWalker.js.map → useCarouselWalker.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{TeachingPopoverCarousel.js → TeachingPopoverCarousel.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarousel/{TeachingPopoverCarousel.js.map → TeachingPopoverCarousel.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{index.js → index.cjs} +5 -5
- package/lib-commonjs/components/TeachingPopoverCarousel/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{renderTeachingPopoverCarousel.js → renderTeachingPopoverCarousel.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{renderTeachingPopoverCarousel.js.map → renderTeachingPopoverCarousel.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarousel.js → useTeachingPopoverCarousel.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarousel.js.map → useTeachingPopoverCarousel.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{TeachingPopoverCarouselCard.js → TeachingPopoverCarouselCard.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{TeachingPopoverCarouselCard.js.map → TeachingPopoverCarouselCard.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{useTeachingPopoverCarouselCard.js → useTeachingPopoverCarouselCard.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/{useTeachingPopoverCarouselCard.js.map → useTeachingPopoverCarouselCard.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{TeachingPopoverCarouselFooter.js → TeachingPopoverCarouselFooter.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{TeachingPopoverCarouselFooter.js.map → TeachingPopoverCarouselFooter.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{useTeachingPopoverCarouselFooter.js → useTeachingPopoverCarouselFooter.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/{useTeachingPopoverCarouselFooter.js.map → useTeachingPopoverCarouselFooter.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{TeachingPopoverCarouselFooterButton.js → TeachingPopoverCarouselFooterButton.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{TeachingPopoverCarouselFooterButton.js.map → TeachingPopoverCarouselFooterButton.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{useTeachingPopoverCarouselFooterButton.js → useTeachingPopoverCarouselFooterButton.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{useTeachingPopoverCarouselFooterButton.js.map → useTeachingPopoverCarouselFooterButton.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{TeachingPopoverCarouselNav.js → TeachingPopoverCarouselNav.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{TeachingPopoverCarouselNav.js.map → TeachingPopoverCarouselNav.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{renderTeachingPopoverCarouselNav.js → renderTeachingPopoverCarouselNav.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{renderTeachingPopoverCarouselNav.js.map → renderTeachingPopoverCarouselNav.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{useTeachingPopoverCarouselNav.js → useTeachingPopoverCarouselNav.cjs} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/{useTeachingPopoverCarouselNav.js.map → useTeachingPopoverCarouselNav.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{TeachingPopoverCarouselNavButton.js → TeachingPopoverCarouselNavButton.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{TeachingPopoverCarouselNavButton.js.map → TeachingPopoverCarouselNavButton.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{useTeachingPopoverCarouselNavButton.js → useTeachingPopoverCarouselNavButton.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{useTeachingPopoverCarouselNavButton.js.map → useTeachingPopoverCarouselNavButton.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{TeachingPopoverCarouselPageCount.js → TeachingPopoverCarouselPageCount.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{TeachingPopoverCarouselPageCount.js.map → TeachingPopoverCarouselPageCount.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{useTeachingPopoverCarouselPageCount.js → useTeachingPopoverCarouselPageCount.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{useTeachingPopoverCarouselPageCount.js.map → useTeachingPopoverCarouselPageCount.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/{TeachingPopoverFooter.js → TeachingPopoverFooter.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverFooter/{TeachingPopoverFooter.js.map → TeachingPopoverFooter.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverFooter/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/{TeachingPopoverHeader.js → TeachingPopoverHeader.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverHeader/{TeachingPopoverHeader.js.map → TeachingPopoverHeader.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverHeader/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/{TeachingPopoverSurface.js → TeachingPopoverSurface.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverSurface/{TeachingPopoverSurface.js.map → TeachingPopoverSurface.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverSurface/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/{TeachingPopoverTitle.js → TeachingPopoverTitle.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverTitle/{TeachingPopoverTitle.js.map → TeachingPopoverTitle.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/{index.js → index.cjs} +4 -4
- package/lib-commonjs/components/TeachingPopoverTitle/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.cjs.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/{TeachingPopoverTrigger.js → TeachingPopoverTrigger.cjs} +2 -2
- package/lib-commonjs/components/TeachingPopoverTrigger/{TeachingPopoverTrigger.js.map → TeachingPopoverTrigger.cjs.map} +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/{index.js → index.cjs} +3 -3
- package/lib-commonjs/components/TeachingPopoverTrigger/{index.js.map → index.cjs.map} +1 -1
- package/lib-commonjs/{index.js → index.cjs} +14 -14
- package/lib-commonjs/{index.js.map → index.cjs.map} +1 -1
- package/package.json +23 -22
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js.map +0 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js.map +0 -1
- /package/lib-commonjs/components/TeachingPopover/{TeachingPopover.types.js → TeachingPopover.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{TeachingPopover.types.js.map → TeachingPopover.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{renderTeachingPopover.js → renderTeachingPopover.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{renderTeachingPopover.js.map → renderTeachingPopover.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{useTeachingPopover.js → useTeachingPopover.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{useTeachingPopover.js.map → useTeachingPopover.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{useTeachingPopoverContextValues.js → useTeachingPopoverContextValues.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopover/{useTeachingPopoverContextValues.js.map → useTeachingPopoverContextValues.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{TeachingPopoverBody.types.js → TeachingPopoverBody.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{TeachingPopoverBody.types.js.map → TeachingPopoverBody.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{renderTeachingPopoverBody.js → renderTeachingPopoverBody.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{renderTeachingPopoverBody.js.map → renderTeachingPopoverBody.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{useTeachingPopoverBody.js → useTeachingPopoverBody.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{useTeachingPopoverBody.js.map → useTeachingPopoverBody.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{useTeachingPopoverBodyStyles.styles.js → useTeachingPopoverBodyStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{useTeachingPopoverBodyStyles.styles.raw.js → useTeachingPopoverBodyStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverBody/{useTeachingPopoverBodyStyles.styles.raw.js.map → useTeachingPopoverBodyStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{Carousel.types.js → Carousel.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{Carousel.types.js.map → Carousel.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{CarouselItem.types.js → CarouselItem.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{CarouselItem.types.js.map → CarouselItem.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{renderCarouselItem.js → renderCarouselItem.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/{renderCarouselItem.js.map → renderCarouselItem.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{constants.js → constants.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{constants.js.map → constants.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{createCarouselStore.js → createCarouselStore.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/{createCarouselStore.js.map → createCarouselStore.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{TeachingPopoverCarousel.types.js → TeachingPopoverCarousel.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{TeachingPopoverCarousel.types.js.map → TeachingPopoverCarousel.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarouselContextValues.js → useTeachingPopoverCarouselContextValues.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarouselContextValues.js.map → useTeachingPopoverCarouselContextValues.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarouselStyles.styles.js → useTeachingPopoverCarouselStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarouselStyles.styles.raw.js → useTeachingPopoverCarouselStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarousel/{useTeachingPopoverCarouselStyles.styles.raw.js.map → useTeachingPopoverCarouselStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{TeachingPopoverCarouselCard.types.js → TeachingPopoverCarouselCard.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{TeachingPopoverCarouselCard.types.js.map → TeachingPopoverCarouselCard.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{renderTeachingPopoverCarouselCard.js → renderTeachingPopoverCarouselCard.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{renderTeachingPopoverCarouselCard.js.map → renderTeachingPopoverCarouselCard.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{useTeachingPopoverCarouselCardStyles.styles.js → useTeachingPopoverCarouselCardStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{useTeachingPopoverCarouselCardStyles.styles.raw.js → useTeachingPopoverCarouselCardStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselCard/{useTeachingPopoverCarouselCardStyles.styles.raw.js.map → useTeachingPopoverCarouselCardStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{TeachingPopoverCarouselFooter.types.js → TeachingPopoverCarouselFooter.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{TeachingPopoverCarouselFooter.types.js.map → TeachingPopoverCarouselFooter.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{renderTeachingPopoverCarouselFooter.js → renderTeachingPopoverCarouselFooter.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{renderTeachingPopoverCarouselFooter.js.map → renderTeachingPopoverCarouselFooter.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{useTeachingPopoverCarouselFooterStyles.styles.js → useTeachingPopoverCarouselFooterStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{useTeachingPopoverCarouselFooterStyles.styles.raw.js → useTeachingPopoverCarouselFooterStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooter/{useTeachingPopoverCarouselFooterStyles.styles.raw.js.map → useTeachingPopoverCarouselFooterStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{TeachingPopoverCarouselFooterButton.types.js → TeachingPopoverCarouselFooterButton.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{TeachingPopoverCarouselFooterButton.types.js.map → TeachingPopoverCarouselFooterButton.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{renderTeachingPopoverCarouselFooterButton.js → renderTeachingPopoverCarouselFooterButton.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{renderTeachingPopoverCarouselFooterButton.js.map → renderTeachingPopoverCarouselFooterButton.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{useTeachingPopoverCarouselFooterButtonStyles.styles.js → useTeachingPopoverCarouselFooterButtonStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js → useTeachingPopoverCarouselFooterButtonStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js.map → useTeachingPopoverCarouselFooterButtonStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{TeachingPopoverCarouselNav.types.js → TeachingPopoverCarouselNav.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{TeachingPopoverCarouselNav.types.js.map → TeachingPopoverCarouselNav.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{useTeachingPopoverCarouselNavStyles.styles.js → useTeachingPopoverCarouselNavStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{useTeachingPopoverCarouselNavStyles.styles.raw.js → useTeachingPopoverCarouselNavStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{useTeachingPopoverCarouselNavStyles.styles.raw.js.map → useTeachingPopoverCarouselNavStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{valueIdContext.js → valueIdContext.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNav/{valueIdContext.js.map → valueIdContext.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{TeachingPopoverCarouselNavButton.types.js → TeachingPopoverCarouselNavButton.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{TeachingPopoverCarouselNavButton.types.js.map → TeachingPopoverCarouselNavButton.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{renderTeachingPopoverCarouselNavButton.js → renderTeachingPopoverCarouselNavButton.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{renderTeachingPopoverCarouselNavButton.js.map → renderTeachingPopoverCarouselNavButton.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{useTeachingPopoverCarouselNavButtonStyles.styles.js → useTeachingPopoverCarouselNavButtonStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{useTeachingPopoverCarouselNavButtonStyles.styles.raw.js → useTeachingPopoverCarouselNavButtonStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselNavButton/{useTeachingPopoverCarouselNavButtonStyles.styles.raw.js.map → useTeachingPopoverCarouselNavButtonStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{TeachingPopoverCarouselPageCount.types.js → TeachingPopoverCarouselPageCount.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{TeachingPopoverCarouselPageCount.types.js.map → TeachingPopoverCarouselPageCount.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{renderTeachingPopoverCarouselPageCount.js → renderTeachingPopoverCarouselPageCount.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{renderTeachingPopoverCarouselPageCount.js.map → renderTeachingPopoverCarouselPageCount.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{useTeachingPopoverCarouselPageCountStyles.styles.js → useTeachingPopoverCarouselPageCountStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{useTeachingPopoverCarouselPageCountStyles.styles.raw.js → useTeachingPopoverCarouselPageCountStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverCarouselPageCount/{useTeachingPopoverCarouselPageCountStyles.styles.raw.js.map → useTeachingPopoverCarouselPageCountStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{TeachingPopoverFooter.types.js → TeachingPopoverFooter.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{TeachingPopoverFooter.types.js.map → TeachingPopoverFooter.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{renderTeachingPopoverFooter.js → renderTeachingPopoverFooter.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{renderTeachingPopoverFooter.js.map → renderTeachingPopoverFooter.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{useTeachingPopoverFooter.js → useTeachingPopoverFooter.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{useTeachingPopoverFooter.js.map → useTeachingPopoverFooter.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{useTeachingPopoverFooterStyles.styles.js → useTeachingPopoverFooterStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{useTeachingPopoverFooterStyles.styles.raw.js → useTeachingPopoverFooterStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverFooter/{useTeachingPopoverFooterStyles.styles.raw.js.map → useTeachingPopoverFooterStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{TeachingPopoverHeader.types.js → TeachingPopoverHeader.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{TeachingPopoverHeader.types.js.map → TeachingPopoverHeader.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{renderTeachingPopoverHeader.js → renderTeachingPopoverHeader.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{renderTeachingPopoverHeader.js.map → renderTeachingPopoverHeader.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{useTeachingPopoverHeader.js → useTeachingPopoverHeader.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{useTeachingPopoverHeader.js.map → useTeachingPopoverHeader.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{useTeachingPopoverHeaderStyles.styles.js → useTeachingPopoverHeaderStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{useTeachingPopoverHeaderStyles.styles.raw.js → useTeachingPopoverHeaderStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverHeader/{useTeachingPopoverHeaderStyles.styles.raw.js.map → useTeachingPopoverHeaderStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{TeachingPopoverSurface.types.js → TeachingPopoverSurface.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{TeachingPopoverSurface.types.js.map → TeachingPopoverSurface.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{renderTeachingPopoverSurface.js → renderTeachingPopoverSurface.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{renderTeachingPopoverSurface.js.map → renderTeachingPopoverSurface.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{useTeachingPopoverSurface.js → useTeachingPopoverSurface.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{useTeachingPopoverSurface.js.map → useTeachingPopoverSurface.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{useTeachingPopoverSurfaceStyles.styles.js → useTeachingPopoverSurfaceStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{useTeachingPopoverSurfaceStyles.styles.raw.js → useTeachingPopoverSurfaceStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverSurface/{useTeachingPopoverSurfaceStyles.styles.raw.js.map → useTeachingPopoverSurfaceStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{TeachingPopoverTitle.types.js → TeachingPopoverTitle.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{TeachingPopoverTitle.types.js.map → TeachingPopoverTitle.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{renderTeachingPopoverTitle.js → renderTeachingPopoverTitle.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{renderTeachingPopoverTitle.js.map → renderTeachingPopoverTitle.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{useTeachingPopoverTitle.js → useTeachingPopoverTitle.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{useTeachingPopoverTitle.js.map → useTeachingPopoverTitle.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{useTeachingPopoverTitleStyles.styles.js → useTeachingPopoverTitleStyles.styles.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{useTeachingPopoverTitleStyles.styles.raw.js → useTeachingPopoverTitleStyles.styles.raw.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTitle/{useTeachingPopoverTitleStyles.styles.raw.js.map → useTeachingPopoverTitleStyles.styles.raw.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{TeachingPopoverTrigger.types.js → TeachingPopoverTrigger.types.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{TeachingPopoverTrigger.types.js.map → TeachingPopoverTrigger.types.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{renderTeachingPopoverTrigger.js → renderTeachingPopoverTrigger.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{renderTeachingPopoverTrigger.js.map → renderTeachingPopoverTrigger.cjs.map} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{useTeachingPopoverTrigger.js → useTeachingPopoverTrigger.cjs} +0 -0
- /package/lib-commonjs/components/TeachingPopoverTrigger/{useTeachingPopoverTrigger.js.map → useTeachingPopoverTrigger.cjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/Carousel/useCarouselValues.ts"],"sourcesContent":["'use client';\n\nimport { useSyncExternalStore } from 'use-sync-external-store/shim';\n\nimport { useCarouselContext_unstable } from './CarouselContext';\nimport type { CarouselStore } from './Carousel.types';\n\nexport function useCarouselValues_unstable<T>(getSnapshot: (values: ReturnType<CarouselStore['getSnapshot']>) => T): T {\n const store = useCarouselContext_unstable(c => c.store);\n\n return useSyncExternalStore(store.subscribe, () => getSnapshot(store.getSnapshot()));\n}\n"],"names":["useSyncExternalStore","useCarouselContext_unstable","useCarouselValues_unstable","getSnapshot","store","c","subscribe"],"mappings":"AAAA;;;;;;;;;;;sBAEqC,+BAA+B;iCAExB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/Carousel/useCarouselValues.ts"],"sourcesContent":["'use client';\n\nimport { useSyncExternalStore } from 'use-sync-external-store/shim';\n\nimport { useCarouselContext_unstable } from './CarouselContext';\nimport type { CarouselStore } from './Carousel.types';\n\nexport function useCarouselValues_unstable<T>(getSnapshot: (values: ReturnType<CarouselStore['getSnapshot']>) => T): T {\n const store = useCarouselContext_unstable(c => c.store);\n\n return useSyncExternalStore(store.subscribe, () => getSnapshot(store.getSnapshot()));\n}\n"],"names":["useSyncExternalStore","useCarouselContext_unstable","useCarouselValues_unstable","getSnapshot","store","c","subscribe"],"mappings":"AAAA;;;;;;;;;;;sBAEqC,+BAA+B;iCAExB,uBAAoB;AAGzD,SAASE,2BAA8BC,WAAoE;IAChH,MAAMC,YAAQH,4CAAAA,EAA4BI,CAAAA,IAAKA,EAAED,KAAK;IAEtD,WAAOJ,0BAAAA,EAAqBI,MAAME,SAAS,EAAE,IAAMH,YAAYC,MAAMD,WAAW;AAClF"}
|
|
@@ -13,7 +13,7 @@ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildc
|
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
14
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
15
15
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
16
|
-
const _constants = require("./constants");
|
|
16
|
+
const _constants = require("./constants.cjs");
|
|
17
17
|
const useCarouselWalker_unstable = ()=>{
|
|
18
18
|
const { targetDocument } = (0, _reactsharedcontexts.useFluent_unstable)();
|
|
19
19
|
const treeWalkerRef = _react.useRef(targetDocument === null || targetDocument === void 0 ? void 0 : targetDocument.createTreeWalker(targetDocument.body));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isHTMLElement } from '@fluentui/react-utilities';\nimport { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\n\nimport { CAROUSEL_ACTIVE_ITEM, CAROUSEL_ITEM } from './constants';\n\nexport type CarouselWalker = {\n find(value: string): { el: HTMLElement; value: string } | null;\n nextPage(value: string): { el: HTMLElement; value: string } | null;\n prevPage(value: string): { el: HTMLElement; value: string } | null;\n active(): { el: HTMLElement; value: string } | null;\n};\n\nexport const useCarouselWalker_unstable = (): {\n ref: React.RefCallback<HTMLDivElement>;\n walker: CarouselWalker;\n} => {\n const { targetDocument } = useFluent();\n\n const treeWalkerRef = React.useRef<TreeWalker | undefined>(targetDocument?.createTreeWalker(targetDocument.body));\n const htmlRef = React.useRef<HTMLDivElement | null>(null);\n\n const ref = React.useCallback(\n (el: HTMLDivElement | null) => {\n if (!targetDocument) {\n return;\n }\n\n if (!el) {\n return;\n }\n\n htmlRef.current = el;\n treeWalkerRef.current = targetDocument.createTreeWalker(el, NodeFilter.SHOW_ELEMENT, {\n acceptNode(node) {\n if (!isHTMLElement(node)) {\n return NodeFilter.FILTER_SKIP;\n }\n\n return node.hasAttribute(CAROUSEL_ITEM) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n },\n });\n },\n [targetDocument],\n );\n\n return {\n ref,\n walker: React.useMemo<CarouselWalker>(\n () => ({\n active() {\n if (!htmlRef.current) {\n return null;\n }\n\n const activeEl = htmlRef.current.querySelector(`[${CAROUSEL_ACTIVE_ITEM}=\"true\"]`)!;\n\n if (isHTMLElement(activeEl)) {\n return {\n el: activeEl,\n value: activeEl.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n find(value: string) {\n if (!treeWalkerRef.current?.currentNode || !htmlRef.current) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = htmlRef.current;\n let nextNode: Node | null = null;\n while ((nextNode = treeWalkerRef.current.nextNode())) {\n if (!isHTMLElement(nextNode)) {\n continue;\n }\n\n if (nextNode.getAttribute(CAROUSEL_ITEM) === value) {\n return {\n el: nextNode,\n value: nextNode.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n }\n\n return null;\n },\n nextPage(value: string) {\n const res = this.find(value);\n if (!res || !treeWalkerRef.current?.currentNode) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = res.el;\n const next = treeWalkerRef.current.nextNode();\n\n if (isHTMLElement(next)) {\n return {\n el: next,\n value: next.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n\n prevPage(value: string) {\n const res = this.find(value);\n if (!res || !treeWalkerRef.current?.currentNode) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = res.el;\n const next = treeWalkerRef.current.previousNode();\n\n if (isHTMLElement(next)) {\n return {\n el: next,\n value: next.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n }),\n [],\n ),\n };\n};\n"],"names":["React","isHTMLElement","useFluent_unstable","useFluent","CAROUSEL_ACTIVE_ITEM","CAROUSEL_ITEM","useCarouselWalker_unstable","targetDocument","treeWalkerRef","useRef","createTreeWalker","body","htmlRef","ref","useCallback","el","current","NodeFilter","SHOW_ELEMENT","acceptNode","node","FILTER_SKIP","hasAttribute","FILTER_ACCEPT","walker","useMemo","active","activeEl","querySelector","value","getAttribute","find","currentNode","nextNode","nextPage","res","next","prevPage","previousNode"],"mappings":"AAAA;;;;;+BAeaM;;;;;;;iEAbU,QAAQ;gCACD,4BAA4B;qCACV,kCAAkC;2BAE9B,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { isHTMLElement } from '@fluentui/react-utilities';\nimport { useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';\n\nimport { CAROUSEL_ACTIVE_ITEM, CAROUSEL_ITEM } from './constants';\n\nexport type CarouselWalker = {\n find(value: string): { el: HTMLElement; value: string } | null;\n nextPage(value: string): { el: HTMLElement; value: string } | null;\n prevPage(value: string): { el: HTMLElement; value: string } | null;\n active(): { el: HTMLElement; value: string } | null;\n};\n\nexport const useCarouselWalker_unstable = (): {\n ref: React.RefCallback<HTMLDivElement>;\n walker: CarouselWalker;\n} => {\n const { targetDocument } = useFluent();\n\n const treeWalkerRef = React.useRef<TreeWalker | undefined>(targetDocument?.createTreeWalker(targetDocument.body));\n const htmlRef = React.useRef<HTMLDivElement | null>(null);\n\n const ref = React.useCallback(\n (el: HTMLDivElement | null) => {\n if (!targetDocument) {\n return;\n }\n\n if (!el) {\n return;\n }\n\n htmlRef.current = el;\n treeWalkerRef.current = targetDocument.createTreeWalker(el, NodeFilter.SHOW_ELEMENT, {\n acceptNode(node) {\n if (!isHTMLElement(node)) {\n return NodeFilter.FILTER_SKIP;\n }\n\n return node.hasAttribute(CAROUSEL_ITEM) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n },\n });\n },\n [targetDocument],\n );\n\n return {\n ref,\n walker: React.useMemo<CarouselWalker>(\n () => ({\n active() {\n if (!htmlRef.current) {\n return null;\n }\n\n const activeEl = htmlRef.current.querySelector(`[${CAROUSEL_ACTIVE_ITEM}=\"true\"]`)!;\n\n if (isHTMLElement(activeEl)) {\n return {\n el: activeEl,\n value: activeEl.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n find(value: string) {\n if (!treeWalkerRef.current?.currentNode || !htmlRef.current) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = htmlRef.current;\n let nextNode: Node | null = null;\n while ((nextNode = treeWalkerRef.current.nextNode())) {\n if (!isHTMLElement(nextNode)) {\n continue;\n }\n\n if (nextNode.getAttribute(CAROUSEL_ITEM) === value) {\n return {\n el: nextNode,\n value: nextNode.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n }\n\n return null;\n },\n nextPage(value: string) {\n const res = this.find(value);\n if (!res || !treeWalkerRef.current?.currentNode) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = res.el;\n const next = treeWalkerRef.current.nextNode();\n\n if (isHTMLElement(next)) {\n return {\n el: next,\n value: next.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n\n prevPage(value: string) {\n const res = this.find(value);\n if (!res || !treeWalkerRef.current?.currentNode) {\n return null;\n }\n\n treeWalkerRef.current.currentNode = res.el;\n const next = treeWalkerRef.current.previousNode();\n\n if (isHTMLElement(next)) {\n return {\n el: next,\n value: next.getAttribute(CAROUSEL_ITEM)!,\n };\n }\n\n return null;\n },\n }),\n [],\n ),\n };\n};\n"],"names":["React","isHTMLElement","useFluent_unstable","useFluent","CAROUSEL_ACTIVE_ITEM","CAROUSEL_ITEM","useCarouselWalker_unstable","targetDocument","treeWalkerRef","useRef","createTreeWalker","body","htmlRef","ref","useCallback","el","current","NodeFilter","SHOW_ELEMENT","acceptNode","node","FILTER_SKIP","hasAttribute","FILTER_ACCEPT","walker","useMemo","active","activeEl","querySelector","value","getAttribute","find","currentNode","nextNode","nextPage","res","next","prevPage","previousNode"],"mappings":"AAAA;;;;;+BAeaM;;;;;;;iEAbU,QAAQ;gCACD,4BAA4B;qCACV,kCAAkC;2BAE9B,iBAAc;AAS3D,mCAAmC;IAIxC,MAAM,EAAEC,cAAc,EAAE,OAAGJ,uCAAAA;IAE3B,MAAMK,gBAAgBR,OAAMS,MAAM,CAAyBF,mBAAAA,QAAAA,mBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,eAAgBG,gBAAgB,CAACH,eAAeI,IAAI;IAC/G,MAAMC,UAAUZ,OAAMS,MAAM,CAAwB;IAEpD,MAAMI,MAAMb,OAAMc,WAAW,CAC3B,CAACC;QACC,IAAI,CAACR,gBAAgB;YACnB;QACF;QAEA,IAAI,CAACQ,IAAI;YACP;QACF;QAEAH,QAAQI,OAAO,GAAGD;QAClBP,cAAcQ,OAAO,GAAGT,eAAeG,gBAAgB,CAACK,IAAIE,WAAWC,YAAY,EAAE;YACnFC,YAAWC,IAAI;gBACb,IAAI,KAACnB,6BAAAA,EAAcmB,OAAO;oBACxB,OAAOH,WAAWI,WAAW;gBAC/B;gBAEA,OAAOD,KAAKE,YAAY,CAACjB,wBAAAA,IAAiBY,WAAWM,aAAa,GAAGN,WAAWI,WAAW;YAC7F;QACF;IACF,GACA;QAACd;KAAe;IAGlB,OAAO;QACLM;QACAW,QAAQxB,OAAMyB,OAAO,CACnB,IAAO,CAAA;gBACLC;oBACE,IAAI,CAACd,QAAQI,OAAO,EAAE;wBACpB,OAAO;oBACT;oBAEA,MAAMW,WAAWf,QAAQI,OAAO,CAACY,aAAa,CAAC,CAAC,CAAC,EAAExB,+BAAAA,CAAqB,QAAQ,CAAC;oBAEjF,QAAIH,6BAAAA,EAAc0B,WAAW;wBAC3B,OAAO;4BACLZ,IAAIY;4BACJE,OAAOF,SAASG,YAAY,CAACzB,wBAAAA;wBAC/B;oBACF;oBAEA,OAAO;gBACT;gBACA0B,MAAKF,KAAa;wBACXrB;oBAAL,IAAI,CAAA,CAAA,CAACA,yBAAAA,cAAcQ,OAAAA,AAAO,MAAA,QAArBR,2BAAAA,KAAAA,IAAAA,KAAAA,IAAAA,uBAAuBwB,WAAAA,AAAW,KAAI,CAACpB,QAAQI,OAAO,EAAE;wBAC3D,OAAO;oBACT;oBAEAR,cAAcQ,OAAO,CAACgB,WAAW,GAAGpB,QAAQI,OAAO;oBACnD,IAAIiB,WAAwB;oBAC5B,MAAQA,WAAWzB,cAAcQ,OAAO,CAACiB,QAAQ,GAAK;wBACpD,IAAI,KAAChC,6BAAAA,EAAcgC,WAAW;4BAC5B;wBACF;wBAEA,IAAIA,SAASH,YAAY,CAACzB,wBAAAA,MAAmBwB,OAAO;4BAClD,OAAO;gCACLd,IAAIkB;gCACJJ,OAAOI,SAASH,YAAY,CAACzB,wBAAAA;4BAC/B;wBACF;oBACF;oBAEA,OAAO;gBACT;gBACA6B,UAASL,KAAa;wBAEPrB;oBADb,MAAM2B,MAAM,IAAI,CAACJ,IAAI,CAACF;oBACtB,IAAI,CAACM,OAAO,CAAA,CAAA,CAAC3B,yBAAAA,cAAcQ,OAAAA,AAAO,MAAA,QAArBR,2BAAAA,KAAAA,IAAAA,KAAAA,IAAAA,uBAAuBwB,WAAAA,AAAW,GAAE;wBAC/C,OAAO;oBACT;oBAEAxB,cAAcQ,OAAO,CAACgB,WAAW,GAAGG,IAAIpB,EAAE;oBAC1C,MAAMqB,OAAO5B,cAAcQ,OAAO,CAACiB,QAAQ;oBAE3C,QAAIhC,6BAAAA,EAAcmC,OAAO;wBACvB,OAAO;4BACLrB,IAAIqB;4BACJP,OAAOO,KAAKN,YAAY,CAACzB,wBAAAA;wBAC3B;oBACF;oBAEA,OAAO;gBACT;gBAEAgC,UAASR,KAAa;wBAEPrB;oBADb,MAAM2B,MAAM,IAAI,CAACJ,IAAI,CAACF;oBACtB,IAAI,CAACM,OAAO,CAAA,CAAA,AAAC3B,0BAAAA,cAAcQ,OAAAA,AAAO,MAAA,QAArBR,2BAAAA,KAAAA,IAAAA,KAAAA,IAAAA,uBAAuBwB,WAAAA,AAAW,GAAE;wBAC/C,OAAO;oBACT;oBAEAxB,cAAcQ,OAAO,CAACgB,WAAW,GAAGG,IAAIpB,EAAE;oBAC1C,MAAMqB,OAAO5B,cAAcQ,OAAO,CAACsB,YAAY;oBAE/C,QAAIrC,6BAAAA,EAAcmC,OAAO;wBACvB,OAAO;4BACLrB,IAAIqB;4BACJP,OAAOO,KAAKN,YAAY,CAACzB,wBAAAA;wBAC3B;oBACF;oBAEA,OAAO;gBACT;aACF,CAAA,EACA,EAAE;IAEN;AACF,EAAE"}
|
|
@@ -11,11 +11,11 @@ Object.defineProperty(exports, "TeachingPopoverCarousel", {
|
|
|
11
11
|
});
|
|
12
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
|
-
const _useTeachingPopoverCarousel = require("./useTeachingPopoverCarousel");
|
|
15
|
-
const _renderTeachingPopoverCarousel = require("./renderTeachingPopoverCarousel");
|
|
16
|
-
const _useTeachingPopoverCarouselStylesstyles = require("./useTeachingPopoverCarouselStyles.styles");
|
|
14
|
+
const _useTeachingPopoverCarousel = require("./useTeachingPopoverCarousel.cjs");
|
|
15
|
+
const _renderTeachingPopoverCarousel = require("./renderTeachingPopoverCarousel.cjs");
|
|
16
|
+
const _useTeachingPopoverCarouselStylesstyles = require("./useTeachingPopoverCarouselStyles.styles.cjs");
|
|
17
17
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
18
|
-
const _useTeachingPopoverCarouselContextValues = require("./useTeachingPopoverCarouselContextValues");
|
|
18
|
+
const _useTeachingPopoverCarouselContextValues = require("./useTeachingPopoverCarouselContextValues.cjs");
|
|
19
19
|
const TeachingPopoverCarousel = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
20
20
|
const state = (0, _useTeachingPopoverCarousel.useTeachingPopoverCarousel_unstable)(props, ref);
|
|
21
21
|
(0, _useTeachingPopoverCarouselStylesstyles.useTeachingPopoverCarouselStyles_unstable)(state);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/TeachingPopoverCarousel.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useTeachingPopoverCarousel_unstable } from './useTeachingPopoverCarousel';\nimport { renderTeachingPopoverCarousel_unstable } from './renderTeachingPopoverCarousel';\nimport { useTeachingPopoverCarouselStyles_unstable } from './useTeachingPopoverCarouselStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport type { TeachingPopoverCarouselProps } from './TeachingPopoverCarousel.types';\nimport { useTeachingPopoverCarouselContextValues_unstable } from './useTeachingPopoverCarouselContextValues';\n\n/**\n * Define a styled TeachingPopoverCarousel, using the `useTeachingPopoverCarousel_unstable` and `useTeachingPopoverCarouselStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarousel injects context providers that are required for TeachingPopoverCarouselCard display and navigation functionality\n */\nexport const TeachingPopoverCarousel: ForwardRefComponent<TeachingPopoverCarouselProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarousel_unstable(props, ref);\n\n useTeachingPopoverCarouselStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselStyles_unstable')(state);\n\n const contextValues = useTeachingPopoverCarouselContextValues_unstable(state);\n\n return renderTeachingPopoverCarousel_unstable(state, contextValues);\n },\n);\n\nTeachingPopoverCarousel.displayName = 'TeachingPopoverCarousel';\n"],"names":["React","useTeachingPopoverCarousel_unstable","renderTeachingPopoverCarousel_unstable","useTeachingPopoverCarouselStyles_unstable","useCustomStyleHook_unstable","useTeachingPopoverCarouselContextValues_unstable","TeachingPopoverCarousel","forwardRef","props","ref","state","contextValues","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;4CAGqB
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/TeachingPopoverCarousel.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useTeachingPopoverCarousel_unstable } from './useTeachingPopoverCarousel';\nimport { renderTeachingPopoverCarousel_unstable } from './renderTeachingPopoverCarousel';\nimport { useTeachingPopoverCarouselStyles_unstable } from './useTeachingPopoverCarouselStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\nimport type { TeachingPopoverCarouselProps } from './TeachingPopoverCarousel.types';\nimport { useTeachingPopoverCarouselContextValues_unstable } from './useTeachingPopoverCarouselContextValues';\n\n/**\n * Define a styled TeachingPopoverCarousel, using the `useTeachingPopoverCarousel_unstable` and `useTeachingPopoverCarouselStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarousel injects context providers that are required for TeachingPopoverCarouselCard display and navigation functionality\n */\nexport const TeachingPopoverCarousel: ForwardRefComponent<TeachingPopoverCarouselProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarousel_unstable(props, ref);\n\n useTeachingPopoverCarouselStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselStyles_unstable')(state);\n\n const contextValues = useTeachingPopoverCarouselContextValues_unstable(state);\n\n return renderTeachingPopoverCarousel_unstable(state, contextValues);\n },\n);\n\nTeachingPopoverCarousel.displayName = 'TeachingPopoverCarousel';\n"],"names":["React","useTeachingPopoverCarousel_unstable","renderTeachingPopoverCarousel_unstable","useTeachingPopoverCarouselStyles_unstable","useCustomStyleHook_unstable","useTeachingPopoverCarouselContextValues_unstable","TeachingPopoverCarousel","forwardRef","props","ref","state","contextValues","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;4CAGqB,kCAA+B;+CAC5B,qCAAkC;wDAC/B,+CAA4C;qCAC1D,kCAAkC;yDAEb,+CAA4C;AAQtG,MAAMM,0BAAAA,WAAAA,GAA6EN,OAAMO,UAAU,CACxG,CAACC,OAAOC;IACN,MAAMC,YAAQT,+DAAAA,EAAoCO,OAAOC;QAEzDN,iFAAAA,EAA0CO;QAE1CN,gDAAAA,EAA4B,6CAA6CM;IAEzE,MAAMC,oBAAgBN,yFAAAA,EAAiDK;IAEvE,WAAOR,qEAAAA,EAAuCQ,OAAOC;AACvD,GACA;AAEFL,wBAAwBM,WAAW,GAAG"}
|
|
@@ -31,8 +31,8 @@ _export(exports, {
|
|
|
31
31
|
return _useTeachingPopoverCarousel.useTeachingPopoverCarousel_unstable;
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
const _TeachingPopoverCarousel = require("./TeachingPopoverCarousel");
|
|
35
|
-
const _renderTeachingPopoverCarousel = require("./renderTeachingPopoverCarousel");
|
|
36
|
-
const _useTeachingPopoverCarousel = require("./useTeachingPopoverCarousel");
|
|
37
|
-
const _useTeachingPopoverCarouselStylesstyles = require("./useTeachingPopoverCarouselStyles.styles");
|
|
38
|
-
const _useTeachingPopoverCarouselContextValues = require("./useTeachingPopoverCarouselContextValues");
|
|
34
|
+
const _TeachingPopoverCarousel = require("./TeachingPopoverCarousel.cjs");
|
|
35
|
+
const _renderTeachingPopoverCarousel = require("./renderTeachingPopoverCarousel.cjs");
|
|
36
|
+
const _useTeachingPopoverCarousel = require("./useTeachingPopoverCarousel.cjs");
|
|
37
|
+
const _useTeachingPopoverCarouselStylesstyles = require("./useTeachingPopoverCarouselStyles.styles.cjs");
|
|
38
|
+
const _useTeachingPopoverCarouselContextValues = require("./useTeachingPopoverCarouselContextValues.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/index.ts"],"sourcesContent":["export { TeachingPopoverCarousel } from './TeachingPopoverCarousel';\nexport type {\n TeachingPopoverCarouselBaseProps,\n TeachingPopoverCarouselBaseState,\n TeachingPopoverCarouselContextValues,\n TeachingPopoverCarouselProps,\n TeachingPopoverCarouselSlots,\n TeachingPopoverCarouselState,\n} from './TeachingPopoverCarousel.types';\nexport { renderTeachingPopoverCarousel_unstable } from './renderTeachingPopoverCarousel';\nexport {\n useTeachingPopoverCarousel_unstable,\n useTeachingPopoverCarouselBase_unstable,\n} from './useTeachingPopoverCarousel';\nexport {\n teachingPopoverCarouselClassNames,\n useTeachingPopoverCarouselStyles_unstable,\n} from './useTeachingPopoverCarouselStyles.styles';\nexport { useTeachingPopoverCarouselContextValues_unstable } from './useTeachingPopoverCarouselContextValues';\n"],"names":["TeachingPopoverCarousel","renderTeachingPopoverCarousel_unstable","useTeachingPopoverCarousel_unstable","useTeachingPopoverCarouselBase_unstable","teachingPopoverCarouselClassNames","useTeachingPopoverCarouselStyles_unstable","useTeachingPopoverCarouselContextValues_unstable"],"mappings":";;;;;;;;;;;IAASA;+DAAuB;;IASvBC;oFAAsC;;;eAM7CG,yEAAiC;;;eAHjCD,mEAAuC;;;eAMhCG,yFAAgD;;;eAFvDD,iFAAyC;;;eALzCH,+DAAmC;;;yCAXG
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/index.ts"],"sourcesContent":["export { TeachingPopoverCarousel } from './TeachingPopoverCarousel';\nexport type {\n TeachingPopoverCarouselBaseProps,\n TeachingPopoverCarouselBaseState,\n TeachingPopoverCarouselContextValues,\n TeachingPopoverCarouselProps,\n TeachingPopoverCarouselSlots,\n TeachingPopoverCarouselState,\n} from './TeachingPopoverCarousel.types';\nexport { renderTeachingPopoverCarousel_unstable } from './renderTeachingPopoverCarousel';\nexport {\n useTeachingPopoverCarousel_unstable,\n useTeachingPopoverCarouselBase_unstable,\n} from './useTeachingPopoverCarousel';\nexport {\n teachingPopoverCarouselClassNames,\n useTeachingPopoverCarouselStyles_unstable,\n} from './useTeachingPopoverCarouselStyles.styles';\nexport { useTeachingPopoverCarouselContextValues_unstable } from './useTeachingPopoverCarouselContextValues';\n"],"names":["TeachingPopoverCarousel","renderTeachingPopoverCarousel_unstable","useTeachingPopoverCarousel_unstable","useTeachingPopoverCarouselBase_unstable","teachingPopoverCarouselClassNames","useTeachingPopoverCarouselStyles_unstable","useTeachingPopoverCarouselContextValues_unstable"],"mappings":";;;;;;;;;;;IAASA;+DAAuB;;IASvBC;oFAAsC;;;eAM7CG,yEAAiC;;;eAHjCD,mEAAuC;;;eAMhCG,yFAAgD;;;eAFvDD,iFAAyC;;;eALzCH,+DAAmC;;;yCAXG,+BAA4B;+CASb,qCAAkC;4CAIlF,kCAA+B;wDAI/B,+CAA4C;yDACc,+CAA4C"}
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "renderTeachingPopoverCarousel_unstable", {
|
|
|
10
10
|
});
|
|
11
11
|
const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
|
|
12
12
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
13
|
-
const _CarouselContext = require("./Carousel/CarouselContext");
|
|
13
|
+
const _CarouselContext = require("./Carousel/CarouselContext.cjs");
|
|
14
14
|
const renderTeachingPopoverCarousel_unstable = (state, contextValues)=>{
|
|
15
15
|
(0, _reactutilities.assertSlots)(state);
|
|
16
16
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_CarouselContext.CarouselProvider, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselState,\n TeachingPopoverCarouselSlots,\n TeachingPopoverCarouselContextValues,\n} from './TeachingPopoverCarousel.types';\nimport { CarouselProvider } from './Carousel/CarouselContext';\n\n/**\n * Render the final JSX of TeachingPopoverCarousel\n */\nexport const renderTeachingPopoverCarousel_unstable = (\n state: TeachingPopoverCarouselState,\n contextValues: TeachingPopoverCarouselContextValues,\n): JSXElement => {\n assertSlots<TeachingPopoverCarouselSlots>(state);\n\n return (\n <CarouselProvider value={contextValues.carousel}>\n <state.root />\n </CarouselProvider>\n );\n};\n"],"names":["assertSlots","CarouselProvider","renderTeachingPopoverCarousel_unstable","state","contextValues","value","carousel","root"],"mappings":";;;;+BAeaE;;;;;;4BAdb,gDAAiD;gCAErB,4BAA4B;iCAOvB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselState,\n TeachingPopoverCarouselSlots,\n TeachingPopoverCarouselContextValues,\n} from './TeachingPopoverCarousel.types';\nimport { CarouselProvider } from './Carousel/CarouselContext';\n\n/**\n * Render the final JSX of TeachingPopoverCarousel\n */\nexport const renderTeachingPopoverCarousel_unstable = (\n state: TeachingPopoverCarouselState,\n contextValues: TeachingPopoverCarouselContextValues,\n): JSXElement => {\n assertSlots<TeachingPopoverCarouselSlots>(state);\n\n return (\n <CarouselProvider value={contextValues.carousel}>\n <state.root />\n </CarouselProvider>\n );\n};\n"],"names":["assertSlots","CarouselProvider","renderTeachingPopoverCarousel_unstable","state","contextValues","value","carousel","root"],"mappings":";;;;+BAeaE;;;;;;4BAdb,gDAAiD;gCAErB,4BAA4B;iCAOvB,gCAA6B;AAKvD,+CAA+C,CACpDC,OACAC;QAEAJ,2BAAAA,EAA0CG;IAE1C,OAAA,WAAA,OACE,eAAA,EAACF,iCAAAA,EAAAA;QAAiBI,OAAOD,cAAcE,QAAQ;kBAC7C,WAAA,OAAA,eAAA,EAACH,MAAMI,IAAI,EAAA,CAAA;;AAGjB,EAAE"}
|
|
@@ -19,7 +19,7 @@ _export(exports, {
|
|
|
19
19
|
});
|
|
20
20
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
21
21
|
const _reactpopover = require("@fluentui/react-popover");
|
|
22
|
-
const _Carousel = require("./Carousel/Carousel");
|
|
22
|
+
const _Carousel = require("./Carousel/Carousel.cjs");
|
|
23
23
|
const useTeachingPopoverCarouselBase_unstable = (props, ref)=>{
|
|
24
24
|
const toggleOpen = (0, _reactpopover.usePopoverContext_unstable)((c)=>c.toggleOpen);
|
|
25
25
|
const handleFinish = (0, _reactutilities.useEventCallback)((event, data)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { getIntrinsicElementProps, slot, useEventCallback, useMergedRefs } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselBaseProps,\n TeachingPopoverCarouselBaseState,\n TeachingPopoverCarouselProps,\n TeachingPopoverCarouselState,\n} from './TeachingPopoverCarousel.types';\nimport { usePopoverContext_unstable } from '@fluentui/react-popover';\nimport { useCarousel_unstable } from './Carousel/Carousel';\n\n/**\n * Base hook that builds TeachingPopoverCarousel state for behavior and structure only.\n * Does not read `appearance` from the popover context.\n * @param props - TeachingPopoverCarousel properties\n * @param ref - reference to root HTMLElement of TeachingPopoverCarousel\n */\nexport const useTeachingPopoverCarouselBase_unstable = (\n props: TeachingPopoverCarouselBaseProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselBaseState => {\n const toggleOpen = usePopoverContext_unstable(c => c.toggleOpen);\n const handleFinish: TeachingPopoverCarouselProps['onFinish'] = useEventCallback((event, data) => {\n props.onFinish?.(event, data);\n toggleOpen(event as React.MouseEvent<HTMLElement>);\n });\n\n const { carousel, carouselRef } = useCarousel_unstable({\n announcement: props.announcement,\n defaultValue: props.defaultValue,\n value: props.value,\n onValueChange: props.onValueChange,\n onFinish: handleFinish,\n });\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, carouselRef),\n ...props,\n }),\n { elementType: 'div' },\n ),\n ...carousel,\n };\n};\n\nexport const useTeachingPopoverCarousel_unstable = (\n props: TeachingPopoverCarouselProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselState => {\n const baseState = useTeachingPopoverCarouselBase_unstable(props, ref);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n\n return {\n ...baseState,\n appearance,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useEventCallback","useMergedRefs","usePopoverContext_unstable","useCarousel_unstable","useTeachingPopoverCarouselBase_unstable","props","ref","toggleOpen","c","handleFinish","event","data","onFinish","carousel","carouselRef","announcement","defaultValue","value","onValueChange","components","root","always","elementType","useTeachingPopoverCarousel_unstable","baseState","appearance","context"],"mappings":"AAAA;;;;;;;;;;;;IAmBaM,uCAAAA;;;IAiCAmB,mCAAAA;;;;gCAjDmE,4BAA4B;8BAOjE,0BAA0B;0BAChC,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { getIntrinsicElementProps, slot, useEventCallback, useMergedRefs } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselBaseProps,\n TeachingPopoverCarouselBaseState,\n TeachingPopoverCarouselProps,\n TeachingPopoverCarouselState,\n} from './TeachingPopoverCarousel.types';\nimport { usePopoverContext_unstable } from '@fluentui/react-popover';\nimport { useCarousel_unstable } from './Carousel/Carousel';\n\n/**\n * Base hook that builds TeachingPopoverCarousel state for behavior and structure only.\n * Does not read `appearance` from the popover context.\n * @param props - TeachingPopoverCarousel properties\n * @param ref - reference to root HTMLElement of TeachingPopoverCarousel\n */\nexport const useTeachingPopoverCarouselBase_unstable = (\n props: TeachingPopoverCarouselBaseProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselBaseState => {\n const toggleOpen = usePopoverContext_unstable(c => c.toggleOpen);\n const handleFinish: TeachingPopoverCarouselProps['onFinish'] = useEventCallback((event, data) => {\n props.onFinish?.(event, data);\n toggleOpen(event as React.MouseEvent<HTMLElement>);\n });\n\n const { carousel, carouselRef } = useCarousel_unstable({\n announcement: props.announcement,\n defaultValue: props.defaultValue,\n value: props.value,\n onValueChange: props.onValueChange,\n onFinish: handleFinish,\n });\n\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref: useMergedRefs(ref, carouselRef),\n ...props,\n }),\n { elementType: 'div' },\n ),\n ...carousel,\n };\n};\n\nexport const useTeachingPopoverCarousel_unstable = (\n props: TeachingPopoverCarouselProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselState => {\n const baseState = useTeachingPopoverCarouselBase_unstable(props, ref);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n\n return {\n ...baseState,\n appearance,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useEventCallback","useMergedRefs","usePopoverContext_unstable","useCarousel_unstable","useTeachingPopoverCarouselBase_unstable","props","ref","toggleOpen","c","handleFinish","event","data","onFinish","carousel","carouselRef","announcement","defaultValue","value","onValueChange","components","root","always","elementType","useTeachingPopoverCarousel_unstable","baseState","appearance","context"],"mappings":"AAAA;;;;;;;;;;;;IAmBaM,uCAAAA;;;IAiCAmB,mCAAAA;;;;gCAjDmE,4BAA4B;8BAOjE,0BAA0B;0BAChC,yBAAsB;AAQpD,gDAAgD,CACrDlB,OACAC;IAEA,MAAMC,iBAAaL,wCAAAA,EAA2BM,CAAAA,IAAKA,EAAED,UAAU;IAC/D,MAAME,eAAyDT,oCAAAA,EAAiB,CAACU,OAAOC;YACtFN;SAAAA,kBAAAA,MAAMO,QAAAA,AAAQ,MAAA,QAAdP,oBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,gBAAAA,IAAAA,CAAAA,OAAiBK,OAAOC;QACxBJ,WAAWG;IACb;IAEA,MAAM,EAAEG,QAAQ,EAAEC,WAAW,EAAE,GAAGX,kCAAAA,EAAqB;QACrDY,cAAcV,MAAMU,YAAY;QAChCC,cAAcX,MAAMW,YAAY;QAChCC,OAAOZ,MAAMY,KAAK;QAClBC,eAAeb,MAAMa,aAAa;QAClCN,UAAUH;IACZ;IAEA,OAAO;QACLU,YAAY;YACVC,MAAM;QACR;QACAA,MAAMrB,oBAAAA,CAAKsB,MAAM,KACfvB,wCAAAA,EAAyB,OAAO;YAC9BQ,SAAKL,6BAAAA,EAAcK,KAAKQ;YACxB,GAAGT,KAAK;QACV,IACA;YAAEiB,aAAa;QAAM;QAEvB,GAAGT,QAAQ;IACb;AACF,EAAE;AAEK,4CAA4C,CACjDR,OACAC;IAEA,MAAMkB,YAAYpB,wCAAwCC,OAAOC;IACjE,MAAMmB,iBAAavB,wCAAAA,EAA2BwB,CAAAA,UAAWA,QAAQD,UAAU;IAE3E,OAAO;QACL,GAAGD,SAAS;QACZC;IACF;AACF,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nexport const teachingPopoverCarouselClassNames = {\n root: 'fui-TeachingPopoverCarousel'\n};\n// Todo: Page change animation & styles\nconst useStyles = makeStyles({\n root: {}\n});\n/** Applies style classnames to slots */ export const useTeachingPopoverCarouselStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","teachingPopoverCarouselClassNames","root","useStyles","useTeachingPopoverCarouselStyles_unstable","state","styles","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;qCAEkC;;;6CAOiD;;;;uBARtD,gBAAgB;AAClD,MAAME,oCAAoC;IAC7CC,IAAI,EAAE;AACV,CAAC;AACD,uCAAA;AACA,MAAMC,SAAS,GAAA,WAAA,OAAGJ,eAAA,EAAA;IAAAG,IAAA,EAAA,CAAA;AAAA,GAAA,CAAA,CAEjB,CAAC;AAC8C,MAAME,6CAA6CC,KAAK,IAAG;IACvG,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;IAC1B,oDAAA;IACAE,KAAK,CAACH,IAAI,CAACK,SAAS,OAAGP,mBAAY,EAACC,iCAAiC,CAACC,IAAI,EAAEI,MAAM,CAACJ,IAAI,EAAEG,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;IAC9G,OAAOF,KAAK;AAChB,CAAC"}
|
|
@@ -11,9 +11,9 @@ Object.defineProperty(exports, "TeachingPopoverCarouselCard", {
|
|
|
11
11
|
});
|
|
12
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
|
-
const _useTeachingPopoverCarouselCard = require("./useTeachingPopoverCarouselCard");
|
|
15
|
-
const _renderTeachingPopoverCarouselCard = require("./renderTeachingPopoverCarouselCard");
|
|
16
|
-
const _useTeachingPopoverCarouselCardStylesstyles = require("./useTeachingPopoverCarouselCardStyles.styles");
|
|
14
|
+
const _useTeachingPopoverCarouselCard = require("./useTeachingPopoverCarouselCard.cjs");
|
|
15
|
+
const _renderTeachingPopoverCarouselCard = require("./renderTeachingPopoverCarouselCard.cjs");
|
|
16
|
+
const _useTeachingPopoverCarouselCardStylesstyles = require("./useTeachingPopoverCarouselCardStyles.styles.cjs");
|
|
17
17
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
18
18
|
const TeachingPopoverCarouselCard = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
19
19
|
const state = (0, _useTeachingPopoverCarouselCard.useTeachingPopoverCarouselCard_unstable)(props, ref);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselCard_unstable } from './useTeachingPopoverCarouselCard';\nimport { renderTeachingPopoverCarouselCard_unstable } from './renderTeachingPopoverCarouselCard';\nimport type { TeachingPopoverCarouselCardProps } from './TeachingPopoverCarouselCard.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselCardStyles_unstable } from './useTeachingPopoverCarouselCardStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselCard, using the `useTeachingPopoverCarouselCard_unstable` and `useTeachingPopoverCarouselCardStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselCard is the definition of a single page view within the carousel, they are shown one at a time and can be navigated through sequentially.\n */\nexport const TeachingPopoverCarouselCard: ForwardRefComponent<TeachingPopoverCarouselCardProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselCard_unstable(props, ref);\n\n useTeachingPopoverCarouselCardStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselCardStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselCard_unstable(state);\n },\n);\n\nTeachingPopoverCarouselCard.displayName = 'TeachingPopoverCarouselCard';\n"],"names":["React","useTeachingPopoverCarouselCard_unstable","renderTeachingPopoverCarouselCard_unstable","useTeachingPopoverCarouselCardStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselCard","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;gDACyB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselCard_unstable } from './useTeachingPopoverCarouselCard';\nimport { renderTeachingPopoverCarouselCard_unstable } from './renderTeachingPopoverCarouselCard';\nimport type { TeachingPopoverCarouselCardProps } from './TeachingPopoverCarouselCard.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselCardStyles_unstable } from './useTeachingPopoverCarouselCardStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselCard, using the `useTeachingPopoverCarouselCard_unstable` and `useTeachingPopoverCarouselCardStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselCard is the definition of a single page view within the carousel, they are shown one at a time and can be navigated through sequentially.\n */\nexport const TeachingPopoverCarouselCard: ForwardRefComponent<TeachingPopoverCarouselCardProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselCard_unstable(props, ref);\n\n useTeachingPopoverCarouselCardStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselCardStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselCard_unstable(state);\n },\n);\n\nTeachingPopoverCarouselCard.displayName = 'TeachingPopoverCarouselCard';\n"],"names":["React","useTeachingPopoverCarouselCard_unstable","renderTeachingPopoverCarouselCard_unstable","useTeachingPopoverCarouselCardStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselCard","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;gDACyB,sCAAmC;mDAChC,yCAAsC;4DAGnC,mDAAgD;qCAClE,kCAAkC;AAQvE,MAAMK,8BAAAA,WAAAA,GAAqFL,OAAMM,UAAU,CAChH,CAACC,OAAOC;IACN,MAAMC,YAAQR,uEAAAA,EAAwCM,OAAOC;QAE7DL,yFAAAA,EAA8CM;QAE9CL,gDAAAA,EAA4B,iDAAiDK;IAE7E,WAAOP,6EAAAA,EAA2CO;AACpD,GACA;AAEFJ,4BAA4BK,WAAW,GAAG"}
|
|
@@ -25,7 +25,7 @@ _export(exports, {
|
|
|
25
25
|
return _useTeachingPopoverCarouselCard.useTeachingPopoverCarouselCard_unstable;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
const _TeachingPopoverCarouselCard = require("./TeachingPopoverCarouselCard");
|
|
29
|
-
const _renderTeachingPopoverCarouselCard = require("./renderTeachingPopoverCarouselCard");
|
|
30
|
-
const _useTeachingPopoverCarouselCard = require("./useTeachingPopoverCarouselCard");
|
|
31
|
-
const _useTeachingPopoverCarouselCardStylesstyles = require("./useTeachingPopoverCarouselCardStyles.styles");
|
|
28
|
+
const _TeachingPopoverCarouselCard = require("./TeachingPopoverCarouselCard.cjs");
|
|
29
|
+
const _renderTeachingPopoverCarouselCard = require("./renderTeachingPopoverCarouselCard.cjs");
|
|
30
|
+
const _useTeachingPopoverCarouselCard = require("./useTeachingPopoverCarouselCard.cjs");
|
|
31
|
+
const _useTeachingPopoverCarouselCardStylesstyles = require("./useTeachingPopoverCarouselCardStyles.styles.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselCard } from './TeachingPopoverCarouselCard';\nexport type {\n TeachingPopoverCarouselCardProps,\n TeachingPopoverCarouselCardSlots,\n TeachingPopoverCarouselCardState,\n} from './TeachingPopoverCarouselCard.types';\nexport { renderTeachingPopoverCarouselCard_unstable } from './renderTeachingPopoverCarouselCard';\nexport { useTeachingPopoverCarouselCard_unstable } from './useTeachingPopoverCarouselCard';\nexport {\n teachingPopoverCarouselCardClassNames,\n useTeachingPopoverCarouselCardStyles_unstable,\n} from './useTeachingPopoverCarouselCardStyles.styles';\n"],"names":["TeachingPopoverCarouselCard","renderTeachingPopoverCarouselCard_unstable","useTeachingPopoverCarouselCard_unstable","teachingPopoverCarouselCardClassNames","useTeachingPopoverCarouselCardStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,wDAA2B;;;eAM3BC,6EAA0C;;;eAGjDE,iFAAqC;;;eACrCC,yFAA6C;;;eAHtCF,uEAAuC;;;6CAPJ,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselCard } from './TeachingPopoverCarouselCard';\nexport type {\n TeachingPopoverCarouselCardProps,\n TeachingPopoverCarouselCardSlots,\n TeachingPopoverCarouselCardState,\n} from './TeachingPopoverCarouselCard.types';\nexport { renderTeachingPopoverCarouselCard_unstable } from './renderTeachingPopoverCarouselCard';\nexport { useTeachingPopoverCarouselCard_unstable } from './useTeachingPopoverCarouselCard';\nexport {\n teachingPopoverCarouselCardClassNames,\n useTeachingPopoverCarouselCardStyles_unstable,\n} from './useTeachingPopoverCarouselCardStyles.styles';\n"],"names":["TeachingPopoverCarouselCard","renderTeachingPopoverCarouselCard_unstable","useTeachingPopoverCarouselCard_unstable","teachingPopoverCarouselCardClassNames","useTeachingPopoverCarouselCardStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,wDAA2B;;;eAM3BC,6EAA0C;;;eAGjDE,iFAAqC;;;eACrCC,yFAA6C;;;eAHtCF,uEAAuC;;;6CAPJ,mCAAgC;mDAMjB,yCAAsC;gDACzC,sCAAmC;4DAIpF,mDAAgD"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "useTeachingPopoverCarouselCard_unstable", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
12
|
-
const _Carouseltem = require("../TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem");
|
|
12
|
+
const _Carouseltem = require("../TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.cjs");
|
|
13
13
|
const useTeachingPopoverCarouselCard_unstable = (props, ref)=>{
|
|
14
14
|
const { value } = props;
|
|
15
15
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.ts"],"sourcesContent":["import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type * as React from 'react';\n\nimport type {\n TeachingPopoverCarouselCardProps,\n TeachingPopoverCarouselCardState,\n} from './TeachingPopoverCarouselCard.types';\nimport { CarouselItem } from '../TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem';\n\n/**\n * Returns the props and state required to render the component\n * @param props - TeachingPopoverCarouselCard properties\n * @param ref - reference to root HTMLElement of TeachingPopoverCarouselCard\n */\nexport const useTeachingPopoverCarouselCard_unstable = (\n props: TeachingPopoverCarouselCardProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselCardState => {\n const { value } = props;\n\n return {\n value,\n components: {\n root: CarouselItem,\n },\n root: slot.always(\n {\n ...getIntrinsicElementProps('div', {\n ref,\n ...props,\n }),\n value,\n },\n { elementType: CarouselItem },\n ),\n };\n};\n"],"names":["getIntrinsicElementProps","slot","CarouselItem","useTeachingPopoverCarouselCard_unstable","props","ref","value","components","root","always","elementType"],"mappings":";;;;+BAcaG;;;;;;gCAdkC,4BAA4B;6BAO9C
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.ts"],"sourcesContent":["import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type * as React from 'react';\n\nimport type {\n TeachingPopoverCarouselCardProps,\n TeachingPopoverCarouselCardState,\n} from './TeachingPopoverCarouselCard.types';\nimport { CarouselItem } from '../TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem';\n\n/**\n * Returns the props and state required to render the component\n * @param props - TeachingPopoverCarouselCard properties\n * @param ref - reference to root HTMLElement of TeachingPopoverCarouselCard\n */\nexport const useTeachingPopoverCarouselCard_unstable = (\n props: TeachingPopoverCarouselCardProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselCardState => {\n const { value } = props;\n\n return {\n value,\n components: {\n root: CarouselItem,\n },\n root: slot.always(\n {\n ...getIntrinsicElementProps('div', {\n ref,\n ...props,\n }),\n value,\n },\n { elementType: CarouselItem },\n ),\n };\n};\n"],"names":["getIntrinsicElementProps","slot","CarouselItem","useTeachingPopoverCarouselCard_unstable","props","ref","value","components","root","always","elementType"],"mappings":";;;;+BAcaG;;;;;;gCAdkC,4BAA4B;6BAO9C,kEAA+D;AAOrF,gDAAgD,CACrDC,OACAC;IAEA,MAAM,EAAEC,KAAK,EAAE,GAAGF;IAElB,OAAO;QACLE;QACAC,YAAY;YACVC,MAAMN,yBAAAA;QACR;QACAM,MAAMP,oBAAAA,CAAKQ,MAAM,CACf;YACE,OAAGT,wCAAAA,EAAyB,OAAO;gBACjCK;gBACA,GAAGD,KAAK;YACV,EAAE;YACFE;QACF,GACA;YAAEI,aAAaR,yBAAAA;QAAa;IAEhC;AACF,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselCardStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nexport const teachingPopoverCarouselCardClassNames = {\n root: 'fui-TeachingPopoverCarouselCard'\n};\nconst useStyles = makeStyles({\n root: {}\n});\n/** Applies style classnames to slots */ export const useTeachingPopoverCarouselCardStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselCardClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","teachingPopoverCarouselCardClassNames","root","useStyles","useTeachingPopoverCarouselCardStyles_unstable","state","styles","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;yCAEsC;;;iDAMiD;;;;uBAP1D,gBAAgB;AAClD,MAAME,wCAAwC;IACjDC,IAAI,EAAE;AACV,CAAC;AACD,MAAMC,SAAS,GAAA,WAAA,OAAGJ,eAAA,EAAA;IAAAG,IAAA,EAAA,CAAA;AAAA,GAAA,CAAA,CAEjB,CAAC;AAC8C,MAAME,iDAAiDC,KAAK,IAAG;IAC3G,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;IAC1B,oDAAA;IACAE,KAAK,CAACH,IAAI,CAACK,SAAS,OAAGP,mBAAY,EAACC,qCAAqC,CAACC,IAAI,EAAEI,MAAM,CAACJ,IAAI,EAAEG,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;IAClH,OAAOF,KAAK;AAChB,CAAC"}
|
|
@@ -11,9 +11,9 @@ Object.defineProperty(exports, "TeachingPopoverCarouselFooter", {
|
|
|
11
11
|
});
|
|
12
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
|
-
const _useTeachingPopoverCarouselFooter = require("./useTeachingPopoverCarouselFooter");
|
|
15
|
-
const _renderTeachingPopoverCarouselFooter = require("./renderTeachingPopoverCarouselFooter");
|
|
16
|
-
const _useTeachingPopoverCarouselFooterStylesstyles = require("./useTeachingPopoverCarouselFooterStyles.styles");
|
|
14
|
+
const _useTeachingPopoverCarouselFooter = require("./useTeachingPopoverCarouselFooter.cjs");
|
|
15
|
+
const _renderTeachingPopoverCarouselFooter = require("./renderTeachingPopoverCarouselFooter.cjs");
|
|
16
|
+
const _useTeachingPopoverCarouselFooterStylesstyles = require("./useTeachingPopoverCarouselFooterStyles.styles.cjs");
|
|
17
17
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
18
18
|
const TeachingPopoverCarouselFooter = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
19
19
|
const state = (0, _useTeachingPopoverCarouselFooter.useTeachingPopoverCarouselFooter_unstable)(props, ref);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselFooter_unstable } from './useTeachingPopoverCarouselFooter';\nimport { renderTeachingPopoverCarouselFooter_unstable } from './renderTeachingPopoverCarouselFooter';\nimport { useTeachingPopoverCarouselFooterStyles_unstable } from './useTeachingPopoverCarouselFooterStyles.styles';\nimport type { TeachingPopoverCarouselFooterProps } from './TeachingPopoverCarouselFooter.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselFooter, using the `useTeachingPopoverCarouselFooter_unstable` and `useTeachingPopoverCarouselFooterStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselFooter contains previous/next buttons configured for carousel navigation, and a root slot for page count and/or page index navigation.\n */\nexport const TeachingPopoverCarouselFooter: ForwardRefComponent<TeachingPopoverCarouselFooterProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselFooter_unstable(props, ref);\n\n useTeachingPopoverCarouselFooterStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselFooterStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselFooter_unstable(state);\n },\n);\n\nTeachingPopoverCarouselFooter.displayName = 'TeachingPopoverCarouselFooter';\n"],"names":["React","useTeachingPopoverCarouselFooter_unstable","renderTeachingPopoverCarouselFooter_unstable","useTeachingPopoverCarouselFooterStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselFooter","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;kDAC2B,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselFooter_unstable } from './useTeachingPopoverCarouselFooter';\nimport { renderTeachingPopoverCarouselFooter_unstable } from './renderTeachingPopoverCarouselFooter';\nimport { useTeachingPopoverCarouselFooterStyles_unstable } from './useTeachingPopoverCarouselFooterStyles.styles';\nimport type { TeachingPopoverCarouselFooterProps } from './TeachingPopoverCarouselFooter.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselFooter, using the `useTeachingPopoverCarouselFooter_unstable` and `useTeachingPopoverCarouselFooterStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselFooter contains previous/next buttons configured for carousel navigation, and a root slot for page count and/or page index navigation.\n */\nexport const TeachingPopoverCarouselFooter: ForwardRefComponent<TeachingPopoverCarouselFooterProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselFooter_unstable(props, ref);\n\n useTeachingPopoverCarouselFooterStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselFooterStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselFooter_unstable(state);\n },\n);\n\nTeachingPopoverCarouselFooter.displayName = 'TeachingPopoverCarouselFooter';\n"],"names":["React","useTeachingPopoverCarouselFooter_unstable","renderTeachingPopoverCarouselFooter_unstable","useTeachingPopoverCarouselFooterStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselFooter","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;kDAC2B,wCAAqC;qDAClC,2CAAwC;8DACrC,qDAAkD;qCAGtE,kCAAkC;AAQvE,MAAMK,gCAAAA,WAAAA,GAAyFL,OAAMM,UAAU,CACpH,CAACC,OAAOC;IACN,MAAMC,YAAQR,2EAAAA,EAA0CM,OAAOC;QAE/DL,6FAAAA,EAAgDM;QAEhDL,gDAAAA,EAA4B,mDAAmDK;IAE/E,WAAOP,iFAAAA,EAA6CO;AACtD,GACA;AAEFJ,8BAA8BK,WAAW,GAAG"}
|
|
@@ -25,7 +25,7 @@ _export(exports, {
|
|
|
25
25
|
return _useTeachingPopoverCarouselFooter.useTeachingPopoverCarouselFooter_unstable;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
const _TeachingPopoverCarouselFooter = require("./TeachingPopoverCarouselFooter");
|
|
29
|
-
const _renderTeachingPopoverCarouselFooter = require("./renderTeachingPopoverCarouselFooter");
|
|
30
|
-
const _useTeachingPopoverCarouselFooter = require("./useTeachingPopoverCarouselFooter");
|
|
31
|
-
const _useTeachingPopoverCarouselFooterStylesstyles = require("./useTeachingPopoverCarouselFooterStyles.styles");
|
|
28
|
+
const _TeachingPopoverCarouselFooter = require("./TeachingPopoverCarouselFooter.cjs");
|
|
29
|
+
const _renderTeachingPopoverCarouselFooter = require("./renderTeachingPopoverCarouselFooter.cjs");
|
|
30
|
+
const _useTeachingPopoverCarouselFooter = require("./useTeachingPopoverCarouselFooter.cjs");
|
|
31
|
+
const _useTeachingPopoverCarouselFooterStylesstyles = require("./useTeachingPopoverCarouselFooterStyles.styles.cjs");
|
package/lib-commonjs/components/TeachingPopoverCarouselFooter/{index.js.map → index.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselFooter } from './TeachingPopoverCarouselFooter';\nexport type {\n TeachingPopoverCarouselFooterLayout,\n TeachingPopoverCarouselFooterProps,\n TeachingPopoverCarouselFooterSlots,\n TeachingPopoverCarouselFooterState,\n TeachingPopoverPageCountChildRenderFunction,\n} from './TeachingPopoverCarouselFooter.types';\nexport { renderTeachingPopoverCarouselFooter_unstable } from './renderTeachingPopoverCarouselFooter';\nexport { useTeachingPopoverCarouselFooter_unstable } from './useTeachingPopoverCarouselFooter';\nexport {\n teachingPopoverCarouselFooterClassNames,\n useTeachingPopoverCarouselFooterStyles_unstable,\n} from './useTeachingPopoverCarouselFooterStyles.styles';\n"],"names":["TeachingPopoverCarouselFooter","renderTeachingPopoverCarouselFooter_unstable","useTeachingPopoverCarouselFooter_unstable","teachingPopoverCarouselFooterClassNames","useTeachingPopoverCarouselFooterStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,4DAA6B;;;eAQ7BC,iFAA4C;;;eAGnDE,qFAAuC;;;eACvCC,6FAA+C;;;eAHxCF,2EAAyC;;;+CATJ,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselFooter } from './TeachingPopoverCarouselFooter';\nexport type {\n TeachingPopoverCarouselFooterLayout,\n TeachingPopoverCarouselFooterProps,\n TeachingPopoverCarouselFooterSlots,\n TeachingPopoverCarouselFooterState,\n TeachingPopoverPageCountChildRenderFunction,\n} from './TeachingPopoverCarouselFooter.types';\nexport { renderTeachingPopoverCarouselFooter_unstable } from './renderTeachingPopoverCarouselFooter';\nexport { useTeachingPopoverCarouselFooter_unstable } from './useTeachingPopoverCarouselFooter';\nexport {\n teachingPopoverCarouselFooterClassNames,\n useTeachingPopoverCarouselFooterStyles_unstable,\n} from './useTeachingPopoverCarouselFooterStyles.styles';\n"],"names":["TeachingPopoverCarouselFooter","renderTeachingPopoverCarouselFooter_unstable","useTeachingPopoverCarouselFooter_unstable","teachingPopoverCarouselFooterClassNames","useTeachingPopoverCarouselFooterStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,4DAA6B;;;eAQ7BC,iFAA4C;;;eAGnDE,qFAAuC;;;eACvCC,6FAA+C;;;eAHxCF,2EAAyC;;;+CATJ,qCAAkC;qDAQnB,2CAAwC;kDAC3C,wCAAqC;8DAIxF,qDAAkD"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "useTeachingPopoverCarouselFooter_unstable", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
12
|
-
const _TeachingPopoverCarouselFooterButton = require("../TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton");
|
|
12
|
+
const _TeachingPopoverCarouselFooterButton = require("../TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.cjs");
|
|
13
13
|
const useTeachingPopoverCarouselFooter_unstable = (props, ref)=>{
|
|
14
14
|
const { layout = 'centered', initialStepText, finalStepText } = props;
|
|
15
15
|
const previous = _reactutilities.slot.optional(props.previous, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.ts"],"sourcesContent":["import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type * as React from 'react';\n\nimport type {\n TeachingPopoverCarouselFooterProps,\n TeachingPopoverCarouselFooterState,\n} from './TeachingPopoverCarouselFooter.types';\nimport { TeachingPopoverCarouselFooterButton } from '../TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton';\n\nexport const useTeachingPopoverCarouselFooter_unstable = (\n props: TeachingPopoverCarouselFooterProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselFooterState => {\n const { layout = 'centered', initialStepText, finalStepText } = props;\n\n const previous = slot.optional(props.previous, {\n defaultProps: {\n navType: 'prev',\n altText: initialStepText,\n },\n renderByDefault: true,\n elementType: TeachingPopoverCarouselFooterButton,\n });\n\n const next = slot.always(props.next, {\n defaultProps: {\n navType: 'next',\n altText: finalStepText,\n },\n elementType: TeachingPopoverCarouselFooterButton,\n });\n\n return {\n layout,\n components: {\n root: 'div',\n next: TeachingPopoverCarouselFooterButton,\n previous: TeachingPopoverCarouselFooterButton,\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref,\n ...props,\n }),\n { elementType: 'div' },\n ),\n previous,\n next,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","TeachingPopoverCarouselFooterButton","useTeachingPopoverCarouselFooter_unstable","props","ref","layout","initialStepText","finalStepText","previous","optional","defaultProps","navType","altText","renderByDefault","elementType","next","always","components","root"],"mappings":";;;;+BASaG;;;;;;gCATkC,4BAA4B;qDAOvB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.ts"],"sourcesContent":["import { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type * as React from 'react';\n\nimport type {\n TeachingPopoverCarouselFooterProps,\n TeachingPopoverCarouselFooterState,\n} from './TeachingPopoverCarouselFooter.types';\nimport { TeachingPopoverCarouselFooterButton } from '../TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton';\n\nexport const useTeachingPopoverCarouselFooter_unstable = (\n props: TeachingPopoverCarouselFooterProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselFooterState => {\n const { layout = 'centered', initialStepText, finalStepText } = props;\n\n const previous = slot.optional(props.previous, {\n defaultProps: {\n navType: 'prev',\n altText: initialStepText,\n },\n renderByDefault: true,\n elementType: TeachingPopoverCarouselFooterButton,\n });\n\n const next = slot.always(props.next, {\n defaultProps: {\n navType: 'next',\n altText: finalStepText,\n },\n elementType: TeachingPopoverCarouselFooterButton,\n });\n\n return {\n layout,\n components: {\n root: 'div',\n next: TeachingPopoverCarouselFooterButton,\n previous: TeachingPopoverCarouselFooterButton,\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref,\n ...props,\n }),\n { elementType: 'div' },\n ),\n previous,\n next,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","TeachingPopoverCarouselFooterButton","useTeachingPopoverCarouselFooter_unstable","props","ref","layout","initialStepText","finalStepText","previous","optional","defaultProps","navType","altText","renderByDefault","elementType","next","always","components","root"],"mappings":";;;;+BASaG;;;;;;gCATkC,4BAA4B;qDAOvB,gFAA6E;AAE1H,kDAAkD,CACvDC,OACAC;IAEA,MAAM,EAAEC,SAAS,UAAU,EAAEC,eAAe,EAAEC,aAAa,EAAE,GAAGJ;IAEhE,MAAMK,WAAWR,oBAAAA,CAAKS,QAAQ,CAACN,MAAMK,QAAQ,EAAE;QAC7CE,cAAc;YACZC,SAAS;YACTC,SAASN;QACX;QACAO,iBAAiB;QACjBC,aAAab,wEAAAA;IACf;IAEA,MAAMc,OAAOf,oBAAAA,CAAKgB,MAAM,CAACb,MAAMY,IAAI,EAAE;QACnCL,cAAc;YACZC,SAAS;YACTC,SAASL;QACX;QACAO,aAAab,wEAAAA;IACf;IAEA,OAAO;QACLI;QACAY,YAAY;YACVC,MAAM;YACNH,MAAMd,wEAAAA;YACNO,UAAUP,wEAAAA;QACZ;QACAiB,MAAMlB,oBAAAA,CAAKgB,MAAM,KACfjB,wCAAAA,EAAyB,OAAO;YAC9BK;YACA,GAAGD,KAAK;QACV,IACA;YAAEW,aAAa;QAAM;QAEvBN;QACAO;IACF;AACF,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselFooterStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nexport const teachingPopoverCarouselFooterClassNames = {\n root: 'fui-TeachingPopoverCarouselFooter',\n previous: 'fui-TeachingPopoverCarouselFooter__previous',\n next: 'fui-TeachingPopoverCarouselFooter__next'\n};\n// Todo: Page change animation & styles\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'row'\n },\n rootCentered: {\n justifyContent: 'space-between',\n gap: '8px'\n },\n rootRightAligned: {\n gap: '8px',\n '& :first-child': {\n marginInlineEnd: 'auto'\n }\n }\n});\n/** Applies style classnames to slots */ export const useTeachingPopoverCarouselFooterStyles_unstable = (state)=>{\n const styles = useStyles();\n const { layout } = state;\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselFooterClassNames.root, styles.root, layout === 'centered' ? styles.rootCentered : styles.rootRightAligned, state.root.className);\n if (state.previous) {\n // eslint-disable-next-line react-hooks/immutability\n state.previous.className = mergeClasses(teachingPopoverCarouselFooterClassNames.previous, state.previous.className);\n }\n // eslint-disable-next-line react-hooks/immutability\n state.next.className = mergeClasses(teachingPopoverCarouselFooterClassNames.next, state.next.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","teachingPopoverCarouselFooterClassNames","root","previous","next","useStyles","mc9l5x","Beiy3e4","rootCentered","Brf1p80","i8kkvl","Belr9w4","rmohyg","rootRightAligned","Bp34fd5","d","p","useTeachingPopoverCarouselFooterStyles_unstable","state","styles","layout","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;IAECE,uCAAuC;;;mDAsBiD;;;;uBAvB5D,gBAAgB;AAClD,gDAAgD;IACnDC,IAAI,EAAE,mCAAmC;IACzCC,QAAQ,EAAE,6CAA6C;IACvDC,IAAI,EAAE;AACV,CAAC;AACD,uCAAA;AACA,MAAMC,SAAS,GAAA,WAAA,GAAGN,mBAAA,EAAA;IAAAG,IAAA,EAAA;QAAAI,MAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;IAAAC,YAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,gBAAA,EAAA;QAAAH,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAE,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;YAAA;YAAA;gBAAAC,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;YAAA;YAAA;gBAAAA,CAAA,EAAA,CAAA;YAAA;SAAA;QAAA;KAAA;AAAA,CAejB,CAAC;AAC8C,MAAMC,mDAAmDC,KAAK,IAAG;IAC7G,MAAMC,MAAM,GAAGd,SAAS,CAAC,CAAC;IAC1B,MAAM,EAAEe,MAAAA,EAAQ,GAAGF,KAAK;IACxB,oDAAA;IACAA,KAAK,CAAChB,IAAI,CAACmB,SAAS,OAAGrB,mBAAY,EAACC,uCAAuC,CAACC,IAAI,EAAEiB,MAAM,CAACjB,IAAI,EAAEkB,MAAM,KAAK,UAAU,GAAGD,MAAM,CAACX,YAAY,GAAGW,MAAM,CAACN,gBAAgB,EAAEK,KAAK,CAAChB,IAAI,CAACmB,SAAS,CAAC;IAC3L,IAAIH,KAAK,CAACf,QAAQ,EAAE;QAChB,oDAAA;QACAe,KAAK,CAACf,QAAQ,CAACkB,SAAS,OAAGrB,mBAAY,EAACC,uCAAuC,CAACE,QAAQ,EAAEe,KAAK,CAACf,QAAQ,CAACkB,SAAS,CAAC;IACvH;IACA,oDAAA;IACAH,KAAK,CAACd,IAAI,CAACiB,SAAS,OAAGrB,mBAAY,EAACC,uCAAuC,CAACG,IAAI,EAAEc,KAAK,CAACd,IAAI,CAACiB,SAAS,CAAC;IACvG,OAAOH,KAAK;AAChB,CAAC"}
|
|
@@ -11,9 +11,9 @@ Object.defineProperty(exports, "TeachingPopoverCarouselFooterButton", {
|
|
|
11
11
|
});
|
|
12
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
|
-
const _useTeachingPopoverCarouselFooterButton = require("./useTeachingPopoverCarouselFooterButton");
|
|
15
|
-
const _renderTeachingPopoverCarouselFooterButton = require("./renderTeachingPopoverCarouselFooterButton");
|
|
16
|
-
const _useTeachingPopoverCarouselFooterButtonStylesstyles = require("./useTeachingPopoverCarouselFooterButtonStyles.styles");
|
|
14
|
+
const _useTeachingPopoverCarouselFooterButton = require("./useTeachingPopoverCarouselFooterButton.cjs");
|
|
15
|
+
const _renderTeachingPopoverCarouselFooterButton = require("./renderTeachingPopoverCarouselFooterButton.cjs");
|
|
16
|
+
const _useTeachingPopoverCarouselFooterButtonStylesstyles = require("./useTeachingPopoverCarouselFooterButtonStyles.styles.cjs");
|
|
17
17
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
18
18
|
const TeachingPopoverCarouselFooterButton = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
19
19
|
const state = (0, _useTeachingPopoverCarouselFooterButton.useTeachingPopoverCarouselFooterButton_unstable)(props, ref);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselFooterButton_unstable } from './useTeachingPopoverCarouselFooterButton';\nimport { renderTeachingPopoverCarouselFooterButton_unstable } from './renderTeachingPopoverCarouselFooterButton';\nimport { useTeachingPopoverCarouselFooterButtonStyles_unstable } from './useTeachingPopoverCarouselFooterButtonStyles.styles';\nimport type { TeachingPopoverCarouselFooterButtonProps } from './TeachingPopoverCarouselFooterButton.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TeachingPopoverCarouselFooterButton component\n *\n * TeachingPopoverCarouselFooterButton extends Button and injects additional styling and onClick functionality\n * to match the context provided by TeachingPopover & TeachingPopoverCarousel\n */\nexport const TeachingPopoverCarouselFooterButton: ForwardRefComponent<TeachingPopoverCarouselFooterButtonProps> =\n React.forwardRef((props, ref) => {\n const state = useTeachingPopoverCarouselFooterButton_unstable(props, ref);\n\n useTeachingPopoverCarouselFooterButtonStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselFooterButtonStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselFooterButton_unstable(state);\n });\n\nTeachingPopoverCarouselFooterButton.displayName = 'TeachingPopoverCarouselFooterButton';\n"],"names":["React","useTeachingPopoverCarouselFooterButton_unstable","renderTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButtonStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselFooterButton","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;wDAEiC,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselFooterButton_unstable } from './useTeachingPopoverCarouselFooterButton';\nimport { renderTeachingPopoverCarouselFooterButton_unstable } from './renderTeachingPopoverCarouselFooterButton';\nimport { useTeachingPopoverCarouselFooterButtonStyles_unstable } from './useTeachingPopoverCarouselFooterButtonStyles.styles';\nimport type { TeachingPopoverCarouselFooterButtonProps } from './TeachingPopoverCarouselFooterButton.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TeachingPopoverCarouselFooterButton component\n *\n * TeachingPopoverCarouselFooterButton extends Button and injects additional styling and onClick functionality\n * to match the context provided by TeachingPopover & TeachingPopoverCarousel\n */\nexport const TeachingPopoverCarouselFooterButton: ForwardRefComponent<TeachingPopoverCarouselFooterButtonProps> =\n React.forwardRef((props, ref) => {\n const state = useTeachingPopoverCarouselFooterButton_unstable(props, ref);\n\n useTeachingPopoverCarouselFooterButtonStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselFooterButtonStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselFooterButton_unstable(state);\n });\n\nTeachingPopoverCarouselFooterButton.displayName = 'TeachingPopoverCarouselFooterButton';\n"],"names":["React","useTeachingPopoverCarouselFooterButton_unstable","renderTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButtonStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselFooterButton","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;wDAEiC,8CAA2C;2DACxC,iDAA8C;oEAC3C,2DAAwD;qCAElF,kCAAkC;AAQvE,MAAMK,sCAAAA,WAAAA,GACXL,OAAMM,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,YAAQR,uFAAAA,EAAgDM,OAAOC;QAErEL,yGAAAA,EAAsDM;QAEtDL,gDAAAA,EAA4B,yDAAyDK;IAErF,WAAOP,6FAAAA,EAAmDO;AAC5D,GAAG;AAELJ,oCAAoCK,WAAW,GAAG"}
|
|
@@ -28,7 +28,7 @@ _export(exports, {
|
|
|
28
28
|
return _useTeachingPopoverCarouselFooterButton.useTeachingPopoverCarouselFooterButton_unstable;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
const _TeachingPopoverCarouselFooterButton = require("./TeachingPopoverCarouselFooterButton");
|
|
32
|
-
const _renderTeachingPopoverCarouselFooterButton = require("./renderTeachingPopoverCarouselFooterButton");
|
|
33
|
-
const _useTeachingPopoverCarouselFooterButton = require("./useTeachingPopoverCarouselFooterButton");
|
|
34
|
-
const _useTeachingPopoverCarouselFooterButtonStylesstyles = require("./useTeachingPopoverCarouselFooterButtonStyles.styles");
|
|
31
|
+
const _TeachingPopoverCarouselFooterButton = require("./TeachingPopoverCarouselFooterButton.cjs");
|
|
32
|
+
const _renderTeachingPopoverCarouselFooterButton = require("./renderTeachingPopoverCarouselFooterButton.cjs");
|
|
33
|
+
const _useTeachingPopoverCarouselFooterButton = require("./useTeachingPopoverCarouselFooterButton.cjs");
|
|
34
|
+
const _useTeachingPopoverCarouselFooterButtonStylesstyles = require("./useTeachingPopoverCarouselFooterButtonStyles.styles.cjs");
|
package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/{index.js.map → index.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselFooterButton } from './TeachingPopoverCarouselFooterButton';\nexport type {\n TeachingPopoverCarouselFooterButtonBaseProps,\n TeachingPopoverCarouselFooterButtonBaseState,\n TeachingPopoverCarouselFooterButtonProps,\n TeachingPopoverCarouselFooterButtonSlots,\n TeachingPopoverCarouselFooterButtonState,\n} from './TeachingPopoverCarouselFooterButton.types';\nexport { renderTeachingPopoverCarouselFooterButton_unstable } from './renderTeachingPopoverCarouselFooterButton';\nexport {\n useTeachingPopoverCarouselFooterButton_unstable,\n useTeachingPopoverCarouselFooterButtonBase_unstable,\n} from './useTeachingPopoverCarouselFooterButton';\nexport {\n teachingPopoverCarouselFooterButtonClassNames,\n useTeachingPopoverCarouselFooterButtonStyles_unstable,\n} from './useTeachingPopoverCarouselFooterButtonStyles.styles';\n"],"names":["TeachingPopoverCarouselFooterButton","renderTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButtonBase_unstable","teachingPopoverCarouselFooterButtonClassNames","useTeachingPopoverCarouselFooterButtonStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,wEAAmC;;;eAQnCC,6FAAkD;;;eAMzDG,iGAA6C;;;eAH7CD,2FAAmD;;;eAInDE,yGAAqD;;;eALrDH,uFAA+C;;;qDAVG,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselFooterButton } from './TeachingPopoverCarouselFooterButton';\nexport type {\n TeachingPopoverCarouselFooterButtonBaseProps,\n TeachingPopoverCarouselFooterButtonBaseState,\n TeachingPopoverCarouselFooterButtonProps,\n TeachingPopoverCarouselFooterButtonSlots,\n TeachingPopoverCarouselFooterButtonState,\n} from './TeachingPopoverCarouselFooterButton.types';\nexport { renderTeachingPopoverCarouselFooterButton_unstable } from './renderTeachingPopoverCarouselFooterButton';\nexport {\n useTeachingPopoverCarouselFooterButton_unstable,\n useTeachingPopoverCarouselFooterButtonBase_unstable,\n} from './useTeachingPopoverCarouselFooterButton';\nexport {\n teachingPopoverCarouselFooterButtonClassNames,\n useTeachingPopoverCarouselFooterButtonStyles_unstable,\n} from './useTeachingPopoverCarouselFooterButtonStyles.styles';\n"],"names":["TeachingPopoverCarouselFooterButton","renderTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButton_unstable","useTeachingPopoverCarouselFooterButtonBase_unstable","teachingPopoverCarouselFooterButtonClassNames","useTeachingPopoverCarouselFooterButtonStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,wEAAmC;;;eAQnCC,6FAAkD;;;eAMzDG,iGAA6C;;;eAH7CD,2FAAmD;;;eAInDE,yGAAqD;;;eALrDH,uFAA+C;;;qDAVG,2CAAwC;2DAQzB,iDAA8C;wDAI1G,8CAA2C;oEAI3C,2DAAwD"}
|
|
@@ -21,9 +21,9 @@ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildc
|
|
|
21
21
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
22
22
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
23
23
|
const _reactpopover = require("@fluentui/react-popover");
|
|
24
|
-
const _CarouselContext = require("../TeachingPopoverCarousel/Carousel/CarouselContext");
|
|
24
|
+
const _CarouselContext = require("../TeachingPopoverCarousel/Carousel/CarouselContext.cjs");
|
|
25
25
|
const _reactbutton = require("@fluentui/react-button");
|
|
26
|
-
const _useCarouselValues = require("../TeachingPopoverCarousel/Carousel/useCarouselValues");
|
|
26
|
+
const _useCarouselValues = require("../TeachingPopoverCarousel/Carousel/useCarouselValues.cjs");
|
|
27
27
|
const useTeachingPopoverCarouselFooterButtonBase_unstable = (props, ref)=>{
|
|
28
28
|
const { navType, altText } = props;
|
|
29
29
|
const selectPageByDirection = (0, _CarouselContext.useCarouselContext_unstable)((c)=>c.selectPageByDirection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getIntrinsicElementProps, mergeCallbacks, slot } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselFooterButtonBaseProps,\n TeachingPopoverCarouselFooterButtonBaseState,\n TeachingPopoverCarouselFooterButtonProps,\n TeachingPopoverCarouselFooterButtonState,\n} from './TeachingPopoverCarouselFooterButton.types';\nimport { usePopoverContext_unstable } from '@fluentui/react-popover';\nimport { useCarouselContext_unstable } from '../TeachingPopoverCarousel/Carousel/CarouselContext';\nimport { useEventCallback } from '@fluentui/react-utilities';\nimport { useButton_unstable } from '@fluentui/react-button';\nimport { useCarouselValues_unstable } from '../TeachingPopoverCarousel/Carousel/useCarouselValues';\n\n/**\n * Base hook that builds TeachingPopoverCarouselFooterButton state for behavior and structure only.\n * Does not read `appearance` from the popover context, does not derive the button's\n * appearance from the navType/popoverAppearance combination, and does not call\n * `useButton_unstable` (the styled hook does that with the right appearance).\n * @param props - props from this instance of TeachingPopoverCarouselFooterButton\n * @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselFooterButton\n */\nexport const useTeachingPopoverCarouselFooterButtonBase_unstable = (\n props: TeachingPopoverCarouselFooterButtonBaseProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselFooterButtonBaseState => {\n const { navType, altText } = props;\n\n const selectPageByDirection = useCarouselContext_unstable(c => c.selectPageByDirection);\n const values = useCarouselValues_unstable(snapshot => snapshot);\n const activeValue = useCarouselContext_unstable(c => c.value);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement & HTMLAnchorElement>) => {\n if (event.isDefaultPrevented()) {\n return;\n }\n\n selectPageByDirection(event, navType);\n };\n\n const handleButtonClick = useEventCallback(mergeCallbacks(handleClick, props.onClick));\n\n const isTrailing = React.useMemo(() => {\n if (!activeValue) {\n return false;\n }\n\n if (navType === 'prev') {\n return values.indexOf(activeValue) === 0;\n }\n\n return values.indexOf(activeValue) === values.length - 1;\n }, [navType, activeValue, values]);\n\n /* Handle altText on trailing step */\n let buttonChild = props.children;\n if (isTrailing) {\n buttonChild = altText;\n }\n\n return {\n navType,\n altText,\n components: {\n root: 'button',\n },\n root: slot.always(\n getIntrinsicElementProps('button', {\n ref,\n ...props,\n onClick: handleButtonClick,\n children: buttonChild,\n }),\n { elementType: 'button' },\n ),\n };\n};\n\n/**\n * Create the state required to render TeachingPopoverCarouselFooterButton.\n *\n * The returned state can be modified with hooks such as useTeachingPopoverCarouselFooterButtonStyles_unstable,\n * before being passed to renderTeachingPopoverCarouselFooterButton_unstable.\n *\n * @param props - props from this instance of TeachingPopoverCarouselFooterButton\n * @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselFooterButton\n */\nexport const useTeachingPopoverCarouselFooterButton_unstable = (\n props: TeachingPopoverCarouselFooterButtonProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselFooterButtonState => {\n const baseState = useTeachingPopoverCarouselFooterButtonBase_unstable(props, ref);\n const popoverAppearance = usePopoverContext_unstable(context => context.appearance);\n\n let buttonAppearanceType: 'primary' | 'outline' | undefined;\n\n if (props.navType === 'next') {\n buttonAppearanceType = popoverAppearance === 'brand' ? undefined : 'primary';\n } else {\n buttonAppearanceType = popoverAppearance === 'brand' ? 'outline' : undefined;\n }\n\n const buttonState = useButton_unstable({ appearance: buttonAppearanceType, ...props }, ref);\n\n return {\n ...buttonState,\n navType: baseState.navType,\n altText: baseState.altText,\n root: baseState.root,\n popoverAppearance,\n };\n};\n"],"names":["React","getIntrinsicElementProps","mergeCallbacks","slot","usePopoverContext_unstable","useCarouselContext_unstable","useEventCallback","useButton_unstable","useCarouselValues_unstable","useTeachingPopoverCarouselFooterButtonBase_unstable","props","ref","navType","altText","selectPageByDirection","c","values","snapshot","activeValue","value","handleClick","event","isDefaultPrevented","handleButtonClick","onClick","isTrailing","useMemo","indexOf","length","buttonChild","children","components","root","always","elementType","useTeachingPopoverCarouselFooterButton_unstable","baseState","popoverAppearance","context","appearance","buttonAppearanceType","undefined","buttonState"],"mappings":"AAAA;;;;;;;;;;;;IAwBaS,mDAAAA;;;IAiEA0B,+CAAAA;;;;;iEAvFU,QAAQ;gCACgC,4BAA4B;8BAOhD,0BAA0B;iCACzB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getIntrinsicElementProps, mergeCallbacks, slot } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselFooterButtonBaseProps,\n TeachingPopoverCarouselFooterButtonBaseState,\n TeachingPopoverCarouselFooterButtonProps,\n TeachingPopoverCarouselFooterButtonState,\n} from './TeachingPopoverCarouselFooterButton.types';\nimport { usePopoverContext_unstable } from '@fluentui/react-popover';\nimport { useCarouselContext_unstable } from '../TeachingPopoverCarousel/Carousel/CarouselContext';\nimport { useEventCallback } from '@fluentui/react-utilities';\nimport { useButton_unstable } from '@fluentui/react-button';\nimport { useCarouselValues_unstable } from '../TeachingPopoverCarousel/Carousel/useCarouselValues';\n\n/**\n * Base hook that builds TeachingPopoverCarouselFooterButton state for behavior and structure only.\n * Does not read `appearance` from the popover context, does not derive the button's\n * appearance from the navType/popoverAppearance combination, and does not call\n * `useButton_unstable` (the styled hook does that with the right appearance).\n * @param props - props from this instance of TeachingPopoverCarouselFooterButton\n * @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselFooterButton\n */\nexport const useTeachingPopoverCarouselFooterButtonBase_unstable = (\n props: TeachingPopoverCarouselFooterButtonBaseProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselFooterButtonBaseState => {\n const { navType, altText } = props;\n\n const selectPageByDirection = useCarouselContext_unstable(c => c.selectPageByDirection);\n const values = useCarouselValues_unstable(snapshot => snapshot);\n const activeValue = useCarouselContext_unstable(c => c.value);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement & HTMLAnchorElement>) => {\n if (event.isDefaultPrevented()) {\n return;\n }\n\n selectPageByDirection(event, navType);\n };\n\n const handleButtonClick = useEventCallback(mergeCallbacks(handleClick, props.onClick));\n\n const isTrailing = React.useMemo(() => {\n if (!activeValue) {\n return false;\n }\n\n if (navType === 'prev') {\n return values.indexOf(activeValue) === 0;\n }\n\n return values.indexOf(activeValue) === values.length - 1;\n }, [navType, activeValue, values]);\n\n /* Handle altText on trailing step */\n let buttonChild = props.children;\n if (isTrailing) {\n buttonChild = altText;\n }\n\n return {\n navType,\n altText,\n components: {\n root: 'button',\n },\n root: slot.always(\n getIntrinsicElementProps('button', {\n ref,\n ...props,\n onClick: handleButtonClick,\n children: buttonChild,\n }),\n { elementType: 'button' },\n ),\n };\n};\n\n/**\n * Create the state required to render TeachingPopoverCarouselFooterButton.\n *\n * The returned state can be modified with hooks such as useTeachingPopoverCarouselFooterButtonStyles_unstable,\n * before being passed to renderTeachingPopoverCarouselFooterButton_unstable.\n *\n * @param props - props from this instance of TeachingPopoverCarouselFooterButton\n * @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselFooterButton\n */\nexport const useTeachingPopoverCarouselFooterButton_unstable = (\n props: TeachingPopoverCarouselFooterButtonProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselFooterButtonState => {\n const baseState = useTeachingPopoverCarouselFooterButtonBase_unstable(props, ref);\n const popoverAppearance = usePopoverContext_unstable(context => context.appearance);\n\n let buttonAppearanceType: 'primary' | 'outline' | undefined;\n\n if (props.navType === 'next') {\n buttonAppearanceType = popoverAppearance === 'brand' ? undefined : 'primary';\n } else {\n buttonAppearanceType = popoverAppearance === 'brand' ? 'outline' : undefined;\n }\n\n const buttonState = useButton_unstable({ appearance: buttonAppearanceType, ...props }, ref);\n\n return {\n ...buttonState,\n navType: baseState.navType,\n altText: baseState.altText,\n root: baseState.root,\n popoverAppearance,\n };\n};\n"],"names":["React","getIntrinsicElementProps","mergeCallbacks","slot","usePopoverContext_unstable","useCarouselContext_unstable","useEventCallback","useButton_unstable","useCarouselValues_unstable","useTeachingPopoverCarouselFooterButtonBase_unstable","props","ref","navType","altText","selectPageByDirection","c","values","snapshot","activeValue","value","handleClick","event","isDefaultPrevented","handleButtonClick","onClick","isTrailing","useMemo","indexOf","length","buttonChild","children","components","root","always","elementType","useTeachingPopoverCarouselFooterButton_unstable","baseState","popoverAppearance","context","appearance","buttonAppearanceType","undefined","buttonState"],"mappings":"AAAA;;;;;;;;;;;;IAwBaS,mDAAAA;;;IAiEA0B,+CAAAA;;;;;iEAvFU,QAAQ;gCACgC,4BAA4B;8BAOhD,0BAA0B;iCACzB,yDAAsD;6BAE/D,yBAAyB;mCACjB,2DAAwD;AAU5F,4DAA4D,CACjEzB,OACAC;IAEA,MAAM,EAAEC,OAAO,EAAEC,OAAO,EAAE,GAAGH;IAE7B,MAAMI,4BAAwBT,4CAAAA,EAA4BU,CAAAA,IAAKA,EAAED,qBAAqB;IACtF,MAAME,aAASR,6CAAAA,EAA2BS,CAAAA,WAAYA;IACtD,MAAMC,kBAAcb,4CAAAA,EAA4BU,CAAAA,IAAKA,EAAEI,KAAK;IAE5D,MAAMC,cAAc,CAACC;QACnB,IAAIA,MAAMC,kBAAkB,IAAI;YAC9B;QACF;QAEAR,sBAAsBO,OAAOT;IAC/B;IAEA,MAAMW,wBAAoBjB,gCAAAA,MAAiBJ,8BAAAA,EAAekB,aAAaV,MAAMc,OAAO;IAEpF,MAAMC,aAAazB,OAAM0B,OAAO,CAAC;QAC/B,IAAI,CAACR,aAAa;YAChB,OAAO;QACT;QAEA,IAAIN,YAAY,QAAQ;YACtB,OAAOI,OAAOW,OAAO,CAACT,iBAAiB;QACzC;QAEA,OAAOF,OAAOW,OAAO,CAACT,iBAAiBF,OAAOY,MAAM,GAAG;IACzD,GAAG;QAAChB;QAASM;QAAaF;KAAO;IAEjC,mCAAmC,GACnC,IAAIa,cAAcnB,MAAMoB,QAAQ;IAChC,IAAIL,YAAY;QACdI,cAAchB;IAChB;IAEA,OAAO;QACLD;QACAC;QACAkB,YAAY;YACVC,MAAM;QACR;QACAA,MAAM7B,oBAAAA,CAAK8B,MAAM,KACfhC,wCAAAA,EAAyB,UAAU;YACjCU;YACA,GAAGD,KAAK;YACRc,SAASD;YACTO,UAAUD;QACZ,IACA;YAAEK,aAAa;QAAS;IAE5B;AACF,EAAE;AAWK,wDAAwD,CAC7DxB,OACAC;IAEA,MAAMyB,YAAY3B,oDAAoDC,OAAOC;IAC7E,MAAM0B,wBAAoBjC,wCAAAA,EAA2BkC,CAAAA,UAAWA,QAAQC,UAAU;IAElF,IAAIC;IAEJ,IAAI9B,MAAME,OAAO,KAAK,QAAQ;QAC5B4B,uBAAuBH,sBAAsB,UAAUI,YAAY;IACrE,OAAO;QACLD,uBAAuBH,sBAAsB,UAAU,YAAYI;IACrE;IAEA,MAAMC,cAAcnC,mCAAAA,EAAmB;QAAEgC,YAAYC;QAAsB,GAAG9B,KAAK;IAAC,GAAGC;IAEvF,OAAO;QACL,GAAG+B,WAAW;QACd9B,SAASwB,UAAUxB,OAAO;QAC1BC,SAASuB,UAAUvB,OAAO;QAC1BmB,MAAMI,UAAUJ,IAAI;QACpBK;IACF;AACF,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselFooterButtonStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses, shorthands } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { useButtonStyles_unstable } from \"@fluentui/react-button\";\nexport const teachingPopoverCarouselFooterButtonClassNames = {\n root: 'fui-TeachingPopoverCarouselFooterButton'\n};\nconst useStyles = makeStyles({\n root: {\n minWidth: '96px'\n },\n brandNext: {\n color: tokens.colorBrandForeground1,\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorTransparentBackground),\n ':hover': {\n color: tokens.colorCompoundBrandForeground1Hover,\n backgroundColor: tokens.colorNeutralForegroundOnBrand\n },\n ':hover:active': {\n color: tokens.colorCompoundBrandForeground1Pressed,\n backgroundColor: tokens.colorNeutralForegroundOnBrand\n }\n },\n brandPrevious: {\n // In brand, this is always 'NeutralForegroundOnBrand'\n color: tokens.colorNeutralForegroundOnBrand,\n backgroundColor: tokens.colorBrandBackground,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n ':hover': {\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n backgroundColor: tokens.colorBrandBackgroundHover\n },\n ':hover:active': {\n color: tokens.colorNeutralForegroundOnBrand,\n ...shorthands.borderColor(tokens.colorNeutralForegroundOnBrand),\n backgroundColor: tokens.colorBrandBackgroundPressed\n }\n }\n});\n/**\n * Apply styling to the TeachingPopoverCarouselFooterButton slots based on the state\n */ export const useTeachingPopoverCarouselFooterButtonStyles_unstable = (state)=>{\n 'use no memo'; // justified: compiler would optimize useTeachingPopoverCarouselFooterButtonStyles_unstable — manual opt-out to preserve runtime behavior\n const styles = useStyles();\n const { navType, popoverAppearance } = state;\n // Apply underlying fluent Button styles\n state = {\n ...state,\n ...useButtonStyles_unstable(state)\n };\n state.root.className = mergeClasses(teachingPopoverCarouselFooterButtonClassNames.root, styles.root, navType === 'prev' && popoverAppearance === 'brand' && styles.brandPrevious, navType === 'next' && popoverAppearance === 'brand' && styles.brandNext, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","shorthands","tokens","useButtonStyles_unstable","teachingPopoverCarouselFooterButtonClassNames","root","useStyles","Bf4jedk","brandNext","sj55zd","De3pzq","g2u3we","h3c5rm","B9xav0g","zhjwy3","Bi91k9c","Jwef8y","B2d53fq","iro3zm","brandPrevious","Bgoe8wy","Bwzppfd","oetu4i","gg5e9n","b661bw","Bk6r4ia","B9zn80p","Bpld233","d","h","useTeachingPopoverCarouselFooterButtonStyles_unstable","state","styles","navType","popoverAppearance","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;IAICK,6CAA6C;;;IAuCzC0B,qDAAqD;;;;uBA1CjB,gBAAgB;6BAE5B,wBAAwB;AAC1D,sDAAsD;IACzDzB,IAAI,EAAE;AACV,CAAC;AACD,MAAMC,SAAS,GAAA,WAAA,OAAGP,eAAA,EAAA;IAAAM,IAAA,EAAA;QAAAE,OAAA,EAAA;IAAA;IAAAC,SAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;IAAA;IAAAC,aAAA,EAAA;QAAAV,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,OAAA,EAAA;QAAAC,MAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,OAAA,EAAA;QAAAK,OAAA,EAAA;QAAAC,OAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,MAAA,EAAA;QAAAC,MAAA,EAAA;YAAA;YAAA;SAAA;QAAAP,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAO,MAAA,EAAA;QAAAC,OAAA,EAAA;YAAA;YAAA;SAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;YAAA;YAAA;SAAA;QAAAT,MAAA,EAAA;IAAA;AAAA,GAAA;IAAAU,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CAiCjB,CAAC;AAGS,8DAA+DE,KAAK,IAAG;IAC9E,aAAa;IAAE,yIAAA;IACf,MAAMC,MAAM,GAAG1B,SAAS,CAAC,CAAC;IAC1B,MAAM,EAAE2B,OAAO,EAAEC,iBAAAA,EAAmB,GAAGH,KAAK;IAC5C,wCAAA;IACAA,KAAK,GAAG;QACJ,GAAGA,KAAK;QACR,OAAG5B,qCAAwB,EAAC4B,KAAK,CAAA;IACrC,CAAC;IACDA,KAAK,CAAC1B,IAAI,CAAC8B,SAAS,OAAGnC,mBAAY,EAACI,6CAA6C,CAACC,IAAI,EAAE2B,MAAM,CAAC3B,IAAI,EAAE4B,OAAO,KAAK,MAAM,IAAIC,iBAAiB,KAAK,OAAO,IAAIF,MAAM,CAACb,aAAa,EAAEc,OAAO,KAAK,MAAM,IAAIC,iBAAiB,KAAK,OAAO,IAAIF,MAAM,CAACxB,SAAS,EAAEuB,KAAK,CAAC1B,IAAI,CAAC8B,SAAS,CAAC;IAChR,OAAOJ,KAAK;AAChB,CAAC"}
|
|
@@ -11,9 +11,9 @@ Object.defineProperty(exports, "TeachingPopoverCarouselNav", {
|
|
|
11
11
|
});
|
|
12
12
|
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
13
|
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
14
|
-
const _useTeachingPopoverCarouselNav = require("./useTeachingPopoverCarouselNav");
|
|
15
|
-
const _renderTeachingPopoverCarouselNav = require("./renderTeachingPopoverCarouselNav");
|
|
16
|
-
const _useTeachingPopoverCarouselNavStylesstyles = require("./useTeachingPopoverCarouselNavStyles.styles");
|
|
14
|
+
const _useTeachingPopoverCarouselNav = require("./useTeachingPopoverCarouselNav.cjs");
|
|
15
|
+
const _renderTeachingPopoverCarouselNav = require("./renderTeachingPopoverCarouselNav.cjs");
|
|
16
|
+
const _useTeachingPopoverCarouselNavStylesstyles = require("./useTeachingPopoverCarouselNavStyles.styles.cjs");
|
|
17
17
|
const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
|
|
18
18
|
const TeachingPopoverCarouselNav = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
|
|
19
19
|
const state = (0, _useTeachingPopoverCarouselNav.useTeachingPopoverCarouselNav_unstable)(props, ref);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselNav_unstable } from './useTeachingPopoverCarouselNav';\nimport { renderTeachingPopoverCarouselNav_unstable } from './renderTeachingPopoverCarouselNav';\nimport { useTeachingPopoverCarouselNavStyles_unstable } from './useTeachingPopoverCarouselNavStyles.styles';\nimport type { TeachingPopoverCarouselNavProps } from './TeachingPopoverCarouselNav.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselNav, using the `useTeachingPopoverCarouselNav_unstable` and `useTeachingPopoverCarouselNavStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselNav provides an index-based pagination list to jump to any page within the carousel.\n */\nexport const TeachingPopoverCarouselNav: ForwardRefComponent<TeachingPopoverCarouselNavProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselNav_unstable(props, ref);\n\n useTeachingPopoverCarouselNavStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselNavStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselNav_unstable(state);\n },\n);\n\nTeachingPopoverCarouselNav.displayName = 'TeachingPopoverCarouselNav';\n"],"names":["React","useTeachingPopoverCarouselNav_unstable","renderTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNavStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselNav","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;+CACwB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverCarouselNav_unstable } from './useTeachingPopoverCarouselNav';\nimport { renderTeachingPopoverCarouselNav_unstable } from './renderTeachingPopoverCarouselNav';\nimport { useTeachingPopoverCarouselNavStyles_unstable } from './useTeachingPopoverCarouselNavStyles.styles';\nimport type { TeachingPopoverCarouselNavProps } from './TeachingPopoverCarouselNav.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverCarouselNav, using the `useTeachingPopoverCarouselNav_unstable` and `useTeachingPopoverCarouselNavStyles_unstable`\n * hooks.\n *\n * TeachingPopoverCarouselNav provides an index-based pagination list to jump to any page within the carousel.\n */\nexport const TeachingPopoverCarouselNav: ForwardRefComponent<TeachingPopoverCarouselNavProps> = React.forwardRef(\n (props, ref) => {\n const state = useTeachingPopoverCarouselNav_unstable(props, ref);\n\n useTeachingPopoverCarouselNavStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselNavStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselNav_unstable(state);\n },\n);\n\nTeachingPopoverCarouselNav.displayName = 'TeachingPopoverCarouselNav';\n"],"names":["React","useTeachingPopoverCarouselNav_unstable","renderTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNavStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselNav","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;+CACwB,qCAAkC;kDAC/B,wCAAqC;2DAClC,kDAA+C;qCAGhE,kCAAkC;AAQvE,MAAMK,6BAAAA,WAAAA,GAAmFL,OAAMM,UAAU,CAC9G,CAACC,OAAOC;IACN,MAAMC,YAAQR,qEAAAA,EAAuCM,OAAOC;QAE5DL,uFAAAA,EAA6CM;QAE7CL,gDAAAA,EAA4B,gDAAgDK;IAE5E,WAAOP,2EAAAA,EAA0CO;AACnD,GACA;AAEFJ,2BAA2BK,WAAW,GAAG"}
|
|
@@ -28,7 +28,7 @@ _export(exports, {
|
|
|
28
28
|
return _useTeachingPopoverCarouselNav.useTeachingPopoverCarouselNav_unstable;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
const _TeachingPopoverCarouselNav = require("./TeachingPopoverCarouselNav");
|
|
32
|
-
const _renderTeachingPopoverCarouselNav = require("./renderTeachingPopoverCarouselNav");
|
|
33
|
-
const _useTeachingPopoverCarouselNav = require("./useTeachingPopoverCarouselNav");
|
|
34
|
-
const _useTeachingPopoverCarouselNavStylesstyles = require("./useTeachingPopoverCarouselNavStyles.styles");
|
|
31
|
+
const _TeachingPopoverCarouselNav = require("./TeachingPopoverCarouselNav.cjs");
|
|
32
|
+
const _renderTeachingPopoverCarouselNav = require("./renderTeachingPopoverCarouselNav.cjs");
|
|
33
|
+
const _useTeachingPopoverCarouselNav = require("./useTeachingPopoverCarouselNav.cjs");
|
|
34
|
+
const _useTeachingPopoverCarouselNavStylesstyles = require("./useTeachingPopoverCarouselNavStyles.styles.cjs");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselNav } from './TeachingPopoverCarouselNav';\nexport type {\n NavButtonRenderFunction,\n TeachingPopoverCarouselNavBaseProps,\n TeachingPopoverCarouselNavBaseState,\n TeachingPopoverCarouselNavProps,\n TeachingPopoverCarouselNavSlots,\n TeachingPopoverCarouselNavState,\n} from './TeachingPopoverCarouselNav.types';\nexport { renderTeachingPopoverCarouselNav_unstable } from './renderTeachingPopoverCarouselNav';\nexport {\n useTeachingPopoverCarouselNav_unstable,\n useTeachingPopoverCarouselNavBase_unstable,\n} from './useTeachingPopoverCarouselNav';\nexport {\n teachingPopoverCarouselNavClassNames,\n useTeachingPopoverCarouselNavStyles_unstable,\n} from './useTeachingPopoverCarouselNavStyles.styles';\n"],"names":["TeachingPopoverCarouselNav","renderTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNavBase_unstable","teachingPopoverCarouselNavClassNames","useTeachingPopoverCarouselNavStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,sDAA0B;;;eAS1BC,2EAAyC;;;eAMhDG,+EAAoC;;;eAHpCD,yEAA0C;;;eAI1CE,uFAA4C;;;eAL5CH,qEAAsC;;;4CAXG
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselNav } from './TeachingPopoverCarouselNav';\nexport type {\n NavButtonRenderFunction,\n TeachingPopoverCarouselNavBaseProps,\n TeachingPopoverCarouselNavBaseState,\n TeachingPopoverCarouselNavProps,\n TeachingPopoverCarouselNavSlots,\n TeachingPopoverCarouselNavState,\n} from './TeachingPopoverCarouselNav.types';\nexport { renderTeachingPopoverCarouselNav_unstable } from './renderTeachingPopoverCarouselNav';\nexport {\n useTeachingPopoverCarouselNav_unstable,\n useTeachingPopoverCarouselNavBase_unstable,\n} from './useTeachingPopoverCarouselNav';\nexport {\n teachingPopoverCarouselNavClassNames,\n useTeachingPopoverCarouselNavStyles_unstable,\n} from './useTeachingPopoverCarouselNavStyles.styles';\n"],"names":["TeachingPopoverCarouselNav","renderTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNav_unstable","useTeachingPopoverCarouselNavBase_unstable","teachingPopoverCarouselNavClassNames","useTeachingPopoverCarouselNavStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,sDAA0B;;;eAS1BC,2EAAyC;;;eAMhDG,+EAAoC;;;eAHpCD,yEAA0C;;;eAI1CE,uFAA4C;;;eAL5CH,qEAAsC;;;4CAXG,kCAA+B;kDAShB,wCAAqC;+CAIxF,qCAAkC;2DAIlC,kDAA+C"}
|
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "renderTeachingPopoverCarouselNav_unstable", {
|
|
|
10
10
|
});
|
|
11
11
|
const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
|
|
12
12
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
13
|
-
const _valueIdContext = require("./valueIdContext");
|
|
13
|
+
const _valueIdContext = require("./valueIdContext.cjs");
|
|
14
14
|
const renderTeachingPopoverCarouselNav_unstable = (state)=>{
|
|
15
15
|
(0, _reactutilities.assertSlots)(state);
|
|
16
16
|
const { values, renderNavButton } = state;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport type { TeachingPopoverCarouselNavState } from './TeachingPopoverCarouselNav.types';\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { TeachingPopoverCarouselNavSlots } from './TeachingPopoverCarouselNav.types';\nimport { ValueIdContextProvider } from './valueIdContext';\n\n/**\n * Render the final JSX of TeachingPopoverCarouselNav\n */\nexport const renderTeachingPopoverCarouselNav_unstable = (state: TeachingPopoverCarouselNavState): JSXElement => {\n assertSlots<TeachingPopoverCarouselNavSlots>(state);\n\n const { values, renderNavButton } = state;\n\n return (\n <state.root>\n {values.map(value => (\n <ValueIdContextProvider value={value} key={value}>\n {renderNavButton(value)}\n </ValueIdContextProvider>\n ))}\n </state.root>\n );\n};\n"],"names":["assertSlots","ValueIdContextProvider","renderTeachingPopoverCarouselNav_unstable","state","values","renderNavButton","root","map","value"],"mappings":";;;;+BAWaE;;;;;;4BAVb,gDAAiD;gCAErB,4BAA4B;gCAGjB,
|
|
1
|
+
{"version":3,"sources":["../src/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport type { TeachingPopoverCarouselNavState } from './TeachingPopoverCarouselNav.types';\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { TeachingPopoverCarouselNavSlots } from './TeachingPopoverCarouselNav.types';\nimport { ValueIdContextProvider } from './valueIdContext';\n\n/**\n * Render the final JSX of TeachingPopoverCarouselNav\n */\nexport const renderTeachingPopoverCarouselNav_unstable = (state: TeachingPopoverCarouselNavState): JSXElement => {\n assertSlots<TeachingPopoverCarouselNavSlots>(state);\n\n const { values, renderNavButton } = state;\n\n return (\n <state.root>\n {values.map(value => (\n <ValueIdContextProvider value={value} key={value}>\n {renderNavButton(value)}\n </ValueIdContextProvider>\n ))}\n </state.root>\n );\n};\n"],"names":["assertSlots","ValueIdContextProvider","renderTeachingPopoverCarouselNav_unstable","state","values","renderNavButton","root","map","value"],"mappings":";;;;+BAWaE;;;;;;4BAVb,gDAAiD;gCAErB,4BAA4B;gCAGjB,sBAAmB;AAKnD,kDAAkD,CAACC;QACxDH,2BAAAA,EAA6CG;IAE7C,MAAM,EAAEC,MAAM,EAAEC,eAAe,EAAE,GAAGF;IAEpC,OAAA,WAAA,OACE,eAAA,EAACA,MAAMG,IAAI,EAAA;kBACRF,OAAOG,GAAG,CAACC,CAAAA,QAAAA,WAAAA,OACV,eAAA,EAACP,sCAAAA,EAAAA;gBAAuBO,OAAOA;0BAC5BH,gBAAgBG;eADwBA;;AAMnD,EAAE"}
|
|
@@ -19,7 +19,7 @@ _export(exports, {
|
|
|
19
19
|
});
|
|
20
20
|
const _reacttabster = require("@fluentui/react-tabster");
|
|
21
21
|
const _reactutilities = require("@fluentui/react-utilities");
|
|
22
|
-
const _useCarouselValues = require("../TeachingPopoverCarousel/Carousel/useCarouselValues");
|
|
22
|
+
const _useCarouselValues = require("../TeachingPopoverCarousel/Carousel/useCarouselValues.cjs");
|
|
23
23
|
const useTeachingPopoverCarouselNavBase_unstable = (props, ref)=>{
|
|
24
24
|
const values = (0, _useCarouselValues.useCarouselValues_unstable)((snapshot)=>snapshot);
|
|
25
25
|
return {
|