@stoplight/elements-core 9.0.12 → 9.0.13-beta-0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoplight/elements-core",
3
- "version": "9.0.12",
3
+ "version": "9.0.13-beta-0.1",
4
4
  "main": "./index.js",
5
5
  "sideEffects": [
6
6
  "web-components.min.js",
package/styled.d.ts CHANGED
@@ -1,5 +1,12 @@
1
+ import * as PropTypes from 'prop-types';
1
2
  import * as React from 'react';
2
- export declare const Styled: ({ children }: {
3
- children: React.ReactNode;
4
- }) => JSX.Element;
3
+ export declare class Styled extends React.Component {
4
+ static childContextTypes: {
5
+ blueprintPortalClassName: PropTypes.Requireable<string>;
6
+ };
7
+ getChildContext(): {
8
+ blueprintPortalClassName: string;
9
+ };
10
+ render(): JSX.Element;
11
+ }
5
12
  export declare function withStyles<T>(Component: React.ComponentType<T>): React.FC<T>;