@hero-design/rn 8.92.2 → 8.93.0
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +28 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +689 -752
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +690 -752
- package/package.json +4 -2
- package/rollup.config.mjs +1 -0
- package/src/components/Badge/Count.tsx +60 -0
- package/src/components/Badge/StyledBadge.tsx +33 -2
- package/src/components/Badge/__tests__/Count.spec.tsx +38 -0
- package/src/components/Badge/__tests__/__snapshots__/Count.spec.tsx.snap +310 -0
- package/src/components/Badge/constants.ts +1 -0
- package/src/components/Badge/index.tsx +3 -2
- package/src/components/Button/StyledButton.tsx +15 -8
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +5 -3
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +61 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +26 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/MapPin/StyledMapPin.tsx +1 -9
- package/src/components/Progress/ProgressCircle.tsx +53 -109
- package/src/components/Progress/StyledProgressBar.tsx +4 -1
- package/src/components/Progress/StyledProgressCircle.tsx +1 -57
- package/src/components/Progress/StyledStep.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +299 -647
- package/src/components/Search/SearchOneLine.tsx +2 -2
- package/src/components/Search/SearchTwoLine.tsx +1 -1
- package/src/components/Search/StyledSearch.tsx +20 -35
- package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +51 -51
- package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +2 -2
- package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +13 -15
- package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +4 -4
- package/src/components/Search/utils.tsx +2 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Tabs/TabWithBadge.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +15 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -6
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -3
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +15 -9
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -0
- package/src/components/Toolbar/StyledToolbar.tsx +1 -0
- package/src/components/Toolbar/ToolbarMessage.tsx +3 -0
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarMessage.spec.tsx.snap +8 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +31 -23
- package/src/theme/components/badge.ts +26 -1
- package/src/theme/components/button.ts +10 -0
- package/src/theme/components/progress.ts +21 -26
- package/src/theme/components/search.ts +2 -10
- package/src/theme/components/toolbar.ts +2 -0
- package/src/utils/helpers.ts +9 -0
- package/stats/8.92.3/rn-stats.html +4842 -0
- package/types/components/Badge/Count.d.ts +27 -0
- package/types/components/Badge/StyledBadge.d.ts +14 -4
- package/types/components/Badge/constants.d.ts +1 -0
- package/types/components/Badge/index.d.ts +1 -0
- package/types/components/Button/StyledButton.d.ts +2 -2
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Progress/StyledProgressCircle.d.ts +1 -32
- package/types/components/Search/StyledSearch.d.ts +0 -1
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/theme/components/badge.d.ts +11 -0
- package/types/theme/components/button.d.ts +3 -0
- package/types/theme/components/progress.d.ts +6 -6
- package/types/theme/components/search.d.ts +2 -10
- package/types/theme/components/toolbar.d.ts +2 -0
- package/types/utils/helpers.d.ts +1 -0
package/es/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { createIconSet } from 'react-native-vector-icons';
|
|
|
6
6
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
7
7
|
import { MonthYearPickerViewIOS, MonthYearPickerDialogueAndroid } from '@hero-design/react-native-month-year-picker';
|
|
8
8
|
import DateTimePicker from '@react-native-community/datetimepicker';
|
|
9
|
+
import Svg, { Circle as Circle$1, G } from 'react-native-svg';
|
|
9
10
|
import RnSlider from '@react-native-community/slider';
|
|
10
11
|
import MultiSlider from '@ptomasroos/react-native-multi-slider';
|
|
11
12
|
import { RectButton, GestureHandlerRootView, Swipeable as Swipeable$1 } from 'react-native-gesture-handler';
|
|
@@ -14,6 +15,140 @@ import PagerView from 'react-native-pager-view';
|
|
|
14
15
|
import { EventEmitter } from 'events';
|
|
15
16
|
import { WebView } from 'react-native-webview';
|
|
16
17
|
|
|
18
|
+
function _arrayLikeToArray(r, a) {
|
|
19
|
+
(null == a || a > r.length) && (a = r.length);
|
|
20
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
function _arrayWithHoles(r) {
|
|
24
|
+
if (Array.isArray(r)) return r;
|
|
25
|
+
}
|
|
26
|
+
function _arrayWithoutHoles(r) {
|
|
27
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
28
|
+
}
|
|
29
|
+
function _assertThisInitialized(e) {
|
|
30
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
31
|
+
return e;
|
|
32
|
+
}
|
|
33
|
+
function _classCallCheck(a, n) {
|
|
34
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
35
|
+
}
|
|
36
|
+
function _defineProperties(e, r) {
|
|
37
|
+
for (var t = 0; t < r.length; t++) {
|
|
38
|
+
var o = r[t];
|
|
39
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function _createClass(e, r, t) {
|
|
43
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
44
|
+
writable: !1
|
|
45
|
+
}), e;
|
|
46
|
+
}
|
|
47
|
+
function _createForOfIteratorHelper(r, e) {
|
|
48
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
49
|
+
if (!t) {
|
|
50
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
51
|
+
t && (r = t);
|
|
52
|
+
var n = 0,
|
|
53
|
+
F = function () {};
|
|
54
|
+
return {
|
|
55
|
+
s: F,
|
|
56
|
+
n: function () {
|
|
57
|
+
return n >= r.length ? {
|
|
58
|
+
done: !0
|
|
59
|
+
} : {
|
|
60
|
+
done: !1,
|
|
61
|
+
value: r[n++]
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
e: function (r) {
|
|
65
|
+
throw r;
|
|
66
|
+
},
|
|
67
|
+
f: F
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
71
|
+
}
|
|
72
|
+
var o,
|
|
73
|
+
a = !0,
|
|
74
|
+
u = !1;
|
|
75
|
+
return {
|
|
76
|
+
s: function () {
|
|
77
|
+
t = t.call(r);
|
|
78
|
+
},
|
|
79
|
+
n: function () {
|
|
80
|
+
var r = t.next();
|
|
81
|
+
return a = r.done, r;
|
|
82
|
+
},
|
|
83
|
+
e: function (r) {
|
|
84
|
+
u = !0, o = r;
|
|
85
|
+
},
|
|
86
|
+
f: function () {
|
|
87
|
+
try {
|
|
88
|
+
a || null == t.return || t.return();
|
|
89
|
+
} finally {
|
|
90
|
+
if (u) throw o;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function _createSuper(t) {
|
|
96
|
+
var r = _isNativeReflectConstruct();
|
|
97
|
+
return function () {
|
|
98
|
+
var e,
|
|
99
|
+
o = _getPrototypeOf(t);
|
|
100
|
+
if (r) {
|
|
101
|
+
var s = _getPrototypeOf(this).constructor;
|
|
102
|
+
e = Reflect.construct(o, arguments, s);
|
|
103
|
+
} else e = o.apply(this, arguments);
|
|
104
|
+
return _possibleConstructorReturn(this, e);
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function _defineProperty(e, r, t) {
|
|
108
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
109
|
+
value: t,
|
|
110
|
+
enumerable: !0,
|
|
111
|
+
configurable: !0,
|
|
112
|
+
writable: !0
|
|
113
|
+
}) : e[r] = t, e;
|
|
114
|
+
}
|
|
115
|
+
function _extends$1() {
|
|
116
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
|
|
117
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
118
|
+
var t = arguments[e];
|
|
119
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
120
|
+
}
|
|
121
|
+
return n;
|
|
122
|
+
}, _extends$1.apply(null, arguments);
|
|
123
|
+
}
|
|
124
|
+
function _getPrototypeOf(t) {
|
|
125
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
126
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
127
|
+
}, _getPrototypeOf(t);
|
|
128
|
+
}
|
|
129
|
+
function _inherits(t, e) {
|
|
130
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
131
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
132
|
+
constructor: {
|
|
133
|
+
value: t,
|
|
134
|
+
writable: !0,
|
|
135
|
+
configurable: !0
|
|
136
|
+
}
|
|
137
|
+
}), Object.defineProperty(t, "prototype", {
|
|
138
|
+
writable: !1
|
|
139
|
+
}), e && _setPrototypeOf(t, e);
|
|
140
|
+
}
|
|
141
|
+
function _isNativeReflectConstruct() {
|
|
142
|
+
try {
|
|
143
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
144
|
+
} catch (t) {}
|
|
145
|
+
return (_isNativeReflectConstruct = function () {
|
|
146
|
+
return !!t;
|
|
147
|
+
})();
|
|
148
|
+
}
|
|
149
|
+
function _iterableToArray(r) {
|
|
150
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
151
|
+
}
|
|
17
152
|
function _iterableToArrayLimit(r, l) {
|
|
18
153
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
19
154
|
if (null != t) {
|
|
@@ -41,6 +176,15 @@ function _iterableToArrayLimit(r, l) {
|
|
|
41
176
|
return a;
|
|
42
177
|
}
|
|
43
178
|
}
|
|
179
|
+
function _nonIterableRest() {
|
|
180
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
181
|
+
}
|
|
182
|
+
function _nonIterableSpread() {
|
|
183
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
184
|
+
}
|
|
185
|
+
function _objectDestructuringEmpty(t) {
|
|
186
|
+
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
187
|
+
}
|
|
44
188
|
function ownKeys(e, r) {
|
|
45
189
|
var t = Object.keys(e);
|
|
46
190
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -62,6 +206,31 @@ function _objectSpread2(e) {
|
|
|
62
206
|
}
|
|
63
207
|
return e;
|
|
64
208
|
}
|
|
209
|
+
function _objectWithoutProperties(e, t) {
|
|
210
|
+
if (null == e) return {};
|
|
211
|
+
var o,
|
|
212
|
+
r,
|
|
213
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
214
|
+
if (Object.getOwnPropertySymbols) {
|
|
215
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
216
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
217
|
+
}
|
|
218
|
+
return i;
|
|
219
|
+
}
|
|
220
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
221
|
+
if (null == r) return {};
|
|
222
|
+
var t = {};
|
|
223
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
224
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
225
|
+
t[n] = r[n];
|
|
226
|
+
}
|
|
227
|
+
return t;
|
|
228
|
+
}
|
|
229
|
+
function _possibleConstructorReturn(t, e) {
|
|
230
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
231
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
232
|
+
return _assertThisInitialized(t);
|
|
233
|
+
}
|
|
65
234
|
function _regeneratorRuntime() {
|
|
66
235
|
_regeneratorRuntime = function () {
|
|
67
236
|
return e;
|
|
@@ -170,7 +339,7 @@ function _regeneratorRuntime() {
|
|
|
170
339
|
function makeInvokeMethod(e, r, n) {
|
|
171
340
|
var o = h;
|
|
172
341
|
return function (i, a) {
|
|
173
|
-
if (o === f) throw
|
|
342
|
+
if (o === f) throw Error("Generator is already running");
|
|
174
343
|
if (o === s) {
|
|
175
344
|
if ("throw" === i) throw a;
|
|
176
345
|
return {
|
|
@@ -312,7 +481,7 @@ function _regeneratorRuntime() {
|
|
|
312
481
|
} else if (c) {
|
|
313
482
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
314
483
|
} else {
|
|
315
|
-
if (!u) throw
|
|
484
|
+
if (!u) throw Error("try statement without catch or finally");
|
|
316
485
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
317
486
|
}
|
|
318
487
|
}
|
|
@@ -352,7 +521,7 @@ function _regeneratorRuntime() {
|
|
|
352
521
|
return o;
|
|
353
522
|
}
|
|
354
523
|
}
|
|
355
|
-
throw
|
|
524
|
+
throw Error("illegal catch attempt");
|
|
356
525
|
},
|
|
357
526
|
delegateYield: function (e, r, n) {
|
|
358
527
|
return this.delegate = {
|
|
@@ -363,6 +532,31 @@ function _regeneratorRuntime() {
|
|
|
363
532
|
}
|
|
364
533
|
}, e;
|
|
365
534
|
}
|
|
535
|
+
function _setPrototypeOf(t, e) {
|
|
536
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
537
|
+
return t.__proto__ = e, t;
|
|
538
|
+
}, _setPrototypeOf(t, e);
|
|
539
|
+
}
|
|
540
|
+
function _slicedToArray(r, e) {
|
|
541
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
542
|
+
}
|
|
543
|
+
function _toConsumableArray(r) {
|
|
544
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
545
|
+
}
|
|
546
|
+
function _toPrimitive(t, r) {
|
|
547
|
+
if ("object" != typeof t || !t) return t;
|
|
548
|
+
var e = t[Symbol.toPrimitive];
|
|
549
|
+
if (void 0 !== e) {
|
|
550
|
+
var i = e.call(t, r || "default");
|
|
551
|
+
if ("object" != typeof i) return i;
|
|
552
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
553
|
+
}
|
|
554
|
+
return ("string" === r ? String : Number)(t);
|
|
555
|
+
}
|
|
556
|
+
function _toPropertyKey(t) {
|
|
557
|
+
var i = _toPrimitive(t, "string");
|
|
558
|
+
return "symbol" == typeof i ? i : i + "";
|
|
559
|
+
}
|
|
366
560
|
function _typeof(o) {
|
|
367
561
|
"@babel/helpers - typeof";
|
|
368
562
|
|
|
@@ -372,252 +566,13 @@ function _typeof(o) {
|
|
|
372
566
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
373
567
|
}, _typeof(o);
|
|
374
568
|
}
|
|
375
|
-
function
|
|
376
|
-
if (
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
function _defineProperties(target, props) {
|
|
381
|
-
for (var i = 0; i < props.length; i++) {
|
|
382
|
-
var descriptor = props[i];
|
|
383
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
384
|
-
descriptor.configurable = true;
|
|
385
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
386
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
390
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
391
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
392
|
-
writable: false
|
|
393
|
-
});
|
|
394
|
-
return Constructor;
|
|
395
|
-
}
|
|
396
|
-
function _defineProperty(obj, key, value) {
|
|
397
|
-
key = _toPropertyKey(key);
|
|
398
|
-
if (key in obj) {
|
|
399
|
-
Object.defineProperty(obj, key, {
|
|
400
|
-
value: value,
|
|
401
|
-
enumerable: true,
|
|
402
|
-
configurable: true,
|
|
403
|
-
writable: true
|
|
404
|
-
});
|
|
405
|
-
} else {
|
|
406
|
-
obj[key] = value;
|
|
407
|
-
}
|
|
408
|
-
return obj;
|
|
409
|
-
}
|
|
410
|
-
function _extends$1() {
|
|
411
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
412
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
413
|
-
var source = arguments[i];
|
|
414
|
-
for (var key in source) {
|
|
415
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
416
|
-
target[key] = source[key];
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
return target;
|
|
421
|
-
};
|
|
422
|
-
return _extends$1.apply(this, arguments);
|
|
423
|
-
}
|
|
424
|
-
function _inherits(subClass, superClass) {
|
|
425
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
426
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
427
|
-
}
|
|
428
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
429
|
-
constructor: {
|
|
430
|
-
value: subClass,
|
|
431
|
-
writable: true,
|
|
432
|
-
configurable: true
|
|
433
|
-
}
|
|
434
|
-
});
|
|
435
|
-
Object.defineProperty(subClass, "prototype", {
|
|
436
|
-
writable: false
|
|
437
|
-
});
|
|
438
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
439
|
-
}
|
|
440
|
-
function _getPrototypeOf(o) {
|
|
441
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
442
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
443
|
-
};
|
|
444
|
-
return _getPrototypeOf(o);
|
|
445
|
-
}
|
|
446
|
-
function _setPrototypeOf(o, p) {
|
|
447
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
448
|
-
o.__proto__ = p;
|
|
449
|
-
return o;
|
|
450
|
-
};
|
|
451
|
-
return _setPrototypeOf(o, p);
|
|
452
|
-
}
|
|
453
|
-
function _isNativeReflectConstruct() {
|
|
454
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
455
|
-
if (Reflect.construct.sham) return false;
|
|
456
|
-
if (typeof Proxy === "function") return true;
|
|
457
|
-
try {
|
|
458
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
459
|
-
return true;
|
|
460
|
-
} catch (e) {
|
|
461
|
-
return false;
|
|
569
|
+
function _unsupportedIterableToArray(r, a) {
|
|
570
|
+
if (r) {
|
|
571
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
572
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
573
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
462
574
|
}
|
|
463
575
|
}
|
|
464
|
-
function _objectDestructuringEmpty(obj) {
|
|
465
|
-
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
466
|
-
}
|
|
467
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
468
|
-
if (source == null) return {};
|
|
469
|
-
var target = {};
|
|
470
|
-
var sourceKeys = Object.keys(source);
|
|
471
|
-
var key, i;
|
|
472
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
473
|
-
key = sourceKeys[i];
|
|
474
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
475
|
-
target[key] = source[key];
|
|
476
|
-
}
|
|
477
|
-
return target;
|
|
478
|
-
}
|
|
479
|
-
function _objectWithoutProperties(source, excluded) {
|
|
480
|
-
if (source == null) return {};
|
|
481
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
482
|
-
var key, i;
|
|
483
|
-
if (Object.getOwnPropertySymbols) {
|
|
484
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
485
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
486
|
-
key = sourceSymbolKeys[i];
|
|
487
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
488
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
489
|
-
target[key] = source[key];
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
return target;
|
|
493
|
-
}
|
|
494
|
-
function _assertThisInitialized(self) {
|
|
495
|
-
if (self === void 0) {
|
|
496
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
497
|
-
}
|
|
498
|
-
return self;
|
|
499
|
-
}
|
|
500
|
-
function _possibleConstructorReturn(self, call) {
|
|
501
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
502
|
-
return call;
|
|
503
|
-
} else if (call !== void 0) {
|
|
504
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
505
|
-
}
|
|
506
|
-
return _assertThisInitialized(self);
|
|
507
|
-
}
|
|
508
|
-
function _createSuper(Derived) {
|
|
509
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
510
|
-
return function _createSuperInternal() {
|
|
511
|
-
var Super = _getPrototypeOf(Derived),
|
|
512
|
-
result;
|
|
513
|
-
if (hasNativeReflectConstruct) {
|
|
514
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
515
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
516
|
-
} else {
|
|
517
|
-
result = Super.apply(this, arguments);
|
|
518
|
-
}
|
|
519
|
-
return _possibleConstructorReturn(this, result);
|
|
520
|
-
};
|
|
521
|
-
}
|
|
522
|
-
function _slicedToArray(arr, i) {
|
|
523
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
524
|
-
}
|
|
525
|
-
function _toConsumableArray(arr) {
|
|
526
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
527
|
-
}
|
|
528
|
-
function _arrayWithoutHoles(arr) {
|
|
529
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
530
|
-
}
|
|
531
|
-
function _arrayWithHoles(arr) {
|
|
532
|
-
if (Array.isArray(arr)) return arr;
|
|
533
|
-
}
|
|
534
|
-
function _iterableToArray(iter) {
|
|
535
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
536
|
-
}
|
|
537
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
538
|
-
if (!o) return;
|
|
539
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
540
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
541
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
542
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
543
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
544
|
-
}
|
|
545
|
-
function _arrayLikeToArray(arr, len) {
|
|
546
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
547
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
548
|
-
return arr2;
|
|
549
|
-
}
|
|
550
|
-
function _nonIterableSpread() {
|
|
551
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
552
|
-
}
|
|
553
|
-
function _nonIterableRest() {
|
|
554
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
555
|
-
}
|
|
556
|
-
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
557
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
558
|
-
if (!it) {
|
|
559
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
|
|
560
|
-
if (it) o = it;
|
|
561
|
-
var i = 0;
|
|
562
|
-
var F = function () {};
|
|
563
|
-
return {
|
|
564
|
-
s: F,
|
|
565
|
-
n: function () {
|
|
566
|
-
if (i >= o.length) return {
|
|
567
|
-
done: true
|
|
568
|
-
};
|
|
569
|
-
return {
|
|
570
|
-
done: false,
|
|
571
|
-
value: o[i++]
|
|
572
|
-
};
|
|
573
|
-
},
|
|
574
|
-
e: function (e) {
|
|
575
|
-
throw e;
|
|
576
|
-
},
|
|
577
|
-
f: F
|
|
578
|
-
};
|
|
579
|
-
}
|
|
580
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
581
|
-
}
|
|
582
|
-
var normalCompletion = true,
|
|
583
|
-
didErr = false,
|
|
584
|
-
err;
|
|
585
|
-
return {
|
|
586
|
-
s: function () {
|
|
587
|
-
it = it.call(o);
|
|
588
|
-
},
|
|
589
|
-
n: function () {
|
|
590
|
-
var step = it.next();
|
|
591
|
-
normalCompletion = step.done;
|
|
592
|
-
return step;
|
|
593
|
-
},
|
|
594
|
-
e: function (e) {
|
|
595
|
-
didErr = true;
|
|
596
|
-
err = e;
|
|
597
|
-
},
|
|
598
|
-
f: function () {
|
|
599
|
-
try {
|
|
600
|
-
if (!normalCompletion && it.return != null) it.return();
|
|
601
|
-
} finally {
|
|
602
|
-
if (didErr) throw err;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
}
|
|
607
|
-
function _toPrimitive(input, hint) {
|
|
608
|
-
if (typeof input !== "object" || input === null) return input;
|
|
609
|
-
var prim = input[Symbol.toPrimitive];
|
|
610
|
-
if (prim !== undefined) {
|
|
611
|
-
var res = prim.call(input, hint || "default");
|
|
612
|
-
if (typeof res !== "object") return res;
|
|
613
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
614
|
-
}
|
|
615
|
-
return (hint === "string" ? String : Number)(input);
|
|
616
|
-
}
|
|
617
|
-
function _toPropertyKey(arg) {
|
|
618
|
-
var key = _toPrimitive(arg, "string");
|
|
619
|
-
return typeof key === "symbol" ? key : String(key);
|
|
620
|
-
}
|
|
621
576
|
|
|
622
577
|
var BASE_BORDER_WIDTH = 1;
|
|
623
578
|
var BASE_SPACE = 8;
|
|
@@ -2637,7 +2592,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2637
2592
|
warning: theme.colors.onWarningSurface,
|
|
2638
2593
|
archived: theme.colors.onArchivedSurface,
|
|
2639
2594
|
text: theme.colors.onDarkGlobalSurface,
|
|
2640
|
-
border: theme.colors.defaultGlobalSurface
|
|
2595
|
+
border: theme.colors.defaultGlobalSurface,
|
|
2596
|
+
countText: theme.colors.onDarkGlobalSurface
|
|
2641
2597
|
};
|
|
2642
2598
|
var fonts = {
|
|
2643
2599
|
medium: theme.fonts.neutral.regular,
|
|
@@ -2649,11 +2605,20 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2649
2605
|
icon: {
|
|
2650
2606
|
medium: theme.fontSizes.small,
|
|
2651
2607
|
small: 8
|
|
2652
|
-
}
|
|
2608
|
+
},
|
|
2609
|
+
count: 6
|
|
2653
2610
|
};
|
|
2654
2611
|
var lineHeights = {
|
|
2655
2612
|
medium: theme.lineHeights.small,
|
|
2656
|
-
small: 10
|
|
2613
|
+
small: 10,
|
|
2614
|
+
count: Platform.select({
|
|
2615
|
+
android: 11,
|
|
2616
|
+
// vertical alignment
|
|
2617
|
+
"default": 12
|
|
2618
|
+
})
|
|
2619
|
+
};
|
|
2620
|
+
var radii = {
|
|
2621
|
+
count: theme.radii.rounded
|
|
2657
2622
|
};
|
|
2658
2623
|
var sizes = {
|
|
2659
2624
|
medium: {
|
|
@@ -2665,7 +2630,11 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2665
2630
|
minWidth: theme.sizes.medium
|
|
2666
2631
|
},
|
|
2667
2632
|
statusHeight: theme.sizes.small,
|
|
2668
|
-
statusWidth: theme.sizes.small
|
|
2633
|
+
statusWidth: theme.sizes.small,
|
|
2634
|
+
count: {
|
|
2635
|
+
width: theme.sizes.smallMedium,
|
|
2636
|
+
height: theme.sizes.smallMedium
|
|
2637
|
+
}
|
|
2669
2638
|
};
|
|
2670
2639
|
var borderWidths = {
|
|
2671
2640
|
"default": theme.borderWidths.medium
|
|
@@ -2678,7 +2647,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2678
2647
|
horizontalPadding: theme.space.xsmall
|
|
2679
2648
|
},
|
|
2680
2649
|
statusPositionTop: -theme.space.xxsmall,
|
|
2681
|
-
statusPositionRight: -theme.space.xxsmall
|
|
2650
|
+
statusPositionRight: -theme.space.xxsmall,
|
|
2651
|
+
countPaddingHorizontal: theme.space.xxsmall
|
|
2682
2652
|
};
|
|
2683
2653
|
return {
|
|
2684
2654
|
colors: colors,
|
|
@@ -2687,7 +2657,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2687
2657
|
sizes: sizes,
|
|
2688
2658
|
space: space,
|
|
2689
2659
|
lineHeights: lineHeights,
|
|
2690
|
-
borderWidths: borderWidths
|
|
2660
|
+
borderWidths: borderWidths,
|
|
2661
|
+
radii: radii
|
|
2691
2662
|
};
|
|
2692
2663
|
};
|
|
2693
2664
|
|
|
@@ -2823,7 +2794,16 @@ var getButtonTheme = function getButtonTheme(theme) {
|
|
|
2823
2794
|
}
|
|
2824
2795
|
};
|
|
2825
2796
|
var lineHeights = {
|
|
2826
|
-
titleOfTextVariant: theme.lineHeights.medium
|
|
2797
|
+
titleOfTextVariant: theme.lineHeights.medium,
|
|
2798
|
+
buttonText: Platform.select({
|
|
2799
|
+
android: theme.lineHeights.medium + theme.space.xxsmall
|
|
2800
|
+
}),
|
|
2801
|
+
utilityButtonText: Platform.select({
|
|
2802
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2803
|
+
}),
|
|
2804
|
+
compactButtonText: Platform.select({
|
|
2805
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2806
|
+
})
|
|
2827
2807
|
};
|
|
2828
2808
|
return {
|
|
2829
2809
|
lineHeights: lineHeights,
|
|
@@ -3402,41 +3382,39 @@ var getPinInputTheme = function getPinInputTheme(theme) {
|
|
|
3402
3382
|
};
|
|
3403
3383
|
|
|
3404
3384
|
var getProgressTheme = function getProgressTheme(theme) {
|
|
3405
|
-
var lightenScaleOnInverted = 20;
|
|
3406
3385
|
var colors = {
|
|
3407
3386
|
completeness: {
|
|
3408
3387
|
primary: theme.colors.primary,
|
|
3409
3388
|
success: theme.colors.success,
|
|
3410
|
-
// should be emerald dark 15
|
|
3411
3389
|
warning: theme.colors.warning,
|
|
3412
3390
|
danger: theme.colors.error,
|
|
3413
3391
|
info: theme.colors.info,
|
|
3414
3392
|
archived: theme.colors.onArchivedSurface,
|
|
3415
|
-
primaryInverted: theme.colors.
|
|
3416
|
-
successInverted: theme.colors.
|
|
3417
|
-
warningInverted: theme.colors.
|
|
3418
|
-
dangerInverted: theme.colors.
|
|
3419
|
-
infoInverted: theme.colors.
|
|
3420
|
-
archivedInverted: theme.colors.
|
|
3393
|
+
primaryInverted: theme.colors.white,
|
|
3394
|
+
successInverted: theme.colors.white,
|
|
3395
|
+
warningInverted: theme.colors.white,
|
|
3396
|
+
dangerInverted: theme.colors.white,
|
|
3397
|
+
infoInverted: theme.colors.white,
|
|
3398
|
+
archivedInverted: theme.colors.white
|
|
3421
3399
|
},
|
|
3422
3400
|
incompleteness: {
|
|
3423
|
-
primary: theme.colors.
|
|
3424
|
-
success: theme.colors.
|
|
3425
|
-
warning: theme.colors.
|
|
3426
|
-
danger: theme.colors.
|
|
3427
|
-
info: theme.colors.
|
|
3428
|
-
archived: theme.colors.
|
|
3429
|
-
primaryInverted:
|
|
3430
|
-
successInverted: theme.colors.
|
|
3431
|
-
warningInverted: theme.colors.
|
|
3432
|
-
dangerInverted: theme.colors.
|
|
3433
|
-
infoInverted: theme.colors.
|
|
3434
|
-
archivedInverted: theme.colors.
|
|
3401
|
+
primary: theme.colors.overlayGlobalSurface,
|
|
3402
|
+
success: theme.colors.overlayGlobalSurface,
|
|
3403
|
+
warning: theme.colors.overlayGlobalSurface,
|
|
3404
|
+
danger: theme.colors.overlayGlobalSurface,
|
|
3405
|
+
info: theme.colors.overlayGlobalSurface,
|
|
3406
|
+
archived: theme.colors.overlayGlobalSurface,
|
|
3407
|
+
primaryInverted: theme.colors.overlayGlobalSurface,
|
|
3408
|
+
successInverted: theme.colors.overlayGlobalSurface,
|
|
3409
|
+
warningInverted: theme.colors.overlayGlobalSurface,
|
|
3410
|
+
dangerInverted: theme.colors.overlayGlobalSurface,
|
|
3411
|
+
infoInverted: theme.colors.overlayGlobalSurface,
|
|
3412
|
+
archivedInverted: theme.colors.overlayGlobalSurface
|
|
3435
3413
|
},
|
|
3436
3414
|
step: {
|
|
3437
3415
|
complete: theme.colors.primary,
|
|
3438
3416
|
incomplete: theme.colors.archivedSurface,
|
|
3439
|
-
current:
|
|
3417
|
+
current: theme.colors.decorativePrimarySurface
|
|
3440
3418
|
}
|
|
3441
3419
|
};
|
|
3442
3420
|
var sizes = {
|
|
@@ -4018,7 +3996,9 @@ var getToolbarTheme = function getToolbarTheme(theme) {
|
|
|
4018
3996
|
danger: theme.colors.onErrorSurface,
|
|
4019
3997
|
disabled: theme.colors.disabledOnDefaultGlobalSurface,
|
|
4020
3998
|
iconButtonBackground: theme.colors.highlightedSurface,
|
|
4021
|
-
inputContainerBackground: theme.colors.neutralGlobalSurface
|
|
3999
|
+
inputContainerBackground: theme.colors.neutralGlobalSurface,
|
|
4000
|
+
text: theme.colors.onDefaultGlobalSurface,
|
|
4001
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4022
4002
|
};
|
|
4023
4003
|
var space = {
|
|
4024
4004
|
verticalPadding: theme.space.small,
|
|
@@ -4236,17 +4216,16 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4236
4216
|
var colors = {
|
|
4237
4217
|
basic: {
|
|
4238
4218
|
containerBackground: theme.colors.neutralGlobalSurface,
|
|
4239
|
-
border: theme.colors.neutralGlobalSurface
|
|
4240
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4219
|
+
border: theme.colors.neutralGlobalSurface
|
|
4241
4220
|
},
|
|
4242
4221
|
reversed: {
|
|
4243
4222
|
containerBackground: theme.colors.defaultGlobalSurface,
|
|
4244
|
-
border: theme.colors.secondaryOutline
|
|
4245
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4223
|
+
border: theme.colors.secondaryOutline
|
|
4246
4224
|
},
|
|
4247
4225
|
suffixBackground: theme.colors.defaultGlobalSurface,
|
|
4248
4226
|
text: theme.colors.onDefaultGlobalSurface,
|
|
4249
|
-
shadow: theme.colors.primaryOutline
|
|
4227
|
+
shadow: theme.colors.primaryOutline,
|
|
4228
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4250
4229
|
};
|
|
4251
4230
|
var shadows = {
|
|
4252
4231
|
container: theme.shadows["default"]
|
|
@@ -4269,14 +4248,7 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4269
4248
|
};
|
|
4270
4249
|
var borderWidths = {
|
|
4271
4250
|
container: {
|
|
4272
|
-
|
|
4273
|
-
normal: theme.borderWidths.medium,
|
|
4274
|
-
focused: theme.borderWidths.medium
|
|
4275
|
-
},
|
|
4276
|
-
reversed: {
|
|
4277
|
-
normal: theme.borderWidths.base,
|
|
4278
|
-
focused: theme.borderWidths.medium
|
|
4279
|
-
}
|
|
4251
|
+
"default": theme.borderWidths.base
|
|
4280
4252
|
}
|
|
4281
4253
|
};
|
|
4282
4254
|
var radii = {
|
|
@@ -7536,7 +7508,7 @@ var StyledText$3 = index$a(Text$1)(function (_ref) {
|
|
|
7536
7508
|
});
|
|
7537
7509
|
});
|
|
7538
7510
|
|
|
7539
|
-
var _excluded$
|
|
7511
|
+
var _excluded$M = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
7540
7512
|
var Text = function Text(_ref) {
|
|
7541
7513
|
var children = _ref.children,
|
|
7542
7514
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -7549,7 +7521,7 @@ var Text = function Text(_ref) {
|
|
|
7549
7521
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7550
7522
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7551
7523
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7552
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7524
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
7553
7525
|
useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
|
|
7554
7526
|
return /*#__PURE__*/React__default.createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
7555
7527
|
themeFontSize: fontSize,
|
|
@@ -7579,7 +7551,7 @@ var StyledCaption = index$a(Text$1)(function (_ref) {
|
|
|
7579
7551
|
};
|
|
7580
7552
|
});
|
|
7581
7553
|
|
|
7582
|
-
var _excluded$
|
|
7554
|
+
var _excluded$L = ["children", "fontWeight", "intent", "allowFontScaling"];
|
|
7583
7555
|
var Caption = function Caption(_ref) {
|
|
7584
7556
|
var children = _ref.children,
|
|
7585
7557
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -7588,7 +7560,7 @@ var Caption = function Caption(_ref) {
|
|
|
7588
7560
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7589
7561
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7590
7562
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7591
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7563
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$L);
|
|
7592
7564
|
return /*#__PURE__*/React__default.createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
7593
7565
|
themeFontWeight: fontWeight,
|
|
7594
7566
|
themeIntent: intent,
|
|
@@ -7607,14 +7579,14 @@ var StyledLabel$1 = index$a(Text$1)(function (_ref) {
|
|
|
7607
7579
|
};
|
|
7608
7580
|
});
|
|
7609
7581
|
|
|
7610
|
-
var _excluded$
|
|
7582
|
+
var _excluded$K = ["children", "intent", "allowFontScaling"];
|
|
7611
7583
|
var Label = function Label(_ref) {
|
|
7612
7584
|
var children = _ref.children,
|
|
7613
7585
|
_ref$intent = _ref.intent,
|
|
7614
7586
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7615
7587
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7616
7588
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7617
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7589
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$K);
|
|
7618
7590
|
return /*#__PURE__*/React__default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
|
|
7619
7591
|
themeIntent: intent,
|
|
7620
7592
|
allowFontScaling: allowFontScaling
|
|
@@ -7635,7 +7607,7 @@ var StyledTitle$1 = index$a(Text$1)(function (_ref) {
|
|
|
7635
7607
|
};
|
|
7636
7608
|
});
|
|
7637
7609
|
|
|
7638
|
-
var _excluded$
|
|
7610
|
+
var _excluded$J = ["children", "intent", "allowFontScaling", "level", "typeface"];
|
|
7639
7611
|
var Title = function Title(_ref) {
|
|
7640
7612
|
var children = _ref.children,
|
|
7641
7613
|
_ref$intent = _ref.intent,
|
|
@@ -7646,7 +7618,7 @@ var Title = function Title(_ref) {
|
|
|
7646
7618
|
level = _ref$level === void 0 ? 'h1' : _ref$level,
|
|
7647
7619
|
_ref$typeface = _ref.typeface,
|
|
7648
7620
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7649
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7621
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$J);
|
|
7650
7622
|
return /*#__PURE__*/React__default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
7651
7623
|
themeLevel: level,
|
|
7652
7624
|
themeTypeface: typeface,
|
|
@@ -7681,7 +7653,7 @@ var StyledBody$2 = index$a(Text$1)(function (_ref) {
|
|
|
7681
7653
|
};
|
|
7682
7654
|
});
|
|
7683
7655
|
|
|
7684
|
-
var _excluded$
|
|
7656
|
+
var _excluded$I = ["children", "intent", "allowFontScaling", "typeface", "variant"];
|
|
7685
7657
|
var Body = function Body(_ref) {
|
|
7686
7658
|
var children = _ref.children,
|
|
7687
7659
|
_ref$intent = _ref.intent,
|
|
@@ -7692,7 +7664,7 @@ var Body = function Body(_ref) {
|
|
|
7692
7664
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7693
7665
|
_ref$variant = _ref.variant,
|
|
7694
7666
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
7695
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7667
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$I);
|
|
7696
7668
|
return /*#__PURE__*/React__default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
|
|
7697
7669
|
themeTypeface: typeface,
|
|
7698
7670
|
themeIntent: intent,
|
|
@@ -7710,7 +7682,7 @@ var Typography = {
|
|
|
7710
7682
|
};
|
|
7711
7683
|
|
|
7712
7684
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
7713
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
7685
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
|
|
7714
7686
|
|
|
7715
7687
|
var activate = 59000;
|
|
7716
7688
|
var adjustment = 59003;
|
|
@@ -7788,22 +7760,22 @@ var wallet = 59189;
|
|
|
7788
7760
|
var warning = 59190;
|
|
7789
7761
|
var add = 59197;
|
|
7790
7762
|
var bold = 59227;
|
|
7791
|
-
var cancel =
|
|
7792
|
-
var checkmark =
|
|
7793
|
-
var italic =
|
|
7794
|
-
var local_mall_outlined =
|
|
7795
|
-
var number =
|
|
7796
|
-
var percentage =
|
|
7797
|
-
var redeem =
|
|
7798
|
-
var refresh =
|
|
7799
|
-
var remove =
|
|
7800
|
-
var restart =
|
|
7801
|
-
var shopping_basket_outlined =
|
|
7802
|
-
var strikethrough =
|
|
7803
|
-
var sync =
|
|
7804
|
-
var transfer =
|
|
7805
|
-
var unavailable =
|
|
7806
|
-
var underline =
|
|
7763
|
+
var cancel = 59244;
|
|
7764
|
+
var checkmark = 59250;
|
|
7765
|
+
var italic = 59346;
|
|
7766
|
+
var local_mall_outlined = 59353;
|
|
7767
|
+
var number = 59376;
|
|
7768
|
+
var percentage = 59382;
|
|
7769
|
+
var redeem = 59392;
|
|
7770
|
+
var refresh = 59393;
|
|
7771
|
+
var remove = 59394;
|
|
7772
|
+
var restart = 59396;
|
|
7773
|
+
var shopping_basket_outlined = 59413;
|
|
7774
|
+
var strikethrough = 59428;
|
|
7775
|
+
var sync = 59434;
|
|
7776
|
+
var transfer = 59443;
|
|
7777
|
+
var unavailable = 59448;
|
|
7778
|
+
var underline = 59449;
|
|
7807
7779
|
var glyphMap = {
|
|
7808
7780
|
activate: activate,
|
|
7809
7781
|
"add-emoji": 59001,
|
|
@@ -8043,228 +8015,230 @@ var glyphMap = {
|
|
|
8043
8015
|
"box-outlined": 59235,
|
|
8044
8016
|
"bullet-points": 59236,
|
|
8045
8017
|
"cake-outlined": 59237,
|
|
8046
|
-
"
|
|
8047
|
-
"calendar-
|
|
8048
|
-
"
|
|
8049
|
-
"call-
|
|
8050
|
-
"
|
|
8018
|
+
"calculator-outlined": 59238,
|
|
8019
|
+
"calendar-dates-outlined": 59239,
|
|
8020
|
+
"calendar-star-outlined": 59240,
|
|
8021
|
+
"call-outlined": 59241,
|
|
8022
|
+
"call-split-outlined": 59242,
|
|
8023
|
+
"camera-outlined": 59243,
|
|
8051
8024
|
cancel: cancel,
|
|
8052
|
-
"car-forward-outlined":
|
|
8053
|
-
"cashback-outlined":
|
|
8054
|
-
"charging-station-outlined":
|
|
8055
|
-
"chat-bubble-outlined":
|
|
8056
|
-
"chat-unread-outlined":
|
|
8025
|
+
"car-forward-outlined": 59245,
|
|
8026
|
+
"cashback-outlined": 59246,
|
|
8027
|
+
"charging-station-outlined": 59247,
|
|
8028
|
+
"chat-bubble-outlined": 59248,
|
|
8029
|
+
"chat-unread-outlined": 59249,
|
|
8057
8030
|
checkmark: checkmark,
|
|
8058
|
-
"circle-add-outlined":
|
|
8059
|
-
"circle-cancel-outlined":
|
|
8060
|
-
"circle-down-outlined":
|
|
8061
|
-
"circle-info-outlined":
|
|
8062
|
-
"circle-left-outlined":
|
|
8063
|
-
"circle-ok-outlined":
|
|
8064
|
-
"circle-question-outlined":
|
|
8065
|
-
"circle-remove-outlined":
|
|
8066
|
-
"circle-right-outlined":
|
|
8067
|
-
"circle-up-outlined":
|
|
8068
|
-
"circle-warning-outlined":
|
|
8069
|
-
"clock-2-outlined":
|
|
8070
|
-
"clock-in-outlined":
|
|
8071
|
-
"clock-out-outlined":
|
|
8072
|
-
"clock-outlined":
|
|
8073
|
-
"cog-outlined":
|
|
8074
|
-
"coin-outlined":
|
|
8075
|
-
"coin-super-outlined":
|
|
8076
|
-
"comment-outlined":
|
|
8077
|
-
"contacts-outlined":
|
|
8078
|
-
"contacts-user-outlined":
|
|
8079
|
-
"credit-card-outlined":
|
|
8080
|
-
"cultural-site-outlined":
|
|
8081
|
-
"cup-outlined":
|
|
8082
|
-
"dentistry-outlined":
|
|
8083
|
-
"direction-arrows-outlined":
|
|
8084
|
-
"directory-outlined":
|
|
8085
|
-
"document-outlined":
|
|
8086
|
-
"dollar-box-outlined":
|
|
8087
|
-
"dollar-card-outlined":
|
|
8088
|
-
"dollar-coin-shine-outlined":
|
|
8089
|
-
"dollar-credit-card-outlined":
|
|
8090
|
-
"dollar-sign":
|
|
8091
|
-
"double-buildings-outlined":
|
|
8092
|
-
"double-left-arrows":
|
|
8093
|
-
"double-right-arrows":
|
|
8094
|
-
"download-box-outlined":
|
|
8095
|
-
"download-outlined":
|
|
8096
|
-
"edit-template-outlined":
|
|
8097
|
-
"electronics-outlined":
|
|
8098
|
-
"email-outlined":
|
|
8099
|
-
"end-break-outlined":
|
|
8100
|
-
"enter-arrow":
|
|
8101
|
-
"entertainment-outlined":
|
|
8102
|
-
"envelope-outlined":
|
|
8103
|
-
"evening-outlined":
|
|
8104
|
-
"expense-approval-outlined":
|
|
8105
|
-
"expense-outlined":
|
|
8106
|
-
"explore-outlined":
|
|
8107
|
-
"extension-outlined":
|
|
8108
|
-
"external-link":
|
|
8109
|
-
"eye-invisible-outlined":
|
|
8110
|
-
"eye-outlined":
|
|
8111
|
-
"face-id":
|
|
8112
|
-
"face-meh-outlined":
|
|
8113
|
-
"face-open-smiley-outlined":
|
|
8114
|
-
"face-sad-outlined":
|
|
8115
|
-
"face-smiley-outlined":
|
|
8116
|
-
"fastfood-outlined":
|
|
8117
|
-
"feed-outlined":
|
|
8118
|
-
"file-certified-outlined":
|
|
8119
|
-
"file-clone-outlined":
|
|
8120
|
-
"file-copy-outlined":
|
|
8121
|
-
"file-dispose-outlined":
|
|
8122
|
-
"file-dollar-certified-outlined":
|
|
8123
|
-
"file-dollar-outlined":
|
|
8124
|
-
"file-download-outlined":
|
|
8125
|
-
"file-export-outlined":
|
|
8126
|
-
"file-lock-outlined":
|
|
8127
|
-
"file-outlined":
|
|
8128
|
-
"file-search-outlined":
|
|
8129
|
-
"file-secured-outlined":
|
|
8130
|
-
"file-statutory-outlined":
|
|
8131
|
-
"file-verified-outlined":
|
|
8132
|
-
"filter-outlined":
|
|
8133
|
-
"fitness-outlined":
|
|
8134
|
-
"folder-outlined":
|
|
8135
|
-
"folder-upload-outlined":
|
|
8136
|
-
"folder-user-outlined":
|
|
8137
|
-
"form-outlined":
|
|
8138
|
-
"funnel-filter-outline":
|
|
8139
|
-
"goal-outlined":
|
|
8140
|
-
"graph-outlined":
|
|
8141
|
-
"grocery-outlined":
|
|
8142
|
-
"hand-holding-user-outlined":
|
|
8143
|
-
"handshake-outlined":
|
|
8144
|
-
"happy-sun-outlined":
|
|
8145
|
-
"health-bag-outlined":
|
|
8146
|
-
"heart-outlined":
|
|
8147
|
-
"home-active-outlined":
|
|
8148
|
-
"home-outlined":
|
|
8149
|
-
"id-card-outlined":
|
|
8150
|
-
"image-outlined":
|
|
8151
|
-
"import-outlined":
|
|
8152
|
-
"instapay-outlined":
|
|
8031
|
+
"circle-add-outlined": 59251,
|
|
8032
|
+
"circle-cancel-outlined": 59252,
|
|
8033
|
+
"circle-down-outlined": 59253,
|
|
8034
|
+
"circle-info-outlined": 59254,
|
|
8035
|
+
"circle-left-outlined": 59255,
|
|
8036
|
+
"circle-ok-outlined": 59256,
|
|
8037
|
+
"circle-question-outlined": 59257,
|
|
8038
|
+
"circle-remove-outlined": 59258,
|
|
8039
|
+
"circle-right-outlined": 59259,
|
|
8040
|
+
"circle-up-outlined": 59260,
|
|
8041
|
+
"circle-warning-outlined": 59261,
|
|
8042
|
+
"clock-2-outlined": 59262,
|
|
8043
|
+
"clock-in-outlined": 59263,
|
|
8044
|
+
"clock-out-outlined": 59264,
|
|
8045
|
+
"clock-outlined": 59265,
|
|
8046
|
+
"cog-outlined": 59266,
|
|
8047
|
+
"coin-outlined": 59267,
|
|
8048
|
+
"coin-super-outlined": 59268,
|
|
8049
|
+
"comment-outlined": 59269,
|
|
8050
|
+
"contacts-outlined": 59270,
|
|
8051
|
+
"contacts-user-outlined": 59271,
|
|
8052
|
+
"credit-card-outlined": 59272,
|
|
8053
|
+
"cultural-site-outlined": 59273,
|
|
8054
|
+
"cup-outlined": 59274,
|
|
8055
|
+
"dentistry-outlined": 59275,
|
|
8056
|
+
"direction-arrows-outlined": 59276,
|
|
8057
|
+
"directory-outlined": 59277,
|
|
8058
|
+
"document-outlined": 59278,
|
|
8059
|
+
"dollar-box-outlined": 59279,
|
|
8060
|
+
"dollar-card-outlined": 59280,
|
|
8061
|
+
"dollar-coin-shine-outlined": 59281,
|
|
8062
|
+
"dollar-credit-card-outlined": 59282,
|
|
8063
|
+
"dollar-sign": 59283,
|
|
8064
|
+
"double-buildings-outlined": 59284,
|
|
8065
|
+
"double-left-arrows": 59285,
|
|
8066
|
+
"double-right-arrows": 59286,
|
|
8067
|
+
"download-box-outlined": 59287,
|
|
8068
|
+
"download-outlined": 59288,
|
|
8069
|
+
"edit-template-outlined": 59289,
|
|
8070
|
+
"electronics-outlined": 59290,
|
|
8071
|
+
"email-outlined": 59291,
|
|
8072
|
+
"end-break-outlined": 59292,
|
|
8073
|
+
"enter-arrow": 59293,
|
|
8074
|
+
"entertainment-outlined": 59294,
|
|
8075
|
+
"envelope-outlined": 59295,
|
|
8076
|
+
"evening-outlined": 59296,
|
|
8077
|
+
"expense-approval-outlined": 59297,
|
|
8078
|
+
"expense-outlined": 59298,
|
|
8079
|
+
"explore-outlined": 59299,
|
|
8080
|
+
"extension-outlined": 59300,
|
|
8081
|
+
"external-link": 59301,
|
|
8082
|
+
"eye-invisible-outlined": 59302,
|
|
8083
|
+
"eye-outlined": 59303,
|
|
8084
|
+
"face-id": 59304,
|
|
8085
|
+
"face-meh-outlined": 59305,
|
|
8086
|
+
"face-open-smiley-outlined": 59306,
|
|
8087
|
+
"face-sad-outlined": 59307,
|
|
8088
|
+
"face-smiley-outlined": 59308,
|
|
8089
|
+
"fastfood-outlined": 59309,
|
|
8090
|
+
"feed-outlined": 59310,
|
|
8091
|
+
"file-certified-outlined": 59311,
|
|
8092
|
+
"file-clone-outlined": 59312,
|
|
8093
|
+
"file-copy-outlined": 59313,
|
|
8094
|
+
"file-dispose-outlined": 59314,
|
|
8095
|
+
"file-dollar-certified-outlined": 59315,
|
|
8096
|
+
"file-dollar-outlined": 59316,
|
|
8097
|
+
"file-download-outlined": 59317,
|
|
8098
|
+
"file-export-outlined": 59318,
|
|
8099
|
+
"file-lock-outlined": 59319,
|
|
8100
|
+
"file-outlined": 59320,
|
|
8101
|
+
"file-search-outlined": 59321,
|
|
8102
|
+
"file-secured-outlined": 59322,
|
|
8103
|
+
"file-statutory-outlined": 59323,
|
|
8104
|
+
"file-verified-outlined": 59324,
|
|
8105
|
+
"filter-outlined": 59325,
|
|
8106
|
+
"fitness-outlined": 59326,
|
|
8107
|
+
"folder-outlined": 59327,
|
|
8108
|
+
"folder-upload-outlined": 59328,
|
|
8109
|
+
"folder-user-outlined": 59329,
|
|
8110
|
+
"form-outlined": 59330,
|
|
8111
|
+
"funnel-filter-outline": 59331,
|
|
8112
|
+
"goal-outlined": 59332,
|
|
8113
|
+
"graph-outlined": 59333,
|
|
8114
|
+
"grocery-outlined": 59334,
|
|
8115
|
+
"hand-holding-user-outlined": 59335,
|
|
8116
|
+
"handshake-outlined": 59336,
|
|
8117
|
+
"happy-sun-outlined": 59337,
|
|
8118
|
+
"health-bag-outlined": 59338,
|
|
8119
|
+
"heart-outlined": 59339,
|
|
8120
|
+
"home-active-outlined": 59340,
|
|
8121
|
+
"home-outlined": 59341,
|
|
8122
|
+
"id-card-outlined": 59342,
|
|
8123
|
+
"image-outlined": 59343,
|
|
8124
|
+
"import-outlined": 59344,
|
|
8125
|
+
"instapay-outlined": 59345,
|
|
8153
8126
|
italic: italic,
|
|
8154
|
-
"job-search-outlined":
|
|
8155
|
-
"leave-approval-outlined":
|
|
8156
|
-
"link-1":
|
|
8157
|
-
"link-2":
|
|
8158
|
-
"list-outlined":
|
|
8159
|
-
"live-help-outlined":
|
|
8127
|
+
"job-search-outlined": 59347,
|
|
8128
|
+
"leave-approval-outlined": 59348,
|
|
8129
|
+
"link-1": 59349,
|
|
8130
|
+
"link-2": 59350,
|
|
8131
|
+
"list-outlined": 59351,
|
|
8132
|
+
"live-help-outlined": 59352,
|
|
8160
8133
|
local_mall_outlined: local_mall_outlined,
|
|
8161
|
-
"location-on-outlined":
|
|
8162
|
-
"location-outlined":
|
|
8163
|
-
"lock-outlined":
|
|
8164
|
-
"locked-file-outlined":
|
|
8165
|
-
"log-out":
|
|
8166
|
-
"mail-outlined":
|
|
8167
|
-
"map-outlined":
|
|
8168
|
-
"media-content-outlined":
|
|
8169
|
-
"menu-close":
|
|
8170
|
-
"menu-expand":
|
|
8171
|
-
"menu-fold-outlined":
|
|
8172
|
-
"menu-unfold-outlined":
|
|
8173
|
-
"moneybag-outlined":
|
|
8174
|
-
"moon-outlined":
|
|
8175
|
-
"more-horizontal":
|
|
8176
|
-
"more-vertical":
|
|
8177
|
-
"morning-outlined":
|
|
8178
|
-
"multiple-folders-outlined":
|
|
8179
|
-
"multiple-users-outlined":
|
|
8180
|
-
"near-me-outlined":
|
|
8181
|
-
"node-outlined":
|
|
8182
|
-
"number-points":
|
|
8134
|
+
"location-on-outlined": 59354,
|
|
8135
|
+
"location-outlined": 59355,
|
|
8136
|
+
"lock-outlined": 59356,
|
|
8137
|
+
"locked-file-outlined": 59357,
|
|
8138
|
+
"log-out": 59358,
|
|
8139
|
+
"mail-outlined": 59359,
|
|
8140
|
+
"map-outlined": 59360,
|
|
8141
|
+
"media-content-outlined": 59361,
|
|
8142
|
+
"menu-close": 59362,
|
|
8143
|
+
"menu-expand": 59363,
|
|
8144
|
+
"menu-fold-outlined": 59364,
|
|
8145
|
+
"menu-unfold-outlined": 59365,
|
|
8146
|
+
"moneybag-outlined": 59366,
|
|
8147
|
+
"moon-outlined": 59367,
|
|
8148
|
+
"more-horizontal": 59368,
|
|
8149
|
+
"more-vertical": 59369,
|
|
8150
|
+
"morning-outlined": 59370,
|
|
8151
|
+
"multiple-folders-outlined": 59371,
|
|
8152
|
+
"multiple-users-outlined": 59372,
|
|
8153
|
+
"near-me-outlined": 59373,
|
|
8154
|
+
"node-outlined": 59374,
|
|
8155
|
+
"number-points": 59375,
|
|
8183
8156
|
number: number,
|
|
8184
|
-
"overview-outlined":
|
|
8185
|
-
"park-outlined":
|
|
8186
|
-
"payment-summary-outlined":
|
|
8187
|
-
"payslip-outlined":
|
|
8188
|
-
"pencil-outlined":
|
|
8157
|
+
"overview-outlined": 59377,
|
|
8158
|
+
"park-outlined": 59378,
|
|
8159
|
+
"payment-summary-outlined": 59379,
|
|
8160
|
+
"payslip-outlined": 59380,
|
|
8161
|
+
"pencil-outlined": 59381,
|
|
8189
8162
|
percentage: percentage,
|
|
8190
|
-
"phone-outlined":
|
|
8191
|
-
"piggy-bank-outlined":
|
|
8192
|
-
"plane-outlined":
|
|
8193
|
-
"play-circle-outlined":
|
|
8194
|
-
"print-outlined":
|
|
8195
|
-
"propane-tank-outlined":
|
|
8196
|
-
"qr-code-outlined":
|
|
8197
|
-
"qualification-outlined":
|
|
8198
|
-
"re-assign":
|
|
8163
|
+
"phone-outlined": 59383,
|
|
8164
|
+
"piggy-bank-outlined": 59384,
|
|
8165
|
+
"plane-outlined": 59385,
|
|
8166
|
+
"play-circle-outlined": 59386,
|
|
8167
|
+
"print-outlined": 59387,
|
|
8168
|
+
"propane-tank-outlined": 59388,
|
|
8169
|
+
"qr-code-outlined": 59389,
|
|
8170
|
+
"qualification-outlined": 59390,
|
|
8171
|
+
"re-assign": 59391,
|
|
8199
8172
|
redeem: redeem,
|
|
8200
8173
|
refresh: refresh,
|
|
8201
8174
|
remove: remove,
|
|
8202
|
-
"reply-outlined":
|
|
8175
|
+
"reply-outlined": 59395,
|
|
8203
8176
|
restart: restart,
|
|
8204
|
-
"restaurant-outlined":
|
|
8205
|
-
"resume-outlined":
|
|
8206
|
-
"return-arrow":
|
|
8207
|
-
"rostering-outlined":
|
|
8208
|
-
"safety-outlined":
|
|
8209
|
-
"save-outlined":
|
|
8210
|
-
"schedule-outlined":
|
|
8211
|
-
"search-outlined":
|
|
8212
|
-
"search-secured-outlined":
|
|
8213
|
-
"send-outlined":
|
|
8214
|
-
"share-1":
|
|
8215
|
-
"share-2":
|
|
8216
|
-
"share-outlined-2":
|
|
8217
|
-
"share-outlined":
|
|
8218
|
-
"
|
|
8177
|
+
"restaurant-outlined": 59397,
|
|
8178
|
+
"resume-outlined": 59398,
|
|
8179
|
+
"return-arrow": 59399,
|
|
8180
|
+
"rostering-outlined": 59400,
|
|
8181
|
+
"safety-outlined": 59401,
|
|
8182
|
+
"save-outlined": 59402,
|
|
8183
|
+
"schedule-outlined": 59403,
|
|
8184
|
+
"search-outlined": 59404,
|
|
8185
|
+
"search-secured-outlined": 59405,
|
|
8186
|
+
"send-outlined": 59406,
|
|
8187
|
+
"share-1": 59407,
|
|
8188
|
+
"share-2": 59408,
|
|
8189
|
+
"share-outlined-2": 59409,
|
|
8190
|
+
"share-outlined": 59410,
|
|
8191
|
+
"shield-check-outlined": 59411,
|
|
8192
|
+
"shop-outlined": 59412,
|
|
8219
8193
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
8220
|
-
"show-chart-outlined":
|
|
8221
|
-
"single-down-arrow":
|
|
8222
|
-
"single-left-arrow":
|
|
8223
|
-
"single-right-arrow":
|
|
8224
|
-
"single-up-arrow":
|
|
8225
|
-
"smart-match-outlined":
|
|
8226
|
-
"sparkle-outlined":
|
|
8227
|
-
"speaker-active-outlined":
|
|
8228
|
-
"speaker-outlined":
|
|
8229
|
-
"star-circle-outlined":
|
|
8230
|
-
"star-outlined":
|
|
8231
|
-
"start-break-outlined":
|
|
8232
|
-
"stash-outlined":
|
|
8233
|
-
"stopwatch-outlined":
|
|
8194
|
+
"show-chart-outlined": 59414,
|
|
8195
|
+
"single-down-arrow": 59415,
|
|
8196
|
+
"single-left-arrow": 59416,
|
|
8197
|
+
"single-right-arrow": 59417,
|
|
8198
|
+
"single-up-arrow": 59418,
|
|
8199
|
+
"smart-match-outlined": 59419,
|
|
8200
|
+
"sparkle-outlined": 59420,
|
|
8201
|
+
"speaker-active-outlined": 59421,
|
|
8202
|
+
"speaker-outlined": 59422,
|
|
8203
|
+
"star-circle-outlined": 59423,
|
|
8204
|
+
"star-outlined": 59424,
|
|
8205
|
+
"start-break-outlined": 59425,
|
|
8206
|
+
"stash-outlined": 59426,
|
|
8207
|
+
"stopwatch-outlined": 59427,
|
|
8234
8208
|
strikethrough: strikethrough,
|
|
8235
|
-
"styler-outlined":
|
|
8236
|
-
"suitcase-clock-outlined":
|
|
8237
|
-
"suitcase-outlined":
|
|
8238
|
-
"survey-outlined":
|
|
8239
|
-
"switch-outlined":
|
|
8209
|
+
"styler-outlined": 59429,
|
|
8210
|
+
"suitcase-clock-outlined": 59430,
|
|
8211
|
+
"suitcase-outlined": 59431,
|
|
8212
|
+
"survey-outlined": 59432,
|
|
8213
|
+
"switch-outlined": 59433,
|
|
8240
8214
|
sync: sync,
|
|
8241
|
-
"tag-outlined":
|
|
8242
|
-
"target-outlined":
|
|
8243
|
-
"tennis-outlined":
|
|
8244
|
-
"thumb-down-outlined":
|
|
8245
|
-
"ticket-outlined":
|
|
8246
|
-
"timesheet-outlined":
|
|
8247
|
-
"timesheets-outlined":
|
|
8248
|
-
"today-outlined":
|
|
8215
|
+
"tag-outlined": 59435,
|
|
8216
|
+
"target-outlined": 59436,
|
|
8217
|
+
"tennis-outlined": 59437,
|
|
8218
|
+
"thumb-down-outlined": 59438,
|
|
8219
|
+
"ticket-outlined": 59439,
|
|
8220
|
+
"timesheet-outlined": 59440,
|
|
8221
|
+
"timesheets-outlined": 59441,
|
|
8222
|
+
"today-outlined": 59442,
|
|
8249
8223
|
transfer: transfer,
|
|
8250
|
-
"transportation-outlined":
|
|
8251
|
-
"trash-bin-outlined":
|
|
8252
|
-
"umbrela-outlined":
|
|
8253
|
-
"unavailability-outlined":
|
|
8224
|
+
"transportation-outlined": 59444,
|
|
8225
|
+
"trash-bin-outlined": 59445,
|
|
8226
|
+
"umbrela-outlined": 59446,
|
|
8227
|
+
"unavailability-outlined": 59447,
|
|
8254
8228
|
unavailable: unavailable,
|
|
8255
8229
|
underline: underline,
|
|
8256
|
-
"union-outlined":
|
|
8257
|
-
"unlock-outlined":
|
|
8258
|
-
"upload-outlined":
|
|
8259
|
-
"user-circle-outlined":
|
|
8260
|
-
"user-gear-outlined":
|
|
8261
|
-
"user-outlined":
|
|
8262
|
-
"user-rectangle-outlined":
|
|
8263
|
-
"video-1-outlined":
|
|
8264
|
-
"video-2-outlined":
|
|
8265
|
-
"volunteer-outlined":
|
|
8266
|
-
"wallet-outlined":
|
|
8267
|
-
"wellness-outlined":
|
|
8230
|
+
"union-outlined": 59450,
|
|
8231
|
+
"unlock-outlined": 59451,
|
|
8232
|
+
"upload-outlined": 59452,
|
|
8233
|
+
"user-circle-outlined": 59453,
|
|
8234
|
+
"user-gear-outlined": 59454,
|
|
8235
|
+
"user-outlined": 59455,
|
|
8236
|
+
"user-rectangle-outlined": 59456,
|
|
8237
|
+
"video-1-outlined": 59457,
|
|
8238
|
+
"video-2-outlined": 59458,
|
|
8239
|
+
"volunteer-outlined": 59459,
|
|
8240
|
+
"wallet-outlined": 59460,
|
|
8241
|
+
"wellness-outlined": 59461
|
|
8268
8242
|
};
|
|
8269
8243
|
|
|
8270
8244
|
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -8290,10 +8264,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
|
|
|
8290
8264
|
};
|
|
8291
8265
|
});
|
|
8292
8266
|
|
|
8293
|
-
var _excluded$
|
|
8267
|
+
var _excluded$H = ["style"];
|
|
8294
8268
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
8295
8269
|
var style = _ref.style,
|
|
8296
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8270
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$H);
|
|
8297
8271
|
var rotateAnimation = useRef(new Animated.Value(0));
|
|
8298
8272
|
useEffect(function () {
|
|
8299
8273
|
var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
|
|
@@ -8398,7 +8372,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
8398
8372
|
}, content));
|
|
8399
8373
|
};
|
|
8400
8374
|
|
|
8401
|
-
var _excluded$
|
|
8375
|
+
var _excluded$G = ["key"];
|
|
8402
8376
|
var Accordion = function Accordion(_ref) {
|
|
8403
8377
|
var items = _ref.items,
|
|
8404
8378
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -8419,7 +8393,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
8419
8393
|
testID: testID
|
|
8420
8394
|
}, items.map(function (_ref2, index) {
|
|
8421
8395
|
var key = _ref2.key,
|
|
8422
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
8396
|
+
props = _objectWithoutProperties(_ref2, _excluded$G);
|
|
8423
8397
|
var open = _activeItemKey === key;
|
|
8424
8398
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
8425
8399
|
key: key
|
|
@@ -9094,6 +9068,17 @@ function omit(keys, obj) {
|
|
|
9094
9068
|
});
|
|
9095
9069
|
return result;
|
|
9096
9070
|
}
|
|
9071
|
+
function hexToRgba(hex, a) {
|
|
9072
|
+
var arrBuff = new ArrayBuffer(4);
|
|
9073
|
+
var vw = new DataView(arrBuff);
|
|
9074
|
+
vw.setUint32(0, parseInt(hex, 16), false);
|
|
9075
|
+
var arrByte = new Uint8Array(arrBuff);
|
|
9076
|
+
var _arrByte = _slicedToArray(arrByte, 3),
|
|
9077
|
+
r = _arrByte[0],
|
|
9078
|
+
g = _arrByte[1],
|
|
9079
|
+
b = _arrByte[2];
|
|
9080
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
|
|
9081
|
+
}
|
|
9097
9082
|
|
|
9098
9083
|
var colors = {
|
|
9099
9084
|
backgroundColor: {
|
|
@@ -9274,7 +9259,7 @@ var borderWidths = {
|
|
|
9274
9259
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
9275
9260
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
9276
9261
|
|
|
9277
|
-
var _excluded$
|
|
9262
|
+
var _excluded$F = ["theme"];
|
|
9278
9263
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
9279
9264
|
var propConfig = config[key];
|
|
9280
9265
|
var propValue = props[key];
|
|
@@ -9301,18 +9286,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
9301
9286
|
var configKeys = Object.keys(config);
|
|
9302
9287
|
var StyledBox = index$a(View)(function (_ref5) {
|
|
9303
9288
|
var theme = _ref5.theme,
|
|
9304
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
9289
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$F);
|
|
9305
9290
|
var styleProps = pick(configKeys, otherProps);
|
|
9306
9291
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
9307
9292
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
9308
9293
|
});
|
|
9309
9294
|
|
|
9310
|
-
var _excluded$
|
|
9295
|
+
var _excluded$E = ["children", "style", "testID"];
|
|
9311
9296
|
var Box = function Box(_ref) {
|
|
9312
9297
|
var children = _ref.children,
|
|
9313
9298
|
style = _ref.style,
|
|
9314
9299
|
testID = _ref.testID,
|
|
9315
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
9300
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$E);
|
|
9316
9301
|
return /*#__PURE__*/React__default.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
9317
9302
|
style: style,
|
|
9318
9303
|
testID: testID
|
|
@@ -9533,16 +9518,44 @@ var StyledStatus = index$a(Animated.View)(function (_ref3) {
|
|
|
9533
9518
|
borderRadius: theme.radii.rounded
|
|
9534
9519
|
};
|
|
9535
9520
|
});
|
|
9536
|
-
var
|
|
9537
|
-
var
|
|
9538
|
-
|
|
9521
|
+
var StyledCount = index$a(View)(function (_ref4) {
|
|
9522
|
+
var theme = _ref4.theme;
|
|
9523
|
+
return {
|
|
9524
|
+
backgroundColor: theme.__hd__.badge.colors.danger,
|
|
9525
|
+
borderRadius: theme.__hd__.badge.radii.count,
|
|
9526
|
+
minWidth: theme.__hd__.badge.sizes.count.width,
|
|
9527
|
+
height: theme.__hd__.badge.sizes.count.height,
|
|
9528
|
+
alignItems: 'center',
|
|
9529
|
+
justifyContent: 'center',
|
|
9530
|
+
textAlign: 'center',
|
|
9531
|
+
textAlignVertical: 'center',
|
|
9532
|
+
color: theme.__hd__.badge.colors.text,
|
|
9533
|
+
display: 'flex',
|
|
9534
|
+
paddingHorizontal: theme.__hd__.badge.space.countPaddingHorizontal,
|
|
9535
|
+
position: 'absolute',
|
|
9536
|
+
top: theme.__hd__.badge.space.statusPositionTop,
|
|
9537
|
+
right: theme.__hd__.badge.space.statusPositionRight
|
|
9538
|
+
};
|
|
9539
|
+
});
|
|
9540
|
+
var StyledCountText = index$a(Typography.Text)(function (_ref5) {
|
|
9541
|
+
var theme = _ref5.theme;
|
|
9542
|
+
return {
|
|
9543
|
+
height: theme.__hd__.badge.sizes.count.height,
|
|
9544
|
+
lineHeight: theme.__hd__.badge.lineHeights.count,
|
|
9545
|
+
color: theme.__hd__.badge.colors.text,
|
|
9546
|
+
fontSize: theme.__hd__.badge.fontSizes.count
|
|
9547
|
+
};
|
|
9548
|
+
});
|
|
9549
|
+
var StyledIcon$4 = index$a(Icon)(function (_ref6) {
|
|
9550
|
+
var themeSize = _ref6.themeSize,
|
|
9551
|
+
theme = _ref6.theme;
|
|
9539
9552
|
return {
|
|
9540
9553
|
fontSize: theme.__hd__.badge.fontSizes[themeSize]
|
|
9541
9554
|
};
|
|
9542
9555
|
});
|
|
9543
9556
|
|
|
9544
|
-
var _excluded$
|
|
9545
|
-
var Status = function Status(_ref) {
|
|
9557
|
+
var _excluded$D = ["children", "visible", "intent", "style", "testID"];
|
|
9558
|
+
var Status$1 = function Status(_ref) {
|
|
9546
9559
|
var children = _ref.children,
|
|
9547
9560
|
_ref$visible = _ref.visible,
|
|
9548
9561
|
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
@@ -9550,7 +9563,7 @@ var Status = function Status(_ref) {
|
|
|
9550
9563
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
9551
9564
|
style = _ref.style,
|
|
9552
9565
|
testID = _ref.testID,
|
|
9553
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9566
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
9554
9567
|
var _React$useRef = React__default.useRef(new Animated.Value(visible ? 1 : 0)),
|
|
9555
9568
|
opacity = _React$useRef.current;
|
|
9556
9569
|
var isFirstRendering = React__default.useRef(true);
|
|
@@ -9583,8 +9596,31 @@ var Status = function Status(_ref) {
|
|
|
9583
9596
|
}));
|
|
9584
9597
|
};
|
|
9585
9598
|
|
|
9586
|
-
var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9587
9599
|
var DEFAULT_MAX_NUMBER = 99;
|
|
9600
|
+
|
|
9601
|
+
var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
|
|
9602
|
+
var Status = function Status(_ref) {
|
|
9603
|
+
var children = _ref.children,
|
|
9604
|
+
_ref$visible = _ref.visible,
|
|
9605
|
+
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
9606
|
+
style = _ref.style,
|
|
9607
|
+
_ref$max = _ref.max,
|
|
9608
|
+
max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
|
|
9609
|
+
testID = _ref.testID,
|
|
9610
|
+
originalContent = _ref.content,
|
|
9611
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$C);
|
|
9612
|
+
var content = useMemo(function () {
|
|
9613
|
+
return originalContent > max ? "".concat(max, "+") : String(originalContent);
|
|
9614
|
+
}, [originalContent, max]);
|
|
9615
|
+
return /*#__PURE__*/React__default.createElement(View, _extends$1({}, nativeProps, {
|
|
9616
|
+
style: style,
|
|
9617
|
+
testID: testID
|
|
9618
|
+
}), children, visible && /*#__PURE__*/React__default.createElement(StyledCount, {
|
|
9619
|
+
testID: "count-badge"
|
|
9620
|
+
}, /*#__PURE__*/React__default.createElement(StyledCountText, null, content)));
|
|
9621
|
+
};
|
|
9622
|
+
|
|
9623
|
+
var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9588
9624
|
var getPaddingState = function getPaddingState(content) {
|
|
9589
9625
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
9590
9626
|
};
|
|
@@ -9650,7 +9686,8 @@ var Badge = function Badge(_ref) {
|
|
|
9650
9686
|
}, content));
|
|
9651
9687
|
};
|
|
9652
9688
|
var Badge$1 = Object.assign(Badge, {
|
|
9653
|
-
Status: Status
|
|
9689
|
+
Status: Status$1,
|
|
9690
|
+
Count: Status
|
|
9654
9691
|
});
|
|
9655
9692
|
|
|
9656
9693
|
var isHeroIcon = function isHeroIcon(x) {
|
|
@@ -10212,15 +10249,22 @@ var StyledButtonText = index$a(Typography.Title)(function (_ref3) {
|
|
|
10212
10249
|
};
|
|
10213
10250
|
return _objectSpread2({
|
|
10214
10251
|
flexShrink: 1,
|
|
10215
|
-
textAlign: 'center'
|
|
10252
|
+
textAlign: 'center',
|
|
10253
|
+
textAlignVertical: 'center',
|
|
10254
|
+
lineHeight: theme.__hd__.button.lineHeights.buttonText
|
|
10216
10255
|
}, themeStyling());
|
|
10217
10256
|
});
|
|
10218
|
-
var StyledSmallButtonText = StyledButtonText.withComponent(Typography.Body)
|
|
10219
|
-
var
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10257
|
+
var StyledSmallButtonText = index$a(StyledButtonText.withComponent(Typography.Body))(function (_ref4) {
|
|
10258
|
+
var theme = _ref4.theme;
|
|
10259
|
+
return {
|
|
10260
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10261
|
+
};
|
|
10262
|
+
});
|
|
10263
|
+
var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref5) {
|
|
10264
|
+
var disabled = _ref5.disabled,
|
|
10265
|
+
themeButtonVariant = _ref5.themeButtonVariant,
|
|
10266
|
+
themeIsPressed = _ref5.themeIsPressed,
|
|
10267
|
+
theme = _ref5.theme;
|
|
10224
10268
|
var themeStyling = function themeStyling() {
|
|
10225
10269
|
switch (themeButtonVariant) {
|
|
10226
10270
|
case 'text-primary':
|
|
@@ -10240,14 +10284,14 @@ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref4) {
|
|
|
10240
10284
|
return _objectSpread2({
|
|
10241
10285
|
flexShrink: 1,
|
|
10242
10286
|
lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
|
|
10243
|
-
|
|
10244
|
-
|
|
10287
|
+
textAlign: 'center',
|
|
10288
|
+
textAlignVertical: 'center'
|
|
10245
10289
|
}, themeStyling());
|
|
10246
10290
|
});
|
|
10247
|
-
var StyledButtonIconWrapper = index$a(View)(function (
|
|
10248
|
-
var themePosition =
|
|
10249
|
-
theme =
|
|
10250
|
-
themeIsCompact =
|
|
10291
|
+
var StyledButtonIconWrapper = index$a(View)(function (_ref6) {
|
|
10292
|
+
var themePosition = _ref6.themePosition,
|
|
10293
|
+
theme = _ref6.theme,
|
|
10294
|
+
themeIsCompact = _ref6.themeIsCompact;
|
|
10251
10295
|
switch (themePosition) {
|
|
10252
10296
|
case 'left':
|
|
10253
10297
|
return {
|
|
@@ -10259,12 +10303,12 @@ var StyledButtonIconWrapper = index$a(View)(function (_ref5) {
|
|
|
10259
10303
|
};
|
|
10260
10304
|
}
|
|
10261
10305
|
});
|
|
10262
|
-
var StyledButtonIcon = index$a(Icon)(function (
|
|
10263
|
-
var disabled =
|
|
10264
|
-
themeButtonVariant =
|
|
10265
|
-
themeIsPressed =
|
|
10266
|
-
theme =
|
|
10267
|
-
themeIsCompact =
|
|
10306
|
+
var StyledButtonIcon = index$a(Icon)(function (_ref7) {
|
|
10307
|
+
var disabled = _ref7.disabled,
|
|
10308
|
+
themeButtonVariant = _ref7.themeButtonVariant,
|
|
10309
|
+
themeIsPressed = _ref7.themeIsPressed,
|
|
10310
|
+
theme = _ref7.theme,
|
|
10311
|
+
themeIsCompact = _ref7.themeIsCompact;
|
|
10268
10312
|
var themeStyling = function themeStyling() {
|
|
10269
10313
|
switch (themeButtonVariant) {
|
|
10270
10314
|
case 'filled-primary':
|
|
@@ -10505,9 +10549,14 @@ var IconWrapper = index$a(View)(function (_ref2) {
|
|
|
10505
10549
|
paddingRight: theme.__hd__.button.space["default"].iconPadding
|
|
10506
10550
|
};
|
|
10507
10551
|
});
|
|
10508
|
-
var ButtonText = index$a(Typography.Body)({
|
|
10509
|
-
|
|
10510
|
-
|
|
10552
|
+
var ButtonText = index$a(Typography.Body)(function (_ref3) {
|
|
10553
|
+
var theme = _ref3.theme;
|
|
10554
|
+
return {
|
|
10555
|
+
flexShrink: 1,
|
|
10556
|
+
textAlign: 'center',
|
|
10557
|
+
textAlignVertical: 'center',
|
|
10558
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10559
|
+
};
|
|
10511
10560
|
});
|
|
10512
10561
|
|
|
10513
10562
|
var TEXT_INTENTS = {
|
|
@@ -17169,17 +17218,6 @@ var StyledBadgeIcon = index$a(Icon)(function (_ref6) {
|
|
|
17169
17218
|
color: theme.__hd__.mapPin.colors.badgeIcon
|
|
17170
17219
|
};
|
|
17171
17220
|
});
|
|
17172
|
-
function hexToRgba(hex, a) {
|
|
17173
|
-
var arrBuff = new ArrayBuffer(4);
|
|
17174
|
-
var vw = new DataView(arrBuff);
|
|
17175
|
-
vw.setUint32(0, parseInt(hex, 16), false);
|
|
17176
|
-
var arrByte = new Uint8Array(arrBuff);
|
|
17177
|
-
var _arrByte = _slicedToArray(arrByte, 3),
|
|
17178
|
-
r = _arrByte[0],
|
|
17179
|
-
g = _arrByte[1],
|
|
17180
|
-
b = _arrByte[2];
|
|
17181
|
-
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
|
|
17182
|
-
}
|
|
17183
17221
|
var StyledFocusIcon = index$a(Icon)(function (_ref7) {
|
|
17184
17222
|
var theme = _ref7.theme;
|
|
17185
17223
|
return {
|
|
@@ -17676,21 +17714,6 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
17676
17714
|
});
|
|
17677
17715
|
PinInput.displayName = 'PinInput';
|
|
17678
17716
|
|
|
17679
|
-
var THEME_INTENT_MAP = {
|
|
17680
|
-
primary: 'primary',
|
|
17681
|
-
success: 'success',
|
|
17682
|
-
warning: 'warning',
|
|
17683
|
-
danger: 'danger',
|
|
17684
|
-
info: 'info',
|
|
17685
|
-
archived: 'archived',
|
|
17686
|
-
'primary-inverted': 'primaryInverted',
|
|
17687
|
-
'success-inverted': 'successInverted',
|
|
17688
|
-
'warning-inverted': 'warningInverted',
|
|
17689
|
-
'danger-inverted': 'dangerInverted',
|
|
17690
|
-
'info-inverted': 'infoInverted',
|
|
17691
|
-
'archived-inverted': 'archivedInverted'
|
|
17692
|
-
};
|
|
17693
|
-
|
|
17694
17717
|
var StyledContainer$2 = index$a(View)(function (_ref) {
|
|
17695
17718
|
var theme = _ref.theme;
|
|
17696
17719
|
return {
|
|
@@ -17698,38 +17721,8 @@ var StyledContainer$2 = index$a(View)(function (_ref) {
|
|
|
17698
17721
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17699
17722
|
};
|
|
17700
17723
|
});
|
|
17701
|
-
var
|
|
17724
|
+
var StyledDonutCircle = index$a(View)(function (_ref2) {
|
|
17702
17725
|
var theme = _ref2.theme;
|
|
17703
|
-
return {
|
|
17704
|
-
width: theme.__hd__.progress.sizes.circleDiameter / 2,
|
|
17705
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17706
|
-
overflow: 'hidden'
|
|
17707
|
-
};
|
|
17708
|
-
});
|
|
17709
|
-
var StyledHalfCircleInnerFG = index$a(View)(function (_ref3) {
|
|
17710
|
-
var theme = _ref3.theme,
|
|
17711
|
-
themeIntent = _ref3.themeIntent;
|
|
17712
|
-
return {
|
|
17713
|
-
width: theme.__hd__.progress.sizes.circleDiameter,
|
|
17714
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17715
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17716
|
-
borderColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
|
|
17717
|
-
borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight
|
|
17718
|
-
};
|
|
17719
|
-
});
|
|
17720
|
-
var StyledHalfCircleInnerBG = index$a(View)(function (_ref4) {
|
|
17721
|
-
var theme = _ref4.theme,
|
|
17722
|
-
themeIntent = _ref4.themeIntent;
|
|
17723
|
-
return {
|
|
17724
|
-
width: theme.__hd__.progress.sizes.circleDiameter,
|
|
17725
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17726
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17727
|
-
borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17728
|
-
borderColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]]
|
|
17729
|
-
};
|
|
17730
|
-
});
|
|
17731
|
-
var StyledDonutCircle = index$a(View)(function (_ref5) {
|
|
17732
|
-
var theme = _ref5.theme;
|
|
17733
17726
|
return {
|
|
17734
17727
|
position: 'absolute',
|
|
17735
17728
|
top: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
@@ -17742,136 +17735,83 @@ var StyledDonutCircle = index$a(View)(function (_ref5) {
|
|
|
17742
17735
|
justifyContent: 'center'
|
|
17743
17736
|
};
|
|
17744
17737
|
});
|
|
17745
|
-
var StyledStrokeEnd = index$a(View)(function (_ref6) {
|
|
17746
|
-
var theme = _ref6.theme,
|
|
17747
|
-
themeIntent = _ref6.themeIntent;
|
|
17748
|
-
return {
|
|
17749
|
-
position: 'absolute',
|
|
17750
|
-
top: 0,
|
|
17751
|
-
left: (theme.__hd__.progress.sizes.circleDiameter - theme.__hd__.progress.sizes.circleCompletenessHeight) / 2,
|
|
17752
|
-
width: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17753
|
-
height: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17754
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17755
|
-
backgroundColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
|
|
17756
|
-
zIndex: 2
|
|
17757
|
-
};
|
|
17758
|
-
});
|
|
17759
17738
|
|
|
17760
|
-
var
|
|
17761
|
-
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
|
|
17768
|
-
|
|
17739
|
+
var THEME_INTENT_MAP = {
|
|
17740
|
+
primary: 'primary',
|
|
17741
|
+
success: 'success',
|
|
17742
|
+
warning: 'warning',
|
|
17743
|
+
danger: 'danger',
|
|
17744
|
+
info: 'info',
|
|
17745
|
+
archived: 'archived',
|
|
17746
|
+
'primary-inverted': 'primaryInverted',
|
|
17747
|
+
'success-inverted': 'successInverted',
|
|
17748
|
+
'warning-inverted': 'warningInverted',
|
|
17749
|
+
'danger-inverted': 'dangerInverted',
|
|
17750
|
+
'info-inverted': 'infoInverted',
|
|
17751
|
+
'archived-inverted': 'archivedInverted'
|
|
17769
17752
|
};
|
|
17753
|
+
|
|
17754
|
+
var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
|
|
17770
17755
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
17771
17756
|
return "".concat(value, "%");
|
|
17772
17757
|
};
|
|
17773
|
-
var
|
|
17774
|
-
|
|
17775
|
-
|
|
17776
|
-
renderValue =
|
|
17777
|
-
|
|
17778
|
-
intent =
|
|
17779
|
-
|
|
17780
|
-
|
|
17781
|
-
|
|
17758
|
+
var AnimatedCircle = Animated.createAnimatedComponent(Circle$1);
|
|
17759
|
+
var ProgressCircle = function ProgressCircle(_ref) {
|
|
17760
|
+
var value = _ref.value,
|
|
17761
|
+
_ref$renderValue = _ref.renderValue,
|
|
17762
|
+
renderValue = _ref$renderValue === void 0 ? defaultRenderValue : _ref$renderValue,
|
|
17763
|
+
_ref$intent = _ref.intent,
|
|
17764
|
+
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
17765
|
+
style = _ref.style,
|
|
17766
|
+
testID = _ref.testID,
|
|
17767
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
17782
17768
|
var theme = useTheme$1();
|
|
17783
|
-
var
|
|
17784
|
-
var
|
|
17769
|
+
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
17770
|
+
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
17771
|
+
var radius = size / 2 - strokeWidth;
|
|
17772
|
+
var circumference = 2 * Math.PI * radius;
|
|
17773
|
+
var progressAnimatedValue = useRef(new Animated.Value(0)).current;
|
|
17774
|
+
var minArc = strokeWidth / 2 / Math.PI; // Minimum arc length
|
|
17785
17775
|
useEffect(function () {
|
|
17786
|
-
|
|
17776
|
+
Animated.timing(progressAnimatedValue, {
|
|
17787
17777
|
toValue: value,
|
|
17788
|
-
useNativeDriver: true
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
return function () {
|
|
17792
|
-
return animation.stop();
|
|
17793
|
-
};
|
|
17778
|
+
useNativeDriver: true,
|
|
17779
|
+
easing: Easing.inOut(Easing.ease)
|
|
17780
|
+
}).start();
|
|
17794
17781
|
}, [value]);
|
|
17795
|
-
|
|
17796
|
-
var interpolateRotateRightHalf = progressAnimatedValue.current.interpolate({
|
|
17797
|
-
inputRange: [0, 50],
|
|
17798
|
-
outputRange: ['0deg', '180deg'],
|
|
17799
|
-
extrapolate: 'clamp'
|
|
17800
|
-
});
|
|
17801
|
-
var interpolateOpacityRightHalf = progressAnimatedValue.current.interpolate({
|
|
17802
|
-
inputRange: [50, 51],
|
|
17803
|
-
// Transition between left and right half
|
|
17804
|
-
outputRange: [1, 0],
|
|
17805
|
-
extrapolate: 'clamp'
|
|
17806
|
-
});
|
|
17807
|
-
// Animate progress circle: 50% => 100%
|
|
17808
|
-
var interpolateRotateSecondHalf = progressAnimatedValue.current.interpolate({
|
|
17809
|
-
inputRange: [50, 100],
|
|
17810
|
-
outputRange: ['0deg', '180deg'],
|
|
17811
|
-
extrapolate: 'clamp'
|
|
17812
|
-
});
|
|
17813
|
-
// Curve at the end of progress stroke
|
|
17814
|
-
var interpolateDotRotate = progressAnimatedValue.current.interpolate({
|
|
17782
|
+
var strokeDashoffset = progressAnimatedValue.interpolate({
|
|
17815
17783
|
inputRange: [0, 100],
|
|
17816
|
-
outputRange: [
|
|
17817
|
-
extrapolate: 'clamp'
|
|
17784
|
+
outputRange: [circumference - minArc, 0] // Full circle to zero offset
|
|
17818
17785
|
});
|
|
17786
|
+
|
|
17819
17787
|
return /*#__PURE__*/React__default.createElement(View, _extends$1({}, nativeProps, {
|
|
17820
17788
|
testID: testID,
|
|
17821
17789
|
style: style
|
|
17822
|
-
}), /*#__PURE__*/React__default.createElement(StyledContainer$2, null, /*#__PURE__*/React__default.createElement(
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17828
|
-
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
17832
|
-
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
17847
|
-
type: "foreground",
|
|
17848
|
-
themeIntent: intent
|
|
17849
|
-
}), /*#__PURE__*/React__default.createElement(Animated.View, {
|
|
17850
|
-
style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
17851
|
-
transform: [{
|
|
17852
|
-
translateX: radius / 2
|
|
17853
|
-
}, {
|
|
17854
|
-
rotate: interpolateRotateRightHalf
|
|
17855
|
-
}, {
|
|
17856
|
-
translateX: -radius / 2
|
|
17857
|
-
}],
|
|
17858
|
-
opacity: interpolateOpacityRightHalf
|
|
17859
|
-
})
|
|
17860
|
-
}, /*#__PURE__*/React__default.createElement(HalfCircle, {
|
|
17861
|
-
type: "background",
|
|
17862
|
-
themeIntent: intent
|
|
17863
|
-
}))), /*#__PURE__*/React__default.createElement(StyledStrokeEnd, {
|
|
17864
|
-
themeIntent: intent
|
|
17865
|
-
}), /*#__PURE__*/React__default.createElement(Animated.View, {
|
|
17866
|
-
style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
|
|
17867
|
-
zIndex: 2,
|
|
17868
|
-
transform: [{
|
|
17869
|
-
rotate: interpolateDotRotate
|
|
17870
|
-
}]
|
|
17871
|
-
})
|
|
17872
|
-
}, /*#__PURE__*/React__default.createElement(StyledStrokeEnd, {
|
|
17873
|
-
themeIntent: intent
|
|
17874
|
-
})), /*#__PURE__*/React__default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__default.createElement(Typography.Body, null, renderValue(value)))));
|
|
17790
|
+
}), /*#__PURE__*/React__default.createElement(StyledContainer$2, null, /*#__PURE__*/React__default.createElement(Svg, {
|
|
17791
|
+
width: size,
|
|
17792
|
+
height: size,
|
|
17793
|
+
viewBox: "0 0 ".concat(size, " ").concat(size)
|
|
17794
|
+
}, /*#__PURE__*/React__default.createElement(G, {
|
|
17795
|
+
rotation: "-90",
|
|
17796
|
+
origin: "".concat(size / 2, ", ").concat(size / 2)
|
|
17797
|
+
}, /*#__PURE__*/React__default.createElement(Circle$1, {
|
|
17798
|
+
cx: size / 2,
|
|
17799
|
+
cy: size / 2,
|
|
17800
|
+
r: radius,
|
|
17801
|
+
stroke: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[intent]], 0.1),
|
|
17802
|
+
strokeWidth: strokeWidth,
|
|
17803
|
+
fill: "transparent"
|
|
17804
|
+
}), /*#__PURE__*/React__default.createElement(AnimatedCircle, {
|
|
17805
|
+
cx: size / 2,
|
|
17806
|
+
cy: size / 2,
|
|
17807
|
+
r: radius,
|
|
17808
|
+
stroke: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[intent]],
|
|
17809
|
+
strokeWidth: strokeWidth,
|
|
17810
|
+
fill: "transparent",
|
|
17811
|
+
strokeDasharray: circumference,
|
|
17812
|
+
strokeDashoffset: strokeDashoffset,
|
|
17813
|
+
strokeLinecap: "round"
|
|
17814
|
+
}))), /*#__PURE__*/React__default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__default.createElement(Typography.Body, null, renderValue(value)))));
|
|
17875
17815
|
};
|
|
17876
17816
|
|
|
17877
17817
|
var StyledWrapper$5 = index$a(View)(function (_ref) {
|
|
@@ -17880,7 +17820,7 @@ var StyledWrapper$5 = index$a(View)(function (_ref) {
|
|
|
17880
17820
|
return {
|
|
17881
17821
|
height: theme.__hd__.progress.sizes.barHeight,
|
|
17882
17822
|
alignSelf: 'stretch',
|
|
17883
|
-
backgroundColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]],
|
|
17823
|
+
backgroundColor: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]], 0.1),
|
|
17884
17824
|
overflow: 'hidden',
|
|
17885
17825
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17886
17826
|
};
|
|
@@ -17971,7 +17911,7 @@ var StyledSingleStepContainer = index$a(Box)(function (_ref2) {
|
|
|
17971
17911
|
return {
|
|
17972
17912
|
height: theme.__hd__.progress.sizes.stepHeight,
|
|
17973
17913
|
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17974
|
-
backgroundColor: theme.__hd__.progress.colors.step.
|
|
17914
|
+
backgroundColor: theme.__hd__.progress.colors.step.incomplete,
|
|
17975
17915
|
width: '100%',
|
|
17976
17916
|
position: 'relative'
|
|
17977
17917
|
};
|
|
@@ -19895,7 +19835,7 @@ var TabWithBadge = function TabWithBadge(_ref) {
|
|
|
19895
19835
|
return /*#__PURE__*/React__default.createElement(StyledBadgeWrapper, null, tabItem, /*#__PURE__*/React__default.createElement(Badge$1, {
|
|
19896
19836
|
content: config.value,
|
|
19897
19837
|
max: config.max,
|
|
19898
|
-
intent: "
|
|
19838
|
+
intent: "primary",
|
|
19899
19839
|
style: {
|
|
19900
19840
|
marginLeft: theme.space.xsmall
|
|
19901
19841
|
}
|
|
@@ -20731,7 +20671,8 @@ var StyledInput$1 = index$a(TextInput$1)(function (_ref9) {
|
|
|
20731
20671
|
alignSelf: 'stretch',
|
|
20732
20672
|
flexGrow: 1,
|
|
20733
20673
|
flexShrink: 1,
|
|
20734
|
-
fontFamily: theme.__hd__.toolbar.fonts.text
|
|
20674
|
+
fontFamily: theme.__hd__.toolbar.fonts.text,
|
|
20675
|
+
color: theme.__hd__.toolbar.colors.text
|
|
20735
20676
|
};
|
|
20736
20677
|
});
|
|
20737
20678
|
var StyledPrefix = index$a(View)(function (_ref10) {
|
|
@@ -20866,6 +20807,7 @@ var ToolbarMessage = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
|
|
|
20866
20807
|
editable = _props$editable === void 0 ? true : _props$editable,
|
|
20867
20808
|
textStyle = props.textStyle,
|
|
20868
20809
|
nativeProps = _objectWithoutProperties(props, _excluded$8);
|
|
20810
|
+
var theme = useTheme();
|
|
20869
20811
|
var innerTextInput = React__default.useRef();
|
|
20870
20812
|
var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
20871
20813
|
var isEmptyValue = displayText.length === 0;
|
|
@@ -20917,7 +20859,8 @@ var ToolbarMessage = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
|
|
|
20917
20859
|
ref: function ref(rnTextInputRef) {
|
|
20918
20860
|
innerTextInput.current = rnTextInputRef;
|
|
20919
20861
|
},
|
|
20920
|
-
style: textStyle
|
|
20862
|
+
style: textStyle,
|
|
20863
|
+
placeholderTextColor: theme.__hd__.toolbar.colors.placeholder
|
|
20921
20864
|
}))), suffix && /*#__PURE__*/React__default.createElement(StyledSuffix, {
|
|
20922
20865
|
testID: testID && "".concat(testID, "-suffix")
|
|
20923
20866
|
}, suffix));
|
|
@@ -40221,24 +40164,19 @@ var StyledContainer = index$a(View)(function () {
|
|
|
40221
40164
|
width: '100%'
|
|
40222
40165
|
};
|
|
40223
40166
|
});
|
|
40224
|
-
var getBorderWidth = function getBorderWidth(theme, themeFocused, themeVariant) {
|
|
40225
|
-
return themeFocused ? theme.__hd__.search.borderWidths.container[themeVariant].focused : theme.__hd__.search.borderWidths.container[themeVariant].normal;
|
|
40226
|
-
};
|
|
40227
40167
|
var StyledInputContainer = index$a(View)(function (_ref) {
|
|
40228
40168
|
var theme = _ref.theme,
|
|
40229
|
-
themeFocused = _ref.themeFocused,
|
|
40230
40169
|
themeVariant = _ref.themeVariant;
|
|
40231
|
-
var borderWidth = getBorderWidth(theme, themeFocused, themeVariant);
|
|
40232
40170
|
return _objectSpread2({
|
|
40233
40171
|
flexDirection: 'row',
|
|
40234
40172
|
alignItems: 'center',
|
|
40235
|
-
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding
|
|
40236
|
-
paddingVertical: theme.__hd__.search.space.containerVerticalPadding
|
|
40173
|
+
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
|
|
40174
|
+
paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
|
|
40237
40175
|
backgroundColor: theme.__hd__.search.colors[themeVariant].containerBackground,
|
|
40238
40176
|
height: 56,
|
|
40239
40177
|
borderRadius: theme.__hd__.search.radii.container,
|
|
40240
|
-
borderWidth:
|
|
40241
|
-
borderColor:
|
|
40178
|
+
borderWidth: theme.__hd__.search.borderWidths.container["default"],
|
|
40179
|
+
borderColor: theme.__hd__.search.colors[themeVariant].border
|
|
40242
40180
|
}, themeVariant === 'reversed' && _objectSpread2({}, theme.__hd__.search.shadows.container));
|
|
40243
40181
|
});
|
|
40244
40182
|
var StyledAffixContainer = index$a(View)(function (_ref2) {
|
|
@@ -40264,6 +40202,7 @@ var StyledInput = index$a(TextInput$1)(function (_ref4) {
|
|
|
40264
40202
|
return {
|
|
40265
40203
|
textAlignVertical: 'center',
|
|
40266
40204
|
fontSize: theme.__hd__.search.fontSizes.text,
|
|
40205
|
+
color: theme.__hd__.textInput.colors.text,
|
|
40267
40206
|
alignSelf: 'stretch',
|
|
40268
40207
|
flexGrow: 1,
|
|
40269
40208
|
flexShrink: 1,
|
|
@@ -40301,7 +40240,7 @@ var renderPrefix = function renderPrefix(_ref) {
|
|
|
40301
40240
|
intent: "text",
|
|
40302
40241
|
testID: "input-prefix",
|
|
40303
40242
|
icon: prefix,
|
|
40304
|
-
size: "
|
|
40243
|
+
size: "xsmall"
|
|
40305
40244
|
})) : prefix;
|
|
40306
40245
|
};
|
|
40307
40246
|
var renderSuffix = function renderSuffix(_ref2) {
|
|
@@ -40310,7 +40249,7 @@ var renderSuffix = function renderSuffix(_ref2) {
|
|
|
40310
40249
|
intent: "text",
|
|
40311
40250
|
testID: "input-suffix",
|
|
40312
40251
|
icon: suffix,
|
|
40313
|
-
size: "
|
|
40252
|
+
size: "xsmall"
|
|
40314
40253
|
})) : suffix;
|
|
40315
40254
|
};
|
|
40316
40255
|
|
|
@@ -40328,7 +40267,6 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
40328
40267
|
style: style,
|
|
40329
40268
|
testID: testID
|
|
40330
40269
|
}, /*#__PURE__*/React__default.createElement(StyledInputContainer, {
|
|
40331
|
-
themeFocused: false,
|
|
40332
40270
|
themeVariant: variant
|
|
40333
40271
|
}, renderPrefix({
|
|
40334
40272
|
prefix: prefix
|
|
@@ -40436,7 +40374,7 @@ var SearchOneLine = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
40436
40374
|
intent: "text",
|
|
40437
40375
|
testID: "input-clear-button",
|
|
40438
40376
|
icon: "circle-cancel",
|
|
40439
|
-
size: "
|
|
40377
|
+
size: "xsmall",
|
|
40440
40378
|
disabled: state === 'disabled' || state === 'readonly'
|
|
40441
40379
|
}));
|
|
40442
40380
|
};
|
|
@@ -40446,7 +40384,6 @@ var SearchOneLine = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
40446
40384
|
testID: testID,
|
|
40447
40385
|
style: style
|
|
40448
40386
|
}, /*#__PURE__*/React__default.createElement(StyledInputContainer, {
|
|
40449
|
-
themeFocused: isFocused,
|
|
40450
40387
|
themeVariant: variant
|
|
40451
40388
|
}, renderPrefix({
|
|
40452
40389
|
prefix: prefix
|