diff --git a/CHANGELOG.md b/CHANGELOG.md index 105744802f..593bf52aa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] ### BREAKING CHANGES +- Change available `size` prop values in `Icon` component @codepretty ([#640](https://github.com/stardust-ui/react/pull/640)) - renamed Teams theme menu variables the contains props names as prefixes @mnajdova ([#539](https://github.com/stardust-ui/react/pull/539)) ### Fixes diff --git a/docs/src/examples/components/Icon/Variations/IconExampleSize.shorthand.tsx b/docs/src/examples/components/Icon/Variations/IconExampleSize.shorthand.tsx index 91b0a1a6f5..8a86d5f29a 100644 --- a/docs/src/examples/components/Icon/Variations/IconExampleSize.shorthand.tsx +++ b/docs/src/examples/components/Icon/Variations/IconExampleSize.shorthand.tsx @@ -3,14 +3,11 @@ import { Grid, Icon } from '@stardust-ui/react' const IconExampleSize = () => ( - - + + - - - - - + + @@ -21,14 +18,11 @@ const IconExampleSize = () => ( - - - - - + + - - + + ) diff --git a/docs/src/prototypes/chatPane/chatPaneHeader.tsx b/docs/src/prototypes/chatPane/chatPaneHeader.tsx index 76be53bcd6..d8d769f8a3 100644 --- a/docs/src/prototypes/chatPane/chatPaneHeader.tsx +++ b/docs/src/prototypes/chatPane/chatPaneHeader.tsx @@ -24,7 +24,6 @@ class ChatPaneHeader extends React.PureComponent { ({ color: siteVars.white, margin: 'auto 8px' })} /> @@ -70,14 +69,13 @@ class ChatPaneHeader extends React.PureComponent { key: `${index}-${name}`, icon: { name, - size: 'big', variables: siteVars => ({ color: siteVars.white, margin: 'auto 8px' }), }, primary: true, }))} styles={{ marginRight: '20px' }} /> - {['user plus', 'ellipsis horizontal'].map((name, index) => ( + {['team-create', 'more'].map((name, index) => ( { margin: 'auto', ...(!index && { margin: 'auto 1.6rem auto auto' }), }} - variables={siteVars => ({ color: siteVars.gray04 })} + variables={siteVars => ({ color: siteVars.gray04, outline: true })} /> ))} diff --git a/docs/src/prototypes/meetingOptions/components/MSTeamsLogo.tsx b/docs/src/prototypes/meetingOptions/components/MSTeamsLogo.tsx index 4f335f5e2b..135d93da5b 100644 --- a/docs/src/prototypes/meetingOptions/components/MSTeamsLogo.tsx +++ b/docs/src/prototypes/meetingOptions/components/MSTeamsLogo.tsx @@ -19,7 +19,7 @@ class MSTeamsLogo extends React.Component { {Icon.create(icon, { defaultProps: { variables: { color: siteVariables.brand }, - size: 'large', + size: 'largest', xSpacing: 'after', styles: { verticalAlign: 'middle' }, }, diff --git a/docs/src/views/ThemingExamples.tsx b/docs/src/views/ThemingExamples.tsx index cb10eaac31..051812f1c0 100644 --- a/docs/src/views/ThemingExamples.tsx +++ b/docs/src/views/ThemingExamples.tsx @@ -52,7 +52,7 @@ export default () => (