@emotion/react
Advanced tools
Comparing version 11.11.0 to 11.11.1
@@ -99,2 +99,3 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun> | ||
namespace JSX { | ||
type ElementType = EmotionJSX.ElementType | ||
interface Element extends EmotionJSX.Element {} | ||
@@ -101,0 +102,0 @@ interface ElementClass extends EmotionJSX.ElementClass {} |
@@ -21,3 +21,8 @@ import 'react' | ||
// based on the code from @types/react@18.2.8 | ||
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/3197efc097d522c4bf02b94e1a0766d007d6cdeb/types/react/index.d.ts#LL3204C13-L3204C13 | ||
type ReactJSXElementType = string | React.JSXElementConstructor<any> | ||
export namespace EmotionJSX { | ||
type ElementType = ReactJSXElementType | ||
interface Element extends ReactJSXElement {} | ||
@@ -24,0 +29,0 @@ interface ElementClass extends ReactJSXElementClass {} |
@@ -15,3 +15,3 @@ import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-c39617d8.browser.esm.js'; | ||
name: "@emotion/react", | ||
version: "11.11.0", | ||
version: "11.11.1", | ||
main: "dist/emotion-react.cjs.js", | ||
@@ -18,0 +18,0 @@ module: "dist/emotion-react.esm.js", |
@@ -38,3 +38,3 @@ 'use strict'; | ||
name: "@emotion/react", | ||
version: "11.11.0", | ||
version: "11.11.1", | ||
main: "dist/emotion-react.cjs.js", | ||
@@ -41,0 +41,0 @@ module: "dist/emotion-react.esm.js", |
@@ -15,3 +15,3 @@ import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-6bdfffb2.esm.js'; | ||
name: "@emotion/react", | ||
version: "11.11.0", | ||
version: "11.11.1", | ||
main: "dist/emotion-react.cjs.js", | ||
@@ -18,0 +18,0 @@ module: "dist/emotion-react.esm.js", |
@@ -15,3 +15,3 @@ import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-2408c5fb.worker.esm.js'; | ||
name: "@emotion/react", | ||
version: "11.11.0", | ||
version: "11.11.1", | ||
main: "dist/emotion-react.cjs.js", | ||
@@ -18,0 +18,0 @@ module: "dist/emotion-react.esm.js", |
{ | ||
"name": "@emotion/react", | ||
"version": "11.11.0", | ||
"version": "11.11.1", | ||
"main": "dist/emotion-react.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/emotion-react.esm.js", |
@@ -99,2 +99,3 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun> | ||
namespace JSX { | ||
type ElementType = EmotionJSX.ElementType | ||
interface Element extends EmotionJSX.Element {} | ||
@@ -101,0 +102,0 @@ interface ElementClass extends EmotionJSX.ElementClass {} |
@@ -21,3 +21,8 @@ import 'react' | ||
// based on the code from @types/react@18.2.8 | ||
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/3197efc097d522c4bf02b94e1a0766d007d6cdeb/types/react/index.d.ts#LL3204C13-L3204C13 | ||
type ReactJSXElementType = string | React.JSXElementConstructor<any> | ||
export namespace EmotionJSX { | ||
type ElementType = ReactJSXElementType | ||
interface Element extends ReactJSXElement {} | ||
@@ -24,0 +29,0 @@ interface ElementClass extends ReactJSXElementClass {} |
583635
4690