diff --git a/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip b/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip deleted file mode 100644 index ed85c1c4c7..0000000000 Binary files a/.yarn/cache/http-cache-semantics-npm-4.1.0-860520a31f-974de94a81.zip and /dev/null differ diff --git a/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip b/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip new file mode 100644 index 0000000000..19f1e0a201 Binary files /dev/null and b/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip differ diff --git a/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip b/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip deleted file mode 100644 index cc70df5220..0000000000 Binary files a/.yarn/cache/json5-npm-1.0.1-647fc8794b-e76ea23dbb.zip and /dev/null differ diff --git a/.yarn/cache/json5-npm-1.0.2-9607f93e30-866458a8c5.zip b/.yarn/cache/json5-npm-1.0.2-9607f93e30-866458a8c5.zip new file mode 100644 index 0000000000..aa52eb0458 Binary files /dev/null and b/.yarn/cache/json5-npm-1.0.2-9607f93e30-866458a8c5.zip differ diff --git a/.yarn/cache/json5-npm-2.1.3-b71ec6bcca-b2de57a665.zip b/.yarn/cache/json5-npm-2.1.3-b71ec6bcca-b2de57a665.zip deleted file mode 100644 index 808ce9d55d..0000000000 Binary files a/.yarn/cache/json5-npm-2.1.3-b71ec6bcca-b2de57a665.zip and /dev/null differ diff --git a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip b/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip deleted file mode 100644 index 322b81d909..0000000000 Binary files a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip and /dev/null differ diff --git a/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip b/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip deleted file mode 100644 index 99c2b0de70..0000000000 Binary files a/.yarn/cache/json5-npm-2.2.1-44675c859c-74b8a23b10.zip and /dev/null differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 8114c44b71..04be3a38e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,102 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) +## [0.20.0](https://github.com/okta/odyssey/compare/v0.19.0...v0.20.0) (2023-02-23) -### ⚠ BREAKING CHANGES +### Features -- **odyssey-react-mui:** remove `kbd` variant from Typography component +- **odyssey-react-mui:** add MenuButton and MenuItem components ([f29c136](https://github.com/okta/odyssey/commit/f29c136b25d7df5899f55d3be6206004778fb284)) + +### Bug Fixes + +- remove unnecessary Lerna ignore for publishing ([#1694](https://github.com/okta/odyssey/issues/1694)) ([1660b82](https://github.com/okta/odyssey/commit/1660b826508ab60b993cae44508bed5be8e86598)) + +## [0.19.0](https://github.com/okta/odyssey/compare/v0.18.0...v0.19.0) (2023-02-09) ### Features -- abstract Radio and RadioGroup ([6b34afa](https://github.com/okta/odyssey/commit/6b34afaa83ce0043731ff8d111d3114fabd9ecf7)) -- add custom theming to Odyssey labs ([8c954cc](https://github.com/okta/odyssey/commit/8c954cc3e232d21cbf9f72c61c548766bb75614a)) -- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) -- add labs theme ([8f45e5d](https://github.com/okta/odyssey/commit/8f45e5d4d74eb664b4f7ce73e08fdafd1e8da2cb)) -- add name and defaultValue attributes ([1eb7608](https://github.com/okta/odyssey/commit/1eb76081f528ebf3d529d667593d105f2c4d266d)) -- add TextInput ([fa5a033](https://github.com/okta/odyssey/commit/fa5a03309263a1239c1902c86eef04d5ba4c4774)) -- added customTheme property to OdysseyThemeProvider ([4207c4b](https://github.com/okta/odyssey/commit/4207c4b0079bd19f637d5ad83c8c8d188598cdf1)) -- added Emotion CacheProvider as part of ThemeProvider ([4c00a59](https://github.com/okta/odyssey/commit/4c00a591f8e1c237eec74758d4d8a13fd7a5499a)) -- added forwardRef to Link ([5598ff8](https://github.com/okta/odyssey/commit/5598ff872a2bd9cf2e3e3a9898ddbbbe9c05ce38)) -- added optional nonce prop to OdysseyCacheProvider ([f264b50](https://github.com/okta/odyssey/commit/f264b50d5c737fcaa672eadb4d3302acfd136582)) -- added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) - **odyssey-react-mui:** add 'alert' to available Banner roles ([bf6f645](https://github.com/okta/odyssey/commit/bf6f6455e9271c070daa84d9668851906aa16ef4)) -- **odyssey-react-mui:** add check icon to selected list items ([dbe5777](https://github.com/okta/odyssey/commit/dbe577783a3506d6ebb46047437936c242b69303)) -- **odyssey-react-mui:** add element styles to ScopedCssBaseline ([d2831b0](https://github.com/okta/odyssey/commit/d2831b0a8ad0a9063aea85ceaff69dcfea16314b)) -- **odyssey-react-mui:** add status theme to Chip ([82c9c28](https://github.com/okta/odyssey/commit/82c9c284c016b63e96ddbe3b3c82822b9c7f5857)) -- **odyssey-react-mui:** add theme for ListSubheader ([b27c79a](https://github.com/okta/odyssey/commit/b27c79a91eda15a802520bc07ba0a9025b30d63c)) -- **odyssey-react-mui:** add theme for multiselect ([ce8fbdb](https://github.com/okta/odyssey/commit/ce8fbdb33218b6064556800ad0a9a60a06c617b1)) -- **odyssey-react-mui:** add theme for Tag/Chip ([8539c6d](https://github.com/okta/odyssey/commit/8539c6d3aa3a29fcef0984bc611ccab9a4b524af)) -- **odyssey-react-mui:** export ScopedCssBaseline for use ([5a98aaa](https://github.com/okta/odyssey/commit/5a98aaacf4142f84b2e03dc13b03d4435790e014)) -- **odyssey-react-mui:** increase default icon size to 16px; add ui type variant ([6577c33](https://github.com/okta/odyssey/commit/6577c331c29a5bfc53b41ebd269cf69366e2825c)) -- **odyssey-react-mui:** make rem-base themeable, add element styles to ScopedCssBaseline ([ebafd5c](https://github.com/okta/odyssey/commit/ebafd5cb13afae7c8bf365782264c248b8345960)) -- **odyssey-react-mui:** theme Select and refactor InputBase styles to support Select ([0538fb1](https://github.com/okta/odyssey/commit/0538fb1f77f79f2fca1635001163c11d6dfbd7f7)) - **odyssey-react-mui:** wrap and export Infobox ([4b0f283](https://github.com/okta/odyssey/commit/4b0f283e47fa553c2d72e3b85ee76102aa327709)) -- **odyssey-react-mui:** wrap and export Status component ([55ac9c9](https://github.com/okta/odyssey/commit/55ac9c9e9b204e4262c8a7a39b60b48627baae30)) -- **odyssey-storybook:** remove title prop, add isDismissible variant to Toast ([214d1ce](https://github.com/okta/odyssey/commit/214d1ce68f80daced611cc10e93a79caa9b0d8f8)) -- re-exported MUI List components as Odyssey MUI components ([9a78122](https://github.com/okta/odyssey/commit/9a781222830fb3003ce935cbacedf5a0b62a1cec)) -- remove custom theme for DatePicker ([f7dcd4c](https://github.com/okta/odyssey/commit/f7dcd4c0c70270542f181e18498b7af05de607b4)) -- replace the previous TextField ([e01ce2a](https://github.com/okta/odyssey/commit/e01ce2ae315bafce886179135e05c0cd11b52430)) -- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) -- updated Radio and fixed types on TextField and Banner ([9cfa050](https://github.com/okta/odyssey/commit/9cfa05093fa59923085bcac18908065457a018f4)) -- use \* for odyssey packages in labs ([1c00733](https://github.com/okta/odyssey/commit/1c007335df90bd5ea7d05333a7d8f503d66caf89)) -- use \* for odyssey packages in storybook ([b7e5146](https://github.com/okta/odyssey/commit/b7e514621726c802fedfa4527b6b9dfcf036a143)) -- wrap banner and add stories ([0ccfbd0](https://github.com/okta/odyssey/commit/0ccfbd0ef845c1f598c5409d37e5fb9a83d94f47)) -### Bug Fixes - -- add Status import to index ([d16b6df](https://github.com/okta/odyssey/commit/d16b6df831dd22accbc58450595a642b2330c42d)) -- added missing export for OdysseyThemeProvider and OdysseyCacheProvider ([3273f35](https://github.com/okta/odyssey/commit/3273f3537856a2b71161888ab291c5663bc2dbcb)) -- adjusted boolean prop names in Radio ([25eb5d1](https://github.com/okta/odyssey/commit/25eb5d1686526355c2b1ae4b83f23c80c5c72951)) -- adjusted boolean prop names in RadioGroup ([135a8ec](https://github.com/okta/odyssey/commit/135a8ec09a25b849eb413b93548dca1683480b1e)) -- adjusted DatePicker story with correct theme ([ddfc00b](https://github.com/okta/odyssey/commit/ddfc00ba4621ddb56a599675dd31c64a88b7276c)) -- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) -- another potential nx Lerna fix ([38f2dd6](https://github.com/okta/odyssey/commit/38f2dd6685d22b8caaa62819db348c7f09686d30)) -- banner having string function defined ([a21fca9](https://github.com/okta/odyssey/commit/a21fca9f6aa15d68024fd06e70f625676674fb7b)) -- changed to workspace:_ instead of _ imports ([407875b](https://github.com/okta/odyssey/commit/407875bea5f6e2265a7144d2443f69d2fd844c92)) -- converted types to new Storybook component versions ([a47bc16](https://github.com/okta/odyssey/commit/a47bc16f424fac29e1a69022c80c709ef2e0711a)) -- ensure aria-describedby only show when needed ([a75a290](https://github.com/okta/odyssey/commit/a75a29038164875c1a56329669ac95159ba689f2)) -- fix story component ([73b83f2](https://github.com/okta/odyssey/commit/73b83f2b5af610928553eca5cd46062a66b6a257)) -- fixed a number of logistical issues ([48a95e1](https://github.com/okta/odyssey/commit/48a95e1bf963632186b083eaa461a1ec3b2ac7c8)) -- forwardRef in Link ([d1429af](https://github.com/okta/odyssey/commit/d1429afe1dde8608e2587abc2be99e7601650dc5)) -- lerna not recognizing workspace:\* ([355bb1a](https://github.com/okta/odyssey/commit/355bb1aa75ed05df02c6bbd1fb134924ce1b0e84)) -- lint ([f84d08a](https://github.com/okta/odyssey/commit/f84d08a6c703ebbeac16e56c9c90f489902863cc)) -- minor type updates in unique ID hooks ([01df5b2](https://github.com/okta/odyssey/commit/01df5b2d7a19ed9862d27e1ca423d2ea29ad17c6)) -- minor update to Radio template name ([132a588](https://github.com/okta/odyssey/commit/132a58829f21d12101a47cb0798b796b87a37371)) -- moved typecheck command back to Lerna ([eff20bb](https://github.com/okta/odyssey/commit/eff20bbf568bce5a6addbb2a3f61738345def2a3)) -- **odyssey-react-mui:** fix floating and small Button properties, fix Toast layout ([e98d36b](https://github.com/okta/odyssey/commit/e98d36b57509a99ccd0f2290aee56322a0d155b8)) -- **odyssey-react-mui:** make figcaption styles a fallback ([a4a232a](https://github.com/okta/odyssey/commit/a4a232a99964f683df9a913ec003b8c81219eed3)) -- **odyssey-react-mui:** make Link a11y-compliant in all cases ([baf01c0](https://github.com/okta/odyssey/commit/baf01c0d6650b83a4b5db3e5bf7fad863d4a25f6)) -- **odyssey-react-mui:** override MuiBackdrop colors correctly ([972a2c3](https://github.com/okta/odyssey/commit/972a2c3090fd6f4827adfc14390d5798dec2ab50)) -- **odyssey-react-mui:** provide safety dec for input box-shadow ([9562e74](https://github.com/okta/odyssey/commit/9562e7482b69b005b7d48f2694890a3b5277693c)) -- **odyssey-react-mui:** size and align icons correctly within Button ([7787bf0](https://github.com/okta/odyssey/commit/7787bf0d03da093dc4a94955e57240c9b11e7762)) -- onClose prop type ([4c2052f](https://github.com/okta/odyssey/commit/4c2052f7d3f449dafdac892b2e1bbeb8cb7ceacc)) -- remove unneeded import ([209574c](https://github.com/okta/odyssey/commit/209574cadba0139b08ccd37110647cb8c946dd8a)) -- remove unused flags ([548432b](https://github.com/okta/odyssey/commit/548432beee6cd4f3b84debd9622bec68c61543f7)) -- remove vestigial AlertProps import ([af7883b](https://github.com/okta/odyssey/commit/af7883b3c54257e5deeeca6db6ff9e62580c9694)) -- removed Nx caching from Lerna ([16ad137](https://github.com/okta/odyssey/commit/16ad1376f1bdc795a68ab0fa2774f58785822dee)) -- removed nx.json ([82c2966](https://github.com/okta/odyssey/commit/82c29667dd9b8b7f8ee27cccafc93c010ac31a38)) -- removed potentially problematic nx.json ([d9f9b1d](https://github.com/okta/odyssey/commit/d9f9b1da6d4142363890ea5442e780d9fbb96006)) -- removed unnecessary useNx in lerna.json ([b63d92e](https://github.com/okta/odyssey/commit/b63d92e1a16059552b5af4b79e986cef6770e440)) -- renamed inType to inputType ([dd67213](https://github.com/okta/odyssey/commit/dd67213a3ed6ce81dc322402b14886ecf5e53f88)) -- run build a second time before doing a typecheck ([56d85cd](https://github.com/okta/odyssey/commit/56d85cda5812b0e27bec630c7b160a3b71eaf212)) -- split OdysseyThemeProvider and OdysseyCacheProvider ([16a6ce3](https://github.com/okta/odyssey/commit/16a6ce3672a634e3450545ffe8c41a70db1b7fb3)) -- storybook not loading new themed versions ([2a321f6](https://github.com/okta/odyssey/commit/2a321f6673f9f40efb93cffb35ebbc04d4986429)) -- textAlign logical value in FormHelperText for RTL support ([19208d5](https://github.com/okta/odyssey/commit/19208d5aed4677d9198f56cd2da0598913e4b5e1)) -- theme type issues ([16f2b4d](https://github.com/okta/odyssey/commit/16f2b4da129901f63bc21c8dec89385604128d98)) -- update physical CSS properties (_-left, _-right) to use logical CSS counterpart for RTL support ([08ac38c](https://github.com/okta/odyssey/commit/08ac38c303d01de7a8c5b9ea2600a0bfec3acb5e)) -- update RadioGroup params in other stories ([378dbea](https://github.com/okta/odyssey/commit/378dbea71a959986dd20132a76a0018bc254d01e)) -- update type of onClose for lintert ([6983d7d](https://github.com/okta/odyssey/commit/6983d7d5aad1864593579a3e9d9df6c2c5f1b137)) -- updated Odyssey Labs exports and theme ([080ac14](https://github.com/okta/odyssey/commit/080ac1409c5e2eb8705dbc11bf499fd53eb6197b)) -- updated per PR comments ([e436890](https://github.com/okta/odyssey/commit/e436890a1eaedffc5ba382b88f1e6271fad4861b)) -- updated prop names ([1a73aa8](https://github.com/okta/odyssey/commit/1a73aa8aa1197e47795cda7b54382deb9ed56628)) -- upgraded MUI icons ([c978ab6](https://github.com/okta/odyssey/commit/c978ab66375f649a9b66544dbc490cc0442cff2c)) -- upgraded Yarn version in script ([f7d4bcb](https://github.com/okta/odyssey/commit/f7d4bcb847005fa4641fff2ef3cffcf46b5e61a7)) -- workspace:\* versions ([4540e7a](https://github.com/okta/odyssey/commit/4540e7a5570c67a1478a6f8afbb8dea8f69aea13)) -- yarn.lock ([7b6254c](https://github.com/okta/odyssey/commit/7b6254c6f5aa159ae4a0d793670b434a37c4e494)) -- yarn.lock ([4e2270a](https://github.com/okta/odyssey/commit/4e2270a259f81381354e62e1caf6ef707ae74831)) - -## [0.18.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.18.0) (2023-02-02) +## [0.18.0](https://github.com/okta/odyssey/compare/v0.17.2...v0.18.0) (2023-02-02) ### ⚠ BREAKING CHANGES @@ -107,64 +29,33 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Features - abstract Radio and RadioGroup ([6b34afa](https://github.com/okta/odyssey/commit/6b34afaa83ce0043731ff8d111d3114fabd9ecf7)) -- add custom theming to Odyssey labs ([8c954cc](https://github.com/okta/odyssey/commit/8c954cc3e232d21cbf9f72c61c548766bb75614a)) - add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) -- add labs theme ([8f45e5d](https://github.com/okta/odyssey/commit/8f45e5d4d74eb664b4f7ce73e08fdafd1e8da2cb)) - add name and defaultValue attributes ([1eb7608](https://github.com/okta/odyssey/commit/1eb76081f528ebf3d529d667593d105f2c4d266d)) -- add TextInput ([fa5a033](https://github.com/okta/odyssey/commit/fa5a03309263a1239c1902c86eef04d5ba4c4774)) -- added customTheme property to OdysseyThemeProvider ([4207c4b](https://github.com/okta/odyssey/commit/4207c4b0079bd19f637d5ad83c8c8d188598cdf1)) -- added Emotion CacheProvider as part of ThemeProvider ([4c00a59](https://github.com/okta/odyssey/commit/4c00a591f8e1c237eec74758d4d8a13fd7a5499a)) -- added forwardRef to Link ([5598ff8](https://github.com/okta/odyssey/commit/5598ff872a2bd9cf2e3e3a9898ddbbbe9c05ce38)) -- added optional nonce prop to OdysseyCacheProvider ([f264b50](https://github.com/okta/odyssey/commit/f264b50d5c737fcaa672eadb4d3302acfd136582)) -- added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) -- **odyssey-react-mui:** add check icon to selected list items ([dbe5777](https://github.com/okta/odyssey/commit/dbe577783a3506d6ebb46047437936c242b69303)) - **odyssey-react-mui:** add element styles to ScopedCssBaseline ([d2831b0](https://github.com/okta/odyssey/commit/d2831b0a8ad0a9063aea85ceaff69dcfea16314b)) -- **odyssey-react-mui:** add status theme to Chip ([82c9c28](https://github.com/okta/odyssey/commit/82c9c284c016b63e96ddbe3b3c82822b9c7f5857)) -- **odyssey-react-mui:** add theme for ListSubheader ([b27c79a](https://github.com/okta/odyssey/commit/b27c79a91eda15a802520bc07ba0a9025b30d63c)) -- **odyssey-react-mui:** add theme for multiselect ([ce8fbdb](https://github.com/okta/odyssey/commit/ce8fbdb33218b6064556800ad0a9a60a06c617b1)) -- **odyssey-react-mui:** add theme for Tag/Chip ([8539c6d](https://github.com/okta/odyssey/commit/8539c6d3aa3a29fcef0984bc611ccab9a4b524af)) - **odyssey-react-mui:** export ScopedCssBaseline for use ([5a98aaa](https://github.com/okta/odyssey/commit/5a98aaacf4142f84b2e03dc13b03d4435790e014)) -- **odyssey-react-mui:** increase default icon size to 16px; add ui type variant ([6577c33](https://github.com/okta/odyssey/commit/6577c331c29a5bfc53b41ebd269cf69366e2825c)) - **odyssey-react-mui:** make rem-base themeable, add element styles to ScopedCssBaseline ([ebafd5c](https://github.com/okta/odyssey/commit/ebafd5cb13afae7c8bf365782264c248b8345960)) -- **odyssey-react-mui:** theme Select and refactor InputBase styles to support Select ([0538fb1](https://github.com/okta/odyssey/commit/0538fb1f77f79f2fca1635001163c11d6dfbd7f7)) - **odyssey-react-mui:** wrap and export Status component ([55ac9c9](https://github.com/okta/odyssey/commit/55ac9c9e9b204e4262c8a7a39b60b48627baae30)) -- **odyssey-storybook:** remove title prop, add isDismissible variant to Toast ([214d1ce](https://github.com/okta/odyssey/commit/214d1ce68f80daced611cc10e93a79caa9b0d8f8)) - re-exported MUI List components as Odyssey MUI components ([9a78122](https://github.com/okta/odyssey/commit/9a781222830fb3003ce935cbacedf5a0b62a1cec)) -- remove custom theme for DatePicker ([f7dcd4c](https://github.com/okta/odyssey/commit/f7dcd4c0c70270542f181e18498b7af05de607b4)) -- replace the previous TextField ([e01ce2a](https://github.com/okta/odyssey/commit/e01ce2ae315bafce886179135e05c0cd11b52430)) - updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) - updated Radio and fixed types on TextField and Banner ([9cfa050](https://github.com/okta/odyssey/commit/9cfa05093fa59923085bcac18908065457a018f4)) -- use \* for odyssey packages in labs ([1c00733](https://github.com/okta/odyssey/commit/1c007335df90bd5ea7d05333a7d8f503d66caf89)) -- use \* for odyssey packages in storybook ([b7e5146](https://github.com/okta/odyssey/commit/b7e514621726c802fedfa4527b6b9dfcf036a143)) - wrap banner and add stories ([0ccfbd0](https://github.com/okta/odyssey/commit/0ccfbd0ef845c1f598c5409d37e5fb9a83d94f47)) ### Bug Fixes - add Status import to index ([d16b6df](https://github.com/okta/odyssey/commit/d16b6df831dd22accbc58450595a642b2330c42d)) -- added missing export for OdysseyThemeProvider and OdysseyCacheProvider ([3273f35](https://github.com/okta/odyssey/commit/3273f3537856a2b71161888ab291c5663bc2dbcb)) - adjusted boolean prop names in Radio ([25eb5d1](https://github.com/okta/odyssey/commit/25eb5d1686526355c2b1ae4b83f23c80c5c72951)) - adjusted boolean prop names in RadioGroup ([135a8ec](https://github.com/okta/odyssey/commit/135a8ec09a25b849eb413b93548dca1683480b1e)) -- adjusted DatePicker story with correct theme ([ddfc00b](https://github.com/okta/odyssey/commit/ddfc00ba4621ddb56a599675dd31c64a88b7276c)) - another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) - another potential nx Lerna fix ([38f2dd6](https://github.com/okta/odyssey/commit/38f2dd6685d22b8caaa62819db348c7f09686d30)) - banner having string function defined ([a21fca9](https://github.com/okta/odyssey/commit/a21fca9f6aa15d68024fd06e70f625676674fb7b)) -- changed to workspace:_ instead of _ imports ([407875b](https://github.com/okta/odyssey/commit/407875bea5f6e2265a7144d2443f69d2fd844c92)) - converted types to new Storybook component versions ([a47bc16](https://github.com/okta/odyssey/commit/a47bc16f424fac29e1a69022c80c709ef2e0711a)) - ensure aria-describedby only show when needed ([a75a290](https://github.com/okta/odyssey/commit/a75a29038164875c1a56329669ac95159ba689f2)) - fix story component ([73b83f2](https://github.com/okta/odyssey/commit/73b83f2b5af610928553eca5cd46062a66b6a257)) -- fixed a number of logistical issues ([48a95e1](https://github.com/okta/odyssey/commit/48a95e1bf963632186b083eaa461a1ec3b2ac7c8)) -- forwardRef in Link ([d1429af](https://github.com/okta/odyssey/commit/d1429afe1dde8608e2587abc2be99e7601650dc5)) -- lerna not recognizing workspace:\* ([355bb1a](https://github.com/okta/odyssey/commit/355bb1aa75ed05df02c6bbd1fb134924ce1b0e84)) -- lint ([f84d08a](https://github.com/okta/odyssey/commit/f84d08a6c703ebbeac16e56c9c90f489902863cc)) -- minor type updates in unique ID hooks ([01df5b2](https://github.com/okta/odyssey/commit/01df5b2d7a19ed9862d27e1ca423d2ea29ad17c6)) - minor update to Radio template name ([132a588](https://github.com/okta/odyssey/commit/132a58829f21d12101a47cb0798b796b87a37371)) - moved typecheck command back to Lerna ([eff20bb](https://github.com/okta/odyssey/commit/eff20bbf568bce5a6addbb2a3f61738345def2a3)) -- **odyssey-react-mui:** fix floating and small Button properties, fix Toast layout ([e98d36b](https://github.com/okta/odyssey/commit/e98d36b57509a99ccd0f2290aee56322a0d155b8)) - **odyssey-react-mui:** make figcaption styles a fallback ([a4a232a](https://github.com/okta/odyssey/commit/a4a232a99964f683df9a913ec003b8c81219eed3)) - **odyssey-react-mui:** make Link a11y-compliant in all cases ([baf01c0](https://github.com/okta/odyssey/commit/baf01c0d6650b83a4b5db3e5bf7fad863d4a25f6)) -- **odyssey-react-mui:** override MuiBackdrop colors correctly ([972a2c3](https://github.com/okta/odyssey/commit/972a2c3090fd6f4827adfc14390d5798dec2ab50)) - **odyssey-react-mui:** provide safety dec for input box-shadow ([9562e74](https://github.com/okta/odyssey/commit/9562e7482b69b005b7d48f2694890a3b5277693c)) -- **odyssey-react-mui:** size and align icons correctly within Button ([7787bf0](https://github.com/okta/odyssey/commit/7787bf0d03da093dc4a94955e57240c9b11e7762)) - onClose prop type ([4c2052f](https://github.com/okta/odyssey/commit/4c2052f7d3f449dafdac892b2e1bbeb8cb7ceacc)) - remove unneeded import ([209574c](https://github.com/okta/odyssey/commit/209574cadba0139b08ccd37110647cb8c946dd8a)) - remove unused flags ([548432b](https://github.com/okta/odyssey/commit/548432beee6cd4f3b84debd9622bec68c61543f7)) @@ -173,25 +64,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - removed nx.json ([82c2966](https://github.com/okta/odyssey/commit/82c29667dd9b8b7f8ee27cccafc93c010ac31a38)) - removed potentially problematic nx.json ([d9f9b1d](https://github.com/okta/odyssey/commit/d9f9b1da6d4142363890ea5442e780d9fbb96006)) - removed unnecessary useNx in lerna.json ([b63d92e](https://github.com/okta/odyssey/commit/b63d92e1a16059552b5af4b79e986cef6770e440)) -- renamed inType to inputType ([dd67213](https://github.com/okta/odyssey/commit/dd67213a3ed6ce81dc322402b14886ecf5e53f88)) - run build a second time before doing a typecheck ([56d85cd](https://github.com/okta/odyssey/commit/56d85cda5812b0e27bec630c7b160a3b71eaf212)) -- split OdysseyThemeProvider and OdysseyCacheProvider ([16a6ce3](https://github.com/okta/odyssey/commit/16a6ce3672a634e3450545ffe8c41a70db1b7fb3)) -- storybook not loading new themed versions ([2a321f6](https://github.com/okta/odyssey/commit/2a321f6673f9f40efb93cffb35ebbc04d4986429)) - textAlign logical value in FormHelperText for RTL support ([19208d5](https://github.com/okta/odyssey/commit/19208d5aed4677d9198f56cd2da0598913e4b5e1)) -- theme type issues ([16f2b4d](https://github.com/okta/odyssey/commit/16f2b4da129901f63bc21c8dec89385604128d98)) - update physical CSS properties (_-left, _-right) to use logical CSS counterpart for RTL support ([08ac38c](https://github.com/okta/odyssey/commit/08ac38c303d01de7a8c5b9ea2600a0bfec3acb5e)) - update RadioGroup params in other stories ([378dbea](https://github.com/okta/odyssey/commit/378dbea71a959986dd20132a76a0018bc254d01e)) - update type of onClose for lintert ([6983d7d](https://github.com/okta/odyssey/commit/6983d7d5aad1864593579a3e9d9df6c2c5f1b137)) -- updated Odyssey Labs exports and theme ([080ac14](https://github.com/okta/odyssey/commit/080ac1409c5e2eb8705dbc11bf499fd53eb6197b)) -- updated per PR comments ([e436890](https://github.com/okta/odyssey/commit/e436890a1eaedffc5ba382b88f1e6271fad4861b)) -- updated prop names ([1a73aa8](https://github.com/okta/odyssey/commit/1a73aa8aa1197e47795cda7b54382deb9ed56628)) -- upgraded MUI icons ([c978ab6](https://github.com/okta/odyssey/commit/c978ab66375f649a9b66544dbc490cc0442cff2c)) - upgraded Yarn version in script ([f7d4bcb](https://github.com/okta/odyssey/commit/f7d4bcb847005fa4641fff2ef3cffcf46b5e61a7)) -- workspace:\* versions ([4540e7a](https://github.com/okta/odyssey/commit/4540e7a5570c67a1478a6f8afbb8dea8f69aea13)) -- yarn.lock ([7b6254c](https://github.com/okta/odyssey/commit/7b6254c6f5aa159ae4a0d793670b434a37c4e494)) -- yarn.lock ([4e2270a](https://github.com/okta/odyssey/commit/4e2270a259f81381354e62e1caf6ef707ae74831)) -### [0.17.2](https://github.com/okta/odyssey/compare/v0.16.1...v0.17.2) (2023-01-12) +### [0.17.2](https://github.com/okta/odyssey/compare/v0.17.1...v0.17.2) (2023-01-12) ### Features @@ -199,17 +79,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - add labs theme ([8f45e5d](https://github.com/okta/odyssey/commit/8f45e5d4d74eb664b4f7ce73e08fdafd1e8da2cb)) - add TextInput ([fa5a033](https://github.com/okta/odyssey/commit/fa5a03309263a1239c1902c86eef04d5ba4c4774)) - added customTheme property to OdysseyThemeProvider ([4207c4b](https://github.com/okta/odyssey/commit/4207c4b0079bd19f637d5ad83c8c8d188598cdf1)) -- added Emotion CacheProvider as part of ThemeProvider ([4c00a59](https://github.com/okta/odyssey/commit/4c00a591f8e1c237eec74758d4d8a13fd7a5499a)) - added forwardRef to Link ([5598ff8](https://github.com/okta/odyssey/commit/5598ff872a2bd9cf2e3e3a9898ddbbbe9c05ce38)) -- added optional nonce prop to OdysseyCacheProvider ([f264b50](https://github.com/okta/odyssey/commit/f264b50d5c737fcaa672eadb4d3302acfd136582)) - added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) - **odyssey-react-mui:** add check icon to selected list items ([dbe5777](https://github.com/okta/odyssey/commit/dbe577783a3506d6ebb46047437936c242b69303)) - **odyssey-react-mui:** add status theme to Chip ([82c9c28](https://github.com/okta/odyssey/commit/82c9c284c016b63e96ddbe3b3c82822b9c7f5857)) - **odyssey-react-mui:** add theme for ListSubheader ([b27c79a](https://github.com/okta/odyssey/commit/b27c79a91eda15a802520bc07ba0a9025b30d63c)) -- **odyssey-react-mui:** add theme for multiselect ([ce8fbdb](https://github.com/okta/odyssey/commit/ce8fbdb33218b6064556800ad0a9a60a06c617b1)) -- **odyssey-react-mui:** add theme for Tag/Chip ([8539c6d](https://github.com/okta/odyssey/commit/8539c6d3aa3a29fcef0984bc611ccab9a4b524af)) -- **odyssey-react-mui:** increase default icon size to 16px; add ui type variant ([6577c33](https://github.com/okta/odyssey/commit/6577c331c29a5bfc53b41ebd269cf69366e2825c)) -- **odyssey-react-mui:** theme Select and refactor InputBase styles to support Select ([0538fb1](https://github.com/okta/odyssey/commit/0538fb1f77f79f2fca1635001163c11d6dfbd7f7)) - **odyssey-storybook:** remove title prop, add isDismissible variant to Toast ([214d1ce](https://github.com/okta/odyssey/commit/214d1ce68f80daced611cc10e93a79caa9b0d8f8)) - remove custom theme for DatePicker ([f7dcd4c](https://github.com/okta/odyssey/commit/f7dcd4c0c70270542f181e18498b7af05de607b4)) - replace the previous TextField ([e01ce2a](https://github.com/okta/odyssey/commit/e01ce2ae315bafce886179135e05c0cd11b52430)) @@ -218,30 +92,21 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -- added missing export for OdysseyThemeProvider and OdysseyCacheProvider ([3273f35](https://github.com/okta/odyssey/commit/3273f3537856a2b71161888ab291c5663bc2dbcb)) - adjusted DatePicker story with correct theme ([ddfc00b](https://github.com/okta/odyssey/commit/ddfc00ba4621ddb56a599675dd31c64a88b7276c)) - changed to workspace:_ instead of _ imports ([407875b](https://github.com/okta/odyssey/commit/407875bea5f6e2265a7144d2443f69d2fd844c92)) - fixed a number of logistical issues ([48a95e1](https://github.com/okta/odyssey/commit/48a95e1bf963632186b083eaa461a1ec3b2ac7c8)) -- forwardRef in Link ([d1429af](https://github.com/okta/odyssey/commit/d1429afe1dde8608e2587abc2be99e7601650dc5)) - lerna not recognizing workspace:\* ([355bb1a](https://github.com/okta/odyssey/commit/355bb1aa75ed05df02c6bbd1fb134924ce1b0e84)) -- lint ([f84d08a](https://github.com/okta/odyssey/commit/f84d08a6c703ebbeac16e56c9c90f489902863cc)) -- minor type updates in unique ID hooks ([01df5b2](https://github.com/okta/odyssey/commit/01df5b2d7a19ed9862d27e1ca423d2ea29ad17c6)) - **odyssey-react-mui:** fix floating and small Button properties, fix Toast layout ([e98d36b](https://github.com/okta/odyssey/commit/e98d36b57509a99ccd0f2290aee56322a0d155b8)) - **odyssey-react-mui:** override MuiBackdrop colors correctly ([972a2c3](https://github.com/okta/odyssey/commit/972a2c3090fd6f4827adfc14390d5798dec2ab50)) -- **odyssey-react-mui:** size and align icons correctly within Button ([7787bf0](https://github.com/okta/odyssey/commit/7787bf0d03da093dc4a94955e57240c9b11e7762)) - renamed inType to inputType ([dd67213](https://github.com/okta/odyssey/commit/dd67213a3ed6ce81dc322402b14886ecf5e53f88)) -- split OdysseyThemeProvider and OdysseyCacheProvider ([16a6ce3](https://github.com/okta/odyssey/commit/16a6ce3672a634e3450545ffe8c41a70db1b7fb3)) - storybook not loading new themed versions ([2a321f6](https://github.com/okta/odyssey/commit/2a321f6673f9f40efb93cffb35ebbc04d4986429)) - theme type issues ([16f2b4d](https://github.com/okta/odyssey/commit/16f2b4da129901f63bc21c8dec89385604128d98)) - updated Odyssey Labs exports and theme ([080ac14](https://github.com/okta/odyssey/commit/080ac1409c5e2eb8705dbc11bf499fd53eb6197b)) -- updated per PR comments ([e436890](https://github.com/okta/odyssey/commit/e436890a1eaedffc5ba382b88f1e6271fad4861b)) -- updated prop names ([1a73aa8](https://github.com/okta/odyssey/commit/1a73aa8aa1197e47795cda7b54382deb9ed56628)) -- upgraded MUI icons ([c978ab6](https://github.com/okta/odyssey/commit/c978ab66375f649a9b66544dbc490cc0442cff2c)) - workspace:\* versions ([4540e7a](https://github.com/okta/odyssey/commit/4540e7a5570c67a1478a6f8afbb8dea8f69aea13)) - yarn.lock ([7b6254c](https://github.com/okta/odyssey/commit/7b6254c6f5aa159ae4a0d793670b434a37c4e494)) - yarn.lock ([4e2270a](https://github.com/okta/odyssey/commit/4e2270a259f81381354e62e1caf6ef707ae74831)) -### [0.17.1](https://github.com/okta/odyssey/compare/v0.16.1...v0.17.1) (2022-12-09) +### [0.17.1](https://github.com/okta/odyssey/compare/v0.17.0...v0.17.1) (2022-12-09) ### Features diff --git a/lerna.json b/lerna.json index 0c3d6cb6a7..05a1719b9e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.19.0", + "version": "0.20.0", "npmClient": "yarn", "command": { "publish": { diff --git a/packages/babel-plugin-fully-specified/CHANGELOG.md b/packages/babel-plugin-fully-specified/CHANGELOG.md index a07b99e0fc..4fe727077f 100644 --- a/packages/babel-plugin-fully-specified/CHANGELOG.md +++ b/packages/babel-plugin-fully-specified/CHANGELOG.md @@ -3,27 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) +## [0.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) ### Features -- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) -- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) +**Note:** Version bump only for package @okta/babel-plugin-fully-specified -### Bug Fixes +## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) -- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +**Note:** Version bump only for package @okta/babel-plugin-fully-specified ## [0.18.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.18.0) (2023-02-02) -### Features - -- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) -- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) - -### Bug Fixes - -- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +**Note:** Version bump only for package @okta/babel-plugin-fully-specified ### [0.17.2](https://github.com/okta/odyssey/compare/v0.16.1...v0.17.2) (2023-01-12) diff --git a/packages/babel-plugin-fully-specified/package.json b/packages/babel-plugin-fully-specified/package.json index 5b418d77be..4d8756aeb2 100644 --- a/packages/babel-plugin-fully-specified/package.json +++ b/packages/babel-plugin-fully-specified/package.json @@ -1,6 +1,6 @@ { "name": "@okta/babel-plugin-fully-specified", - "version": "0.19.0", + "version": "0.20.0", "private": true, "description": "Babel plugin to generate fully specified ESM module syntax", "author": "Okta, Inc.", diff --git a/packages/browserslist-config-odyssey/CHANGELOG.md b/packages/browserslist-config-odyssey/CHANGELOG.md index d7760040f2..d6d94f8989 100644 --- a/packages/browserslist-config-odyssey/CHANGELOG.md +++ b/packages/browserslist-config-odyssey/CHANGELOG.md @@ -3,25 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) - -### Features +## [0.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) -- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) +**Note:** Version bump only for package @okta/browserslist-config-odyssey -### Bug Fixes +## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) -- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +**Note:** Version bump only for package @okta/browserslist-config-odyssey ## [0.18.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.18.0) (2023-02-02) -### Features - -- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) - -### Bug Fixes - -- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +**Note:** Version bump only for package @okta/browserslist-config-odyssey ### [0.17.2](https://github.com/okta/odyssey/compare/v0.16.1...v0.17.2) (2023-01-12) diff --git a/packages/browserslist-config-odyssey/package.json b/packages/browserslist-config-odyssey/package.json index 8f33abbf6a..7cd7ee03f2 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.19.0", + "version": "0.20.0", "description": "Browserslist config for Odyssey, Okta's design system", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/conventional-changelog-odyssey/CHANGELOG.md b/packages/conventional-changelog-odyssey/CHANGELOG.md index 5c63ea0b0d..6aa276f7be 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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/conventional-changelog-odyssey + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **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 8b5cb83af0..e7e3e144fb 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.19.0", + "version": "0.20.0", "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 bbab3ecdea..2592490bbd 100644 --- a/packages/eslint-plugin-odyssey/CHANGELOG.md +++ b/packages/eslint-plugin-odyssey/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/eslint-plugin-odyssey/package.json b/packages/eslint-plugin-odyssey/package.json index fcceebb2ca..ce8bb23ba6 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.19.0", + "version": "0.20.0", "main": "src/index.js", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-babel-loader/CHANGELOG.md b/packages/odyssey-babel-loader/CHANGELOG.md index 1c2d538dff..e68204bb8f 100644 --- a/packages/odyssey-babel-loader/CHANGELOG.md +++ b/packages/odyssey-babel-loader/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Bug Fixes + +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Bug Fixes diff --git a/packages/odyssey-babel-loader/package.json b/packages/odyssey-babel-loader/package.json index e91b8a27fa..eb5c1386d8 100644 --- a/packages/odyssey-babel-loader/package.json +++ b/packages/odyssey-babel-loader/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-babel-loader", - "version": "0.19.0", + "version": "0.20.0", "description": "Babel webpack loader for Odyssey, Okta's design system", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-babel-preset/CHANGELOG.md b/packages/odyssey-babel-preset/CHANGELOG.md index 86eb5fb70b..2d2de6e87a 100644 --- a/packages/odyssey-babel-preset/CHANGELOG.md +++ b/packages/odyssey-babel-preset/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) + +### Bug Fixes + +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/odyssey-babel-preset/package.json b/packages/odyssey-babel-preset/package.json index d06e47b7e2..b2ea194309 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.19.0", + "version": "0.20.0", "description": "Babel preset for Odyssey, Okta's design system", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-commitlint/CHANGELOG.md b/packages/odyssey-commitlint/CHANGELOG.md index 6aa9509a9d..a76667ae43 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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/odyssey-commitlint + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **Note:** Version bump only for package @okta/odyssey-commitlint diff --git a/packages/odyssey-commitlint/package.json b/packages/odyssey-commitlint/package.json index c7fe2f63ad..d82427d9a4 100644 --- a/packages/odyssey-commitlint/package.json +++ b/packages/odyssey-commitlint/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-commitlint", - "version": "0.19.0", + "version": "0.20.0", "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 ac7a5044d0..438cd64245 100644 --- a/packages/odyssey-design-tokens/CHANGELOG.md +++ b/packages/odyssey-design-tokens/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Bug Fixes + +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Bug Fixes diff --git a/packages/odyssey-design-tokens/package.json b/packages/odyssey-design-tokens/package.json index ad9f3b00da..3c2e553ccb 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.19.0", + "version": "0.20.0", "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 4845af0474..3344ca1dd4 100644 --- a/packages/odyssey-eslint-config/CHANGELOG.md +++ b/packages/odyssey-eslint-config/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Bug Fixes + +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Bug Fixes diff --git a/packages/odyssey-eslint-config/package.json b/packages/odyssey-eslint-config/package.json index 48dc76f3f8..f5e72edc14 100644 --- a/packages/odyssey-eslint-config/package.json +++ b/packages/odyssey-eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-eslint-config", - "version": "0.19.0", + "version": "0.20.0", "main": "src/index.js", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-icons/CHANGELOG.md b/packages/odyssey-icons/CHANGELOG.md index 429dafe507..7b648afc42 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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/odyssey-icons + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **Note:** Version bump only for package @okta/odyssey-icons diff --git a/packages/odyssey-icons/package.json b/packages/odyssey-icons/package.json index 8301151349..a321b06af4 100644 --- a/packages/odyssey-icons/package.json +++ b/packages/odyssey-icons/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-icons", - "version": "0.19.0", + "version": "0.20.0", "private": true, "description": "The home for Odyssey's supported icons.", "homepage": "https://github.com/okta/odyssey", diff --git a/packages/odyssey-lifecycle/CHANGELOG.md b/packages/odyssey-lifecycle/CHANGELOG.md index d34c9d1ee1..80257db6f5 100644 --- a/packages/odyssey-lifecycle/CHANGELOG.md +++ b/packages/odyssey-lifecycle/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/odyssey-lifecycle + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **Note:** Version bump only for package @okta/odyssey-lifecycle diff --git a/packages/odyssey-lifecycle/package.json b/packages/odyssey-lifecycle/package.json index 78f57f3d8e..948236f8c5 100644 --- a/packages/odyssey-lifecycle/package.json +++ b/packages/odyssey-lifecycle/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-lifecycle", - "version": "0.19.0", + "version": "0.20.0", "description": "Lifecycle scripts for lerna and npm", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-lint-staged/CHANGELOG.md b/packages/odyssey-lint-staged/CHANGELOG.md index 8d8bbfffcf..a0bd23e1bb 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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/odyssey-lint-staged + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **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 407394440e..fbe7406f85 100644 --- a/packages/odyssey-lint-staged/package.json +++ b/packages/odyssey-lint-staged/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-lint-staged", - "version": "0.19.0", + "version": "0.20.0", "main": "src/index.js", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-react-labs/CHANGELOG.md b/packages/odyssey-react-labs/CHANGELOG.md index ac3c7ed848..003b60e349 100644 --- a/packages/odyssey-react-labs/CHANGELOG.md +++ b/packages/odyssey-react-labs/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) +- add labs theme ([8f45e5d](https://github.com/okta/odyssey/commit/8f45e5d4d74eb664b4f7ce73e08fdafd1e8da2cb)) +- added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) +- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) + +### Bug Fixes + +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +- theme type issues ([16f2b4d](https://github.com/okta/odyssey/commit/16f2b4da129901f63bc21c8dec89385604128d98)) +- updated Odyssey Labs exports and theme ([080ac14](https://github.com/okta/odyssey/commit/080ac1409c5e2eb8705dbc11bf499fd53eb6197b)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/odyssey-react-labs/package.json b/packages/odyssey-react-labs/package.json index 58655753e2..f5393fb01c 100644 --- a/packages/odyssey-react-labs/package.json +++ b/packages/odyssey-react-labs/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-react-labs", - "version": "0.19.0", + "version": "0.20.0", "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", diff --git a/packages/odyssey-react-mui/CHANGELOG.md b/packages/odyssey-react-mui/CHANGELOG.md index e885b5e00a..7a4261cc9a 100644 --- a/packages/odyssey-react-mui/CHANGELOG.md +++ b/packages/odyssey-react-mui/CHANGELOG.md @@ -3,6 +3,71 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### ⚠ BREAKING CHANGES + +- **odyssey-react-mui:** remove `kbd` variant from Typography component + +### Features + +- abstract Radio and RadioGroup ([6b34afa](https://github.com/okta/odyssey/commit/6b34afaa83ce0043731ff8d111d3114fabd9ecf7)) +- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) +- add name and defaultValue attributes ([1eb7608](https://github.com/okta/odyssey/commit/1eb76081f528ebf3d529d667593d105f2c4d266d)) +- add TextInput ([fa5a033](https://github.com/okta/odyssey/commit/fa5a03309263a1239c1902c86eef04d5ba4c4774)) +- added customTheme property to OdysseyThemeProvider ([4207c4b](https://github.com/okta/odyssey/commit/4207c4b0079bd19f637d5ad83c8c8d188598cdf1)) +- added Emotion CacheProvider as part of ThemeProvider ([4c00a59](https://github.com/okta/odyssey/commit/4c00a591f8e1c237eec74758d4d8a13fd7a5499a)) +- added forwardRef to Link ([5598ff8](https://github.com/okta/odyssey/commit/5598ff872a2bd9cf2e3e3a9898ddbbbe9c05ce38)) +- added optional nonce prop to OdysseyCacheProvider ([f264b50](https://github.com/okta/odyssey/commit/f264b50d5c737fcaa672eadb4d3302acfd136582)) +- added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) +- **odyssey-react-mui:** add 'alert' to available Banner roles ([bf6f645](https://github.com/okta/odyssey/commit/bf6f6455e9271c070daa84d9668851906aa16ef4)) +- **odyssey-react-mui:** add check icon to selected list items ([dbe5777](https://github.com/okta/odyssey/commit/dbe577783a3506d6ebb46047437936c242b69303)) +- **odyssey-react-mui:** add element styles to ScopedCssBaseline ([d2831b0](https://github.com/okta/odyssey/commit/d2831b0a8ad0a9063aea85ceaff69dcfea16314b)) +- **odyssey-react-mui:** add MenuButton and MenuItem components ([f29c136](https://github.com/okta/odyssey/commit/f29c136b25d7df5899f55d3be6206004778fb284)) +- **odyssey-react-mui:** add status theme to Chip ([82c9c28](https://github.com/okta/odyssey/commit/82c9c284c016b63e96ddbe3b3c82822b9c7f5857)) +- **odyssey-react-mui:** add theme for ListSubheader ([b27c79a](https://github.com/okta/odyssey/commit/b27c79a91eda15a802520bc07ba0a9025b30d63c)) +- **odyssey-react-mui:** add theme for multiselect ([ce8fbdb](https://github.com/okta/odyssey/commit/ce8fbdb33218b6064556800ad0a9a60a06c617b1)) +- **odyssey-react-mui:** add theme for Tag/Chip ([8539c6d](https://github.com/okta/odyssey/commit/8539c6d3aa3a29fcef0984bc611ccab9a4b524af)) +- **odyssey-react-mui:** export ScopedCssBaseline for use ([5a98aaa](https://github.com/okta/odyssey/commit/5a98aaacf4142f84b2e03dc13b03d4435790e014)) +- **odyssey-react-mui:** increase default icon size to 16px; add ui type variant ([6577c33](https://github.com/okta/odyssey/commit/6577c331c29a5bfc53b41ebd269cf69366e2825c)) +- **odyssey-react-mui:** make rem-base themeable, add element styles to ScopedCssBaseline ([ebafd5c](https://github.com/okta/odyssey/commit/ebafd5cb13afae7c8bf365782264c248b8345960)) +- **odyssey-react-mui:** theme Select and refactor InputBase styles to support Select ([0538fb1](https://github.com/okta/odyssey/commit/0538fb1f77f79f2fca1635001163c11d6dfbd7f7)) +- **odyssey-react-mui:** wrap and export Infobox ([4b0f283](https://github.com/okta/odyssey/commit/4b0f283e47fa553c2d72e3b85ee76102aa327709)) +- **odyssey-react-mui:** wrap and export Status component ([55ac9c9](https://github.com/okta/odyssey/commit/55ac9c9e9b204e4262c8a7a39b60b48627baae30)) +- re-exported MUI List components as Odyssey MUI components ([9a78122](https://github.com/okta/odyssey/commit/9a781222830fb3003ce935cbacedf5a0b62a1cec)) +- replace the previous TextField ([e01ce2a](https://github.com/okta/odyssey/commit/e01ce2ae315bafce886179135e05c0cd11b52430)) +- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) +- updated Radio and fixed types on TextField and Banner ([9cfa050](https://github.com/okta/odyssey/commit/9cfa05093fa59923085bcac18908065457a018f4)) +- wrap banner and add stories ([0ccfbd0](https://github.com/okta/odyssey/commit/0ccfbd0ef845c1f598c5409d37e5fb9a83d94f47)) + +### Bug Fixes + +- add Status import to index ([d16b6df](https://github.com/okta/odyssey/commit/d16b6df831dd22accbc58450595a642b2330c42d)) +- added missing export for OdysseyThemeProvider and OdysseyCacheProvider ([3273f35](https://github.com/okta/odyssey/commit/3273f3537856a2b71161888ab291c5663bc2dbcb)) +- adjusted boolean prop names in Radio ([25eb5d1](https://github.com/okta/odyssey/commit/25eb5d1686526355c2b1ae4b83f23c80c5c72951)) +- adjusted boolean prop names in RadioGroup ([135a8ec](https://github.com/okta/odyssey/commit/135a8ec09a25b849eb413b93548dca1683480b1e)) +- another potential Lerna build order fix ([b4eb393](https://github.com/okta/odyssey/commit/b4eb39322204682e0b33dd76a7901370de754020)) +- ensure aria-describedby only show when needed ([a75a290](https://github.com/okta/odyssey/commit/a75a29038164875c1a56329669ac95159ba689f2)) +- fixed a number of logistical issues ([48a95e1](https://github.com/okta/odyssey/commit/48a95e1bf963632186b083eaa461a1ec3b2ac7c8)) +- forwardRef in Link ([d1429af](https://github.com/okta/odyssey/commit/d1429afe1dde8608e2587abc2be99e7601650dc5)) +- minor type updates in unique ID hooks ([01df5b2](https://github.com/okta/odyssey/commit/01df5b2d7a19ed9862d27e1ca423d2ea29ad17c6)) +- **odyssey-react-mui:** fix floating and small Button properties, fix Toast layout ([e98d36b](https://github.com/okta/odyssey/commit/e98d36b57509a99ccd0f2290aee56322a0d155b8)) +- **odyssey-react-mui:** make figcaption styles a fallback ([a4a232a](https://github.com/okta/odyssey/commit/a4a232a99964f683df9a913ec003b8c81219eed3)) +- **odyssey-react-mui:** make Link a11y-compliant in all cases ([baf01c0](https://github.com/okta/odyssey/commit/baf01c0d6650b83a4b5db3e5bf7fad863d4a25f6)) +- **odyssey-react-mui:** override MuiBackdrop colors correctly ([972a2c3](https://github.com/okta/odyssey/commit/972a2c3090fd6f4827adfc14390d5798dec2ab50)) +- **odyssey-react-mui:** provide safety dec for input box-shadow ([9562e74](https://github.com/okta/odyssey/commit/9562e7482b69b005b7d48f2694890a3b5277693c)) +- **odyssey-react-mui:** size and align icons correctly within Button ([7787bf0](https://github.com/okta/odyssey/commit/7787bf0d03da093dc4a94955e57240c9b11e7762)) +- onClose prop type ([4c2052f](https://github.com/okta/odyssey/commit/4c2052f7d3f449dafdac892b2e1bbeb8cb7ceacc)) +- remove vestigial AlertProps import ([af7883b](https://github.com/okta/odyssey/commit/af7883b3c54257e5deeeca6db6ff9e62580c9694)) +- renamed inType to inputType ([dd67213](https://github.com/okta/odyssey/commit/dd67213a3ed6ce81dc322402b14886ecf5e53f88)) +- split OdysseyThemeProvider and OdysseyCacheProvider ([16a6ce3](https://github.com/okta/odyssey/commit/16a6ce3672a634e3450545ffe8c41a70db1b7fb3)) +- textAlign logical value in FormHelperText for RTL support ([19208d5](https://github.com/okta/odyssey/commit/19208d5aed4677d9198f56cd2da0598913e4b5e1)) +- update physical CSS properties (_-left, _-right) to use logical CSS counterpart for RTL support ([08ac38c](https://github.com/okta/odyssey/commit/08ac38c303d01de7a8c5b9ea2600a0bfec3acb5e)) +- update type of onClose for lintert ([6983d7d](https://github.com/okta/odyssey/commit/6983d7d5aad1864593579a3e9d9df6c2c5f1b137)) +- updated per PR comments ([e436890](https://github.com/okta/odyssey/commit/e436890a1eaedffc5ba382b88f1e6271fad4861b)) +- updated prop names ([1a73aa8](https://github.com/okta/odyssey/commit/1a73aa8aa1197e47795cda7b54382deb9ed56628)) +- upgraded MUI icons ([c978ab6](https://github.com/okta/odyssey/commit/c978ab66375f649a9b66544dbc490cc0442cff2c)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### ⚠ BREAKING CHANGES diff --git a/packages/odyssey-react-mui/package.json b/packages/odyssey-react-mui/package.json index 5d8119d926..4dc8cbc16f 100644 --- a/packages/odyssey-react-mui/package.json +++ b/packages/odyssey-react-mui/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-react-mui", - "version": "0.19.0", + "version": "0.20.0", "description": "React MUI components for Odyssey, Okta's design system", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-react-mui/src/MenuButton.tsx b/packages/odyssey-react-mui/src/MenuButton.tsx new file mode 100644 index 0000000000..4992bed4b5 --- /dev/null +++ b/packages/odyssey-react-mui/src/MenuButton.tsx @@ -0,0 +1,99 @@ +/*! + * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. + * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") + * + * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and limitations under the License. + */ + +import { + Button, + ButtonProps, + ChevronDownIcon, + Divider, + ListSubheader, + Menu, + MenuItem, + useUniqueId, +} from "./"; +import { memo, MouseEvent, ReactElement, useMemo, useState } from "react"; + +export interface MenuButtonProps { + /** + * The components within the Menu. + */ + children: Array< + ReactElement + >; + /** + * The end Icon on the trigggering Button + */ + buttonEndIcon?: ReactElement; + /** + * The label on the triggering Button + */ + buttonLabel?: string; + /** + * The variant of the triggering Button + */ + buttonVariant?: ButtonProps["variant"]; +} + +const MenuButton = ({ + buttonLabel = "", + children, + buttonEndIcon = , + buttonVariant = "secondary", +}: MenuButtonProps) => { + const [anchorEl, setAnchorEl] = useState(null); + + const open = Boolean(anchorEl); + + const handleClick = (event: MouseEvent) => { + setAnchorEl(event.currentTarget); + }; + + const handleClose = () => { + setAnchorEl(null); + }; + + const uniqueId = useUniqueId(); + + const menuListProps = useMemo( + () => ({ "aria-labelledby": `${uniqueId}-button` }), + [uniqueId] + ); + + return ( +
+ + + {children} + +
+ ); +}; + +const MemoizedMenuButton = memo(MenuButton); + +export { MemoizedMenuButton as MenuButton }; diff --git a/packages/odyssey-react-mui/src/MenuItem.tsx b/packages/odyssey-react-mui/src/MenuItem.tsx new file mode 100644 index 0000000000..7d09a2847e --- /dev/null +++ b/packages/odyssey-react-mui/src/MenuItem.tsx @@ -0,0 +1,50 @@ +/*! + * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. + * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") + * + * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and limitations under the License. + */ + +import { memo, forwardRef } from "react"; +import { MenuItem as MuiMenuItem } from "@mui/material"; +import { menuItemClasses } from "@mui/material/MenuItem"; +import type { MenuItemProps as MuiMenuItemProps } from "@mui/material"; + +export interface MenuItemProps + extends Omit< + MuiMenuItemProps, + | "component" + | "dense" + | "disableGutters" + | "divider" + | "focusVisibleClassName" + > { + /** + * Toggles whether or not the MenuItem represents a destructive action. + */ + isDestructive?: boolean; +} + +const MenuItem = forwardRef( + ({ isDestructive, ...props }, ref) => ( + + {props.children} + + ) +); + +const MemoizedMenuItem = memo(MenuItem); +MemoizedMenuItem.displayName = "MenuItem"; + +export { MemoizedMenuItem as MenuItem }; diff --git a/packages/odyssey-react-mui/src/index.ts b/packages/odyssey-react-mui/src/index.ts index 8a3e73e632..521c3269a7 100644 --- a/packages/odyssey-react-mui/src/index.ts +++ b/packages/odyssey-react-mui/src/index.ts @@ -24,6 +24,7 @@ export { DialogContent, DialogContentText, DialogTitle, + Divider, FormControl, FormControlLabel, FormGroup, @@ -38,7 +39,9 @@ export { ListItemIcon, ListItemText, ListSubheader, - MenuItem, + Menu, + MenuList, + Paper, ScopedCssBaseline, Select, Snackbar, @@ -72,6 +75,7 @@ export type { DialogContentProps, DialogContentTextProps, DialogTitleProps, + DividerProps, FormControlLabelProps, FormControlProps, FormGroupProps, @@ -86,7 +90,9 @@ export type { ListItemIconProps, ListItemTextProps, ListSubheaderProps, - MenuItemProps, + MenuProps, + MenuListProps, + PaperProps, ScopedCssBaselineProps, SelectChangeEvent, SelectProps, @@ -121,6 +127,8 @@ export * from "./Icon"; export * from "./iconDictionary"; export * from "./Infobox"; export * from "./Link"; +export * from "./MenuButton"; +export * from "./MenuItem"; export * from "./OdysseyCacheProvider"; export * from "./OdysseyThemeProvider"; export * from "./PasswordInput"; diff --git a/packages/odyssey-react-mui/src/theme/components.tsx b/packages/odyssey-react-mui/src/theme/components.tsx index 0c5d6c3734..1d1f5f07d5 100644 --- a/packages/odyssey-react-mui/src/theme/components.tsx +++ b/packages/odyssey-react-mui/src/theme/components.tsx @@ -10,13 +10,18 @@ * See the License for the specific language governing permissions and limitations under the License. */ -import type { ThemeOptions } from "@mui/material"; +import { ThemeOptions } from "@mui/material"; import type {} from "@mui/lab/themeAugmentation"; //import radioClasses from "@mui/material"; +import { buttonClasses } from "@mui/material/Button"; import { chipClasses } from "@mui/material/Chip"; import { dialogActionsClasses } from "@mui/material/DialogActions"; +import { dividerClasses } from "@mui/material/Divider"; import { inputAdornmentClasses } from "@mui/material/InputAdornment"; import { inputBaseClasses } from "@mui/material/InputBase"; +import { listItemIconClasses } from "@mui/material/ListItemIcon"; +import { listItemTextClasses } from "@mui/material/ListItemText"; +import { menuItemClasses } from "@mui/material/MenuItem"; import { svgIconClasses } from "@mui/material/SvgIcon"; import { tableBodyClasses } from "@mui/material/TableBody"; import { tableCellClasses } from "@mui/material/TableCell"; @@ -292,7 +297,7 @@ export const components: ThemeOptions["components"] = { style: { minWidth: "auto", - ".MuiButton-startIcon": { + [`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: { margin: "0", }, }, @@ -335,18 +340,23 @@ export const components: ThemeOptions["components"] = { pointerEvents: "inherit", // in order to have cursor: not-allowed, must change pointer-events from "none" }, - ".MuiButton-startIcon > *:nth-of-type(1)": { - fontSize: `${theme.typography.ui.lineHeight}em`, + [`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: { + "& > *:nth-of-type(1)": { + fontSize: `${theme.typography.ui.lineHeight}em`, + }, }, }), + + endIcon: ({ theme }) => ({ + display: "inline-flex", + margin: 0, + marginInlineStart: theme.spacing(2), + }), + startIcon: ({ theme }) => ({ display: "inline-flex", margin: 0, marginInlineEnd: theme.spacing(2), - - "&:only-child": { - margin: 0, - }, }), }, }, @@ -735,7 +745,7 @@ export const components: ThemeOptions["components"] = { }, }, - "ul, ol": { + "ul:not([class]), ol:not([class])": { maxWidth: theme.mixins.maxWidth, marginBlockStart: 0, marginBlockEnd: theme.spacing(4), @@ -755,7 +765,7 @@ export const components: ThemeOptions["components"] = { }, }, - li: { + "li:not([class])": { marginBlockEnd: theme.spacing(2), paddingInlineStart: theme.spacing(1), @@ -1263,6 +1273,7 @@ export const components: ThemeOptions["components"] = { paddingBlock: theme.spacing(2), paddingInline: theme.spacing(4), fontSize: theme.typography.caption.fontSize, + fontWeight: theme.typography.fontWeightBold, lineHeight: theme.typography.caption.lineHeight, color: theme.palette.text.secondary, textTransform: "uppercase", @@ -1271,21 +1282,73 @@ export const components: ThemeOptions["components"] = { }, MuiMenuItem: { styleOverrides: { - root: ({ theme }) => ({ - justifyContent: "space-between", + root: ({ theme, ownerState }) => ({ gap: theme.spacing(2), + minHeight: "unset", + paddingBlock: theme.spacing(3), - "&.Mui-selected": { + "&:hover": { + textDecoration: "none", + backgroundColor: theme.palette.grey[100], + + // Reset on touch devices, it doesn't add specificity + "@media (hover: none)": { + backgroundColor: "transparent", + }, + }, + + [`&.${menuItemClasses.root}-destructive`]: { + color: theme.palette.error.main, + }, + + [`&.${menuItemClasses.selected}`]: { backgroundColor: "transparent", color: theme.palette.primary.main, "&:hover": { backgroundColor: theme.palette.primary.lighter, + + "@media (hover: none)": { + backgroundColor: `rgba(${theme.palette.primary.main} / ${theme.palette.action.selectedOpacity})`, + }, }, }, + + ...(!ownerState.disableGutters && { + paddingInline: theme.spacing(4), + }), + + ...(ownerState.divider && { + borderBlockEnd: `1px solid ${theme.palette.divider}`, + }), + + [`&.${menuItemClasses.disabled}`]: { + opacity: 1, + color: theme.palette.text.disabled, + }, + + [`& + .${dividerClasses.root}`]: { + marginBlock: theme.spacing(1), + }, + + [`& .${listItemTextClasses.root}`]: { + marginBlock: 0, + }, + + [`& .${listItemIconClasses.root}`]: { + minWidth: "unset", + }, }), }, }, + MuiListItemIcon: { + styleOverrides: { + root: { + minWidth: "unset", + color: "inherit", + }, + }, + }, MuiNativeSelect: { defaultProps: { variant: "standard", @@ -1306,6 +1369,9 @@ export const components: ThemeOptions["components"] = { styleOverrides: { paper: ({ theme }) => ({ marginBlockStart: theme.spacing(1), + borderWidth: theme.mixins.borderWidth, + borderStyle: theme.mixins.borderStyle, + borderColor: theme.palette.grey[200], }), }, }, diff --git a/packages/odyssey-storybook/CHANGELOG.md b/packages/odyssey-storybook/CHANGELOG.md index a389af0943..e4a88df056 100644 --- a/packages/odyssey-storybook/CHANGELOG.md +++ b/packages/odyssey-storybook/CHANGELOG.md @@ -3,6 +3,46 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- abstract Radio and RadioGroup ([6b34afa](https://github.com/okta/odyssey/commit/6b34afaa83ce0043731ff8d111d3114fabd9ecf7)) +- add custom theming to Odyssey labs ([8c954cc](https://github.com/okta/odyssey/commit/8c954cc3e232d21cbf9f72c61c548766bb75614a)) +- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) +- add labs theme ([8f45e5d](https://github.com/okta/odyssey/commit/8f45e5d4d74eb664b4f7ce73e08fdafd1e8da2cb)) +- add name and defaultValue attributes ([1eb7608](https://github.com/okta/odyssey/commit/1eb76081f528ebf3d529d667593d105f2c4d266d)) +- add TextInput ([fa5a033](https://github.com/okta/odyssey/commit/fa5a03309263a1239c1902c86eef04d5ba4c4774)) +- added Emotion CacheProvider as part of ThemeProvider ([4c00a59](https://github.com/okta/odyssey/commit/4c00a591f8e1c237eec74758d4d8a13fd7a5499a)) +- added styles for DatePicker theming ([db967ba](https://github.com/okta/odyssey/commit/db967bad7fe836d8f5877f6ffe5a601f78ff47ec)) +- **odyssey-storybook:** remove title prop, add isDismissible variant to Toast ([214d1ce](https://github.com/okta/odyssey/commit/214d1ce68f80daced611cc10e93a79caa9b0d8f8)) +- remove custom theme for DatePicker ([f7dcd4c](https://github.com/okta/odyssey/commit/f7dcd4c0c70270542f181e18498b7af05de607b4)) +- replace the previous TextField ([e01ce2a](https://github.com/okta/odyssey/commit/e01ce2ae315bafce886179135e05c0cd11b52430)) +- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) +- updated Radio and fixed types on TextField and Banner ([9cfa050](https://github.com/okta/odyssey/commit/9cfa05093fa59923085bcac18908065457a018f4)) +- use \* for odyssey packages in labs ([1c00733](https://github.com/okta/odyssey/commit/1c007335df90bd5ea7d05333a7d8f503d66caf89)) +- use \* for odyssey packages in storybook ([b7e5146](https://github.com/okta/odyssey/commit/b7e514621726c802fedfa4527b6b9dfcf036a143)) +- wrap banner and add stories ([0ccfbd0](https://github.com/okta/odyssey/commit/0ccfbd0ef845c1f598c5409d37e5fb9a83d94f47)) + +### Bug Fixes + +- adjusted DatePicker story with correct theme ([ddfc00b](https://github.com/okta/odyssey/commit/ddfc00ba4621ddb56a599675dd31c64a88b7276c)) +- banner having string function defined ([a21fca9](https://github.com/okta/odyssey/commit/a21fca9f6aa15d68024fd06e70f625676674fb7b)) +- changed to workspace:_ instead of _ imports ([407875b](https://github.com/okta/odyssey/commit/407875bea5f6e2265a7144d2443f69d2fd844c92)) +- converted types to new Storybook component versions ([a47bc16](https://github.com/okta/odyssey/commit/a47bc16f424fac29e1a69022c80c709ef2e0711a)) +- fix story component ([73b83f2](https://github.com/okta/odyssey/commit/73b83f2b5af610928553eca5cd46062a66b6a257)) +- fixed a number of logistical issues ([48a95e1](https://github.com/okta/odyssey/commit/48a95e1bf963632186b083eaa461a1ec3b2ac7c8)) +- lerna not recognizing workspace:\* ([355bb1a](https://github.com/okta/odyssey/commit/355bb1aa75ed05df02c6bbd1fb134924ce1b0e84)) +- lint ([f84d08a](https://github.com/okta/odyssey/commit/f84d08a6c703ebbeac16e56c9c90f489902863cc)) +- minor update to Radio template name ([132a588](https://github.com/okta/odyssey/commit/132a58829f21d12101a47cb0798b796b87a37371)) +- onClose prop type ([4c2052f](https://github.com/okta/odyssey/commit/4c2052f7d3f449dafdac892b2e1bbeb8cb7ceacc)) +- remove unneeded import ([209574c](https://github.com/okta/odyssey/commit/209574cadba0139b08ccd37110647cb8c946dd8a)) +- split OdysseyThemeProvider and OdysseyCacheProvider ([16a6ce3](https://github.com/okta/odyssey/commit/16a6ce3672a634e3450545ffe8c41a70db1b7fb3)) +- storybook not loading new themed versions ([2a321f6](https://github.com/okta/odyssey/commit/2a321f6673f9f40efb93cffb35ebbc04d4986429)) +- update RadioGroup params in other stories ([378dbea](https://github.com/okta/odyssey/commit/378dbea71a959986dd20132a76a0018bc254d01e)) +- update type of onClose for lintert ([6983d7d](https://github.com/okta/odyssey/commit/6983d7d5aad1864593579a3e9d9df6c2c5f1b137)) +- workspace:\* versions ([4540e7a](https://github.com/okta/odyssey/commit/4540e7a5570c67a1478a6f8afbb8dea8f69aea13)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/odyssey-storybook/package.json b/packages/odyssey-storybook/package.json index c0d84f6391..e81a9c3529 100644 --- a/packages/odyssey-storybook/package.json +++ b/packages/odyssey-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-storybook", - "version": "0.19.0", + "version": "0.20.0", "description": "Documentation for Odyssey, Okta's design system", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/Banner/Banner.stories.tsx b/packages/odyssey-storybook/src/components/odyssey-mui/Banner/Banner.stories.tsx index 053c13a612..1ed78ebd97 100644 --- a/packages/odyssey-storybook/src/components/odyssey-mui/Banner/Banner.stories.tsx +++ b/packages/odyssey-storybook/src/components/odyssey-mui/Banner/Banner.stories.tsx @@ -45,7 +45,7 @@ const storybookMeta: ComponentMeta = { }, text: { control: "text", - defaultValue: "The mission to Sagitarius A has been set for January 7.", + defaultValue: "The mission to Sagittarius A is set for January 7.", }, }, decorators: [MuiThemeDecorator], @@ -64,7 +64,7 @@ export const Error = Template.bind({}); Error.args = { role: "status", severity: "error", - text: "Hangar 18 has been compromised.", + text: "An unidentified flying object compromised Hangar 18.", }; export const Warning = Template.bind({}); @@ -80,7 +80,7 @@ WithLink.args = { linkUrl: "#anchor", role: "status", severity: "error", - text: "Hangar 18 has been compromised.", + text: "An unidentified flying object compromised Hangar 18.", }; export const Dismissible = Template.bind({}); diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.mdx b/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.mdx new file mode 100644 index 0000000000..afc7cfff03 --- /dev/null +++ b/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.mdx @@ -0,0 +1,106 @@ +import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs"; + + + +# Menu Button + +A menu button is a button that, when triggered, displays a list of actions for the user to choose from. + +## Overview + +The Menu button component includes a button and a menu that contains menu items. Each menu item can be chosen to perform a different action. + +### When to use + +- Use when you need to display multiple actions but there is a space constraint. + +### When not to use + +- If the user needs to make a selection within a form, use form elements such as select, radio, or checkboxes. +- For expanding and collapsing section, use accordion. + + + + + +## Variants + +### Trigger button variants + +The menu button is just like the regular button with additional functions. Regardless of the additional function, the menu button uses the same styles and properties that are available with Button. + +#### Dropdown button + +Dropdown buttons are styled just like the regular buttons (primary, secondary, floating) but they have trailing chevron-down icon to indicate that there is additional content once toggled. + + + + + +#### Icon button + +When using an icon button as a trigger we pair it with the overflow-vertical icon. + + + + + +### Menu item variants + +#### Icons + +Menu items by default are a plain label that explains the actions. An icon can also be included next to the label if it reinforces the label. + + + + + +#### Grouping + +You can group sections of actions within the menu by using a divider line, a section heading or both. + + + + + +#### Destructive actions + +Actions may be marked as destructive by using the `isDestructive` prop on the associated item. + + + + + +## Behaviors + +### Placement + +Menus are positioned under their anchor element, unless they are close to the bottom of the viewport. + +### Scrolling + +When a menu has scrolling, the last item should be 50% visible in the container so that it is clear that there is more content available. + +### List order + +Order your menu list in an intentional way that will facilitate the user in finding a specific value. There is not one way to this but you can consider the following options: + +- Organize the list in an alphabetical order. +- Show the most used options at the top of the list. +- Group list items into multiple categories. + +### Closing the menu + +When an action is selected from the list, the menu collapses and the action is performed. + +Additionally, a user can click outside of the menu or press the esc key and the menu will also collapse. + +## Accessibility + +Here are some accessibility guidelines to follow when using the Menu Button component: + +- Use descriptive and concise text for the button label. +- Make sure the button has a focus state so that it is clear when the button is in focus. +- Ensure ARIA attributes indicate that the button has a dropdown menu and to describe the menu items. +- Make sure the dropdown menu can be accessed with the keyboard. +- Use descriptive and concise text for the menu items. diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.stories.tsx b/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.stories.tsx new file mode 100644 index 0000000000..c71a261498 --- /dev/null +++ b/packages/odyssey-storybook/src/components/odyssey-mui/MenuButton/MenuButton.stories.tsx @@ -0,0 +1,142 @@ +/*! + * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved. + * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") + * + * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and limitations under the License. + */ + +import { Meta, Story } from "@storybook/react"; +import { + Divider, + ListItemIcon, + ListItemText, + ListSubheader, + MenuButton, + MenuButtonProps, + MenuItem, + UserGroupIcon, + GlobeIcon, + CalendarIcon, + OverflowVerticalIcon, +} from "@okta/odyssey-react-mui"; +import { MuiThemeDecorator } from "../../../../.storybook/components"; + +import MenuButtonMdx from "./MenuButton.mdx"; + +const storybookMeta: Meta = { + title: `MUI Components/Menu Button`, + component: MenuButton, + parameters: { + docs: { + page: MenuButtonMdx, + }, + }, + argTypes: { + children: { + control: "text", + defaultValue: undefined, + }, + buttonLabel: { + control: "text", + defaultValue: "More actions", + }, + buttonEndIcon: { + control: "text", + defaultValue: undefined, + }, + buttonVariant: { + control: "text", + defaultValue: undefined, + }, + }, + decorators: [MuiThemeDecorator], +}; + +export default storybookMeta; + +const DefaultTemplate: Story = (args) => { + return {args.children}; +}; + +export const Simple = DefaultTemplate.bind({}); +Simple.args = { + children: [ + View details, + Edit configuration, + Launch, + ], +}; + +export const ActionIcons = DefaultTemplate.bind({}); +ActionIcons.args = { + children: [ + + + + + Assign crew + , + + + + + View destination + , + + + + + Schedule launch + , + ], +}; + +export const ButtonVariant = DefaultTemplate.bind({}); +ButtonVariant.args = { + buttonVariant: "floating", + children: [ + View details, + Edit configuration, + Launch, + ], +}; + +export const Groupings = DefaultTemplate.bind({}); +Groupings.args = { + children: [ + Crew, + Assign captain, + View roster, + Ship, + Configure thrusters, + View cargo, + , + Logout, + ], +}; + +export const WithDestructive = DefaultTemplate.bind({}); +WithDestructive.args = { + buttonLabel: "Cargo options", + children: [ + View details, + Edit inventory, + Jettison cargo, + ], +}; + +export const IconButton = DefaultTemplate.bind({}); +IconButton.args = { + children: [ + View details, + Edit configuration, + Launch, + ], + buttonLabel: "", + buttonEndIcon: , +}; diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/Select/Select.stories.tsx b/packages/odyssey-storybook/src/components/odyssey-mui/Select/Select.stories.tsx index 2bea3a277b..d41afc94d5 100644 --- a/packages/odyssey-storybook/src/components/odyssey-mui/Select/Select.stories.tsx +++ b/packages/odyssey-storybook/src/components/odyssey-mui/Select/Select.stories.tsx @@ -49,7 +49,7 @@ export default { }, hint: { control: "text", - defaultValue: "Select your destination within the Sol system.", + defaultValue: "Select your destination in the Sol system.", }, invalid: { control: "boolean", @@ -248,7 +248,7 @@ DefaultDisabled.args = { export const DefaultInvalid = Template.bind({}); DefaultInvalid.args = { invalid: true, - error: "This field is required.", + error: "Select your destination.", }; export const Grouped = GroupedTemplate.bind({}); diff --git a/packages/odyssey-storybook/src/components/odyssey-mui/TextField/TextField.mdx b/packages/odyssey-storybook/src/components/odyssey-mui/TextField/TextField.mdx index d6b822cafb..91d0840aac 100644 --- a/packages/odyssey-storybook/src/components/odyssey-mui/TextField/TextField.mdx +++ b/packages/odyssey-storybook/src/components/odyssey-mui/TextField/TextField.mdx @@ -97,7 +97,7 @@ The invalid state is for inputs with incorrect values or values of the wrong for When indicating a validation error, please use a Field Error label to indicate the nature of the error. Color alone is not an accessible way to signify that something has gone wrong. - + ## Input Types diff --git a/packages/odyssey-stylelint/CHANGELOG.md b/packages/odyssey-stylelint/CHANGELOG.md index d11bde33e6..5d0ada0aac 100644 --- a/packages/odyssey-stylelint/CHANGELOG.md +++ b/packages/odyssey-stylelint/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- updated a bunch of packages to the latest version ([36ce1d0](https://github.com/okta/odyssey/commit/36ce1d09a621f273878345c20cfc782059c04cd2)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/odyssey-stylelint/package.json b/packages/odyssey-stylelint/package.json index 440b33fbfa..2c1d2e77a9 100644 --- a/packages/odyssey-stylelint/package.json +++ b/packages/odyssey-stylelint/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-stylelint", - "version": "0.19.0", + "version": "0.20.0", "main": "src/index.js", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-svgr/CHANGELOG.md b/packages/odyssey-svgr/CHANGELOG.md index 01546995ac..cc8de51af7 100644 --- a/packages/odyssey-svgr/CHANGELOG.md +++ b/packages/odyssey-svgr/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +**Note:** Version bump only for package @okta/odyssey-svgr + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) **Note:** Version bump only for package @okta/odyssey-svgr diff --git a/packages/odyssey-svgr/package.json b/packages/odyssey-svgr/package.json index 3a2878742c..807786f555 100644 --- a/packages/odyssey-svgr/package.json +++ b/packages/odyssey-svgr/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-svgr", - "version": "0.19.0", + "version": "0.20.0", "description": "Configuration files for svgr icon conversion", "author": "Okta, Inc.", "license": "Apache-2.0", diff --git a/packages/odyssey-typescript/CHANGELOG.md b/packages/odyssey-typescript/CHANGELOG.md index 8c51bd5905..87fc94fe7e 100644 --- a/packages/odyssey-typescript/CHANGELOG.md +++ b/packages/odyssey-typescript/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.20.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.20.0) (2023-02-23) + +### Features + +- add DatePicker styles to Labs ([#1672](https://github.com/okta/odyssey/issues/1672)) ([f8d8b5e](https://github.com/okta/odyssey/commit/f8d8b5e4f8d30f8bce346e4dca47f88c8350a26b)) + ## [0.19.0](https://github.com/okta/odyssey/compare/v0.16.1...v0.19.0) (2023-02-09) ### Features diff --git a/packages/odyssey-typescript/package.json b/packages/odyssey-typescript/package.json index 729960c8e4..122b35577d 100644 --- a/packages/odyssey-typescript/package.json +++ b/packages/odyssey-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@okta/odyssey-typescript", - "version": "0.19.0", + "version": "0.20.0", "author": "Okta, Inc.", "license": "Apache-2.0", "sideEffects": false, diff --git a/yarn.lock b/yarn.lock index 8cc191c705..e2ce3d40cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15734,9 +15734,9 @@ __metadata: linkType: hard "http-cache-semantics@npm:^4.1.0": - version: 4.1.0 - resolution: "http-cache-semantics@npm:4.1.0" - checksum: 974de94a81c5474be07f269f9fd8383e92ebb5a448208223bfb39e172a9dbc26feff250192ecc23b9593b3f92098e010406b0f24bd4d588d631f80214648ed42 + version: 4.1.1 + resolution: "http-cache-semantics@npm:4.1.1" + checksum: 83ac0bc60b17a3a36f9953e7be55e5c8f41acc61b22583060e8dedc9dd5e3607c823a88d0926f9150e571f90946835c7fe150732801010845c72cd8bbff1a236 languageName: node linkType: hard @@ -17783,48 +17783,17 @@ __metadata: linkType: hard "json5@npm:^1.0.1": - version: 1.0.1 - resolution: "json5@npm:1.0.1" + version: 1.0.2 + resolution: "json5@npm:1.0.2" dependencies: minimist: ^1.2.0 bin: json5: lib/cli.js - checksum: e76ea23dbb8fc1348c143da628134a98adf4c5a4e8ea2adaa74a80c455fc2cdf0e2e13e6398ef819bfe92306b610ebb2002668ed9fc1af386d593691ef346fc3 - languageName: node - linkType: hard - -"json5@npm:^2.1.2": - version: 2.1.3 - resolution: "json5@npm:2.1.3" - dependencies: - minimist: ^1.2.5 - bin: - json5: lib/cli.js - checksum: b2de57a66520eca0fbb6c5ef59249b8308efb93fe89a8c75f5a6846e4f5f7d99a5a6f2e4db4d7a1c7047802dd816ed602a052d147a415d0e6b7f834885b62bc3 - languageName: node - linkType: hard - -"json5@npm:^2.1.3": - version: 2.2.0 - resolution: "json5@npm:2.2.0" - dependencies: - minimist: ^1.2.5 - bin: - json5: lib/cli.js - checksum: e88fc5274bb58fc99547baa777886b069d2dd96d9cfc4490b305fd16d711dabd5979e35a4f90873cefbeb552e216b041a304fe56702bedba76e19bc7845f208d - languageName: node - linkType: hard - -"json5@npm:^2.2.0, json5@npm:^2.2.1": - version: 2.2.1 - resolution: "json5@npm:2.2.1" - bin: - json5: lib/cli.js - checksum: 74b8a23b102a6f2bf2d224797ae553a75488b5adbaee9c9b6e5ab8b510a2fc6e38f876d4c77dea672d4014a44b2399e15f2051ac2b37b87f74c0c7602003543b + checksum: 866458a8c58a95a49bef3adba929c625e82532bcff1fe93f01d29cb02cac7c3fe1f4b79951b7792c2da9de0b32871a8401a6e3c5b36778ad852bf5b8a61165d7 languageName: node linkType: hard -"json5@npm:^2.2.2": +"json5@npm:^2.1.2, json5@npm:^2.1.3, json5@npm:^2.2.0, json5@npm:^2.2.1, json5@npm:^2.2.2": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: