@bolttech/molecules-dropdown 0.3.0 → 0.3.1
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/index.cjs +29 -24
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -99,7 +99,7 @@ var check = function (it) {
|
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
102
|
-
var global$
|
|
102
|
+
var global$f =
|
|
103
103
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
104
104
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
105
105
|
check(typeof window == 'object' && window) ||
|
|
@@ -107,28 +107,28 @@ var global$e =
|
|
|
107
107
|
check(typeof self == 'object' && self) ||
|
|
108
108
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
109
109
|
// eslint-disable-next-line no-new-func -- fallback
|
|
110
|
-
(function () { return this; })() || Function('return this')();
|
|
110
|
+
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
|
111
111
|
|
|
112
112
|
var shared$4 = {exports: {}};
|
|
113
113
|
|
|
114
|
-
var global$
|
|
114
|
+
var global$e = global$f;
|
|
115
115
|
|
|
116
116
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
117
117
|
var defineProperty$5 = Object.defineProperty;
|
|
118
118
|
|
|
119
119
|
var defineGlobalProperty$3 = function (key, value) {
|
|
120
120
|
try {
|
|
121
|
-
defineProperty$5(global$
|
|
121
|
+
defineProperty$5(global$e, key, { value: value, configurable: true, writable: true });
|
|
122
122
|
} catch (error) {
|
|
123
|
-
global$
|
|
123
|
+
global$e[key] = value;
|
|
124
124
|
} return value;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
-
var global$
|
|
127
|
+
var global$d = global$f;
|
|
128
128
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
129
129
|
|
|
130
130
|
var SHARED = '__core-js_shared__';
|
|
131
|
-
var store$3 = global$
|
|
131
|
+
var store$3 = global$d[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
132
132
|
|
|
133
133
|
var sharedStore = store$3;
|
|
134
134
|
|
|
@@ -137,10 +137,10 @@ var store$2 = sharedStore;
|
|
|
137
137
|
(shared$4.exports = function (key, value) {
|
|
138
138
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
139
139
|
})('versions', []).push({
|
|
140
|
-
version: '3.
|
|
140
|
+
version: '3.30.2',
|
|
141
141
|
mode: 'global',
|
|
142
142
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
143
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
143
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
|
144
144
|
source: 'https://github.com/zloirock/core-js'
|
|
145
145
|
});
|
|
146
146
|
|
|
@@ -178,11 +178,11 @@ var uid$2 = function (key) {
|
|
|
178
178
|
|
|
179
179
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
180
180
|
|
|
181
|
-
var global$
|
|
181
|
+
var global$c = global$f;
|
|
182
182
|
var userAgent = engineUserAgent;
|
|
183
183
|
|
|
184
|
-
var process = global$
|
|
185
|
-
var Deno = global$
|
|
184
|
+
var process = global$c.process;
|
|
185
|
+
var Deno = global$c.Deno;
|
|
186
186
|
var versions = process && process.versions || Deno && Deno.version;
|
|
187
187
|
var v8 = versions && versions.v8;
|
|
188
188
|
var match, version;
|
|
@@ -210,13 +210,18 @@ var engineV8Version = version;
|
|
|
210
210
|
|
|
211
211
|
var V8_VERSION = engineV8Version;
|
|
212
212
|
var fails$e = fails$h;
|
|
213
|
+
var global$b = global$f;
|
|
214
|
+
|
|
215
|
+
var $String$5 = global$b.String;
|
|
213
216
|
|
|
214
217
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
215
218
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
|
|
216
219
|
var symbol = Symbol();
|
|
217
220
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
218
221
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
219
|
-
|
|
222
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
223
|
+
// of course, fail.
|
|
224
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
220
225
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
221
226
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
222
227
|
});
|
|
@@ -229,7 +234,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
229
234
|
&& !Symbol.sham
|
|
230
235
|
&& typeof Symbol.iterator == 'symbol';
|
|
231
236
|
|
|
232
|
-
var global$a = global$
|
|
237
|
+
var global$a = global$f;
|
|
233
238
|
var shared$3 = shared$4.exports;
|
|
234
239
|
var hasOwn$8 = hasOwnProperty_1;
|
|
235
240
|
var uid$1 = uid$2;
|
|
@@ -318,7 +323,7 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$c(function () {
|
|
|
318
323
|
|
|
319
324
|
var objectDefineProperty = {};
|
|
320
325
|
|
|
321
|
-
var global$9 = global$
|
|
326
|
+
var global$9 = global$f;
|
|
322
327
|
var isObject$4 = isObject$6;
|
|
323
328
|
|
|
324
329
|
var document$1 = global$9.document;
|
|
@@ -349,7 +354,7 @@ var functionCall = NATIVE_BIND$1 ? call$a.bind(call$a) : function () {
|
|
|
349
354
|
return call$a.apply(call$a, arguments);
|
|
350
355
|
};
|
|
351
356
|
|
|
352
|
-
var global$8 = global$
|
|
357
|
+
var global$8 = global$f;
|
|
353
358
|
var isCallable$f = isCallable$h;
|
|
354
359
|
|
|
355
360
|
var aFunction = function (argument) {
|
|
@@ -776,7 +781,7 @@ var addToUnscopables$1 = function (key) {
|
|
|
776
781
|
|
|
777
782
|
var iterators = {};
|
|
778
783
|
|
|
779
|
-
var global$7 = global$
|
|
784
|
+
var global$7 = global$f;
|
|
780
785
|
var isCallable$b = isCallable$h;
|
|
781
786
|
|
|
782
787
|
var WeakMap$1 = global$7.WeakMap;
|
|
@@ -804,7 +809,7 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
804
809
|
};
|
|
805
810
|
|
|
806
811
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
807
|
-
var global$6 = global$
|
|
812
|
+
var global$6 = global$f;
|
|
808
813
|
var isObject$1 = isObject$6;
|
|
809
814
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
810
815
|
var hasOwn$6 = hasOwnProperty_1;
|
|
@@ -1107,7 +1112,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1107
1112
|
|
|
1108
1113
|
var isForced_1 = isForced$1;
|
|
1109
1114
|
|
|
1110
|
-
var global$5 = global$
|
|
1115
|
+
var global$5 = global$f;
|
|
1111
1116
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1112
1117
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
1113
1118
|
var defineBuiltIn$3 = defineBuiltIn$4;
|
|
@@ -1524,7 +1529,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1524
1529
|
|
|
1525
1530
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1526
1531
|
|
|
1527
|
-
var global$4 = global$
|
|
1532
|
+
var global$4 = global$f;
|
|
1528
1533
|
var DOMIterables = domIterables;
|
|
1529
1534
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1530
1535
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -1722,7 +1727,7 @@ var regexpFlags$1 = function () {
|
|
|
1722
1727
|
};
|
|
1723
1728
|
|
|
1724
1729
|
var fails$5 = fails$h;
|
|
1725
|
-
var global$3 = global$
|
|
1730
|
+
var global$3 = global$f;
|
|
1726
1731
|
|
|
1727
1732
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1728
1733
|
var $RegExp$2 = global$3.RegExp;
|
|
@@ -1753,7 +1758,7 @@ var regexpStickyHelpers = {
|
|
|
1753
1758
|
};
|
|
1754
1759
|
|
|
1755
1760
|
var fails$4 = fails$h;
|
|
1756
|
-
var global$2 = global$
|
|
1761
|
+
var global$2 = global$f;
|
|
1757
1762
|
|
|
1758
1763
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1759
1764
|
var $RegExp$1 = global$2.RegExp;
|
|
@@ -1764,7 +1769,7 @@ var regexpUnsupportedDotAll = fails$4(function () {
|
|
|
1764
1769
|
});
|
|
1765
1770
|
|
|
1766
1771
|
var fails$3 = fails$h;
|
|
1767
|
-
var global$1 = global$
|
|
1772
|
+
var global$1 = global$f;
|
|
1768
1773
|
|
|
1769
1774
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1770
1775
|
var $RegExp = global$1.RegExp;
|
|
@@ -2432,7 +2437,7 @@ const ReusableDropdownComponent = ({
|
|
|
2432
2437
|
placeholder
|
|
2433
2438
|
}) => {
|
|
2434
2439
|
// we have to type cast because of jest. when testing it sets the type of useTheme to DefaultTheme
|
|
2435
|
-
const theme = styled.useTheme();
|
|
2440
|
+
const theme = /*#__PURE__*/styled.useTheme();
|
|
2436
2441
|
const sizeIcon = Number(theme.components.dropdown.icon.size.replace(/[^\d.-]+/g, ''));
|
|
2437
2442
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
2438
2443
|
children: [jsxRuntime.jsxs(ContainerDropdown, Object.assign({
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/molecules-dropdown",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@bolttech/atoms-icon": "0.1.8",
|
|
6
6
|
"@bolttech/atoms-input": "0.0.1",
|
|
7
|
-
"@bolttech/atoms-select": "0.
|
|
8
|
-
"@edirect/frontend-foundations": "0.0.
|
|
7
|
+
"@bolttech/atoms-select": "0.4.0",
|
|
8
|
+
"@edirect/frontend-foundations": "0.0.51",
|
|
9
9
|
"jest-styled-components": "7.1.1",
|
|
10
10
|
"react": "18.2.0",
|
|
11
11
|
"styled-components": "5.3.6"
|