@spothero/ui 14.2.0 → 14.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/CHANGELOG.md +10 -0
- package/CHANGELOG.tmp +3 -3
- package/backlog/Alert/Alert.js +4 -1
- package/backlog/AutoSuggestInput/AutoSuggestInput.js +17 -10
- package/backlog/AutoSuggestInput/AutoSuggestItem.js +10 -7
- package/backlog/AutoSuggestInput/AutoSuggestList.js +12 -9
- package/backlog/Badge/Badge.js +4 -1
- package/backlog/Chart/Chart.js +17 -10
- package/backlog/Checkbox/Checkbox.js +10 -7
- package/backlog/DateTime/DatePicker.js +10 -7
- package/backlog/DateTime/DatePickerCalendar.js +10 -7
- package/backlog/DateTime/DatePickerCalendarNavigation.js +10 -7
- package/backlog/DateTime/DatePickerCalendarWithRange.js +17 -10
- package/backlog/DateTime/DateTimePicker.js +10 -7
- package/backlog/DateTime/DateTimeRangePicker.js +20 -11
- package/backlog/DateTime/TimePicker.js +10 -7
- package/backlog/DateTime/date-time-assertions.js +4 -1
- package/backlog/DateTime/index.js +15 -7
- package/backlog/ErrorBoundary/ErrorBoundary.js +10 -7
- package/backlog/Flyout/Flyout.js +21 -11
- package/backlog/Form/Form.js +13 -8
- package/backlog/Form/FormElementError.js +4 -1
- package/backlog/Form/FormGroup.js +4 -1
- package/backlog/Form/FormGroupError.js +4 -1
- package/backlog/Form/index.js +11 -5
- package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +17 -10
- package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +4 -1
- package/backlog/GooglePlacesSearchInput/index.js +7 -3
- package/backlog/HorizontalRule/HorizontalRule.js +4 -1
- package/backlog/Label/Label.js +4 -1
- package/backlog/Modal/Modal.js +22 -12
- package/backlog/Modal/ModalContent.js +10 -7
- package/backlog/Modal/ModalFooter.js +10 -7
- package/backlog/Modal/index.js +9 -4
- package/backlog/Notification/Notification.js +10 -7
- package/backlog/Notification/NotificationContainer.js +10 -7
- package/backlog/Notification/NotificationPropTypes.js +4 -1
- package/backlog/Notification/index.js +7 -3
- package/backlog/PasswordControl/PasswordControl.js +13 -8
- package/backlog/Portal/Portal.js +10 -7
- package/backlog/PulseLoader/PulseLoader.js +4 -1
- package/backlog/Radio/Radio.js +10 -7
- package/backlog/Radio/RadioGroup.js +12 -9
- package/backlog/Radio/index.js +7 -3
- package/backlog/RenderInBody/RenderInBody.js +10 -7
- package/backlog/Select/Select.js +15 -10
- package/backlog/Select/SelectItemPropTypes.js +4 -1
- package/backlog/Select/index.js +7 -3
- package/backlog/SelectControlled/SelectControlled.js +15 -10
- package/backlog/SelectControlled/index.js +5 -2
- package/backlog/Sprite/Sprite.js +4 -1
- package/backlog/Tabs/Tab.js +10 -7
- package/backlog/Tabs/TabContent.js +9 -6
- package/backlog/Tabs/TabNavigation.js +13 -8
- package/backlog/Tabs/TabPanel.js +4 -1
- package/backlog/Tabs/Tabs.js +10 -7
- package/backlog/Tabs/index.js +13 -6
- package/backlog/TextArea/TextArea.js +10 -7
- package/backlog/TextInput/TextInput.js +12 -9
- package/backlog/TextInput/TextInputPropTypes.js +4 -1
- package/backlog/TextInput/index.js +7 -3
- package/backlog/Tooltip/Tooltip.js +16 -9
- package/backlog/index.js +111 -55
- package/backlog/v1/components/Button/Button.js +4 -1
- package/backlog/v1/components/Button/button-props.js +4 -1
- package/backlog/v1/components/Image/Image.js +12 -9
- package/backlog/v1/components/Loader/Loader.js +4 -1
- package/backlog/v1/components/Panel/Panel.js +10 -7
- package/backlog/v1/components/Table/Table.js +14 -9
- package/backlog/v1/components/Table/TableCell.js +4 -1
- package/backlog/v1/components/Table/TableCellPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableControls.js +4 -1
- package/backlog/v1/components/Table/TableFooter.js +4 -1
- package/backlog/v1/components/Table/TableHeading.js +10 -7
- package/backlog/v1/components/Table/TableHeadingPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableSortSelector.js +10 -7
- package/backlog/v1/components/Table/TableSortType.js +4 -1
- package/backlog/v1/components/Table/index.js +13 -6
- package/backlog/v1/components/TextButton/TextButton.js +14 -7
- package/backlog/v1/components/index.js +15 -7
- package/backlog/v1/utils/deprecate.js +8 -3
- package/package.json +4 -4
- package/v1/index-bundled-cjs/index.js +1 -1
- package/v1/index-bundled-cjs/index.js.map +1 -1
- package/v1/index-bundled-esm/index.js +1 -1
- package/v1/index-bundled-esm/index.js.map +1 -1
- package/v1/index-unbundled-cjs/index.js +1021 -502
- package/v1/index-unbundled-cjs/index.js.map +1 -1
- package/v1/index-unbundled-esm/index.js +1018 -499
- package/v1/index-unbundled-esm/index.js.map +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-217e7062.js +2 -0
- package/v2/index-bundled-cjs/ImageCarousel-217e7062.js.map +1 -0
- package/v2/index-bundled-cjs/index-b41e1da9.js +25 -0
- package/v2/index-bundled-cjs/index-b41e1da9.js.map +1 -0
- package/v2/index-bundled-cjs/index.js +1 -1
- package/v2/index-bundled-esm/ImageCarousel-4127414d.js +2 -0
- package/v2/index-bundled-esm/ImageCarousel-4127414d.js.map +1 -0
- package/v2/index-bundled-esm/index-22452751.js +24 -0
- package/v2/index-bundled-esm/index-22452751.js.map +1 -0
- package/v2/index-bundled-esm/index.js +1 -1
- package/v2/index-unbundled-cjs/{ImageCarousel-177bd013.js → ImageCarousel-0575526b.js} +72 -368
- package/v2/index-unbundled-cjs/ImageCarousel-0575526b.js.map +1 -0
- package/v2/index-unbundled-cjs/{index-b74c975b.js → index-c8c6025d.js} +2290 -595
- package/v2/index-unbundled-cjs/index-c8c6025d.js.map +1 -0
- package/v2/index-unbundled-cjs/index.js +15 -15
- package/v2/index-unbundled-esm/{ImageCarousel-7afef93f.js → ImageCarousel-c8a3e563.js} +71 -367
- package/v2/index-unbundled-esm/ImageCarousel-c8a3e563.js.map +1 -0
- package/v2/index-unbundled-esm/{index-7468c651.js → index-403d8033.js} +2273 -576
- package/v2/index-unbundled-esm/index-403d8033.js.map +1 -0
- package/v2/index-unbundled-esm/index.js +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-0955843b.js +0 -2
- package/v2/index-bundled-cjs/ImageCarousel-0955843b.js.map +0 -1
- package/v2/index-bundled-cjs/index-0471eeac.js +0 -25
- package/v2/index-bundled-cjs/index-0471eeac.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-fd93978a.js +0 -2
- package/v2/index-bundled-esm/ImageCarousel-fd93978a.js.map +0 -1
- package/v2/index-bundled-esm/index-23126b40.js +0 -24
- package/v2/index-bundled-esm/index-23126b40.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-177bd013.js.map +0 -1
- package/v2/index-unbundled-cjs/index-b74c975b.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-7afef93f.js.map +0 -1
- package/v2/index-unbundled-esm/index-7468c651.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export, i as isArray$5, p as path, d as defineWellKnownSymbol, s as setToStringTag, g as global_1,
|
|
1
|
+
import { _ as _export, i as isArray$5, p as path, d as defineWellKnownSymbol, s as setToStringTag, g as global_1, f as functionUncurryThis, t as toString_1, r as requireObjectCoercible, a as toIntegerOrInfinity, b as internalState, c as defineIterator, w as wellKnownSymbol, e as getMethod, h as iterators, j as classof, k as arrayMethodHasSpeciesSupport, l as toIndexedObject, m as lengthOfArrayLike, n as isConstructor, o as isObject, q as arraySlice, u as createProperty, v as toAbsoluteIndex, x as entryVirtual, y as objectIsPrototypeOf, z as anObject, A as functionCall, B as aCallable, C as tryToString, D as toObject, E as functionBindContext, F as wellKnownSymbolWrapped, G as redefine, H as descriptors, I as isCallable, J as fails, K as internalMetadata, L as createNonEnumerableProperty, M as objectDefineProperty, N as arrayIteration, O as hasOwnProperty_1, P as nativeWeakMap, Q as objectIsExtensible, R as createCommonjsModule, S as defineProperty$1, T as _extends$1, U as getOwnPropertyDescriptor, V as unwrapExports, W as _objectWithoutProperties, X as Box, Y as map$1, Z as concat, $ as _default$1 } from './index-403d8033.js';
|
|
2
2
|
import React, { useState, useRef, useMemo, useEffect, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import 'lodash/merge';
|
|
@@ -81,305 +81,12 @@ defineWellKnownSymbol('unscopables');
|
|
|
81
81
|
// https://tc39.es/ecma262/#sec-json-@@tostringtag
|
|
82
82
|
setToStringTag(global_1.JSON, 'JSON', true);
|
|
83
83
|
|
|
84
|
-
var symbol$
|
|
85
|
-
|
|
86
|
-
var iterators = {};
|
|
87
|
-
|
|
88
|
-
var FunctionPrototype = Function.prototype;
|
|
89
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
90
|
-
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
91
|
-
|
|
92
|
-
var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
|
93
|
-
// additional protection from minified / mangled / dropped function names
|
|
94
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
95
|
-
var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
96
|
-
|
|
97
|
-
var functionName = {
|
|
98
|
-
EXISTS: EXISTS,
|
|
99
|
-
PROPER: PROPER,
|
|
100
|
-
CONFIGURABLE: CONFIGURABLE
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
var correctPrototypeGetter = !fails(function () {
|
|
104
|
-
function F() { /* empty */ }
|
|
105
|
-
F.prototype.constructor = null;
|
|
106
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
107
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
111
|
-
var Object$1 = global_1.Object;
|
|
112
|
-
var ObjectPrototype = Object$1.prototype;
|
|
113
|
-
|
|
114
|
-
// `Object.getPrototypeOf` method
|
|
115
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
116
|
-
var objectGetPrototypeOf = correctPrototypeGetter ? Object$1.getPrototypeOf : function (O) {
|
|
117
|
-
var object = toObject(O);
|
|
118
|
-
if (hasOwnProperty_1(object, IE_PROTO)) return object[IE_PROTO];
|
|
119
|
-
var constructor = object.constructor;
|
|
120
|
-
if (isCallable(constructor) && object instanceof constructor) {
|
|
121
|
-
return constructor.prototype;
|
|
122
|
-
} return object instanceof Object$1 ? ObjectPrototype : null;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
var ITERATOR$4 = wellKnownSymbol('iterator');
|
|
126
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
127
|
-
|
|
128
|
-
// `%IteratorPrototype%` object
|
|
129
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
130
|
-
var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
131
|
-
|
|
132
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
133
|
-
if ([].keys) {
|
|
134
|
-
arrayIterator = [].keys();
|
|
135
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
136
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
137
|
-
else {
|
|
138
|
-
PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
|
|
139
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$1 == undefined || fails(function () {
|
|
144
|
-
var test = {};
|
|
145
|
-
// FF44- legacy iterators case
|
|
146
|
-
return IteratorPrototype$1[ITERATOR$4].call(test) !== test;
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$1 = {};
|
|
150
|
-
else IteratorPrototype$1 = objectCreate(IteratorPrototype$1);
|
|
151
|
-
|
|
152
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
153
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
154
|
-
if (!isCallable(IteratorPrototype$1[ITERATOR$4])) {
|
|
155
|
-
redefine(IteratorPrototype$1, ITERATOR$4, function () {
|
|
156
|
-
return this;
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
var iteratorsCore = {
|
|
161
|
-
IteratorPrototype: IteratorPrototype$1,
|
|
162
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
var returnThis$1 = function () { return this; };
|
|
172
|
-
|
|
173
|
-
var createIteratorConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
174
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
175
|
-
IteratorConstructor.prototype = objectCreate(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
176
|
-
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
177
|
-
iterators[TO_STRING_TAG] = returnThis$1;
|
|
178
|
-
return IteratorConstructor;
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
var String$1 = global_1.String;
|
|
182
|
-
var TypeError$4 = global_1.TypeError;
|
|
183
|
-
|
|
184
|
-
var aPossiblePrototype = function (argument) {
|
|
185
|
-
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
186
|
-
throw TypeError$4("Can't set " + String$1(argument) + ' as a prototype');
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
/* eslint-disable no-proto -- safe */
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
// `Object.setPrototypeOf` method
|
|
195
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
196
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
197
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
198
|
-
Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
199
|
-
var CORRECT_SETTER = false;
|
|
200
|
-
var test = {};
|
|
201
|
-
var setter;
|
|
202
|
-
try {
|
|
203
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
204
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
205
|
-
setter(test, []);
|
|
206
|
-
CORRECT_SETTER = test instanceof Array;
|
|
207
|
-
} catch (error) { /* empty */ }
|
|
208
|
-
return function setPrototypeOf(O, proto) {
|
|
209
|
-
anObject(O);
|
|
210
|
-
aPossiblePrototype(proto);
|
|
211
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
212
|
-
else O.__proto__ = proto;
|
|
213
|
-
return O;
|
|
214
|
-
};
|
|
215
|
-
}() : undefined);
|
|
216
|
-
|
|
217
|
-
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
218
|
-
var BUGGY_SAFARI_ITERATORS = iteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
219
|
-
var ITERATOR$3 = wellKnownSymbol('iterator');
|
|
220
|
-
var KEYS = 'keys';
|
|
221
|
-
var VALUES = 'values';
|
|
222
|
-
var ENTRIES = 'entries';
|
|
223
|
-
|
|
224
|
-
var returnThis = function () { return this; };
|
|
225
|
-
|
|
226
|
-
var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
227
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
228
|
-
|
|
229
|
-
var getIterationMethod = function (KIND) {
|
|
230
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
231
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
232
|
-
switch (KIND) {
|
|
233
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
234
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
235
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
236
|
-
} return function () { return new IteratorConstructor(this); };
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
240
|
-
var INCORRECT_VALUES_NAME = false;
|
|
241
|
-
var IterablePrototype = Iterable.prototype;
|
|
242
|
-
var nativeIterator = IterablePrototype[ITERATOR$3]
|
|
243
|
-
|| IterablePrototype['@@iterator']
|
|
244
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
245
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
246
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
247
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
248
|
-
|
|
249
|
-
// fix native
|
|
250
|
-
if (anyNativeIterator) {
|
|
251
|
-
CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
252
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
253
|
-
// Set @@toStringTag to native iterators
|
|
254
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
255
|
-
iterators[TO_STRING_TAG] = returnThis;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
260
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
261
|
-
{
|
|
262
|
-
INCORRECT_VALUES_NAME = true;
|
|
263
|
-
defaultIterator = function values() { return functionCall(nativeIterator, this); };
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
// export additional methods
|
|
268
|
-
if (DEFAULT) {
|
|
269
|
-
methods = {
|
|
270
|
-
values: getIterationMethod(VALUES),
|
|
271
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
272
|
-
entries: getIterationMethod(ENTRIES)
|
|
273
|
-
};
|
|
274
|
-
if (FORCED) for (KEY in methods) {
|
|
275
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
276
|
-
redefine(IterablePrototype, KEY, methods[KEY]);
|
|
277
|
-
}
|
|
278
|
-
} else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
// define iterator
|
|
282
|
-
if ((FORCED) && IterablePrototype[ITERATOR$3] !== defaultIterator) {
|
|
283
|
-
redefine(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
|
|
284
|
-
}
|
|
285
|
-
iterators[NAME] = defaultIterator;
|
|
286
|
-
|
|
287
|
-
return methods;
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
291
|
-
var setInternalState$3 = internalState.set;
|
|
292
|
-
var getInternalState$1 = internalState.getterFor(ARRAY_ITERATOR);
|
|
293
|
-
|
|
294
|
-
// `Array.prototype.entries` method
|
|
295
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
296
|
-
// `Array.prototype.keys` method
|
|
297
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
298
|
-
// `Array.prototype.values` method
|
|
299
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
300
|
-
// `Array.prototype[@@iterator]` method
|
|
301
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
302
|
-
// `CreateArrayIterator` internal method
|
|
303
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
304
|
-
defineIterator(Array, 'Array', function (iterated, kind) {
|
|
305
|
-
setInternalState$3(this, {
|
|
306
|
-
type: ARRAY_ITERATOR,
|
|
307
|
-
target: toIndexedObject(iterated), // target
|
|
308
|
-
index: 0, // next index
|
|
309
|
-
kind: kind // kind
|
|
310
|
-
});
|
|
311
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
312
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
313
|
-
}, function () {
|
|
314
|
-
var state = getInternalState$1(this);
|
|
315
|
-
var target = state.target;
|
|
316
|
-
var kind = state.kind;
|
|
317
|
-
var index = state.index++;
|
|
318
|
-
if (!target || index >= target.length) {
|
|
319
|
-
state.target = undefined;
|
|
320
|
-
return { value: undefined, done: true };
|
|
321
|
-
}
|
|
322
|
-
if (kind == 'keys') return { value: index, done: false };
|
|
323
|
-
if (kind == 'values') return { value: target[index], done: false };
|
|
324
|
-
return { value: [index, target[index]], done: false };
|
|
325
|
-
}, 'values');
|
|
326
|
-
|
|
327
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
328
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
329
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
330
|
-
iterators.Arguments = iterators.Array;
|
|
331
|
-
|
|
332
|
-
// iterable DOM collections
|
|
333
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
334
|
-
var domIterables = {
|
|
335
|
-
CSSRuleList: 0,
|
|
336
|
-
CSSStyleDeclaration: 0,
|
|
337
|
-
CSSValueList: 0,
|
|
338
|
-
ClientRectList: 0,
|
|
339
|
-
DOMRectList: 0,
|
|
340
|
-
DOMStringList: 0,
|
|
341
|
-
DOMTokenList: 1,
|
|
342
|
-
DataTransferItemList: 0,
|
|
343
|
-
FileList: 0,
|
|
344
|
-
HTMLAllCollection: 0,
|
|
345
|
-
HTMLCollection: 0,
|
|
346
|
-
HTMLFormElement: 0,
|
|
347
|
-
HTMLSelectElement: 0,
|
|
348
|
-
MediaList: 0,
|
|
349
|
-
MimeTypeArray: 0,
|
|
350
|
-
NamedNodeMap: 0,
|
|
351
|
-
NodeList: 1,
|
|
352
|
-
PaintRequestList: 0,
|
|
353
|
-
Plugin: 0,
|
|
354
|
-
PluginArray: 0,
|
|
355
|
-
SVGLengthList: 0,
|
|
356
|
-
SVGNumberList: 0,
|
|
357
|
-
SVGPathSegList: 0,
|
|
358
|
-
SVGPointList: 0,
|
|
359
|
-
SVGStringList: 0,
|
|
360
|
-
SVGTransformList: 0,
|
|
361
|
-
SourceBufferList: 0,
|
|
362
|
-
StyleSheetList: 0,
|
|
363
|
-
TextTrackCueList: 0,
|
|
364
|
-
TextTrackList: 0,
|
|
365
|
-
TouchList: 0
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
369
|
-
|
|
370
|
-
for (var COLLECTION_NAME in domIterables) {
|
|
371
|
-
var Collection = global_1[COLLECTION_NAME];
|
|
372
|
-
var CollectionPrototype = Collection && Collection.prototype;
|
|
373
|
-
if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {
|
|
374
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
375
|
-
}
|
|
376
|
-
iterators[COLLECTION_NAME] = iterators.Array;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
var symbol$4 = symbol$5;
|
|
84
|
+
var symbol$4 = path.Symbol;
|
|
380
85
|
|
|
381
86
|
var symbol$3 = symbol$4;
|
|
382
87
|
|
|
88
|
+
var symbol$2 = symbol$3;
|
|
89
|
+
|
|
383
90
|
// `Symbol.asyncDispose` well-known symbol
|
|
384
91
|
// https://github.com/tc39/proposal-using-statement
|
|
385
92
|
defineWellKnownSymbol('asyncDispose');
|
|
@@ -417,10 +124,10 @@ defineWellKnownSymbol('replaceAll');
|
|
|
417
124
|
// TODO: Remove from `core-js@4`
|
|
418
125
|
|
|
419
126
|
|
|
420
|
-
var symbol$2 = symbol$3;
|
|
421
|
-
|
|
422
127
|
var symbol$1 = symbol$2;
|
|
423
128
|
|
|
129
|
+
var symbol = symbol$1;
|
|
130
|
+
|
|
424
131
|
var charAt$1 = functionUncurryThis(''.charAt);
|
|
425
132
|
var charCodeAt = functionUncurryThis(''.charCodeAt);
|
|
426
133
|
var stringSlice = functionUncurryThis(''.slice);
|
|
@@ -502,7 +209,7 @@ var getIteratorMethod$1 = getIteratorMethod$2;
|
|
|
502
209
|
var getIteratorMethod = getIteratorMethod$1;
|
|
503
210
|
|
|
504
211
|
function _iterableToArrayLimit(arr, i) {
|
|
505
|
-
var _i = arr == null ? null : typeof symbol
|
|
212
|
+
var _i = arr == null ? null : typeof symbol !== "undefined" && getIteratorMethod(arr) || arr["@@iterator"];
|
|
506
213
|
|
|
507
214
|
if (_i == null) return;
|
|
508
215
|
var _arr = [];
|
|
@@ -767,8 +474,8 @@ function areEqualShallow(objectA, objectB) {
|
|
|
767
474
|
});
|
|
768
475
|
}
|
|
769
476
|
|
|
770
|
-
function _extends
|
|
771
|
-
_extends
|
|
477
|
+
function _extends() {
|
|
478
|
+
_extends = Object.assign || function (target) {
|
|
772
479
|
for (var i = 1; i < arguments.length; i++) {
|
|
773
480
|
var source = arguments[i];
|
|
774
481
|
|
|
@@ -782,7 +489,7 @@ function _extends$1() {
|
|
|
782
489
|
return target;
|
|
783
490
|
};
|
|
784
491
|
|
|
785
|
-
return _extends
|
|
492
|
+
return _extends.apply(this, arguments);
|
|
786
493
|
}
|
|
787
494
|
|
|
788
495
|
function Alignment(align, viewSize) {
|
|
@@ -2103,9 +1810,9 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2103
1810
|
var engine;
|
|
2104
1811
|
var activated = false;
|
|
2105
1812
|
|
|
2106
|
-
var optionsBase = _extends
|
|
1813
|
+
var optionsBase = _extends({}, defaultOptions);
|
|
2107
1814
|
|
|
2108
|
-
var options = _extends
|
|
1815
|
+
var options = _extends({}, optionsBase);
|
|
2109
1816
|
|
|
2110
1817
|
var optionsPseudo;
|
|
2111
1818
|
var rootNodeSize = 0;
|
|
@@ -2124,8 +1831,8 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2124
1831
|
|
|
2125
1832
|
function activate(partialOptions) {
|
|
2126
1833
|
setupElements();
|
|
2127
|
-
optionsBase = _extends
|
|
2128
|
-
options = _extends
|
|
1834
|
+
optionsBase = _extends({}, optionsBase, partialOptions);
|
|
1835
|
+
options = _extends({}, optionsBase, optionsPseudo.get());
|
|
2129
1836
|
engine = Engine(sliderRoot, container, slides, options, events);
|
|
2130
1837
|
eventStore.add(window, 'resize', debouncedResize);
|
|
2131
1838
|
engine.translate.to(engine.location);
|
|
@@ -2206,7 +1913,7 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2206
1913
|
if (!activated) return;
|
|
2207
1914
|
var startIndex = selectedScrollSnap();
|
|
2208
1915
|
|
|
2209
|
-
var newOptions = _extends
|
|
1916
|
+
var newOptions = _extends({
|
|
2210
1917
|
startIndex: startIndex
|
|
2211
1918
|
}, partialOptions);
|
|
2212
1919
|
|
|
@@ -2363,8 +2070,6 @@ function useEmblaCarousel(options) {
|
|
|
2363
2070
|
return [setViewport, embla];
|
|
2364
2071
|
}
|
|
2365
2072
|
|
|
2366
|
-
var symbol = symbol$2;
|
|
2367
|
-
|
|
2368
2073
|
var iterator$4 = wellKnownSymbolWrapped.f('iterator');
|
|
2369
2074
|
|
|
2370
2075
|
var iterator$3 = iterator$4;
|
|
@@ -2378,11 +2083,17 @@ var iterator = iterator$1;
|
|
|
2378
2083
|
function _typeof(obj) {
|
|
2379
2084
|
"@babel/helpers - typeof";
|
|
2380
2085
|
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
}
|
|
2086
|
+
if (typeof symbol === "function" && typeof iterator === "symbol") {
|
|
2087
|
+
_typeof = function _typeof(obj) {
|
|
2088
|
+
return typeof obj;
|
|
2089
|
+
};
|
|
2090
|
+
} else {
|
|
2091
|
+
_typeof = function _typeof(obj) {
|
|
2092
|
+
return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
2093
|
+
};
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
return _typeof(obj);
|
|
2386
2097
|
}
|
|
2387
2098
|
|
|
2388
2099
|
var redefineAll = function (target, src, options) {
|
|
@@ -2454,7 +2165,7 @@ var anInstance = function (it, Prototype) {
|
|
|
2454
2165
|
throw TypeError$1('Incorrect invocation');
|
|
2455
2166
|
};
|
|
2456
2167
|
|
|
2457
|
-
var defineProperty
|
|
2168
|
+
var defineProperty = objectDefineProperty.f;
|
|
2458
2169
|
var forEach = arrayIteration.forEach;
|
|
2459
2170
|
|
|
2460
2171
|
|
|
@@ -2502,7 +2213,7 @@ var collection = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
2502
2213
|
}
|
|
2503
2214
|
});
|
|
2504
2215
|
|
|
2505
|
-
IS_WEAK || defineProperty
|
|
2216
|
+
IS_WEAK || defineProperty(Prototype, 'size', {
|
|
2506
2217
|
configurable: true,
|
|
2507
2218
|
get: function () {
|
|
2508
2219
|
return getInternalState(this).collection.size;
|
|
@@ -2714,36 +2425,12 @@ var weakMap$1 = weakMap$2;
|
|
|
2714
2425
|
|
|
2715
2426
|
var weakMap = weakMap$1;
|
|
2716
2427
|
|
|
2717
|
-
var defineProperty = defineProperty$2;
|
|
2718
|
-
|
|
2719
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptor$1;
|
|
2720
|
-
|
|
2721
2428
|
function _interopRequireDefault(obj) {
|
|
2722
2429
|
return obj && obj.__esModule ? obj : {
|
|
2723
2430
|
"default": obj
|
|
2724
2431
|
};
|
|
2725
2432
|
}
|
|
2726
2433
|
|
|
2727
|
-
var assign = assign$1;
|
|
2728
|
-
|
|
2729
|
-
function _extends() {
|
|
2730
|
-
_extends = assign || function (target) {
|
|
2731
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2732
|
-
var source = arguments[i];
|
|
2733
|
-
|
|
2734
|
-
for (var key in source) {
|
|
2735
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2736
|
-
target[key] = source[key];
|
|
2737
|
-
}
|
|
2738
|
-
}
|
|
2739
|
-
}
|
|
2740
|
-
|
|
2741
|
-
return target;
|
|
2742
|
-
};
|
|
2743
|
-
|
|
2744
|
-
return _extends.apply(this, arguments);
|
|
2745
|
-
}
|
|
2746
|
-
|
|
2747
2434
|
var ChevronLeft = createCommonjsModule(function (module, exports) {
|
|
2748
2435
|
|
|
2749
2436
|
|
|
@@ -2756,22 +2443,22 @@ var ChevronLeft = createCommonjsModule(function (module, exports) {
|
|
|
2756
2443
|
|
|
2757
2444
|
|
|
2758
2445
|
|
|
2759
|
-
defineProperty(exports, "__esModule", {
|
|
2446
|
+
defineProperty$1(exports, "__esModule", {
|
|
2760
2447
|
value: true
|
|
2761
2448
|
});
|
|
2762
2449
|
|
|
2763
|
-
exports
|
|
2450
|
+
exports["default"] = void 0;
|
|
2764
2451
|
|
|
2765
|
-
var _extends2 = _interopRequireDefault(_extends);
|
|
2452
|
+
var _extends2 = _interopRequireDefault(_extends$1);
|
|
2766
2453
|
|
|
2767
2454
|
var React$1 = _interopRequireWildcard(React);
|
|
2768
2455
|
|
|
2769
2456
|
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2770
2457
|
|
|
2771
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj
|
|
2458
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty$1 && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty$1(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2772
2459
|
|
|
2773
2460
|
function SvgChevronLeft(props, svgRef) {
|
|
2774
|
-
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2
|
|
2461
|
+
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2["default"])({}, props, {
|
|
2775
2462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2776
2463
|
viewBox: "0 0 1024 1024",
|
|
2777
2464
|
fill: "currentColor",
|
|
@@ -2784,7 +2471,7 @@ function SvgChevronLeft(props, svgRef) {
|
|
|
2784
2471
|
|
|
2785
2472
|
var ForwardRef = /*#__PURE__*/React$1.forwardRef(SvgChevronLeft);
|
|
2786
2473
|
var _default = ForwardRef;
|
|
2787
|
-
exports
|
|
2474
|
+
exports["default"] = _default;
|
|
2788
2475
|
});
|
|
2789
2476
|
|
|
2790
2477
|
unwrapExports(ChevronLeft);
|
|
@@ -2803,22 +2490,22 @@ var ChevronRight = createCommonjsModule(function (module, exports) {
|
|
|
2803
2490
|
|
|
2804
2491
|
|
|
2805
2492
|
|
|
2806
|
-
defineProperty(exports, "__esModule", {
|
|
2493
|
+
defineProperty$1(exports, "__esModule", {
|
|
2807
2494
|
value: true
|
|
2808
2495
|
});
|
|
2809
2496
|
|
|
2810
|
-
exports
|
|
2497
|
+
exports["default"] = void 0;
|
|
2811
2498
|
|
|
2812
|
-
var _extends2 = _interopRequireDefault(_extends);
|
|
2499
|
+
var _extends2 = _interopRequireDefault(_extends$1);
|
|
2813
2500
|
|
|
2814
2501
|
var React$1 = _interopRequireWildcard(React);
|
|
2815
2502
|
|
|
2816
2503
|
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2817
2504
|
|
|
2818
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj
|
|
2505
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty$1 && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty$1(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2819
2506
|
|
|
2820
2507
|
function SvgChevronRight(props, svgRef) {
|
|
2821
|
-
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2
|
|
2508
|
+
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2["default"])({}, props, {
|
|
2822
2509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2823
2510
|
viewBox: "0 0 1024 1024",
|
|
2824
2511
|
fill: "currentColor",
|
|
@@ -2831,20 +2518,25 @@ function SvgChevronRight(props, svgRef) {
|
|
|
2831
2518
|
|
|
2832
2519
|
var ForwardRef = /*#__PURE__*/React$1.forwardRef(SvgChevronRight);
|
|
2833
2520
|
var _default = ForwardRef;
|
|
2834
|
-
exports
|
|
2521
|
+
exports["default"] = _default;
|
|
2835
2522
|
});
|
|
2836
2523
|
|
|
2837
2524
|
unwrapExports(ChevronRight);
|
|
2838
2525
|
|
|
2839
2526
|
var chevronRight = ChevronRight;
|
|
2840
2527
|
|
|
2841
|
-
var _s = $RefreshSig$();
|
|
2842
|
-
|
|
2843
2528
|
var _excluded = ["images", "width", "height"];
|
|
2844
2529
|
|
|
2845
|
-
|
|
2846
|
-
|
|
2530
|
+
(function () {
|
|
2531
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
2532
|
+
enterModule && enterModule(module);
|
|
2533
|
+
})();
|
|
2847
2534
|
|
|
2535
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
2536
|
+
return a;
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
var ImageCarousel = function ImageCarousel(_ref) {
|
|
2848
2540
|
var images = _ref.images,
|
|
2849
2541
|
width = _ref.width,
|
|
2850
2542
|
height = _ref.height,
|
|
@@ -2884,7 +2576,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2884
2576
|
|
|
2885
2577
|
if (images.length === 1) {
|
|
2886
2578
|
var image = images[0];
|
|
2887
|
-
return /*#__PURE__*/React.createElement(Box, _extends$
|
|
2579
|
+
return /*#__PURE__*/React.createElement(Box, _extends$1({
|
|
2888
2580
|
width: imgWidth,
|
|
2889
2581
|
height: imgHeight
|
|
2890
2582
|
}, props), /*#__PURE__*/React.createElement("img", {
|
|
@@ -2898,7 +2590,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2898
2590
|
}));
|
|
2899
2591
|
}
|
|
2900
2592
|
|
|
2901
|
-
return /*#__PURE__*/React.createElement(Box, _extends$
|
|
2593
|
+
return /*#__PURE__*/React.createElement(Box, _extends$1({
|
|
2902
2594
|
as: "section",
|
|
2903
2595
|
position: "relative",
|
|
2904
2596
|
overflow: "hidden",
|
|
@@ -2928,7 +2620,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2928
2620
|
src: image.src,
|
|
2929
2621
|
alt: image.alt
|
|
2930
2622
|
})));
|
|
2931
|
-
}))), /*#__PURE__*/React.createElement(
|
|
2623
|
+
}))), /*#__PURE__*/React.createElement(_default$1, {
|
|
2932
2624
|
onClick: scrollPrev,
|
|
2933
2625
|
width: "16",
|
|
2934
2626
|
height: "100%",
|
|
@@ -2952,7 +2644,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2952
2644
|
borderRadius: "50%",
|
|
2953
2645
|
bgColor: "black",
|
|
2954
2646
|
opacity: "0.6"
|
|
2955
|
-
}, /*#__PURE__*/React.createElement(chevronLeft, null))), /*#__PURE__*/React.createElement(
|
|
2647
|
+
}, /*#__PURE__*/React.createElement(chevronLeft, null))), /*#__PURE__*/React.createElement(_default$1, {
|
|
2956
2648
|
onClick: scrollNext,
|
|
2957
2649
|
width: "16",
|
|
2958
2650
|
height: "100%",
|
|
@@ -2991,11 +2683,10 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2991
2683
|
}, selectedIndex + 1, "/", images.length));
|
|
2992
2684
|
};
|
|
2993
2685
|
|
|
2994
|
-
|
|
2686
|
+
__signature__(ImageCarousel, "useEmblaCarousel{[viewportRef, embla]}\nuseState{[selectedIndex, setSelectedIndex](0)}\nuseCallback{scrollPrev}\nuseCallback{scrollNext}\nuseCallback{onSelect}\nuseEffect{}", function () {
|
|
2995
2687
|
return [useEmblaCarousel];
|
|
2996
2688
|
});
|
|
2997
2689
|
|
|
2998
|
-
_c = ImageCarousel;
|
|
2999
2690
|
ImageCarousel.propTypes = {
|
|
3000
2691
|
/** Array of images with src and alt */
|
|
3001
2692
|
images: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -3009,10 +2700,23 @@ ImageCarousel.propTypes = {
|
|
|
3009
2700
|
/** Width of the carousel in rem */
|
|
3010
2701
|
width: PropTypes.number
|
|
3011
2702
|
};
|
|
2703
|
+
var _default = ImageCarousel;
|
|
2704
|
+
|
|
2705
|
+
(function () {
|
|
2706
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
2707
|
+
|
|
2708
|
+
if (!reactHotLoader) {
|
|
2709
|
+
return;
|
|
2710
|
+
}
|
|
3012
2711
|
|
|
3013
|
-
|
|
2712
|
+
reactHotLoader.register(ImageCarousel, "ImageCarousel", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2713
|
+
reactHotLoader.register(_default, "default", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2714
|
+
})();
|
|
3014
2715
|
|
|
3015
|
-
|
|
2716
|
+
(function () {
|
|
2717
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
2718
|
+
leaveModule && leaveModule(module);
|
|
2719
|
+
})();
|
|
3016
2720
|
|
|
3017
|
-
export default
|
|
3018
|
-
//# sourceMappingURL=ImageCarousel-
|
|
2721
|
+
export default _default;
|
|
2722
|
+
//# sourceMappingURL=ImageCarousel-c8a3e563.js.map
|