Skip to content

Commit

Permalink
Merge pull request #1732 from okta/release/v0.21.2
Browse files Browse the repository at this point in the history
Release/v0.21.2
  • Loading branch information
edburyenegren-okta authored Mar 30, 2023
2 parents 721bec0 + 17146da commit 294f514
Show file tree
Hide file tree
Showing 46 changed files with 151 additions and 81 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

### Features

- add context to Banner and Infobox ([18b277c](https://github.com/okta/odyssey/commit/18b277c949065ad659508a75e04125637bc5308c))
- add missing autoFocus from TextField ([d01dcd4](https://github.com/okta/odyssey/commit/d01dcd4120017d16677ae870c3d1e0f7d1b13b47))

### Bug Fixes

- **odyssey-react-mui:** fix Button, Floating, Disabled bg color ([a9c332a](https://github.com/okta/odyssey/commit/a9c332a85e3b4162bf68837978028081ef2133f7))
- **odyssey-react-mui:** fixes spacing for Hint/Error field helpers ([846134e](https://github.com/okta/odyssey/commit/846134efcdf9cd8c62932e5f849ee64b0b81e468))

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

### Features
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"packages": ["packages/*"],
"useNx": false,
"useWorkspaces": true,
"version": "0.21.1"
"version": "0.21.2"
}
4 changes: 4 additions & 0 deletions packages/babel-plugin-fully-specified/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/babel-plugin-fully-specified

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/babel-plugin-fully-specified
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-fully-specified/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/babel-plugin-fully-specified",
"version": "0.21.1",
"version": "0.21.2",
"private": true,
"description": "Babel plugin to generate fully specified ESM module syntax",
"author": "Okta, Inc.",
Expand Down
4 changes: 4 additions & 0 deletions packages/browserslist-config-odyssey/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/browserslist-config-odyssey

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/browserslist-config-odyssey
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config-odyssey/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/browserslist-config-odyssey",
"version": "0.21.1",
"version": "0.21.2",
"description": "Browserslist config for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/conventional-changelog-odyssey/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/conventional-changelog-odyssey

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/conventional-changelog-odyssey
Expand Down
2 changes: 1 addition & 1 deletion packages/conventional-changelog-odyssey/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/conventional-changelog-odyssey",
"version": "0.21.1",
"version": "0.21.2",
"main": "index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/eslint-plugin-odyssey/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/eslint-plugin-odyssey

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/eslint-plugin-odyssey
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-odyssey/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/eslint-plugin-odyssey",
"version": "0.21.1",
"version": "0.21.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-babel-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-babel-loader

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-babel-loader
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-babel-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-babel-loader",
"version": "0.21.1",
"version": "0.21.2",
"description": "Babel webpack loader for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-babel-preset/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-babel-preset

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-babel-preset
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-babel-preset",
"version": "0.21.1",
"version": "0.21.2",
"description": "Babel preset for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-commitlint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-commitlint

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-commitlint
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-commitlint",
"version": "0.21.1",
"version": "0.21.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-design-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-design-tokens

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-design-tokens
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-design-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-design-tokens",
"version": "0.21.1",
"version": "0.21.2",
"description": "Design tokens for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-eslint-config

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-eslint-config
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-eslint-config",
"version": "0.21.1",
"version": "0.21.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-icons

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-icons
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-icons",
"version": "0.21.1",
"version": "0.21.2",
"private": true,
"description": "The home for Odyssey's supported icons.",
"homepage": "https://github.com/okta/odyssey",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-lifecycle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-lifecycle

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-lifecycle
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-lifecycle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-lifecycle",
"version": "0.21.1",
"version": "0.21.2",
"description": "Lifecycle scripts for lerna and npm",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-lint-staged/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-lint-staged

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

**Note:** Version bump only for package @okta/odyssey-lint-staged
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-lint-staged/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-lint-staged",
"version": "0.21.1",
"version": "0.21.2",
"main": "src/index.js",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/odyssey-react-labs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

**Note:** Version bump only for package @okta/odyssey-react-labs

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-labs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-react-labs",
"version": "0.21.1",
"version": "0.21.2",
"description": "React components for Odyssey, that will eventually be part of Odyssey React but who's implementation isn't yet approved.",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/odyssey-react-mui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.21.2](https://github.com/okta/odyssey/compare/v0.21.1...v0.21.2) (2023-03-30)

### Features

- add context to Banner and Infobox ([18b277c](https://github.com/okta/odyssey/commit/18b277c949065ad659508a75e04125637bc5308c))
- add missing autoFocus from TextField ([d01dcd4](https://github.com/okta/odyssey/commit/d01dcd4120017d16677ae870c3d1e0f7d1b13b47))

### Bug Fixes

- **odyssey-react-mui:** fix Button, Floating, Disabled bg color ([a9c332a](https://github.com/okta/odyssey/commit/a9c332a85e3b4162bf68837978028081ef2133f7))
- **odyssey-react-mui:** fixes spacing for Hint/Error field helpers ([846134e](https://github.com/okta/odyssey/commit/846134efcdf9cd8c62932e5f849ee64b0b81e468))

## [0.21.1](https://github.com/okta/odyssey/compare/v0.21.0...v0.21.1) (2023-03-16)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okta/odyssey-react-mui",
"version": "0.21.1",
"version": "0.21.2",
"description": "React MUI components for Odyssey, Okta's design system",
"author": "Okta, Inc.",
"license": "Apache-2.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/odyssey-react-mui/src/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import { AlertColor, AlertProps } from "@mui/material";
import { memo } from "react";
import { Alert, Link } from "./";
import { Alert, Link, visuallyHidden } from "./";

export interface BannerProps {
/**
Expand Down Expand Up @@ -55,6 +55,7 @@ const Banner = ({
text,
}: BannerProps) => (
<Alert onClose={onClose} role={role} severity={severity} variant="banner">
<span style={visuallyHidden}>{severity}:</span>
{text}
{linkUrl && (
<Link href={linkUrl} variant="monochrome">
Expand Down
3 changes: 2 additions & 1 deletion packages/odyssey-react-mui/src/Infobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import { AlertColor } from "@mui/material";
import { memo, ReactNode } from "react";
import { Alert, AlertTitle } from ".";
import { Alert, AlertTitle, visuallyHidden } from ".";

export interface InfoboxProps {
/**
Expand All @@ -37,6 +37,7 @@ export interface InfoboxProps {

const Infobox = ({ children, severity, role, title }: InfoboxProps) => (
<Alert role={role} severity={severity} variant="infobox">
<span style={visuallyHidden}>{severity}: </span>
{title && <AlertTitle>{title}</AlertTitle>}
{children}
</Alert>
Expand Down
9 changes: 8 additions & 1 deletion packages/odyssey-react-mui/src/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ import {
} from "./";

export type TextFieldProps = {
/**
* If `true`, the component will receive focus automatically.
*/
autoFocus?: boolean;
/**
* This prop helps users to fill forms faster, especially on mobile devices.
* The name can be confusing, as it's more like an autofill.
Expand Down Expand Up @@ -126,6 +130,7 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
(
{
autoCompleteType,
autoFocus,
endAdornment,
errorMessage,
hint,
Expand Down Expand Up @@ -187,8 +192,10 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
{hint && <FormHelperText id={hintId}>{hint}</FormHelperText>}
<InputBase
autoComplete={autoCompleteType}
/* eslint-disable-next-line jsx-a11y/no-autofocus */
autoFocus={autoFocus}
endAdornment={
inputType === "password" ? (
type === "password" ? (
<InputAdornment position="end">
<IconButton
aria-label="toggle password visibility"
Expand Down
Loading

0 comments on commit 294f514

Please sign in to comment.