@fluentui/react-teaching-popover 0.0.0-nightly-20240423-0406.1
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 +324 -0
- package/LICENSE +15 -0
- package/README.md +66 -0
- package/dist/index.d.ts +715 -0
- package/lib/TeachingPopover.js +1 -0
- package/lib/TeachingPopover.js.map +1 -0
- package/lib/TeachingPopoverBody.js +1 -0
- package/lib/TeachingPopoverBody.js.map +1 -0
- package/lib/TeachingPopoverCarousel.js +1 -0
- package/lib/TeachingPopoverCarousel.js.map +1 -0
- package/lib/TeachingPopoverCarouselCard.js +1 -0
- package/lib/TeachingPopoverCarouselCard.js.map +1 -0
- package/lib/TeachingPopoverCarouselFooter.js +1 -0
- package/lib/TeachingPopoverCarouselFooter.js.map +1 -0
- package/lib/TeachingPopoverCarouselFooterButton.js +1 -0
- package/lib/TeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib/TeachingPopoverCarouselNav.js +1 -0
- package/lib/TeachingPopoverCarouselNav.js.map +1 -0
- package/lib/TeachingPopoverCarouselNavButton.js +1 -0
- package/lib/TeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib/TeachingPopoverCarouselPageCount.js +1 -0
- package/lib/TeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib/TeachingPopoverFooter.js +1 -0
- package/lib/TeachingPopoverFooter.js.map +1 -0
- package/lib/TeachingPopoverHeader.js +1 -0
- package/lib/TeachingPopoverHeader.js.map +1 -0
- package/lib/TeachingPopoverSurface.js +1 -0
- package/lib/TeachingPopoverSurface.js.map +1 -0
- package/lib/TeachingPopoverTitle.js +1 -0
- package/lib/TeachingPopoverTitle.js.map +1 -0
- package/lib/TeachingPopoverTrigger.js +1 -0
- package/lib/TeachingPopoverTrigger.js.map +1 -0
- package/lib/components/TeachingPopover/TeachingPopover.js +10 -0
- package/lib/components/TeachingPopover/TeachingPopover.js.map +1 -0
- package/lib/components/TeachingPopover/TeachingPopover.types.js +1 -0
- package/lib/components/TeachingPopover/TeachingPopover.types.js.map +1 -0
- package/lib/components/TeachingPopover/index.js +4 -0
- package/lib/components/TeachingPopover/index.js.map +1 -0
- package/lib/components/TeachingPopover/renderTeachingPopover.js +4 -0
- package/lib/components/TeachingPopover/renderTeachingPopover.js.map +1 -0
- package/lib/components/TeachingPopover/useTeachingPopover.js +11 -0
- package/lib/components/TeachingPopover/useTeachingPopover.js.map +1 -0
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.js +17 -0
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.js.map +1 -0
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.types.js +1 -0
- package/lib/components/TeachingPopoverBody/TeachingPopoverBody.types.js.map +1 -0
- package/lib/components/TeachingPopoverBody/index.js +5 -0
- package/lib/components/TeachingPopoverBody/index.js.map +1 -0
- package/lib/components/TeachingPopoverBody/renderTeachingPopoverBody.js +13 -0
- package/lib/components/TeachingPopoverBody/renderTeachingPopoverBody.js.map +1 -0
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBody.js +25 -0
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBody.js.map +1 -0
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js +58 -0
- package/lib/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js +123 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.types.js +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/Carousel.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselContext.js +14 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselContext.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.js +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js +11 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js +8 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js +28 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/constants.js +2 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/constants.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/createCarouselStore.js +60 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/createCarouselStore.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js +6 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js +98 -0
- package/lib/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js +19 -0
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.js +1 -0
- package/lib/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/index.js +6 -0
- package/lib/components/TeachingPopoverCarousel/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js +12 -0
- package/lib/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js +32 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js +12 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js.map +1 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js +15 -0
- package/lib/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js +15 -0
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselCard/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js +8 -0
- package/lib/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js +25 -0
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js +14 -0
- package/lib/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js +15 -0
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselFooter/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js +16 -0
- package/lib/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js +37 -0
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js +39 -0
- package/lib/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js +15 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js +8 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js +71 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js +64 -0
- package/lib/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js +15 -0
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselNav/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js +15 -0
- package/lib/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js +35 -0
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js +35 -0
- package/lib/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNav/valueIdContext.js +8 -0
- package/lib/components/TeachingPopoverCarouselNav/valueIdContext.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js +14 -0
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselNavButton/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js +8 -0
- package/lib/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js +52 -0
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js +104 -0
- package/lib/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js +14 -0
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.js +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/index.js +5 -0
- package/lib/components/TeachingPopoverCarouselPageCount/index.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js +8 -0
- package/lib/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js +34 -0
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js +25 -0
- package/lib/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.js +18 -0
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.types.js +1 -0
- package/lib/components/TeachingPopoverFooter/TeachingPopoverFooter.types.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/index.js +5 -0
- package/lib/components/TeachingPopoverFooter/index.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js +13 -0
- package/lib/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooter.js +57 -0
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooter.js.map +1 -0
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js +68 -0
- package/lib/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.js +18 -0
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.types.js +1 -0
- package/lib/components/TeachingPopoverHeader/TeachingPopoverHeader.types.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/index.js +5 -0
- package/lib/components/TeachingPopoverHeader/index.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js +14 -0
- package/lib/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeader.js +54 -0
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeader.js.map +1 -0
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js +108 -0
- package/lib/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.js +16 -0
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.types.js +1 -0
- package/lib/components/TeachingPopoverSurface/TeachingPopoverSurface.types.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/index.js +5 -0
- package/lib/components/TeachingPopoverSurface/index.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js +9 -0
- package/lib/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurface.js +14 -0
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurface.js.map +1 -0
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js +37 -0
- package/lib/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.js +18 -0
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.types.js +1 -0
- package/lib/components/TeachingPopoverTitle/TeachingPopoverTitle.types.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/index.js +5 -0
- package/lib/components/TeachingPopoverTitle/index.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js +13 -0
- package/lib/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitle.js +46 -0
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitle.js.map +1 -0
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js +80 -0
- package/lib/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js.map +1 -0
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js +12 -0
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js.map +1 -0
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.js +1 -0
- package/lib/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.js.map +1 -0
- package/lib/components/TeachingPopoverTrigger/index.js +4 -0
- package/lib/components/TeachingPopoverTrigger/index.js.map +1 -0
- package/lib/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.js +5 -0
- package/lib/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.js.map +1 -0
- package/lib/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js +9 -0
- package/lib/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js.map +1 -0
- package/lib/index.js +14 -0
- package/lib/index.js.map +1 -0
- package/lib-commonjs/TeachingPopover.js +6 -0
- package/lib-commonjs/TeachingPopover.js.map +1 -0
- package/lib-commonjs/TeachingPopoverBody.js +6 -0
- package/lib-commonjs/TeachingPopoverBody.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarousel.js +6 -0
- package/lib-commonjs/TeachingPopoverCarousel.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselCard.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselCard.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselFooter.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselFooter.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselFooterButton.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselNav.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselNav.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselNavButton.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib-commonjs/TeachingPopoverCarouselPageCount.js +6 -0
- package/lib-commonjs/TeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib-commonjs/TeachingPopoverFooter.js +6 -0
- package/lib-commonjs/TeachingPopoverFooter.js.map +1 -0
- package/lib-commonjs/TeachingPopoverHeader.js +6 -0
- package/lib-commonjs/TeachingPopoverHeader.js.map +1 -0
- package/lib-commonjs/TeachingPopoverSurface.js +6 -0
- package/lib-commonjs/TeachingPopoverSurface.js.map +1 -0
- package/lib-commonjs/TeachingPopoverTitle.js +6 -0
- package/lib-commonjs/TeachingPopoverTitle.js.map +1 -0
- package/lib-commonjs/TeachingPopoverTrigger.js +6 -0
- package/lib-commonjs/TeachingPopoverTrigger.js.map +1 -0
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.js +19 -0
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.js.map +1 -0
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.types.js +4 -0
- package/lib-commonjs/components/TeachingPopover/TeachingPopover.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopover/index.js +9 -0
- package/lib-commonjs/components/TeachingPopover/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopover/renderTeachingPopover.js +12 -0
- package/lib-commonjs/components/TeachingPopover/renderTeachingPopover.js.map +1 -0
- package/lib-commonjs/components/TeachingPopover/useTeachingPopover.js +21 -0
- package/lib-commonjs/components/TeachingPopover/useTeachingPopover.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.js +23 -0
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverBody/TeachingPopoverBody.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverBody/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/renderTeachingPopoverBody.js +21 -0
- package/lib-commonjs/components/TeachingPopoverBody/renderTeachingPopoverBody.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBody.js +32 -0
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBody.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js +98 -0
- package/lib-commonjs/components/TeachingPopoverBody/useTeachingPopoverBodyStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.js +132 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.types.js +6 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/Carousel.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselContext.js +36 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselContext.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/CarouselItem.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js +19 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/Carouseltem.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/renderCarouselItem.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js +39 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/CarouselItem/useCarouselItem.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/constants.js +20 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/constants.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/createCarouselStore.js +70 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/createCarouselStore.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselValues.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js +109 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/Carousel/useCarouselWalker.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js +25 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/TeachingPopoverCarousel.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/index.js +11 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js +20 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/renderTeachingPopoverCarousel.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js +43 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarousel.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js +22 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselContextValues.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js +31 -0
- package/lib-commonjs/components/TeachingPopoverCarousel/useTeachingPopoverCarouselStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/TeachingPopoverCarouselCard.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/renderTeachingPopoverCarouselCard.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js +32 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCard.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js +30 -0
- package/lib-commonjs/components/TeachingPopoverCarouselCard/useTeachingPopoverCarouselCardStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.js +6 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/TeachingPopoverCarouselFooter.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js +24 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/renderTeachingPopoverCarouselFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js +48 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js +60 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooter/useTeachingPopoverCarouselFooterStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/TeachingPopoverCarouselFooterButton.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/renderTeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js +73 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js +129 -0
- package/lib-commonjs/components/TeachingPopoverCarouselFooterButton/useTeachingPopoverCarouselFooterButtonStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.js +6 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/TeachingPopoverCarouselNav.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js +23 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/renderTeachingPopoverCarouselNav.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js +42 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNav.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js +84 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/useTeachingPopoverCarouselNavStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/valueIdContext.js +30 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNav/valueIdContext.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/TeachingPopoverCarouselNavButton.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/renderTeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js +55 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButton.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js +240 -0
- package/lib-commonjs/components/TeachingPopoverCarouselNavButton/useTeachingPopoverCarouselNavButtonStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js +21 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.js +6 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/TeachingPopoverCarouselPageCount.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js +16 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/renderTeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js +37 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCount.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js +42 -0
- package/lib-commonjs/components/TeachingPopoverCarouselPageCount/useTeachingPopoverCarouselPageCountStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.js +21 -0
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverFooter/TeachingPopoverFooter.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverFooter/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js +21 -0
- package/lib-commonjs/components/TeachingPopoverFooter/renderTeachingPopoverFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooter.js +64 -0
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooter.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js +135 -0
- package/lib-commonjs/components/TeachingPopoverFooter/useTeachingPopoverFooterStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.js +23 -0
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverHeader/TeachingPopoverHeader.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverHeader/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js +22 -0
- package/lib-commonjs/components/TeachingPopoverHeader/renderTeachingPopoverHeader.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeader.js +61 -0
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeader.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js +230 -0
- package/lib-commonjs/components/TeachingPopoverHeader/useTeachingPopoverHeaderStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.js +23 -0
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverSurface/TeachingPopoverSurface.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverSurface/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js +17 -0
- package/lib-commonjs/components/TeachingPopoverSurface/renderTeachingPopoverSurface.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurface.js +17 -0
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurface.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js +89 -0
- package/lib-commonjs/components/TeachingPopoverSurface/useTeachingPopoverSurfaceStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.js +23 -0
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverTitle/TeachingPopoverTitle.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/index.js +10 -0
- package/lib-commonjs/components/TeachingPopoverTitle/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js +21 -0
- package/lib-commonjs/components/TeachingPopoverTitle/renderTeachingPopoverTitle.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitle.js +53 -0
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitle.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js +185 -0
- package/lib-commonjs/components/TeachingPopoverTitle/useTeachingPopoverTitleStyles.styles.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js +21 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.js +4 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/TeachingPopoverTrigger.types.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/index.js +9 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/index.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.js +15 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/renderTeachingPopoverTrigger.js.map +1 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js +15 -0
- package/lib-commonjs/components/TeachingPopoverTrigger/useTeachingPopoverTrigger.js.map +1 -0
- package/lib-commonjs/index.js +224 -0
- package/lib-commonjs/index.js.map +1 -0
- package/package.json +69 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
import { ARIAButtonSlotProps } from '@fluentui/react-aria';
|
|
4
|
+
import { Button } from '@fluentui/react-button';
|
|
5
|
+
import { ButtonProps } from '@fluentui/react-button';
|
|
6
|
+
import { ButtonState } from '@fluentui/react-button';
|
|
7
|
+
import { ComponentProps } from '@fluentui/react-utilities';
|
|
8
|
+
import { ComponentState } from '@fluentui/react-utilities';
|
|
9
|
+
import { EventData } from '@fluentui/react-utilities';
|
|
10
|
+
import type { EventHandler } from '@fluentui/react-utilities';
|
|
11
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
12
|
+
import { JSXElementConstructor } from 'react';
|
|
13
|
+
import { PopoverContextValue } from '@fluentui/react-popover';
|
|
14
|
+
import type { PopoverProps } from '@fluentui/react-popover';
|
|
15
|
+
import { PopoverState } from '@fluentui/react-popover';
|
|
16
|
+
import { PopoverSurfaceSlots } from '@fluentui/react-popover';
|
|
17
|
+
import { PopoverSurfaceState } from '@fluentui/react-popover';
|
|
18
|
+
import { PopoverTriggerChildProps } from '@fluentui/react-popover';
|
|
19
|
+
import { PopoverTriggerProps } from '@fluentui/react-popover';
|
|
20
|
+
import { PopoverTriggerState } from '@fluentui/react-popover';
|
|
21
|
+
import * as React_2 from 'react';
|
|
22
|
+
import { ReactElement } from 'react';
|
|
23
|
+
import { ReactNode } from 'react';
|
|
24
|
+
import { Slot } from '@fluentui/react-utilities';
|
|
25
|
+
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
26
|
+
|
|
27
|
+
declare type CarouselContextValue = {
|
|
28
|
+
store: CarouselStore;
|
|
29
|
+
value: string | null;
|
|
30
|
+
selectPageByDirection: (event: React_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>, direction: 'next' | 'prev') => void;
|
|
31
|
+
selectPageByValue: (event: React_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>, value: string) => void;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
declare type CarouselItemProps = ComponentProps<CarouselItemSlots> & {
|
|
35
|
+
/**
|
|
36
|
+
* The value used to identify a page,
|
|
37
|
+
* it should be unique and is necessary for pagination
|
|
38
|
+
*/
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
declare type CarouselItemSlots = {
|
|
43
|
+
/**
|
|
44
|
+
* The element wrapping carousel pages and navigation.
|
|
45
|
+
*/
|
|
46
|
+
root: NonNullable<Slot<'div'>>;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
declare type CarouselStore = {
|
|
50
|
+
clear: () => void;
|
|
51
|
+
addValue: (value: string) => void;
|
|
52
|
+
insertValue: (value: string, prev: string | null) => void;
|
|
53
|
+
removeValue: (value: string) => void;
|
|
54
|
+
subscribe: (listener: () => void) => () => void;
|
|
55
|
+
getSnapshot: () => string[];
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare type CarouselValueChangeData = EventData<'click', React_2.MouseEvent<HTMLButtonElement | HTMLAnchorElement>> & {
|
|
59
|
+
/**
|
|
60
|
+
* The value to be set after event has occurred.
|
|
61
|
+
*/
|
|
62
|
+
value?: string;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
declare type NavButtonRenderFunction = (value: string) => React_2.ReactNode;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Render the final JSX of TeachingPopover
|
|
69
|
+
*/
|
|
70
|
+
export declare const renderTeachingPopover_unstable: (state: PopoverState) => JSX.Element;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Render the final JSX of TeachingPopoverBody
|
|
74
|
+
*/
|
|
75
|
+
export declare const renderTeachingPopoverBody_unstable: (state: TeachingPopoverBodyState) => JSX.Element;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Render the final JSX of TeachingPopoverCarousel
|
|
79
|
+
*/
|
|
80
|
+
export declare const renderTeachingPopoverCarousel_unstable: (state: TeachingPopoverCarouselState, contextValues: TeachingPopoverCarouselContextValues) => JSX.Element;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Render the final JSX of TeachingPopoverCarouselCard
|
|
84
|
+
*/
|
|
85
|
+
export declare const renderTeachingPopoverCarouselCard_unstable: (state: TeachingPopoverCarouselCardState) => JSX.Element;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Render the final JSX of TeachingPopoverCarouselFooter
|
|
89
|
+
*/
|
|
90
|
+
export declare const renderTeachingPopoverCarouselFooter_unstable: (state: TeachingPopoverCarouselFooterState) => JSX.Element;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Render the final JSX of TeachingPopoverCarouselFooterButton
|
|
94
|
+
*/
|
|
95
|
+
export declare const renderTeachingPopoverCarouselFooterButton_unstable: (state: TeachingPopoverCarouselFooterButtonState) => JSX.Element;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Render the final JSX of TeachingPopoverCarouselNav
|
|
99
|
+
*/
|
|
100
|
+
export declare const renderTeachingPopoverCarouselNav_unstable: (state: TeachingPopoverCarouselNavState) => JSX.Element;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Render the final JSX of TeachingPopoverCarouselNavButton
|
|
104
|
+
*/
|
|
105
|
+
export declare const renderTeachingPopoverCarouselNavButton_unstable: (state: TeachingPopoverCarouselNavButtonState) => JSX.Element;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Render the final JSX of TeachingPopoverCarouselPageCount
|
|
109
|
+
*/
|
|
110
|
+
export declare const renderTeachingPopoverCarouselPageCount_unstable: (state: TeachingPopoverCarouselPageCountState) => JSX.Element;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Render the final JSX of TeachingPopoverFooter
|
|
114
|
+
*/
|
|
115
|
+
export declare const renderTeachingPopoverFooter_unstable: (state: TeachingPopoverFooterState) => JSX.Element;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Render the final JSX of TeachingPopoverHeader
|
|
119
|
+
*/
|
|
120
|
+
export declare const renderTeachingPopoverHeader_unstable: (state: TeachingPopoverHeaderState) => JSX.Element;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Render the final JSX of PopoverSurface
|
|
124
|
+
*/
|
|
125
|
+
export declare const renderTeachingPopoverSurface_unstable: (state: TeachingPopoverSurfaceState) => JSX.Element;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Render the final JSX of TeachingPopoverTitle
|
|
129
|
+
*/
|
|
130
|
+
export declare const renderTeachingPopoverTitle_unstable: (state: TeachingPopoverTitleState) => JSX.Element;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Render the final JSX of TeachingPopoverTrigger
|
|
134
|
+
*/
|
|
135
|
+
export declare const renderTeachingPopoverTrigger_unstable: (state: TeachingPopoverTriggerState) => ReactElement<any, string | JSXElementConstructor<any>> | null;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* An extension class of Popover which defaults to withArrow and FocusTrap enabled.
|
|
139
|
+
*/
|
|
140
|
+
export declare const TeachingPopover: React_2.FC<TeachingPopoverProps>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Define a styled TeachingPopoverBody, using the `useTeachingPopoverBody_unstable` and `useTeachingPopoverBodyStyles_unstable`
|
|
144
|
+
* hooks.
|
|
145
|
+
*
|
|
146
|
+
* TeachingPopoverBody is used to host content within a TeachingPopover, and provides a standardized media slot
|
|
147
|
+
*/
|
|
148
|
+
export declare const TeachingPopoverBody: ForwardRefComponent<TeachingPopoverBodyProps>;
|
|
149
|
+
|
|
150
|
+
export declare const teachingPopoverBodyClassNames: SlotClassNames<TeachingPopoverBodySlots>;
|
|
151
|
+
|
|
152
|
+
export declare type TeachingPopoverBodyProps = ComponentProps<TeachingPopoverBodySlots> & {
|
|
153
|
+
mediaLength?: 'short' | 'medium' | 'tall';
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
export declare type TeachingPopoverBodySlots = {
|
|
157
|
+
/**
|
|
158
|
+
* The element wrapping the buttons.
|
|
159
|
+
*/
|
|
160
|
+
root: NonNullable<Slot<'div'>>;
|
|
161
|
+
/**
|
|
162
|
+
* Optional Media Content.
|
|
163
|
+
*/
|
|
164
|
+
media?: Slot<'span'>;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
export declare type TeachingPopoverBodyState = ComponentState<TeachingPopoverBodySlots> & Required<Pick<TeachingPopoverBodyProps, 'mediaLength'>>;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Define a styled TeachingPopoverCarousel, using the `useTeachingPopoverCarousel_unstable` and `useTeachingPopoverCarouselStyles_unstable`
|
|
171
|
+
* hooks.
|
|
172
|
+
*
|
|
173
|
+
* TeachingPopoverCarousel injects context providers that are required for TeachingPopoverCarouselCard display and navigation functionality
|
|
174
|
+
*/
|
|
175
|
+
export declare const TeachingPopoverCarousel: ForwardRefComponent<TeachingPopoverCarouselProps>;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Define a styled TeachingPopoverCarouselCard, using the `useTeachingPopoverCarouselCard_unstable` and `useTeachingPopoverCarouselCardStyles_unstable`
|
|
179
|
+
* hooks.
|
|
180
|
+
*
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
export declare const TeachingPopoverCarouselCard: ForwardRefComponent<TeachingPopoverCarouselCardProps>;
|
|
184
|
+
|
|
185
|
+
export declare const teachingPopoverCarouselCardClassNames: SlotClassNames<TeachingPopoverCarouselCardSlots>;
|
|
186
|
+
|
|
187
|
+
export declare type TeachingPopoverCarouselCardProps = ComponentProps<TeachingPopoverCarouselCardSlots> & {
|
|
188
|
+
value: string;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export declare type TeachingPopoverCarouselCardSlots = {
|
|
192
|
+
/**
|
|
193
|
+
* The element wrapping the buttons.
|
|
194
|
+
*/
|
|
195
|
+
root: NonNullable<Slot<CarouselItemProps>>;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
export declare type TeachingPopoverCarouselCardState = ComponentState<TeachingPopoverCarouselCardSlots> & Required<Pick<TeachingPopoverCarouselCardProps, 'value'>>;
|
|
199
|
+
|
|
200
|
+
export declare const teachingPopoverCarouselClassNames: SlotClassNames<TeachingPopoverCarouselSlots>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Context shared between TeachingPopoverCarousel and its children components
|
|
204
|
+
*/
|
|
205
|
+
declare type TeachingPopoverCarouselContextValues = {
|
|
206
|
+
carousel: CarouselContextValue;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Define a styled TeachingPopoverCarouselFooter, using the `useTeachingPopoverCarouselFooter_unstable` and `useTeachingPopoverCarouselFooterStyles_unstable`
|
|
211
|
+
* hooks.
|
|
212
|
+
*
|
|
213
|
+
* TeachingPopoverCarouselFooter contains previous/next buttons configured for carousel navigation, and a root slot for page count and/or page index navigation.
|
|
214
|
+
*/
|
|
215
|
+
export declare const TeachingPopoverCarouselFooter: ForwardRefComponent<TeachingPopoverCarouselFooterProps>;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* TeachingPopoverCarouselFooterButton component
|
|
219
|
+
*
|
|
220
|
+
* TeachingPopoverCarouselFooterButton extends Button and injects additional styling and onClick functionality
|
|
221
|
+
* to match the context provided by TeachingPopover & TeachingPopoverCarousel
|
|
222
|
+
*/
|
|
223
|
+
export declare const TeachingPopoverCarouselFooterButton: ForwardRefComponent<TeachingPopoverCarouselFooterButtonProps>;
|
|
224
|
+
|
|
225
|
+
export declare const teachingPopoverCarouselFooterButtonClassNames: SlotClassNames<TeachingPopoverCarouselFooterButtonSlots>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* TeachingPopoverCarouselFooterButton Props
|
|
229
|
+
*/
|
|
230
|
+
export declare type TeachingPopoverCarouselFooterButtonProps = ComponentProps<TeachingPopoverCarouselFooterButtonSlots> & ButtonProps & {
|
|
231
|
+
/**
|
|
232
|
+
* Defines whether the button should be next or previous type - used for both styling and functionality.
|
|
233
|
+
*/
|
|
234
|
+
navType: 'next' | 'prev';
|
|
235
|
+
/**
|
|
236
|
+
* The ReactNode provided to the button when it is on it's first (navType 'prev') or last (navType 'next') step
|
|
237
|
+
*/
|
|
238
|
+
altText: ReactNode;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export declare type TeachingPopoverCarouselFooterButtonSlots = {
|
|
242
|
+
root: NonNullable<Slot<ARIAButtonSlotProps<'a'>>>;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* State used in rendering TeachingPopoverCarouselFooterButton
|
|
247
|
+
*/
|
|
248
|
+
export declare type TeachingPopoverCarouselFooterButtonState = ButtonState & ComponentState<TeachingPopoverCarouselFooterButtonSlots> & Pick<TeachingPopoverCarouselFooterButtonProps, 'navType' | 'altText'> & {
|
|
249
|
+
popoverAppearance: PopoverContextValue['appearance'];
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export declare const teachingPopoverCarouselFooterClassNames: SlotClassNames<TeachingPopoverCarouselFooterSlots>;
|
|
253
|
+
|
|
254
|
+
declare type TeachingPopoverCarouselFooterLayout = 'offset' | 'centered';
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* TeachingPopoverCarouselFooter Props
|
|
258
|
+
*/
|
|
259
|
+
export declare type TeachingPopoverCarouselFooterProps = ComponentProps<TeachingPopoverCarouselFooterSlots> & {
|
|
260
|
+
/**
|
|
261
|
+
* Controls whether buttons will be centered (balanced) or right aligned
|
|
262
|
+
* Defaults to 'centered'.
|
|
263
|
+
*/
|
|
264
|
+
layout?: TeachingPopoverCarouselFooterLayout;
|
|
265
|
+
/**
|
|
266
|
+
* The text to be displayed on the initial step of carousel
|
|
267
|
+
*/
|
|
268
|
+
initialStepText: string;
|
|
269
|
+
/**
|
|
270
|
+
* The text to be displayed on the final step of carousel
|
|
271
|
+
*/
|
|
272
|
+
finalStepText: string;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export declare type TeachingPopoverCarouselFooterSlots = {
|
|
276
|
+
/**
|
|
277
|
+
* The element wrapping carousel pages and navigation.
|
|
278
|
+
*/
|
|
279
|
+
root: NonNullable<Slot<'div'>>;
|
|
280
|
+
/**
|
|
281
|
+
* The previous button slot.
|
|
282
|
+
*/
|
|
283
|
+
previous?: Slot<TeachingPopoverCarouselFooterButtonProps>;
|
|
284
|
+
/**
|
|
285
|
+
* The next button slot.
|
|
286
|
+
*/
|
|
287
|
+
next: NonNullable<Slot<TeachingPopoverCarouselFooterButtonProps>>;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* TeachingPopoverCarouselFooter State and Context Hooks
|
|
292
|
+
*/
|
|
293
|
+
export declare type TeachingPopoverCarouselFooterState = ComponentState<Required<TeachingPopoverCarouselFooterSlots>> & Pick<TeachingPopoverCarouselFooterProps, 'layout'>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Define a styled TeachingPopoverCarouselNav, using the `useTeachingPopoverCarouselNav_unstable` and `useTeachingPopoverCarouselNavStyles_unstable`
|
|
297
|
+
* hooks.
|
|
298
|
+
*
|
|
299
|
+
* TeachingPopoverCarouselNav provides an index-based pagination list to jump to any page within the carousel.
|
|
300
|
+
*/
|
|
301
|
+
export declare const TeachingPopoverCarouselNav: ForwardRefComponent<TeachingPopoverCarouselNavProps>;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* TeachingPopoverCarouselNavButton is a button to jump to a single page within TeachingPopoverCarousel
|
|
305
|
+
*
|
|
306
|
+
* It's value is injected via context and must be wrapped with a ValueIdContextProvider (automatically handled via TeachingPopoverCarouselNav)
|
|
307
|
+
*/
|
|
308
|
+
export declare const TeachingPopoverCarouselNavButton: ForwardRefComponent<TeachingPopoverCarouselNavButtonProps>;
|
|
309
|
+
|
|
310
|
+
export declare const teachingPopoverCarouselNavButtonClassNames: SlotClassNames<TeachingPopoverCarouselNavButtonSlots>;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* TeachingPopoverCarouselNavButton Props
|
|
314
|
+
*/
|
|
315
|
+
export declare type TeachingPopoverCarouselNavButtonProps = ComponentProps<TeachingPopoverCarouselNavButtonSlots>;
|
|
316
|
+
|
|
317
|
+
export declare type TeachingPopoverCarouselNavButtonSlots = {
|
|
318
|
+
/**
|
|
319
|
+
* ARIA compliant nav buttons used to jump to pages
|
|
320
|
+
*/
|
|
321
|
+
root: NonNullable<Slot<ARIAButtonSlotProps<'a'>>>;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* TeachingPopoverCarouselNavButton State
|
|
326
|
+
*/
|
|
327
|
+
export declare type TeachingPopoverCarouselNavButtonState = ComponentState<TeachingPopoverCarouselNavButtonSlots> & {
|
|
328
|
+
/**
|
|
329
|
+
* Enables selection state control
|
|
330
|
+
*/
|
|
331
|
+
isSelected?: boolean;
|
|
332
|
+
} & Pick<PopoverContextValue, 'appearance'>;
|
|
333
|
+
|
|
334
|
+
export declare const teachingPopoverCarouselNavClassNames: SlotClassNames<TeachingPopoverCarouselNavSlots>;
|
|
335
|
+
|
|
336
|
+
export declare type TeachingPopoverCarouselNavProps = Omit<ComponentProps<Partial<TeachingPopoverCarouselNavSlots>>, 'children'> & {
|
|
337
|
+
children: NavButtonRenderFunction;
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
export declare type TeachingPopoverCarouselNavSlots = {
|
|
341
|
+
/**
|
|
342
|
+
* The element wrapping the carousel pagination. By default this is a div,
|
|
343
|
+
* it may contain icons or text depending on TeachingPopoverCarouselNavStyle
|
|
344
|
+
*/
|
|
345
|
+
root: NonNullable<Slot<'div'>>;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export declare type TeachingPopoverCarouselNavState = ComponentState<TeachingPopoverCarouselNavSlots> & {
|
|
349
|
+
values: string[];
|
|
350
|
+
renderNavButton: NavButtonRenderFunction;
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* TeachingPopoverCarouselPageCount is a simple interface for rendering based on current and total page count
|
|
355
|
+
*
|
|
356
|
+
* The child render function will provide both current and total page numbers for customization.
|
|
357
|
+
*/
|
|
358
|
+
export declare const TeachingPopoverCarouselPageCount: ForwardRefComponent<TeachingPopoverCarouselPageCountProps>;
|
|
359
|
+
|
|
360
|
+
export declare const teachingPopoverCarouselPageCountClassNames: SlotClassNames<TeachingPopoverCarouselPageCountSlots>;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* TeachingPopoverCarouselPageCount Props
|
|
364
|
+
*/
|
|
365
|
+
export declare type TeachingPopoverCarouselPageCountProps = Omit<ComponentProps<Partial<TeachingPopoverCarouselPageCountSlots>>, 'children'> & {
|
|
366
|
+
children: TeachingPopoverCarouselPageCountRenderFunction;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export declare type TeachingPopoverCarouselPageCountRenderFunction = (currentPage: number, totalPages: number) => React_2.ReactNode;
|
|
370
|
+
|
|
371
|
+
export declare type TeachingPopoverCarouselPageCountSlots = {
|
|
372
|
+
root: Slot<'div'>;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* State used in rendering TeachingPopoverCarouselPageCount
|
|
377
|
+
*/
|
|
378
|
+
export declare type TeachingPopoverCarouselPageCountState = ComponentState<TeachingPopoverCarouselPageCountSlots> & {
|
|
379
|
+
currentIndex: number;
|
|
380
|
+
totalPages: number;
|
|
381
|
+
renderPageCount: TeachingPopoverCarouselPageCountRenderFunction;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* TeachingPopoverCarousel Props
|
|
386
|
+
*/
|
|
387
|
+
export declare type TeachingPopoverCarouselProps = ComponentProps<TeachingPopoverCarouselSlots> & {
|
|
388
|
+
/**
|
|
389
|
+
* The initial page to display in uncontrolled mode.
|
|
390
|
+
*/
|
|
391
|
+
defaultValue?: string;
|
|
392
|
+
/**
|
|
393
|
+
* The value of the currently active page.
|
|
394
|
+
*/
|
|
395
|
+
value?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Callback to notify a page change.
|
|
398
|
+
*/
|
|
399
|
+
onValueChange?: EventHandler<CarouselValueChangeData>;
|
|
400
|
+
/**
|
|
401
|
+
* Callback to notify when the final button step of a carousel has been activated.
|
|
402
|
+
*/
|
|
403
|
+
onFinish?: EventHandler<CarouselValueChangeData>;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
export declare type TeachingPopoverCarouselSlots = {
|
|
407
|
+
/**
|
|
408
|
+
* The element wrapping carousel pages and navigation.
|
|
409
|
+
*/
|
|
410
|
+
root: NonNullable<Slot<'div'>>;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* TeachingPopoverCarousel State and Context Hooks
|
|
415
|
+
*/
|
|
416
|
+
export declare type TeachingPopoverCarouselState = ComponentState<Required<TeachingPopoverCarouselSlots>> & Partial<Pick<PopoverContextValue, 'appearance'>> & CarouselContextValue;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Define a styled TeachingPopoverFooter, using the `useTeachingPopoverFooter_unstable` and `useTeachingPopoverFooterStyles_unstable`
|
|
420
|
+
* hooks.
|
|
421
|
+
*
|
|
422
|
+
* TeachingPopoverFooter will provide both a secondary and primary button for the TeachingPopover,
|
|
423
|
+
* and handle Popover functionality such as closing the popup.
|
|
424
|
+
*
|
|
425
|
+
* Users must provide the localized text for each button within the footer via slots.
|
|
426
|
+
*/
|
|
427
|
+
export declare const TeachingPopoverFooter: ForwardRefComponent<TeachingPopoverFooterProps>;
|
|
428
|
+
|
|
429
|
+
export declare const teachingPopoverFooterClassNames: SlotClassNames<TeachingPopoverFooterSlots>;
|
|
430
|
+
|
|
431
|
+
export declare type TeachingPopoverFooterProps = ComponentProps<TeachingPopoverFooterSlots> & Pick<TeachingPopoverFooterState, 'footerLayout'>;
|
|
432
|
+
|
|
433
|
+
declare type TeachingPopoverFooterSlots = {
|
|
434
|
+
/**
|
|
435
|
+
* The element wrapping the buttons.
|
|
436
|
+
*/
|
|
437
|
+
root: NonNullable<Slot<'div'>>;
|
|
438
|
+
/**
|
|
439
|
+
* The primary button slot.
|
|
440
|
+
*/
|
|
441
|
+
primary: NonNullable<Slot<typeof Button>>;
|
|
442
|
+
/**
|
|
443
|
+
* The secondary button slot.
|
|
444
|
+
*/
|
|
445
|
+
secondary?: Slot<typeof Button>;
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export declare type TeachingPopoverFooterState = ComponentState<TeachingPopoverFooterSlots> & Pick<PopoverContextValue, 'appearance'> & {
|
|
449
|
+
/**
|
|
450
|
+
* Enables stylization to a horizontal or vertical stack of button layouts.
|
|
451
|
+
* Defaults to horizontal
|
|
452
|
+
*/
|
|
453
|
+
footerLayout?: 'horizontal' | 'vertical';
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Define a styled TeachingPopoverHeader, using the `useTeachingPopoverHeader_unstable` and `useTeachingPopoverHeaderStyles_unstable`
|
|
458
|
+
* hooks.
|
|
459
|
+
*
|
|
460
|
+
* TeachingPopoverHeader is an info subtitle located at the top of the popover, it provides a dismiss button by default (can be nulled)
|
|
461
|
+
* and an info-tip icon that can be overridden or removed, subtitle displayed will be the children elements of TeachingPopoverHeader.
|
|
462
|
+
*/
|
|
463
|
+
export declare const TeachingPopoverHeader: ForwardRefComponent<TeachingPopoverHeaderProps>;
|
|
464
|
+
|
|
465
|
+
export declare const teachingPopoverHeaderClassNames: SlotClassNames<TeachingPopoverHeaderSlots>;
|
|
466
|
+
|
|
467
|
+
export declare type TeachingPopoverHeaderProps = ComponentProps<TeachingPopoverHeaderSlots>;
|
|
468
|
+
|
|
469
|
+
export declare type TeachingPopoverHeaderSlots = {
|
|
470
|
+
/**
|
|
471
|
+
* The element wrapping the text and close button. By default this is an h3, but can be a div.
|
|
472
|
+
* Be sure to include role and aria heading level if div is used.
|
|
473
|
+
*/
|
|
474
|
+
root: Slot<'h3', 'h1' | 'h2' | 'h4' | 'h5' | 'h6' | 'div'>;
|
|
475
|
+
/**
|
|
476
|
+
* The component to be used as close button in heading
|
|
477
|
+
*/
|
|
478
|
+
dismissButton?: Slot<'button'>;
|
|
479
|
+
/**
|
|
480
|
+
* Initial icon slot rendered before children content in heading.
|
|
481
|
+
*/
|
|
482
|
+
icon?: Slot<'div'>;
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
export declare type TeachingPopoverHeaderState = ComponentState<TeachingPopoverHeaderSlots> & Pick<PopoverContextValue, 'appearance'>;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* TeachingPopover Props
|
|
489
|
+
*/
|
|
490
|
+
export declare type TeachingPopoverProps = PopoverProps;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* TeachingPopover State
|
|
494
|
+
*/
|
|
495
|
+
export declare type TeachingPopoverState = PopoverState;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* TeachingPopoverSurface component renders react children in a positioned box
|
|
499
|
+
*
|
|
500
|
+
* TeachingPopoverSurface is a direct extension of PopoverSurface, with it's own styling context hooks available.
|
|
501
|
+
*/
|
|
502
|
+
export declare const TeachingPopoverSurface: ForwardRefComponent<TeachingPopoverSurfaceProps>;
|
|
503
|
+
|
|
504
|
+
export declare const teachingPopoverSurfaceClassNames: SlotClassNames<TeachingPopoverSurfaceSlots>;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* TeachingPopoverSurface Props
|
|
508
|
+
*/
|
|
509
|
+
export declare type TeachingPopoverSurfaceProps = ComponentProps<TeachingPopoverSurfaceSlots>;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Names of the slots in TeachingPopoverSurface
|
|
513
|
+
*/
|
|
514
|
+
export declare type TeachingPopoverSurfaceSlots = PopoverSurfaceSlots;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* TeachingPopoverSurface State
|
|
518
|
+
*/
|
|
519
|
+
export declare type TeachingPopoverSurfaceState = PopoverSurfaceState;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Define a styled TeachingPopoverTitle, using the `useTeachingPopoverTitle_unstable` and `useTeachingPopoverTitleStyles_unstable`
|
|
523
|
+
* hooks.
|
|
524
|
+
*
|
|
525
|
+
* TeachingPopoverTitle is similar to TeachingPopoverHeader, but it is intended to be placed within a TeachingPopoverBody
|
|
526
|
+
* TeachingPopoverTitle can also optionally render a dismiss button, however this should only be enabled when there is no TeachingPopoverHeader/dismiss.
|
|
527
|
+
*/
|
|
528
|
+
export declare const TeachingPopoverTitle: ForwardRefComponent<TeachingPopoverTitleProps>;
|
|
529
|
+
|
|
530
|
+
export declare const teachingPopoverTitleClassNames: SlotClassNames<TeachingPopoverTitleSlots>;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* TeachingPopoverTitle Props
|
|
534
|
+
*/
|
|
535
|
+
export declare type TeachingPopoverTitleProps = ComponentProps<TeachingPopoverTitleSlots>;
|
|
536
|
+
|
|
537
|
+
export declare type TeachingPopoverTitleSlots = {
|
|
538
|
+
/**
|
|
539
|
+
* Title for teaching bubble
|
|
540
|
+
*/
|
|
541
|
+
root: Slot<'h2', 'h1' | 'h3' | 'h4' | 'h5' | 'h6' | 'div'>;
|
|
542
|
+
/**
|
|
543
|
+
* An alternate close button path if not placed in the TeachingPopoverHeader
|
|
544
|
+
*/
|
|
545
|
+
dismissButton?: Slot<'button'>;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* State used in rendering TeachingPopoverTitle
|
|
550
|
+
*/
|
|
551
|
+
export declare type TeachingPopoverTitleState = ComponentState<TeachingPopoverTitleSlots> & Pick<PopoverContextValue, 'appearance'>;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Direct extension of PopoverTrigger - Wraps a trigger element as an only child and adds the necessary event handling to open a teaching bubble.
|
|
555
|
+
*/
|
|
556
|
+
export declare const TeachingPopoverTrigger: React_2.FC<TeachingPopoverTriggerProps>;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Props that are passed to the child of the DialogTrigger when cloned to ensure correct behavior for the Dialog
|
|
560
|
+
*/
|
|
561
|
+
export declare type TeachingPopoverTriggerChildProps = PopoverTriggerChildProps;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* TeachingPopoverTrigger Props
|
|
565
|
+
*/
|
|
566
|
+
export declare type TeachingPopoverTriggerProps = PopoverTriggerProps;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* TeachingPopoverTrigger State
|
|
570
|
+
*/
|
|
571
|
+
export declare type TeachingPopoverTriggerState = PopoverTriggerState;
|
|
572
|
+
|
|
573
|
+
export declare const useTeachingPopover_unstable: (props: TeachingPopoverProps) => TeachingPopoverState;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Returns the props and state required to render the component
|
|
577
|
+
* @param props - TeachingPopoverBody properties
|
|
578
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverBody
|
|
579
|
+
*/
|
|
580
|
+
export declare const useTeachingPopoverBody_unstable: (props: TeachingPopoverBodyProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverBodyState;
|
|
581
|
+
|
|
582
|
+
/** Applies style classnames to slots */
|
|
583
|
+
export declare const useTeachingPopoverBodyStyles_unstable: (state: TeachingPopoverBodyState) => TeachingPopoverBodyState;
|
|
584
|
+
|
|
585
|
+
export declare const useTeachingPopoverCarousel_unstable: (props: TeachingPopoverCarouselProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverCarouselState;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Returns the props and state required to render the component
|
|
589
|
+
* @param props - TeachingPopoverCarouselCard properties
|
|
590
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverCarouselCard
|
|
591
|
+
*/
|
|
592
|
+
export declare const useTeachingPopoverCarouselCard_unstable: (props: TeachingPopoverCarouselCardProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverCarouselCardState;
|
|
593
|
+
|
|
594
|
+
/** Applies style classnames to slots */
|
|
595
|
+
export declare const useTeachingPopoverCarouselCardStyles_unstable: (state: TeachingPopoverCarouselCardState) => TeachingPopoverCarouselCardState;
|
|
596
|
+
|
|
597
|
+
export declare function useTeachingPopoverCarouselContextValues_unstable(state: TeachingPopoverCarouselState): TeachingPopoverCarouselContextValues;
|
|
598
|
+
|
|
599
|
+
export declare const useTeachingPopoverCarouselFooter_unstable: (props: TeachingPopoverCarouselFooterProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverCarouselFooterState;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Create the state required to render TeachingPopoverCarouselFooterButton.
|
|
603
|
+
*
|
|
604
|
+
* The returned state can be modified with hooks such as useTeachingPopoverCarouselFooterButtonStyles_unstable,
|
|
605
|
+
* before being passed to renderTeachingPopoverCarouselFooterButton_unstable.
|
|
606
|
+
*
|
|
607
|
+
* @param props - props from this instance of TeachingPopoverCarouselFooterButton
|
|
608
|
+
* @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselFooterButton
|
|
609
|
+
*/
|
|
610
|
+
export declare const useTeachingPopoverCarouselFooterButton_unstable: (props: TeachingPopoverCarouselFooterButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => TeachingPopoverCarouselFooterButtonState;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Apply styling to the TeachingPopoverCarouselFooterButton slots based on the state
|
|
614
|
+
*/
|
|
615
|
+
export declare const useTeachingPopoverCarouselFooterButtonStyles_unstable: (state: TeachingPopoverCarouselFooterButtonState) => TeachingPopoverCarouselFooterButtonState;
|
|
616
|
+
|
|
617
|
+
/** Applies style classnames to slots */
|
|
618
|
+
export declare const useTeachingPopoverCarouselFooterStyles_unstable: (state: TeachingPopoverCarouselFooterState) => TeachingPopoverCarouselFooterState;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Returns the props and state required to render the component
|
|
622
|
+
* @param props - TeachingPopoverCarouselNav properties
|
|
623
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverCarouselNav
|
|
624
|
+
*/
|
|
625
|
+
export declare const useTeachingPopoverCarouselNav_unstable: (props: TeachingPopoverCarouselNavProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverCarouselNavState;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Create the state required to render TeachingPopoverCarouselNavButton.
|
|
629
|
+
*
|
|
630
|
+
* The returned state can be modified with hooks such as useTeachingPopoverCarouselNavButtonStyles_unstable,
|
|
631
|
+
* before being passed to renderTeachingPopoverCarouselNavButton_unstable.
|
|
632
|
+
*
|
|
633
|
+
* @param props - props from this instance of TeachingPopoverCarouselNavButton
|
|
634
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverCarouselNavButton
|
|
635
|
+
*/
|
|
636
|
+
export declare const useTeachingPopoverCarouselNavButton_unstable: (props: TeachingPopoverCarouselNavButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => TeachingPopoverCarouselNavButtonState;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Apply styling to the TeachingPopoverCarouselNavButton slots based on the state
|
|
640
|
+
*/
|
|
641
|
+
export declare const useTeachingPopoverCarouselNavButtonStyles_unstable: (state: TeachingPopoverCarouselNavButtonState) => TeachingPopoverCarouselNavButtonState;
|
|
642
|
+
|
|
643
|
+
/** Applies style classnames to slots */
|
|
644
|
+
export declare const useTeachingPopoverCarouselNavStyles_unstable: (state: TeachingPopoverCarouselNavState) => TeachingPopoverCarouselNavState;
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Create the state required to render TeachingPopoverCarouselPageCount.
|
|
648
|
+
*
|
|
649
|
+
* The returned state can be modified with hooks such as useTeachingPopoverCarouselPageCountStyles_unstable,
|
|
650
|
+
* before being passed to renderTeachingPopoverCarouselPageCount_unstable.
|
|
651
|
+
*
|
|
652
|
+
* @param props - props from this instance of TeachingPopoverCarouselPageCount
|
|
653
|
+
* @param ref - reference to root HTMLDivElement of TeachingPopoverCarouselPageCount
|
|
654
|
+
*/
|
|
655
|
+
export declare const useTeachingPopoverCarouselPageCount_unstable: (props: TeachingPopoverCarouselPageCountProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverCarouselPageCountState;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Apply styling to the TeachingPopoverCarouselPageCount slots based on the state
|
|
659
|
+
*/
|
|
660
|
+
export declare const useTeachingPopoverCarouselPageCountStyles_unstable: (state: TeachingPopoverCarouselPageCountState) => TeachingPopoverCarouselPageCountState;
|
|
661
|
+
|
|
662
|
+
/** Applies style classnames to slots */
|
|
663
|
+
export declare const useTeachingPopoverCarouselStyles_unstable: (state: TeachingPopoverCarouselState) => TeachingPopoverCarouselState;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Returns the props and state required to render the component
|
|
667
|
+
* @param props - TeachingPopoverFooter properties
|
|
668
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverFooter
|
|
669
|
+
*/
|
|
670
|
+
export declare const useTeachingPopoverFooter_unstable: (props: TeachingPopoverFooterProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverFooterState;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Returns the props and state required to render the component
|
|
674
|
+
* @param props - TeachingPopoverHeader properties
|
|
675
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverHeader
|
|
676
|
+
*/
|
|
677
|
+
export declare const useTeachingPopoverHeader_unstable: (props: TeachingPopoverHeaderProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverHeaderState;
|
|
678
|
+
|
|
679
|
+
/** Applies style classnames to slots */
|
|
680
|
+
export declare const useTeachingPopoverHeaderStyles_unstable: (state: TeachingPopoverHeaderState) => TeachingPopoverHeaderState;
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Create the state required to render TeachingPopoverSurface.
|
|
684
|
+
*
|
|
685
|
+
* The returned state can be modified with hooks such as useTeachingPopoverSurfaceStyles_unstable,
|
|
686
|
+
* before being passed to renderTeachingPopoverSurface_unstable.
|
|
687
|
+
*
|
|
688
|
+
* @param props - props from this instance of TeachingPopoverSurface
|
|
689
|
+
* @param ref - reference to root HTMLDivElement of TeachingPopoverSurface
|
|
690
|
+
*/
|
|
691
|
+
export declare const useTeachingPopoverSurface_unstable: (props: TeachingPopoverSurfaceProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverSurfaceState;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Apply styling to the TeachingPopoverSurface slots based on the state
|
|
695
|
+
*/
|
|
696
|
+
export declare const useTeachingPopoverSurfaceStyles_unstable: (state: TeachingPopoverSurfaceState) => TeachingPopoverSurfaceState;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Returns the props and state required to render the component
|
|
700
|
+
* @param props - TeachingPopoverTitle properties
|
|
701
|
+
* @param ref - reference to root HTMLElement of TeachingPopoverTitle
|
|
702
|
+
*/
|
|
703
|
+
export declare const useTeachingPopoverTitle_unstable: (props: TeachingPopoverTitleProps, ref: React_2.Ref<HTMLDivElement>) => TeachingPopoverTitleState;
|
|
704
|
+
|
|
705
|
+
/** Applies style classnames to slots */
|
|
706
|
+
export declare const useTeachingPopoverTitleStyles_unstable: (state: TeachingPopoverTitleState) => TeachingPopoverTitleState;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Create the state required to render TeachingPopoverTrigger.
|
|
710
|
+
*
|
|
711
|
+
* @param props - props from this instance of TeachingPopoverTrigger
|
|
712
|
+
*/
|
|
713
|
+
export declare const useTeachingPopoverTrigger_unstable: (props: TeachingPopoverTriggerProps) => TeachingPopoverTriggerState;
|
|
714
|
+
|
|
715
|
+
export { }
|