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,23 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('@babel/runtime/helpers/inheritsLoose');
require('react');
require('@emotion/cache');
var emotionElement = require('../../dist/emotion-element-8aec08a7.browser.cjs.js');
require('@emotion/utils');
require('@emotion/serialize');
var ReactJSXRuntimeDev = require('react/jsx-dev-runtime');
var Fragment = ReactJSXRuntimeDev.Fragment;
function jsxDEV(type, props, key, isStaticChildren, source, self) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntimeDev.jsxDEV(type, props, key, isStaticChildren, source, self);
}
return ReactJSXRuntimeDev.jsxDEV(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key, isStaticChildren, source, self);
}
exports.Fragment = Fragment;
exports.jsxDEV = jsxDEV;

View file

@ -0,0 +1,18 @@
import '@babel/runtime/helpers/inheritsLoose';
import 'react';
import '@emotion/cache';
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-57a3a7a3.browser.esm.js';
import '@emotion/utils';
import '@emotion/serialize';
import { Fragment as Fragment$1, jsxDEV as jsxDEV$1 } from 'react/jsx-dev-runtime';
var Fragment = Fragment$1;
function jsxDEV(type, props, key, isStaticChildren, source, self) {
if (!hasOwnProperty.call(props, 'css')) {
return jsxDEV$1(type, props, key, isStaticChildren, source, self);
}
return jsxDEV$1(Emotion, createEmotionProps(type, props), key, isStaticChildren, source, self);
}
export { Fragment, jsxDEV };

View file

@ -0,0 +1,23 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
require('@babel/runtime/helpers/inheritsLoose');
require('react');
require('@emotion/cache');
var emotionElement = require('../../dist/emotion-element-49eeaaac.cjs.dev.js');
require('@emotion/utils');
require('@emotion/serialize');
var ReactJSXRuntimeDev = require('react/jsx-dev-runtime');
var Fragment = ReactJSXRuntimeDev.Fragment;
function jsxDEV(type, props, key, isStaticChildren, source, self) {
if (!emotionElement.hasOwnProperty.call(props, 'css')) {
return ReactJSXRuntimeDev.jsxDEV(type, props, key, isStaticChildren, source, self);
}
return ReactJSXRuntimeDev.jsxDEV(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key, isStaticChildren, source, self);
}
exports.Fragment = Fragment;
exports.jsxDEV = jsxDEV;

View file

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

View file

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

View file

@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), require("@babel/runtime/helpers/inheritsLoose"), require("react"), require("@emotion/cache");
var emotionElement = require("../../dist/emotion-element-0e1e5002.cjs.prod.js");
require("@emotion/utils"), require("@emotion/serialize");
var ReactJSXRuntimeDev = require("react/jsx-dev-runtime"), Fragment = ReactJSXRuntimeDev.Fragment;
function jsxDEV(type, props, key, isStaticChildren, source, self) {
return emotionElement.hasOwnProperty.call(props, "css") ? ReactJSXRuntimeDev.jsxDEV(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key, isStaticChildren, source, self) : ReactJSXRuntimeDev.jsxDEV(type, props, key, isStaticChildren, source, self);
}
exports.Fragment = Fragment, exports.jsxDEV = jsxDEV;

View file

@ -0,0 +1,18 @@
import '@babel/runtime/helpers/inheritsLoose';
import 'react';
import '@emotion/cache';
import { h as hasOwnProperty, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-cfcfecf4.esm.js';
import '@emotion/utils';
import '@emotion/serialize';
import { Fragment as Fragment$1, jsxDEV as jsxDEV$1 } from 'react/jsx-dev-runtime';
var Fragment = Fragment$1;
function jsxDEV(type, props, key, isStaticChildren, source, self) {
if (!hasOwnProperty.call(props, 'css')) {
return jsxDEV$1(type, props, key, isStaticChildren, source, self);
}
return jsxDEV$1(Emotion, createEmotionProps(type, props), key, isStaticChildren, source, self);
}
export { Fragment, jsxDEV };

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,13 @@
{
"main": "dist/core.cjs.js",
"module": "dist/core.esm.js",
"umd:main": "dist/core.umd.min.js",
"browser": {
"./dist/core.cjs.js": "./dist/core.browser.cjs.js",
"./dist/core.esm.js": "./dist/core.browser.esm.js"
},
"preconstruct": {
"source": "../src/jsx-dev-runtime",
"umdName": "emotionCoreJSXDevRuntime"
}
}