Skip to content

Commit 04d1022

Browse files
committed
Add ChangeLog; fix issues running build:release
1 parent 6187f7f commit 04d1022

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
### Removed
1717

1818
### Changed
19+
- Add support for React 19.
20+
- Migrate storybook to v8.
21+
- Migrate Jest to v29.
22+
- Rewrite PopOver component using floating-ui
1923

2024
### Fixed
2125

src/components/ui/icons/Arrow/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ interface ArrowProps extends SvgProps {
2323
const StyledArrow = styled(Svg).withConfig(defaultStyledConfig)<ArrowProps>`
2424
transform: ${({ direction }) =>
2525
`rotate(${dirTransform[direction || 'up']}deg)`};
26+
transform-origin: center;
2627
`;
2728

2829
export const Arrow: React.FC<React.PropsWithChildren<ArrowProps>> = ({
@@ -31,7 +32,6 @@ export const Arrow: React.FC<React.PropsWithChildren<ArrowProps>> = ({
3132
}) => (
3233
<StyledArrow direction={direction} {...rest}>
3334
<path
34-
transform-origin="center"
3535
d="M16.85 10.53l-4.495-4.39c-.094-.09-.214-.132-.335-.136C12.013 6.003 12.007 6 12 6c-.006 0-.012.003-.02.004-.12.004-.24.047-.334.137L7.15 10.53c-.197.193-.201.51-.008.707.098.1.228.15.357.15.126 0 .252-.046.35-.141l3.646-3.56v9.812c0 .277.223.5.5.5.276 0 .5-.223.5-.5V7.677l3.655 3.57c.097.095.223.142.349.142.13 0 .26-.05.358-.151.193-.197.189-.514-.008-.707"
3636
/>
3737
</StyledArrow>

src/components/ui/icons/Caret/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface CaretProps extends SvgProps {
2424
const StyledCaret = styled(Svg).withConfig(defaultStyledConfig)<CaretProps>`
2525
transform: ${({ direction }) =>
2626
`rotate(${dirTransform[direction || 'up']}deg)`};
27+
transform-origin: center;
2728
`;
2829

2930
export const Caret: React.FC<React.PropsWithChildren<CaretProps>> = ({
@@ -33,7 +34,6 @@ export const Caret: React.FC<React.PropsWithChildren<CaretProps>> = ({
3334
return (
3435
<StyledCaret direction={direction} {...rest}>
3536
<path
36-
transform-origin="center"
3737
d="M8.824 13.88c-.21.18-.526.154-.705-.056-.159-.187-.156-.457-.006-.64l.063-.065 3.523-3c.165-.14.397-.156.577-.05l.074.052 3.477 3c.209.18.232.497.052.706-.16.185-.428.224-.632.104l-.074-.052-3.151-2.72-3.198 2.722z"
3838
/>
3939
</StyledCaret>

src/theme/themes.stories.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
import React from 'react';
25
import type { Meta, StoryObj } from '@storybook/react';
36
import { ThemeProvider } from 'styled-components';

0 commit comments

Comments
 (0)