@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,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{a6 as Accordion,a5 as AccordionButton,a2 as AccordionIcon,a3 as AccordionItem,a4 as AccordionPanel,Y as Box,a0 as Button,aM as ButtonGroup,an as Card,ar as Checkbox,al as Container,aw as Fade,av as Flex,af as Grid,ag as GridItem,az as HStack,ak as Heading,ao as Icon,ap as Image,a1 as ImageCarousel,ad as Link,ah as List,ai as ListItem,aq as Loader,as as Popover,au as PopoverContent,at as PopoverTrigger,ay as Portal,aC as ScaleFade,ac as Select,ax as Slide,aD as SlideFade,aj as Spinner,a9 as Tab,a7 as TabList,aa as TabPanel,a8 as TabPanels,aN as Table,aU as TableCaption,ab as Tabs,aP as Tbody,aT as Td,ae as Text,aQ as Tfoot,aS as Th,aO as Thead,am as ThemeProvider,aR as Tr,aE as createIcon,aI as useBreakpointValue,aF as useClipboard,aJ as useControllableProp,aK as useControllableState,aG as useDisclosure,aH as useMediaQuery,aL as usePrefersReducedMotion,aB as useTheme,aA as useToken}from"./index-22452751.js";import"react";import"prop-types";import"lodash/merge";import"lodash/template";import"react-dom";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-c8c6025d.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var PropTypes = require('prop-types');
|
|
6
6
|
require('lodash/merge');
|
|
@@ -88,305 +88,12 @@ index.defineWellKnownSymbol('unscopables');
|
|
|
88
88
|
// https://tc39.es/ecma262/#sec-json-@@tostringtag
|
|
89
89
|
index.setToStringTag(index.global_1.JSON, 'JSON', true);
|
|
90
90
|
|
|
91
|
-
var symbol$
|
|
92
|
-
|
|
93
|
-
var iterators = {};
|
|
94
|
-
|
|
95
|
-
var FunctionPrototype = Function.prototype;
|
|
96
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
97
|
-
var getDescriptor = index.descriptors && Object.getOwnPropertyDescriptor;
|
|
98
|
-
|
|
99
|
-
var EXISTS = index.hasOwnProperty_1(FunctionPrototype, 'name');
|
|
100
|
-
// additional protection from minified / mangled / dropped function names
|
|
101
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
102
|
-
var CONFIGURABLE = EXISTS && (!index.descriptors || (index.descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
103
|
-
|
|
104
|
-
var functionName = {
|
|
105
|
-
EXISTS: EXISTS,
|
|
106
|
-
PROPER: PROPER,
|
|
107
|
-
CONFIGURABLE: CONFIGURABLE
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
var correctPrototypeGetter = !index.fails(function () {
|
|
111
|
-
function F() { /* empty */ }
|
|
112
|
-
F.prototype.constructor = null;
|
|
113
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
114
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
var IE_PROTO = index.sharedKey('IE_PROTO');
|
|
118
|
-
var Object$1 = index.global_1.Object;
|
|
119
|
-
var ObjectPrototype = Object$1.prototype;
|
|
120
|
-
|
|
121
|
-
// `Object.getPrototypeOf` method
|
|
122
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
123
|
-
var objectGetPrototypeOf = correctPrototypeGetter ? Object$1.getPrototypeOf : function (O) {
|
|
124
|
-
var object = index.toObject(O);
|
|
125
|
-
if (index.hasOwnProperty_1(object, IE_PROTO)) return object[IE_PROTO];
|
|
126
|
-
var constructor = object.constructor;
|
|
127
|
-
if (index.isCallable(constructor) && object instanceof constructor) {
|
|
128
|
-
return constructor.prototype;
|
|
129
|
-
} return object instanceof Object$1 ? ObjectPrototype : null;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
var ITERATOR$4 = index.wellKnownSymbol('iterator');
|
|
133
|
-
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
134
|
-
|
|
135
|
-
// `%IteratorPrototype%` object
|
|
136
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
137
|
-
var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
138
|
-
|
|
139
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
140
|
-
if ([].keys) {
|
|
141
|
-
arrayIterator = [].keys();
|
|
142
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
143
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
144
|
-
else {
|
|
145
|
-
PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
|
|
146
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$1 == undefined || index.fails(function () {
|
|
151
|
-
var test = {};
|
|
152
|
-
// FF44- legacy iterators case
|
|
153
|
-
return IteratorPrototype$1[ITERATOR$4].call(test) !== test;
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$1 = {};
|
|
157
|
-
else IteratorPrototype$1 = index.objectCreate(IteratorPrototype$1);
|
|
158
|
-
|
|
159
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
160
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
161
|
-
if (!index.isCallable(IteratorPrototype$1[ITERATOR$4])) {
|
|
162
|
-
index.redefine(IteratorPrototype$1, ITERATOR$4, function () {
|
|
163
|
-
return this;
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
var iteratorsCore = {
|
|
168
|
-
IteratorPrototype: IteratorPrototype$1,
|
|
169
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
var returnThis$1 = function () { return this; };
|
|
179
|
-
|
|
180
|
-
var createIteratorConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
181
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
182
|
-
IteratorConstructor.prototype = index.objectCreate(IteratorPrototype, { next: index.createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
183
|
-
index.setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
184
|
-
iterators[TO_STRING_TAG] = returnThis$1;
|
|
185
|
-
return IteratorConstructor;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
var String$1 = index.global_1.String;
|
|
189
|
-
var TypeError$4 = index.global_1.TypeError;
|
|
190
|
-
|
|
191
|
-
var aPossiblePrototype = function (argument) {
|
|
192
|
-
if (typeof argument == 'object' || index.isCallable(argument)) return argument;
|
|
193
|
-
throw TypeError$4("Can't set " + String$1(argument) + ' as a prototype');
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
/* eslint-disable no-proto -- safe */
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
// `Object.setPrototypeOf` method
|
|
202
|
-
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
203
|
-
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
204
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
205
|
-
Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
206
|
-
var CORRECT_SETTER = false;
|
|
207
|
-
var test = {};
|
|
208
|
-
var setter;
|
|
209
|
-
try {
|
|
210
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
211
|
-
setter = index.functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
212
|
-
setter(test, []);
|
|
213
|
-
CORRECT_SETTER = test instanceof Array;
|
|
214
|
-
} catch (error) { /* empty */ }
|
|
215
|
-
return function setPrototypeOf(O, proto) {
|
|
216
|
-
index.anObject(O);
|
|
217
|
-
aPossiblePrototype(proto);
|
|
218
|
-
if (CORRECT_SETTER) setter(O, proto);
|
|
219
|
-
else O.__proto__ = proto;
|
|
220
|
-
return O;
|
|
221
|
-
};
|
|
222
|
-
}() : undefined);
|
|
223
|
-
|
|
224
|
-
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
225
|
-
var BUGGY_SAFARI_ITERATORS = iteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
226
|
-
var ITERATOR$3 = index.wellKnownSymbol('iterator');
|
|
227
|
-
var KEYS = 'keys';
|
|
228
|
-
var VALUES = 'values';
|
|
229
|
-
var ENTRIES = 'entries';
|
|
230
|
-
|
|
231
|
-
var returnThis = function () { return this; };
|
|
232
|
-
|
|
233
|
-
var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
234
|
-
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
235
|
-
|
|
236
|
-
var getIterationMethod = function (KIND) {
|
|
237
|
-
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
238
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
239
|
-
switch (KIND) {
|
|
240
|
-
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
241
|
-
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
242
|
-
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
243
|
-
} return function () { return new IteratorConstructor(this); };
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
var TO_STRING_TAG = NAME + ' Iterator';
|
|
247
|
-
var INCORRECT_VALUES_NAME = false;
|
|
248
|
-
var IterablePrototype = Iterable.prototype;
|
|
249
|
-
var nativeIterator = IterablePrototype[ITERATOR$3]
|
|
250
|
-
|| IterablePrototype['@@iterator']
|
|
251
|
-
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
252
|
-
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
253
|
-
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
254
|
-
var CurrentIteratorPrototype, methods, KEY;
|
|
255
|
-
|
|
256
|
-
// fix native
|
|
257
|
-
if (anyNativeIterator) {
|
|
258
|
-
CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
259
|
-
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
260
|
-
// Set @@toStringTag to native iterators
|
|
261
|
-
index.setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
262
|
-
iterators[TO_STRING_TAG] = returnThis;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
267
|
-
if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
268
|
-
{
|
|
269
|
-
INCORRECT_VALUES_NAME = true;
|
|
270
|
-
defaultIterator = function values() { return index.functionCall(nativeIterator, this); };
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// export additional methods
|
|
275
|
-
if (DEFAULT) {
|
|
276
|
-
methods = {
|
|
277
|
-
values: getIterationMethod(VALUES),
|
|
278
|
-
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
279
|
-
entries: getIterationMethod(ENTRIES)
|
|
280
|
-
};
|
|
281
|
-
if (FORCED) for (KEY in methods) {
|
|
282
|
-
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
283
|
-
index.redefine(IterablePrototype, KEY, methods[KEY]);
|
|
284
|
-
}
|
|
285
|
-
} else index._export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
// define iterator
|
|
289
|
-
if ((FORCED) && IterablePrototype[ITERATOR$3] !== defaultIterator) {
|
|
290
|
-
index.redefine(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
|
|
291
|
-
}
|
|
292
|
-
iterators[NAME] = defaultIterator;
|
|
293
|
-
|
|
294
|
-
return methods;
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
var ARRAY_ITERATOR = 'Array Iterator';
|
|
298
|
-
var setInternalState$3 = index.internalState.set;
|
|
299
|
-
var getInternalState$1 = index.internalState.getterFor(ARRAY_ITERATOR);
|
|
300
|
-
|
|
301
|
-
// `Array.prototype.entries` method
|
|
302
|
-
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
303
|
-
// `Array.prototype.keys` method
|
|
304
|
-
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
305
|
-
// `Array.prototype.values` method
|
|
306
|
-
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
307
|
-
// `Array.prototype[@@iterator]` method
|
|
308
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
309
|
-
// `CreateArrayIterator` internal method
|
|
310
|
-
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
311
|
-
defineIterator(Array, 'Array', function (iterated, kind) {
|
|
312
|
-
setInternalState$3(this, {
|
|
313
|
-
type: ARRAY_ITERATOR,
|
|
314
|
-
target: index.toIndexedObject(iterated), // target
|
|
315
|
-
index: 0, // next index
|
|
316
|
-
kind: kind // kind
|
|
317
|
-
});
|
|
318
|
-
// `%ArrayIteratorPrototype%.next` method
|
|
319
|
-
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
320
|
-
}, function () {
|
|
321
|
-
var state = getInternalState$1(this);
|
|
322
|
-
var target = state.target;
|
|
323
|
-
var kind = state.kind;
|
|
324
|
-
var index = state.index++;
|
|
325
|
-
if (!target || index >= target.length) {
|
|
326
|
-
state.target = undefined;
|
|
327
|
-
return { value: undefined, done: true };
|
|
328
|
-
}
|
|
329
|
-
if (kind == 'keys') return { value: index, done: false };
|
|
330
|
-
if (kind == 'values') return { value: target[index], done: false };
|
|
331
|
-
return { value: [index, target[index]], done: false };
|
|
332
|
-
}, 'values');
|
|
333
|
-
|
|
334
|
-
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
335
|
-
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
336
|
-
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
337
|
-
iterators.Arguments = iterators.Array;
|
|
338
|
-
|
|
339
|
-
// iterable DOM collections
|
|
340
|
-
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
341
|
-
var domIterables = {
|
|
342
|
-
CSSRuleList: 0,
|
|
343
|
-
CSSStyleDeclaration: 0,
|
|
344
|
-
CSSValueList: 0,
|
|
345
|
-
ClientRectList: 0,
|
|
346
|
-
DOMRectList: 0,
|
|
347
|
-
DOMStringList: 0,
|
|
348
|
-
DOMTokenList: 1,
|
|
349
|
-
DataTransferItemList: 0,
|
|
350
|
-
FileList: 0,
|
|
351
|
-
HTMLAllCollection: 0,
|
|
352
|
-
HTMLCollection: 0,
|
|
353
|
-
HTMLFormElement: 0,
|
|
354
|
-
HTMLSelectElement: 0,
|
|
355
|
-
MediaList: 0,
|
|
356
|
-
MimeTypeArray: 0,
|
|
357
|
-
NamedNodeMap: 0,
|
|
358
|
-
NodeList: 1,
|
|
359
|
-
PaintRequestList: 0,
|
|
360
|
-
Plugin: 0,
|
|
361
|
-
PluginArray: 0,
|
|
362
|
-
SVGLengthList: 0,
|
|
363
|
-
SVGNumberList: 0,
|
|
364
|
-
SVGPathSegList: 0,
|
|
365
|
-
SVGPointList: 0,
|
|
366
|
-
SVGStringList: 0,
|
|
367
|
-
SVGTransformList: 0,
|
|
368
|
-
SourceBufferList: 0,
|
|
369
|
-
StyleSheetList: 0,
|
|
370
|
-
TextTrackCueList: 0,
|
|
371
|
-
TextTrackList: 0,
|
|
372
|
-
TouchList: 0
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
var TO_STRING_TAG = index.wellKnownSymbol('toStringTag');
|
|
376
|
-
|
|
377
|
-
for (var COLLECTION_NAME in domIterables) {
|
|
378
|
-
var Collection = index.global_1[COLLECTION_NAME];
|
|
379
|
-
var CollectionPrototype = Collection && Collection.prototype;
|
|
380
|
-
if (CollectionPrototype && index.classof(CollectionPrototype) !== TO_STRING_TAG) {
|
|
381
|
-
index.createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
|
382
|
-
}
|
|
383
|
-
iterators[COLLECTION_NAME] = iterators.Array;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
var symbol$4 = symbol$5;
|
|
91
|
+
var symbol$4 = index.path.Symbol;
|
|
387
92
|
|
|
388
93
|
var symbol$3 = symbol$4;
|
|
389
94
|
|
|
95
|
+
var symbol$2 = symbol$3;
|
|
96
|
+
|
|
390
97
|
// `Symbol.asyncDispose` well-known symbol
|
|
391
98
|
// https://github.com/tc39/proposal-using-statement
|
|
392
99
|
index.defineWellKnownSymbol('asyncDispose');
|
|
@@ -424,10 +131,10 @@ index.defineWellKnownSymbol('replaceAll');
|
|
|
424
131
|
// TODO: Remove from `core-js@4`
|
|
425
132
|
|
|
426
133
|
|
|
427
|
-
var symbol$2 = symbol$3;
|
|
428
|
-
|
|
429
134
|
var symbol$1 = symbol$2;
|
|
430
135
|
|
|
136
|
+
var symbol = symbol$1;
|
|
137
|
+
|
|
431
138
|
var charAt$1 = index.functionUncurryThis(''.charAt);
|
|
432
139
|
var charCodeAt = index.functionUncurryThis(''.charCodeAt);
|
|
433
140
|
var stringSlice = index.functionUncurryThis(''.slice);
|
|
@@ -471,7 +178,7 @@ var getInternalState = index.internalState.getterFor(STRING_ITERATOR);
|
|
|
471
178
|
|
|
472
179
|
// `String.prototype[@@iterator]` method
|
|
473
180
|
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
|
|
474
|
-
defineIterator(String, 'String', function (iterated) {
|
|
181
|
+
index.defineIterator(String, 'String', function (iterated) {
|
|
475
182
|
setInternalState$2(this, {
|
|
476
183
|
type: STRING_ITERATOR,
|
|
477
184
|
string: index.toString_1(iterated),
|
|
@@ -495,7 +202,7 @@ var ITERATOR$2 = index.wellKnownSymbol('iterator');
|
|
|
495
202
|
var getIteratorMethod$4 = function (it) {
|
|
496
203
|
if (it != undefined) return index.getMethod(it, ITERATOR$2)
|
|
497
204
|
|| index.getMethod(it, '@@iterator')
|
|
498
|
-
|| iterators[index.classof(it)];
|
|
205
|
+
|| index.iterators[index.classof(it)];
|
|
499
206
|
};
|
|
500
207
|
|
|
501
208
|
var getIteratorMethod_1 = getIteratorMethod$4;
|
|
@@ -509,7 +216,7 @@ var getIteratorMethod$1 = getIteratorMethod$2;
|
|
|
509
216
|
var getIteratorMethod = getIteratorMethod$1;
|
|
510
217
|
|
|
511
218
|
function _iterableToArrayLimit(arr, i) {
|
|
512
|
-
var _i = arr == null ? null : typeof symbol
|
|
219
|
+
var _i = arr == null ? null : typeof symbol !== "undefined" && getIteratorMethod(arr) || arr["@@iterator"];
|
|
513
220
|
|
|
514
221
|
if (_i == null) return;
|
|
515
222
|
var _arr = [];
|
|
@@ -626,7 +333,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
626
333
|
|
|
627
334
|
// check on default Array iterator
|
|
628
335
|
var isArrayIteratorMethod = function (it) {
|
|
629
|
-
return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
336
|
+
return it !== undefined && (index.iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
630
337
|
};
|
|
631
338
|
|
|
632
339
|
var TypeError$3 = index.global_1.TypeError;
|
|
@@ -774,8 +481,8 @@ function areEqualShallow(objectA, objectB) {
|
|
|
774
481
|
});
|
|
775
482
|
}
|
|
776
483
|
|
|
777
|
-
function _extends
|
|
778
|
-
_extends
|
|
484
|
+
function _extends() {
|
|
485
|
+
_extends = Object.assign || function (target) {
|
|
779
486
|
for (var i = 1; i < arguments.length; i++) {
|
|
780
487
|
var source = arguments[i];
|
|
781
488
|
|
|
@@ -789,7 +496,7 @@ function _extends$1() {
|
|
|
789
496
|
return target;
|
|
790
497
|
};
|
|
791
498
|
|
|
792
|
-
return _extends
|
|
499
|
+
return _extends.apply(this, arguments);
|
|
793
500
|
}
|
|
794
501
|
|
|
795
502
|
function Alignment(align, viewSize) {
|
|
@@ -2110,9 +1817,9 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2110
1817
|
var engine;
|
|
2111
1818
|
var activated = false;
|
|
2112
1819
|
|
|
2113
|
-
var optionsBase = _extends
|
|
1820
|
+
var optionsBase = _extends({}, defaultOptions);
|
|
2114
1821
|
|
|
2115
|
-
var options = _extends
|
|
1822
|
+
var options = _extends({}, optionsBase);
|
|
2116
1823
|
|
|
2117
1824
|
var optionsPseudo;
|
|
2118
1825
|
var rootNodeSize = 0;
|
|
@@ -2131,8 +1838,8 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2131
1838
|
|
|
2132
1839
|
function activate(partialOptions) {
|
|
2133
1840
|
setupElements();
|
|
2134
|
-
optionsBase = _extends
|
|
2135
|
-
options = _extends
|
|
1841
|
+
optionsBase = _extends({}, optionsBase, partialOptions);
|
|
1842
|
+
options = _extends({}, optionsBase, optionsPseudo.get());
|
|
2136
1843
|
engine = Engine(sliderRoot, container, slides, options, events);
|
|
2137
1844
|
eventStore.add(window, 'resize', debouncedResize);
|
|
2138
1845
|
engine.translate.to(engine.location);
|
|
@@ -2213,7 +1920,7 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2213
1920
|
if (!activated) return;
|
|
2214
1921
|
var startIndex = selectedScrollSnap();
|
|
2215
1922
|
|
|
2216
|
-
var newOptions = _extends
|
|
1923
|
+
var newOptions = _extends({
|
|
2217
1924
|
startIndex: startIndex
|
|
2218
1925
|
}, partialOptions);
|
|
2219
1926
|
|
|
@@ -2370,8 +2077,6 @@ function useEmblaCarousel(options) {
|
|
|
2370
2077
|
return [setViewport, embla];
|
|
2371
2078
|
}
|
|
2372
2079
|
|
|
2373
|
-
var symbol = symbol$2;
|
|
2374
|
-
|
|
2375
2080
|
var iterator$4 = index.wellKnownSymbolWrapped.f('iterator');
|
|
2376
2081
|
|
|
2377
2082
|
var iterator$3 = iterator$4;
|
|
@@ -2385,11 +2090,17 @@ var iterator = iterator$1;
|
|
|
2385
2090
|
function _typeof(obj) {
|
|
2386
2091
|
"@babel/helpers - typeof";
|
|
2387
2092
|
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
}
|
|
2093
|
+
if (typeof symbol === "function" && typeof iterator === "symbol") {
|
|
2094
|
+
_typeof = function _typeof(obj) {
|
|
2095
|
+
return typeof obj;
|
|
2096
|
+
};
|
|
2097
|
+
} else {
|
|
2098
|
+
_typeof = function _typeof(obj) {
|
|
2099
|
+
return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
2100
|
+
};
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
return _typeof(obj);
|
|
2393
2104
|
}
|
|
2394
2105
|
|
|
2395
2106
|
var redefineAll = function (target, src, options) {
|
|
@@ -2461,7 +2172,7 @@ var anInstance = function (it, Prototype) {
|
|
|
2461
2172
|
throw TypeError$1('Incorrect invocation');
|
|
2462
2173
|
};
|
|
2463
2174
|
|
|
2464
|
-
var defineProperty
|
|
2175
|
+
var defineProperty = index.objectDefineProperty.f;
|
|
2465
2176
|
var forEach = index.arrayIteration.forEach;
|
|
2466
2177
|
|
|
2467
2178
|
|
|
@@ -2509,7 +2220,7 @@ var collection = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
2509
2220
|
}
|
|
2510
2221
|
});
|
|
2511
2222
|
|
|
2512
|
-
IS_WEAK || defineProperty
|
|
2223
|
+
IS_WEAK || defineProperty(Prototype, 'size', {
|
|
2513
2224
|
configurable: true,
|
|
2514
2225
|
get: function () {
|
|
2515
2226
|
return getInternalState(this).collection.size;
|
|
@@ -2721,36 +2432,12 @@ var weakMap$1 = weakMap$2;
|
|
|
2721
2432
|
|
|
2722
2433
|
var weakMap = weakMap$1;
|
|
2723
2434
|
|
|
2724
|
-
var defineProperty = index.defineProperty;
|
|
2725
|
-
|
|
2726
|
-
var getOwnPropertyDescriptor = index.getOwnPropertyDescriptor;
|
|
2727
|
-
|
|
2728
2435
|
function _interopRequireDefault(obj) {
|
|
2729
2436
|
return obj && obj.__esModule ? obj : {
|
|
2730
2437
|
"default": obj
|
|
2731
2438
|
};
|
|
2732
2439
|
}
|
|
2733
2440
|
|
|
2734
|
-
var assign = index.assign;
|
|
2735
|
-
|
|
2736
|
-
function _extends() {
|
|
2737
|
-
_extends = assign || function (target) {
|
|
2738
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2739
|
-
var source = arguments[i];
|
|
2740
|
-
|
|
2741
|
-
for (var key in source) {
|
|
2742
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2743
|
-
target[key] = source[key];
|
|
2744
|
-
}
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
return target;
|
|
2749
|
-
};
|
|
2750
|
-
|
|
2751
|
-
return _extends.apply(this, arguments);
|
|
2752
|
-
}
|
|
2753
|
-
|
|
2754
2441
|
var ChevronLeft = index.createCommonjsModule(function (module, exports) {
|
|
2755
2442
|
|
|
2756
2443
|
|
|
@@ -2763,22 +2450,22 @@ var ChevronLeft = index.createCommonjsModule(function (module, exports) {
|
|
|
2763
2450
|
|
|
2764
2451
|
|
|
2765
2452
|
|
|
2766
|
-
defineProperty(exports, "__esModule", {
|
|
2453
|
+
index.defineProperty(exports, "__esModule", {
|
|
2767
2454
|
value: true
|
|
2768
2455
|
});
|
|
2769
2456
|
|
|
2770
|
-
exports
|
|
2457
|
+
exports["default"] = void 0;
|
|
2771
2458
|
|
|
2772
|
-
var _extends2 = _interopRequireDefault(_extends);
|
|
2459
|
+
var _extends2 = _interopRequireDefault(index._extends);
|
|
2773
2460
|
|
|
2774
2461
|
var React = _interopRequireWildcard(React__default['default']);
|
|
2775
2462
|
|
|
2776
2463
|
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); }
|
|
2777
2464
|
|
|
2778
|
-
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
|
|
2465
|
+
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 = index.defineProperty && index.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? index.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { index.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2779
2466
|
|
|
2780
2467
|
function SvgChevronLeft(props, svgRef) {
|
|
2781
|
-
return /*#__PURE__*/React.createElement("svg", (0, _extends2
|
|
2468
|
+
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({}, props, {
|
|
2782
2469
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2783
2470
|
viewBox: "0 0 1024 1024",
|
|
2784
2471
|
fill: "currentColor",
|
|
@@ -2791,7 +2478,7 @@ function SvgChevronLeft(props, svgRef) {
|
|
|
2791
2478
|
|
|
2792
2479
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronLeft);
|
|
2793
2480
|
var _default = ForwardRef;
|
|
2794
|
-
exports
|
|
2481
|
+
exports["default"] = _default;
|
|
2795
2482
|
});
|
|
2796
2483
|
|
|
2797
2484
|
index.unwrapExports(ChevronLeft);
|
|
@@ -2810,22 +2497,22 @@ var ChevronRight = index.createCommonjsModule(function (module, exports) {
|
|
|
2810
2497
|
|
|
2811
2498
|
|
|
2812
2499
|
|
|
2813
|
-
defineProperty(exports, "__esModule", {
|
|
2500
|
+
index.defineProperty(exports, "__esModule", {
|
|
2814
2501
|
value: true
|
|
2815
2502
|
});
|
|
2816
2503
|
|
|
2817
|
-
exports
|
|
2504
|
+
exports["default"] = void 0;
|
|
2818
2505
|
|
|
2819
|
-
var _extends2 = _interopRequireDefault(_extends);
|
|
2506
|
+
var _extends2 = _interopRequireDefault(index._extends);
|
|
2820
2507
|
|
|
2821
2508
|
var React = _interopRequireWildcard(React__default['default']);
|
|
2822
2509
|
|
|
2823
2510
|
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); }
|
|
2824
2511
|
|
|
2825
|
-
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
|
|
2512
|
+
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 = index.defineProperty && index.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? index.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { index.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2826
2513
|
|
|
2827
2514
|
function SvgChevronRight(props, svgRef) {
|
|
2828
|
-
return /*#__PURE__*/React.createElement("svg", (0, _extends2
|
|
2515
|
+
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({}, props, {
|
|
2829
2516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2830
2517
|
viewBox: "0 0 1024 1024",
|
|
2831
2518
|
fill: "currentColor",
|
|
@@ -2838,20 +2525,25 @@ function SvgChevronRight(props, svgRef) {
|
|
|
2838
2525
|
|
|
2839
2526
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronRight);
|
|
2840
2527
|
var _default = ForwardRef;
|
|
2841
|
-
exports
|
|
2528
|
+
exports["default"] = _default;
|
|
2842
2529
|
});
|
|
2843
2530
|
|
|
2844
2531
|
index.unwrapExports(ChevronRight);
|
|
2845
2532
|
|
|
2846
2533
|
var chevronRight = ChevronRight;
|
|
2847
2534
|
|
|
2848
|
-
var _s = $RefreshSig$();
|
|
2849
|
-
|
|
2850
2535
|
var _excluded = ["images", "width", "height"];
|
|
2851
2536
|
|
|
2852
|
-
|
|
2853
|
-
|
|
2537
|
+
(function () {
|
|
2538
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
2539
|
+
enterModule && enterModule(module);
|
|
2540
|
+
})();
|
|
2854
2541
|
|
|
2542
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
2543
|
+
return a;
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
var ImageCarousel = function ImageCarousel(_ref) {
|
|
2855
2547
|
var images = _ref.images,
|
|
2856
2548
|
width = _ref.width,
|
|
2857
2549
|
height = _ref.height,
|
|
@@ -2935,7 +2627,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2935
2627
|
src: image.src,
|
|
2936
2628
|
alt: image.alt
|
|
2937
2629
|
})));
|
|
2938
|
-
}))), /*#__PURE__*/React__default['default'].createElement(index.
|
|
2630
|
+
}))), /*#__PURE__*/React__default['default'].createElement(index._default, {
|
|
2939
2631
|
onClick: scrollPrev,
|
|
2940
2632
|
width: "16",
|
|
2941
2633
|
height: "100%",
|
|
@@ -2959,7 +2651,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2959
2651
|
borderRadius: "50%",
|
|
2960
2652
|
bgColor: "black",
|
|
2961
2653
|
opacity: "0.6"
|
|
2962
|
-
}, /*#__PURE__*/React__default['default'].createElement(chevronLeft, null))), /*#__PURE__*/React__default['default'].createElement(index.
|
|
2654
|
+
}, /*#__PURE__*/React__default['default'].createElement(chevronLeft, null))), /*#__PURE__*/React__default['default'].createElement(index._default, {
|
|
2963
2655
|
onClick: scrollNext,
|
|
2964
2656
|
width: "16",
|
|
2965
2657
|
height: "100%",
|
|
@@ -2998,11 +2690,10 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2998
2690
|
}, selectedIndex + 1, "/", images.length));
|
|
2999
2691
|
};
|
|
3000
2692
|
|
|
3001
|
-
|
|
2693
|
+
__signature__(ImageCarousel, "useEmblaCarousel{[viewportRef, embla]}\nuseState{[selectedIndex, setSelectedIndex](0)}\nuseCallback{scrollPrev}\nuseCallback{scrollNext}\nuseCallback{onSelect}\nuseEffect{}", function () {
|
|
3002
2694
|
return [useEmblaCarousel];
|
|
3003
2695
|
});
|
|
3004
2696
|
|
|
3005
|
-
_c = ImageCarousel;
|
|
3006
2697
|
ImageCarousel.propTypes = {
|
|
3007
2698
|
/** Array of images with src and alt */
|
|
3008
2699
|
images: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
@@ -3016,10 +2707,23 @@ ImageCarousel.propTypes = {
|
|
|
3016
2707
|
/** Width of the carousel in rem */
|
|
3017
2708
|
width: PropTypes__default['default'].number
|
|
3018
2709
|
};
|
|
2710
|
+
var _default = ImageCarousel;
|
|
2711
|
+
|
|
2712
|
+
(function () {
|
|
2713
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
3019
2714
|
|
|
3020
|
-
|
|
2715
|
+
if (!reactHotLoader) {
|
|
2716
|
+
return;
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
reactHotLoader.register(ImageCarousel, "ImageCarousel", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2720
|
+
reactHotLoader.register(_default, "default", "/tmp/build/44cb8d9a/src/src/v2/components/ImageCarousel/ImageCarousel.jsx");
|
|
2721
|
+
})();
|
|
3021
2722
|
|
|
3022
|
-
|
|
2723
|
+
(function () {
|
|
2724
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
2725
|
+
leaveModule && leaveModule(module);
|
|
2726
|
+
})();
|
|
3023
2727
|
|
|
3024
|
-
exports.default =
|
|
3025
|
-
//# sourceMappingURL=ImageCarousel-
|
|
2728
|
+
exports.default = _default;
|
|
2729
|
+
//# sourceMappingURL=ImageCarousel-0575526b.js.map
|