@opentrons/components 0.3.10-alpha.0 → 0.3.12-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/atoms/StyledText/LegacyStyledText.d.ts +10 -0
- package/lib/index.js +18 -18
- package/lib/index.mjs +2239 -2241
- package/lib/style.css +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,4 +5,14 @@ export interface LegacyProps extends Omit<ComponentProps<typeof Text>, 'as'> {
|
|
|
5
5
|
as?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
6
6
|
forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* LegacyStyledText
|
|
10
|
+
*
|
|
11
|
+
* @component
|
|
12
|
+
*
|
|
13
|
+
* @deprecated LegacyStyledText has been deprecated. Regarding text, all components should use
|
|
14
|
+
* StyledText with a proper style that the design uses.
|
|
15
|
+
* The existing LegacyStyledText should be replaced with StyledText,
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
8
18
|
export declare const LegacyStyledText: (props: LegacyProps) => JSX.Element;
|