@ntbjs/react-components 2.0.0-rc.5 → 2.0.0-rc.9
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/cjs/_virtual/index5.js +7 -0
- package/cjs/_virtual/react-is.development2.js +7 -0
- package/cjs/_virtual/react-is.production.min2.js +7 -0
- package/cjs/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
- package/cjs/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +54 -12
- package/cjs/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +10 -7
- package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
- package/cjs/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
- package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +20 -0
- package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -2
- package/cjs/node_modules/{react-is → hoist-non-react-statics/node_modules/react-is}/cjs/react-is.development.js +39 -81
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +22 -0
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +13 -0
- package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/cjs/node_modules/prop-types/index.js +1 -1
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +186 -0
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +22 -0
- package/cjs/node_modules/{react-is → prop-types/node_modules/react-is}/index.js +3 -3
- package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +12 -12
- package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +47 -47
- package/cjs/node_modules/use-isomorphic-layout-effect/dist/{use-isomorphic-layout-effect.browser.esm.js → use-isomorphic-layout-effect.esm.js} +3 -1
- package/esm/_virtual/index5.js +3 -0
- package/esm/_virtual/react-is.development2.js +3 -0
- package/esm/_virtual/react-is.production.min2.js +3 -0
- package/esm/node_modules/@emotion/cache/dist/{emotion-cache.browser.esm.js → emotion-cache.esm.js} +61 -3
- package/esm/node_modules/@emotion/react/dist/{emotion-element-f0de968e.browser.esm.js → emotion-element-d59e098f.esm.js} +47 -5
- package/esm/node_modules/@emotion/react/dist/{emotion-react.browser.esm.js → emotion-react.esm.js} +3 -3
- package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/{emotion-use-insertion-effect-with-fallbacks.browser.esm.js → emotion-use-insertion-effect-with-fallbacks.esm.js} +3 -1
- package/esm/node_modules/@emotion/utils/dist/{emotion-utils.browser.esm.js → emotion-utils.esm.js} +12 -3
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
- package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -2
- package/esm/node_modules/{react-is → hoist-non-react-statics/node_modules/react-is}/cjs/react-is.development.js +40 -82
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +17 -0
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +11 -0
- package/esm/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/esm/node_modules/prop-types/index.js +1 -1
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +181 -0
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +17 -0
- package/esm/node_modules/prop-types/node_modules/react-is/index.js +11 -0
- package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +1 -1
- package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +2 -2
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +8 -0
- package/package.json +2 -2
- package/cjs/node_modules/react-is/cjs/react-is.production.min.js +0 -22
- package/esm/node_modules/react-is/cjs/react-is.production.min.js +0 -17
- package/esm/node_modules/react-is/index.js +0 -11
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { __exports as reactIs_development } from '../../../../../_virtual/react-is.development.js';
|
|
2
|
+
export { __exports as default } from '../../../../../_virtual/react-is.development.js';
|
|
3
|
+
|
|
4
|
+
/** @license React v16.13.1
|
|
5
|
+
* react-is.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
if (process.env.NODE_ENV !== "production") {
|
|
16
|
+
(function() {
|
|
17
|
+
|
|
18
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
19
|
+
// nor polyfill, then a plain number is used for performance.
|
|
20
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
21
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
22
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
23
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
24
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
25
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
26
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
27
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
28
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
29
|
+
|
|
30
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
31
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
32
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
33
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
34
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
35
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
36
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
37
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
38
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
39
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
40
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
41
|
+
|
|
42
|
+
function isValidElementType(type) {
|
|
43
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
44
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function typeOf(object) {
|
|
48
|
+
if (typeof object === 'object' && object !== null) {
|
|
49
|
+
var $$typeof = object.$$typeof;
|
|
50
|
+
|
|
51
|
+
switch ($$typeof) {
|
|
52
|
+
case REACT_ELEMENT_TYPE:
|
|
53
|
+
var type = object.type;
|
|
54
|
+
|
|
55
|
+
switch (type) {
|
|
56
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
57
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
58
|
+
case REACT_FRAGMENT_TYPE:
|
|
59
|
+
case REACT_PROFILER_TYPE:
|
|
60
|
+
case REACT_STRICT_MODE_TYPE:
|
|
61
|
+
case REACT_SUSPENSE_TYPE:
|
|
62
|
+
return type;
|
|
63
|
+
|
|
64
|
+
default:
|
|
65
|
+
var $$typeofType = type && type.$$typeof;
|
|
66
|
+
|
|
67
|
+
switch ($$typeofType) {
|
|
68
|
+
case REACT_CONTEXT_TYPE:
|
|
69
|
+
case REACT_FORWARD_REF_TYPE:
|
|
70
|
+
case REACT_LAZY_TYPE:
|
|
71
|
+
case REACT_MEMO_TYPE:
|
|
72
|
+
case REACT_PROVIDER_TYPE:
|
|
73
|
+
return $$typeofType;
|
|
74
|
+
|
|
75
|
+
default:
|
|
76
|
+
return $$typeof;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
case REACT_PORTAL_TYPE:
|
|
82
|
+
return $$typeof;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return undefined;
|
|
87
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
88
|
+
|
|
89
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
90
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
91
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
92
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
93
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
94
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
95
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
96
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
97
|
+
var Memo = REACT_MEMO_TYPE;
|
|
98
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
99
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
100
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
101
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
102
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
103
|
+
|
|
104
|
+
function isAsyncMode(object) {
|
|
105
|
+
{
|
|
106
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
107
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
108
|
+
|
|
109
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
114
|
+
}
|
|
115
|
+
function isConcurrentMode(object) {
|
|
116
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
117
|
+
}
|
|
118
|
+
function isContextConsumer(object) {
|
|
119
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
120
|
+
}
|
|
121
|
+
function isContextProvider(object) {
|
|
122
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
123
|
+
}
|
|
124
|
+
function isElement(object) {
|
|
125
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
126
|
+
}
|
|
127
|
+
function isForwardRef(object) {
|
|
128
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
129
|
+
}
|
|
130
|
+
function isFragment(object) {
|
|
131
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
132
|
+
}
|
|
133
|
+
function isLazy(object) {
|
|
134
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
135
|
+
}
|
|
136
|
+
function isMemo(object) {
|
|
137
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
138
|
+
}
|
|
139
|
+
function isPortal(object) {
|
|
140
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
141
|
+
}
|
|
142
|
+
function isProfiler(object) {
|
|
143
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
144
|
+
}
|
|
145
|
+
function isStrictMode(object) {
|
|
146
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
147
|
+
}
|
|
148
|
+
function isSuspense(object) {
|
|
149
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
153
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
154
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
155
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
156
|
+
reactIs_development.Element = Element;
|
|
157
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
158
|
+
reactIs_development.Fragment = Fragment;
|
|
159
|
+
reactIs_development.Lazy = Lazy;
|
|
160
|
+
reactIs_development.Memo = Memo;
|
|
161
|
+
reactIs_development.Portal = Portal;
|
|
162
|
+
reactIs_development.Profiler = Profiler;
|
|
163
|
+
reactIs_development.StrictMode = StrictMode;
|
|
164
|
+
reactIs_development.Suspense = Suspense;
|
|
165
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
166
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
167
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
168
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
169
|
+
reactIs_development.isElement = isElement;
|
|
170
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
171
|
+
reactIs_development.isFragment = isFragment;
|
|
172
|
+
reactIs_development.isLazy = isLazy;
|
|
173
|
+
reactIs_development.isMemo = isMemo;
|
|
174
|
+
reactIs_development.isPortal = isPortal;
|
|
175
|
+
reactIs_development.isProfiler = isProfiler;
|
|
176
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
177
|
+
reactIs_development.isSuspense = isSuspense;
|
|
178
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
179
|
+
reactIs_development.typeOf = typeOf;
|
|
180
|
+
})();
|
|
181
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __exports as reactIs_production_min } from '../../../../../_virtual/react-is.production.min.js';
|
|
2
|
+
export { __exports as default } from '../../../../../_virtual/react-is.production.min.js';
|
|
3
|
+
|
|
4
|
+
/** @license React v16.13.1
|
|
5
|
+
* react-is.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
13
|
+
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
14
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
15
|
+
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
16
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
17
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { r as reactIs } from '../../../../_virtual/index3.js';
|
|
2
|
+
import './cjs/react-is.production.min.js';
|
|
3
|
+
import './cjs/react-is.development.js';
|
|
4
|
+
import { __exports as reactIs_production_min } from '../../../../_virtual/react-is.production.min.js';
|
|
5
|
+
import { __exports as reactIs_development } from '../../../../_virtual/react-is.development.js';
|
|
6
|
+
|
|
7
|
+
if (process.env.NODE_ENV === 'production') {
|
|
8
|
+
reactIs.exports = reactIs_production_min;
|
|
9
|
+
} else {
|
|
10
|
+
reactIs.exports = reactIs_development;
|
|
11
|
+
}
|
|
@@ -7,7 +7,7 @@ import _createSuper from '../../@babel/runtime/helpers/esm/createSuper.js';
|
|
|
7
7
|
import _toConsumableArray from '../../@babel/runtime/helpers/esm/toConsumableArray.js';
|
|
8
8
|
import '../../react/index.js';
|
|
9
9
|
import { z as isTouchCapable, A as isMobileDevice, B as multiValueAsValue, C as singleValueAsValue, D as valueTernary, E as classNames, F as defaultComponents, G as isDocumentElement, H as cleanValue, I as scrollIntoView, J as noop, M as MenuPlacer, r as removeProps, a as clearIndicatorCSS, b as containerCSS, d as css$1, e as dropdownIndicatorCSS, g as groupCSS, f as groupHeadingCSS, i as indicatorsContainerCSS, h as indicatorSeparatorCSS, j as inputCSS, l as loadingIndicatorCSS, k as loadingMessageCSS, m as menuCSS, n as menuListCSS, o as menuPortalCSS, p as multiValueCSS, q as multiValueLabelCSS, t as multiValueRemoveCSS, u as noOptionsMessageCSS, v as optionCSS, w as placeholderCSS, x as css$2, y as valueContainerCSS, K as notNullish, s as supportsPassiveEvents } from './index-641ee5b8.esm.js';
|
|
10
|
-
import { createElement as jsx, css } from '../../@emotion/react/dist/emotion-react.
|
|
10
|
+
import { createElement as jsx, css } from '../../@emotion/react/dist/emotion-react.esm.js';
|
|
11
11
|
import memoizeOne from '../../memoize-one/dist/memoize-one.esm.js';
|
|
12
12
|
import _objectWithoutProperties from '../../@babel/runtime/helpers/esm/objectWithoutProperties.js';
|
|
13
13
|
import { r as react } from '../../../_virtual/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectSpread2 from '../../@babel/runtime/helpers/esm/objectSpread2.js';
|
|
2
2
|
import _extends from '../../@babel/runtime/helpers/esm/extends.js';
|
|
3
|
-
import { keyframes, createElement as jsx, css as css$2 } from '../../@emotion/react/dist/emotion-react.
|
|
3
|
+
import { keyframes, createElement as jsx, css as css$2 } from '../../@emotion/react/dist/emotion-react.esm.js';
|
|
4
4
|
import _slicedToArray from '../../@babel/runtime/helpers/esm/slicedToArray.js';
|
|
5
5
|
import _objectWithoutProperties from '../../@babel/runtime/helpers/esm/objectWithoutProperties.js';
|
|
6
6
|
import _typeof from '../../@babel/runtime/helpers/esm/typeof.js';
|
|
@@ -9,7 +9,7 @@ import _defineProperty from '../../@babel/runtime/helpers/esm/defineProperty.js'
|
|
|
9
9
|
import '../../react/index.js';
|
|
10
10
|
import '../../react-dom/index.js';
|
|
11
11
|
import { autoUpdate } from '../../@floating-ui/dom/dist/floating-ui.dom.mjs.js';
|
|
12
|
-
import index from '../../use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.
|
|
12
|
+
import index from '../../use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js';
|
|
13
13
|
import { r as react } from '../../../_virtual/index.js';
|
|
14
14
|
import { r as reactDom } from '../../../_virtual/index4.js';
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntbjs/react-components",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.9",
|
|
4
4
|
"description": "NTBs common front-end design utilities and React components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"module": "./build/esm/components/index.js",
|
|
38
38
|
"sideEffects": false,
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "
|
|
40
|
+
"build": "cross-env NODE_ENV=production rollup -c",
|
|
41
41
|
"test": "jest",
|
|
42
42
|
"test:watch": "jest --watch",
|
|
43
43
|
"lint": "eslint .",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var reactIs_production_min = require('../../../_virtual/react-is.production.min.js');
|
|
6
|
-
|
|
7
|
-
/** @license React v17.0.2
|
|
8
|
-
* react-is.production.min.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
|
|
16
|
-
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden");}
|
|
17
|
-
function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.__exports.ContextConsumer=h;reactIs_production_min.__exports.ContextProvider=z;reactIs_production_min.__exports.Element=A;reactIs_production_min.__exports.ForwardRef=B;reactIs_production_min.__exports.Fragment=C;reactIs_production_min.__exports.Lazy=D;reactIs_production_min.__exports.Memo=E;reactIs_production_min.__exports.Portal=F;reactIs_production_min.__exports.Profiler=G;reactIs_production_min.__exports.StrictMode=H;
|
|
18
|
-
reactIs_production_min.__exports.Suspense=I;reactIs_production_min.__exports.isAsyncMode=function(){return !1};reactIs_production_min.__exports.isConcurrentMode=function(){return !1};reactIs_production_min.__exports.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.__exports.isContextProvider=function(a){return y(a)===g};reactIs_production_min.__exports.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.__exports.isForwardRef=function(a){return y(a)===k};reactIs_production_min.__exports.isFragment=function(a){return y(a)===d};reactIs_production_min.__exports.isLazy=function(a){return y(a)===p};reactIs_production_min.__exports.isMemo=function(a){return y(a)===n};
|
|
19
|
-
reactIs_production_min.__exports.isPortal=function(a){return y(a)===c};reactIs_production_min.__exports.isProfiler=function(a){return y(a)===f};reactIs_production_min.__exports.isStrictMode=function(a){return y(a)===e};reactIs_production_min.__exports.isSuspense=function(a){return y(a)===l};reactIs_production_min.__exports.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
|
|
20
|
-
reactIs_production_min.__exports.typeOf=y;
|
|
21
|
-
|
|
22
|
-
exports["default"] = reactIs_production_min.__exports;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min.js';
|
|
2
|
-
export { __exports as default } from '../../../_virtual/react-is.production.min.js';
|
|
3
|
-
|
|
4
|
-
/** @license React v17.0.2
|
|
5
|
-
* react-is.production.min.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
|
|
13
|
-
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden");}
|
|
14
|
-
function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=z;reactIs_production_min.Element=A;reactIs_production_min.ForwardRef=B;reactIs_production_min.Fragment=C;reactIs_production_min.Lazy=D;reactIs_production_min.Memo=E;reactIs_production_min.Portal=F;reactIs_production_min.Profiler=G;reactIs_production_min.StrictMode=H;
|
|
15
|
-
reactIs_production_min.Suspense=I;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.isContextProvider=function(a){return y(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return y(a)===k};reactIs_production_min.isFragment=function(a){return y(a)===d};reactIs_production_min.isLazy=function(a){return y(a)===p};reactIs_production_min.isMemo=function(a){return y(a)===n};
|
|
16
|
-
reactIs_production_min.isPortal=function(a){return y(a)===c};reactIs_production_min.isProfiler=function(a){return y(a)===f};reactIs_production_min.isStrictMode=function(a){return y(a)===e};reactIs_production_min.isSuspense=function(a){return y(a)===l};reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
|
|
17
|
-
reactIs_production_min.typeOf=y;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { r as reactIs } from '../../_virtual/index3.js';
|
|
2
|
-
import './cjs/react-is.production.min.js';
|
|
3
|
-
import './cjs/react-is.development.js';
|
|
4
|
-
import { __exports as reactIs_production_min } from '../../_virtual/react-is.production.min.js';
|
|
5
|
-
import { __exports as reactIs_development } from '../../_virtual/react-is.development.js';
|
|
6
|
-
|
|
7
|
-
if (process.env.NODE_ENV === 'production') {
|
|
8
|
-
reactIs.exports = reactIs_production_min;
|
|
9
|
-
} else {
|
|
10
|
-
reactIs.exports = reactIs_development;
|
|
11
|
-
}
|