@fluentui/react-teaching-popover 9.7.8 → 9.7.9
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 +11 -2
- package/lib/components/TeachingPopover/TeachingPopover.js.map +1 -1
- package/lib/components/TeachingPopover/TeachingPopover.types.js.map +1 -1
- package/lib/components/TeachingPopover/index.js.map +1 -1
- package/lib/components/TeachingPopover/renderTeachingPopover.js.map +1 -1
- package/lib/components/TeachingPopover/useTeachingPopover.js +1 -1
- package/lib/components/TeachingPopover/useTeachingPopover.js.map +1 -1
- package/lib/components/TeachingPopover/useTeachingPopoverContextValues.js.map +1 -1
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.js.map +1 -1
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.types.js.map +1 -1
- package/lib/components/TeachingPopoverBody/index.js.map +1 -1
- package/lib/components/TeachingPopoverBody/renderTeachingPopoverBody.js.map +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBody.js.map +1 -1
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js +2 -2
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselContext.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js +2 -2
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/constants.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/createCarouselStore.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.js.map +1 -1
- 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.map +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js.map +1 -1
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js +2 -2
- package/lib/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNav/valueIdContext.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js +2 -2
- package/lib/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/index.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js +2 -2
- package/lib/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js.map +1 -1
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.types.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/index.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooter.js +1 -1
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooter.js.map +1 -1
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.types.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/index.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeader.js.map +1 -1
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.types.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/index.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurface.js.map +1 -1
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.types.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/index.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitle.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleBase.js.map +1 -1
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/index.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.js.map +1 -1
- package/lib/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js.map +1 -1
- package/lib-commonjs/TeachingPopover.cjs +5 -5
- package/lib-commonjs/TeachingPopoverBody.cjs +7 -7
- package/lib-commonjs/TeachingPopoverCarousel.cjs +8 -8
- package/lib-commonjs/TeachingPopoverCarouselCard.cjs +6 -6
- package/lib-commonjs/TeachingPopoverCarouselFooter.cjs +6 -6
- package/lib-commonjs/TeachingPopoverCarouselFooterButton.cjs +7 -7
- package/lib-commonjs/TeachingPopoverCarouselNav.cjs +7 -7
- package/lib-commonjs/TeachingPopoverCarouselNavButton.cjs +7 -7
- package/lib-commonjs/TeachingPopoverCarouselPageCount.cjs +6 -6
- package/lib-commonjs/TeachingPopoverFooter.cjs +7 -7
- package/lib-commonjs/TeachingPopoverHeader.cjs +7 -7
- package/lib-commonjs/TeachingPopoverSurface.cjs +6 -6
- package/lib-commonjs/TeachingPopoverTitle.cjs +7 -7
- package/lib-commonjs/TeachingPopoverTrigger.cjs +4 -4
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopover/index.cjs +5 -5
- package/lib-commonjs/components/TeachingPopover/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopover/renderTeachingPopover.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopover/useTeachingPopover.cjs +1 -1
- package/lib-commonjs/components/TeachingPopover/useTeachingPopover.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopover/useTeachingPopoverContextValues.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverBody/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/renderTeachingPopoverBody.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBody.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.cjs +2 -2
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselContext.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselContext.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/constants.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/constants.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/createCarouselStore.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselValues.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/index.cjs +8 -8
- package/lib-commonjs/components/TeachingPopoverCarousel/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/index.cjs +6 -6
- package/lib-commonjs/components/TeachingPopoverCarouselCard/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/index.cjs +6 -6
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverCarouselNav/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNav/valueIdContext.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverCarouselNav/valueIdContext.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/index.cjs +6 -6
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.cjs +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverFooter/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/renderTeachingPopoverFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooter.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooter.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverHeader/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/renderTeachingPopoverHeader.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeader.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeader.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/index.cjs +6 -6
- package/lib-commonjs/components/TeachingPopoverSurface/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/renderTeachingPopoverSurface.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurface.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/index.cjs +7 -7
- package/lib-commonjs/components/TeachingPopoverTitle/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/renderTeachingPopoverTitle.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitle.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleBase.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/index.cjs +4 -4
- package/lib-commonjs/components/TeachingPopoverTrigger/index.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.cjs.map +1 -1
- package/lib-commonjs/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.cjs.map +1 -1
- package/lib-commonjs/index.cjs +75 -75
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
teachingPopoverCarouselNavClassNames
|
|
13
|
+
get teachingPopoverCarouselNavClassNames () {
|
|
14
14
|
return teachingPopoverCarouselNavClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselNavStyles_unstable
|
|
16
|
+
get useTeachingPopoverCarouselNavStyles_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselNavStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type {\n TeachingPopoverCarouselNavSlots,\n TeachingPopoverCarouselNavState,\n} from './TeachingPopoverCarouselNav.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\n\nexport const teachingPopoverCarouselNavClassNames: SlotClassNames<TeachingPopoverCarouselNavSlots> = {\n root: 'fui-TeachingPopoverCarouselNav',\n};\n\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n columnGap: tokens.spacingHorizontalXS,\n alignItems: 'center',\n justifyContent: 'center',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n },\n});\n\n/** Applies style classnames to slots */\nexport const useTeachingPopoverCarouselNavStyles_unstable = (\n state: TeachingPopoverCarouselNavState,\n): TeachingPopoverCarouselNavState => {\n const styles = useStyles();\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselNavClassNames.root, styles.root, state.root.className);\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","shorthands","createCustomFocusIndicatorStyle","tokens","teachingPopoverCarouselNavClassNames","root","useStyles","display","flexDirection","columnGap","spacingHorizontalXS","alignItems","justifyContent","outline","strokeWidthThick","colorStrokeFocus2","borderRadius","borderRadiusMedium","borderColor","useTeachingPopoverCarouselNavStyles_unstable","state","styles","className"],"mappings":"AAAA;;;;;;;;;;;;QAWaK;;;QAoBAe;;;;uBA7BwC,iBAAiB;8BAMtB,0BAA0B;4BACnD,wBAAwB;AAExC,6CAA8F;IACnGd,MAAM;AACR,EAAE;AAEF,MAAMC,gBAAYP,iBAAAA,EAAW;IAC3BM,MAAM;QACJE,SAAS;QACTC,eAAe;QACfC,WAAWN,kBAAAA,CAAOO,mBAAmB;QACrCC,YAAY;QACZC,gBAAgB;QAChB,OAAGV,6CAAAA,EAAgC;YACjCW,SAAS,GAAGV,kBAAAA,CAAOW,gBAAgB,CAAC,OAAO,EAAEX,kBAAAA,CAAOY,iBAAiB,EAAE;YACvEC,cAAcb,kBAAAA,CAAOc,kBAAkB;YACvC,GAAGhB,iBAAAA,CAAWiB,WAAW,CAAC,cAAc;QAC1C,EAAE;IACJ;AACF;AAGO,qDAAqD,CAC1DE;IAEA,MAAMC,SAASf;IAEf,oDAAoD;IACpDc,MAAMf,IAAI,CAACiB,SAAS,OAAGtB,mBAAAA,EAAaI,qCAAqCC,IAAI,EAAEgB,OAAOhB,IAAI,EAAEe,MAAMf,IAAI,CAACiB,SAAS;IAEhH,OAAOF;AACT,EAAE"}
|
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
ValueIdContextProvider
|
|
13
|
+
get ValueIdContextProvider () {
|
|
14
14
|
return ValueIdContextProvider;
|
|
15
15
|
},
|
|
16
|
-
useValueIdContext
|
|
16
|
+
get useValueIdContext () {
|
|
17
17
|
return useValueIdContext;
|
|
18
18
|
},
|
|
19
|
-
valueIdContextDefaultValue
|
|
19
|
+
get valueIdContextDefaultValue () {
|
|
20
20
|
return valueIdContextDefaultValue;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNav/valueIdContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nconst valueIdContext = React.createContext<string | undefined>(undefined);\n\nexport const valueIdContextDefaultValue = '';\n\nexport const useValueIdContext = (): string => React.useContext(valueIdContext) ?? valueIdContextDefaultValue;\n\nexport const ValueIdContextProvider = valueIdContext.Provider;\n"],"names":["React","valueIdContext","createContext","undefined","valueIdContextDefaultValue","useValueIdContext","useContext","ValueIdContextProvider","Provider"],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;iEAEuB,QAAQ;AAE/B,MAAMC,+BAAiBD,OAAME,aAAa,CAAqBC;AAExD,MAAMC,6BAA6B,GAAG;AAEtC,MAAMC,oBAAoB;QAAcL;YAAAA,oBAAAA,OAAMM,UAAU,CAACL,eAAAA,MAAAA,QAAjBD,sBAAAA,KAAAA,IAAAA,oBAAoCI;EAA2B;AAEvG,MAAMG,yBAAyBN,eAAeO,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselNavButton_unstable } from './useTeachingPopoverCarouselNavButton';\nimport { renderTeachingPopoverCarouselNavButton_unstable } from './renderTeachingPopoverCarouselNavButton';\nimport { useTeachingPopoverCarouselNavButtonStyles_unstable } from './useTeachingPopoverCarouselNavButtonStyles.styles';\nimport type { TeachingPopoverCarouselNavButtonProps } from './TeachingPopoverCarouselNavButton.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TeachingPopoverCarouselNavButton is a button to jump to a single page within TeachingPopoverCarousel\n *\n * It's value is injected via context and must be wrapped with a ValueIdContextProvider (automatically handled via TeachingPopoverCarouselNav)\n */\nexport const TeachingPopoverCarouselNavButton: ForwardRefComponent<TeachingPopoverCarouselNavButtonProps> =\n React.forwardRef((props, ref) => {\n const state = useTeachingPopoverCarouselNavButton_unstable(props, ref);\n\n useTeachingPopoverCarouselNavButtonStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselNavButtonStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselNavButton_unstable(state);\n }) as ForwardRefComponent<TeachingPopoverCarouselNavButtonProps>;\n\nTeachingPopoverCarouselNavButton.displayName = 'TeachingPopoverCarouselNavButton';\n"],"names":["React","useTeachingPopoverCarouselNavButton_unstable","renderTeachingPopoverCarouselNavButton_unstable","useTeachingPopoverCarouselNavButtonStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselNavButton","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;qDAE8B,2CAAwC;wDACrC,8CAA2C;iEACxC,wDAAqD;qCAE5E,kCAAkC;AAOvE,MAAMK,mCAAAA,WAAAA,GACXL,OAAMM,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,YAAQR,iFAAAA,EAA6CM,OAAOC;QAElEL,mGAAAA,EAAmDM;QAEnDL,gDAAAA,EAA4B,sDAAsDK;IAElF,WAAOP,uFAAAA,EAAgDO;AACzD,GAAiE;AAEnEJ,iCAAiCK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.ts"],"sourcesContent":["import type { ARIAButtonSlotProps } from '@fluentui/react-aria';\nimport type { PopoverContextValue } from '@fluentui/react-popover';\nimport type { ComponentState, ComponentProps, Slot } from '@fluentui/react-utilities';\n\nexport type TeachingPopoverCarouselNavButtonSlots = {\n /**\n * ARIA compliant nav buttons used to jump to pages\n */\n root: NonNullable<Slot<ARIAButtonSlotProps<'a'>>>;\n};\n\n/**\n * TeachingPopoverCarouselNavButton Props\n */\nexport type TeachingPopoverCarouselNavButtonProps = ComponentProps<TeachingPopoverCarouselNavButtonSlots>;\n\n/**\n * TeachingPopoverCarouselNavButton State\n */\nexport type TeachingPopoverCarouselNavButtonState = ComponentState<TeachingPopoverCarouselNavButtonSlots> & {\n /**\n * Enables selection state control\n */\n isSelected?: boolean;\n} & Pick<PopoverContextValue, 'appearance'>;\n\nexport type TeachingPopoverCarouselNavButtonBaseProps = TeachingPopoverCarouselNavButtonProps;\n\nexport type TeachingPopoverCarouselNavButtonBaseState = Omit<TeachingPopoverCarouselNavButtonState, 'appearance'>;\n"],"names":[],"mappings":""}
|
|
@@ -5,26 +5,26 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
TeachingPopoverCarouselNavButton
|
|
12
|
+
get TeachingPopoverCarouselNavButton () {
|
|
13
13
|
return _TeachingPopoverCarouselNavButton.TeachingPopoverCarouselNavButton;
|
|
14
14
|
},
|
|
15
|
-
renderTeachingPopoverCarouselNavButton_unstable
|
|
15
|
+
get renderTeachingPopoverCarouselNavButton_unstable () {
|
|
16
16
|
return _renderTeachingPopoverCarouselNavButton.renderTeachingPopoverCarouselNavButton_unstable;
|
|
17
17
|
},
|
|
18
|
-
teachingPopoverCarouselNavButtonClassNames
|
|
18
|
+
get teachingPopoverCarouselNavButtonClassNames () {
|
|
19
19
|
return _useTeachingPopoverCarouselNavButtonStylesstyles.teachingPopoverCarouselNavButtonClassNames;
|
|
20
20
|
},
|
|
21
|
-
useTeachingPopoverCarouselNavButtonBase_unstable
|
|
21
|
+
get useTeachingPopoverCarouselNavButtonBase_unstable () {
|
|
22
22
|
return _useTeachingPopoverCarouselNavButton.useTeachingPopoverCarouselNavButtonBase_unstable;
|
|
23
23
|
},
|
|
24
|
-
useTeachingPopoverCarouselNavButtonStyles_unstable
|
|
24
|
+
get useTeachingPopoverCarouselNavButtonStyles_unstable () {
|
|
25
25
|
return _useTeachingPopoverCarouselNavButtonStylesstyles.useTeachingPopoverCarouselNavButtonStyles_unstable;
|
|
26
26
|
},
|
|
27
|
-
useTeachingPopoverCarouselNavButton_unstable
|
|
27
|
+
get useTeachingPopoverCarouselNavButton_unstable () {
|
|
28
28
|
return _useTeachingPopoverCarouselNavButton.useTeachingPopoverCarouselNavButton_unstable;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselNavButton } from './TeachingPopoverCarouselNavButton';\nexport type {\n TeachingPopoverCarouselNavButtonBaseProps,\n TeachingPopoverCarouselNavButtonBaseState,\n TeachingPopoverCarouselNavButtonProps,\n TeachingPopoverCarouselNavButtonSlots,\n TeachingPopoverCarouselNavButtonState,\n} from './TeachingPopoverCarouselNavButton.types';\nexport { renderTeachingPopoverCarouselNavButton_unstable } from './renderTeachingPopoverCarouselNavButton';\nexport {\n useTeachingPopoverCarouselNavButton_unstable,\n useTeachingPopoverCarouselNavButtonBase_unstable,\n} from './useTeachingPopoverCarouselNavButton';\nexport {\n teachingPopoverCarouselNavButtonClassNames,\n useTeachingPopoverCarouselNavButtonStyles_unstable,\n} from './useTeachingPopoverCarouselNavButtonStyles.styles';\n"],"names":["TeachingPopoverCarouselNavButton","renderTeachingPopoverCarouselNavButton_unstable","useTeachingPopoverCarouselNavButton_unstable","useTeachingPopoverCarouselNavButtonBase_unstable","teachingPopoverCarouselNavButtonClassNames","useTeachingPopoverCarouselNavButtonStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,kEAAgC;;;eAQhCC,uFAA+C;;;eAMtDG,2FAA0C;;;eAH1CD,qFAAgD;;;eAIhDE,mGAAkD;;;eALlDH,iFAA4C;;;kDAVG,wCAAqC;wDAQtB,8CAA2C;qDAIpG,2CAAwC;iEAIxC,wDAAqD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.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 TeachingPopoverCarouselNavButtonState,\n TeachingPopoverCarouselNavButtonSlots,\n} from './TeachingPopoverCarouselNavButton.types';\n\n/**\n * Render the final JSX of TeachingPopoverCarouselNavButton\n */\nexport const renderTeachingPopoverCarouselNavButton_unstable = (\n state: TeachingPopoverCarouselNavButtonState,\n): JSXElement => {\n assertSlots<TeachingPopoverCarouselNavButtonSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderTeachingPopoverCarouselNavButton_unstable","state","root"],"mappings":";;;;;;;;;;;gCACA,gDAAiD,GAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAUjD,MAAMC,kDAAkD,CAC7DC;QAEAF,2BAAAA,EAAmDE;IAEnD,OAAA,WAAA,OAAO,eAAA,EAACA,MAAMC,IAAI,EAAA,CAAA;AACpB,EAAE"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
useTeachingPopoverCarouselNavButtonBase_unstable
|
|
13
|
+
get useTeachingPopoverCarouselNavButtonBase_unstable () {
|
|
14
14
|
return useTeachingPopoverCarouselNavButtonBase_unstable;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselNavButton_unstable
|
|
16
|
+
get useTeachingPopoverCarouselNavButton_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselNavButton_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport type { ARIAButtonSlotProps } from '@fluentui/react-aria';\nimport { useARIAButtonProps } from '@fluentui/react-aria';\nimport { usePopoverContext_unstable } from '@fluentui/react-popover';\nimport { useTabsterAttributes } from '@fluentui/react-tabster';\nimport { getIntrinsicElementProps, isHTMLElement, slot, useEventCallback } from '@fluentui/react-utilities';\n\nimport type {\n TeachingPopoverCarouselNavButtonBaseProps,\n TeachingPopoverCarouselNavButtonBaseState,\n TeachingPopoverCarouselNavButtonProps,\n TeachingPopoverCarouselNavButtonState,\n} from './TeachingPopoverCarouselNavButton.types';\nimport { useCarouselContext_unstable } from '../TeachingPopoverCarousel/Carousel/CarouselContext';\nimport { useValueIdContext } from '../TeachingPopoverCarouselNav/valueIdContext';\n\n/**\n * Base hook that builds TeachingPopoverCarouselNavButton state for behavior and structure only.\n * Does not call `useTabsterAttributes` and does not read `appearance` from popover context.\n * @param props - props from this instance of TeachingPopoverCarouselNavButton\n * @param ref - reference to root HTMLElement of TeachingPopoverCarouselNavButton\n */\nexport const useTeachingPopoverCarouselNavButtonBase_unstable = (\n props: TeachingPopoverCarouselNavButtonBaseProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselNavButtonBaseState => {\n const { onClick, as = 'a' } = props;\n\n const value = useValueIdContext();\n\n const selectPageByValue = useCarouselContext_unstable(c => c.selectPageByValue);\n const isSelected = useCarouselContext_unstable(c => c.value === value);\n\n const handleClick: ARIAButtonSlotProps<'a'>['onClick'] = useEventCallback(event => {\n onClick?.(event);\n\n if (!event.defaultPrevented && isHTMLElement(event.target)) {\n selectPageByValue(event, value);\n }\n });\n\n const _carouselButton = slot.always<ARIAButtonSlotProps<'a'>>(\n getIntrinsicElementProps(as, useARIAButtonProps(props.as, props)),\n {\n elementType: 'button',\n defaultProps: {\n ref: ref as React.Ref<HTMLButtonElement & HTMLAnchorElement>,\n role: 'tab',\n type: 'button',\n 'aria-selected': `${!!isSelected}`,\n },\n },\n );\n\n _carouselButton.onClick = handleClick;\n\n return {\n isSelected,\n components: {\n root: 'button',\n },\n root: _carouselButton,\n };\n};\n\n/**\n * Create the state required to render TeachingPopoverCarouselNavButton.\n *\n * The returned state can be modified with hooks such as useTeachingPopoverCarouselNavButtonStyles_unstable,\n * before being passed to renderTeachingPopoverCarouselNavButton_unstable.\n *\n * @param props - props from this instance of TeachingPopoverCarouselNavButton\n * @param ref - reference to root HTMLElement of TeachingPopoverCarouselNavButton\n */\nexport const useTeachingPopoverCarouselNavButton_unstable = (\n props: TeachingPopoverCarouselNavButtonProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): TeachingPopoverCarouselNavButtonState => {\n const baseState = useTeachingPopoverCarouselNavButtonBase_unstable(props, ref);\n const appearance = usePopoverContext_unstable(context => context.appearance);\n\n const defaultTabProps = useTabsterAttributes({\n focusable: { isDefault: baseState.isSelected },\n });\n\n return {\n ...baseState,\n // tabster attrs act as defaults: base's root keys win over them, matching the\n // previous `defaultProps` merging behavior in slot.always.\n root: {\n ...defaultTabProps,\n ...baseState.root,\n },\n appearance,\n };\n};\n"],"names":["useARIAButtonProps","usePopoverContext_unstable","useTabsterAttributes","getIntrinsicElementProps","isHTMLElement","slot","useEventCallback","useCarouselContext_unstable","useValueIdContext","useTeachingPopoverCarouselNavButtonBase_unstable","props","ref","onClick","as","value","selectPageByValue","c","isSelected","handleClick","event","defaultPrevented","target","_carouselButton","always","elementType","defaultProps","role","type","components","root","useTeachingPopoverCarouselNavButton_unstable","baseState","appearance","context","defaultTabProps","focusable","isDefault"],"mappings":"AAAA;;;;;;;;;;;;QAwBaS;;;QAoDAqB;;;;2BAxEsB,uBAAuB;8BACf,0BAA0B;8BAChC,0BAA0B;gCACiB,4BAA4B;iCAQhE,yDAAsD;gCAChE,kDAA+C;AAQ1E,yDAAy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ineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
teachingPopoverCarouselNavButtonClassNames
|
|
13
|
+
get teachingPopoverCarouselNavButtonClassNames () {
|
|
14
14
|
return teachingPopoverCarouselNavButtonClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselNavButtonStyles_unstable
|
|
16
|
+
get useTeachingPopoverCarouselNavButtonStyles_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselNavButtonStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useTeachingPopoverCarouselNavButtonStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses, shorthands } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { createCustomFocusIndicatorStyle } from \"@fluentui/react-tabster\";\nexport const teachingPopoverCarouselNavButtonClassNames = {\n root: 'fui-TeachingPopoverCarouselNavButton'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n cursor: 'pointer',\n boxSizing: 'border-box',\n height: '8px',\n width: '8px',\n backgroundColor: tokens.colorBrandBackground\n },\n rootUnselected: {\n border: 'none',\n borderRadius: '50%',\n padding: '0px',\n outline: `${tokens.strokeWidthThin} solid transparent`,\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent')\n }),\n backgroundColor: `color-mix(in srgb, ${tokens.colorBrandBackground} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground\n }\n },\n rootSelected: {\n outline: `${tokens.strokeWidthThin} solid transparent`,\n width: '16px',\n border: 'none',\n borderRadius: '4px',\n padding: '0px',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent')\n }),\n '@media (forced-colors: active)': {\n backgroundColor: 'CanvasText'\n }\n },\n rootBrand: {\n backgroundColor: tokens.colorNeutralForegroundOnBrand\n },\n rootBrandUnselected: {\n backgroundColor: `color-mix(in srgb, ${tokens.colorNeutralForegroundOnBrand} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground\n }\n }\n});\n/**\n * Apply styling to the TeachingPopoverCarouselNavButton slots based on the state\n */ export const useTeachingPopoverCarouselNavButtonStyles_unstable = (state)=>{\n const styles = useStyles();\n const { appearance, isSelected } = state;\n const brandStyles = isSelected ? styles.rootBrand : styles.rootBrandUnselected;\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselNavButtonClassNames.root, styles.root, isSelected ? styles.rootSelected : styles.rootUnselected, appearance === 'brand' && brandStyles, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","shorthands","tokens","createCustomFocusIndicatorStyle","teachingPopoverCarouselNavButtonClassNames","root","useStyles","mc9l5x","Bceei9c","B7ck84d","Bqenvij","a9b677","De3pzq","rootUnselected","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","Bw0xxkn","oeaueh","Bpd4iqm","Befb4lg","Bfpq7zp","g9k6zt","Bn4voq9","giviqs","Bw81rd7","kdpuga","dm238s","B6xbmo0","B3whbx2","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","o2ey54","C3llkk","rootSelected","By8wz76","rootBrand","rootBrandUnselected","d","p","t","m","useTeachingPopoverCarouselNavButtonStyles_unstable","state","styles","appearance","isSelected","brandStyles","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselNavButtonStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses, shorthands } from \"@griffel/react\";\nimport { tokens } from \"@fluentui/react-theme\";\nimport { createCustomFocusIndicatorStyle } from \"@fluentui/react-tabster\";\nexport const teachingPopoverCarouselNavButtonClassNames = {\n root: 'fui-TeachingPopoverCarouselNavButton'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n cursor: 'pointer',\n boxSizing: 'border-box',\n height: '8px',\n width: '8px',\n backgroundColor: tokens.colorBrandBackground\n },\n rootUnselected: {\n border: 'none',\n borderRadius: '50%',\n padding: '0px',\n outline: `${tokens.strokeWidthThin} solid transparent`,\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent')\n }),\n backgroundColor: `color-mix(in srgb, ${tokens.colorBrandBackground} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground\n }\n },\n rootSelected: {\n outline: `${tokens.strokeWidthThin} solid transparent`,\n width: '16px',\n border: 'none',\n borderRadius: '4px',\n padding: '0px',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent')\n }),\n '@media (forced-colors: active)': {\n backgroundColor: 'CanvasText'\n }\n },\n rootBrand: {\n backgroundColor: tokens.colorNeutralForegroundOnBrand\n },\n rootBrandUnselected: {\n backgroundColor: `color-mix(in srgb, ${tokens.colorNeutralForegroundOnBrand} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground\n }\n }\n});\n/**\n * Apply styling to the TeachingPopoverCarouselNavButton slots based on the state\n */ export const useTeachingPopoverCarouselNavButtonStyles_unstable = (state)=>{\n const styles = useStyles();\n const { appearance, isSelected } = state;\n const brandStyles = isSelected ? styles.rootBrand : styles.rootBrandUnselected;\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselNavButtonClassNames.root, styles.root, isSelected ? styles.rootSelected : styles.rootUnselected, appearance === 'brand' && brandStyles, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","shorthands","tokens","createCustomFocusIndicatorStyle","teachingPopoverCarouselNavButtonClassNames","root","useStyles","mc9l5x","Bceei9c","B7ck84d","Bqenvij","a9b677","De3pzq","rootUnselected","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","u1mtju","h3c5rm","vrafjx","Bekrc4i","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","Bw0xxkn","oeaueh","Bpd4iqm","Befb4lg","Bfpq7zp","g9k6zt","Bn4voq9","giviqs","Bw81rd7","kdpuga","dm238s","B6xbmo0","B3whbx2","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","o2ey54","C3llkk","rootSelected","By8wz76","rootBrand","rootBrandUnselected","d","p","t","m","useTeachingPopoverCarouselNavButtonStyles_unstable","state","sty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AAEmE,UAAU,GAAGF,MAAM,CAACV,YAAY,GAAGU,MAAM,CAACzD,cAAc,EAAE0D,UAAU,KAAK,OAAO,IAAIE,WAAW,EAAEJ,KAAK,CAAChE,IAAI,CAACqE,SAAS,CAAC;IACxN,OAAOL,KAAK;AAChB,CAAC"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
teachingPopoverCarouselNavButtonClassNames
|
|
13
|
+
get teachingPopoverCarouselNavButtonClassNames () {
|
|
14
14
|
return teachingPopoverCarouselNavButtonClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselNavButtonStyles_unstable
|
|
16
|
+
get useTeachingPopoverCarouselNavButtonStyles_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselNavButtonStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselNavButtonSlots,\n TeachingPopoverCarouselNavButtonState,\n} from './TeachingPopoverCarouselNavButton.types';\nimport { tokens } from '@fluentui/react-theme';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\n\nexport const teachingPopoverCarouselNavButtonClassNames: SlotClassNames<TeachingPopoverCarouselNavButtonSlots> = {\n root: 'fui-TeachingPopoverCarouselNavButton',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n cursor: 'pointer',\n boxSizing: 'border-box',\n height: '8px',\n width: '8px',\n backgroundColor: tokens.colorBrandBackground,\n },\n rootUnselected: {\n border: 'none',\n borderRadius: '50%',\n padding: '0px',\n outline: `${tokens.strokeWidthThin} solid transparent`, // For high contrast\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n backgroundColor: `color-mix(in srgb, ${tokens.colorBrandBackground} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground,\n },\n },\n rootSelected: {\n outline: `${tokens.strokeWidthThin} solid transparent`, // For high contrast\n width: '16px',\n border: 'none',\n borderRadius: '4px',\n padding: '0px',\n ...createCustomFocusIndicatorStyle({\n outline: `${tokens.strokeWidthThick} solid ${tokens.colorStrokeFocus2}`,\n borderRadius: tokens.borderRadiusMedium,\n ...shorthands.borderColor('transparent'),\n }),\n '@media (forced-colors: active)': {\n backgroundColor: 'CanvasText',\n },\n },\n rootBrand: {\n backgroundColor: tokens.colorNeutralForegroundOnBrand,\n },\n rootBrandUnselected: {\n backgroundColor: `color-mix(in srgb, ${tokens.colorNeutralForegroundOnBrand} 30%, transparent)`,\n '@supports not (color: color-mix(in lch, white, black))': {\n // This will also affect the focus border, but only in older unsupported browsers\n opacity: 0.3,\n backgroundColor: tokens.colorBrandBackground,\n },\n },\n});\n\n/**\n * Apply styling to the TeachingPopoverCarouselNavButton slots based on the state\n */\nexport const useTeachingPopoverCarouselNavButtonStyles_unstable = (\n state: TeachingPopoverCarouselNavButtonState,\n): TeachingPopoverCarouselNavButtonState => {\n const styles = useStyles();\n const { appearance, isSelected } = state;\n\n const brandStyles = isSelected ? styles.rootBrand : styles.rootBrandUnselected;\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n teachingPopoverCarouselNavButtonClassNames.root,\n styles.root,\n isSelected ? styles.rootSelected : styles.rootUnselected,\n appearance === 'brand' && brandStyles,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","shorthands","tokens","createCustomFocusIndicatorStyle","teachingPopoverCarouselNavButtonClassNames","root","useStyles","display","cursor","boxSizing","height","width","backgroundColor","colorBrandBackground","rootUnselected","border","borderRadius","padding","outline","strokeWidthThin","strokeWidthThick","colorStrokeFocus2","borderRadiusMedium","borderColor","opacity","rootSelected","rootBrand","colorNeutralForegroundOnBrand","rootBrandUnselected","useTeachingPopoverCarouselNavButtonStyles_unstable","state","styles","appearance","isSelected","brandStyles","className"],"mappings":"AAAA;;;;;;;;;;;;QAWaK;;;QAgEAyB;;;;uBAzEwC,iBAAiB;4BAM/C,wBAAwB;8BACC,0BAA0B;AAEnE,mDAA0G;IAC/GxB,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,MAAMC,gBAAYP,iBAAAA,EAAW;IAC3BM,MAAM;QACJE,SAAS;QACTC,QAAQ;QACRC,WAAW;QACXC,QAAQ;QACRC,OAAO;QACPC,iBAAiBV,kBAAAA,CAAOW,oBAAoB;IAC9C;IACAC,gBAAgB;QACdC,QAAQ;QACRC,cAAc;QACdC,SAAS;QACTC,SAAS,GAAGhB,kBAAAA,CAAOiB,eAAe,CAAC,kBAAkB,CAAC;QACtD,OAAGhB,6CAAAA,EAAgC;YACjCe,SAAS,GAAGhB,kBAAAA,CAAOkB,gBAAgB,CAAC,OAAO,EAAElB,kBAAAA,CAAOmB,iBAAiB,EAAE;YACvEL,cAAcd,kBAAAA,CAAOoB,kBAAkB;YACvC,GAAGrB,iBAAAA,CAAWsB,WAAW,CAAC,cAAc;QAC1C,EAAE;QACFX,iBAAiB,CAAC,mBAAmB,EAAEV,kBAAAA,CAAOW,oBAAoB,CAAC,kBAAkB,CAAC;QACtF,0DAA0D;YAC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verCarouselPageCount/TeachingPopoverCarouselPageCount.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useTeachingPopoverCarouselPageCount_unstable } from './useTeachingPopoverCarouselPageCount';\nimport { renderTeachingPopoverCarouselPageCount_unstable } from './renderTeachingPopoverCarouselPageCount';\nimport { useTeachingPopoverCarouselPageCountStyles_unstable } from './useTeachingPopoverCarouselPageCountStyles.styles';\nimport type { TeachingPopoverCarouselPageCountProps } from './TeachingPopoverCarouselPageCount.types';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TeachingPopoverCarouselPageCount is a simple interface for rendering based on current and total page count\n *\n * The child render function will provide both current and total page numbers for customization.\n */\nexport const TeachingPopoverCarouselPageCount: ForwardRefComponent<TeachingPopoverCarouselPageCountProps> =\n React.forwardRef((props, ref) => {\n const state = useTeachingPopoverCarouselPageCount_unstable(props, ref);\n\n useTeachingPopoverCarouselPageCountStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverCarouselPageCountStyles_unstable')(state);\n\n return renderTeachingPopoverCarouselPageCount_unstable(state);\n });\n\nTeachingPopoverCarouselPageCount.displayName = 'TeachingPopoverCarouselPageCount';\n"],"names":["React","useTeachingPopoverCarouselPageCount_unstable","renderTeachingPopoverCarouselPageCount_unstable","useTeachingPopoverCarouselPageCountStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverCarouselPageCount","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;qDAE8B,2CAAwC;wDACrC,8CAA2C;iEACxC,wDAAqD;qCAE5E,kCAAkC;AAOvE,MAAMK,mCAAAA,WAAAA,GACXL,OAAMM,UAAU,CAAC,CAACC,OAAOC;IACvB,MAAMC,YAAQR,iFAAAA,EAA6CM,OAAOC;QAElEL,mGAAAA,EAAmDM;QAEnDL,gDAAAA,EAA4B,sDAAsDK;IAElF,WAAOP,uFAAAA,EAAgDO;AACzD,GAAG;AAELJ,iCAAiCK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type TeachingPopoverCarouselPageCountSlots = {\n root: Slot<'div'>;\n};\n\nexport type TeachingPopoverCarouselPageCountRenderFunction = (\n currentPage: number,\n totalPages: number,\n) => React.ReactNode;\n\n/**\n * TeachingPopoverCarouselPageCount Props\n */\nexport type TeachingPopoverCarouselPageCountProps = Omit<\n ComponentProps<Partial<TeachingPopoverCarouselPageCountSlots>>,\n 'children'\n> & {\n children: TeachingPopoverCarouselPageCountRenderFunction;\n};\n\n/**\n * State used in rendering TeachingPopoverCarouselPageCount\n */\nexport type TeachingPopoverCarouselPageCountState = ComponentState<TeachingPopoverCarouselPageCountSlots> & {\n currentIndex: number;\n\n totalPages: number;\n\n renderPageCount: TeachingPopoverCarouselPageCountRenderFunction;\n};\n"],"names":[],"mappings":"AAsBA;;CAEC,GACD,WAME"}
|
|
@@ -5,23 +5,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
TeachingPopoverCarouselPageCount
|
|
12
|
+
get TeachingPopoverCarouselPageCount () {
|
|
13
13
|
return _TeachingPopoverCarouselPageCount.TeachingPopoverCarouselPageCount;
|
|
14
14
|
},
|
|
15
|
-
renderTeachingPopoverCarouselPageCount_unstable
|
|
15
|
+
get renderTeachingPopoverCarouselPageCount_unstable () {
|
|
16
16
|
return _renderTeachingPopoverCarouselPageCount.renderTeachingPopoverCarouselPageCount_unstable;
|
|
17
17
|
},
|
|
18
|
-
teachingPopoverCarouselPageCountClassNames
|
|
18
|
+
get teachingPopoverCarouselPageCountClassNames () {
|
|
19
19
|
return _useTeachingPopoverCarouselPageCountStylesstyles.teachingPopoverCarouselPageCountClassNames;
|
|
20
20
|
},
|
|
21
|
-
useTeachingPopoverCarouselPageCountStyles_unstable
|
|
21
|
+
get useTeachingPopoverCarouselPageCountStyles_unstable () {
|
|
22
22
|
return _useTeachingPopoverCarouselPageCountStylesstyles.useTeachingPopoverCarouselPageCountStyles_unstable;
|
|
23
23
|
},
|
|
24
|
-
useTeachingPopoverCarouselPageCount_unstable
|
|
24
|
+
get useTeachingPopoverCarouselPageCount_unstable () {
|
|
25
25
|
return _useTeachingPopoverCarouselPageCount.useTeachingPopoverCarouselPageCount_unstable;
|
|
26
26
|
}
|
|
27
27
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselPageCount/index.ts"],"sourcesContent":["export { TeachingPopoverCarouselPageCount } from './TeachingPopoverCarouselPageCount';\nexport type {\n TeachingPopoverCarouselPageCountProps,\n TeachingPopoverCarouselPageCountRenderFunction,\n TeachingPopoverCarouselPageCountSlots,\n TeachingPopoverCarouselPageCountState,\n} from './TeachingPopoverCarouselPageCount.types';\nexport { renderTeachingPopoverCarouselPageCount_unstable } from './renderTeachingPopoverCarouselPageCount';\nexport { useTeachingPopoverCarouselPageCount_unstable } from './useTeachingPopoverCarouselPageCount';\nexport {\n teachingPopoverCarouselPageCountClassNames,\n useTeachingPopoverCarouselPageCountStyles_unstable,\n} from './useTeachingPopoverCarouselPageCountStyles.styles';\n"],"names":["TeachingPopoverCarouselPageCount","renderTeachingPopoverCarouselPageCount_unstable","useTeachingPopoverCarouselPageCount_unstable","teachingPopoverCarouselPageCountClassNames","useTeachingPopoverCarouselPageCountStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,kEAAgC;;;eAOhCC,uFAA+C;;;eAGtDE,2FAA0C;;;eAC1CC,mGAAkD;;;eAH3CF,iFAA4C;;;kDARJ,wCAAqC;wDAOtB,8CAA2C;qDAC9C,2CAAwC;iEAI9F,wDAAqD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.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 TeachingPopoverCarouselPageCountState,\n TeachingPopoverCarouselPageCountSlots,\n} from './TeachingPopoverCarouselPageCount.types';\n\n/**\n * Render the final JSX of TeachingPopoverCarouselPageCount\n */\nexport const renderTeachingPopoverCarouselPageCount_unstable = (\n state: TeachingPopoverCarouselPageCountState,\n): JSXElement => {\n assertSlots<TeachingPopoverCarouselPageCountSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderTeachingPopoverCarouselPageCount_unstable","state","root"],"mappings":";;;;;;;;;;;gCACA,gDAAiD,GAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAUjD,MAAMC,kDAAkD,CAC7DC;QAEAF,2BAAAA,EAAmDE;IAEnD,OAAA,WAAA,OAAO,eAAA,EAACA,MAAMC,IAAI,EAAA,CAAA;AACpB,EAAE"}
|
|
@@ -13,8 +13,8 @@ const _reactutilities = require("@fluentui/react-utilities");
|
|
|
13
13
|
const _useCarouselValues = require("../TeachingPopoverCarousel/Carousel/useCarouselValues.cjs");
|
|
14
14
|
const _CarouselContext = require("../TeachingPopoverCarousel/Carousel/CarouselContext.cjs");
|
|
15
15
|
const useTeachingPopoverCarouselPageCount_unstable = (props, ref)=>{
|
|
16
|
-
const values = (0, _useCarouselValues.useCarouselValues_unstable)((snapshot)=>snapshot);
|
|
17
16
|
var _useCarouselContext_unstable;
|
|
17
|
+
const values = (0, _useCarouselValues.useCarouselValues_unstable)((snapshot)=>snapshot);
|
|
18
18
|
const selectedValue = (_useCarouselContext_unstable = (0, _CarouselContext.useCarouselContext_unstable)((c)=>c.value)) !== null && _useCarouselContext_unstable !== void 0 ? _useCarouselContext_unstable : values[0];
|
|
19
19
|
const currentIndex = values.indexOf(selectedValue);
|
|
20
20
|
const totalPages = values.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselPageCountProps,\n TeachingPopoverCarouselPageCountState,\n} from './TeachingPopoverCarouselPageCount.types';\nimport { useCarouselValues_unstable } from '../TeachingPopoverCarousel/Carousel/useCarouselValues';\nimport { useCarouselContext_unstable } from '../TeachingPopoverCarousel/Carousel/CarouselContext';\n\n/**\n * Create the state required to render TeachingPopoverCarouselPageCount.\n *\n * The returned state can be modified with hooks such as useTeachingPopoverCarouselPageCountStyles_unstable,\n * before being passed to renderTeachingPopoverCarouselPageCount_unstable.\n *\n * @param props - props from this instance of TeachingPopoverCarouselPageCount\n * @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselPageCount\n */\nexport const useTeachingPopoverCarouselPageCount_unstable = (\n props: TeachingPopoverCarouselPageCountProps,\n ref: React.Ref<HTMLDivElement>,\n): TeachingPopoverCarouselPageCountState => {\n const values = useCarouselValues_unstable(snapshot => snapshot);\n\n const selectedValue = useCarouselContext_unstable(c => c.value) ?? values[0];\n const currentIndex = values.indexOf(selectedValue);\n const totalPages = values.length;\n\n return {\n currentIndex,\n totalPages,\n renderPageCount: props.children,\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n ref,\n ...props,\n children: props.children(currentIndex + 1, totalPages),\n }),\n { elementType: 'div' },\n ),\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useCarouselValues_unstable","useCarouselContext_unstable","useTeachingPopoverCarouselPageCount_unstable","props","ref","values","snapshot","selectedValue","c","value","currentIndex","indexOf","totalPages","length","renderPageCount","children","components","root","always","elementType"],"mappings":"AAAA;;;;;+BAoBaI;;;;;;gCAjBkC,4BAA4B;mCAKhC,2DAAwD;iCACvD,yDAAsD;AAW3F,qDAAqD,CAC1DC,OACAC;QAIsBH;IAFtB,MAAMI,aAASL,6CAAAA,EAA2BM,CAAAA,WAAYA;IAEtD,MAAMC,gBAAAA,AAAgBN,oCAAAA,4CAAAA,EAA4BO,CAAAA,IAAKA,EAAEC,MAAK,MAAA,QAAxCR,iCAAAA,KAAAA,IAAAA,+BAA6CI,MAAM,CAAC,EAAE;IAC5E,MAAMK,eAAeL,OAAOM,OAAO,CAACJ;IACpC,MAAMK,aAAaP,OAAOQ,MAAM;IAEhC,OAAO;QACLH;QACAE;QACAE,iBAAiBX,MAAMY,QAAQ;QAC/BC,YAAY;YACVC,MAAM;QACR;QACAA,MAAMlB,oBAAAA,CAAKmB,MAAM,KACfpB,wCAAAA,EAAyB,OAAO;YAC9BM;YACA,GAAGD,KAAK;YACRY,UAAUZ,MAAMY,QAAQ,CAACL,eAAe,GAAGE;QAC7C,IACA;YAAEO,aAAa;QAAM;IAEzB;AACF,EAAE"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
teachingPopoverCarouselPageCountClassNames
|
|
13
|
+
get teachingPopoverCarouselPageCountClassNames () {
|
|
14
14
|
return teachingPopoverCarouselPageCountClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselPageCountStyles_unstable
|
|
16
|
+
get useTeachingPopoverCarouselPageCountStyles_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselPageCountStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["useTeachingPopoverCarouselPageCountStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nexport const teachingPopoverCarouselPageCountClassNames = {\n root: 'fui-TeachingPopoverCarouselPageCount'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n }\n});\n/**\n * Apply styling to the TeachingPopoverCarouselPageCount slots based on the state\n */ export const useTeachingPopoverCarouselPageCountStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselPageCountClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","teachingPopoverCarouselPageCountClassNames","root","useStyles","mc9l5x","Bt984gj","Brf1p80","d","useTeachingPopoverCarouselPageCountStyles_unstable","state","styles","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["useTeachingPopoverCarouselPageCountStyles.styles.js"],"sourcesContent":["'use client';\nimport { makeStyles, mergeClasses } from \"@griffel/react\";\nexport const teachingPopoverCarouselPageCountClassNames = {\n root: 'fui-TeachingPopoverCarouselPageCount'\n};\n/**\n * Styles for the root slot\n */ const useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center'\n }\n});\n/**\n * Apply styling to the TeachingPopoverCarouselPageCount slots based on the state\n */ export const useTeachingPopoverCarouselPageCountStyles_unstable = (state)=>{\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(teachingPopoverCarouselPageCountClassNames.root, styles.root, state.root.className);\n return state;\n};\n"],"names":["__styles","mergeClasses","teachingPopoverCarouselPageCountClassNames","root","useStyles","mc9l5x","Bt984gj","Brf1p80","d","useTeachingPopoverCarouselPageCountStyles_unstable","state","styles","className"],"mappings":"AAAA,YAAY;;;;;;;;;;;;QAECE,0CAA0C;;;QActCO,kDAAkD;;;;uBAf1B,gBAAgB;AAClD,mDAAmD;IACtDN,IAAI,EAAE;AACV,CAAC;AACD;;CAEA,GAAI,MAAMC,SAAS,GAAA,WAAA,GAAGJ,mBAAA,EAAA;IAAAG,IAAA,EAAA;QAAAE,MAAA,EAAA;QAAAC,OAAA,EAAA;QAAAC,OAAA,EAAA;IAAA;AAAA,GAAA;IAAAC,CAAA,EAAA;QAAA;QAAA;QAAA;KAAA;AAAA,CAMrB,CAAC;AAGS,4DAA4DE,KAAK,IAAG;IAC3E,MAAMC,MAAM,GAAGP,SAAS,CAAC,CAAC;IAC1B,oDAAA;IACAM,KAAK,CAACP,IAAI,CAACS,SAAS,OAAGX,mBAAY,EAACC,0CAA0C,CAACC,IAAI,EAAEQ,MAAM,CAACR,IAAI,EAAEO,KAAK,CAACP,IAAI,CAACS,SAAS,CAAC;IACvH,OAAOF,KAAK;AAChB,CAAC"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
teachingPopoverCarouselPageCountClassNames
|
|
13
|
+
get teachingPopoverCarouselPageCountClassNames () {
|
|
14
14
|
return teachingPopoverCarouselPageCountClassNames;
|
|
15
15
|
},
|
|
16
|
-
useTeachingPopoverCarouselPageCountStyles_unstable
|
|
16
|
+
get useTeachingPopoverCarouselPageCountStyles_unstable () {
|
|
17
17
|
return useTeachingPopoverCarouselPageCountStyles_unstable;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type {\n TeachingPopoverCarouselPageCountSlots,\n TeachingPopoverCarouselPageCountState,\n} from './TeachingPopoverCarouselPageCount.types';\n\nexport const teachingPopoverCarouselPageCountClassNames: SlotClassNames<TeachingPopoverCarouselPageCountSlots> = {\n root: 'fui-TeachingPopoverCarouselPageCount',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n\n/**\n * Apply styling to the TeachingPopoverCarouselPageCount slots based on the state\n */\nexport const useTeachingPopoverCarouselPageCountStyles_unstable = (\n state: TeachingPopoverCarouselPageCountState,\n): TeachingPopoverCarouselPageCountState => {\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n teachingPopoverCarouselPageCountClassNames.root,\n styles.root,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","teachingPopoverCarouselPageCountClassNames","root","useStyles","display","alignItems","justifyContent","useTeachingPopoverCarouselPageCountStyles_unstable","state","styles","className"],"mappings":"AAAA;;;;;;;;;;;;;;;QA2BaQ;;;;uBAzB4B,iBAAiB;AAOnD,MAAMN,6CAAoG;IAC/GC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,MAAMC,gBAAYJ,iBAAAA,EAAW;IAC3BG,MAAM;QACJE,SAAS;QACTC,YAAY;QACZC,gBAAgB;IAClB;AACF;AAKO,2DAA2D,CAChEE;IAEA,MAAMC,SAASN;IACf,oDAAoD;IACpDK,MAAMN,IAAI,CAACQ,SAAS,OAAGV,mBAAAA,EACrBC,2CAA2CC,IAAI,EAC/CO,OAAOP,IAAI,EACXM,MAAMN,IAAI,CAACQ,SAAS;IAGtB,OAAOF;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverFooter/TeachingPopoverFooter.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTeachingPopoverFooter_unstable } from './useTeachingPopoverFooter';\nimport { renderTeachingPopoverFooter_unstable } from './renderTeachingPopoverFooter';\nimport { useTeachingPopoverFooterStyles_unstable } from './useTeachingPopoverFooterStyles.styles';\nimport type { TeachingPopoverFooterProps } from './TeachingPopoverFooter.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Define a styled TeachingPopoverFooter, using the `useTeachingPopoverFooter_unstable` and `useTeachingPopoverFooterStyles_unstable`\n * hooks.\n *\n * TeachingPopoverFooter will provide both a secondary and primary button for the TeachingPopover,\n * and handle Popover functionality such as closing the popup.\n *\n * Users must provide the localized text for each button within the footer via slots.\n */\nexport const TeachingPopoverFooter: ForwardRefComponent<TeachingPopoverFooterProps> = React.forwardRef((props, ref) => {\n const state = useTeachingPopoverFooter_unstable(props, ref);\n\n useTeachingPopoverFooterStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTeachingPopoverFooterStyles_unstable')(state);\n\n return renderTeachingPopoverFooter_unstable(state);\n});\n\nTeachingPopoverFooter.displayName = 'TeachingPopoverFooter';\n"],"names":["React","useTeachingPopoverFooter_unstable","renderTeachingPopoverFooter_unstable","useTeachingPopoverFooterStyles_unstable","useCustomStyleHook_unstable","TeachingPopoverFooter","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;;;;;;;;;;;;iEAEuB,QAAQ;0CACmB,gCAA6B;6CAC1B,mCAAgC;sDAC7B,6CAA0C;qCAGtD,kCAAkC;AAWvE,MAAMK,wBAAAA,WAAAA,GAAyEL,OAAMM,UAAU,CAAC,CAACC,OAAOC;IAC7G,MAAMC,YAAQR,2DAAAA,EAAkCM,OAAOC;QAEvDL,6EAAAA,EAAwCM;QAExCL,gDAAAA,EAA4B,2CAA2CK;IAEvE,WAAOP,iEAAAA,EAAqCO;AAC9C,GAAG;AAEHJ,sBAAsBK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverFooter/TeachingPopoverFooter.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { Button } from '@fluentui/react-button';\nimport type { ComponentProps, ComponentState, DistributiveOmit, Slot } from '@fluentui/react-utilities';\nimport type { PopoverContextValue } from '@fluentui/react-popover';\n\nexport type TeachingPopoverFooterSlots = {\n /**\n * The element wrapping the buttons.\n */\n root: NonNullable<Slot<'div'>>;\n\n /**\n * The primary button slot.\n */\n primary: NonNullable<Slot<typeof Button>>;\n\n /**\n * The secondary button slot.\n */\n secondary?: Slot<typeof Button>;\n};\n\nexport type TeachingPopoverFooterState = ComponentState<TeachingPopoverFooterSlots> &\n Pick<PopoverContextValue, 'appearance'> & {\n /**\n * Enables stylization to a horizontal or vertical stack of button layouts.\n * Defaults to horizontal\n */\n footerLayout?: 'horizontal' | 'vertical';\n };\n\nexport type TeachingPopoverFooterProps = ComponentProps<TeachingPopoverFooterSlots> &\n Pick<TeachingPopoverFooterState, 'footerLayout'>;\n\n/**\n * Base props omit the `primary` and `secondary` Button slots — those are styling\n * concerns. The headless variant composes buttons as children of the root.\n */\nexport type TeachingPopoverFooterBaseProps = DistributiveOmit<TeachingPopoverFooterProps, 'primary' | 'secondary'>;\n\n/**\n * Base state intentionally omits the `primary` / `secondary` slot and `appearance` —\n * those are Button-styling concerns layered on by the styled hook.\n */\nexport type TeachingPopoverFooterBaseState = ComponentState<Pick<TeachingPopoverFooterSlots, 'root'>> & {\n footerLayout?: 'horizontal' | 'vertical';\n handleButtonClick: (event: React.MouseEvent<HTMLButtonElement & HTMLAnchorElement & HTMLDivElement>) => void;\n};\n"],"names":[],"mappings":"AAwCA;;;CAGC,GACD,WAGE"}
|
|
@@ -5,26 +5,26 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
TeachingPopoverFooter
|
|
12
|
+
get TeachingPopoverFooter () {
|
|
13
13
|
return _TeachingPopoverFooter.TeachingPopoverFooter;
|
|
14
14
|
},
|
|
15
|
-
renderTeachingPopoverFooter_unstable
|
|
15
|
+
get renderTeachingPopoverFooter_unstable () {
|
|
16
16
|
return _renderTeachingPopoverFooter.renderTeachingPopoverFooter_unstable;
|
|
17
17
|
},
|
|
18
|
-
teachingPopoverFooterClassNames
|
|
18
|
+
get teachingPopoverFooterClassNames () {
|
|
19
19
|
return _useTeachingPopoverFooterStylesstyles.teachingPopoverFooterClassNames;
|
|
20
20
|
},
|
|
21
|
-
useTeachingPopoverFooterBase_unstable
|
|
21
|
+
get useTeachingPopoverFooterBase_unstable () {
|
|
22
22
|
return _useTeachingPopoverFooter.useTeachingPopoverFooterBase_unstable;
|
|
23
23
|
},
|
|
24
|
-
useTeachingPopoverFooterStyles_unstable
|
|
24
|
+
get useTeachingPopoverFooterStyles_unstable () {
|
|
25
25
|
return _useTeachingPopoverFooterStylesstyles.useTeachingPopoverFooterStyles_unstable;
|
|
26
26
|
},
|
|
27
|
-
useTeachingPopoverFooter_unstable
|
|
27
|
+
get useTeachingPopoverFooter_unstable () {
|
|
28
28
|
return _useTeachingPopoverFooter.useTeachingPopoverFooter_unstable;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverFooter/index.ts"],"sourcesContent":["export { TeachingPopoverFooter } from './TeachingPopoverFooter';\nexport type {\n TeachingPopoverFooterBaseProps,\n TeachingPopoverFooterBaseState,\n TeachingPopoverFooterProps,\n TeachingPopoverFooterSlots,\n TeachingPopoverFooterState,\n} from './TeachingPopoverFooter.types';\nexport { renderTeachingPopoverFooter_unstable } from './renderTeachingPopoverFooter';\nexport { useTeachingPopoverFooter_unstable, useTeachingPopoverFooterBase_unstable } from './useTeachingPopoverFooter';\nexport {\n teachingPopoverFooterClassNames,\n useTeachingPopoverFooterStyles_unstable,\n} from './useTeachingPopoverFooterStyles.styles';\n"],"names":["TeachingPopoverFooter","renderTeachingPopoverFooter_unstable","useTeachingPopoverFooter_unstable","useTeachingPopoverFooterBase_unstable","teachingPopoverFooterClassNames","useTeachingPopoverFooterStyles_unstable"],"mappings":";;;;;;;;;;;;eAASA,4CAAqB;;;eAQrBC,iEAAoC;;;eAG3CG,qEAA+B;;;eAFWD,+DAAqC;;;eAG/EE,6EAAuC;;;eAHhCH,2DAAiC;;;uCATJ,6BAA0B;6CAQX,mCAAgC;0CACI,gCAA6B;sDAI/G,6CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TeachingPopoverFooter/renderTeachingPopoverFooter.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport type { TeachingPopoverFooterState } from './TeachingPopoverFooter.types';\nimport type { TeachingPopoverFooterSlots } from './TeachingPopoverFooter.types';\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\n\n/**\n * Render the final JSX of TeachingPopoverFooter\n */\nexport const renderTeachingPopoverFooter_unstable = (state: TeachingPopoverFooterState): JSXElement => {\n assertSlots<TeachingPopoverFooterSlots>(state);\n\n return (\n <state.root>\n <state.primary />\n {state.secondary && <state.secondary />}\n </state.root>\n );\n};\n"],"names":["assertSlots","renderTeachingPopoverFooter_unstable","state","root","primary","secondary"],"mappings":";;;;+BAUaC;;;;;;4BATb,iCAAiD;gCAGrB,4BAA4B;AAMjD,6CAA6C,CAACC;QACnDF,2BAAAA,EAAwCE;IAExC,OAAA,WAAA,OACE,gBAAA,EAACA,MAAMC,IAAI,EAAA;;8BACT,eAAA,EAACD,MAAME,OAAO,EAAA,CAAA;YACbF,MAAMG,SAAS,IAAA,WAAA,OAAI,eAAA,EAACH,MAAMG,SAAS,EAAA,CAAA;;;AAG1C,EAAE"}
|