File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ interface ArrowProps extends SvgProps {
2323const StyledArrow = styled ( Svg ) . withConfig ( defaultStyledConfig ) < ArrowProps > `
2424 transform: ${ ( { direction } ) =>
2525 `rotate(${ dirTransform [ direction || 'up' ] } deg)` } ;
26+ transform-origin: center;
2627` ;
2728
2829export 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 >
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ interface CaretProps extends SvgProps {
2424const StyledCaret = styled ( Svg ) . withConfig ( defaultStyledConfig ) < CaretProps > `
2525 transform: ${ ( { direction } ) =>
2626 `rotate(${ dirTransform [ direction || 'up' ] } deg)` } ;
27+ transform-origin: center;
2728` ;
2829
2930export 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 >
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ // SPDX-License-Identifier: Apache-2.0
3+
14import React from 'react' ;
25import type { Meta , StoryObj } from '@storybook/react' ;
36import { ThemeProvider } from 'styled-components' ;
You can’t perform that action at this time.
0 commit comments