, any> {
{icon && (
{Icon.create(icon, {
- defaultProps: { size: 'big' },
+ defaultProps: { size: 'larger' },
})}
)}
diff --git a/src/components/Icon/Icon.tsx b/src/components/Icon/Icon.tsx
index 46ec5c1a09..9b614b71f8 100644
--- a/src/components/Icon/Icon.tsx
+++ b/src/components/Icon/Icon.tsx
@@ -14,16 +14,8 @@ import { SvgIconSpec } from '../../themes/types'
import { ReactProps } from '../../../types/utils'
export type IconXSpacing = 'none' | 'before' | 'after' | 'both'
-export type IconSize =
- | 'micro'
- | 'mini'
- | 'tiny'
- | 'small'
- | 'normal'
- | 'large'
- | 'big'
- | 'huge'
- | 'massive'
+
+export type IconSize = 'smallest' | 'smaller' | 'small' | 'medium' | 'large' | 'larger' | 'largest'
export interface IconProps extends UIComponentProps {
/**
@@ -71,23 +63,13 @@ class Icon extends UIComponent, any> {
circular: PropTypes.bool,
disabled: PropTypes.bool,
name: PropTypes.string,
- size: PropTypes.oneOf([
- 'micro',
- 'mini',
- 'tiny',
- 'small',
- 'normal',
- 'large',
- 'big',
- 'huge',
- 'massive',
- ]),
+ size: PropTypes.oneOf(['smallest', 'smaller', 'small', 'medium', 'large', 'larger', 'largest']),
xSpacing: PropTypes.oneOf(['none', 'before', 'after', 'both']),
}
static defaultProps = {
as: 'span',
- size: 'normal',
+ size: 'medium',
accessibility: iconBehavior,
}
diff --git a/src/components/RadioGroup/RadioGroupItem.tsx b/src/components/RadioGroup/RadioGroupItem.tsx
index 509c74d322..224c76a2ce 100644
--- a/src/components/RadioGroup/RadioGroupItem.tsx
+++ b/src/components/RadioGroup/RadioGroupItem.tsx
@@ -159,7 +159,7 @@ class RadioGroupItem extends AutoControlledComponent<
{Icon.create(icon || '', {
defaultProps: {
circular: true,
- size: 'mini',
+ size: 'smaller',
variables: variables.icon,
styles: styles.icon,
},
diff --git a/src/components/Status/Status.tsx b/src/components/Status/Status.tsx
index ccb22463a2..0575f5d58a 100644
--- a/src/components/Status/Status.tsx
+++ b/src/components/Status/Status.tsx
@@ -58,7 +58,7 @@ class Status extends UIComponent, any> {
{Icon.create(icon, {
defaultProps: {
- size: 'micro',
+ size: 'smallest',
styles: styles.icon,
variables: variables.icon,
xSpacing: 'none',
diff --git a/src/themes/teams/components/Icon/iconStyles.ts b/src/themes/teams/components/Icon/iconStyles.ts
index dd6cd3d239..ecd468d561 100644
--- a/src/themes/teams/components/Icon/iconStyles.ts
+++ b/src/themes/teams/components/Icon/iconStyles.ts
@@ -8,15 +8,13 @@ import { pxToRem } from '../../utils'
import { getStyle as getSvgStyle } from './svg'
const sizes = new Map([
- ['micro', 7],
- ['mini', 10],
- ['tiny', 12],
- ['small', 14],
- ['normal', 16],
+ ['smallest', 7],
+ ['smaller', 10],
+ ['small', 12],
+ ['medium', 16],
['large', 20],
- ['big', 32],
- ['huge', 40],
- ['massive', 64],
+ ['larger', 32],
+ ['largest', 40],
])
const getDefaultFontIcon = (iconName: string) => {