pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
Generated
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
||||
import { h as hasOwn, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-43c6fea0.browser.esm.js';
|
||||
import 'react';
|
||||
import '@emotion/cache';
|
||||
import '@babel/runtime/helpers/extends';
|
||||
import '@emotion/weak-memoize';
|
||||
import '../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';
|
||||
import 'hoist-non-react-statics';
|
||||
import '@emotion/utils';
|
||||
import '@emotion/serialize';
|
||||
import '@emotion/use-insertion-effect-with-fallbacks';
|
||||
|
||||
var Fragment = ReactJSXRuntime.Fragment;
|
||||
function jsx(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsx(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsx(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
function jsxs(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsxs(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsxs(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
|
||||
export { Fragment, jsx, jsxs };
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from "../../dist/declarations/src/jsx-runtime.js";
|
||||
//# sourceMappingURL=emotion-react-jsx-runtime.cjs.d.mts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"emotion-react-jsx-runtime.cjs.d.mts","sourceRoot":"","sources":["../../dist/declarations/src/jsx-runtime.d.ts"],"names":[],"mappings":"AAAA"}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export * from "../../dist/declarations/src/jsx-runtime";
|
||||
//# sourceMappingURL=emotion-react-jsx-runtime.cjs.d.ts.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"emotion-react-jsx-runtime.cjs.d.ts","sourceRoot":"","sources":["../../dist/declarations/src/jsx-runtime.d.ts"],"names":[],"mappings":"AAAA"}
|
||||
Generated
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var ReactJSXRuntime = require('react/jsx-runtime');
|
||||
var emotionElement = require('../../dist/emotion-element-f93e57b0.cjs.dev.js');
|
||||
require('react');
|
||||
require('@emotion/cache');
|
||||
require('@babel/runtime/helpers/extends');
|
||||
require('@emotion/weak-memoize');
|
||||
require('../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.dev.js');
|
||||
require('hoist-non-react-statics');
|
||||
require('@emotion/utils');
|
||||
require('@emotion/serialize');
|
||||
require('@emotion/use-insertion-effect-with-fallbacks');
|
||||
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
var n = Object.create(null);
|
||||
if (e) {
|
||||
Object.keys(e).forEach(function (k) {
|
||||
if (k !== 'default') {
|
||||
var d = Object.getOwnPropertyDescriptor(e, k);
|
||||
Object.defineProperty(n, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () { return e[k]; }
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
n["default"] = e;
|
||||
return Object.freeze(n);
|
||||
}
|
||||
|
||||
var ReactJSXRuntime__namespace = /*#__PURE__*/_interopNamespace(ReactJSXRuntime);
|
||||
|
||||
var Fragment = ReactJSXRuntime__namespace.Fragment;
|
||||
function jsx(type, props, key) {
|
||||
if (!emotionElement.hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime__namespace.jsx(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime__namespace.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
|
||||
}
|
||||
function jsxs(type, props, key) {
|
||||
if (!emotionElement.hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime__namespace.jsxs(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime__namespace.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
|
||||
}
|
||||
|
||||
exports.Fragment = Fragment;
|
||||
exports.jsx = jsx;
|
||||
exports.jsxs = jsxs;
|
||||
+7
@@ -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");
|
||||
}
|
||||
Generated
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
// @flow
|
||||
export * from "../../src/jsx-runtime.js";
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
export {
|
||||
Fragment,
|
||||
jsx,
|
||||
jsxs
|
||||
} from "./emotion-react-jsx-runtime.cjs.js";
|
||||
Generated
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var ReactJSXRuntime = require('react/jsx-runtime');
|
||||
var emotionElement = require('../../dist/emotion-element-eec0d725.cjs.prod.js');
|
||||
require('react');
|
||||
require('@emotion/cache');
|
||||
require('@babel/runtime/helpers/extends');
|
||||
require('@emotion/weak-memoize');
|
||||
require('../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.prod.js');
|
||||
require('hoist-non-react-statics');
|
||||
require('@emotion/utils');
|
||||
require('@emotion/serialize');
|
||||
require('@emotion/use-insertion-effect-with-fallbacks');
|
||||
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
var n = Object.create(null);
|
||||
if (e) {
|
||||
Object.keys(e).forEach(function (k) {
|
||||
if (k !== 'default') {
|
||||
var d = Object.getOwnPropertyDescriptor(e, k);
|
||||
Object.defineProperty(n, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () { return e[k]; }
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
n["default"] = e;
|
||||
return Object.freeze(n);
|
||||
}
|
||||
|
||||
var ReactJSXRuntime__namespace = /*#__PURE__*/_interopNamespace(ReactJSXRuntime);
|
||||
|
||||
var Fragment = ReactJSXRuntime__namespace.Fragment;
|
||||
function jsx(type, props, key) {
|
||||
if (!emotionElement.hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime__namespace.jsx(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime__namespace.jsx(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
|
||||
}
|
||||
function jsxs(type, props, key) {
|
||||
if (!emotionElement.hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime__namespace.jsxs(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime__namespace.jsxs(emotionElement.Emotion, emotionElement.createEmotionProps(type, props), key);
|
||||
}
|
||||
|
||||
exports.Fragment = Fragment;
|
||||
exports.jsx = jsx;
|
||||
exports.jsxs = jsxs;
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
||||
import { h as hasOwn, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-c16c303e.esm.js';
|
||||
import 'react';
|
||||
import '@emotion/cache';
|
||||
import '@babel/runtime/helpers/extends';
|
||||
import '@emotion/weak-memoize';
|
||||
import '../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js';
|
||||
import 'hoist-non-react-statics';
|
||||
import '@emotion/utils';
|
||||
import '@emotion/serialize';
|
||||
import '@emotion/use-insertion-effect-with-fallbacks';
|
||||
|
||||
var Fragment = ReactJSXRuntime.Fragment;
|
||||
function jsx(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsx(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsx(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
function jsxs(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsxs(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsxs(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
|
||||
export { Fragment, jsx, jsxs };
|
||||
Generated
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react/jsx-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXRuntime={},e.ReactJSX,e.React)}(this,(function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(t),s=n(r);var c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i="-ms-",o="-moz-",u="-webkit-",l="comm",f="rule",d="decl",h="@keyframes",p=Math.abs,v=String.fromCharCode,g=Object.assign;function m(e){return e.trim()}function y(e,t,r){return e.replace(t,r)}function b(e,t){return e.indexOf(t)}function x(e,t){return 0|e.charCodeAt(t)}function w(e,t,r){return e.slice(t,r)}function k(e){return e.length}function $(e){return e.length}function C(e,t){return t.push(e),e}var A=1,S=1,O=0,_=0,j=0,E="";function N(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:A,column:S,length:c,return:""}}function P(e,t){return g(N("",null,null,"",null,null,0),e,{length:-e.length},t)}function R(){return j=_>0?x(E,--_):0,S--,10===j&&(S=1,A--),j}function T(){return j=_<O?x(E,_++):0,S++,10===j&&(S=1,A++),j}function z(){return x(E,_)}function I(){return _}function M(e,t){return w(E,e,t)}function G(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){return A=S=1,O=k(E=e),_=0,[]}function W(e){return E="",e}function q(e){return m(M(_-1,H(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(j=z())&&j<33;)T();return G(e)>2||G(j)>3?"":" "}function L(e,t){for(;--t&&T()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return M(e,I()+(t<6&&32==z()&&32==T()))}function H(e){for(;T();)switch(j){case e:return _;case 34:case 39:34!==e&&39!==e&&H(j);break;case 40:41===e&&H(e);break;case 92:T()}return _}function J(e,t){for(;T()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+M(t,_-1)+"*"+v(47===e?e:T())}function X(e){for(;!G(z());)T();return M(e,_)}function B(e){return W(U("",null,null,null,[""],e=F(e),0,[0],e))}function U(e,t,r,n,a,s,c,i,o){for(var u=0,l=0,f=c,d=0,h=0,p=0,g=1,m=1,w=1,$=0,A="",S=a,O=s,_=n,j=A;m;)switch(p=$,$=T()){case 40:if(108!=p&&58==x(j,f-1)){-1!=b(j+=y(q($),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:j+=q($);break;case 9:case 10:case 13:case 32:j+=D(p);break;case 92:j+=L(I()-1,7);continue;case 47:switch(z()){case 42:case 47:C(Z(J(T(),I()),t,r),o);break;default:j+="/"}break;case 123*g:i[u++]=k(j)*w;case 125*g:case 59:case 0:switch($){case 0:case 125:m=0;case 59+l:-1==w&&(j=y(j,/\f/g,"")),h>0&&k(j)-f&&C(h>32?K(j+";",n,r,f-1):K(y(j," ","")+";",n,r,f-2),o);break;case 59:j+=";";default:if(C(_=Y(j,t,r,u,l,a,i,A,S=[],O=[],f),s),123===$)if(0===l)U(j,t,_,_,S,s,f,i,O);else switch(99===d&&110===x(j,3)?100:d){case 100:case 108:case 109:case 115:U(e,_,_,n&&C(Y(e,_,_,0,0,a,i,A,a,S=[],f),O),a,O,f,i,n?S:O);break;default:U(j,_,_,_,[""],O,0,i,O)}}u=l=h=0,g=w=1,A=j="",f=c;break;case 58:f=1+k(j),h=p;default:if(g<1)if(123==$)--g;else if(125==$&&0==g++&&125==R())continue;switch(j+=v($),$*g){case 38:w=l>0?1:(j+="\f",-1);break;case 44:i[u++]=(k(j)-1)*w,w=1;break;case 64:45===z()&&(j+=q(T())),d=z(),l=f=k(A=j+=X(I())),$++;break;case 45:45===p&&2==k(j)&&(g=0)}}return s}function Y(e,t,r,n,a,s,c,i,o,u,l){for(var d=a-1,h=0===a?s:[""],v=$(h),g=0,b=0,x=0;g<n;++g)for(var k=0,C=w(Line truncated
|
||||
//# sourceMappingURL=emotion-react-jsx-runtime.umd.min.js.map
|
||||
Generated
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"emotion-react-jsx-runtime.umd.min.js","sources":["../../../sheet/src/index.js","../../../../node_modules/stylis/src/Enum.js","../../../../node_modules/stylis/src/Utility.js","../../../../node_modules/stylis/src/Tokenizer.js","../../../../node_modules/stylis/src/Parser.js","../../../../node_modules/stylis/src/Serializer.js","../../../memoize/src/index.js","../../../cache/src/stylis-plugins.js","../../../cache/src/prefixer.js","../../../cache/src/index.js","../../../../node_modules/stylis/src/Middleware.js","../../src/utils.js","../../src/context.js","../../src/theming.js","../../../utils/src/index.js","../../../unitless/src/index.js","../../../serialize/src/index.js","../../../use-insertion-effect-with-fallbacks/src/index.js","../../src/emotion-element.js","../../../hash/src/index.js","../../src/jsx-runtime.js"],"sourcesContent":["// @flow\n/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n\n// $FlowFixMe\nfunction sheetForTag(tag: HTMLStyleElement): CSSStyleSheet {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet\n }\n\n // this weirdness brought to you by firefox\n /* istanbul ignore next */\n for (let i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i]\n }\n }\n}\n\nexport type Options = {\n nonce?: string,\n key: string,\n container: Node,\n speedy?: boolean,\n prepend?: boolean,\n insertionPoint?: HTMLElement\n}\n\nfunction createStyleElement(options: {\n key: string,\n nonce: string | void\n}): HTMLStyleElement {\n let tag = document.createElement('style')\n tag.setAttribute('data-emotion', options.key)\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce)\n }\n tag.appendChild(document.createTextNode(''))\n tag.setAttribute('data-s', '')\n return tag\n}\n\nexport class StyleSheet {\n isSpeedy: boolean\n ctr: number\n tags: HTMLStyleElement[]\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n container: Node\n key: string\n nonce: string | void\n prepend: boolean | void\n before: Element | null\n insertionPoint: HTMLElement | void\n constructor(options: Options) {\n this.isSpeedy =\n options.speedy === undefined\n ? process.env.NODE_ENV === 'production'\n : options.speedy\n this.tags = []\n this.ctr = 0\n this.nonce = options.nonce\n // key is the value of the data-emotion attribute, it's used to identify different sheets\n this.key = options.key\n this.container = options.container\n this.prepend = options.prepend\n this.insertionPoint = options.insertionPoint\n this.before = null\n }\n\n _insertTag = (tag: HTMLStyleElement) => {\n let before\n if (this.tags.length === 0) {\n if (this.insertionPoint) {\n before = this.insertionPoint.nextSibling\n } else if (this.prepend) {\n before = this.container.firstChild\n } else {\n before = this.before\n }\n } else {\n before = this.tags[this.tags.length - 1].nextSibling\n }\n this.container.insertBefore(tag, before)\n this.tags.push(tag)\n }\n\n hydrate(nodes: HTMLStyleElement[]) {\n nodes.forEach(this._insertTag)\n }\n\n insert(rule: string) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this))\n }\n const tag = this.tags[this.tags.length - 1]\n\n if (process.env.NODE_ENV !== 'production') {\n const isImportRule =\n rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105\n\n if (isImportRule && (this: any)._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\n `You're attempting to insert the following rule:\\n` +\n rule +\n '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.'\n )\n }\n\n ;(this: any)._alreadyInsertedOrderInLine truncated
|
||||
Generated
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
import * as ReactJSXRuntime from 'react/jsx-runtime';
|
||||
import { h as hasOwn, E as Emotion, c as createEmotionProps } from '../../dist/emotion-element-3ac3b1d0.worker.esm.js';
|
||||
import 'react';
|
||||
import '@emotion/cache';
|
||||
import '@babel/runtime/helpers/extends';
|
||||
import '@emotion/weak-memoize';
|
||||
import '../../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js';
|
||||
import 'hoist-non-react-statics';
|
||||
import '@emotion/utils';
|
||||
import '@emotion/serialize';
|
||||
import '@emotion/use-insertion-effect-with-fallbacks';
|
||||
|
||||
var Fragment = ReactJSXRuntime.Fragment;
|
||||
function jsx(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsx(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsx(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
function jsxs(type, props, key) {
|
||||
if (!hasOwn.call(props, 'css')) {
|
||||
return ReactJSXRuntime.jsxs(type, props, key);
|
||||
}
|
||||
|
||||
return ReactJSXRuntime.jsxs(Emotion, createEmotionProps(type, props), key);
|
||||
}
|
||||
|
||||
export { Fragment, jsx, jsxs };
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"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.esm.js": "./dist/emotion-react-jsx-runtime.browser.esm.js"
|
||||
},
|
||||
"types": "../types/jsx-runtime",
|
||||
"sideEffects": false,
|
||||
"preconstruct": {
|
||||
"umdName": "emotionReactJSXRuntime"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user