@spothero/ui 14.3.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 +5 -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 +2 -2
- 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 +931 -368
- package/v1/index-unbundled-cjs/index.js.map +1 -1
- package/v1/index-unbundled-esm/index.js +928 -365
- 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-bfdd3dbe.js.map → ImageCarousel-217e7062.js.map} +1 -1
- 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-367b46dd.js.map → ImageCarousel-4127414d.js.map} +1 -1
- 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-f32232e9.js → ImageCarousel-0575526b.js} +33 -309
- package/v2/index-unbundled-cjs/ImageCarousel-0575526b.js.map +1 -0
- package/v2/index-unbundled-cjs/{index-9768b43e.js → index-c8c6025d.js} +2289 -593
- 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-df49312f.js → ImageCarousel-c8a3e563.js} +30 -306
- package/v2/index-unbundled-esm/ImageCarousel-c8a3e563.js.map +1 -0
- package/v2/index-unbundled-esm/{index-4a79ec74.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-bfdd3dbe.js +0 -2
- package/v2/index-bundled-cjs/index-fa71d123.js +0 -25
- package/v2/index-bundled-cjs/index-fa71d123.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-367b46dd.js +0 -2
- package/v2/index-bundled-esm/index-b266be99.js +0 -24
- package/v2/index-bundled-esm/index-b266be99.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-f32232e9.js.map +0 -1
- package/v2/index-unbundled-cjs/index-9768b43e.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-df49312f.js.map +0 -1
- package/v2/index-unbundled-esm/index-4a79ec74.js.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-c8c6025d.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('prop-types');
|
|
8
8
|
require('lodash/merge');
|
|
@@ -17,33 +17,33 @@ exports.AccordionIcon = index.AccordionIcon;
|
|
|
17
17
|
exports.AccordionItem = index.AccordionItem;
|
|
18
18
|
exports.AccordionPanel = index.AccordionPanel;
|
|
19
19
|
exports.Box = index.Box;
|
|
20
|
-
exports.Button = index.
|
|
20
|
+
exports.Button = index._default;
|
|
21
21
|
exports.ButtonGroup = index.ButtonGroup;
|
|
22
|
-
exports.Card = index.
|
|
22
|
+
exports.Card = index._default$9;
|
|
23
23
|
exports.Checkbox = index.Checkbox;
|
|
24
|
-
exports.Container = index.
|
|
24
|
+
exports.Container = index._default$7;
|
|
25
25
|
exports.Fade = index.Fade;
|
|
26
26
|
exports.Flex = index.Flex;
|
|
27
|
-
exports.Grid = index.
|
|
28
|
-
exports.GridItem = index.
|
|
27
|
+
exports.Grid = index._default$2;
|
|
28
|
+
exports.GridItem = index._default$3;
|
|
29
29
|
exports.HStack = index.HStack;
|
|
30
|
-
exports.Heading = index.
|
|
30
|
+
exports.Heading = index._default$6;
|
|
31
31
|
exports.Icon = index.Icon;
|
|
32
|
-
exports.Image = index.
|
|
32
|
+
exports.Image = index._default$10;
|
|
33
33
|
exports.ImageCarousel = index.ImageCarousel;
|
|
34
34
|
exports.Link = index.Link;
|
|
35
|
-
exports.List = index.
|
|
35
|
+
exports.List = index._default$4;
|
|
36
36
|
exports.ListItem = index.ListItem;
|
|
37
|
-
exports.Loader = index.
|
|
38
|
-
exports.Popover = index.
|
|
39
|
-
exports.PopoverContent = index.
|
|
37
|
+
exports.Loader = index._default$11;
|
|
38
|
+
exports.Popover = index._default$12;
|
|
39
|
+
exports.PopoverContent = index._default$13;
|
|
40
40
|
exports.PopoverTrigger = index.PopoverTrigger;
|
|
41
41
|
exports.Portal = index.Portal;
|
|
42
42
|
exports.ScaleFade = index.ScaleFade;
|
|
43
43
|
exports.Select = index.Select;
|
|
44
44
|
exports.Slide = index.Slide;
|
|
45
45
|
exports.SlideFade = index.SlideFade;
|
|
46
|
-
exports.Spinner = index.
|
|
46
|
+
exports.Spinner = index._default$5;
|
|
47
47
|
exports.Tab = index.Tab;
|
|
48
48
|
exports.TabList = index.TabList;
|
|
49
49
|
exports.TabPanel = index.TabPanel;
|
|
@@ -53,11 +53,11 @@ exports.TableCaption = index.TableCaption;
|
|
|
53
53
|
exports.Tabs = index.Tabs;
|
|
54
54
|
exports.Tbody = index.Tbody;
|
|
55
55
|
exports.Td = index.Td;
|
|
56
|
-
exports.Text = index.
|
|
56
|
+
exports.Text = index._default$1;
|
|
57
57
|
exports.Tfoot = index.Tfoot;
|
|
58
58
|
exports.Th = index.Th;
|
|
59
59
|
exports.Thead = index.Thead;
|
|
60
|
-
exports.ThemeProvider = index.
|
|
60
|
+
exports.ThemeProvider = index._default$8;
|
|
61
61
|
exports.Tr = index.Tr;
|
|
62
62
|
exports.createIcon = index.createIcon;
|
|
63
63
|
exports.useBreakpointValue = index.useBreakpointValue;
|
|
@@ -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';
|
|
@@ -83,299 +83,6 @@ setToStringTag(global_1.JSON, 'JSON', true);
|
|
|
83
83
|
|
|
84
84
|
var symbol$4 = path.Symbol;
|
|
85
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
86
|
var symbol$3 = symbol$4;
|
|
380
87
|
|
|
381
88
|
var symbol$2 = symbol$3;
|
|
@@ -2818,13 +2525,18 @@ unwrapExports(ChevronRight);
|
|
|
2818
2525
|
|
|
2819
2526
|
var chevronRight = ChevronRight;
|
|
2820
2527
|
|
|
2821
|
-
var _s = $RefreshSig$();
|
|
2822
|
-
|
|
2823
2528
|
var _excluded = ["images", "width", "height"];
|
|
2824
2529
|
|
|
2825
|
-
|
|
2826
|
-
|
|
2530
|
+
(function () {
|
|
2531
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
2532
|
+
enterModule && enterModule(module);
|
|
2533
|
+
})();
|
|
2534
|
+
|
|
2535
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
2536
|
+
return a;
|
|
2537
|
+
};
|
|
2827
2538
|
|
|
2539
|
+
var ImageCarousel = function ImageCarousel(_ref) {
|
|
2828
2540
|
var images = _ref.images,
|
|
2829
2541
|
width = _ref.width,
|
|
2830
2542
|
height = _ref.height,
|
|
@@ -2908,7 +2620,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2908
2620
|
src: image.src,
|
|
2909
2621
|
alt: image.alt
|
|
2910
2622
|
})));
|
|
2911
|
-
}))), /*#__PURE__*/React.createElement(
|
|
2623
|
+
}))), /*#__PURE__*/React.createElement(_default$1, {
|
|
2912
2624
|
onClick: scrollPrev,
|
|
2913
2625
|
width: "16",
|
|
2914
2626
|
height: "100%",
|
|
@@ -2932,7 +2644,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2932
2644
|
borderRadius: "50%",
|
|
2933
2645
|
bgColor: "black",
|
|
2934
2646
|
opacity: "0.6"
|
|
2935
|
-
}, /*#__PURE__*/React.createElement(chevronLeft, null))), /*#__PURE__*/React.createElement(
|
|
2647
|
+
}, /*#__PURE__*/React.createElement(chevronLeft, null))), /*#__PURE__*/React.createElement(_default$1, {
|
|
2936
2648
|
onClick: scrollNext,
|
|
2937
2649
|
width: "16",
|
|
2938
2650
|
height: "100%",
|
|
@@ -2971,11 +2683,10 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
2971
2683
|
}, selectedIndex + 1, "/", images.length));
|
|
2972
2684
|
};
|
|
2973
2685
|
|
|
2974
|
-
|
|
2686
|
+
__signature__(ImageCarousel, "useEmblaCarousel{[viewportRef, embla]}\nuseState{[selectedIndex, setSelectedIndex](0)}\nuseCallback{scrollPrev}\nuseCallback{scrollNext}\nuseCallback{onSelect}\nuseEffect{}", function () {
|
|
2975
2687
|
return [useEmblaCarousel];
|
|
2976
2688
|
});
|
|
2977
2689
|
|
|
2978
|
-
_c = ImageCarousel;
|
|
2979
2690
|
ImageCarousel.propTypes = {
|
|
2980
2691
|
/** Array of images with src and alt */
|
|
2981
2692
|
images: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -2989,10 +2700,23 @@ ImageCarousel.propTypes = {
|
|
|
2989
2700
|
/** Width of the carousel in rem */
|
|
2990
2701
|
width: PropTypes.number
|
|
2991
2702
|
};
|
|
2703
|
+
var _default = ImageCarousel;
|
|
2704
|
+
|
|
2705
|
+
(function () {
|
|
2706
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
2707
|
+
|
|
2708
|
+
if (!reactHotLoader) {
|
|
2709
|
+
return;
|
|
2710
|
+
}
|
|
2992
2711
|
|
|
2993
|
-
|
|
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
|
+
})();
|
|
2994
2715
|
|
|
2995
|
-
|
|
2716
|
+
(function () {
|
|
2717
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
2718
|
+
leaveModule && leaveModule(module);
|
|
2719
|
+
})();
|
|
2996
2720
|
|
|
2997
|
-
export default
|
|
2998
|
-
//# sourceMappingURL=ImageCarousel-
|
|
2721
|
+
export default _default;
|
|
2722
|
+
//# sourceMappingURL=ImageCarousel-c8a3e563.js.map
|