0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

View file

@ -0,0 +1,34 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('react');
require('@emotion/cache');
var emotionElement = require('../../dist/emotion-element-35a6e288.browser.cjs.js');
require('@babel/runtime/helpers/extends');
require('@emotion/weak-memoize');
require('hoist-non-react-statics');
require('../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.cjs.js');
require('@emotion/utils');
require('@emotion/serialize');
var ReactJSXRuntime = require('react/jsx-runtime');
var Fragment = ReactJSXRuntime.Fragment;
function jsx(type, props, key) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntime.jsx(type, props, key);
}
return ReactJSXRuntime.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}
function jsxs(type, props, key) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntime.jsxs(type, props, key);
}
return ReactJSXRuntime.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}
exports.Fragment = Fragment;
exports.jsx = jsx;
exports.jsxs = jsxs;

View file

@ -0,0 +1,28 @@
import 'react';
import '@emotion/cache';
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-99289b21.browser.esm.js';
import '@babel/runtime/helpers/extends';
import '@emotion/weak-memoize';
import 'hoist-non-react-statics';
import '../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js';
import '@emotion/utils';
import '@emotion/serialize';
import { Fragment as Fragment$1, jsx as jsx$1, jsxs as jsxs$1 } from 'react/jsx-runtime';
var Fragment = Fragment$1;
function jsx(type, props, key) {
if (!hasOwnProperty.call(props, 'css')) {
return jsx$1(type, props, key);
}
return jsx$1(Emotion, createEmotionProps(type, props), key);
}
function jsxs(type, props, key) {
if (!hasOwnProperty.call(props, 'css')) {
return jsxs$1(type, props, key);
}
return jsxs$1(Emotion, createEmotionProps(type, props), key);
}
export { Fragment, jsx, jsxs };

View file

@ -0,0 +1,34 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('react');
require('@emotion/cache');
var emotionElement = require('../../dist/emotion-element-ce965253.cjs.dev.js');
require('@babel/runtime/helpers/extends');
require('@emotion/weak-memoize');
require('hoist-non-react-statics');
require('../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.cjs.dev.js');
require('@emotion/utils');
require('@emotion/serialize');
var ReactJSXRuntime = require('react/jsx-runtime');
var Fragment = ReactJSXRuntime.Fragment;
function jsx(type, props, key) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntime.jsx(type, props, key);
}
return ReactJSXRuntime.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}
function jsxs(type, props, key) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntime.jsxs(type, props, key);
}
return ReactJSXRuntime.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
}
exports.Fragment = Fragment;
exports.jsx = jsx;
exports.jsxs = jsxs;

View file

@ -0,0 +1,7 @@
'use strict';
if (process.env.NODE_ENV === "production") {
module.exports = require("./emotion-react-jsx-runtime.cjs.prod.js");
} else {
module.exports = require("./emotion-react-jsx-runtime.cjs.dev.js");
}

View file

@ -0,0 +1,2 @@
// @flow
export * from "../../src/jsx-runtime.js";

View file

@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), require("react"), require("@emotion/cache");
var emotionElement = require("../../dist/emotion-element-94e2cf49.cjs.prod.js");
require("@babel/runtime/helpers/extends"), require("@emotion/weak-memoize"), require("hoist-non-react-statics"),
require("../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.cjs.prod.js"),
require("@emotion/utils"), require("@emotion/serialize");
var ReactJSXRuntime = require("react/jsx-runtime"), Fragment = ReactJSXRuntime.Fragment;
function jsx(type, props, key) {
return emotionElement.hasOwnProperty.call(props, "css") ? ReactJSXRuntime.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key) : ReactJSXRuntime.jsx(type, props, key);
}
function jsxs(type, props, key) {
return emotionElement.hasOwnProperty.call(props, "css") ? ReactJSXRuntime.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key) : ReactJSXRuntime.jsxs(type, props, key);
}
exports.Fragment = Fragment, exports.jsx = jsx, exports.jsxs = jsxs;

View file

@ -0,0 +1,28 @@
import 'react';
import '@emotion/cache';
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-8d26346b.esm.js';
import '@babel/runtime/helpers/extends';
import '@emotion/weak-memoize';
import 'hoist-non-react-statics';
import '../../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.esm.js';
import '@emotion/utils';
import '@emotion/serialize';
import { Fragment as Fragment$1, jsx as jsx$1, jsxs as jsxs$1 } from 'react/jsx-runtime';
var Fragment = Fragment$1;
function jsx(type, props, key) {
if (!hasOwnProperty.call(props, 'css')) {
return jsx$1(type, props, key);
}
return jsx$1(Emotion, createEmotionProps(type, props), key);
}
function jsxs(type, props, key) {
if (!hasOwnProperty.call(props, 'css')) {
return jsxs$1(type, props, key);
}
return jsxs$1(Emotion, createEmotionProps(type, props), key);
}
export { Fragment, jsx, jsxs };

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,14 @@
{
"main": "dist/emotion-react-jsx-runtime.cjs.js",
"module": "dist/emotion-react-jsx-runtime.esm.js",
"umd:main": "dist/emotion-react-jsx-runtime.umd.min.js",
"browser": {
"./dist/emotion-react-jsx-runtime.cjs.js": "./dist/emotion-react-jsx-runtime.browser.cjs.js",
"./dist/emotion-react-jsx-runtime.esm.js": "./dist/emotion-react-jsx-runtime.browser.esm.js"
},
"types": "../types/jsx-runtime",
"sideEffects": false,
"preconstruct": {
"umdName": "emotionReactJSXRuntime"
}
}