Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop -> Master #1948

Merged
merged 229 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
a3caf1e
refactor(odyssey-design-tokens): consolidate tokens, initial 2.0 work
edburyenegren-okta May 10, 2023
b9845ee
refactor(odyssey-react-mui): refactor to use new tokens
edburyenegren-okta May 10, 2023
5f979a0
refactor(odyssey-storybook): refactor to use new tokens
edburyenegren-okta May 10, 2023
ab787be
chore: pr feedback
edburyenegren-okta May 17, 2023
8cff088
refactor: update token names based on Content feedback
edburyenegren-okta May 17, 2023
7a929bb
refactor: update typography tokens to match new values
edburyenegren-okta May 23, 2023
46d5e7d
fix(odyssey-storybook): match storybook ui to new tokens
edburyenegren-okta May 23, 2023
508515d
Merge tag 'v0.24.0' into develop
edburyenegren-okta May 25, 2023
b81ce0d
Merge pull request #1806 from okta/merge-v0.24.0-into-develop
edburyenegren-okta May 25, 2023
e6cb41e
Merge branch 'develop' into ee/tokens-2-color
edburyenegren-okta May 30, 2023
b0d88c5
chore: these keep popping up after build
edburyenegren-okta May 30, 2023
a120774
docs(odyssey-storybook): update theming docs to use new tokens
edburyenegren-okta May 30, 2023
6eafaf9
Merge pull request #1790 from okta/ee/tokens-2-color
edburyenegren-okta May 31, 2023
8f57f89
Translations for odyssey (#1807)
ui-okta May 31, 2023
6863535
fix: use odyssey tokens inside mui components style override
ganeshsomasundaram-okta May 31, 2023
9150910
Merge pull request #1809 from okta/gs-OKTA-615212-remove-temp-odyssey…
edburyenegren-okta Jun 1, 2023
356b084
refactor(odyssey-design-tokens): rename "primary" type color to "action"
edburyenegren-okta Jun 1, 2023
775ffcb
feat(odyssey-design-tokens): add "darker" to primary palette
edburyenegren-okta Jun 1, 2023
5afc6ed
feat(odyssey-react-mui): update Link to match new brand standards
edburyenegren-okta Jun 1, 2023
a817ffb
feat(odyssey-react-mui): include color properties in type styles
edburyenegren-okta Jun 1, 2023
daa6513
refactor(odyssey-react-mui): migrate Circular Progress to design tokens
edburyenegren-okta Jun 1, 2023
17b8c60
chore: fix hover/visited ordering
edburyenegren-okta Jun 1, 2023
449f5dd
chore: same fix for monochrome variant
edburyenegren-okta Jun 1, 2023
2e96f57
Merge pull request #1811 from okta/ee/link
edburyenegren-okta Jun 2, 2023
570a2df
Merge pull request #1812 from okta/ee/circular-progress
edburyenegren-okta Jun 2, 2023
9632839
fix: add incremental to root tsconfig (#1810)
KevinGhadyani-Okta Jun 2, 2023
be1a4f2
feat(odyssey-design-tokens): add border.radius.round
edburyenegren-okta Jun 2, 2023
10caefb
refactor(odyssey-design-tokens): caution to warning
edburyenegren-okta Jun 2, 2023
4874291
refactor(odyssey-react-mui): convert MuiChip to odyssey tokens; find/…
edburyenegren-okta Jun 2, 2023
a98dd87
fix: memoize the Link component (#1813)
KevinGhadyani-Okta Jun 2, 2023
b825c03
feat(odyssey-design-tokens): add border.width.heavy
edburyenegren-okta Jun 2, 2023
2da6aa6
feat(odyssey-react-mui): update Status styles and variants to match b…
edburyenegren-okta Jun 2, 2023
07976a7
docs(odyssey-storybook): update Status stories
edburyenegren-okta Jun 2, 2023
6f89fc8
feat(odyssey-design-tokens): add tokens for colorized text
edburyenegren-okta Jun 5, 2023
2fc585c
refactor(odyssey-react-mui): apply colorized text tokens
edburyenegren-okta Jun 5, 2023
a9dbbcd
chore: upgraded Applitools (#1815)
KevinGhadyani-Okta Jun 5, 2023
47c106b
fix: change to DesignTokens type rather than the overrides in theme (…
KevinGhadyani-Okta Jun 5, 2023
5cc5d0e
chore(odyssey-design-tokens): update hue values
edburyenegren-okta Jun 5, 2023
f91b9b8
chore: rename indicator to variant
edburyenegren-okta Jun 6, 2023
6810a9c
feat(odyssey-design-tokens): add 'disabled' type color
edburyenegren-okta Jun 6, 2023
6d1adc4
feat(odyssey-react-mui): add icon support to Tag
edburyenegren-okta Jun 6, 2023
f798e48
fix(odyssey-react-mui): add aria-disabled to Tag
edburyenegren-okta Jun 6, 2023
bc0a1cb
chore: update Tag and Status styles based on design feedback
edburyenegren-okta Jun 6, 2023
9ccc211
Merge pull request #1814 from okta/ee/status
edburyenegren-okta Jun 7, 2023
659d140
fix: orrectly import zh-CN and zh-TW files
francoislehoux-okta Jun 8, 2023
854485f
refactor: remove isDefaultChecked and add isInvalid to Radio
jordankoschei-okta Jun 8, 2023
1e4c724
refactor: make default Tooltip placement top
jordankoschei-okta Jun 8, 2023
0b9312b
Merge pull request #1829 from okta/fl-correctly-import-zh-files
francoislehoux-okta Jun 8, 2023
553d3bc
feat(odyssey-design-tokens): add border.outer and palette.x.heading
edburyenegren-okta Jun 8, 2023
37885b8
refactor(odyssey-react-mui): update all Alert styles to match rebrand
edburyenegren-okta Jun 8, 2023
cd98022
fix: enable a11y tests in CI (#1826)
ganeshsomasundaram-okta Jun 9, 2023
eea6e40
refactor(odyssey-react-mui): refactor alert title styling to enable v…
edburyenegren-okta Jun 9, 2023
51898ec
Merge branch 'develop' into ee/alerts
edburyenegren-okta Jun 9, 2023
ab9a391
fix: Applitools VRT (#1827)
KevinGhadyani-Okta Jun 9, 2023
a861769
feat(odyssey-design-tokens): add alpha tokens
edburyenegren-okta Jun 9, 2023
497ed8c
feat(odyssey-react-mui): add transparency and blur to Toast
edburyenegren-okta Jun 9, 2023
74d77cd
Merge branch 'develop' into ee/alerts
edburyenegren-okta Jun 9, 2023
c61eb66
chore(odyssey-design-tokens): update alpha values to hex
edburyenegren-okta Jun 9, 2023
ba911bd
docs(odyssey-storybook): make datepicker starting date fixed
edburyenegren-okta Jun 12, 2023
0582322
Merge pull request #1833 from okta/ee/datepicker-date
edburyenegren-okta Jun 13, 2023
d513a94
chore: fix borderRadius on banner
edburyenegren-okta Jun 13, 2023
cffb4f6
Merge pull request #1830 from okta/ee/alerts
edburyenegren-okta Jun 13, 2023
ab766e2
chore(deps-dev): bump vite from 4.3.8 to 4.3.9 (#1819)
dependabot[bot] Jun 14, 2023
bde9d88
fix: clicking MenuItem closes MenuButton (#1820)
KevinGhadyani-Okta Jun 14, 2023
cc67371
Fix RTL position of chevron in NativeSelect (#1835)
jordankoschei-okta Jun 14, 2023
1e9f461
Remove default branch in i18n config (#1841)
zihanwang-okta Jun 20, 2023
5603df2
docs(odyssey-storybook): update Form stories to be more comprehensive
edburyenegren-okta Jun 20, 2023
a3978ae
feat(odyssey-design-tokens): add token for border.radius.tight
edburyenegren-okta Jun 20, 2023
0d7b2a0
feat(odyssey-react-mui): add sub2 type style
edburyenegren-okta Jun 20, 2023
536ebae
refactor(odyssey-react-mui): update Form and Fieldset styles to match…
edburyenegren-okta Jun 20, 2023
11e0975
chore: add Checkbox to kitchen sink
edburyenegren-okta Jun 20, 2023
0da693e
fix: specfy accessibility tags section508, wcag21aa (#1839)
ganeshsomasundaram-okta Jun 20, 2023
83602de
chore: update Field margin
edburyenegren-okta Jun 20, 2023
8a00a14
Merge pull request #1843 from okta/ee/form
edburyenegren-okta Jun 21, 2023
33eb556
RTL fixes for field labels (#1836)
jordankoschei-okta Jun 22, 2023
2863ae7
Enable button wrapping in Dialog footer (#1838)
jordankoschei-okta Jun 22, 2023
63a32c7
Add missing displayNames to components (#1852)
jordankoschei-okta Jun 22, 2023
1073a20
refactor(odyssey-react-mui): use component class name variables where…
edburyenegren-okta Jun 22, 2023
9cc4d69
Prevent dismiss button from overlapping Banner text (#1850)
jordankoschei-okta Jun 22, 2023
7aeaf10
Update RTL spacing for tab icons (#1849)
jordankoschei-okta Jun 22, 2023
0665558
Fix div-inside-of-p issue in field errors (#1848)
jordankoschei-okta Jun 23, 2023
24079d6
Merge pull request #1853 from okta/ee/class-names
edburyenegren-okta Jun 27, 2023
06cf17a
feat(odyssey-icons): update all icon source SVGs
edburyenegren-okta Jun 27, 2023
104a998
feat(odyssey-svgr): update template to support 24x24 sources
edburyenegren-okta Jun 27, 2023
a5aa7ab
feat(odyssey-react-mui): generate new and updated icon components
edburyenegren-okta Jun 27, 2023
6ed2aab
feat(odyssey-react-mui): manually update icon index, update reference…
edburyenegren-okta Jun 27, 2023
7c91022
docs(odyssey-storybook): update stories to use new icons
edburyenegren-okta Jun 27, 2023
defefe7
chore(odyssey-icons): update source/figma
edburyenegren-okta Jun 27, 2023
cf616c9
chore(odyssey-react-mui): update icon components and index
edburyenegren-okta Jun 27, 2023
8e729ba
chore(odyssey-storybook): update icon stories
edburyenegren-okta Jun 27, 2023
91008dd
chore: update external link icon
edburyenegren-okta Jun 27, 2023
97af38c
refactor(odyssey-react-mui): component Link now uses ExternalLinkIcon
edburyenegren-okta Jun 27, 2023
159fc0a
chore: add pseudo-loc languages and fix locale inconsistency (#1851)
queeniechen-okta Jun 28, 2023
355cd92
chore: update naming for all icons
edburyenegren-okta Jun 28, 2023
b96def7
Merge pull request #1857 from okta/ee/icons
edburyenegren-okta Jun 28, 2023
1306cbd
fix: add tooltip play test (#1854)
ganeshsomasundaram-okta Jun 30, 2023
8e06f0d
Translations for odyssey (#1856)
ui-okta Jun 30, 2023
e7ebc73
Add DataGrid (unstyled) (#1808)
KevinGhadyani-Okta Jun 30, 2023
df05b69
Allow MenuButton to accept null children (#1847)
jordankoschei-okta Jun 30, 2023
7b766b3
Change all imports to be relative to `./` rather than from `./index.t…
jordankoschei-okta Jul 5, 2023
a549d43
Ensure TagList can wrap (#1837)
jordankoschei-okta Jul 5, 2023
124f26e
refactor(odyssey-react-mui): update TextInput styles to match brand
edburyenegren-okta Jul 5, 2023
6231951
fix(odyssey-react-mui): lengthy field labels are no longer cut off
edburyenegren-okta Jul 5, 2023
8c819eb
refactor(odyssey-react-mui): fix spacing in Select menu
edburyenegren-okta Jul 5, 2023
c692c3c
refactor(odyssey-react-mui): restyle Select and Autocomplete for brand
edburyenegren-okta Jul 5, 2023
e14265e
fix(odyssey-react-mui): autocomplete is now RTL friendly
edburyenegren-okta Jul 5, 2023
0d2e4b1
docs(odyssey-storybook): fix broken Autocomplete.Loading story
edburyenegren-okta Jul 6, 2023
f3e4cd8
Merge pull request #1862 from okta/ee/brand-inputs
edburyenegren-okta Jul 6, 2023
951564f
docs: update docs for Supernova (#1821)
jordankoschei-okta Jul 7, 2023
9e76ea9
refactor(odyssey-react-mui): make Button styling syntax consistent
edburyenegren-okta Jul 7, 2023
1bb7d48
refactor: simplify Select stories (#1867)
jordankoschei-okta Jul 7, 2023
0ca21ff
fix: Button's `tooltipText` needs to show on hover (#1817)
KevinGhadyani-Okta Jul 7, 2023
6bac1c8
refactor(odyssey-react-mui): replace all theme.spacing with spacing t…
edburyenegren-okta Jul 7, 2023
0b62c56
refactor(odyssey-react-mui): remove mui variables that have a token e…
edburyenegren-okta Jul 7, 2023
42bd774
Merge pull request #1869 from okta/ee/brand-button
edburyenegren-okta Jul 10, 2023
89ddaf4
refactor(odyssey-design-tokens): update token values for consistency
edburyenegren-okta Jul 10, 2023
d017b46
feat(odyssey-react-mui): update Button to match Rebrand
edburyenegren-okta Jul 10, 2023
1859780
docs(odyssey-storybook): add Disabled states to Button stories
edburyenegren-okta Jul 10, 2023
6b781b6
chore: update aria label
edburyenegren-okta Jul 10, 2023
cd74872
chore: update button colors per design review
edburyenegren-okta Jul 10, 2023
99754ae
Merge pull request #1875 from okta/ee/button-rebrand
edburyenegren-okta Jul 11, 2023
c864c06
refactor: remove forwardRef on Link (#1863)
jordankoschei-okta Jul 11, 2023
f0ccadd
refactor(odyssey-react-mui): update Tab/Tabs styling
edburyenegren-okta Jul 11, 2023
2957e6a
fix: add play test for dialog, menubutton, select, tag, passwordfield…
ganeshsomasundaram-okta Jul 11, 2023
18c6314
chore: update based on design feedback
edburyenegren-okta Jul 11, 2023
6876dc6
chore: fix tests
edburyenegren-okta Jul 11, 2023
807ec54
chore: fix broken a11y test
ganeshsomasundaram-okta Jul 12, 2023
6b07b85
Merge pull request #1877 from okta/ee/tabs
edburyenegren-okta Jul 12, 2023
e9e2514
feat(odyssey-react-mui): updated ScopedCSSBaseline for rebrand
edburyenegren-okta Jul 12, 2023
691786c
chore: use "highlight" tokens
edburyenegren-okta Jul 12, 2023
5e476f1
refactor: remove IconButton (#1865)
jordankoschei-okta Jul 13, 2023
e2d2e9e
docs: add monolith to OdysseyTranslationProvider doc (#1866)
jordankoschei-okta Jul 13, 2023
e53a30c
Simplify Dialog children type (#1873)
jordankoschei-okta Jul 13, 2023
3d51d4a
Remove Icon type restriction from Button adornments (#1872)
jordankoschei-okta Jul 13, 2023
e97daf2
Merge pull request #1879 from okta/ee/css-baseline
edburyenegren-okta Jul 13, 2023
2894c1d
feat(odyssey-react-mui): update Dialog to match Rebrand
edburyenegren-okta Jul 13, 2023
c7df761
chore: remove unnec import
edburyenegren-okta Jul 13, 2023
a55a34b
chore: fix No Button state
edburyenegren-okta Jul 13, 2023
b519646
chore: update Floating button bg
edburyenegren-okta Jul 13, 2023
6f617e2
fix: Upgrade many packages to fix vulns (#1880)
KevinGhadyani-Okta Jul 13, 2023
b5bf841
Remove all direct MUI exports (#1874)
jordankoschei-okta Jul 14, 2023
1f2369e
refactor: make MenuItem use our own props (#1822)
jordankoschei-okta Jul 14, 2023
4cef709
chore: pull close button
edburyenegren-okta Jul 14, 2023
654c65a
Merge pull request #1881 from okta/ee/dialog
edburyenegren-okta Jul 14, 2023
2e7f1c9
refactor(odyssey-react-mui): remove borders from button:hover
edburyenegren-okta Jul 14, 2023
0b0f118
Merge pull request #1882 from okta/ee/button-borders
edburyenegren-okta Jul 14, 2023
2eeea95
Clean up props (#1868)
jordankoschei-okta Jul 14, 2023
4e9c99a
refactor(odyssey-react-mui): remove remaining Theme variables from co…
edburyenegren-okta Jul 17, 2023
a4c11a6
docs: add RadioGroup isOptional explanation (#1890)
jordankoschei-okta Jul 18, 2023
c415211
Change names of the Dialog footer props (#1887)
jordankoschei-okta Jul 18, 2023
b8baf8d
chore: update token naming after review
edburyenegren-okta Jul 18, 2023
3159ae5
chore: update border main to control
edburyenegren-okta Jul 18, 2023
82c5f9c
chore: remove more theme vars
edburyenegren-okta Jul 18, 2023
33de8d9
Merge pull request #1884 from okta/ee/token-refactor-1
edburyenegren-okta Jul 18, 2023
91f1023
Merge pull request #1894 from okta/ee/token-refactor-1
edburyenegren-okta Jul 19, 2023
9dedf92
Moved Odyssey Labs into MUI (#1885)
KevinGhadyani-Okta Jul 20, 2023
d90a0b8
chore(deps): bump tough-cookie from 4.1.2 to 4.1.3 (#1871)
dependabot[bot] Jul 20, 2023
b77c25f
chore(deps): bump semver from 5.7.1 to 5.7.2 (#1876)
dependabot[bot] Jul 20, 2023
7d225b7
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#1892)
dependabot[bot] Jul 20, 2023
752461c
fix(odyssey-react-mui): make Form, Infobox spacing constent across uses
edburyenegren-okta Jul 20, 2023
274abfe
refactor: enable ARIA attributes on MenuButton (#1893)
jordankoschei-okta Jul 21, 2023
51e6ce5
Default Button text to empty string (#1883)
jordankoschei-okta Jul 21, 2023
bc45752
Add Odyssey clear button to SearchField (#1878)
jordankoschei-okta Jul 21, 2023
c5fa2e5
Wrap Box (#1891)
jordankoschei-okta Jul 21, 2023
ffc33e8
Merge pull request #1897 from okta/ee/form-finals
edburyenegren-okta Jul 21, 2023
0d03e24
Add StylisPlugins to OdysseyCacheProvider (#1898)
KevinGhadyani-Okta Jul 21, 2023
1eca38c
Update README.md with new URL (#1901)
jordankoschei-okta Jul 21, 2023
5b78259
feat: add Button types (#1903)
jordankoschei-okta Jul 21, 2023
232638a
docs: add kitchen sink to Button (#1902)
jordankoschei-okta Jul 21, 2023
58dd921
Change Checkbox onChange and validity (#1895)
jordankoschei-okta Jul 21, 2023
e6e7971
refactor: cpation to subordinate
edburyenegren-okta Jul 21, 2023
bbb734d
feat: adds ScopedCssBaseline to OdysseyThemeProvider (#1904)
KevinGhadyani-Okta Jul 21, 2023
b1d7070
Merge pull request #1905 from okta/ee/caption-tokens
edburyenegren-okta Jul 21, 2023
89de810
Move Table to Labs (#1900)
jordankoschei-okta Jul 21, 2023
da92331
Require Button to have text, startIcon, or endIcon (#1899)
jordankoschei-okta Jul 21, 2023
5f747a9
Wrap Typography (#1886)
jordankoschei-okta Jul 21, 2023
b897485
feat: remove Icon component (#1864)
jordankoschei-okta Jul 21, 2023
a47a436
docs(odyssey-storybook): update Form, Fieldset content
edburyenegren-okta Jul 25, 2023
784b87c
Fixed icon index generation as well as renaming to .generated (#1906)
KevinGhadyani-Okta Jul 25, 2023
e833f5b
Merge branch 'develop' into ee/forms-content
edburyenegren-okta Jul 25, 2023
42bc168
Merge pull request #1907 from okta/ee/forms-content
edburyenegren-okta Jul 25, 2023
55e6f5e
Add OdysseyDesignTokensContext (#1908)
KevinGhadyani-Okta Jul 25, 2023
2a0aace
refactor: rename "Infobox" to "Callout"
edburyenegren-okta Jul 26, 2023
c192e18
Translations for odyssey (#1909)
ui-okta Jul 26, 2023
406a4e1
chore: typo fixes and sorting
edburyenegren-okta Jul 26, 2023
ca94a4c
Merge pull request #1910 from okta/ee/callout
edburyenegren-okta Jul 27, 2023
135dbbb
feat: add `isDisabled` in context from Fieldset to Field (#1911)
KevinGhadyani-Okta Jul 28, 2023
4a6f62c
Adds missing Tooltip functionality support to MenuButton and Status (…
KevinGhadyani-Okta Jul 31, 2023
ad4205a
fix!: allow major version bumps (#1913)
KevinGhadyani-Okta Jul 31, 2023
29d5ada
Merge v1.0.0 into develop (#1915)
KevinGhadyani-Okta Jul 31, 2023
fdfa0c3
Launch day fixes (#1916)
jordankoschei-okta Aug 1, 2023
7c677e9
chore: upgrade storybook (#1917)
jordankoschei-okta Aug 2, 2023
1e5e598
Upgraded Lerna and conventional commit packages (#1919)
KevinGhadyani-Okta Aug 3, 2023
610e5e2
Merge v1.0.1 into develop (#1922)
KevinGhadyani-Okta Aug 4, 2023
dfc32ab
fix: revert Odyssey bundle exports (#1920)
KevinGhadyani-Okta Aug 4, 2023
42fc2c4
fix: broken styles in MuiInputBase (#1921)
KevinGhadyani-Okta Aug 4, 2023
7a02746
build: bump versions for v1.0.2
KevinGhadyani-Okta Aug 4, 2023
e83dcd1
docs: update CHANGELOG for v1.0.2
KevinGhadyani-Okta Aug 4, 2023
ca63231
Merge branch 'master' into release/v1.0.2
KevinGhadyani-Okta Aug 4, 2023
21da6c9
fix: update aria props passthrough
jordankoschei-okta Aug 6, 2023
03b5b20
feat: memoize Box and Typography
jordankoschei-okta Aug 7, 2023
32c56f2
feat: enable overflow and default MenuButton
jordankoschei-okta Aug 7, 2023
2a51459
fix: add back isDisabled to MenuItem
francoislehoux-okta Aug 8, 2023
3427494
feat: add LTR-RTL button to support rtl languages (#1927)
ganeshsomasundaram-okta Aug 8, 2023
cacd661
feat: adds semgrep static scan to the repo (#1930)
ganeshsomasundaram-okta Aug 10, 2023
de1547d
fix(odyssey-react-mui): make Autocomplete option styles match Select
edburyenegren-okta Aug 15, 2023
40e6957
fix(odyssey-react-mui): make Autocomplete option focus a11y-compliant
edburyenegren-okta Aug 15, 2023
95f46fd
chore: update hover colors on options
edburyenegren-okta Aug 15, 2023
4d6fad5
chore: update MenuItem option focus color to match hover
edburyenegren-okta Aug 15, 2023
08fda1c
Merge pull request #1935 from okta/ee/autocomplete-padding
edburyenegren-okta Aug 15, 2023
efe3af9
Merge pull request #1928 from okta/fl-OKTA-636201-add-back-isDisabled…
francoislehoux-okta Aug 16, 2023
ea5e44c
fix: remove useless isDestructive prop
francoislehoux-okta Aug 8, 2023
183cba0
Merge pull request #1929 from okta/fl-OKTA-636202-remove-useless-prop…
francoislehoux-okta Aug 16, 2023
86b9dfe
Merge branch 'release/v1.0.2' into develop
edburyenegren-okta Aug 17, 2023
20b210e
Merge pull request #1936 from okta/merge-release/v1.0.2-into-develop
edburyenegren-okta Aug 17, 2023
37bba47
Merge pull request #1926 from okta/jk/OKTA-635650
edburyenegren-okta Aug 18, 2023
ed59b29
Merge pull request #1924 from okta/jk/OKTA-634574
edburyenegren-okta Aug 18, 2023
5591ba2
Merge pull request #1925 from okta/jk/OKTA-634603
edburyenegren-okta Aug 18, 2023
83d151f
Merge branch 'master' into master-to-develop
edburyenegren-okta Aug 18, 2023
5690f6e
Merge pull request #1939 from okta/master-to-develop
edburyenegren-okta Aug 21, 2023
1b7ea06
Fix multi-select checkbox (#1931)
jordankoschei-okta Aug 22, 2023
267aeab
docs: update CustomTheming with correct example (#1932)
jordankoschei-okta Aug 22, 2023
2e4825c
refactor(odyssey-react-mui): use IconButton within Form Fields
edburyenegren-okta Aug 22, 2023
e2b2c59
fix(odyssey-react-mui): ensure headings pick up TypographyFamilyHeading
edburyenegren-okta Aug 22, 2023
58611b2
Merge pull request #1941 from okta/ee/icon-button
edburyenegren-okta Aug 22, 2023
d8fc766
Merge pull request #1942 from okta/ee/heading-family
edburyenegren-okta Aug 22, 2023
7e1e9ad
fix: moves @emotion/styled and @emotion/react to dependencies (#1944)
KevinGhadyani-Okta Aug 23, 2023
b5a16c1
refactor: move ScopedCssBaseline to OdysseyProvider (#1940)
jordankoschei-okta Aug 24, 2023
4c96f48
fix: adds branches back to Applitools (#1943)
KevinGhadyani-Okta Aug 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .bacon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test_suites:
- name: semgrep
script_path: /root/okta/odyssey/scripts
sort_order: "1"
timeout: "10"
script_name: semgrep
criteria: MERGE
queue_name: small
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This project follows semantic versioning conventions:
Install the package and peer dependencies:

```sh
yarn add @okta/odyssey-react-mui @emotion/react
yarn add @okta/odyssey-react-mui
```

Include fonts:
Expand Down
6 changes: 2 additions & 4 deletions packages/odyssey-react-mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
},
"dependencies": {
"@emotion/cache": "^11.10.5",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.0",
"@mui/lab": "^5.0.0-alpha.117",
"@mui/material": "^5.12.3",
Expand All @@ -78,8 +80,6 @@
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@okta/browserslist-config-odyssey": "workspace:*",
"@okta/odyssey-babel-preset": "workspace:*",
"@okta/odyssey-icons": "workspace:*",
Expand Down Expand Up @@ -114,8 +114,6 @@
"yargs": "^17.7.2"
},
"peerDependencies": {
"@emotion/react": "^11",
"@emotion/styled": "^11",
"react": ">=17 <19",
"react-dom": ">=17 <19"
}
Expand Down
1 change: 1 addition & 0 deletions packages/odyssey-react-mui/src/Autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ const Autocomplete = <
<MuiAutocomplete
// AutoComplete is wrapped in a div within MUI which does not get the disabled attr. So this aria-disabled gets set in the div
aria-disabled={isDisabled}
disableCloseOnSelect={hasMultipleChoices}
disabled={isDisabled}
freeSolo={isCustomValueAllowed}
loading={isLoading}
Expand Down
9 changes: 6 additions & 3 deletions packages/odyssey-react-mui/src/Box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

import { Box as MuiBox, BoxProps as MuiBoxProps } from "@mui/material";
import { ReactNode, forwardRef } from "react";
import { ReactNode, forwardRef, memo } from "react";

export type BoxProps = {
children?: ReactNode;
Expand All @@ -20,7 +20,7 @@ export type BoxProps = {
sx?: MuiBoxProps["sx"];
};

export const Box = forwardRef<HTMLElement, BoxProps>(
const Box = forwardRef<HTMLElement, BoxProps>(
({ children, component, id, sx }, ref) => (
<MuiBox
ref={ref}
Expand All @@ -32,4 +32,7 @@ export const Box = forwardRef<HTMLElement, BoxProps>(
)
);

Box.displayName = "Box";
const MemoizedBox = memo(Box);
MemoizedBox.displayName = "Box";

export { MemoizedBox as Box };
17 changes: 15 additions & 2 deletions packages/odyssey-react-mui/src/MenuButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import { Button, buttonVariantValues, MenuItem, useUniqueId } from "./";
import { Divider, ListSubheader, Menu } from "@mui/material";
import { ChevronDownIcon } from "./icons.generated";
import { ChevronDownIcon, MoreIcon } from "./icons.generated";
import { memo, type ReactElement, useCallback, useMemo, useState } from "react";

import { MenuContext, MenuContextType } from "./MenuContext";
Expand Down Expand Up @@ -55,6 +55,10 @@ export type MenuButtonProps = {
* The id of the Button
*/
id?: string;
/**
* If the MenuButton is an overflow menu or standard menu.
*/
isOverflow?: boolean;
/**
* The tooltip text for the Button if it's icon-only
*/
Expand Down Expand Up @@ -84,8 +88,9 @@ const MenuButton = ({
buttonLabel = "",
buttonVariant = "secondary",
children,
endIcon = <ChevronDownIcon />,
endIcon: endIconProp,
id: idOverride,
isOverflow,
tooltipText,
}: MenuButtonProps) => {
const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
Expand Down Expand Up @@ -115,6 +120,14 @@ const MenuButton = ({
[closeMenu, openMenu]
);

const endIcon = endIconProp ? (
endIconProp
) : isOverflow ? (
<MoreIcon />
) : (
<ChevronDownIcon />
);

return (
<div>
<Button
Expand Down
6 changes: 4 additions & 2 deletions packages/odyssey-react-mui/src/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export type MenuItemProps = {
*/
isSelected?: boolean;
/**
* If `true`, the menu item will be visually marked as destructive.
* If `true`, the menu item will be visually marked as disabled.
*/
isDestructive?: boolean;
isDisabled?: boolean;
/**
* Callback fired when the menu item is clicked.
*/
Expand All @@ -56,6 +56,7 @@ const MenuItem = ({
children,
hasInitialFocus,
isSelected,
isDisabled,
onClick: onClickProp,
value,
variant = "default",
Expand All @@ -75,6 +76,7 @@ const MenuItem = ({
/* eslint-disable-next-line jsx-a11y/no-autofocus */
autoFocus={hasInitialFocus}
selected={isSelected}
disabled={isDisabled}
value={value}
onClick={onClick}
className={
Expand Down
15 changes: 9 additions & 6 deletions packages/odyssey-react-mui/src/OdysseyProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/

import { memo, ReactNode } from "react";
import { ScopedCssBaseline } from "@mui/material";

import {
OdysseyCacheProvider,
Expand Down Expand Up @@ -45,12 +46,14 @@ const OdysseyProvider = ({
themeOverride={themeOverride}
designTokensOverride={designTokensOverride}
>
<OdysseyTranslationProvider
languageCode={languageCode}
translationOverrides={translationOverrides}
>
{children}
</OdysseyTranslationProvider>
<ScopedCssBaseline>
<OdysseyTranslationProvider
languageCode={languageCode}
translationOverrides={translationOverrides}
>
{children}
</OdysseyTranslationProvider>
</ScopedCssBaseline>
</OdysseyThemeProvider>
</OdysseyCacheProvider>
);
Expand Down
10 changes: 4 additions & 6 deletions packages/odyssey-react-mui/src/OdysseyThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from "@mui/material/styles";
import { memo, ReactNode, useMemo } from "react";

import { ScopedCssBaseline, ThemeOptions } from "@mui/material";
import { ThemeOptions } from "@mui/material";
import { deepmerge } from "@mui/utils";
import { createOdysseyMuiTheme, DesignTokensOverride } from "./theme";
import * as Tokens from "@okta/odyssey-design-tokens";
Expand Down Expand Up @@ -49,11 +49,9 @@ const OdysseyThemeProvider = ({

return (
<MuiThemeProvider theme={customOdysseyTheme ?? odysseyTheme}>
<ScopedCssBaseline>
<OdysseyDesignTokensContext.Provider value={odysseyTokens}>
{children}
</OdysseyDesignTokensContext.Provider>
</ScopedCssBaseline>
<OdysseyDesignTokensContext.Provider value={odysseyTokens}>
{children}
</OdysseyDesignTokensContext.Provider>
</MuiThemeProvider>
);
};
Expand Down
14 changes: 6 additions & 8 deletions packages/odyssey-react-mui/src/PasswordField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

import { InputAdornment, InputBase } from "@mui/material";
import { InputAdornment, InputBase, IconButton } from "@mui/material";
import {
ChangeEventHandler,
FocusEventHandler,
Expand All @@ -21,7 +21,6 @@ import {
} from "react";

import { ShowIcon, HideIcon } from "./icons.generated";
import { Button } from "./Button";
import { Field } from "./Field";

export type PasswordFieldProps = {
Expand Down Expand Up @@ -122,13 +121,12 @@ const PasswordField = forwardRef<HTMLInputElement, PasswordFieldProps>(
autoFocus={hasInitialFocus}
endAdornment={
<InputAdornment position="end">
<Button
ariaLabel="toggle password visibility"
endIcon={inputType === "password" ? <ShowIcon /> : <HideIcon />}
<IconButton
aria-label="toggle password visibility"
onClick={togglePasswordVisibility}
size="small"
variant="floating"
/>
>
{inputType === "password" ? <ShowIcon /> : <HideIcon />}
</IconButton>
</InputAdornment>
}
id={id}
Expand Down
16 changes: 7 additions & 9 deletions packages/odyssey-react-mui/src/SearchField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

import { useState, useEffect } from "react";
import { InputAdornment, InputBase } from "@mui/material";
import { InputAdornment, InputBase, IconButton } from "@mui/material";
import {
ChangeEventHandler,
FocusEventHandler,
Expand All @@ -23,7 +23,6 @@ import {

import { CloseCircleFilledIcon, SearchIcon } from "./icons.generated";
import { Field } from "./Field";
import { Button } from "./Button";

export type SearchFieldProps = {
/**
Expand Down Expand Up @@ -123,15 +122,14 @@ const SearchField = forwardRef<HTMLInputElement, SearchFieldProps>(
endAdornment={
uncontrolledValue && (
<InputAdornment position="end">
<Button
ariaLabel="Clear"
isDisabled={isDisabled}
label=""
<IconButton
aria-label="Clear"
disabled={isDisabled}
onClick={onClear}
size="small"
startIcon={<CloseCircleFilledIcon />}
variant="floating"
/>
>
<CloseCircleFilledIcon />
</IconButton>
</InputAdornment>
)
}
Expand Down
4 changes: 2 additions & 2 deletions packages/odyssey-react-mui/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import { ReactNode, forwardRef, memo, useCallback, useState } from "react";
import {
Box,
Chip,
Checkbox as MuiCheckbox,
ListSubheader,
MenuItem,
Select as MuiSelect,
SelectChangeEvent,
} from "@mui/material";
import { SelectProps as MuiSelectProps } from "@mui/material";
import { Checkbox } from "./Checkbox";
import { Field } from "./Field";

export type SelectOption = {
Expand Down Expand Up @@ -205,7 +205,7 @@ const Select = forwardRef<HTMLSelectElement, SelectProps>(
return (
<MenuItem key={option.value} value={option.value}>
{isMultiSelect && (
<Checkbox isDefaultChecked={selectedValue.includes(option.value)} />
<MuiCheckbox checked={selectedValue.includes(option.value)} />
)}
{option.text}
</MenuItem>
Expand Down
Loading