diff --git a/CHANGELOG.md b/CHANGELOG.md
index 16ed9d0134..19487dd665 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+### Features
+
+- **odyssey-react:** add resize prop to TextArea ([9e71ba0](https://github.com/okta/odyssey/commit/9e71ba0f42ad6bc43f886cccf4bead45e6ae1fd0))
+
+### Bug Fixes
+
+- improve class name hashing ([a22e295](https://github.com/okta/odyssey/commit/a22e295a254100c0fefdd48ac21d00caf2b36c2b))
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
### Features
diff --git a/lerna.json b/lerna.json
index ffd271f59a..3c03b9816e 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "0.9.1",
+ "version": "0.9.2",
"npmClient": "yarn",
"changelogPreset": "@okta/conventional-changelog-odyssey",
"useWorkspaces": true,
diff --git a/packages/browserslist-config-odyssey/CHANGELOG.md b/packages/browserslist-config-odyssey/CHANGELOG.md
index d3f71843f6..c5a20627ed 100644
--- a/packages/browserslist-config-odyssey/CHANGELOG.md
+++ b/packages/browserslist-config-odyssey/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/browserslist-config-odyssey
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/browserslist-config-odyssey
diff --git a/packages/browserslist-config-odyssey/package.json b/packages/browserslist-config-odyssey/package.json
index 8bc16529e8..0ccbb57534 100644
--- a/packages/browserslist-config-odyssey/package.json
+++ b/packages/browserslist-config-odyssey/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/browserslist-config-odyssey",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "dist/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -9,6 +9,6 @@
"prepare": "tsc"
},
"devDependencies": {
- "@okta/odyssey-typescript": "^0.9.1"
+ "@okta/odyssey-typescript": "^0.9.2"
}
}
diff --git a/packages/conventional-changelog-odyssey/CHANGELOG.md b/packages/conventional-changelog-odyssey/CHANGELOG.md
index 4c37893afd..4a5c672d05 100644
--- a/packages/conventional-changelog-odyssey/CHANGELOG.md
+++ b/packages/conventional-changelog-odyssey/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/conventional-changelog-odyssey
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/conventional-changelog-odyssey
diff --git a/packages/conventional-changelog-odyssey/package.json b/packages/conventional-changelog-odyssey/package.json
index 1bd23620d6..b8b0d3dd62 100644
--- a/packages/conventional-changelog-odyssey/package.json
+++ b/packages/conventional-changelog-odyssey/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/conventional-changelog-odyssey",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
diff --git a/packages/eslint-plugin-odyssey/CHANGELOG.md b/packages/eslint-plugin-odyssey/CHANGELOG.md
index b8ee10ed7b..c86c7a4351 100644
--- a/packages/eslint-plugin-odyssey/CHANGELOG.md
+++ b/packages/eslint-plugin-odyssey/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/eslint-plugin-odyssey
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/eslint-plugin-odyssey
diff --git a/packages/eslint-plugin-odyssey/package.json b/packages/eslint-plugin-odyssey/package.json
index 40bc2efd7a..9220fb39b9 100644
--- a/packages/eslint-plugin-odyssey/package.json
+++ b/packages/eslint-plugin-odyssey/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/eslint-plugin-odyssey",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
diff --git a/packages/odyssey-babel-preset/CHANGELOG.md b/packages/odyssey-babel-preset/CHANGELOG.md
index 871a09e425..a3c112da6b 100644
--- a/packages/odyssey-babel-preset/CHANGELOG.md
+++ b/packages/odyssey-babel-preset/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-babel-preset
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-babel-preset
diff --git a/packages/odyssey-babel-preset/package.json b/packages/odyssey-babel-preset/package.json
index 1032caf458..38dc625704 100644
--- a/packages/odyssey-babel-preset/package.json
+++ b/packages/odyssey-babel-preset/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-babel-preset",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "dist/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -14,10 +14,10 @@
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
- "@okta/odyssey-transform-styles-babel-plugin": "^0.9.1"
+ "@okta/odyssey-transform-styles-babel-plugin": "^0.9.2"
},
"devDependencies": {
- "@okta/odyssey-typescript": "^0.9.1",
+ "@okta/odyssey-typescript": "^0.9.2",
"@types/babel__core": "^7.1.15"
}
}
diff --git a/packages/odyssey-commitlint/CHANGELOG.md b/packages/odyssey-commitlint/CHANGELOG.md
index 783ec64f20..57d88a1f06 100644
--- a/packages/odyssey-commitlint/CHANGELOG.md
+++ b/packages/odyssey-commitlint/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-commitlint
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-commitlint
diff --git a/packages/odyssey-commitlint/package.json b/packages/odyssey-commitlint/package.json
index 1f45908c51..f51fdd0ff1 100644
--- a/packages/odyssey-commitlint/package.json
+++ b/packages/odyssey-commitlint/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-commitlint",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
diff --git a/packages/odyssey-design-tokens/CHANGELOG.md b/packages/odyssey-design-tokens/CHANGELOG.md
index c02b5f62b6..bd321915b1 100644
--- a/packages/odyssey-design-tokens/CHANGELOG.md
+++ b/packages/odyssey-design-tokens/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-design-tokens
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-design-tokens
diff --git a/packages/odyssey-design-tokens/package.json b/packages/odyssey-design-tokens/package.json
index 014c024ca4..68314ae57d 100644
--- a/packages/odyssey-design-tokens/package.json
+++ b/packages/odyssey-design-tokens/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-design-tokens",
- "version": "0.9.1",
+ "version": "0.9.2",
"description": "Design tokens for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
diff --git a/packages/odyssey-eslint-config/CHANGELOG.md b/packages/odyssey-eslint-config/CHANGELOG.md
index b97b994bea..185ac8d6cd 100644
--- a/packages/odyssey-eslint-config/CHANGELOG.md
+++ b/packages/odyssey-eslint-config/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-eslint-config
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-eslint-config
diff --git a/packages/odyssey-eslint-config/package.json b/packages/odyssey-eslint-config/package.json
index 5eacec335d..5bdd92ec7f 100644
--- a/packages/odyssey-eslint-config/package.json
+++ b/packages/odyssey-eslint-config/package.json
@@ -1,12 +1,12 @@
{
"name": "@okta/odyssey-eslint-config",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
"private": true,
"dependencies": {
- "@okta/eslint-plugin-odyssey": "^0.9.1",
+ "@okta/eslint-plugin-odyssey": "^0.9.2",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.27.0",
diff --git a/packages/odyssey-icons/CHANGELOG.md b/packages/odyssey-icons/CHANGELOG.md
index 7e884d4a9a..36c3daa94a 100644
--- a/packages/odyssey-icons/CHANGELOG.md
+++ b/packages/odyssey-icons/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-icons
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-icons
diff --git a/packages/odyssey-icons/package.json b/packages/odyssey-icons/package.json
index dc4df080a8..6aeb279cd3 100644
--- a/packages/odyssey-icons/package.json
+++ b/packages/odyssey-icons/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-icons",
- "version": "0.9.1",
+ "version": "0.9.2",
"private": true,
"description": "The home for Odyssey's supported icons.",
"homepage": "https://github.com/okta/odyssey",
diff --git a/packages/odyssey-lint-staged/CHANGELOG.md b/packages/odyssey-lint-staged/CHANGELOG.md
index 5d574ae153..7fff5751af 100644
--- a/packages/odyssey-lint-staged/CHANGELOG.md
+++ b/packages/odyssey-lint-staged/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-lint-staged
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-lint-staged
diff --git a/packages/odyssey-lint-staged/package.json b/packages/odyssey-lint-staged/package.json
index 8d4f824597..2c85ac31fa 100644
--- a/packages/odyssey-lint-staged/package.json
+++ b/packages/odyssey-lint-staged/package.json
@@ -1,12 +1,12 @@
{
"name": "@okta/odyssey-lint-staged",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
"private": true,
"dependencies": {
- "@okta/odyssey-prettier": "^0.9.1",
+ "@okta/odyssey-prettier": "^0.9.2",
"husky": "^7.0.2",
"lint-staged": "^11.1.2"
}
diff --git a/packages/odyssey-postcss-scss/CHANGELOG.md b/packages/odyssey-postcss-scss/CHANGELOG.md
index 59ed76ca0b..a4cba2ce9f 100644
--- a/packages/odyssey-postcss-scss/CHANGELOG.md
+++ b/packages/odyssey-postcss-scss/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-postcss-scss
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-postcss-scss
diff --git a/packages/odyssey-postcss-scss/package.json b/packages/odyssey-postcss-scss/package.json
index 612ca782c9..c02d377b75 100644
--- a/packages/odyssey-postcss-scss/package.json
+++ b/packages/odyssey-postcss-scss/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-postcss-scss",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "dist/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -13,7 +13,7 @@
"sass": "^1.42.1"
},
"devDependencies": {
- "@okta/odyssey-typescript": "^0.9.1",
+ "@okta/odyssey-typescript": "^0.9.2",
"@types/sass": "^1.16.1",
"jest": "^26.6.3",
"postcss": "^8.3.6"
diff --git a/packages/odyssey-postcss-theme/CHANGELOG.md b/packages/odyssey-postcss-theme/CHANGELOG.md
index 3c494a4df9..87df575bb3 100644
--- a/packages/odyssey-postcss-theme/CHANGELOG.md
+++ b/packages/odyssey-postcss-theme/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-postcss-theme
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-postcss-theme
diff --git a/packages/odyssey-postcss-theme/package.json b/packages/odyssey-postcss-theme/package.json
index 38c285af97..e8ac0a8b94 100644
--- a/packages/odyssey-postcss-theme/package.json
+++ b/packages/odyssey-postcss-theme/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-postcss-theme",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "dist/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -10,7 +10,7 @@
"test": "jest"
},
"devDependencies": {
- "@okta/odyssey-typescript": "^0.9.1",
+ "@okta/odyssey-typescript": "^0.9.2",
"jest": "^26.6.3",
"postcss": "^8.3.6"
},
diff --git a/packages/odyssey-prettier/CHANGELOG.md b/packages/odyssey-prettier/CHANGELOG.md
index c04df615b4..861cee4890 100644
--- a/packages/odyssey-prettier/CHANGELOG.md
+++ b/packages/odyssey-prettier/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-prettier
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-prettier
diff --git a/packages/odyssey-prettier/package.json b/packages/odyssey-prettier/package.json
index 6308a0365b..469796a406 100644
--- a/packages/odyssey-prettier/package.json
+++ b/packages/odyssey-prettier/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-prettier",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
diff --git a/packages/odyssey-react-theme/CHANGELOG.md b/packages/odyssey-react-theme/CHANGELOG.md
index 5383e4dc54..238fc3fc4c 100644
--- a/packages/odyssey-react-theme/CHANGELOG.md
+++ b/packages/odyssey-react-theme/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+**Note:** Version bump only for package @okta/odyssey-react-theme
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
**Note:** Version bump only for package @okta/odyssey-react-theme
diff --git a/packages/odyssey-react-theme/package.json b/packages/odyssey-react-theme/package.json
index a63fc48808..c4ac28eb23 100644
--- a/packages/odyssey-react-theme/package.json
+++ b/packages/odyssey-react-theme/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-react-theme",
- "version": "0.9.1",
+ "version": "0.9.2",
"description": "React theme logic for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -12,14 +12,14 @@
"directory": "packages/odyssey-react-theme"
},
"dependencies": {
- "@okta/odyssey-design-tokens": "^0.9.1",
+ "@okta/odyssey-design-tokens": "^0.9.2",
"hoist-non-react-statics": "^3.3.2"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
- "@okta/browserslist-config-odyssey": "^0.9.1",
- "@okta/odyssey-babel-preset": "^0.9.1",
- "@okta/odyssey-typescript": "^0.9.1",
+ "@okta/browserslist-config-odyssey": "^0.9.2",
+ "@okta/odyssey-babel-preset": "^0.9.2",
+ "@okta/odyssey-typescript": "^0.9.2",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
"@types/hoist-non-react-statics": "^3.3.1",
diff --git a/packages/odyssey-react/CHANGELOG.md b/packages/odyssey-react/CHANGELOG.md
index b4b9a780ba..b444fb4576 100644
--- a/packages/odyssey-react/CHANGELOG.md
+++ b/packages/odyssey-react/CHANGELOG.md
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+### [0.9.2](https://github.com/okta/odyssey/compare/v0.9.1...v0.9.2) (2022-02-17)
+
+### Features
+
+- **odyssey-react:** add resize prop to TextArea ([9e71ba0](https://github.com/okta/odyssey/commit/9e71ba0f42ad6bc43f886cccf4bead45e6ae1fd0))
+
### [0.9.1](https://github.com/okta/odyssey/compare/v0.9.0...v0.9.1) (2022-02-10)
### Bug Fixes
diff --git a/packages/odyssey-react/package.json b/packages/odyssey-react/package.json
index af4495c635..1abff0f7db 100644
--- a/packages/odyssey-react/package.json
+++ b/packages/odyssey-react/package.json
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-react",
- "version": "0.9.1",
+ "version": "0.9.2",
"description": "React components for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
@@ -12,19 +12,19 @@
"directory": "packages/odyssey-react"
},
"dependencies": {
- "@okta/odyssey-react-theme": "^0.9.1",
+ "@okta/odyssey-react-theme": "^0.9.2",
"choices.js": "^9.0.1"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
- "@okta/browserslist-config-odyssey": "^0.9.1",
- "@okta/odyssey-babel-preset": "^0.9.1",
- "@okta/odyssey-icons": "^0.9.1",
- "@okta/odyssey-postcss-scss": "^0.9.1",
- "@okta/odyssey-stylelint": "^0.9.1",
- "@okta/odyssey-svgr": "^0.9.1",
- "@okta/odyssey-transform-styles-postcss-preset": "^0.9.1",
- "@okta/odyssey-typescript": "^0.9.1",
+ "@okta/browserslist-config-odyssey": "^0.9.2",
+ "@okta/odyssey-babel-preset": "^0.9.2",
+ "@okta/odyssey-icons": "^0.9.2",
+ "@okta/odyssey-postcss-scss": "^0.9.2",
+ "@okta/odyssey-stylelint": "^0.9.2",
+ "@okta/odyssey-svgr": "^0.9.2",
+ "@okta/odyssey-transform-styles-postcss-preset": "^0.9.2",
+ "@okta/odyssey-typescript": "^0.9.2",
"@svgr/cli": "^5.5.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.7",
diff --git a/packages/odyssey-react/src/components/TextArea/TextArea.module.scss b/packages/odyssey-react/src/components/TextArea/TextArea.module.scss
index 84eda04a50..8daeb460d0 100644
--- a/packages/odyssey-react/src/components/TextArea/TextArea.module.scss
+++ b/packages/odyssey-react/src/components/TextArea/TextArea.module.scss
@@ -78,3 +78,19 @@
color: var(--PlaceholderTextColor);
}
}
+
+.noneResize {
+ resize: none;
+}
+
+.horizontalResize {
+ resize: horizontal;
+}
+
+.verticalResize {
+ resize: vertical;
+}
+
+.bothResize {
+ resize: both;
+}
diff --git a/packages/odyssey-react/src/components/TextArea/TextArea.test.tsx b/packages/odyssey-react/src/components/TextArea/TextArea.test.tsx
index 5d6a41ab30..4c5567ef03 100644
--- a/packages/odyssey-react/src/components/TextArea/TextArea.test.tsx
+++ b/packages/odyssey-react/src/components/TextArea/TextArea.test.tsx
@@ -109,5 +109,11 @@ describe("TextArea", () => {
expect(ref).toHaveBeenLastCalledWith(screen.getByRole(textBox));
});
+ it("assigns resize prop correctly", () => {
+ render();
+ const container = screen.getByRole(textBox, { name: label });
+ expect(container).toHaveClass("noneResize");
+ });
+
a11yCheck(() => render());
});
diff --git a/packages/odyssey-react/src/components/TextArea/TextArea.tsx b/packages/odyssey-react/src/components/TextArea/TextArea.tsx
index 57dcc5b80d..6f60b81404 100644
--- a/packages/odyssey-react/src/components/TextArea/TextArea.tsx
+++ b/packages/odyssey-react/src/components/TextArea/TextArea.tsx
@@ -45,6 +45,12 @@ export interface TextAreaProps
*/
disabled?: boolean;
+ /**
+ * The underlying textarea element resize attribute
+ * @default "both"
+ */
+ resize?: "both" | "horizontal" | "vertical" | "none";
+
/**
* The underlying textarea element readonly attribute
* @default false
@@ -97,6 +103,7 @@ export const TextArea = withTheme(
const {
defaultValue,
disabled = false,
+ resize = "both",
id,
name,
onBlur,
@@ -113,6 +120,8 @@ export const TextArea = withTheme(
...rest
} = props;
+ const componentClass = useCx(styles.root, styles[`${resize}Resize`]);
+
const oid = useOid(id);
const omitProps = useOmit(rest);
@@ -140,7 +149,7 @@ export const TextArea = withTheme(