@spothero/ui 14.3.4-beta.1 → 14.3.4
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 +1 -14
- package/CHANGELOG.tmp +1 -9
- package/package.json +1 -1
- package/styles/v2/components/ImageCarousel/ImageCarousel.jsx +1 -2
- package/v1/index-bundled.cjs.js +1 -1
- package/v1/index-bundled.cjs.js.map +1 -1
- package/v1/index-bundled.esm.js +1 -1
- package/v1/index-bundled.esm.js.map +1 -1
- package/v1/index-unbundled.cjs.js +35 -35
- package/v1/index-unbundled.esm.js +35 -35
- package/v2/index-bundled.cjs.js +1 -1
- package/v2/index-bundled.cjs.js.map +1 -1
- package/v2/index-bundled.esm.js +3 -3
- package/v2/index-bundled.esm.js.map +1 -1
- package/v2/index-unbundled.cjs.js +149 -150
- package/v2/index-unbundled.cjs.js.map +1 -1
- package/v2/index-unbundled.esm.js +149 -150
- package/v2/index-unbundled.esm.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
# 14.3.4
|
|
2
|
-
|
|
3
|
-
## Miscellaneous Updates
|
|
4
|
-
* [[629fd70](https://github.com/spothero/fe-ui/commit/629fd70)] - `fix:` Try passing Button as prop (Gru Singh)
|
|
5
|
-
* [[18ee171](https://github.com/spothero/fe-ui/commit/18ee171)] - `refactor:` Add controls to container stories ([#280](https://github.com/spothero/fe-ui/pull/280)) (annaliarosed)
|
|
6
|
-
* `refactor:` Add controls to Container stories
|
|
7
|
-
* `refactor:` Extract all colors to utils
|
|
8
|
-
* `refactor:` Extract get all sizes to utils and use it in container stories
|
|
9
|
-
* `fix:` Remove unused importsCo-authored-by: Annalia Destefano <annalia.destefano@spothero.com>
|
|
10
|
-
|
|
11
|
-
# 14.3.4-beta.0 - 04/11/2022
|
|
12
|
-
|
|
13
|
-
## Miscellaneous Updates
|
|
14
|
-
* [[016347f](https://github.com/spothero/fe-ui/commit/016347f)] - `fix:` Use relative path for Button inorder to fix build issue in consumer (Gru Singh)
|
|
1
|
+
# 14.3.4 - 04/11/2022
|
|
15
2
|
|
|
16
3
|
# 14.3.3 - 04/07/2022
|
|
17
4
|
|
package/CHANGELOG.tmp
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
# 14.3.4
|
|
2
|
-
|
|
3
|
-
## Miscellaneous Updates
|
|
4
|
-
* [[629fd70](https://github.com/spothero/fe-ui/commit/629fd70)] - `fix:` Try passing Button as prop (Gru Singh)
|
|
5
|
-
* [[18ee171](https://github.com/spothero/fe-ui/commit/18ee171)] - `refactor:` Add controls to container stories ([#280](https://github.com/spothero/fe-ui/pull/280)) (annaliarosed)
|
|
6
|
-
* `refactor:` Add controls to Container stories
|
|
7
|
-
* `refactor:` Extract all colors to utils
|
|
8
|
-
* `refactor:` Extract get all sizes to utils and use it in container stories
|
|
9
|
-
* `fix:` Remove unused importsCo-authored-by: Annalia Destefano <annalia.destefano@spothero.com>
|
|
1
|
+
# 14.3.4 - 04/11/2022
|
|
10
2
|
|
package/package.json
CHANGED
|
@@ -4,12 +4,11 @@ import {Box} from '@chakra-ui/react';
|
|
|
4
4
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
5
5
|
import IconChevronLeft from '@spothero/icons/chevron-left';
|
|
6
6
|
import IconChevronRight from '@spothero/icons/chevron-right';
|
|
7
|
-
import
|
|
7
|
+
import Button from 'v2/components/Button/Button';
|
|
8
8
|
|
|
9
9
|
const ImageCarousel = ({images, width, height, ...props}) => {
|
|
10
10
|
const imgWidth = width ? `${width}rem` : '100%';
|
|
11
11
|
const imgHeight = `${height}rem`;
|
|
12
|
-
const Button = props.Button || V2Button;
|
|
13
12
|
|
|
14
13
|
const [viewportRef, embla] = useEmblaCarousel({
|
|
15
14
|
skipSnaps: false,
|