@hero-design/rn 8.92.2 → 8.92.3
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 +18 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +588 -720
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +589 -720
- package/package.json +4 -2
- package/rollup.config.mjs +1 -0
- 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 +1 -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 +20 -23
- 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/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/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/lib/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var reactNativeVectorIcons = require('react-native-vector-icons');
|
|
|
6
6
|
var reactNativeSafeAreaContext = require('react-native-safe-area-context');
|
|
7
7
|
var reactNativeMonthYearPicker = require('@hero-design/react-native-month-year-picker');
|
|
8
8
|
var DateTimePicker = require('@react-native-community/datetimepicker');
|
|
9
|
+
var Svg = require('react-native-svg');
|
|
9
10
|
var RnSlider = require('@react-native-community/slider');
|
|
10
11
|
var MultiSlider = require('@ptomasroos/react-native-multi-slider');
|
|
11
12
|
var reactNativeGestureHandler = require('react-native-gesture-handler');
|
|
@@ -37,11 +38,146 @@ function _interopNamespaceCompat(e) {
|
|
|
37
38
|
var reactNative__namespace = /*#__PURE__*/_interopNamespaceCompat(reactNative);
|
|
38
39
|
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
39
40
|
var DateTimePicker__default = /*#__PURE__*/_interopDefaultCompat(DateTimePicker);
|
|
41
|
+
var Svg__default = /*#__PURE__*/_interopDefaultCompat(Svg);
|
|
40
42
|
var RnSlider__default = /*#__PURE__*/_interopDefaultCompat(RnSlider);
|
|
41
43
|
var MultiSlider__default = /*#__PURE__*/_interopDefaultCompat(MultiSlider);
|
|
42
44
|
var LinearGradient__default = /*#__PURE__*/_interopDefaultCompat(LinearGradient);
|
|
43
45
|
var PagerView__default = /*#__PURE__*/_interopDefaultCompat(PagerView);
|
|
44
46
|
|
|
47
|
+
function _arrayLikeToArray(r, a) {
|
|
48
|
+
(null == a || a > r.length) && (a = r.length);
|
|
49
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
50
|
+
return n;
|
|
51
|
+
}
|
|
52
|
+
function _arrayWithHoles(r) {
|
|
53
|
+
if (Array.isArray(r)) return r;
|
|
54
|
+
}
|
|
55
|
+
function _arrayWithoutHoles(r) {
|
|
56
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
57
|
+
}
|
|
58
|
+
function _assertThisInitialized(e) {
|
|
59
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
60
|
+
return e;
|
|
61
|
+
}
|
|
62
|
+
function _classCallCheck(a, n) {
|
|
63
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
64
|
+
}
|
|
65
|
+
function _defineProperties(e, r) {
|
|
66
|
+
for (var t = 0; t < r.length; t++) {
|
|
67
|
+
var o = r[t];
|
|
68
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function _createClass(e, r, t) {
|
|
72
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
|
|
73
|
+
writable: !1
|
|
74
|
+
}), e;
|
|
75
|
+
}
|
|
76
|
+
function _createForOfIteratorHelper(r, e) {
|
|
77
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
78
|
+
if (!t) {
|
|
79
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
80
|
+
t && (r = t);
|
|
81
|
+
var n = 0,
|
|
82
|
+
F = function () {};
|
|
83
|
+
return {
|
|
84
|
+
s: F,
|
|
85
|
+
n: function () {
|
|
86
|
+
return n >= r.length ? {
|
|
87
|
+
done: !0
|
|
88
|
+
} : {
|
|
89
|
+
done: !1,
|
|
90
|
+
value: r[n++]
|
|
91
|
+
};
|
|
92
|
+
},
|
|
93
|
+
e: function (r) {
|
|
94
|
+
throw r;
|
|
95
|
+
},
|
|
96
|
+
f: F
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
100
|
+
}
|
|
101
|
+
var o,
|
|
102
|
+
a = !0,
|
|
103
|
+
u = !1;
|
|
104
|
+
return {
|
|
105
|
+
s: function () {
|
|
106
|
+
t = t.call(r);
|
|
107
|
+
},
|
|
108
|
+
n: function () {
|
|
109
|
+
var r = t.next();
|
|
110
|
+
return a = r.done, r;
|
|
111
|
+
},
|
|
112
|
+
e: function (r) {
|
|
113
|
+
u = !0, o = r;
|
|
114
|
+
},
|
|
115
|
+
f: function () {
|
|
116
|
+
try {
|
|
117
|
+
a || null == t.return || t.return();
|
|
118
|
+
} finally {
|
|
119
|
+
if (u) throw o;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
function _createSuper(t) {
|
|
125
|
+
var r = _isNativeReflectConstruct();
|
|
126
|
+
return function () {
|
|
127
|
+
var e,
|
|
128
|
+
o = _getPrototypeOf(t);
|
|
129
|
+
if (r) {
|
|
130
|
+
var s = _getPrototypeOf(this).constructor;
|
|
131
|
+
e = Reflect.construct(o, arguments, s);
|
|
132
|
+
} else e = o.apply(this, arguments);
|
|
133
|
+
return _possibleConstructorReturn(this, e);
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function _defineProperty(e, r, t) {
|
|
137
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
138
|
+
value: t,
|
|
139
|
+
enumerable: !0,
|
|
140
|
+
configurable: !0,
|
|
141
|
+
writable: !0
|
|
142
|
+
}) : e[r] = t, e;
|
|
143
|
+
}
|
|
144
|
+
function _extends$1() {
|
|
145
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
|
|
146
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
147
|
+
var t = arguments[e];
|
|
148
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
149
|
+
}
|
|
150
|
+
return n;
|
|
151
|
+
}, _extends$1.apply(null, arguments);
|
|
152
|
+
}
|
|
153
|
+
function _getPrototypeOf(t) {
|
|
154
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
155
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
156
|
+
}, _getPrototypeOf(t);
|
|
157
|
+
}
|
|
158
|
+
function _inherits(t, e) {
|
|
159
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
160
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
161
|
+
constructor: {
|
|
162
|
+
value: t,
|
|
163
|
+
writable: !0,
|
|
164
|
+
configurable: !0
|
|
165
|
+
}
|
|
166
|
+
}), Object.defineProperty(t, "prototype", {
|
|
167
|
+
writable: !1
|
|
168
|
+
}), e && _setPrototypeOf(t, e);
|
|
169
|
+
}
|
|
170
|
+
function _isNativeReflectConstruct() {
|
|
171
|
+
try {
|
|
172
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
173
|
+
} catch (t) {}
|
|
174
|
+
return (_isNativeReflectConstruct = function () {
|
|
175
|
+
return !!t;
|
|
176
|
+
})();
|
|
177
|
+
}
|
|
178
|
+
function _iterableToArray(r) {
|
|
179
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
180
|
+
}
|
|
45
181
|
function _iterableToArrayLimit(r, l) {
|
|
46
182
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
47
183
|
if (null != t) {
|
|
@@ -69,6 +205,15 @@ function _iterableToArrayLimit(r, l) {
|
|
|
69
205
|
return a;
|
|
70
206
|
}
|
|
71
207
|
}
|
|
208
|
+
function _nonIterableRest() {
|
|
209
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
210
|
+
}
|
|
211
|
+
function _nonIterableSpread() {
|
|
212
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
213
|
+
}
|
|
214
|
+
function _objectDestructuringEmpty(t) {
|
|
215
|
+
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
216
|
+
}
|
|
72
217
|
function ownKeys(e, r) {
|
|
73
218
|
var t = Object.keys(e);
|
|
74
219
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -90,6 +235,31 @@ function _objectSpread2(e) {
|
|
|
90
235
|
}
|
|
91
236
|
return e;
|
|
92
237
|
}
|
|
238
|
+
function _objectWithoutProperties(e, t) {
|
|
239
|
+
if (null == e) return {};
|
|
240
|
+
var o,
|
|
241
|
+
r,
|
|
242
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
243
|
+
if (Object.getOwnPropertySymbols) {
|
|
244
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
245
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
246
|
+
}
|
|
247
|
+
return i;
|
|
248
|
+
}
|
|
249
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
250
|
+
if (null == r) return {};
|
|
251
|
+
var t = {};
|
|
252
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
253
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
254
|
+
t[n] = r[n];
|
|
255
|
+
}
|
|
256
|
+
return t;
|
|
257
|
+
}
|
|
258
|
+
function _possibleConstructorReturn(t, e) {
|
|
259
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
260
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
261
|
+
return _assertThisInitialized(t);
|
|
262
|
+
}
|
|
93
263
|
function _regeneratorRuntime() {
|
|
94
264
|
_regeneratorRuntime = function () {
|
|
95
265
|
return e;
|
|
@@ -198,7 +368,7 @@ function _regeneratorRuntime() {
|
|
|
198
368
|
function makeInvokeMethod(e, r, n) {
|
|
199
369
|
var o = h;
|
|
200
370
|
return function (i, a) {
|
|
201
|
-
if (o === f) throw
|
|
371
|
+
if (o === f) throw Error("Generator is already running");
|
|
202
372
|
if (o === s) {
|
|
203
373
|
if ("throw" === i) throw a;
|
|
204
374
|
return {
|
|
@@ -340,7 +510,7 @@ function _regeneratorRuntime() {
|
|
|
340
510
|
} else if (c) {
|
|
341
511
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
342
512
|
} else {
|
|
343
|
-
if (!u) throw
|
|
513
|
+
if (!u) throw Error("try statement without catch or finally");
|
|
344
514
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
345
515
|
}
|
|
346
516
|
}
|
|
@@ -380,7 +550,7 @@ function _regeneratorRuntime() {
|
|
|
380
550
|
return o;
|
|
381
551
|
}
|
|
382
552
|
}
|
|
383
|
-
throw
|
|
553
|
+
throw Error("illegal catch attempt");
|
|
384
554
|
},
|
|
385
555
|
delegateYield: function (e, r, n) {
|
|
386
556
|
return this.delegate = {
|
|
@@ -391,6 +561,31 @@ function _regeneratorRuntime() {
|
|
|
391
561
|
}
|
|
392
562
|
}, e;
|
|
393
563
|
}
|
|
564
|
+
function _setPrototypeOf(t, e) {
|
|
565
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
566
|
+
return t.__proto__ = e, t;
|
|
567
|
+
}, _setPrototypeOf(t, e);
|
|
568
|
+
}
|
|
569
|
+
function _slicedToArray(r, e) {
|
|
570
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
571
|
+
}
|
|
572
|
+
function _toConsumableArray(r) {
|
|
573
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
574
|
+
}
|
|
575
|
+
function _toPrimitive(t, r) {
|
|
576
|
+
if ("object" != typeof t || !t) return t;
|
|
577
|
+
var e = t[Symbol.toPrimitive];
|
|
578
|
+
if (void 0 !== e) {
|
|
579
|
+
var i = e.call(t, r || "default");
|
|
580
|
+
if ("object" != typeof i) return i;
|
|
581
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
582
|
+
}
|
|
583
|
+
return ("string" === r ? String : Number)(t);
|
|
584
|
+
}
|
|
585
|
+
function _toPropertyKey(t) {
|
|
586
|
+
var i = _toPrimitive(t, "string");
|
|
587
|
+
return "symbol" == typeof i ? i : i + "";
|
|
588
|
+
}
|
|
394
589
|
function _typeof(o) {
|
|
395
590
|
"@babel/helpers - typeof";
|
|
396
591
|
|
|
@@ -400,252 +595,13 @@ function _typeof(o) {
|
|
|
400
595
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
401
596
|
}, _typeof(o);
|
|
402
597
|
}
|
|
403
|
-
function
|
|
404
|
-
if (
|
|
405
|
-
|
|
598
|
+
function _unsupportedIterableToArray(r, a) {
|
|
599
|
+
if (r) {
|
|
600
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
601
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
602
|
+
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;
|
|
406
603
|
}
|
|
407
604
|
}
|
|
408
|
-
function _defineProperties(target, props) {
|
|
409
|
-
for (var i = 0; i < props.length; i++) {
|
|
410
|
-
var descriptor = props[i];
|
|
411
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
412
|
-
descriptor.configurable = true;
|
|
413
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
414
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
418
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
419
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
420
|
-
writable: false
|
|
421
|
-
});
|
|
422
|
-
return Constructor;
|
|
423
|
-
}
|
|
424
|
-
function _defineProperty(obj, key, value) {
|
|
425
|
-
key = _toPropertyKey(key);
|
|
426
|
-
if (key in obj) {
|
|
427
|
-
Object.defineProperty(obj, key, {
|
|
428
|
-
value: value,
|
|
429
|
-
enumerable: true,
|
|
430
|
-
configurable: true,
|
|
431
|
-
writable: true
|
|
432
|
-
});
|
|
433
|
-
} else {
|
|
434
|
-
obj[key] = value;
|
|
435
|
-
}
|
|
436
|
-
return obj;
|
|
437
|
-
}
|
|
438
|
-
function _extends$1() {
|
|
439
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
440
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
441
|
-
var source = arguments[i];
|
|
442
|
-
for (var key in source) {
|
|
443
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
444
|
-
target[key] = source[key];
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
return target;
|
|
449
|
-
};
|
|
450
|
-
return _extends$1.apply(this, arguments);
|
|
451
|
-
}
|
|
452
|
-
function _inherits(subClass, superClass) {
|
|
453
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
454
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
455
|
-
}
|
|
456
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
457
|
-
constructor: {
|
|
458
|
-
value: subClass,
|
|
459
|
-
writable: true,
|
|
460
|
-
configurable: true
|
|
461
|
-
}
|
|
462
|
-
});
|
|
463
|
-
Object.defineProperty(subClass, "prototype", {
|
|
464
|
-
writable: false
|
|
465
|
-
});
|
|
466
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
467
|
-
}
|
|
468
|
-
function _getPrototypeOf(o) {
|
|
469
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
470
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
471
|
-
};
|
|
472
|
-
return _getPrototypeOf(o);
|
|
473
|
-
}
|
|
474
|
-
function _setPrototypeOf(o, p) {
|
|
475
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
476
|
-
o.__proto__ = p;
|
|
477
|
-
return o;
|
|
478
|
-
};
|
|
479
|
-
return _setPrototypeOf(o, p);
|
|
480
|
-
}
|
|
481
|
-
function _isNativeReflectConstruct() {
|
|
482
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
483
|
-
if (Reflect.construct.sham) return false;
|
|
484
|
-
if (typeof Proxy === "function") return true;
|
|
485
|
-
try {
|
|
486
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
487
|
-
return true;
|
|
488
|
-
} catch (e) {
|
|
489
|
-
return false;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
function _objectDestructuringEmpty(obj) {
|
|
493
|
-
if (obj == null) throw new TypeError("Cannot destructure " + obj);
|
|
494
|
-
}
|
|
495
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
496
|
-
if (source == null) return {};
|
|
497
|
-
var target = {};
|
|
498
|
-
var sourceKeys = Object.keys(source);
|
|
499
|
-
var key, i;
|
|
500
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
501
|
-
key = sourceKeys[i];
|
|
502
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
503
|
-
target[key] = source[key];
|
|
504
|
-
}
|
|
505
|
-
return target;
|
|
506
|
-
}
|
|
507
|
-
function _objectWithoutProperties(source, excluded) {
|
|
508
|
-
if (source == null) return {};
|
|
509
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
510
|
-
var key, i;
|
|
511
|
-
if (Object.getOwnPropertySymbols) {
|
|
512
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
513
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
514
|
-
key = sourceSymbolKeys[i];
|
|
515
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
516
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
517
|
-
target[key] = source[key];
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
return target;
|
|
521
|
-
}
|
|
522
|
-
function _assertThisInitialized(self) {
|
|
523
|
-
if (self === void 0) {
|
|
524
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
525
|
-
}
|
|
526
|
-
return self;
|
|
527
|
-
}
|
|
528
|
-
function _possibleConstructorReturn(self, call) {
|
|
529
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
530
|
-
return call;
|
|
531
|
-
} else if (call !== void 0) {
|
|
532
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
533
|
-
}
|
|
534
|
-
return _assertThisInitialized(self);
|
|
535
|
-
}
|
|
536
|
-
function _createSuper(Derived) {
|
|
537
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
538
|
-
return function _createSuperInternal() {
|
|
539
|
-
var Super = _getPrototypeOf(Derived),
|
|
540
|
-
result;
|
|
541
|
-
if (hasNativeReflectConstruct) {
|
|
542
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
543
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
544
|
-
} else {
|
|
545
|
-
result = Super.apply(this, arguments);
|
|
546
|
-
}
|
|
547
|
-
return _possibleConstructorReturn(this, result);
|
|
548
|
-
};
|
|
549
|
-
}
|
|
550
|
-
function _slicedToArray(arr, i) {
|
|
551
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
552
|
-
}
|
|
553
|
-
function _toConsumableArray(arr) {
|
|
554
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
555
|
-
}
|
|
556
|
-
function _arrayWithoutHoles(arr) {
|
|
557
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
558
|
-
}
|
|
559
|
-
function _arrayWithHoles(arr) {
|
|
560
|
-
if (Array.isArray(arr)) return arr;
|
|
561
|
-
}
|
|
562
|
-
function _iterableToArray(iter) {
|
|
563
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
564
|
-
}
|
|
565
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
566
|
-
if (!o) return;
|
|
567
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
568
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
569
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
570
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
571
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
572
|
-
}
|
|
573
|
-
function _arrayLikeToArray(arr, len) {
|
|
574
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
575
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
576
|
-
return arr2;
|
|
577
|
-
}
|
|
578
|
-
function _nonIterableSpread() {
|
|
579
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
580
|
-
}
|
|
581
|
-
function _nonIterableRest() {
|
|
582
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
583
|
-
}
|
|
584
|
-
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
585
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
586
|
-
if (!it) {
|
|
587
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
|
|
588
|
-
if (it) o = it;
|
|
589
|
-
var i = 0;
|
|
590
|
-
var F = function () {};
|
|
591
|
-
return {
|
|
592
|
-
s: F,
|
|
593
|
-
n: function () {
|
|
594
|
-
if (i >= o.length) return {
|
|
595
|
-
done: true
|
|
596
|
-
};
|
|
597
|
-
return {
|
|
598
|
-
done: false,
|
|
599
|
-
value: o[i++]
|
|
600
|
-
};
|
|
601
|
-
},
|
|
602
|
-
e: function (e) {
|
|
603
|
-
throw e;
|
|
604
|
-
},
|
|
605
|
-
f: F
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
609
|
-
}
|
|
610
|
-
var normalCompletion = true,
|
|
611
|
-
didErr = false,
|
|
612
|
-
err;
|
|
613
|
-
return {
|
|
614
|
-
s: function () {
|
|
615
|
-
it = it.call(o);
|
|
616
|
-
},
|
|
617
|
-
n: function () {
|
|
618
|
-
var step = it.next();
|
|
619
|
-
normalCompletion = step.done;
|
|
620
|
-
return step;
|
|
621
|
-
},
|
|
622
|
-
e: function (e) {
|
|
623
|
-
didErr = true;
|
|
624
|
-
err = e;
|
|
625
|
-
},
|
|
626
|
-
f: function () {
|
|
627
|
-
try {
|
|
628
|
-
if (!normalCompletion && it.return != null) it.return();
|
|
629
|
-
} finally {
|
|
630
|
-
if (didErr) throw err;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
}
|
|
635
|
-
function _toPrimitive(input, hint) {
|
|
636
|
-
if (typeof input !== "object" || input === null) return input;
|
|
637
|
-
var prim = input[Symbol.toPrimitive];
|
|
638
|
-
if (prim !== undefined) {
|
|
639
|
-
var res = prim.call(input, hint || "default");
|
|
640
|
-
if (typeof res !== "object") return res;
|
|
641
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
642
|
-
}
|
|
643
|
-
return (hint === "string" ? String : Number)(input);
|
|
644
|
-
}
|
|
645
|
-
function _toPropertyKey(arg) {
|
|
646
|
-
var key = _toPrimitive(arg, "string");
|
|
647
|
-
return typeof key === "symbol" ? key : String(key);
|
|
648
|
-
}
|
|
649
605
|
|
|
650
606
|
var BASE_BORDER_WIDTH = 1;
|
|
651
607
|
var BASE_SPACE = 8;
|
|
@@ -2851,7 +2807,16 @@ var getButtonTheme = function getButtonTheme(theme) {
|
|
|
2851
2807
|
}
|
|
2852
2808
|
};
|
|
2853
2809
|
var lineHeights = {
|
|
2854
|
-
titleOfTextVariant: theme.lineHeights.medium
|
|
2810
|
+
titleOfTextVariant: theme.lineHeights.medium,
|
|
2811
|
+
buttonText: reactNative.Platform.select({
|
|
2812
|
+
android: theme.lineHeights.medium + theme.space.xxsmall
|
|
2813
|
+
}),
|
|
2814
|
+
utilityButtonText: reactNative.Platform.select({
|
|
2815
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2816
|
+
}),
|
|
2817
|
+
compactButtonText: reactNative.Platform.select({
|
|
2818
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2819
|
+
})
|
|
2855
2820
|
};
|
|
2856
2821
|
return {
|
|
2857
2822
|
lineHeights: lineHeights,
|
|
@@ -3430,41 +3395,39 @@ var getPinInputTheme = function getPinInputTheme(theme) {
|
|
|
3430
3395
|
};
|
|
3431
3396
|
|
|
3432
3397
|
var getProgressTheme = function getProgressTheme(theme) {
|
|
3433
|
-
var lightenScaleOnInverted = 20;
|
|
3434
3398
|
var colors = {
|
|
3435
3399
|
completeness: {
|
|
3436
3400
|
primary: theme.colors.primary,
|
|
3437
3401
|
success: theme.colors.success,
|
|
3438
|
-
// should be emerald dark 15
|
|
3439
3402
|
warning: theme.colors.warning,
|
|
3440
3403
|
danger: theme.colors.error,
|
|
3441
3404
|
info: theme.colors.info,
|
|
3442
3405
|
archived: theme.colors.onArchivedSurface,
|
|
3443
|
-
primaryInverted: theme.colors.
|
|
3444
|
-
successInverted: theme.colors.
|
|
3445
|
-
warningInverted: theme.colors.
|
|
3446
|
-
dangerInverted: theme.colors.
|
|
3447
|
-
infoInverted: theme.colors.
|
|
3448
|
-
archivedInverted: theme.colors.
|
|
3406
|
+
primaryInverted: theme.colors.white,
|
|
3407
|
+
successInverted: theme.colors.white,
|
|
3408
|
+
warningInverted: theme.colors.white,
|
|
3409
|
+
dangerInverted: theme.colors.white,
|
|
3410
|
+
infoInverted: theme.colors.white,
|
|
3411
|
+
archivedInverted: theme.colors.white
|
|
3449
3412
|
},
|
|
3450
3413
|
incompleteness: {
|
|
3451
|
-
primary: theme.colors.
|
|
3452
|
-
success: theme.colors.
|
|
3453
|
-
warning: theme.colors.
|
|
3454
|
-
danger: theme.colors.
|
|
3455
|
-
info: theme.colors.
|
|
3456
|
-
archived: theme.colors.
|
|
3457
|
-
primaryInverted:
|
|
3458
|
-
successInverted: theme.colors.
|
|
3459
|
-
warningInverted: theme.colors.
|
|
3460
|
-
dangerInverted: theme.colors.
|
|
3461
|
-
infoInverted: theme.colors.
|
|
3462
|
-
archivedInverted: theme.colors.
|
|
3414
|
+
primary: theme.colors.overlayGlobalSurface,
|
|
3415
|
+
success: theme.colors.overlayGlobalSurface,
|
|
3416
|
+
warning: theme.colors.overlayGlobalSurface,
|
|
3417
|
+
danger: theme.colors.overlayGlobalSurface,
|
|
3418
|
+
info: theme.colors.overlayGlobalSurface,
|
|
3419
|
+
archived: theme.colors.overlayGlobalSurface,
|
|
3420
|
+
primaryInverted: theme.colors.overlayGlobalSurface,
|
|
3421
|
+
successInverted: theme.colors.overlayGlobalSurface,
|
|
3422
|
+
warningInverted: theme.colors.overlayGlobalSurface,
|
|
3423
|
+
dangerInverted: theme.colors.overlayGlobalSurface,
|
|
3424
|
+
infoInverted: theme.colors.overlayGlobalSurface,
|
|
3425
|
+
archivedInverted: theme.colors.overlayGlobalSurface
|
|
3463
3426
|
},
|
|
3464
3427
|
step: {
|
|
3465
3428
|
complete: theme.colors.primary,
|
|
3466
3429
|
incomplete: theme.colors.archivedSurface,
|
|
3467
|
-
current:
|
|
3430
|
+
current: theme.colors.decorativePrimarySurface
|
|
3468
3431
|
}
|
|
3469
3432
|
};
|
|
3470
3433
|
var sizes = {
|
|
@@ -4046,7 +4009,9 @@ var getToolbarTheme = function getToolbarTheme(theme) {
|
|
|
4046
4009
|
danger: theme.colors.onErrorSurface,
|
|
4047
4010
|
disabled: theme.colors.disabledOnDefaultGlobalSurface,
|
|
4048
4011
|
iconButtonBackground: theme.colors.highlightedSurface,
|
|
4049
|
-
inputContainerBackground: theme.colors.neutralGlobalSurface
|
|
4012
|
+
inputContainerBackground: theme.colors.neutralGlobalSurface,
|
|
4013
|
+
text: theme.colors.onDefaultGlobalSurface,
|
|
4014
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4050
4015
|
};
|
|
4051
4016
|
var space = {
|
|
4052
4017
|
verticalPadding: theme.space.small,
|
|
@@ -4264,17 +4229,16 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4264
4229
|
var colors = {
|
|
4265
4230
|
basic: {
|
|
4266
4231
|
containerBackground: theme.colors.neutralGlobalSurface,
|
|
4267
|
-
border: theme.colors.neutralGlobalSurface
|
|
4268
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4232
|
+
border: theme.colors.neutralGlobalSurface
|
|
4269
4233
|
},
|
|
4270
4234
|
reversed: {
|
|
4271
4235
|
containerBackground: theme.colors.defaultGlobalSurface,
|
|
4272
|
-
border: theme.colors.secondaryOutline
|
|
4273
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4236
|
+
border: theme.colors.secondaryOutline
|
|
4274
4237
|
},
|
|
4275
4238
|
suffixBackground: theme.colors.defaultGlobalSurface,
|
|
4276
4239
|
text: theme.colors.onDefaultGlobalSurface,
|
|
4277
|
-
shadow: theme.colors.primaryOutline
|
|
4240
|
+
shadow: theme.colors.primaryOutline,
|
|
4241
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4278
4242
|
};
|
|
4279
4243
|
var shadows = {
|
|
4280
4244
|
container: theme.shadows["default"]
|
|
@@ -4297,14 +4261,7 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4297
4261
|
};
|
|
4298
4262
|
var borderWidths = {
|
|
4299
4263
|
container: {
|
|
4300
|
-
|
|
4301
|
-
normal: theme.borderWidths.medium,
|
|
4302
|
-
focused: theme.borderWidths.medium
|
|
4303
|
-
},
|
|
4304
|
-
reversed: {
|
|
4305
|
-
normal: theme.borderWidths.base,
|
|
4306
|
-
focused: theme.borderWidths.medium
|
|
4307
|
-
}
|
|
4264
|
+
"default": theme.borderWidths.base
|
|
4308
4265
|
}
|
|
4309
4266
|
};
|
|
4310
4267
|
var radii = {
|
|
@@ -7738,7 +7695,7 @@ var Typography = {
|
|
|
7738
7695
|
};
|
|
7739
7696
|
|
|
7740
7697
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
7741
|
-
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'];
|
|
7698
|
+
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', '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'];
|
|
7742
7699
|
|
|
7743
7700
|
var activate = 59000;
|
|
7744
7701
|
var adjustment = 59003;
|
|
@@ -7816,22 +7773,22 @@ var wallet = 59189;
|
|
|
7816
7773
|
var warning = 59190;
|
|
7817
7774
|
var add = 59197;
|
|
7818
7775
|
var bold = 59227;
|
|
7819
|
-
var cancel =
|
|
7820
|
-
var checkmark =
|
|
7821
|
-
var italic =
|
|
7822
|
-
var local_mall_outlined =
|
|
7823
|
-
var number =
|
|
7824
|
-
var percentage =
|
|
7825
|
-
var redeem =
|
|
7826
|
-
var refresh =
|
|
7827
|
-
var remove =
|
|
7828
|
-
var restart =
|
|
7829
|
-
var shopping_basket_outlined =
|
|
7830
|
-
var strikethrough =
|
|
7831
|
-
var sync =
|
|
7832
|
-
var transfer =
|
|
7833
|
-
var unavailable =
|
|
7834
|
-
var underline =
|
|
7776
|
+
var cancel = 59244;
|
|
7777
|
+
var checkmark = 59250;
|
|
7778
|
+
var italic = 59346;
|
|
7779
|
+
var local_mall_outlined = 59353;
|
|
7780
|
+
var number = 59376;
|
|
7781
|
+
var percentage = 59382;
|
|
7782
|
+
var redeem = 59392;
|
|
7783
|
+
var refresh = 59393;
|
|
7784
|
+
var remove = 59394;
|
|
7785
|
+
var restart = 59396;
|
|
7786
|
+
var shopping_basket_outlined = 59412;
|
|
7787
|
+
var strikethrough = 59427;
|
|
7788
|
+
var sync = 59433;
|
|
7789
|
+
var transfer = 59442;
|
|
7790
|
+
var unavailable = 59447;
|
|
7791
|
+
var underline = 59448;
|
|
7835
7792
|
var glyphMap = {
|
|
7836
7793
|
activate: activate,
|
|
7837
7794
|
"add-emoji": 59001,
|
|
@@ -8071,228 +8028,229 @@ var glyphMap = {
|
|
|
8071
8028
|
"box-outlined": 59235,
|
|
8072
8029
|
"bullet-points": 59236,
|
|
8073
8030
|
"cake-outlined": 59237,
|
|
8074
|
-
"
|
|
8075
|
-
"calendar-
|
|
8076
|
-
"
|
|
8077
|
-
"call-
|
|
8078
|
-
"
|
|
8031
|
+
"calculator-outlined": 59238,
|
|
8032
|
+
"calendar-dates-outlined": 59239,
|
|
8033
|
+
"calendar-star-outlined": 59240,
|
|
8034
|
+
"call-outlined": 59241,
|
|
8035
|
+
"call-split-outlined": 59242,
|
|
8036
|
+
"camera-outlined": 59243,
|
|
8079
8037
|
cancel: cancel,
|
|
8080
|
-
"car-forward-outlined":
|
|
8081
|
-
"cashback-outlined":
|
|
8082
|
-
"charging-station-outlined":
|
|
8083
|
-
"chat-bubble-outlined":
|
|
8084
|
-
"chat-unread-outlined":
|
|
8038
|
+
"car-forward-outlined": 59245,
|
|
8039
|
+
"cashback-outlined": 59246,
|
|
8040
|
+
"charging-station-outlined": 59247,
|
|
8041
|
+
"chat-bubble-outlined": 59248,
|
|
8042
|
+
"chat-unread-outlined": 59249,
|
|
8085
8043
|
checkmark: checkmark,
|
|
8086
|
-
"circle-add-outlined":
|
|
8087
|
-
"circle-cancel-outlined":
|
|
8088
|
-
"circle-down-outlined":
|
|
8089
|
-
"circle-info-outlined":
|
|
8090
|
-
"circle-left-outlined":
|
|
8091
|
-
"circle-ok-outlined":
|
|
8092
|
-
"circle-question-outlined":
|
|
8093
|
-
"circle-remove-outlined":
|
|
8094
|
-
"circle-right-outlined":
|
|
8095
|
-
"circle-up-outlined":
|
|
8096
|
-
"circle-warning-outlined":
|
|
8097
|
-
"clock-2-outlined":
|
|
8098
|
-
"clock-in-outlined":
|
|
8099
|
-
"clock-out-outlined":
|
|
8100
|
-
"clock-outlined":
|
|
8101
|
-
"cog-outlined":
|
|
8102
|
-
"coin-outlined":
|
|
8103
|
-
"coin-super-outlined":
|
|
8104
|
-
"comment-outlined":
|
|
8105
|
-
"contacts-outlined":
|
|
8106
|
-
"contacts-user-outlined":
|
|
8107
|
-
"credit-card-outlined":
|
|
8108
|
-
"cultural-site-outlined":
|
|
8109
|
-
"cup-outlined":
|
|
8110
|
-
"dentistry-outlined":
|
|
8111
|
-
"direction-arrows-outlined":
|
|
8112
|
-
"directory-outlined":
|
|
8113
|
-
"document-outlined":
|
|
8114
|
-
"dollar-box-outlined":
|
|
8115
|
-
"dollar-card-outlined":
|
|
8116
|
-
"dollar-coin-shine-outlined":
|
|
8117
|
-
"dollar-credit-card-outlined":
|
|
8118
|
-
"dollar-sign":
|
|
8119
|
-
"double-buildings-outlined":
|
|
8120
|
-
"double-left-arrows":
|
|
8121
|
-
"double-right-arrows":
|
|
8122
|
-
"download-box-outlined":
|
|
8123
|
-
"download-outlined":
|
|
8124
|
-
"edit-template-outlined":
|
|
8125
|
-
"electronics-outlined":
|
|
8126
|
-
"email-outlined":
|
|
8127
|
-
"end-break-outlined":
|
|
8128
|
-
"enter-arrow":
|
|
8129
|
-
"entertainment-outlined":
|
|
8130
|
-
"envelope-outlined":
|
|
8131
|
-
"evening-outlined":
|
|
8132
|
-
"expense-approval-outlined":
|
|
8133
|
-
"expense-outlined":
|
|
8134
|
-
"explore-outlined":
|
|
8135
|
-
"extension-outlined":
|
|
8136
|
-
"external-link":
|
|
8137
|
-
"eye-invisible-outlined":
|
|
8138
|
-
"eye-outlined":
|
|
8139
|
-
"face-id":
|
|
8140
|
-
"face-meh-outlined":
|
|
8141
|
-
"face-open-smiley-outlined":
|
|
8142
|
-
"face-sad-outlined":
|
|
8143
|
-
"face-smiley-outlined":
|
|
8144
|
-
"fastfood-outlined":
|
|
8145
|
-
"feed-outlined":
|
|
8146
|
-
"file-certified-outlined":
|
|
8147
|
-
"file-clone-outlined":
|
|
8148
|
-
"file-copy-outlined":
|
|
8149
|
-
"file-dispose-outlined":
|
|
8150
|
-
"file-dollar-certified-outlined":
|
|
8151
|
-
"file-dollar-outlined":
|
|
8152
|
-
"file-download-outlined":
|
|
8153
|
-
"file-export-outlined":
|
|
8154
|
-
"file-lock-outlined":
|
|
8155
|
-
"file-outlined":
|
|
8156
|
-
"file-search-outlined":
|
|
8157
|
-
"file-secured-outlined":
|
|
8158
|
-
"file-statutory-outlined":
|
|
8159
|
-
"file-verified-outlined":
|
|
8160
|
-
"filter-outlined":
|
|
8161
|
-
"fitness-outlined":
|
|
8162
|
-
"folder-outlined":
|
|
8163
|
-
"folder-upload-outlined":
|
|
8164
|
-
"folder-user-outlined":
|
|
8165
|
-
"form-outlined":
|
|
8166
|
-
"funnel-filter-outline":
|
|
8167
|
-
"goal-outlined":
|
|
8168
|
-
"graph-outlined":
|
|
8169
|
-
"grocery-outlined":
|
|
8170
|
-
"hand-holding-user-outlined":
|
|
8171
|
-
"handshake-outlined":
|
|
8172
|
-
"happy-sun-outlined":
|
|
8173
|
-
"health-bag-outlined":
|
|
8174
|
-
"heart-outlined":
|
|
8175
|
-
"home-active-outlined":
|
|
8176
|
-
"home-outlined":
|
|
8177
|
-
"id-card-outlined":
|
|
8178
|
-
"image-outlined":
|
|
8179
|
-
"import-outlined":
|
|
8180
|
-
"instapay-outlined":
|
|
8044
|
+
"circle-add-outlined": 59251,
|
|
8045
|
+
"circle-cancel-outlined": 59252,
|
|
8046
|
+
"circle-down-outlined": 59253,
|
|
8047
|
+
"circle-info-outlined": 59254,
|
|
8048
|
+
"circle-left-outlined": 59255,
|
|
8049
|
+
"circle-ok-outlined": 59256,
|
|
8050
|
+
"circle-question-outlined": 59257,
|
|
8051
|
+
"circle-remove-outlined": 59258,
|
|
8052
|
+
"circle-right-outlined": 59259,
|
|
8053
|
+
"circle-up-outlined": 59260,
|
|
8054
|
+
"circle-warning-outlined": 59261,
|
|
8055
|
+
"clock-2-outlined": 59262,
|
|
8056
|
+
"clock-in-outlined": 59263,
|
|
8057
|
+
"clock-out-outlined": 59264,
|
|
8058
|
+
"clock-outlined": 59265,
|
|
8059
|
+
"cog-outlined": 59266,
|
|
8060
|
+
"coin-outlined": 59267,
|
|
8061
|
+
"coin-super-outlined": 59268,
|
|
8062
|
+
"comment-outlined": 59269,
|
|
8063
|
+
"contacts-outlined": 59270,
|
|
8064
|
+
"contacts-user-outlined": 59271,
|
|
8065
|
+
"credit-card-outlined": 59272,
|
|
8066
|
+
"cultural-site-outlined": 59273,
|
|
8067
|
+
"cup-outlined": 59274,
|
|
8068
|
+
"dentistry-outlined": 59275,
|
|
8069
|
+
"direction-arrows-outlined": 59276,
|
|
8070
|
+
"directory-outlined": 59277,
|
|
8071
|
+
"document-outlined": 59278,
|
|
8072
|
+
"dollar-box-outlined": 59279,
|
|
8073
|
+
"dollar-card-outlined": 59280,
|
|
8074
|
+
"dollar-coin-shine-outlined": 59281,
|
|
8075
|
+
"dollar-credit-card-outlined": 59282,
|
|
8076
|
+
"dollar-sign": 59283,
|
|
8077
|
+
"double-buildings-outlined": 59284,
|
|
8078
|
+
"double-left-arrows": 59285,
|
|
8079
|
+
"double-right-arrows": 59286,
|
|
8080
|
+
"download-box-outlined": 59287,
|
|
8081
|
+
"download-outlined": 59288,
|
|
8082
|
+
"edit-template-outlined": 59289,
|
|
8083
|
+
"electronics-outlined": 59290,
|
|
8084
|
+
"email-outlined": 59291,
|
|
8085
|
+
"end-break-outlined": 59292,
|
|
8086
|
+
"enter-arrow": 59293,
|
|
8087
|
+
"entertainment-outlined": 59294,
|
|
8088
|
+
"envelope-outlined": 59295,
|
|
8089
|
+
"evening-outlined": 59296,
|
|
8090
|
+
"expense-approval-outlined": 59297,
|
|
8091
|
+
"expense-outlined": 59298,
|
|
8092
|
+
"explore-outlined": 59299,
|
|
8093
|
+
"extension-outlined": 59300,
|
|
8094
|
+
"external-link": 59301,
|
|
8095
|
+
"eye-invisible-outlined": 59302,
|
|
8096
|
+
"eye-outlined": 59303,
|
|
8097
|
+
"face-id": 59304,
|
|
8098
|
+
"face-meh-outlined": 59305,
|
|
8099
|
+
"face-open-smiley-outlined": 59306,
|
|
8100
|
+
"face-sad-outlined": 59307,
|
|
8101
|
+
"face-smiley-outlined": 59308,
|
|
8102
|
+
"fastfood-outlined": 59309,
|
|
8103
|
+
"feed-outlined": 59310,
|
|
8104
|
+
"file-certified-outlined": 59311,
|
|
8105
|
+
"file-clone-outlined": 59312,
|
|
8106
|
+
"file-copy-outlined": 59313,
|
|
8107
|
+
"file-dispose-outlined": 59314,
|
|
8108
|
+
"file-dollar-certified-outlined": 59315,
|
|
8109
|
+
"file-dollar-outlined": 59316,
|
|
8110
|
+
"file-download-outlined": 59317,
|
|
8111
|
+
"file-export-outlined": 59318,
|
|
8112
|
+
"file-lock-outlined": 59319,
|
|
8113
|
+
"file-outlined": 59320,
|
|
8114
|
+
"file-search-outlined": 59321,
|
|
8115
|
+
"file-secured-outlined": 59322,
|
|
8116
|
+
"file-statutory-outlined": 59323,
|
|
8117
|
+
"file-verified-outlined": 59324,
|
|
8118
|
+
"filter-outlined": 59325,
|
|
8119
|
+
"fitness-outlined": 59326,
|
|
8120
|
+
"folder-outlined": 59327,
|
|
8121
|
+
"folder-upload-outlined": 59328,
|
|
8122
|
+
"folder-user-outlined": 59329,
|
|
8123
|
+
"form-outlined": 59330,
|
|
8124
|
+
"funnel-filter-outline": 59331,
|
|
8125
|
+
"goal-outlined": 59332,
|
|
8126
|
+
"graph-outlined": 59333,
|
|
8127
|
+
"grocery-outlined": 59334,
|
|
8128
|
+
"hand-holding-user-outlined": 59335,
|
|
8129
|
+
"handshake-outlined": 59336,
|
|
8130
|
+
"happy-sun-outlined": 59337,
|
|
8131
|
+
"health-bag-outlined": 59338,
|
|
8132
|
+
"heart-outlined": 59339,
|
|
8133
|
+
"home-active-outlined": 59340,
|
|
8134
|
+
"home-outlined": 59341,
|
|
8135
|
+
"id-card-outlined": 59342,
|
|
8136
|
+
"image-outlined": 59343,
|
|
8137
|
+
"import-outlined": 59344,
|
|
8138
|
+
"instapay-outlined": 59345,
|
|
8181
8139
|
italic: italic,
|
|
8182
|
-
"job-search-outlined":
|
|
8183
|
-
"leave-approval-outlined":
|
|
8184
|
-
"link-1":
|
|
8185
|
-
"link-2":
|
|
8186
|
-
"list-outlined":
|
|
8187
|
-
"live-help-outlined":
|
|
8140
|
+
"job-search-outlined": 59347,
|
|
8141
|
+
"leave-approval-outlined": 59348,
|
|
8142
|
+
"link-1": 59349,
|
|
8143
|
+
"link-2": 59350,
|
|
8144
|
+
"list-outlined": 59351,
|
|
8145
|
+
"live-help-outlined": 59352,
|
|
8188
8146
|
local_mall_outlined: local_mall_outlined,
|
|
8189
|
-
"location-on-outlined":
|
|
8190
|
-
"location-outlined":
|
|
8191
|
-
"lock-outlined":
|
|
8192
|
-
"locked-file-outlined":
|
|
8193
|
-
"log-out":
|
|
8194
|
-
"mail-outlined":
|
|
8195
|
-
"map-outlined":
|
|
8196
|
-
"media-content-outlined":
|
|
8197
|
-
"menu-close":
|
|
8198
|
-
"menu-expand":
|
|
8199
|
-
"menu-fold-outlined":
|
|
8200
|
-
"menu-unfold-outlined":
|
|
8201
|
-
"moneybag-outlined":
|
|
8202
|
-
"moon-outlined":
|
|
8203
|
-
"more-horizontal":
|
|
8204
|
-
"more-vertical":
|
|
8205
|
-
"morning-outlined":
|
|
8206
|
-
"multiple-folders-outlined":
|
|
8207
|
-
"multiple-users-outlined":
|
|
8208
|
-
"near-me-outlined":
|
|
8209
|
-
"node-outlined":
|
|
8210
|
-
"number-points":
|
|
8147
|
+
"location-on-outlined": 59354,
|
|
8148
|
+
"location-outlined": 59355,
|
|
8149
|
+
"lock-outlined": 59356,
|
|
8150
|
+
"locked-file-outlined": 59357,
|
|
8151
|
+
"log-out": 59358,
|
|
8152
|
+
"mail-outlined": 59359,
|
|
8153
|
+
"map-outlined": 59360,
|
|
8154
|
+
"media-content-outlined": 59361,
|
|
8155
|
+
"menu-close": 59362,
|
|
8156
|
+
"menu-expand": 59363,
|
|
8157
|
+
"menu-fold-outlined": 59364,
|
|
8158
|
+
"menu-unfold-outlined": 59365,
|
|
8159
|
+
"moneybag-outlined": 59366,
|
|
8160
|
+
"moon-outlined": 59367,
|
|
8161
|
+
"more-horizontal": 59368,
|
|
8162
|
+
"more-vertical": 59369,
|
|
8163
|
+
"morning-outlined": 59370,
|
|
8164
|
+
"multiple-folders-outlined": 59371,
|
|
8165
|
+
"multiple-users-outlined": 59372,
|
|
8166
|
+
"near-me-outlined": 59373,
|
|
8167
|
+
"node-outlined": 59374,
|
|
8168
|
+
"number-points": 59375,
|
|
8211
8169
|
number: number,
|
|
8212
|
-
"overview-outlined":
|
|
8213
|
-
"park-outlined":
|
|
8214
|
-
"payment-summary-outlined":
|
|
8215
|
-
"payslip-outlined":
|
|
8216
|
-
"pencil-outlined":
|
|
8170
|
+
"overview-outlined": 59377,
|
|
8171
|
+
"park-outlined": 59378,
|
|
8172
|
+
"payment-summary-outlined": 59379,
|
|
8173
|
+
"payslip-outlined": 59380,
|
|
8174
|
+
"pencil-outlined": 59381,
|
|
8217
8175
|
percentage: percentage,
|
|
8218
|
-
"phone-outlined":
|
|
8219
|
-
"piggy-bank-outlined":
|
|
8220
|
-
"plane-outlined":
|
|
8221
|
-
"play-circle-outlined":
|
|
8222
|
-
"print-outlined":
|
|
8223
|
-
"propane-tank-outlined":
|
|
8224
|
-
"qr-code-outlined":
|
|
8225
|
-
"qualification-outlined":
|
|
8226
|
-
"re-assign":
|
|
8176
|
+
"phone-outlined": 59383,
|
|
8177
|
+
"piggy-bank-outlined": 59384,
|
|
8178
|
+
"plane-outlined": 59385,
|
|
8179
|
+
"play-circle-outlined": 59386,
|
|
8180
|
+
"print-outlined": 59387,
|
|
8181
|
+
"propane-tank-outlined": 59388,
|
|
8182
|
+
"qr-code-outlined": 59389,
|
|
8183
|
+
"qualification-outlined": 59390,
|
|
8184
|
+
"re-assign": 59391,
|
|
8227
8185
|
redeem: redeem,
|
|
8228
8186
|
refresh: refresh,
|
|
8229
8187
|
remove: remove,
|
|
8230
|
-
"reply-outlined":
|
|
8188
|
+
"reply-outlined": 59395,
|
|
8231
8189
|
restart: restart,
|
|
8232
|
-
"restaurant-outlined":
|
|
8233
|
-
"resume-outlined":
|
|
8234
|
-
"return-arrow":
|
|
8235
|
-
"rostering-outlined":
|
|
8236
|
-
"safety-outlined":
|
|
8237
|
-
"save-outlined":
|
|
8238
|
-
"schedule-outlined":
|
|
8239
|
-
"search-outlined":
|
|
8240
|
-
"search-secured-outlined":
|
|
8241
|
-
"send-outlined":
|
|
8242
|
-
"share-1":
|
|
8243
|
-
"share-2":
|
|
8244
|
-
"share-outlined-2":
|
|
8245
|
-
"share-outlined":
|
|
8246
|
-
"shop-outlined":
|
|
8190
|
+
"restaurant-outlined": 59397,
|
|
8191
|
+
"resume-outlined": 59398,
|
|
8192
|
+
"return-arrow": 59399,
|
|
8193
|
+
"rostering-outlined": 59400,
|
|
8194
|
+
"safety-outlined": 59401,
|
|
8195
|
+
"save-outlined": 59402,
|
|
8196
|
+
"schedule-outlined": 59403,
|
|
8197
|
+
"search-outlined": 59404,
|
|
8198
|
+
"search-secured-outlined": 59405,
|
|
8199
|
+
"send-outlined": 59406,
|
|
8200
|
+
"share-1": 59407,
|
|
8201
|
+
"share-2": 59408,
|
|
8202
|
+
"share-outlined-2": 59409,
|
|
8203
|
+
"share-outlined": 59410,
|
|
8204
|
+
"shop-outlined": 59411,
|
|
8247
8205
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
8248
|
-
"show-chart-outlined":
|
|
8249
|
-
"single-down-arrow":
|
|
8250
|
-
"single-left-arrow":
|
|
8251
|
-
"single-right-arrow":
|
|
8252
|
-
"single-up-arrow":
|
|
8253
|
-
"smart-match-outlined":
|
|
8254
|
-
"sparkle-outlined":
|
|
8255
|
-
"speaker-active-outlined":
|
|
8256
|
-
"speaker-outlined":
|
|
8257
|
-
"star-circle-outlined":
|
|
8258
|
-
"star-outlined":
|
|
8259
|
-
"start-break-outlined":
|
|
8260
|
-
"stash-outlined":
|
|
8261
|
-
"stopwatch-outlined":
|
|
8206
|
+
"show-chart-outlined": 59413,
|
|
8207
|
+
"single-down-arrow": 59414,
|
|
8208
|
+
"single-left-arrow": 59415,
|
|
8209
|
+
"single-right-arrow": 59416,
|
|
8210
|
+
"single-up-arrow": 59417,
|
|
8211
|
+
"smart-match-outlined": 59418,
|
|
8212
|
+
"sparkle-outlined": 59419,
|
|
8213
|
+
"speaker-active-outlined": 59420,
|
|
8214
|
+
"speaker-outlined": 59421,
|
|
8215
|
+
"star-circle-outlined": 59422,
|
|
8216
|
+
"star-outlined": 59423,
|
|
8217
|
+
"start-break-outlined": 59424,
|
|
8218
|
+
"stash-outlined": 59425,
|
|
8219
|
+
"stopwatch-outlined": 59426,
|
|
8262
8220
|
strikethrough: strikethrough,
|
|
8263
|
-
"styler-outlined":
|
|
8264
|
-
"suitcase-clock-outlined":
|
|
8265
|
-
"suitcase-outlined":
|
|
8266
|
-
"survey-outlined":
|
|
8267
|
-
"switch-outlined":
|
|
8221
|
+
"styler-outlined": 59428,
|
|
8222
|
+
"suitcase-clock-outlined": 59429,
|
|
8223
|
+
"suitcase-outlined": 59430,
|
|
8224
|
+
"survey-outlined": 59431,
|
|
8225
|
+
"switch-outlined": 59432,
|
|
8268
8226
|
sync: sync,
|
|
8269
|
-
"tag-outlined":
|
|
8270
|
-
"target-outlined":
|
|
8271
|
-
"tennis-outlined":
|
|
8272
|
-
"thumb-down-outlined":
|
|
8273
|
-
"ticket-outlined":
|
|
8274
|
-
"timesheet-outlined":
|
|
8275
|
-
"timesheets-outlined":
|
|
8276
|
-
"today-outlined":
|
|
8227
|
+
"tag-outlined": 59434,
|
|
8228
|
+
"target-outlined": 59435,
|
|
8229
|
+
"tennis-outlined": 59436,
|
|
8230
|
+
"thumb-down-outlined": 59437,
|
|
8231
|
+
"ticket-outlined": 59438,
|
|
8232
|
+
"timesheet-outlined": 59439,
|
|
8233
|
+
"timesheets-outlined": 59440,
|
|
8234
|
+
"today-outlined": 59441,
|
|
8277
8235
|
transfer: transfer,
|
|
8278
|
-
"transportation-outlined":
|
|
8279
|
-
"trash-bin-outlined":
|
|
8280
|
-
"umbrela-outlined":
|
|
8281
|
-
"unavailability-outlined":
|
|
8236
|
+
"transportation-outlined": 59443,
|
|
8237
|
+
"trash-bin-outlined": 59444,
|
|
8238
|
+
"umbrela-outlined": 59445,
|
|
8239
|
+
"unavailability-outlined": 59446,
|
|
8282
8240
|
unavailable: unavailable,
|
|
8283
8241
|
underline: underline,
|
|
8284
|
-
"union-outlined":
|
|
8285
|
-
"unlock-outlined":
|
|
8286
|
-
"upload-outlined":
|
|
8287
|
-
"user-circle-outlined":
|
|
8288
|
-
"user-gear-outlined":
|
|
8289
|
-
"user-outlined":
|
|
8290
|
-
"user-rectangle-outlined":
|
|
8291
|
-
"video-1-outlined":
|
|
8292
|
-
"video-2-outlined":
|
|
8293
|
-
"volunteer-outlined":
|
|
8294
|
-
"wallet-outlined":
|
|
8295
|
-
"wellness-outlined":
|
|
8242
|
+
"union-outlined": 59449,
|
|
8243
|
+
"unlock-outlined": 59450,
|
|
8244
|
+
"upload-outlined": 59451,
|
|
8245
|
+
"user-circle-outlined": 59452,
|
|
8246
|
+
"user-gear-outlined": 59453,
|
|
8247
|
+
"user-outlined": 59454,
|
|
8248
|
+
"user-rectangle-outlined": 59455,
|
|
8249
|
+
"video-1-outlined": 59456,
|
|
8250
|
+
"video-2-outlined": 59457,
|
|
8251
|
+
"volunteer-outlined": 59458,
|
|
8252
|
+
"wallet-outlined": 59459,
|
|
8253
|
+
"wellness-outlined": 59460
|
|
8296
8254
|
};
|
|
8297
8255
|
|
|
8298
8256
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -9122,6 +9080,17 @@ function omit(keys, obj) {
|
|
|
9122
9080
|
});
|
|
9123
9081
|
return result;
|
|
9124
9082
|
}
|
|
9083
|
+
function hexToRgba(hex, a) {
|
|
9084
|
+
var arrBuff = new ArrayBuffer(4);
|
|
9085
|
+
var vw = new DataView(arrBuff);
|
|
9086
|
+
vw.setUint32(0, parseInt(hex, 16), false);
|
|
9087
|
+
var arrByte = new Uint8Array(arrBuff);
|
|
9088
|
+
var _arrByte = _slicedToArray(arrByte, 3),
|
|
9089
|
+
r = _arrByte[0],
|
|
9090
|
+
g = _arrByte[1],
|
|
9091
|
+
b = _arrByte[2];
|
|
9092
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
|
|
9093
|
+
}
|
|
9125
9094
|
|
|
9126
9095
|
var colors = {
|
|
9127
9096
|
backgroundColor: {
|
|
@@ -10240,15 +10209,22 @@ var StyledButtonText = index$a(Typography.Title)(function (_ref3) {
|
|
|
10240
10209
|
};
|
|
10241
10210
|
return _objectSpread2({
|
|
10242
10211
|
flexShrink: 1,
|
|
10243
|
-
textAlign: 'center'
|
|
10212
|
+
textAlign: 'center',
|
|
10213
|
+
textAlignVertical: 'center',
|
|
10214
|
+
lineHeight: theme.__hd__.button.lineHeights.buttonText
|
|
10244
10215
|
}, themeStyling());
|
|
10245
10216
|
});
|
|
10246
|
-
var StyledSmallButtonText = StyledButtonText.withComponent(Typography.Body)
|
|
10247
|
-
var
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10217
|
+
var StyledSmallButtonText = index$a(StyledButtonText.withComponent(Typography.Body))(function (_ref4) {
|
|
10218
|
+
var theme = _ref4.theme;
|
|
10219
|
+
return {
|
|
10220
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10221
|
+
};
|
|
10222
|
+
});
|
|
10223
|
+
var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref5) {
|
|
10224
|
+
var disabled = _ref5.disabled,
|
|
10225
|
+
themeButtonVariant = _ref5.themeButtonVariant,
|
|
10226
|
+
themeIsPressed = _ref5.themeIsPressed,
|
|
10227
|
+
theme = _ref5.theme;
|
|
10252
10228
|
var themeStyling = function themeStyling() {
|
|
10253
10229
|
switch (themeButtonVariant) {
|
|
10254
10230
|
case 'text-primary':
|
|
@@ -10268,14 +10244,14 @@ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref4) {
|
|
|
10268
10244
|
return _objectSpread2({
|
|
10269
10245
|
flexShrink: 1,
|
|
10270
10246
|
lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
|
|
10271
|
-
|
|
10272
|
-
|
|
10247
|
+
textAlign: 'center',
|
|
10248
|
+
textAlignVertical: 'center'
|
|
10273
10249
|
}, themeStyling());
|
|
10274
10250
|
});
|
|
10275
|
-
var StyledButtonIconWrapper = index$a(reactNative.View)(function (
|
|
10276
|
-
var themePosition =
|
|
10277
|
-
theme =
|
|
10278
|
-
themeIsCompact =
|
|
10251
|
+
var StyledButtonIconWrapper = index$a(reactNative.View)(function (_ref6) {
|
|
10252
|
+
var themePosition = _ref6.themePosition,
|
|
10253
|
+
theme = _ref6.theme,
|
|
10254
|
+
themeIsCompact = _ref6.themeIsCompact;
|
|
10279
10255
|
switch (themePosition) {
|
|
10280
10256
|
case 'left':
|
|
10281
10257
|
return {
|
|
@@ -10287,12 +10263,12 @@ var StyledButtonIconWrapper = index$a(reactNative.View)(function (_ref5) {
|
|
|
10287
10263
|
};
|
|
10288
10264
|
}
|
|
10289
10265
|
});
|
|
10290
|
-
var StyledButtonIcon = index$a(Icon)(function (
|
|
10291
|
-
var disabled =
|
|
10292
|
-
themeButtonVariant =
|
|
10293
|
-
themeIsPressed =
|
|
10294
|
-
theme =
|
|
10295
|
-
themeIsCompact =
|
|
10266
|
+
var StyledButtonIcon = index$a(Icon)(function (_ref7) {
|
|
10267
|
+
var disabled = _ref7.disabled,
|
|
10268
|
+
themeButtonVariant = _ref7.themeButtonVariant,
|
|
10269
|
+
themeIsPressed = _ref7.themeIsPressed,
|
|
10270
|
+
theme = _ref7.theme,
|
|
10271
|
+
themeIsCompact = _ref7.themeIsCompact;
|
|
10296
10272
|
var themeStyling = function themeStyling() {
|
|
10297
10273
|
switch (themeButtonVariant) {
|
|
10298
10274
|
case 'filled-primary':
|
|
@@ -10533,9 +10509,14 @@ var IconWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
10533
10509
|
paddingRight: theme.__hd__.button.space["default"].iconPadding
|
|
10534
10510
|
};
|
|
10535
10511
|
});
|
|
10536
|
-
var ButtonText = index$a(Typography.Body)({
|
|
10537
|
-
|
|
10538
|
-
|
|
10512
|
+
var ButtonText = index$a(Typography.Body)(function (_ref3) {
|
|
10513
|
+
var theme = _ref3.theme;
|
|
10514
|
+
return {
|
|
10515
|
+
flexShrink: 1,
|
|
10516
|
+
textAlign: 'center',
|
|
10517
|
+
textAlignVertical: 'center',
|
|
10518
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10519
|
+
};
|
|
10539
10520
|
});
|
|
10540
10521
|
|
|
10541
10522
|
var TEXT_INTENTS = {
|
|
@@ -17197,17 +17178,6 @@ var StyledBadgeIcon = index$a(Icon)(function (_ref6) {
|
|
|
17197
17178
|
color: theme.__hd__.mapPin.colors.badgeIcon
|
|
17198
17179
|
};
|
|
17199
17180
|
});
|
|
17200
|
-
function hexToRgba(hex, a) {
|
|
17201
|
-
var arrBuff = new ArrayBuffer(4);
|
|
17202
|
-
var vw = new DataView(arrBuff);
|
|
17203
|
-
vw.setUint32(0, parseInt(hex, 16), false);
|
|
17204
|
-
var arrByte = new Uint8Array(arrBuff);
|
|
17205
|
-
var _arrByte = _slicedToArray(arrByte, 3),
|
|
17206
|
-
r = _arrByte[0],
|
|
17207
|
-
g = _arrByte[1],
|
|
17208
|
-
b = _arrByte[2];
|
|
17209
|
-
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
|
|
17210
|
-
}
|
|
17211
17181
|
var StyledFocusIcon = index$a(Icon)(function (_ref7) {
|
|
17212
17182
|
var theme = _ref7.theme;
|
|
17213
17183
|
return {
|
|
@@ -17704,21 +17674,6 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
17704
17674
|
});
|
|
17705
17675
|
PinInput.displayName = 'PinInput';
|
|
17706
17676
|
|
|
17707
|
-
var THEME_INTENT_MAP = {
|
|
17708
|
-
primary: 'primary',
|
|
17709
|
-
success: 'success',
|
|
17710
|
-
warning: 'warning',
|
|
17711
|
-
danger: 'danger',
|
|
17712
|
-
info: 'info',
|
|
17713
|
-
archived: 'archived',
|
|
17714
|
-
'primary-inverted': 'primaryInverted',
|
|
17715
|
-
'success-inverted': 'successInverted',
|
|
17716
|
-
'warning-inverted': 'warningInverted',
|
|
17717
|
-
'danger-inverted': 'dangerInverted',
|
|
17718
|
-
'info-inverted': 'infoInverted',
|
|
17719
|
-
'archived-inverted': 'archivedInverted'
|
|
17720
|
-
};
|
|
17721
|
-
|
|
17722
17677
|
var StyledContainer$2 = index$a(reactNative.View)(function (_ref) {
|
|
17723
17678
|
var theme = _ref.theme;
|
|
17724
17679
|
return {
|
|
@@ -17726,38 +17681,8 @@ var StyledContainer$2 = index$a(reactNative.View)(function (_ref) {
|
|
|
17726
17681
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17727
17682
|
};
|
|
17728
17683
|
});
|
|
17729
|
-
var
|
|
17684
|
+
var StyledDonutCircle = index$a(reactNative.View)(function (_ref2) {
|
|
17730
17685
|
var theme = _ref2.theme;
|
|
17731
|
-
return {
|
|
17732
|
-
width: theme.__hd__.progress.sizes.circleDiameter / 2,
|
|
17733
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17734
|
-
overflow: 'hidden'
|
|
17735
|
-
};
|
|
17736
|
-
});
|
|
17737
|
-
var StyledHalfCircleInnerFG = index$a(reactNative.View)(function (_ref3) {
|
|
17738
|
-
var theme = _ref3.theme,
|
|
17739
|
-
themeIntent = _ref3.themeIntent;
|
|
17740
|
-
return {
|
|
17741
|
-
width: theme.__hd__.progress.sizes.circleDiameter,
|
|
17742
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17743
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17744
|
-
borderColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
|
|
17745
|
-
borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight
|
|
17746
|
-
};
|
|
17747
|
-
});
|
|
17748
|
-
var StyledHalfCircleInnerBG = index$a(reactNative.View)(function (_ref4) {
|
|
17749
|
-
var theme = _ref4.theme,
|
|
17750
|
-
themeIntent = _ref4.themeIntent;
|
|
17751
|
-
return {
|
|
17752
|
-
width: theme.__hd__.progress.sizes.circleDiameter,
|
|
17753
|
-
height: theme.__hd__.progress.sizes.circleDiameter,
|
|
17754
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17755
|
-
borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17756
|
-
borderColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]]
|
|
17757
|
-
};
|
|
17758
|
-
});
|
|
17759
|
-
var StyledDonutCircle = index$a(reactNative.View)(function (_ref5) {
|
|
17760
|
-
var theme = _ref5.theme;
|
|
17761
17686
|
return {
|
|
17762
17687
|
position: 'absolute',
|
|
17763
17688
|
top: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
@@ -17770,136 +17695,83 @@ var StyledDonutCircle = index$a(reactNative.View)(function (_ref5) {
|
|
|
17770
17695
|
justifyContent: 'center'
|
|
17771
17696
|
};
|
|
17772
17697
|
});
|
|
17773
|
-
var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
|
|
17774
|
-
var theme = _ref6.theme,
|
|
17775
|
-
themeIntent = _ref6.themeIntent;
|
|
17776
|
-
return {
|
|
17777
|
-
position: 'absolute',
|
|
17778
|
-
top: 0,
|
|
17779
|
-
left: (theme.__hd__.progress.sizes.circleDiameter - theme.__hd__.progress.sizes.circleCompletenessHeight) / 2,
|
|
17780
|
-
width: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17781
|
-
height: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
17782
|
-
borderRadius: theme.__hd__.progress.radii["default"],
|
|
17783
|
-
backgroundColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
|
|
17784
|
-
zIndex: 2
|
|
17785
|
-
};
|
|
17786
|
-
});
|
|
17787
17698
|
|
|
17788
|
-
var
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17699
|
+
var THEME_INTENT_MAP = {
|
|
17700
|
+
primary: 'primary',
|
|
17701
|
+
success: 'success',
|
|
17702
|
+
warning: 'warning',
|
|
17703
|
+
danger: 'danger',
|
|
17704
|
+
info: 'info',
|
|
17705
|
+
archived: 'archived',
|
|
17706
|
+
'primary-inverted': 'primaryInverted',
|
|
17707
|
+
'success-inverted': 'successInverted',
|
|
17708
|
+
'warning-inverted': 'warningInverted',
|
|
17709
|
+
'danger-inverted': 'dangerInverted',
|
|
17710
|
+
'info-inverted': 'infoInverted',
|
|
17711
|
+
'archived-inverted': 'archivedInverted'
|
|
17797
17712
|
};
|
|
17713
|
+
|
|
17714
|
+
var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
|
|
17798
17715
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
17799
17716
|
return "".concat(value, "%");
|
|
17800
17717
|
};
|
|
17801
|
-
var
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
renderValue =
|
|
17805
|
-
|
|
17806
|
-
intent =
|
|
17807
|
-
|
|
17808
|
-
|
|
17809
|
-
|
|
17718
|
+
var AnimatedCircle = reactNative.Animated.createAnimatedComponent(Svg.Circle);
|
|
17719
|
+
var ProgressCircle = function ProgressCircle(_ref) {
|
|
17720
|
+
var value = _ref.value,
|
|
17721
|
+
_ref$renderValue = _ref.renderValue,
|
|
17722
|
+
renderValue = _ref$renderValue === void 0 ? defaultRenderValue : _ref$renderValue,
|
|
17723
|
+
_ref$intent = _ref.intent,
|
|
17724
|
+
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
17725
|
+
style = _ref.style,
|
|
17726
|
+
testID = _ref.testID,
|
|
17727
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
17810
17728
|
var theme = useTheme$1();
|
|
17811
|
-
var
|
|
17812
|
-
var
|
|
17729
|
+
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
17730
|
+
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
17731
|
+
var radius = size / 2 - strokeWidth;
|
|
17732
|
+
var circumference = 2 * Math.PI * radius;
|
|
17733
|
+
var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
17734
|
+
var minArc = strokeWidth / 2 / Math.PI; // Minimum arc length
|
|
17813
17735
|
React.useEffect(function () {
|
|
17814
|
-
|
|
17736
|
+
reactNative.Animated.timing(progressAnimatedValue, {
|
|
17815
17737
|
toValue: value,
|
|
17816
|
-
useNativeDriver: true
|
|
17817
|
-
|
|
17818
|
-
|
|
17819
|
-
return function () {
|
|
17820
|
-
return animation.stop();
|
|
17821
|
-
};
|
|
17738
|
+
useNativeDriver: true,
|
|
17739
|
+
easing: reactNative.Easing.inOut(reactNative.Easing.ease)
|
|
17740
|
+
}).start();
|
|
17822
17741
|
}, [value]);
|
|
17823
|
-
|
|
17824
|
-
var interpolateRotateRightHalf = progressAnimatedValue.current.interpolate({
|
|
17825
|
-
inputRange: [0, 50],
|
|
17826
|
-
outputRange: ['0deg', '180deg'],
|
|
17827
|
-
extrapolate: 'clamp'
|
|
17828
|
-
});
|
|
17829
|
-
var interpolateOpacityRightHalf = progressAnimatedValue.current.interpolate({
|
|
17830
|
-
inputRange: [50, 51],
|
|
17831
|
-
// Transition between left and right half
|
|
17832
|
-
outputRange: [1, 0],
|
|
17833
|
-
extrapolate: 'clamp'
|
|
17834
|
-
});
|
|
17835
|
-
// Animate progress circle: 50% => 100%
|
|
17836
|
-
var interpolateRotateSecondHalf = progressAnimatedValue.current.interpolate({
|
|
17837
|
-
inputRange: [50, 100],
|
|
17838
|
-
outputRange: ['0deg', '180deg'],
|
|
17839
|
-
extrapolate: 'clamp'
|
|
17840
|
-
});
|
|
17841
|
-
// Curve at the end of progress stroke
|
|
17842
|
-
var interpolateDotRotate = progressAnimatedValue.current.interpolate({
|
|
17742
|
+
var strokeDashoffset = progressAnimatedValue.interpolate({
|
|
17843
17743
|
inputRange: [0, 100],
|
|
17844
|
-
outputRange: [
|
|
17845
|
-
extrapolate: 'clamp'
|
|
17744
|
+
outputRange: [circumference - minArc, 0] // Full circle to zero offset
|
|
17846
17745
|
});
|
|
17746
|
+
|
|
17847
17747
|
return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, _extends$1({}, nativeProps, {
|
|
17848
17748
|
testID: testID,
|
|
17849
17749
|
style: style
|
|
17850
|
-
}), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, null, /*#__PURE__*/React__namespace.default.createElement(
|
|
17851
|
-
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17856
|
-
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
|
|
17869
|
-
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
}, /*#__PURE__*/React__namespace.default.createElement(
|
|
17875
|
-
type: "foreground",
|
|
17876
|
-
themeIntent: intent
|
|
17877
|
-
}), /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
|
|
17878
|
-
style: _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
17879
|
-
transform: [{
|
|
17880
|
-
translateX: radius / 2
|
|
17881
|
-
}, {
|
|
17882
|
-
rotate: interpolateRotateRightHalf
|
|
17883
|
-
}, {
|
|
17884
|
-
translateX: -radius / 2
|
|
17885
|
-
}],
|
|
17886
|
-
opacity: interpolateOpacityRightHalf
|
|
17887
|
-
})
|
|
17888
|
-
}, /*#__PURE__*/React__namespace.default.createElement(HalfCircle, {
|
|
17889
|
-
type: "background",
|
|
17890
|
-
themeIntent: intent
|
|
17891
|
-
}))), /*#__PURE__*/React__namespace.default.createElement(StyledStrokeEnd, {
|
|
17892
|
-
themeIntent: intent
|
|
17893
|
-
}), /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
|
|
17894
|
-
style: _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
|
|
17895
|
-
zIndex: 2,
|
|
17896
|
-
transform: [{
|
|
17897
|
-
rotate: interpolateDotRotate
|
|
17898
|
-
}]
|
|
17899
|
-
})
|
|
17900
|
-
}, /*#__PURE__*/React__namespace.default.createElement(StyledStrokeEnd, {
|
|
17901
|
-
themeIntent: intent
|
|
17902
|
-
})), /*#__PURE__*/React__namespace.default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, renderValue(value)))));
|
|
17750
|
+
}), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, null, /*#__PURE__*/React__namespace.default.createElement(Svg__default.default, {
|
|
17751
|
+
width: size,
|
|
17752
|
+
height: size,
|
|
17753
|
+
viewBox: "0 0 ".concat(size, " ").concat(size)
|
|
17754
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Svg.G, {
|
|
17755
|
+
rotation: "-90",
|
|
17756
|
+
origin: "".concat(size / 2, ", ").concat(size / 2)
|
|
17757
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Svg.Circle, {
|
|
17758
|
+
cx: size / 2,
|
|
17759
|
+
cy: size / 2,
|
|
17760
|
+
r: radius,
|
|
17761
|
+
stroke: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[intent]], 0.1),
|
|
17762
|
+
strokeWidth: strokeWidth,
|
|
17763
|
+
fill: "transparent"
|
|
17764
|
+
}), /*#__PURE__*/React__namespace.default.createElement(AnimatedCircle, {
|
|
17765
|
+
cx: size / 2,
|
|
17766
|
+
cy: size / 2,
|
|
17767
|
+
r: radius,
|
|
17768
|
+
stroke: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[intent]],
|
|
17769
|
+
strokeWidth: strokeWidth,
|
|
17770
|
+
fill: "transparent",
|
|
17771
|
+
strokeDasharray: circumference,
|
|
17772
|
+
strokeDashoffset: strokeDashoffset,
|
|
17773
|
+
strokeLinecap: "round"
|
|
17774
|
+
}))), /*#__PURE__*/React__namespace.default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, renderValue(value)))));
|
|
17903
17775
|
};
|
|
17904
17776
|
|
|
17905
17777
|
var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
|
|
@@ -17908,7 +17780,7 @@ var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
|
|
|
17908
17780
|
return {
|
|
17909
17781
|
height: theme.__hd__.progress.sizes.barHeight,
|
|
17910
17782
|
alignSelf: 'stretch',
|
|
17911
|
-
backgroundColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]],
|
|
17783
|
+
backgroundColor: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]], 0.1),
|
|
17912
17784
|
overflow: 'hidden',
|
|
17913
17785
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17914
17786
|
};
|
|
@@ -17999,7 +17871,7 @@ var StyledSingleStepContainer = index$a(Box)(function (_ref2) {
|
|
|
17999
17871
|
return {
|
|
18000
17872
|
height: theme.__hd__.progress.sizes.stepHeight,
|
|
18001
17873
|
borderRadius: theme.__hd__.progress.radii["default"],
|
|
18002
|
-
backgroundColor: theme.__hd__.progress.colors.step.
|
|
17874
|
+
backgroundColor: theme.__hd__.progress.colors.step.incomplete,
|
|
18003
17875
|
width: '100%',
|
|
18004
17876
|
position: 'relative'
|
|
18005
17877
|
};
|
|
@@ -19923,7 +19795,7 @@ var TabWithBadge = function TabWithBadge(_ref) {
|
|
|
19923
19795
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBadgeWrapper, null, tabItem, /*#__PURE__*/React__namespace.default.createElement(Badge$1, {
|
|
19924
19796
|
content: config.value,
|
|
19925
19797
|
max: config.max,
|
|
19926
|
-
intent: "
|
|
19798
|
+
intent: "primary",
|
|
19927
19799
|
style: {
|
|
19928
19800
|
marginLeft: theme.space.xsmall
|
|
19929
19801
|
}
|
|
@@ -20759,7 +20631,8 @@ var StyledInput$1 = index$a(reactNative.TextInput)(function (_ref9) {
|
|
|
20759
20631
|
alignSelf: 'stretch',
|
|
20760
20632
|
flexGrow: 1,
|
|
20761
20633
|
flexShrink: 1,
|
|
20762
|
-
fontFamily: theme.__hd__.toolbar.fonts.text
|
|
20634
|
+
fontFamily: theme.__hd__.toolbar.fonts.text,
|
|
20635
|
+
color: theme.__hd__.toolbar.colors.text
|
|
20763
20636
|
};
|
|
20764
20637
|
});
|
|
20765
20638
|
var StyledPrefix = index$a(reactNative.View)(function (_ref10) {
|
|
@@ -20894,6 +20767,7 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
|
|
|
20894
20767
|
editable = _props$editable === void 0 ? true : _props$editable,
|
|
20895
20768
|
textStyle = props.textStyle,
|
|
20896
20769
|
nativeProps = _objectWithoutProperties(props, _excluded$8);
|
|
20770
|
+
var theme = useTheme();
|
|
20897
20771
|
var innerTextInput = React__namespace.default.useRef();
|
|
20898
20772
|
var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
20899
20773
|
var isEmptyValue = displayText.length === 0;
|
|
@@ -20945,7 +20819,8 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
|
|
|
20945
20819
|
ref: function ref(rnTextInputRef) {
|
|
20946
20820
|
innerTextInput.current = rnTextInputRef;
|
|
20947
20821
|
},
|
|
20948
|
-
style: textStyle
|
|
20822
|
+
style: textStyle,
|
|
20823
|
+
placeholderTextColor: theme.__hd__.toolbar.colors.placeholder
|
|
20949
20824
|
}))), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffix, {
|
|
20950
20825
|
testID: testID && "".concat(testID, "-suffix")
|
|
20951
20826
|
}, suffix));
|
|
@@ -40249,24 +40124,19 @@ var StyledContainer = index$a(reactNative.View)(function () {
|
|
|
40249
40124
|
width: '100%'
|
|
40250
40125
|
};
|
|
40251
40126
|
});
|
|
40252
|
-
var getBorderWidth = function getBorderWidth(theme, themeFocused, themeVariant) {
|
|
40253
|
-
return themeFocused ? theme.__hd__.search.borderWidths.container[themeVariant].focused : theme.__hd__.search.borderWidths.container[themeVariant].normal;
|
|
40254
|
-
};
|
|
40255
40127
|
var StyledInputContainer = index$a(reactNative.View)(function (_ref) {
|
|
40256
40128
|
var theme = _ref.theme,
|
|
40257
|
-
themeFocused = _ref.themeFocused,
|
|
40258
40129
|
themeVariant = _ref.themeVariant;
|
|
40259
|
-
var borderWidth = getBorderWidth(theme, themeFocused, themeVariant);
|
|
40260
40130
|
return _objectSpread2({
|
|
40261
40131
|
flexDirection: 'row',
|
|
40262
40132
|
alignItems: 'center',
|
|
40263
|
-
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding
|
|
40264
|
-
paddingVertical: theme.__hd__.search.space.containerVerticalPadding
|
|
40133
|
+
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
|
|
40134
|
+
paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
|
|
40265
40135
|
backgroundColor: theme.__hd__.search.colors[themeVariant].containerBackground,
|
|
40266
40136
|
height: 56,
|
|
40267
40137
|
borderRadius: theme.__hd__.search.radii.container,
|
|
40268
|
-
borderWidth:
|
|
40269
|
-
borderColor:
|
|
40138
|
+
borderWidth: theme.__hd__.search.borderWidths.container["default"],
|
|
40139
|
+
borderColor: theme.__hd__.search.colors[themeVariant].border
|
|
40270
40140
|
}, themeVariant === 'reversed' && _objectSpread2({}, theme.__hd__.search.shadows.container));
|
|
40271
40141
|
});
|
|
40272
40142
|
var StyledAffixContainer = index$a(reactNative.View)(function (_ref2) {
|
|
@@ -40292,6 +40162,7 @@ var StyledInput = index$a(reactNative.TextInput)(function (_ref4) {
|
|
|
40292
40162
|
return {
|
|
40293
40163
|
textAlignVertical: 'center',
|
|
40294
40164
|
fontSize: theme.__hd__.search.fontSizes.text,
|
|
40165
|
+
color: theme.__hd__.textInput.colors.text,
|
|
40295
40166
|
alignSelf: 'stretch',
|
|
40296
40167
|
flexGrow: 1,
|
|
40297
40168
|
flexShrink: 1,
|
|
@@ -40329,7 +40200,7 @@ var renderPrefix = function renderPrefix(_ref) {
|
|
|
40329
40200
|
intent: "text",
|
|
40330
40201
|
testID: "input-prefix",
|
|
40331
40202
|
icon: prefix,
|
|
40332
|
-
size: "
|
|
40203
|
+
size: "xsmall"
|
|
40333
40204
|
})) : prefix;
|
|
40334
40205
|
};
|
|
40335
40206
|
var renderSuffix = function renderSuffix(_ref2) {
|
|
@@ -40338,7 +40209,7 @@ var renderSuffix = function renderSuffix(_ref2) {
|
|
|
40338
40209
|
intent: "text",
|
|
40339
40210
|
testID: "input-suffix",
|
|
40340
40211
|
icon: suffix,
|
|
40341
|
-
size: "
|
|
40212
|
+
size: "xsmall"
|
|
40342
40213
|
})) : suffix;
|
|
40343
40214
|
};
|
|
40344
40215
|
|
|
@@ -40356,7 +40227,6 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
40356
40227
|
style: style,
|
|
40357
40228
|
testID: testID
|
|
40358
40229
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
40359
|
-
themeFocused: false,
|
|
40360
40230
|
themeVariant: variant
|
|
40361
40231
|
}, renderPrefix({
|
|
40362
40232
|
prefix: prefix
|
|
@@ -40464,7 +40334,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
40464
40334
|
intent: "text",
|
|
40465
40335
|
testID: "input-clear-button",
|
|
40466
40336
|
icon: "circle-cancel",
|
|
40467
|
-
size: "
|
|
40337
|
+
size: "xsmall",
|
|
40468
40338
|
disabled: state === 'disabled' || state === 'readonly'
|
|
40469
40339
|
}));
|
|
40470
40340
|
};
|
|
@@ -40474,7 +40344,6 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
40474
40344
|
testID: testID,
|
|
40475
40345
|
style: style
|
|
40476
40346
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
40477
|
-
themeFocused: isFocused,
|
|
40478
40347
|
themeVariant: variant
|
|
40479
40348
|
}, renderPrefix({
|
|
40480
40349
|
prefix: prefix
|