@@ -21,11 +21,6 @@ import { numberToWord } from './numberToWord'
2121 */
2222export const getKeyOnly = ( val , key ) => val && key
2323
24- /**
25- * @deprecated
26- */
27- export const useKeyOnly = getKeyOnly
28-
2924/**
3025 * Props that require both a key and value to create a className.
3126 * @param {* } val A props value
@@ -37,11 +32,6 @@ export const useKeyOnly = getKeyOnly
3732 */
3833export const getValueAndKey = ( val , key ) => val && val !== true && `${ val } ${ key } `
3934
40- /**
41- * @deprecated
42- */
43- export const useValueAndKey = getValueAndKey
44-
4535/**
4636 * Props whose key will be used in className, or value and key.
4737 * @param {* } val A props value
@@ -57,11 +47,6 @@ export const useValueAndKey = getValueAndKey
5747 */
5848export const getKeyOrValueAndKey = ( val , key ) => val && ( val === true ? key : `${ val } ${ key } ` )
5949
60- /**
61- * @deprecated
62- */
63- export const useKeyOrValueAndKey = getKeyOrValueAndKey
64-
6550//
6651// Prop to className exceptions
6752//
@@ -89,11 +74,6 @@ export const getMultipleProp = (val, key) => {
8974 . join ( ' ' )
9075}
9176
92- /**
93- * @deprecated
94- */
95- export const useMultipleProp = getMultipleProp
96-
9777/**
9878 * The "textAlign" prop follows the useValueAndKey except when the value is "justified'.
9979 * In this case, only the class "justified" is used, ignoring the "aligned" class.
@@ -110,11 +90,6 @@ export const useMultipleProp = getMultipleProp
11090export const getTextAlignProp = ( val ) =>
11191 val === 'justified' ? 'justified' : getValueAndKey ( val , 'aligned' )
11292
113- /**
114- * @deprecated
115- */
116- export const useTextAlignProp = getTextAlignProp
117-
11893/**
11994 * The "verticalAlign" prop follows the useValueAndKey.
12095 *
@@ -126,11 +101,6 @@ export const useTextAlignProp = getTextAlignProp
126101 */
127102export const getVerticalAlignProp = ( val ) => getValueAndKey ( val , 'aligned' )
128103
129- /**
130- * @deprecated
131- */
132- export const useVerticalAlignProp = getVerticalAlignProp
133-
134104/**
135105 * Create "X", "X wide" and "equal width" classNames.
136106 * "X" is a numberToWord value and "wide" is configurable.
@@ -162,8 +132,3 @@ export const getWidthProp = (val, widthClass = '', canEqual = false) => {
162132 }
163133 return numberToWord ( val )
164134}
165-
166- /**
167- * @deprecated
168- */
169- export const useWidthProp = getWidthProp
0 commit comments