@atom-learning/components 1.19.0 → 1.20.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 +8 -26
- package/dist/components/carousel/Carousel.d.ts +2 -1
- package/dist/components/carousel/Carousel.js +1 -1
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/dialog/Dialog.js +1 -1
- package/dist/components/table/TableBody.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,37 +1,19 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.20.0](https://github.com/Atom-Learning/components/compare/v1.19.0...v1.20.0) (2022-07-14)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* add
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* extract sub-components ([1cbc7c8](https://github.com/Atom-Learning/components/commit/1cbc7c8feab5b6a2f3d0822a0c6794c5b5dd896a))
|
|
12
|
-
* prevent calling onStepChange for controlled component ([3413ca8](https://github.com/Atom-Learning/components/commit/3413ca82f9aab994e6728951b7d219ee020eaa38))
|
|
13
|
-
* remove invalid aria attribute ([a2463c1](https://github.com/Atom-Learning/components/commit/a2463c1572c34a4ff70a0722840f89bb3b8d2e4e))
|
|
14
|
-
* remove unnecessary step ([27ba9b3](https://github.com/Atom-Learning/components/commit/27ba9b36f6544a55957486981277a28edd75e6dd))
|
|
15
|
-
* rename similarly named component ([3a0e700](https://github.com/Atom-Learning/components/commit/3a0e70009d29e69f36f364b5ef468ae8f7713166))
|
|
16
|
-
* replace normal status name to default ([3e38829](https://github.com/Atom-Learning/components/commit/3e38829d526cc3567a39db684d0899ced8816833))
|
|
17
|
-
* replace orientation in api with direction ([abc5831](https://github.com/Atom-Learning/components/commit/abc583147dad98fa50ba5de0b939be7749afb571))
|
|
18
|
-
* replaced hardcoded strings with enums ([4ba4c76](https://github.com/Atom-Learning/components/commit/4ba4c76b07102adbc7a6ef1ee7ffbfad73949d49))
|
|
19
|
-
* replaced with size key to remove unnecessary styles ([2152f38](https://github.com/Atom-Learning/components/commit/2152f388325f30dd77bfa76731926da87d84a4cc))
|
|
20
|
-
* revert to initial changes ([7867714](https://github.com/Atom-Learning/components/commit/7867714e373fef8f77e2df42e397a0f9999d5a22))
|
|
21
|
-
* update documentation ([65ddcda](https://github.com/Atom-Learning/components/commit/65ddcda5312a537e04317892a0ea300f9b0c6aa5))
|
|
22
|
-
* update provider stepCount type to be required ([1464571](https://github.com/Atom-Learning/components/commit/146457113121e19b79614f8f3683e404602597bc))
|
|
23
|
-
* update test, remove data-testid ([67849ed](https://github.com/Atom-Learning/components/commit/67849ed0b8e23715beb8db813ebc3571370e71f3))
|
|
24
|
-
* update types, labels and names for variants and functions ([397c58f](https://github.com/Atom-Learning/components/commit/397c58f7a8548ee1b44bdb265b81883bfdd5cfcf))
|
|
25
|
-
* updated snapshot test ([221a802](https://github.com/Atom-Learning/components/commit/221a80294ebd67010f8f309f37c407ce3fb261dc))
|
|
26
|
-
* updated types to prevent type repetition ([551cf36](https://github.com/Atom-Learning/components/commit/551cf369c441256ce489ad627804246d58b0489e))
|
|
27
|
-
* updated with component variants and required styles ([db05c28](https://github.com/Atom-Learning/components/commit/db05c2851521a996b37939e8d398d5a77baea71f))
|
|
28
|
-
* updated with generic copy ([11264d6](https://github.com/Atom-Learning/components/commit/11264d6e7ef0d8ec1a9ad0bef6c8668842d5b966))
|
|
29
|
-
* updated with optional props for controlled/uncontrolled components ([e44984a](https://github.com/Atom-Learning/components/commit/e44984a65bb1c22d9382e31305bb927396742bc1))
|
|
6
|
+
* add deploy script, remove version in nav ([39b0640](https://github.com/Atom-Learning/components/commit/39b06406c374b1c7316edcad2d7d76ef1ed1c388))
|
|
7
|
+
* deploy script name ([1d76584](https://github.com/Atom-Learning/components/commit/1d765841fef528d0a77d005fa926743e57c62a53))
|
|
8
|
+
* remove commented code ([ae655ae](https://github.com/Atom-Learning/components/commit/ae655ae18a7efa6ce3a6b0ab8ef2570dafce41bb))
|
|
9
|
+
* remove typechecking on flaky files ([523af15](https://github.com/Atom-Learning/components/commit/523af15868ec1fb060aaecd22a6614c9bcbb166d))
|
|
10
|
+
* version reference in components page ([89f0624](https://github.com/Atom-Learning/components/commit/89f062462521487274424748c95303925667212d))
|
|
30
11
|
|
|
31
12
|
|
|
32
13
|
### Features
|
|
33
14
|
|
|
34
|
-
* add
|
|
15
|
+
* add up to date version with Badge, fix SPA routing ([00fddc0](https://github.com/Atom-Learning/components/commit/00fddc076603c988e608be882813c616c0647bf3))
|
|
16
|
+
* pass CarouselProviderProps from Carousel onto CarouselProvider ([32d4a12](https://github.com/Atom-Learning/components/commit/32d4a12ba8a774d0eb0714de2eddb8111c317f46))
|
|
35
17
|
|
|
36
18
|
# [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
|
|
37
19
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CarouselProvider } from 'pure-react-carousel';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { CSSWrapper } from '../../utilities';
|
|
3
4
|
import { CarouselArrowNext, CarouselArrowPrevious } from './CarouselArrows';
|
|
@@ -16,7 +17,7 @@ declare type CarouselSubComponents = {
|
|
|
16
17
|
Slide: typeof CarouselSlide;
|
|
17
18
|
Slider: typeof CarouselSlider;
|
|
18
19
|
};
|
|
19
|
-
export declare const Carousel: React.FC<CarouselProps & React.ComponentProps<typeof CSSWrapper>> & CarouselSubComponents;
|
|
20
|
+
export declare const Carousel: React.FC<CarouselProps & Omit<React.ComponentProps<typeof CarouselProvider>, 'naturalSlideWidth' | 'naturalSlideHeight' | 'totalSlides'> & React.ComponentProps<typeof CSSWrapper>> & CarouselSubComponents;
|
|
20
21
|
/**
|
|
21
22
|
* Documentation about the hook usage
|
|
22
23
|
* https://github.com/express-labs/pure-react-carousel#hooks-and-usecontext
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CarouselProvider as
|
|
1
|
+
import{CarouselProvider as m,CarouselContext as u}from"pure-react-carousel";import*as e from"react";import{CarouselArrowNext as d,CarouselArrowPrevious as n}from"./CarouselArrows.js";import{CarouselPagination as C}from"./CarouselPagination.js";import{CarouselSlide as p}from"./CarouselSlide.js";import{CarouselSlider as S}from"./CarouselSlider.js";import{CSSWrapper as f}from"../../utilities/css-wrapper/CSSWrapper.js";const r=({children:o,css:i,slideHeight:t,slideWidth:l,numSlides:a,...s})=>e.createElement(f,{css:i},e.createElement(m,{naturalSlideWidth:l,naturalSlideHeight:t,totalSlides:a,...s},o)),c=()=>e.useContext(u);r.ArrowNext=d,r.ArrowPrevious=n,r.Pagination=C,r.Slide=p,r.Slider=S,r.displayName="Carousel";export{r as Carousel,c as useCarousel};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Description, Title, Trigger } from '@radix-ui/react-dialog';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import { DialogBackground } from './DialogBackground';
|
|
3
4
|
import { DialogClose } from './DialogClose';
|
|
4
5
|
import { DialogContent } from './DialogContent';
|
|
5
|
-
import { DialogBackground } from './DialogBackground';
|
|
6
6
|
declare const StyledDialog: import("@stitches/react/types/styled-component").StyledComponent<React.FC<import("@radix-ui/react-dialog").DialogProps>, {}, {
|
|
7
7
|
sm: string;
|
|
8
8
|
md: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Root as t,Description as i,Title as e,Trigger as m}from"@radix-ui/react-dialog";import*as l from"react";import{styled as a}from"../../stitches.js";import{
|
|
1
|
+
import{Root as t,Description as i,Title as e,Trigger as m}from"@radix-ui/react-dialog";import*as l from"react";import{styled as a}from"../../stitches.js";import{DialogBackground as g}from"./DialogBackground.js";import{DialogClose as n}from"./DialogClose.js";import{DialogContent as p}from"./DialogContent.js";const s=a(t,{}),o=r=>l.createElement(s,{...r});o.Background=g,o.Close=n,o.Content=p,o.Description=i,o.Title=e,o.Trigger=m,o.displayName="Dialog";export{o as Dialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import*as r from"react";import{styled as d}from"../../stitches.js";import{TableRow as i}from"./TableRow.js";const a=d("tbody",{variants:{striped:{true:{[`${i}`]:{"&:nth-child(odd)":{bg:"white"},"&:nth-child(even)":{bg:"$tonal50"}}},false:{bg:"white"}}}}),t=({striped:e=!0,...o})=>r.createElement(a,{striped:e,...o});t.displayName="TableBody";export{t as TableBody};
|