@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,186 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var reactIs_development = require('../../../../../_virtual/react-is.development.js');
|
|
6
|
+
|
|
7
|
+
/** @license React v16.13.1
|
|
8
|
+
* react-is.development.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
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
if (process.env.NODE_ENV !== "production") {
|
|
19
|
+
(function() {
|
|
20
|
+
|
|
21
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
22
|
+
// nor polyfill, then a plain number is used for performance.
|
|
23
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
24
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
25
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
26
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
27
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
28
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
29
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
30
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
31
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
32
|
+
|
|
33
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
34
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
35
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
36
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
37
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
38
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
39
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
40
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
41
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
42
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
43
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
44
|
+
|
|
45
|
+
function isValidElementType(type) {
|
|
46
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
47
|
+
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);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function typeOf(object) {
|
|
51
|
+
if (typeof object === 'object' && object !== null) {
|
|
52
|
+
var $$typeof = object.$$typeof;
|
|
53
|
+
|
|
54
|
+
switch ($$typeof) {
|
|
55
|
+
case REACT_ELEMENT_TYPE:
|
|
56
|
+
var type = object.type;
|
|
57
|
+
|
|
58
|
+
switch (type) {
|
|
59
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
60
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
61
|
+
case REACT_FRAGMENT_TYPE:
|
|
62
|
+
case REACT_PROFILER_TYPE:
|
|
63
|
+
case REACT_STRICT_MODE_TYPE:
|
|
64
|
+
case REACT_SUSPENSE_TYPE:
|
|
65
|
+
return type;
|
|
66
|
+
|
|
67
|
+
default:
|
|
68
|
+
var $$typeofType = type && type.$$typeof;
|
|
69
|
+
|
|
70
|
+
switch ($$typeofType) {
|
|
71
|
+
case REACT_CONTEXT_TYPE:
|
|
72
|
+
case REACT_FORWARD_REF_TYPE:
|
|
73
|
+
case REACT_LAZY_TYPE:
|
|
74
|
+
case REACT_MEMO_TYPE:
|
|
75
|
+
case REACT_PROVIDER_TYPE:
|
|
76
|
+
return $$typeofType;
|
|
77
|
+
|
|
78
|
+
default:
|
|
79
|
+
return $$typeof;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
case REACT_PORTAL_TYPE:
|
|
85
|
+
return $$typeof;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return undefined;
|
|
90
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
91
|
+
|
|
92
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
93
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
94
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
95
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
96
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
97
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
98
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
99
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
100
|
+
var Memo = REACT_MEMO_TYPE;
|
|
101
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
102
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
103
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
104
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
105
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
106
|
+
|
|
107
|
+
function isAsyncMode(object) {
|
|
108
|
+
{
|
|
109
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
110
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
111
|
+
|
|
112
|
+
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.');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
117
|
+
}
|
|
118
|
+
function isConcurrentMode(object) {
|
|
119
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
120
|
+
}
|
|
121
|
+
function isContextConsumer(object) {
|
|
122
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
123
|
+
}
|
|
124
|
+
function isContextProvider(object) {
|
|
125
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
126
|
+
}
|
|
127
|
+
function isElement(object) {
|
|
128
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
129
|
+
}
|
|
130
|
+
function isForwardRef(object) {
|
|
131
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
132
|
+
}
|
|
133
|
+
function isFragment(object) {
|
|
134
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
135
|
+
}
|
|
136
|
+
function isLazy(object) {
|
|
137
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
138
|
+
}
|
|
139
|
+
function isMemo(object) {
|
|
140
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
141
|
+
}
|
|
142
|
+
function isPortal(object) {
|
|
143
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
144
|
+
}
|
|
145
|
+
function isProfiler(object) {
|
|
146
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
147
|
+
}
|
|
148
|
+
function isStrictMode(object) {
|
|
149
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
150
|
+
}
|
|
151
|
+
function isSuspense(object) {
|
|
152
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
reactIs_development.__exports.AsyncMode = AsyncMode;
|
|
156
|
+
reactIs_development.__exports.ConcurrentMode = ConcurrentMode;
|
|
157
|
+
reactIs_development.__exports.ContextConsumer = ContextConsumer;
|
|
158
|
+
reactIs_development.__exports.ContextProvider = ContextProvider;
|
|
159
|
+
reactIs_development.__exports.Element = Element;
|
|
160
|
+
reactIs_development.__exports.ForwardRef = ForwardRef;
|
|
161
|
+
reactIs_development.__exports.Fragment = Fragment;
|
|
162
|
+
reactIs_development.__exports.Lazy = Lazy;
|
|
163
|
+
reactIs_development.__exports.Memo = Memo;
|
|
164
|
+
reactIs_development.__exports.Portal = Portal;
|
|
165
|
+
reactIs_development.__exports.Profiler = Profiler;
|
|
166
|
+
reactIs_development.__exports.StrictMode = StrictMode;
|
|
167
|
+
reactIs_development.__exports.Suspense = Suspense;
|
|
168
|
+
reactIs_development.__exports.isAsyncMode = isAsyncMode;
|
|
169
|
+
reactIs_development.__exports.isConcurrentMode = isConcurrentMode;
|
|
170
|
+
reactIs_development.__exports.isContextConsumer = isContextConsumer;
|
|
171
|
+
reactIs_development.__exports.isContextProvider = isContextProvider;
|
|
172
|
+
reactIs_development.__exports.isElement = isElement;
|
|
173
|
+
reactIs_development.__exports.isForwardRef = isForwardRef;
|
|
174
|
+
reactIs_development.__exports.isFragment = isFragment;
|
|
175
|
+
reactIs_development.__exports.isLazy = isLazy;
|
|
176
|
+
reactIs_development.__exports.isMemo = isMemo;
|
|
177
|
+
reactIs_development.__exports.isPortal = isPortal;
|
|
178
|
+
reactIs_development.__exports.isProfiler = isProfiler;
|
|
179
|
+
reactIs_development.__exports.isStrictMode = isStrictMode;
|
|
180
|
+
reactIs_development.__exports.isSuspense = isSuspense;
|
|
181
|
+
reactIs_development.__exports.isValidElementType = isValidElementType;
|
|
182
|
+
reactIs_development.__exports.typeOf = typeOf;
|
|
183
|
+
})();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
exports["default"] = reactIs_development.__exports;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 v16.13.1
|
|
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="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?
|
|
16
|
+
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;
|
|
17
|
+
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.__exports.AsyncMode=l;reactIs_production_min.__exports.ConcurrentMode=m;reactIs_production_min.__exports.ContextConsumer=k;reactIs_production_min.__exports.ContextProvider=h;reactIs_production_min.__exports.Element=c;reactIs_production_min.__exports.ForwardRef=n;reactIs_production_min.__exports.Fragment=e;reactIs_production_min.__exports.Lazy=t;reactIs_production_min.__exports.Memo=r;reactIs_production_min.__exports.Portal=d;
|
|
18
|
+
reactIs_production_min.__exports.Profiler=g;reactIs_production_min.__exports.StrictMode=f;reactIs_production_min.__exports.Suspense=p;reactIs_production_min.__exports.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.__exports.isConcurrentMode=A;reactIs_production_min.__exports.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.__exports.isContextProvider=function(a){return z(a)===h};reactIs_production_min.__exports.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.__exports.isForwardRef=function(a){return z(a)===n};reactIs_production_min.__exports.isFragment=function(a){return z(a)===e};reactIs_production_min.__exports.isLazy=function(a){return z(a)===t};
|
|
19
|
+
reactIs_production_min.__exports.isMemo=function(a){return z(a)===r};reactIs_production_min.__exports.isPortal=function(a){return z(a)===d};reactIs_production_min.__exports.isProfiler=function(a){return z(a)===g};reactIs_production_min.__exports.isStrictMode=function(a){return z(a)===f};reactIs_production_min.__exports.isSuspense=function(a){return z(a)===p};
|
|
20
|
+
reactIs_production_min.__exports.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.__exports.typeOf=z;
|
|
21
|
+
|
|
22
|
+
exports["default"] = reactIs_production_min.__exports;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('
|
|
3
|
+
var index = require('../../../../_virtual/index3.js');
|
|
4
4
|
require('./cjs/react-is.production.min.js');
|
|
5
5
|
require('./cjs/react-is.development.js');
|
|
6
|
-
var reactIs_production_min = require('
|
|
7
|
-
var reactIs_development = require('
|
|
6
|
+
var reactIs_production_min = require('../../../../_virtual/react-is.production.min.js');
|
|
7
|
+
var reactIs_development = require('../../../../_virtual/react-is.development.js');
|
|
8
8
|
|
|
9
9
|
if (process.env.NODE_ENV === 'production') {
|
|
10
10
|
index.reactIs.exports = reactIs_production_min.__exports;
|
|
@@ -11,7 +11,7 @@ var createSuper = require('../../@babel/runtime/helpers/esm/createSuper.js');
|
|
|
11
11
|
var toConsumableArray = require('../../@babel/runtime/helpers/esm/toConsumableArray.js');
|
|
12
12
|
require('../../react/index.js');
|
|
13
13
|
var index641ee5b8_esm = require('./index-641ee5b8.esm.js');
|
|
14
|
-
var
|
|
14
|
+
var emotionReact_esm = require('../../@emotion/react/dist/emotion-react.esm.js');
|
|
15
15
|
var memoizeOne_esm = require('../../memoize-one/dist/memoize-one.esm.js');
|
|
16
16
|
var objectWithoutProperties = require('../../@babel/runtime/helpers/esm/objectWithoutProperties.js');
|
|
17
17
|
var index = require('../../../_virtual/index.js');
|
|
@@ -29,7 +29,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
29
29
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
30
30
|
};
|
|
31
31
|
var A11yText = function A11yText(props) {
|
|
32
|
-
return
|
|
32
|
+
return emotionReact_esm.createElement("span", _extends["default"]({
|
|
33
33
|
css: _ref
|
|
34
34
|
}, props));
|
|
35
35
|
};
|
|
@@ -214,18 +214,18 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
214
214
|
}
|
|
215
215
|
return guidanceMsg;
|
|
216
216
|
}, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue, isInitialFocus]);
|
|
217
|
-
var ScreenReaderText =
|
|
217
|
+
var ScreenReaderText = emotionReact_esm.createElement(index.react.exports.Fragment, null, emotionReact_esm.createElement("span", {
|
|
218
218
|
id: "aria-selection"
|
|
219
|
-
}, ariaSelected),
|
|
219
|
+
}, ariaSelected), emotionReact_esm.createElement("span", {
|
|
220
220
|
id: "aria-focused"
|
|
221
|
-
}, ariaFocused),
|
|
221
|
+
}, ariaFocused), emotionReact_esm.createElement("span", {
|
|
222
222
|
id: "aria-results"
|
|
223
|
-
}, ariaResults),
|
|
223
|
+
}, ariaResults), emotionReact_esm.createElement("span", {
|
|
224
224
|
id: "aria-guidance"
|
|
225
225
|
}, ariaGuidance));
|
|
226
|
-
return
|
|
226
|
+
return emotionReact_esm.createElement(index.react.exports.Fragment, null, emotionReact_esm.createElement(A11yText$1, {
|
|
227
227
|
id: id
|
|
228
|
-
}, isInitialFocus && ScreenReaderText),
|
|
228
|
+
}, isInitialFocus && ScreenReaderText), emotionReact_esm.createElement(A11yText$1, {
|
|
229
229
|
"aria-live": ariaLive,
|
|
230
230
|
"aria-atomic": "false",
|
|
231
231
|
"aria-relevant": "additions text",
|
|
@@ -546,10 +546,10 @@ function DummyInput(_ref) {
|
|
|
546
546
|
props = objectWithoutProperties["default"](_ref, _excluded);
|
|
547
547
|
// Remove animation props not meant for HTML elements
|
|
548
548
|
var filteredProps = index641ee5b8_esm.r(props, 'onExited', 'in', 'enter', 'exit', 'appear');
|
|
549
|
-
return
|
|
549
|
+
return emotionReact_esm.createElement("input", _extends["default"]({
|
|
550
550
|
ref: innerRef
|
|
551
551
|
}, filteredProps, {
|
|
552
|
-
css: /*#__PURE__*/
|
|
552
|
+
css: /*#__PURE__*/emotionReact_esm.css({
|
|
553
553
|
label: 'dummyInput',
|
|
554
554
|
// get rid of any default styles
|
|
555
555
|
background: 0,
|
|
@@ -835,7 +835,7 @@ function ScrollManager(_ref) {
|
|
|
835
835
|
setScrollCaptureTarget(element);
|
|
836
836
|
setScrollLockTarget(element);
|
|
837
837
|
};
|
|
838
|
-
return
|
|
838
|
+
return emotionReact_esm.createElement(index.react.exports.Fragment, null, lockEnabled && emotionReact_esm.createElement("div", {
|
|
839
839
|
onClick: blurSelectInput,
|
|
840
840
|
css: _ref2$1
|
|
841
841
|
}), children(targetRef));
|
|
@@ -854,7 +854,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
854
854
|
var RequiredInput = function RequiredInput(_ref) {
|
|
855
855
|
var name = _ref.name,
|
|
856
856
|
onFocus = _ref.onFocus;
|
|
857
|
-
return
|
|
857
|
+
return emotionReact_esm.createElement("input", {
|
|
858
858
|
required: true,
|
|
859
859
|
name: name,
|
|
860
860
|
tabIndex: -1,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var objectSpread2 = require('../../@babel/runtime/helpers/esm/objectSpread2.js');
|
|
6
6
|
var _extends = require('../../@babel/runtime/helpers/esm/extends.js');
|
|
7
|
-
var
|
|
7
|
+
var emotionReact_esm = require('../../@emotion/react/dist/emotion-react.esm.js');
|
|
8
8
|
var slicedToArray = require('../../@babel/runtime/helpers/esm/slicedToArray.js');
|
|
9
9
|
var objectWithoutProperties = require('../../@babel/runtime/helpers/esm/objectWithoutProperties.js');
|
|
10
10
|
var _typeof = require('../../@babel/runtime/helpers/esm/typeof.js');
|
|
@@ -13,7 +13,7 @@ var defineProperty = require('../../@babel/runtime/helpers/esm/defineProperty.js
|
|
|
13
13
|
require('../../react/index.js');
|
|
14
14
|
require('../../react-dom/index.js');
|
|
15
15
|
var floatingUi_dom = require('../../@floating-ui/dom/dist/floating-ui.dom.mjs.js');
|
|
16
|
-
var
|
|
16
|
+
var useIsomorphicLayoutEffect_esm = require('../../use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js');
|
|
17
17
|
var index = require('../../../_virtual/index.js');
|
|
18
18
|
var index$1 = require('../../../_virtual/index4.js');
|
|
19
19
|
|
|
@@ -516,7 +516,7 @@ var MenuPlacer = function MenuPlacer(props) {
|
|
|
516
516
|
placement = _useState4[0],
|
|
517
517
|
setPlacement = _useState4[1];
|
|
518
518
|
var controlHeight = theme.spacing.controlHeight;
|
|
519
|
-
|
|
519
|
+
useIsomorphicLayoutEffect_esm["default"](function () {
|
|
520
520
|
var menuEl = ref.current;
|
|
521
521
|
if (!menuEl) return;
|
|
522
522
|
|
|
@@ -548,7 +548,7 @@ var Menu = function Menu(props) {
|
|
|
548
548
|
var children = props.children,
|
|
549
549
|
innerRef = props.innerRef,
|
|
550
550
|
innerProps = props.innerProps;
|
|
551
|
-
return
|
|
551
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'menu', {
|
|
552
552
|
menu: true
|
|
553
553
|
}), {
|
|
554
554
|
ref: innerRef
|
|
@@ -579,7 +579,7 @@ var MenuList = function MenuList(props) {
|
|
|
579
579
|
innerProps = props.innerProps,
|
|
580
580
|
innerRef = props.innerRef,
|
|
581
581
|
isMulti = props.isMulti;
|
|
582
|
-
return
|
|
582
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'menuList', {
|
|
583
583
|
'menu-list': true,
|
|
584
584
|
'menu-list--is-multi': isMulti
|
|
585
585
|
}), {
|
|
@@ -609,7 +609,7 @@ var NoOptionsMessage = function NoOptionsMessage(_ref6) {
|
|
|
609
609
|
children = _ref6$children === void 0 ? 'No options' : _ref6$children,
|
|
610
610
|
innerProps = _ref6.innerProps,
|
|
611
611
|
restProps = objectWithoutProperties["default"](_ref6, _excluded$3);
|
|
612
|
-
return
|
|
612
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(objectSpread2["default"](objectSpread2["default"]({}, restProps), {}, {
|
|
613
613
|
children: children,
|
|
614
614
|
innerProps: innerProps
|
|
615
615
|
}), 'noOptionsMessage', {
|
|
@@ -622,7 +622,7 @@ var LoadingMessage = function LoadingMessage(_ref7) {
|
|
|
622
622
|
children = _ref7$children === void 0 ? 'Loading...' : _ref7$children,
|
|
623
623
|
innerProps = _ref7.innerProps,
|
|
624
624
|
restProps = objectWithoutProperties["default"](_ref7, _excluded2$1);
|
|
625
|
-
return
|
|
625
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(objectSpread2["default"](objectSpread2["default"]({}, restProps), {}, {
|
|
626
626
|
children: children,
|
|
627
627
|
innerProps: innerProps
|
|
628
628
|
}), 'loadingMessage', {
|
|
@@ -681,7 +681,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
683
|
}, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]);
|
|
684
|
-
|
|
684
|
+
useIsomorphicLayoutEffect_esm["default"](function () {
|
|
685
685
|
updateComputedPosition();
|
|
686
686
|
}, [updateComputedPosition]);
|
|
687
687
|
var runAutoUpdate = index.react.exports.useCallback(function () {
|
|
@@ -695,7 +695,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
}, [controlElement, updateComputedPosition]);
|
|
698
|
-
|
|
698
|
+
useIsomorphicLayoutEffect_esm["default"](function () {
|
|
699
699
|
runAutoUpdate();
|
|
700
700
|
}, [runAutoUpdate]);
|
|
701
701
|
var setMenuPortalElement = index.react.exports.useCallback(function (menuPortalElement) {
|
|
@@ -707,7 +707,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
707
707
|
if (!appendTo && menuPosition !== 'fixed' || !computedPosition) return null;
|
|
708
708
|
|
|
709
709
|
// same wrapper element whether fixed or portalled
|
|
710
|
-
var menuWrapper =
|
|
710
|
+
var menuWrapper = emotionReact_esm.createElement("div", _extends["default"]({
|
|
711
711
|
ref: setMenuPortalElement
|
|
712
712
|
}, getStyleProps(objectSpread2["default"](objectSpread2["default"]({}, props), {}, {
|
|
713
713
|
offset: computedPosition.offset,
|
|
@@ -716,7 +716,7 @@ var MenuPortal = function MenuPortal(props) {
|
|
|
716
716
|
}), 'menuPortal', {
|
|
717
717
|
'menu-portal': true
|
|
718
718
|
}), innerProps), children);
|
|
719
|
-
return
|
|
719
|
+
return emotionReact_esm.createElement(PortalPlacementContext.Provider, {
|
|
720
720
|
value: portalPlacementContext
|
|
721
721
|
}, appendTo ? /*#__PURE__*/index$1.reactDom.exports.createPortal(menuWrapper, appendTo) : menuWrapper);
|
|
722
722
|
};
|
|
@@ -741,7 +741,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
741
741
|
innerProps = props.innerProps,
|
|
742
742
|
isDisabled = props.isDisabled,
|
|
743
743
|
isRtl = props.isRtl;
|
|
744
|
-
return
|
|
744
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'container', {
|
|
745
745
|
'--is-disabled': isDisabled,
|
|
746
746
|
'--is-rtl': isRtl
|
|
747
747
|
}), innerProps), children);
|
|
@@ -773,7 +773,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
773
773
|
innerProps = props.innerProps,
|
|
774
774
|
isMulti = props.isMulti,
|
|
775
775
|
hasValue = props.hasValue;
|
|
776
|
-
return
|
|
776
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'valueContainer', {
|
|
777
777
|
'value-container': true,
|
|
778
778
|
'value-container--is-multi': isMulti,
|
|
779
779
|
'value-container--has-value': hasValue
|
|
@@ -795,7 +795,7 @@ var indicatorsContainerCSS = function indicatorsContainerCSS() {
|
|
|
795
795
|
var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
796
796
|
var children = props.children,
|
|
797
797
|
innerProps = props.innerProps;
|
|
798
|
-
return
|
|
798
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'indicatorsContainer', {
|
|
799
799
|
indicators: true
|
|
800
800
|
}), innerProps), children);
|
|
801
801
|
};
|
|
@@ -820,7 +820,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
820
820
|
var Svg = function Svg(_ref) {
|
|
821
821
|
var size = _ref.size,
|
|
822
822
|
props = objectWithoutProperties["default"](_ref, _excluded$2);
|
|
823
|
-
return
|
|
823
|
+
return emotionReact_esm.createElement("svg", _extends["default"]({
|
|
824
824
|
height: size,
|
|
825
825
|
width: size,
|
|
826
826
|
viewBox: "0 0 20 20",
|
|
@@ -830,16 +830,16 @@ var Svg = function Svg(_ref) {
|
|
|
830
830
|
}, props));
|
|
831
831
|
};
|
|
832
832
|
var CrossIcon = function CrossIcon(props) {
|
|
833
|
-
return
|
|
833
|
+
return emotionReact_esm.createElement(Svg, _extends["default"]({
|
|
834
834
|
size: 20
|
|
835
|
-
}, props),
|
|
835
|
+
}, props), emotionReact_esm.createElement("path", {
|
|
836
836
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
837
837
|
}));
|
|
838
838
|
};
|
|
839
839
|
var DownChevron = function DownChevron(props) {
|
|
840
|
-
return
|
|
840
|
+
return emotionReact_esm.createElement(Svg, _extends["default"]({
|
|
841
841
|
size: 20
|
|
842
|
-
}, props),
|
|
842
|
+
}, props), emotionReact_esm.createElement("path", {
|
|
843
843
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
844
844
|
}));
|
|
845
845
|
};
|
|
@@ -869,19 +869,19 @@ var dropdownIndicatorCSS = baseCSS;
|
|
|
869
869
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
870
870
|
var children = props.children,
|
|
871
871
|
innerProps = props.innerProps;
|
|
872
|
-
return
|
|
872
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'dropdownIndicator', {
|
|
873
873
|
indicator: true,
|
|
874
874
|
'dropdown-indicator': true
|
|
875
|
-
}), innerProps), children ||
|
|
875
|
+
}), innerProps), children || emotionReact_esm.createElement(DownChevron, null));
|
|
876
876
|
};
|
|
877
877
|
var clearIndicatorCSS = baseCSS;
|
|
878
878
|
var ClearIndicator = function ClearIndicator(props) {
|
|
879
879
|
var children = props.children,
|
|
880
880
|
innerProps = props.innerProps;
|
|
881
|
-
return
|
|
881
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'clearIndicator', {
|
|
882
882
|
indicator: true,
|
|
883
883
|
'clear-indicator': true
|
|
884
|
-
}), innerProps), children ||
|
|
884
|
+
}), innerProps), children || emotionReact_esm.createElement(CrossIcon, null));
|
|
885
885
|
};
|
|
886
886
|
|
|
887
887
|
// ==============================
|
|
@@ -905,7 +905,7 @@ var indicatorSeparatorCSS = function indicatorSeparatorCSS(_ref4, unstyled) {
|
|
|
905
905
|
};
|
|
906
906
|
var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
907
907
|
var innerProps = props.innerProps;
|
|
908
|
-
return
|
|
908
|
+
return emotionReact_esm.createElement("span", _extends["default"]({}, innerProps, getStyleProps(props, 'indicatorSeparator', {
|
|
909
909
|
'indicator-separator': true
|
|
910
910
|
})));
|
|
911
911
|
};
|
|
@@ -914,7 +914,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
914
914
|
// Loading
|
|
915
915
|
// ==============================
|
|
916
916
|
|
|
917
|
-
var loadingDotAnimations =
|
|
917
|
+
var loadingDotAnimations = emotionReact_esm.keyframes(_templateObject || (_templateObject = taggedTemplateLiteral["default"](["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"])));
|
|
918
918
|
var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5, unstyled) {
|
|
919
919
|
var isFocused = _ref5.isFocused,
|
|
920
920
|
size = _ref5.size,
|
|
@@ -939,8 +939,8 @@ var loadingIndicatorCSS = function loadingIndicatorCSS(_ref5, unstyled) {
|
|
|
939
939
|
var LoadingDot = function LoadingDot(_ref6) {
|
|
940
940
|
var delay = _ref6.delay,
|
|
941
941
|
offset = _ref6.offset;
|
|
942
|
-
return
|
|
943
|
-
css: /*#__PURE__*/
|
|
942
|
+
return emotionReact_esm.createElement("span", {
|
|
943
|
+
css: /*#__PURE__*/emotionReact_esm.css({
|
|
944
944
|
animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
|
|
945
945
|
backgroundColor: 'currentColor',
|
|
946
946
|
borderRadius: '1em',
|
|
@@ -958,20 +958,20 @@ var LoadingIndicator = function LoadingIndicator(_ref7) {
|
|
|
958
958
|
_ref7$size = _ref7.size,
|
|
959
959
|
size = _ref7$size === void 0 ? 4 : _ref7$size,
|
|
960
960
|
restProps = objectWithoutProperties["default"](_ref7, _excluded2);
|
|
961
|
-
return
|
|
961
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(objectSpread2["default"](objectSpread2["default"]({}, restProps), {}, {
|
|
962
962
|
innerProps: innerProps,
|
|
963
963
|
isRtl: isRtl,
|
|
964
964
|
size: size
|
|
965
965
|
}), 'loadingIndicator', {
|
|
966
966
|
indicator: true,
|
|
967
967
|
'loading-indicator': true
|
|
968
|
-
}), innerProps),
|
|
968
|
+
}), innerProps), emotionReact_esm.createElement(LoadingDot, {
|
|
969
969
|
delay: 0,
|
|
970
970
|
offset: isRtl
|
|
971
|
-
}),
|
|
971
|
+
}), emotionReact_esm.createElement(LoadingDot, {
|
|
972
972
|
delay: 160,
|
|
973
973
|
offset: true
|
|
974
|
-
}),
|
|
974
|
+
}), emotionReact_esm.createElement(LoadingDot, {
|
|
975
975
|
delay: 320,
|
|
976
976
|
offset: !isRtl
|
|
977
977
|
}));
|
|
@@ -1014,7 +1014,7 @@ var Control = function Control(props) {
|
|
|
1014
1014
|
innerRef = props.innerRef,
|
|
1015
1015
|
innerProps = props.innerProps,
|
|
1016
1016
|
menuIsOpen = props.menuIsOpen;
|
|
1017
|
-
return
|
|
1017
|
+
return emotionReact_esm.createElement("div", _extends["default"]({
|
|
1018
1018
|
ref: innerRef
|
|
1019
1019
|
}, getStyleProps(props, 'control', {
|
|
1020
1020
|
control: true,
|
|
@@ -1046,15 +1046,15 @@ var Group = function Group(props) {
|
|
|
1046
1046
|
label = props.label,
|
|
1047
1047
|
theme = props.theme,
|
|
1048
1048
|
selectProps = props.selectProps;
|
|
1049
|
-
return
|
|
1049
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'group', {
|
|
1050
1050
|
group: true
|
|
1051
|
-
}), innerProps),
|
|
1051
|
+
}), innerProps), emotionReact_esm.createElement(Heading, _extends["default"]({}, headingProps, {
|
|
1052
1052
|
selectProps: selectProps,
|
|
1053
1053
|
theme: theme,
|
|
1054
1054
|
getStyles: getStyles,
|
|
1055
1055
|
getClassNames: getClassNames,
|
|
1056
1056
|
cx: cx
|
|
1057
|
-
}), label),
|
|
1057
|
+
}), label), emotionReact_esm.createElement("div", null, children));
|
|
1058
1058
|
};
|
|
1059
1059
|
var groupHeadingCSS = function groupHeadingCSS(_ref2, unstyled) {
|
|
1060
1060
|
var _ref2$theme = _ref2.theme,
|
|
@@ -1078,7 +1078,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
1078
1078
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
1079
1079
|
_cleanCommonProps.data;
|
|
1080
1080
|
var innerProps = objectWithoutProperties["default"](_cleanCommonProps, _excluded$1);
|
|
1081
|
-
return
|
|
1081
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'groupHeading', {
|
|
1082
1082
|
'group-heading': true
|
|
1083
1083
|
}), innerProps));
|
|
1084
1084
|
};
|
|
@@ -1141,11 +1141,11 @@ var Input = function Input(props) {
|
|
|
1141
1141
|
isHidden = _cleanCommonProps.isHidden,
|
|
1142
1142
|
inputClassName = _cleanCommonProps.inputClassName,
|
|
1143
1143
|
innerProps = objectWithoutProperties["default"](_cleanCommonProps, _excluded);
|
|
1144
|
-
return
|
|
1144
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'input', {
|
|
1145
1145
|
'input-container': true
|
|
1146
1146
|
}), {
|
|
1147
1147
|
"data-value": value || ''
|
|
1148
|
-
}),
|
|
1148
|
+
}), emotionReact_esm.createElement("input", _extends["default"]({
|
|
1149
1149
|
className: cx({
|
|
1150
1150
|
input: true
|
|
1151
1151
|
}, inputClassName),
|
|
@@ -1211,16 +1211,16 @@ var multiValueRemoveCSS = function multiValueRemoveCSS(_ref3, unstyled) {
|
|
|
1211
1211
|
var MultiValueGeneric = function MultiValueGeneric(_ref4) {
|
|
1212
1212
|
var children = _ref4.children,
|
|
1213
1213
|
innerProps = _ref4.innerProps;
|
|
1214
|
-
return
|
|
1214
|
+
return emotionReact_esm.createElement("div", innerProps, children);
|
|
1215
1215
|
};
|
|
1216
1216
|
var MultiValueContainer = MultiValueGeneric;
|
|
1217
1217
|
var MultiValueLabel = MultiValueGeneric;
|
|
1218
1218
|
function MultiValueRemove(_ref5) {
|
|
1219
1219
|
var children = _ref5.children,
|
|
1220
1220
|
innerProps = _ref5.innerProps;
|
|
1221
|
-
return
|
|
1221
|
+
return emotionReact_esm.createElement("div", _extends["default"]({
|
|
1222
1222
|
role: "button"
|
|
1223
|
-
}, innerProps), children ||
|
|
1223
|
+
}, innerProps), children || emotionReact_esm.createElement(CrossIcon, {
|
|
1224
1224
|
size: 14
|
|
1225
1225
|
}));
|
|
1226
1226
|
}
|
|
@@ -1235,20 +1235,20 @@ var MultiValue = function MultiValue(props) {
|
|
|
1235
1235
|
var Container = components.Container,
|
|
1236
1236
|
Label = components.Label,
|
|
1237
1237
|
Remove = components.Remove;
|
|
1238
|
-
return
|
|
1238
|
+
return emotionReact_esm.createElement(Container, {
|
|
1239
1239
|
data: data,
|
|
1240
1240
|
innerProps: objectSpread2["default"](objectSpread2["default"]({}, getStyleProps(props, 'multiValue', {
|
|
1241
1241
|
'multi-value': true,
|
|
1242
1242
|
'multi-value--is-disabled': isDisabled
|
|
1243
1243
|
})), innerProps),
|
|
1244
1244
|
selectProps: selectProps
|
|
1245
|
-
},
|
|
1245
|
+
}, emotionReact_esm.createElement(Label, {
|
|
1246
1246
|
data: data,
|
|
1247
1247
|
innerProps: objectSpread2["default"]({}, getStyleProps(props, 'multiValueLabel', {
|
|
1248
1248
|
'multi-value__label': true
|
|
1249
1249
|
})),
|
|
1250
1250
|
selectProps: selectProps
|
|
1251
|
-
}, children),
|
|
1251
|
+
}, children), emotionReact_esm.createElement(Remove, {
|
|
1252
1252
|
data: data,
|
|
1253
1253
|
innerProps: objectSpread2["default"](objectSpread2["default"]({}, getStyleProps(props, 'multiValueRemove', {
|
|
1254
1254
|
'multi-value__remove': true
|
|
@@ -1292,7 +1292,7 @@ var Option = function Option(props) {
|
|
|
1292
1292
|
isSelected = props.isSelected,
|
|
1293
1293
|
innerRef = props.innerRef,
|
|
1294
1294
|
innerProps = props.innerProps;
|
|
1295
|
-
return
|
|
1295
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'option', {
|
|
1296
1296
|
option: true,
|
|
1297
1297
|
'option--is-disabled': isDisabled,
|
|
1298
1298
|
'option--is-focused': isFocused,
|
|
@@ -1320,7 +1320,7 @@ var placeholderCSS = function placeholderCSS(_ref, unstyled) {
|
|
|
1320
1320
|
var Placeholder = function Placeholder(props) {
|
|
1321
1321
|
var children = props.children,
|
|
1322
1322
|
innerProps = props.innerProps;
|
|
1323
|
-
return
|
|
1323
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'placeholder', {
|
|
1324
1324
|
placeholder: true
|
|
1325
1325
|
}), innerProps), children);
|
|
1326
1326
|
};
|
|
@@ -1348,7 +1348,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
1348
1348
|
var children = props.children,
|
|
1349
1349
|
isDisabled = props.isDisabled,
|
|
1350
1350
|
innerProps = props.innerProps;
|
|
1351
|
-
return
|
|
1351
|
+
return emotionReact_esm.createElement("div", _extends["default"]({}, getStyleProps(props, 'singleValue', {
|
|
1352
1352
|
'single-value': true,
|
|
1353
1353
|
'single-value--is-disabled': isDisabled
|
|
1354
1354
|
}), innerProps), children);
|