diff --git a/.changeset/thick-pumas-guess.md b/.changeset/thick-pumas-guess.md deleted file mode 100644 index 447eba2d015..00000000000 --- a/.changeset/thick-pumas-guess.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@aws-amplify/ui-react": patch ---- - -fix: update complex field components (TextField, TextAreaField, etc) to apply absolute positioning from Figma - -Figma to Studio integration will absolutely position components when autolayout is not enabled in Figma. This causes an issue for field components that were passing position, top, and left, and padding down to the input element, causing the layout not to match Figma. This is fixed by moving the absolute position props and padding up to the container Flex element. diff --git a/docs/package.json b/docs/package.json index 1b128740772..d6b616c61bb 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,7 +16,7 @@ "test": "$_ run build" }, "dependencies": { - "@aws-amplify/ui-react": "2.10.1", + "@aws-amplify/ui-react": "2.10.2", "@codesandbox/sandpack-react": "0.1.9", "@cucumber/gherkin": "^19.0.3", "@cucumber/messages": "^16.0.1", diff --git a/examples/next/package.json b/examples/next/package.json index 21a12ed0893..f6a73ae3d75 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -10,7 +10,7 @@ "lint": "next lint" }, "dependencies": { - "@aws-amplify/ui-react": "^2.10.1", + "@aws-amplify/ui-react": "^2.10.2", "@types/node": "^15.12.4", "@types/react": "^17.0.11", "next": "^11.1.3", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 012a841244f..3dd946e1ce6 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @aws-amplify/ui-react +## 2.10.2 + +### Patch Changes + +- [#1530](https://github.com/aws-amplify/amplify-ui/pull/1530) [`3a8925b76`](https://github.com/aws-amplify/amplify-ui/commit/3a8925b7682de67cb790cb6739cfb15ffb866b18) Thanks [@reesscot](https://github.com/reesscot)! - fix: update complex field components (TextField, TextAreaField, etc) to apply absolute positioning from Figma + + Figma to Studio integration will absolutely position components when autolayout is not enabled in Figma. This causes an issue for field components that were passing position, top, and left, and padding down to the input element, causing the layout not to match Figma. This is fixed by moving the absolute position props and padding up to the container Flex element. + ## 2.10.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index a736756d2f8..601a654fefa 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@aws-amplify/ui-react", - "version": "2.10.1", + "version": "2.10.2", "main": "dist/index.js", "module": "dist/esm/index.js", "exports": {