@atom-learning/components 1.7.6 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -7
- package/dist/components/carousel/Carousel.d.ts +5 -0
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/carousel/index.d.ts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/Carousel.mdx +51 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
## [1.7.6](https://github.com/Atom-Learning/components/compare/v1.7.5...v1.7.6) (2022-04-14)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* setting modal content and overlay z-index so it appears correctly on top of other components ([58bb6d5](https://github.com/Atom-Learning/components/commit/58bb6d5ef40328516ed03c52766e4fee972df802))
|
|
7
|
-
|
|
8
1
|
# [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
|
|
9
2
|
|
|
10
3
|
|
|
@@ -17,4 +17,9 @@ declare type CarouselSubComponents = {
|
|
|
17
17
|
Slider: typeof CarouselSlider;
|
|
18
18
|
};
|
|
19
19
|
export declare const Carousel: React.FC<CarouselProps & React.ComponentProps<typeof CSSWrapper>> & CarouselSubComponents;
|
|
20
|
+
/**
|
|
21
|
+
* Documentation about the hook usage
|
|
22
|
+
* https://github.com/express-labs/pure-react-carousel#hooks-and-usecontext
|
|
23
|
+
*/
|
|
24
|
+
export declare const useCarousel: () => import("pure-react-carousel").CarouselStoreInterface;
|
|
20
25
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CarouselProvider as
|
|
1
|
+
import{CarouselProvider as s,CarouselContext as u}from"pure-react-carousel";import{createElement as o,useContext as m}from"react";import{CarouselArrowNext as C,CarouselArrowPrevious as n}from"./CarouselArrows.js";import{CarouselPagination as p}from"./CarouselPagination.js";import{CarouselSlide as d}from"./CarouselSlide.js";import{CarouselSlider as S}from"./CarouselSlider.js";import{CSSWrapper as f}from"../../utilities/css-wrapper/CSSWrapper.js";const r=({children:e,css:t,slideHeight:i,slideWidth:a,numSlides:l})=>o(f,{css:t},o(s,{naturalSlideWidth:a,naturalSlideHeight:i,totalSlides:l},e)),x=()=>m(u);r.ArrowNext=C,r.ArrowPrevious=n,r.Pagination=p,r.Slide=d,r.Slider=S,r.displayName="Carousel";export{r as Carousel,x as useCarousel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Carousel } from './Carousel';
|
|
1
|
+
export { Carousel, useCarousel } from './Carousel';
|
|
@@ -4,7 +4,7 @@ export { ActionIcon } from './action-icon';
|
|
|
4
4
|
export { AlertDialog, useAlert, AlertProvider } from './alert-dialog';
|
|
5
5
|
export { Box } from './box';
|
|
6
6
|
export { Button, StyledButton } from './button';
|
|
7
|
-
export { Carousel } from './carousel';
|
|
7
|
+
export { Carousel, useCarousel } from './carousel';
|
|
8
8
|
export { Checkbox } from './checkbox';
|
|
9
9
|
export { CheckboxField } from './checkbox-field';
|
|
10
10
|
export { Combobox } from './combobox';
|