@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/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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAASC,oBAAoB,EAAEC,aAAa,QAAQ,
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,sBAAsBC,SAAS,QAAQ,kCAAkC;AAElF,SAASC,oBAAoB,EAAEC,aAAa,QAAQ,iBAAc;AASlE,OAAO,MAAMC,6BAA6B;IAIxC,MAAM,EAAEC,cAAc,EAAE,GAAGJ;IAE3B,MAAMK,gBAAgBR,MAAMS,MAAM,CAAyBF,2BAAAA,qCAAAA,eAAgBG,gBAAgB,CAACH,eAAeI,IAAI;IAC/G,MAAMC,UAAUZ,MAAMS,MAAM,CAAwB;IAEpD,MAAMI,MAAMb,MAAMc,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,CAACnB,cAAcmB,OAAO;oBACxB,OAAOH,WAAWI,WAAW;gBAC/B;gBAEA,OAAOD,KAAKE,YAAY,CAACjB,iBAAiBY,WAAWM,aAAa,GAAGN,WAAWI,WAAW;YAC7F;QACF;IACF,GACA;QAACd;KAAe;IAGlB,OAAO;QACLM;QACAW,QAAQxB,MAAMyB,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,qBAAqB,QAAQ,CAAC;oBAEjF,IAAIH,cAAc0B,WAAW;wBAC3B,OAAO;4BACLZ,IAAIY;4BACJE,OAAOF,SAASG,YAAY,CAACzB;wBAC/B;oBACF;oBAEA,OAAO;gBACT;gBACA0B,MAAKF,KAAa;wBACXrB;oBAAL,IAAI,GAACA,yBAAAA,cAAcQ,OAAO,cAArBR,6CAAAA,uBAAuBwB,WAAW,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,CAAChC,cAAcgC,WAAW;4BAC5B;wBACF;wBAEA,IAAIA,SAASH,YAAY,CAACzB,mBAAmBwB,OAAO;4BAClD,OAAO;gCACLd,IAAIkB;gCACJJ,OAAOI,SAASH,YAAY,CAACzB;4BAC/B;wBACF;oBACF;oBAEA,OAAO;gBACT;gBACA6B,UAASL,KAAa;wBAEPrB;oBADb,MAAM2B,MAAM,IAAI,CAACJ,IAAI,CAACF;oBACtB,IAAI,CAACM,OAAO,GAAC3B,yBAAAA,cAAcQ,OAAO,cAArBR,6CAAAA,uBAAuBwB,WAAW,GAAE;wBAC/C,OAAO;oBACT;oBAEAxB,cAAcQ,OAAO,CAACgB,WAAW,GAAGG,IAAIpB,EAAE;oBAC1C,MAAMqB,OAAO5B,cAAcQ,OAAO,CAACiB,QAAQ;oBAE3C,IAAIhC,cAAcmC,OAAO;wBACvB,OAAO;4BACLrB,IAAIqB;4BACJP,OAAOO,KAAKN,YAAY,CAACzB;wBAC3B;oBACF;oBAEA,OAAO;gBACT;gBAEAgC,UAASR,KAAa;wBAEPrB;oBADb,MAAM2B,MAAM,IAAI,CAACJ,IAAI,CAACF;oBACtB,IAAI,CAACM,OAAO,GAAC3B,yBAAAA,cAAcQ,OAAO,cAArBR,6CAAAA,uBAAuBwB,WAAW,GAAE;wBAC/C,OAAO;oBACT;oBAEAxB,cAAcQ,OAAO,CAACgB,WAAW,GAAGG,IAAIpB,EAAE;oBAC1C,MAAMqB,OAAO5B,cAAcQ,OAAO,CAACsB,YAAY;oBAE/C,IAAIrC,cAAcmC,OAAO;wBACvB,OAAO;4BACLrB,IAAIqB;4BACJP,OAAOO,KAAKN,YAAY,CAACzB;wBAC3B;oBACF;oBAEA,OAAO;gBACT;YACF,CAAA,GACA,EAAE;IAEN;AACF,EAAE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { useTeachingPopoverCarousel_unstable } from
|
|
4
|
-
import { renderTeachingPopoverCarousel_unstable } from
|
|
5
|
-
import { useTeachingPopoverCarouselStyles_unstable } from
|
|
6
|
-
import { useCustomStyleHook_unstable } from
|
|
7
|
-
import { useTeachingPopoverCarouselContextValues_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useTeachingPopoverCarousel_unstable } from "./useTeachingPopoverCarousel.js";
|
|
4
|
+
import { renderTeachingPopoverCarousel_unstable } from "./renderTeachingPopoverCarousel.js";
|
|
5
|
+
import { useTeachingPopoverCarouselStyles_unstable } from "./useTeachingPopoverCarouselStyles.styles.js";
|
|
6
|
+
import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
|
|
7
|
+
import { useTeachingPopoverCarouselContextValues_unstable } from "./useTeachingPopoverCarouselContextValues.js";
|
|
8
8
|
/**
|
|
9
9
|
* Define a styled TeachingPopoverCarousel, using the `useTeachingPopoverCarousel_unstable` and `useTeachingPopoverCarouselStyles_unstable`
|
|
10
10
|
* hooks.
|
|
@@ -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;AAEA,YAAYA,WAAW,QAAQ;AAG/B,SAASC,mCAAmC,QAAQ
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAG/B,SAASC,mCAAmC,QAAQ,kCAA+B;AACnF,SAASC,sCAAsC,QAAQ,qCAAkC;AACzF,SAASC,yCAAyC,QAAQ,+CAA4C;AACtG,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E,SAASC,gDAAgD,QAAQ,+CAA4C;AAE7G;;;;;CAKC,GACD,OAAO,MAAMC,wCAA6EN,MAAMO,UAAU,CACxG,CAACC,OAAOC;IACN,MAAMC,QAAQT,oCAAoCO,OAAOC;IAEzDN,0CAA0CO;IAE1CN,4BAA4B,6CAA6CM;IAEzE,MAAMC,gBAAgBN,iDAAiDK;IAEvE,OAAOR,uCAAuCQ,OAAOC;AACvD,GACA;AAEFL,wBAAwBM,WAAW,GAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { TeachingPopoverCarousel } from
|
|
2
|
-
export { renderTeachingPopoverCarousel_unstable } from
|
|
3
|
-
export { useTeachingPopoverCarousel_unstable, useTeachingPopoverCarouselBase_unstable } from
|
|
4
|
-
export { teachingPopoverCarouselClassNames, useTeachingPopoverCarouselStyles_unstable } from
|
|
5
|
-
export { useTeachingPopoverCarouselContextValues_unstable } from
|
|
1
|
+
export { TeachingPopoverCarousel } from "./TeachingPopoverCarousel.js";
|
|
2
|
+
export { renderTeachingPopoverCarousel_unstable } from "./renderTeachingPopoverCarousel.js";
|
|
3
|
+
export { useTeachingPopoverCarousel_unstable, useTeachingPopoverCarouselBase_unstable } from "./useTeachingPopoverCarousel.js";
|
|
4
|
+
export { teachingPopoverCarouselClassNames, useTeachingPopoverCarouselStyles_unstable } from "./useTeachingPopoverCarouselStyles.styles.js";
|
|
5
|
+
export { useTeachingPopoverCarouselContextValues_unstable } from "./useTeachingPopoverCarouselContextValues.js";
|
|
@@ -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":"AAAA,SAASA,uBAAuB,QAAQ
|
|
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":"AAAA,SAASA,uBAAuB,QAAQ,+BAA4B;AASpE,SAASC,sCAAsC,QAAQ,qCAAkC;AACzF,SACEC,mCAAmC,EACnCC,uCAAuC,QAClC,kCAA+B;AACtC,SACEC,iCAAiC,EACjCC,yCAAyC,QACpC,+CAA4C;AACnD,SAASC,gDAAgD,QAAQ,+CAA4C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { assertSlots } from
|
|
3
|
-
import { CarouselProvider } from
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
|
+
import { CarouselProvider } from "./Carousel/CarouselContext.js";
|
|
4
4
|
/**
|
|
5
5
|
* Render the final JSX of TeachingPopoverCarousel
|
|
6
6
|
*/ export const renderTeachingPopoverCarousel_unstable = (state, contextValues)=>{
|
|
@@ -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":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAOxD,SAASC,gBAAgB,QAAQ,
|
|
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":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAOxD,SAASC,gBAAgB,QAAQ,gCAA6B;AAE9D;;CAEC,GACD,OAAO,MAAMC,yCAAyC,CACpDC,OACAC;IAEAJ,YAA0CG;IAE1C,qBACE,KAACF;QAAiBI,OAAOD,cAAcE,QAAQ;kBAC7C,cAAA,KAACH,MAAMI,IAAI;;AAGjB,EAAE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { getIntrinsicElementProps, slot, useEventCallback, useMergedRefs } from
|
|
3
|
-
import { usePopoverContext_unstable } from
|
|
4
|
-
import { useCarousel_unstable } from
|
|
2
|
+
import { getIntrinsicElementProps, slot, useEventCallback, useMergedRefs } from "@fluentui/react-utilities";
|
|
3
|
+
import { usePopoverContext_unstable } from "@fluentui/react-popover";
|
|
4
|
+
import { useCarousel_unstable } from "./Carousel/Carousel.js";
|
|
5
5
|
/**
|
|
6
6
|
* Base hook that builds TeachingPopoverCarousel state for behavior and structure only.
|
|
7
7
|
* Does not read `appearance` from the popover context.
|
|
@@ -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;AAGA,SAASA,wBAAwB,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,aAAa,QAAQ,4BAA4B;AAO5G,SAASC,0BAA0B,QAAQ,0BAA0B;AACrE,SAASC,oBAAoB,QAAQ,
|
|
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;AAGA,SAASA,wBAAwB,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,aAAa,QAAQ,4BAA4B;AAO5G,SAASC,0BAA0B,QAAQ,0BAA0B;AACrE,SAASC,oBAAoB,QAAQ,yBAAsB;AAE3D;;;;;CAKC,GACD,OAAO,MAAMC,0CAA0C,CACrDC,OACAC;IAEA,MAAMC,aAAaL,2BAA2BM,CAAAA,IAAKA,EAAED,UAAU;IAC/D,MAAME,eAAyDT,iBAAiB,CAACU,OAAOC;YACtFN;SAAAA,kBAAAA,MAAMO,QAAQ,cAAdP,sCAAAA,qBAAAA,OAAiBK,OAAOC;QACxBJ,WAAWG;IACb;IAEA,MAAM,EAAEG,QAAQ,EAAEC,WAAW,EAAE,GAAGX,qBAAqB;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,KAAKsB,MAAM,CACfvB,yBAAyB,OAAO;YAC9BQ,KAAKL,cAAcK,KAAKQ;YACxB,GAAGT,KAAK;QACV,IACA;YAAEiB,aAAa;QAAM;QAEvB,GAAGT,QAAQ;IACb;AACF,EAAE;AAEF,OAAO,MAAMU,sCAAsC,CACjDlB,OACAC;IAEA,MAAMkB,YAAYpB,wCAAwCC,OAAOC;IACjE,MAAMmB,aAAavB,2BAA2BwB,CAAAA,UAAWA,QAAQD,UAAU;IAE3E,OAAO;QACL,GAAGD,SAAS;QACZC;IACF;AACF,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
export function useTeachingPopoverCarouselContextValues_unstable(state) {
|
|
4
4
|
const { store, value, selectPageByValue, selectPageByDirection } = state;
|
|
5
5
|
const carousel = React.useMemo(()=>({
|
package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__styles","mergeClasses","teachingPopoverCarouselClassNames","root","useStyles","useTeachingPopoverCarouselStyles_unstable","state","styles","className"],"sources":["useTeachingPopoverCarouselStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","teachingPopoverCarouselClassNames","root","useStyles","useTeachingPopoverCarouselStyles_unstable","state","styles","className"],"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"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,OAAO,MAAMC,iCAAiC,GAAG;EAC7CC,IAAI,EAAE;AACV,CAAC;AACD;AACA,MAAMC,SAAS,gBAAGJ,QAAA;EAAAG,IAAA;AAAA,KAEjB,CAAC;AACF;AAAyC,OAAO,MAAME,yCAAyC,GAAIC,KAAK,IAAG;EACvG,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;EAC1B;EACAE,KAAK,CAACH,IAAI,CAACK,SAAS,GAAGP,YAAY,CAACC,iCAAiC,CAACC,IAAI,EAAEI,MAAM,CAACJ,IAAI,EAAEG,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;EAC9G,OAAOF,KAAK;AAChB,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { useTeachingPopoverCarouselCard_unstable } from
|
|
4
|
-
import { renderTeachingPopoverCarouselCard_unstable } from
|
|
5
|
-
import { useTeachingPopoverCarouselCardStyles_unstable } from
|
|
6
|
-
import { useCustomStyleHook_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useTeachingPopoverCarouselCard_unstable } from "./useTeachingPopoverCarouselCard.js";
|
|
4
|
+
import { renderTeachingPopoverCarouselCard_unstable } from "./renderTeachingPopoverCarouselCard.js";
|
|
5
|
+
import { useTeachingPopoverCarouselCardStyles_unstable } from "./useTeachingPopoverCarouselCardStyles.styles.js";
|
|
6
|
+
import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
|
|
7
7
|
/**
|
|
8
8
|
* Define a styled TeachingPopoverCarouselCard, using the `useTeachingPopoverCarouselCard_unstable` and `useTeachingPopoverCarouselCardStyles_unstable`
|
|
9
9
|
* hooks.
|
|
@@ -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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,uCAAuC,QAAQ,
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,uCAAuC,QAAQ,sCAAmC;AAC3F,SAASC,0CAA0C,QAAQ,yCAAsC;AAGjG,SAASC,6CAA6C,QAAQ,mDAAgD;AAC9G,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;;;;CAKC,GACD,OAAO,MAAMC,4CAAqFL,MAAMM,UAAU,CAChH,CAACC,OAAOC;IACN,MAAMC,QAAQR,wCAAwCM,OAAOC;IAE7DL,8CAA8CM;IAE9CL,4BAA4B,iDAAiDK;IAE7E,OAAOP,2CAA2CO;AACpD,GACA;AAEFJ,4BAA4BK,WAAW,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TeachingPopoverCarouselCard } from
|
|
2
|
-
export { renderTeachingPopoverCarouselCard_unstable } from
|
|
3
|
-
export { useTeachingPopoverCarouselCard_unstable } from
|
|
4
|
-
export { teachingPopoverCarouselCardClassNames, useTeachingPopoverCarouselCardStyles_unstable } from
|
|
1
|
+
export { TeachingPopoverCarouselCard } from "./TeachingPopoverCarouselCard.js";
|
|
2
|
+
export { renderTeachingPopoverCarouselCard_unstable } from "./renderTeachingPopoverCarouselCard.js";
|
|
3
|
+
export { useTeachingPopoverCarouselCard_unstable } from "./useTeachingPopoverCarouselCard.js";
|
|
4
|
+
export { teachingPopoverCarouselCardClassNames, useTeachingPopoverCarouselCardStyles_unstable } from "./useTeachingPopoverCarouselCardStyles.styles.js";
|
|
@@ -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":"AAAA,SAASA,2BAA2B,QAAQ,
|
|
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":"AAAA,SAASA,2BAA2B,QAAQ,mCAAgC;AAM5E,SAASC,0CAA0C,QAAQ,yCAAsC;AACjG,SAASC,uCAAuC,QAAQ,sCAAmC;AAC3F,SACEC,qCAAqC,EACrCC,6CAA6C,QACxC,mDAAgD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { assertSlots } from
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
3
|
/**
|
|
4
4
|
* Render the final JSX of TeachingPopoverCarouselCard
|
|
5
5
|
*/ export const renderTeachingPopoverCarouselCard_unstable = (state)=>{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getIntrinsicElementProps, slot } from
|
|
2
|
-
import { CarouselItem } from
|
|
1
|
+
import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
|
|
2
|
+
import { CarouselItem } from "../TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js";
|
|
3
3
|
/**
|
|
4
4
|
* Returns the props and state required to render the component
|
|
5
5
|
* @param props - TeachingPopoverCarouselCard properties
|
|
@@ -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":"AAAA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAO3E,SAASC,YAAY,QAAQ
|
|
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":"AAAA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAO3E,SAASC,YAAY,QAAQ,kEAA+D;AAE5F;;;;CAIC,GACD,OAAO,MAAMC,0CAA0C,CACrDC,OACAC;IAEA,MAAM,EAAEC,KAAK,EAAE,GAAGF;IAElB,OAAO;QACLE;QACAC,YAAY;YACVC,MAAMN;QACR;QACAM,MAAMP,KAAKQ,MAAM,CACf;YACE,GAAGT,yBAAyB,OAAO;gBACjCK;gBACA,GAAGD,KAAK;YACV,EAAE;YACFE;QACF,GACA;YAAEI,aAAaR;QAAa;IAEhC;AACF,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__styles","mergeClasses","teachingPopoverCarouselCardClassNames","root","useStyles","useTeachingPopoverCarouselCardStyles_unstable","state","styles","className"],"sources":["useTeachingPopoverCarouselCardStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","teachingPopoverCarouselCardClassNames","root","useStyles","useTeachingPopoverCarouselCardStyles_unstable","state","styles","className"],"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"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,OAAO,MAAMC,qCAAqC,GAAG;EACjDC,IAAI,EAAE;AACV,CAAC;AACD,MAAMC,SAAS,gBAAGJ,QAAA;EAAAG,IAAA;AAAA,KAEjB,CAAC;AACF;AAAyC,OAAO,MAAME,6CAA6C,GAAIC,KAAK,IAAG;EAC3G,MAAMC,MAAM,GAAGH,SAAS,CAAC,CAAC;EAC1B;EACAE,KAAK,CAACH,IAAI,CAACK,SAAS,GAAGP,YAAY,CAACC,qCAAqC,CAACC,IAAI,EAAEI,MAAM,CAACJ,IAAI,EAAEG,KAAK,CAACH,IAAI,CAACK,SAAS,CAAC;EAClH,OAAOF,KAAK;AAChB,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { useTeachingPopoverCarouselFooter_unstable } from
|
|
4
|
-
import { renderTeachingPopoverCarouselFooter_unstable } from
|
|
5
|
-
import { useTeachingPopoverCarouselFooterStyles_unstable } from
|
|
6
|
-
import { useCustomStyleHook_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useTeachingPopoverCarouselFooter_unstable } from "./useTeachingPopoverCarouselFooter.js";
|
|
4
|
+
import { renderTeachingPopoverCarouselFooter_unstable } from "./renderTeachingPopoverCarouselFooter.js";
|
|
5
|
+
import { useTeachingPopoverCarouselFooterStyles_unstable } from "./useTeachingPopoverCarouselFooterStyles.styles.js";
|
|
6
|
+
import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
|
|
7
7
|
/**
|
|
8
8
|
* Define a styled TeachingPopoverCarouselFooter, using the `useTeachingPopoverCarouselFooter_unstable` and `useTeachingPopoverCarouselFooterStyles_unstable`
|
|
9
9
|
* hooks.
|
|
@@ -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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yCAAyC,QAAQ,
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,yCAAyC,QAAQ,wCAAqC;AAC/F,SAASC,4CAA4C,QAAQ,2CAAwC;AACrG,SAASC,+CAA+C,QAAQ,qDAAkD;AAGlH,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;;;;CAKC,GACD,OAAO,MAAMC,8CAAyFL,MAAMM,UAAU,CACpH,CAACC,OAAOC;IACN,MAAMC,QAAQR,0CAA0CM,OAAOC;IAE/DL,gDAAgDM;IAEhDL,4BAA4B,mDAAmDK;IAE/E,OAAOP,6CAA6CO;AACtD,GACA;AAEFJ,8BAA8BK,WAAW,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TeachingPopoverCarouselFooter } from
|
|
2
|
-
export { renderTeachingPopoverCarouselFooter_unstable } from
|
|
3
|
-
export { useTeachingPopoverCarouselFooter_unstable } from
|
|
4
|
-
export { teachingPopoverCarouselFooterClassNames, useTeachingPopoverCarouselFooterStyles_unstable } from
|
|
1
|
+
export { TeachingPopoverCarouselFooter } from "./TeachingPopoverCarouselFooter.js";
|
|
2
|
+
export { renderTeachingPopoverCarouselFooter_unstable } from "./renderTeachingPopoverCarouselFooter.js";
|
|
3
|
+
export { useTeachingPopoverCarouselFooter_unstable } from "./useTeachingPopoverCarouselFooter.js";
|
|
4
|
+
export { teachingPopoverCarouselFooterClassNames, useTeachingPopoverCarouselFooterStyles_unstable } from "./useTeachingPopoverCarouselFooterStyles.styles.js";
|
|
@@ -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":"AAAA,SAASA,6BAA6B,QAAQ,
|
|
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":"AAAA,SAASA,6BAA6B,QAAQ,qCAAkC;AAQhF,SAASC,4CAA4C,QAAQ,2CAAwC;AACrG,SAASC,yCAAyC,QAAQ,wCAAqC;AAC/F,SACEC,uCAAuC,EACvCC,+CAA+C,QAC1C,qDAAkD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { assertSlots } from
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
3
|
/**
|
|
4
4
|
* Render the final JSX of TeachingPopoverCarouselFooter
|
|
5
5
|
*/ export const renderTeachingPopoverCarouselFooter_unstable = (state)=>{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getIntrinsicElementProps, slot } from
|
|
2
|
-
import { TeachingPopoverCarouselFooterButton } from
|
|
1
|
+
import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
|
|
2
|
+
import { TeachingPopoverCarouselFooterButton } from "../TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js";
|
|
3
3
|
export const useTeachingPopoverCarouselFooter_unstable = (props, ref)=>{
|
|
4
4
|
const { layout = 'centered', initialStepText, finalStepText } = props;
|
|
5
5
|
const previous = slot.optional(props.previous, {
|
package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js.map
CHANGED
|
@@ -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":"AAAA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAO3E,SAASC,mCAAmC,QAAQ,
|
|
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":"AAAA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAO3E,SAASC,mCAAmC,QAAQ,gFAA6E;AAEjI,OAAO,MAAMC,4CAA4C,CACvDC,OACAC;IAEA,MAAM,EAAEC,SAAS,UAAU,EAAEC,eAAe,EAAEC,aAAa,EAAE,GAAGJ;IAEhE,MAAMK,WAAWR,KAAKS,QAAQ,CAACN,MAAMK,QAAQ,EAAE;QAC7CE,cAAc;YACZC,SAAS;YACTC,SAASN;QACX;QACAO,iBAAiB;QACjBC,aAAab;IACf;IAEA,MAAMc,OAAOf,KAAKgB,MAAM,CAACb,MAAMY,IAAI,EAAE;QACnCL,cAAc;YACZC,SAAS;YACTC,SAASL;QACX;QACAO,aAAab;IACf;IAEA,OAAO;QACLI;QACAY,YAAY;YACVC,MAAM;YACNH,MAAMd;YACNO,UAAUP;QACZ;QACAiB,MAAMlB,KAAKgB,MAAM,CACfjB,yBAAyB,OAAO;YAC9BK;YACA,GAAGD,KAAK;QACV,IACA;YAAEW,aAAa;QAAM;QAEvBN;QACAO;IACF;AACF,EAAE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { __styles, mergeClasses } from
|
|
3
|
+
import { __styles, mergeClasses } from "@griffel/react";
|
|
4
4
|
export const teachingPopoverCarouselFooterClassNames = {
|
|
5
5
|
root: 'fui-TeachingPopoverCarouselFooter',
|
|
6
6
|
previous: 'fui-TeachingPopoverCarouselFooter__previous',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"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"],"sources":["useTeachingPopoverCarouselFooterStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from
|
|
1
|
+
{"version":3,"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"],"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"],"mappings":"AAAA,YAAY;;AACZ,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,OAAO,MAAMC,uCAAuC,GAAG;EACnDC,IAAI,EAAE,mCAAmC;EACzCC,QAAQ,EAAE,6CAA6C;EACvDC,IAAI,EAAE;AACV,CAAC;AACD;AACA,MAAMC,SAAS,gBAAGN,QAAA;EAAAG,IAAA;IAAAI,MAAA;IAAAC,OAAA;EAAA;EAAAC,YAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,gBAAA;IAAAH,MAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAE,OAAA;EAAA;AAAA;EAAAC,CAAA;IAAAC,CAAA;EAAA;IAAAA,CAAA;EAAA;AAAA,CAejB,CAAC;AACF;AAAyC,OAAO,MAAMC,+CAA+C,GAAIC,KAAK,IAAG;EAC7G,MAAMC,MAAM,GAAGd,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEe;EAAO,CAAC,GAAGF,KAAK;EACxB;EACAA,KAAK,CAAChB,IAAI,CAACmB,SAAS,GAAGrB,YAAY,CAACC,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;EAC3L,IAAIH,KAAK,CAACf,QAAQ,EAAE;IAChB;IACAe,KAAK,CAACf,QAAQ,CAACkB,SAAS,GAAGrB,YAAY,CAACC,uCAAuC,CAACE,QAAQ,EAAEe,KAAK,CAACf,QAAQ,CAACkB,SAAS,CAAC;EACvH;EACA;EACAH,KAAK,CAACd,IAAI,CAACiB,SAAS,GAAGrB,YAAY,CAACC,uCAAuC,CAACG,IAAI,EAAEc,KAAK,CAACd,IAAI,CAACiB,SAAS,CAAC;EACvG,OAAOH,KAAK;AAChB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { makeStyles, mergeClasses } from
|
|
2
|
+
import { makeStyles, mergeClasses } from "@griffel/react";
|
|
3
3
|
export const teachingPopoverCarouselFooterClassNames = {
|
|
4
4
|
root: 'fui-TeachingPopoverCarouselFooter',
|
|
5
5
|
previous: 'fui-TeachingPopoverCarouselFooter__previous',
|
package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { useTeachingPopoverCarouselFooterButton_unstable } from
|
|
4
|
-
import { renderTeachingPopoverCarouselFooterButton_unstable } from
|
|
5
|
-
import { useTeachingPopoverCarouselFooterButtonStyles_unstable } from
|
|
6
|
-
import { useCustomStyleHook_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useTeachingPopoverCarouselFooterButton_unstable } from "./useTeachingPopoverCarouselFooterButton.js";
|
|
4
|
+
import { renderTeachingPopoverCarouselFooterButton_unstable } from "./renderTeachingPopoverCarouselFooterButton.js";
|
|
5
|
+
import { useTeachingPopoverCarouselFooterButtonStyles_unstable } from "./useTeachingPopoverCarouselFooterButtonStyles.styles.js";
|
|
6
|
+
import { useCustomStyleHook_unstable } from "@fluentui/react-shared-contexts";
|
|
7
7
|
/**
|
|
8
8
|
* TeachingPopoverCarouselFooterButton component
|
|
9
9
|
*
|
|
@@ -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;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,+CAA+C,QAAQ,
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAE/B,SAASC,+CAA+C,QAAQ,8CAA2C;AAC3G,SAASC,kDAAkD,QAAQ,iDAA8C;AACjH,SAASC,qDAAqD,QAAQ,2DAAwD;AAE9H,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;;;;CAKC,GACD,OAAO,MAAMC,oDACXL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,QAAQR,gDAAgDM,OAAOC;IAErEL,sDAAsDM;IAEtDL,4BAA4B,yDAAyDK;IAErF,OAAOP,mDAAmDO;AAC5D,GAAG;AAELJ,oCAAoCK,WAAW,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TeachingPopoverCarouselFooterButton } from
|
|
2
|
-
export { renderTeachingPopoverCarouselFooterButton_unstable } from
|
|
3
|
-
export { useTeachingPopoverCarouselFooterButton_unstable, useTeachingPopoverCarouselFooterButtonBase_unstable } from
|
|
4
|
-
export { teachingPopoverCarouselFooterButtonClassNames, useTeachingPopoverCarouselFooterButtonStyles_unstable } from
|
|
1
|
+
export { TeachingPopoverCarouselFooterButton } from "./TeachingPopoverCarouselFooterButton.js";
|
|
2
|
+
export { renderTeachingPopoverCarouselFooterButton_unstable } from "./renderTeachingPopoverCarouselFooterButton.js";
|
|
3
|
+
export { useTeachingPopoverCarouselFooterButton_unstable, useTeachingPopoverCarouselFooterButtonBase_unstable } from "./useTeachingPopoverCarouselFooterButton.js";
|
|
4
|
+
export { teachingPopoverCarouselFooterButtonClassNames, useTeachingPopoverCarouselFooterButtonStyles_unstable } from "./useTeachingPopoverCarouselFooterButtonStyles.styles.js";
|
|
@@ -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":"AAAA,SAASA,mCAAmC,QAAQ,
|
|
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":"AAAA,SAASA,mCAAmC,QAAQ,2CAAwC;AAQ5F,SAASC,kDAAkD,QAAQ,iDAA8C;AACjH,SACEC,+CAA+C,EAC/CC,mDAAmD,QAC9C,8CAA2C;AAClD,SACEC,6CAA6C,EAC7CC,qDAAqD,QAChD,2DAAwD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { assertSlots } from
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
3
|
/**
|
|
4
4
|
* Render the final JSX of TeachingPopoverCarouselFooterButton
|
|
5
5
|
*/ export const renderTeachingPopoverCarouselFooterButton_unstable = (state)=>{
|
package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import * as React from
|
|
3
|
-
import { getIntrinsicElementProps, mergeCallbacks, slot } from
|
|
4
|
-
import { usePopoverContext_unstable } from
|
|
5
|
-
import { useCarouselContext_unstable } from
|
|
6
|
-
import { useEventCallback } from
|
|
7
|
-
import { useButton_unstable } from
|
|
8
|
-
import { useCarouselValues_unstable } from
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { getIntrinsicElementProps, mergeCallbacks, slot } from "@fluentui/react-utilities";
|
|
4
|
+
import { usePopoverContext_unstable } from "@fluentui/react-popover";
|
|
5
|
+
import { useCarouselContext_unstable } from "../TeachingPopoverCarousel/Carousel/CarouselContext.js";
|
|
6
|
+
import { useEventCallback } from "@fluentui/react-utilities";
|
|
7
|
+
import { useButton_unstable } from "@fluentui/react-button";
|
|
8
|
+
import { useCarouselValues_unstable } from "../TeachingPopoverCarousel/Carousel/useCarouselValues.js";
|
|
9
9
|
/**
|
|
10
10
|
* Base hook that builds TeachingPopoverCarouselFooterButton state for behavior and structure only.
|
|
11
11
|
* Does not read `appearance` from the popover context, does not derive the button's
|
|
@@ -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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,cAAc,EAAEC,IAAI,QAAQ,4BAA4B;AAO3F,SAASC,0BAA0B,QAAQ,0BAA0B;AACrE,SAASC,2BAA2B,QAAQ,
|
|
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;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,cAAc,EAAEC,IAAI,QAAQ,4BAA4B;AAO3F,SAASC,0BAA0B,QAAQ,0BAA0B;AACrE,SAASC,2BAA2B,QAAQ,yDAAsD;AAClG,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,kBAAkB,QAAQ,yBAAyB;AAC5D,SAASC,0BAA0B,QAAQ,2DAAwD;AAEnG;;;;;;;CAOC,GACD,OAAO,MAAMC,sDAAsD,CACjEC,OACAC;IAEA,MAAM,EAAEC,OAAO,EAAEC,OAAO,EAAE,GAAGH;IAE7B,MAAMI,wBAAwBT,4BAA4BU,CAAAA,IAAKA,EAAED,qBAAqB;IACtF,MAAME,SAASR,2BAA2BS,CAAAA,WAAYA;IACtD,MAAMC,cAAcb,4BAA4BU,CAAAA,IAAKA,EAAEI,KAAK;IAE5D,MAAMC,cAAc,CAACC;QACnB,IAAIA,MAAMC,kBAAkB,IAAI;YAC9B;QACF;QAEAR,sBAAsBO,OAAOT;IAC/B;IAEA,MAAMW,oBAAoBjB,iBAAiBJ,eAAekB,aAAaV,MAAMc,OAAO;IAEpF,MAAMC,aAAazB,MAAM0B,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,KAAK8B,MAAM,CACfhC,yBAAyB,UAAU;YACjCU;YACA,GAAGD,KAAK;YACRc,SAASD;YACTO,UAAUD;QACZ,IACA;YAAEK,aAAa;QAAS;IAE5B;AACF,EAAE;AAEF;;;;;;;;CAQC,GACD,OAAO,MAAMC,kDAAkD,CAC7DzB,OACAC;IAEA,MAAMyB,YAAY3B,oDAAoDC,OAAOC;IAC7E,MAAM0B,oBAAoBjC,2BAA2BkC,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,mBAAmB;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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { __styles, mergeClasses, shorthands } from
|
|
4
|
-
import { tokens } from
|
|
5
|
-
import { useButtonStyles_unstable } from
|
|
3
|
+
import { __styles, mergeClasses, shorthands } from "@griffel/react";
|
|
4
|
+
import { tokens } from "@fluentui/react-theme";
|
|
5
|
+
import { useButtonStyles_unstable } from "@fluentui/react-button";
|
|
6
6
|
export const teachingPopoverCarouselFooterButtonClassNames = {
|
|
7
7
|
root: 'fui-TeachingPopoverCarouselFooterButton'
|
|
8
8
|
};
|