@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/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
|
-
|
|
406
|
-
|
|
407
|
-
|
|
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;
|
|
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;
|
|
490
603
|
}
|
|
491
604
|
}
|
|
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;
|
|
@@ -2665,7 +2621,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2665
2621
|
warning: theme.colors.onWarningSurface,
|
|
2666
2622
|
archived: theme.colors.onArchivedSurface,
|
|
2667
2623
|
text: theme.colors.onDarkGlobalSurface,
|
|
2668
|
-
border: theme.colors.defaultGlobalSurface
|
|
2624
|
+
border: theme.colors.defaultGlobalSurface,
|
|
2625
|
+
countText: theme.colors.onDarkGlobalSurface
|
|
2669
2626
|
};
|
|
2670
2627
|
var fonts = {
|
|
2671
2628
|
medium: theme.fonts.neutral.regular,
|
|
@@ -2677,11 +2634,20 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2677
2634
|
icon: {
|
|
2678
2635
|
medium: theme.fontSizes.small,
|
|
2679
2636
|
small: 8
|
|
2680
|
-
}
|
|
2637
|
+
},
|
|
2638
|
+
count: 6
|
|
2681
2639
|
};
|
|
2682
2640
|
var lineHeights = {
|
|
2683
2641
|
medium: theme.lineHeights.small,
|
|
2684
|
-
small: 10
|
|
2642
|
+
small: 10,
|
|
2643
|
+
count: reactNative.Platform.select({
|
|
2644
|
+
android: 11,
|
|
2645
|
+
// vertical alignment
|
|
2646
|
+
"default": 12
|
|
2647
|
+
})
|
|
2648
|
+
};
|
|
2649
|
+
var radii = {
|
|
2650
|
+
count: theme.radii.rounded
|
|
2685
2651
|
};
|
|
2686
2652
|
var sizes = {
|
|
2687
2653
|
medium: {
|
|
@@ -2693,7 +2659,11 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2693
2659
|
minWidth: theme.sizes.medium
|
|
2694
2660
|
},
|
|
2695
2661
|
statusHeight: theme.sizes.small,
|
|
2696
|
-
statusWidth: theme.sizes.small
|
|
2662
|
+
statusWidth: theme.sizes.small,
|
|
2663
|
+
count: {
|
|
2664
|
+
width: theme.sizes.smallMedium,
|
|
2665
|
+
height: theme.sizes.smallMedium
|
|
2666
|
+
}
|
|
2697
2667
|
};
|
|
2698
2668
|
var borderWidths = {
|
|
2699
2669
|
"default": theme.borderWidths.medium
|
|
@@ -2706,7 +2676,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2706
2676
|
horizontalPadding: theme.space.xsmall
|
|
2707
2677
|
},
|
|
2708
2678
|
statusPositionTop: -theme.space.xxsmall,
|
|
2709
|
-
statusPositionRight: -theme.space.xxsmall
|
|
2679
|
+
statusPositionRight: -theme.space.xxsmall,
|
|
2680
|
+
countPaddingHorizontal: theme.space.xxsmall
|
|
2710
2681
|
};
|
|
2711
2682
|
return {
|
|
2712
2683
|
colors: colors,
|
|
@@ -2715,7 +2686,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
2715
2686
|
sizes: sizes,
|
|
2716
2687
|
space: space,
|
|
2717
2688
|
lineHeights: lineHeights,
|
|
2718
|
-
borderWidths: borderWidths
|
|
2689
|
+
borderWidths: borderWidths,
|
|
2690
|
+
radii: radii
|
|
2719
2691
|
};
|
|
2720
2692
|
};
|
|
2721
2693
|
|
|
@@ -2851,7 +2823,16 @@ var getButtonTheme = function getButtonTheme(theme) {
|
|
|
2851
2823
|
}
|
|
2852
2824
|
};
|
|
2853
2825
|
var lineHeights = {
|
|
2854
|
-
titleOfTextVariant: theme.lineHeights.medium
|
|
2826
|
+
titleOfTextVariant: theme.lineHeights.medium,
|
|
2827
|
+
buttonText: reactNative.Platform.select({
|
|
2828
|
+
android: theme.lineHeights.medium + theme.space.xxsmall
|
|
2829
|
+
}),
|
|
2830
|
+
utilityButtonText: reactNative.Platform.select({
|
|
2831
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2832
|
+
}),
|
|
2833
|
+
compactButtonText: reactNative.Platform.select({
|
|
2834
|
+
android: theme.lineHeights.small + theme.space.xxsmall
|
|
2835
|
+
})
|
|
2855
2836
|
};
|
|
2856
2837
|
return {
|
|
2857
2838
|
lineHeights: lineHeights,
|
|
@@ -3430,41 +3411,39 @@ var getPinInputTheme = function getPinInputTheme(theme) {
|
|
|
3430
3411
|
};
|
|
3431
3412
|
|
|
3432
3413
|
var getProgressTheme = function getProgressTheme(theme) {
|
|
3433
|
-
var lightenScaleOnInverted = 20;
|
|
3434
3414
|
var colors = {
|
|
3435
3415
|
completeness: {
|
|
3436
3416
|
primary: theme.colors.primary,
|
|
3437
3417
|
success: theme.colors.success,
|
|
3438
|
-
// should be emerald dark 15
|
|
3439
3418
|
warning: theme.colors.warning,
|
|
3440
3419
|
danger: theme.colors.error,
|
|
3441
3420
|
info: theme.colors.info,
|
|
3442
3421
|
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.
|
|
3422
|
+
primaryInverted: theme.colors.white,
|
|
3423
|
+
successInverted: theme.colors.white,
|
|
3424
|
+
warningInverted: theme.colors.white,
|
|
3425
|
+
dangerInverted: theme.colors.white,
|
|
3426
|
+
infoInverted: theme.colors.white,
|
|
3427
|
+
archivedInverted: theme.colors.white
|
|
3449
3428
|
},
|
|
3450
3429
|
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.
|
|
3430
|
+
primary: theme.colors.overlayGlobalSurface,
|
|
3431
|
+
success: theme.colors.overlayGlobalSurface,
|
|
3432
|
+
warning: theme.colors.overlayGlobalSurface,
|
|
3433
|
+
danger: theme.colors.overlayGlobalSurface,
|
|
3434
|
+
info: theme.colors.overlayGlobalSurface,
|
|
3435
|
+
archived: theme.colors.overlayGlobalSurface,
|
|
3436
|
+
primaryInverted: theme.colors.overlayGlobalSurface,
|
|
3437
|
+
successInverted: theme.colors.overlayGlobalSurface,
|
|
3438
|
+
warningInverted: theme.colors.overlayGlobalSurface,
|
|
3439
|
+
dangerInverted: theme.colors.overlayGlobalSurface,
|
|
3440
|
+
infoInverted: theme.colors.overlayGlobalSurface,
|
|
3441
|
+
archivedInverted: theme.colors.overlayGlobalSurface
|
|
3463
3442
|
},
|
|
3464
3443
|
step: {
|
|
3465
3444
|
complete: theme.colors.primary,
|
|
3466
3445
|
incomplete: theme.colors.archivedSurface,
|
|
3467
|
-
current:
|
|
3446
|
+
current: theme.colors.decorativePrimarySurface
|
|
3468
3447
|
}
|
|
3469
3448
|
};
|
|
3470
3449
|
var sizes = {
|
|
@@ -4046,7 +4025,9 @@ var getToolbarTheme = function getToolbarTheme(theme) {
|
|
|
4046
4025
|
danger: theme.colors.onErrorSurface,
|
|
4047
4026
|
disabled: theme.colors.disabledOnDefaultGlobalSurface,
|
|
4048
4027
|
iconButtonBackground: theme.colors.highlightedSurface,
|
|
4049
|
-
inputContainerBackground: theme.colors.neutralGlobalSurface
|
|
4028
|
+
inputContainerBackground: theme.colors.neutralGlobalSurface,
|
|
4029
|
+
text: theme.colors.onDefaultGlobalSurface,
|
|
4030
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4050
4031
|
};
|
|
4051
4032
|
var space = {
|
|
4052
4033
|
verticalPadding: theme.space.small,
|
|
@@ -4264,17 +4245,16 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4264
4245
|
var colors = {
|
|
4265
4246
|
basic: {
|
|
4266
4247
|
containerBackground: theme.colors.neutralGlobalSurface,
|
|
4267
|
-
border: theme.colors.neutralGlobalSurface
|
|
4268
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4248
|
+
border: theme.colors.neutralGlobalSurface
|
|
4269
4249
|
},
|
|
4270
4250
|
reversed: {
|
|
4271
4251
|
containerBackground: theme.colors.defaultGlobalSurface,
|
|
4272
|
-
border: theme.colors.secondaryOutline
|
|
4273
|
-
focusedBorder: theme.colors.primaryOutline
|
|
4252
|
+
border: theme.colors.secondaryOutline
|
|
4274
4253
|
},
|
|
4275
4254
|
suffixBackground: theme.colors.defaultGlobalSurface,
|
|
4276
4255
|
text: theme.colors.onDefaultGlobalSurface,
|
|
4277
|
-
shadow: theme.colors.primaryOutline
|
|
4256
|
+
shadow: theme.colors.primaryOutline,
|
|
4257
|
+
placeholder: theme.colors.mutedOnDefaultGlobalSurface
|
|
4278
4258
|
};
|
|
4279
4259
|
var shadows = {
|
|
4280
4260
|
container: theme.shadows["default"]
|
|
@@ -4297,14 +4277,7 @@ var getSearchTheme = function getSearchTheme(theme) {
|
|
|
4297
4277
|
};
|
|
4298
4278
|
var borderWidths = {
|
|
4299
4279
|
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
|
-
}
|
|
4280
|
+
"default": theme.borderWidths.base
|
|
4308
4281
|
}
|
|
4309
4282
|
};
|
|
4310
4283
|
var radii = {
|
|
@@ -7564,7 +7537,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
|
|
|
7564
7537
|
});
|
|
7565
7538
|
});
|
|
7566
7539
|
|
|
7567
|
-
var _excluded$
|
|
7540
|
+
var _excluded$M = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
|
|
7568
7541
|
var Text = function Text(_ref) {
|
|
7569
7542
|
var children = _ref.children,
|
|
7570
7543
|
_ref$fontSize = _ref.fontSize,
|
|
@@ -7577,7 +7550,7 @@ var Text = function Text(_ref) {
|
|
|
7577
7550
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7578
7551
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7579
7552
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7580
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7553
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$M);
|
|
7581
7554
|
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.');
|
|
7582
7555
|
return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
|
|
7583
7556
|
themeFontSize: fontSize,
|
|
@@ -7607,7 +7580,7 @@ var StyledCaption = index$a(reactNative.Text)(function (_ref) {
|
|
|
7607
7580
|
};
|
|
7608
7581
|
});
|
|
7609
7582
|
|
|
7610
|
-
var _excluded$
|
|
7583
|
+
var _excluded$L = ["children", "fontWeight", "intent", "allowFontScaling"];
|
|
7611
7584
|
var Caption = function Caption(_ref) {
|
|
7612
7585
|
var children = _ref.children,
|
|
7613
7586
|
_ref$fontWeight = _ref.fontWeight,
|
|
@@ -7616,7 +7589,7 @@ var Caption = function Caption(_ref) {
|
|
|
7616
7589
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7617
7590
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7618
7591
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7619
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7592
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$L);
|
|
7620
7593
|
return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
|
|
7621
7594
|
themeFontWeight: fontWeight,
|
|
7622
7595
|
themeIntent: intent,
|
|
@@ -7635,14 +7608,14 @@ var StyledLabel$1 = index$a(reactNative.Text)(function (_ref) {
|
|
|
7635
7608
|
};
|
|
7636
7609
|
});
|
|
7637
7610
|
|
|
7638
|
-
var _excluded$
|
|
7611
|
+
var _excluded$K = ["children", "intent", "allowFontScaling"];
|
|
7639
7612
|
var Label = function Label(_ref) {
|
|
7640
7613
|
var children = _ref.children,
|
|
7641
7614
|
_ref$intent = _ref.intent,
|
|
7642
7615
|
intent = _ref$intent === void 0 ? 'body' : _ref$intent,
|
|
7643
7616
|
_ref$allowFontScaling = _ref.allowFontScaling,
|
|
7644
7617
|
allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
|
|
7645
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7618
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$K);
|
|
7646
7619
|
return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
|
|
7647
7620
|
themeIntent: intent,
|
|
7648
7621
|
allowFontScaling: allowFontScaling
|
|
@@ -7663,7 +7636,7 @@ var StyledTitle$1 = index$a(reactNative.Text)(function (_ref) {
|
|
|
7663
7636
|
};
|
|
7664
7637
|
});
|
|
7665
7638
|
|
|
7666
|
-
var _excluded$
|
|
7639
|
+
var _excluded$J = ["children", "intent", "allowFontScaling", "level", "typeface"];
|
|
7667
7640
|
var Title = function Title(_ref) {
|
|
7668
7641
|
var children = _ref.children,
|
|
7669
7642
|
_ref$intent = _ref.intent,
|
|
@@ -7674,7 +7647,7 @@ var Title = function Title(_ref) {
|
|
|
7674
7647
|
level = _ref$level === void 0 ? 'h1' : _ref$level,
|
|
7675
7648
|
_ref$typeface = _ref.typeface,
|
|
7676
7649
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7677
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7650
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$J);
|
|
7678
7651
|
return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
|
|
7679
7652
|
themeLevel: level,
|
|
7680
7653
|
themeTypeface: typeface,
|
|
@@ -7709,7 +7682,7 @@ var StyledBody$2 = index$a(reactNative.Text)(function (_ref) {
|
|
|
7709
7682
|
};
|
|
7710
7683
|
});
|
|
7711
7684
|
|
|
7712
|
-
var _excluded$
|
|
7685
|
+
var _excluded$I = ["children", "intent", "allowFontScaling", "typeface", "variant"];
|
|
7713
7686
|
var Body = function Body(_ref) {
|
|
7714
7687
|
var children = _ref.children,
|
|
7715
7688
|
_ref$intent = _ref.intent,
|
|
@@ -7720,7 +7693,7 @@ var Body = function Body(_ref) {
|
|
|
7720
7693
|
typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
|
|
7721
7694
|
_ref$variant = _ref.variant,
|
|
7722
7695
|
variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
|
|
7723
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
7696
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$I);
|
|
7724
7697
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBody$2, _extends$1({}, nativeProps, {
|
|
7725
7698
|
themeTypeface: typeface,
|
|
7726
7699
|
themeIntent: intent,
|
|
@@ -7738,7 +7711,7 @@ var Typography = {
|
|
|
7738
7711
|
};
|
|
7739
7712
|
|
|
7740
7713
|
// 🔴 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'];
|
|
7714
|
+
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'];
|
|
7742
7715
|
|
|
7743
7716
|
var activate = 59000;
|
|
7744
7717
|
var adjustment = 59003;
|
|
@@ -7816,22 +7789,22 @@ var wallet = 59189;
|
|
|
7816
7789
|
var warning = 59190;
|
|
7817
7790
|
var add = 59197;
|
|
7818
7791
|
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 =
|
|
7792
|
+
var cancel = 59244;
|
|
7793
|
+
var checkmark = 59250;
|
|
7794
|
+
var italic = 59346;
|
|
7795
|
+
var local_mall_outlined = 59353;
|
|
7796
|
+
var number = 59376;
|
|
7797
|
+
var percentage = 59382;
|
|
7798
|
+
var redeem = 59392;
|
|
7799
|
+
var refresh = 59393;
|
|
7800
|
+
var remove = 59394;
|
|
7801
|
+
var restart = 59396;
|
|
7802
|
+
var shopping_basket_outlined = 59413;
|
|
7803
|
+
var strikethrough = 59428;
|
|
7804
|
+
var sync = 59434;
|
|
7805
|
+
var transfer = 59443;
|
|
7806
|
+
var unavailable = 59448;
|
|
7807
|
+
var underline = 59449;
|
|
7835
7808
|
var glyphMap = {
|
|
7836
7809
|
activate: activate,
|
|
7837
7810
|
"add-emoji": 59001,
|
|
@@ -8071,228 +8044,230 @@ var glyphMap = {
|
|
|
8071
8044
|
"box-outlined": 59235,
|
|
8072
8045
|
"bullet-points": 59236,
|
|
8073
8046
|
"cake-outlined": 59237,
|
|
8074
|
-
"
|
|
8075
|
-
"calendar-
|
|
8076
|
-
"
|
|
8077
|
-
"call-
|
|
8078
|
-
"
|
|
8047
|
+
"calculator-outlined": 59238,
|
|
8048
|
+
"calendar-dates-outlined": 59239,
|
|
8049
|
+
"calendar-star-outlined": 59240,
|
|
8050
|
+
"call-outlined": 59241,
|
|
8051
|
+
"call-split-outlined": 59242,
|
|
8052
|
+
"camera-outlined": 59243,
|
|
8079
8053
|
cancel: cancel,
|
|
8080
|
-
"car-forward-outlined":
|
|
8081
|
-
"cashback-outlined":
|
|
8082
|
-
"charging-station-outlined":
|
|
8083
|
-
"chat-bubble-outlined":
|
|
8084
|
-
"chat-unread-outlined":
|
|
8054
|
+
"car-forward-outlined": 59245,
|
|
8055
|
+
"cashback-outlined": 59246,
|
|
8056
|
+
"charging-station-outlined": 59247,
|
|
8057
|
+
"chat-bubble-outlined": 59248,
|
|
8058
|
+
"chat-unread-outlined": 59249,
|
|
8085
8059
|
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":
|
|
8060
|
+
"circle-add-outlined": 59251,
|
|
8061
|
+
"circle-cancel-outlined": 59252,
|
|
8062
|
+
"circle-down-outlined": 59253,
|
|
8063
|
+
"circle-info-outlined": 59254,
|
|
8064
|
+
"circle-left-outlined": 59255,
|
|
8065
|
+
"circle-ok-outlined": 59256,
|
|
8066
|
+
"circle-question-outlined": 59257,
|
|
8067
|
+
"circle-remove-outlined": 59258,
|
|
8068
|
+
"circle-right-outlined": 59259,
|
|
8069
|
+
"circle-up-outlined": 59260,
|
|
8070
|
+
"circle-warning-outlined": 59261,
|
|
8071
|
+
"clock-2-outlined": 59262,
|
|
8072
|
+
"clock-in-outlined": 59263,
|
|
8073
|
+
"clock-out-outlined": 59264,
|
|
8074
|
+
"clock-outlined": 59265,
|
|
8075
|
+
"cog-outlined": 59266,
|
|
8076
|
+
"coin-outlined": 59267,
|
|
8077
|
+
"coin-super-outlined": 59268,
|
|
8078
|
+
"comment-outlined": 59269,
|
|
8079
|
+
"contacts-outlined": 59270,
|
|
8080
|
+
"contacts-user-outlined": 59271,
|
|
8081
|
+
"credit-card-outlined": 59272,
|
|
8082
|
+
"cultural-site-outlined": 59273,
|
|
8083
|
+
"cup-outlined": 59274,
|
|
8084
|
+
"dentistry-outlined": 59275,
|
|
8085
|
+
"direction-arrows-outlined": 59276,
|
|
8086
|
+
"directory-outlined": 59277,
|
|
8087
|
+
"document-outlined": 59278,
|
|
8088
|
+
"dollar-box-outlined": 59279,
|
|
8089
|
+
"dollar-card-outlined": 59280,
|
|
8090
|
+
"dollar-coin-shine-outlined": 59281,
|
|
8091
|
+
"dollar-credit-card-outlined": 59282,
|
|
8092
|
+
"dollar-sign": 59283,
|
|
8093
|
+
"double-buildings-outlined": 59284,
|
|
8094
|
+
"double-left-arrows": 59285,
|
|
8095
|
+
"double-right-arrows": 59286,
|
|
8096
|
+
"download-box-outlined": 59287,
|
|
8097
|
+
"download-outlined": 59288,
|
|
8098
|
+
"edit-template-outlined": 59289,
|
|
8099
|
+
"electronics-outlined": 59290,
|
|
8100
|
+
"email-outlined": 59291,
|
|
8101
|
+
"end-break-outlined": 59292,
|
|
8102
|
+
"enter-arrow": 59293,
|
|
8103
|
+
"entertainment-outlined": 59294,
|
|
8104
|
+
"envelope-outlined": 59295,
|
|
8105
|
+
"evening-outlined": 59296,
|
|
8106
|
+
"expense-approval-outlined": 59297,
|
|
8107
|
+
"expense-outlined": 59298,
|
|
8108
|
+
"explore-outlined": 59299,
|
|
8109
|
+
"extension-outlined": 59300,
|
|
8110
|
+
"external-link": 59301,
|
|
8111
|
+
"eye-invisible-outlined": 59302,
|
|
8112
|
+
"eye-outlined": 59303,
|
|
8113
|
+
"face-id": 59304,
|
|
8114
|
+
"face-meh-outlined": 59305,
|
|
8115
|
+
"face-open-smiley-outlined": 59306,
|
|
8116
|
+
"face-sad-outlined": 59307,
|
|
8117
|
+
"face-smiley-outlined": 59308,
|
|
8118
|
+
"fastfood-outlined": 59309,
|
|
8119
|
+
"feed-outlined": 59310,
|
|
8120
|
+
"file-certified-outlined": 59311,
|
|
8121
|
+
"file-clone-outlined": 59312,
|
|
8122
|
+
"file-copy-outlined": 59313,
|
|
8123
|
+
"file-dispose-outlined": 59314,
|
|
8124
|
+
"file-dollar-certified-outlined": 59315,
|
|
8125
|
+
"file-dollar-outlined": 59316,
|
|
8126
|
+
"file-download-outlined": 59317,
|
|
8127
|
+
"file-export-outlined": 59318,
|
|
8128
|
+
"file-lock-outlined": 59319,
|
|
8129
|
+
"file-outlined": 59320,
|
|
8130
|
+
"file-search-outlined": 59321,
|
|
8131
|
+
"file-secured-outlined": 59322,
|
|
8132
|
+
"file-statutory-outlined": 59323,
|
|
8133
|
+
"file-verified-outlined": 59324,
|
|
8134
|
+
"filter-outlined": 59325,
|
|
8135
|
+
"fitness-outlined": 59326,
|
|
8136
|
+
"folder-outlined": 59327,
|
|
8137
|
+
"folder-upload-outlined": 59328,
|
|
8138
|
+
"folder-user-outlined": 59329,
|
|
8139
|
+
"form-outlined": 59330,
|
|
8140
|
+
"funnel-filter-outline": 59331,
|
|
8141
|
+
"goal-outlined": 59332,
|
|
8142
|
+
"graph-outlined": 59333,
|
|
8143
|
+
"grocery-outlined": 59334,
|
|
8144
|
+
"hand-holding-user-outlined": 59335,
|
|
8145
|
+
"handshake-outlined": 59336,
|
|
8146
|
+
"happy-sun-outlined": 59337,
|
|
8147
|
+
"health-bag-outlined": 59338,
|
|
8148
|
+
"heart-outlined": 59339,
|
|
8149
|
+
"home-active-outlined": 59340,
|
|
8150
|
+
"home-outlined": 59341,
|
|
8151
|
+
"id-card-outlined": 59342,
|
|
8152
|
+
"image-outlined": 59343,
|
|
8153
|
+
"import-outlined": 59344,
|
|
8154
|
+
"instapay-outlined": 59345,
|
|
8181
8155
|
italic: italic,
|
|
8182
|
-
"job-search-outlined":
|
|
8183
|
-
"leave-approval-outlined":
|
|
8184
|
-
"link-1":
|
|
8185
|
-
"link-2":
|
|
8186
|
-
"list-outlined":
|
|
8187
|
-
"live-help-outlined":
|
|
8156
|
+
"job-search-outlined": 59347,
|
|
8157
|
+
"leave-approval-outlined": 59348,
|
|
8158
|
+
"link-1": 59349,
|
|
8159
|
+
"link-2": 59350,
|
|
8160
|
+
"list-outlined": 59351,
|
|
8161
|
+
"live-help-outlined": 59352,
|
|
8188
8162
|
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":
|
|
8163
|
+
"location-on-outlined": 59354,
|
|
8164
|
+
"location-outlined": 59355,
|
|
8165
|
+
"lock-outlined": 59356,
|
|
8166
|
+
"locked-file-outlined": 59357,
|
|
8167
|
+
"log-out": 59358,
|
|
8168
|
+
"mail-outlined": 59359,
|
|
8169
|
+
"map-outlined": 59360,
|
|
8170
|
+
"media-content-outlined": 59361,
|
|
8171
|
+
"menu-close": 59362,
|
|
8172
|
+
"menu-expand": 59363,
|
|
8173
|
+
"menu-fold-outlined": 59364,
|
|
8174
|
+
"menu-unfold-outlined": 59365,
|
|
8175
|
+
"moneybag-outlined": 59366,
|
|
8176
|
+
"moon-outlined": 59367,
|
|
8177
|
+
"more-horizontal": 59368,
|
|
8178
|
+
"more-vertical": 59369,
|
|
8179
|
+
"morning-outlined": 59370,
|
|
8180
|
+
"multiple-folders-outlined": 59371,
|
|
8181
|
+
"multiple-users-outlined": 59372,
|
|
8182
|
+
"near-me-outlined": 59373,
|
|
8183
|
+
"node-outlined": 59374,
|
|
8184
|
+
"number-points": 59375,
|
|
8211
8185
|
number: number,
|
|
8212
|
-
"overview-outlined":
|
|
8213
|
-
"park-outlined":
|
|
8214
|
-
"payment-summary-outlined":
|
|
8215
|
-
"payslip-outlined":
|
|
8216
|
-
"pencil-outlined":
|
|
8186
|
+
"overview-outlined": 59377,
|
|
8187
|
+
"park-outlined": 59378,
|
|
8188
|
+
"payment-summary-outlined": 59379,
|
|
8189
|
+
"payslip-outlined": 59380,
|
|
8190
|
+
"pencil-outlined": 59381,
|
|
8217
8191
|
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":
|
|
8192
|
+
"phone-outlined": 59383,
|
|
8193
|
+
"piggy-bank-outlined": 59384,
|
|
8194
|
+
"plane-outlined": 59385,
|
|
8195
|
+
"play-circle-outlined": 59386,
|
|
8196
|
+
"print-outlined": 59387,
|
|
8197
|
+
"propane-tank-outlined": 59388,
|
|
8198
|
+
"qr-code-outlined": 59389,
|
|
8199
|
+
"qualification-outlined": 59390,
|
|
8200
|
+
"re-assign": 59391,
|
|
8227
8201
|
redeem: redeem,
|
|
8228
8202
|
refresh: refresh,
|
|
8229
8203
|
remove: remove,
|
|
8230
|
-
"reply-outlined":
|
|
8204
|
+
"reply-outlined": 59395,
|
|
8231
8205
|
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
|
-
"
|
|
8206
|
+
"restaurant-outlined": 59397,
|
|
8207
|
+
"resume-outlined": 59398,
|
|
8208
|
+
"return-arrow": 59399,
|
|
8209
|
+
"rostering-outlined": 59400,
|
|
8210
|
+
"safety-outlined": 59401,
|
|
8211
|
+
"save-outlined": 59402,
|
|
8212
|
+
"schedule-outlined": 59403,
|
|
8213
|
+
"search-outlined": 59404,
|
|
8214
|
+
"search-secured-outlined": 59405,
|
|
8215
|
+
"send-outlined": 59406,
|
|
8216
|
+
"share-1": 59407,
|
|
8217
|
+
"share-2": 59408,
|
|
8218
|
+
"share-outlined-2": 59409,
|
|
8219
|
+
"share-outlined": 59410,
|
|
8220
|
+
"shield-check-outlined": 59411,
|
|
8221
|
+
"shop-outlined": 59412,
|
|
8247
8222
|
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":
|
|
8223
|
+
"show-chart-outlined": 59414,
|
|
8224
|
+
"single-down-arrow": 59415,
|
|
8225
|
+
"single-left-arrow": 59416,
|
|
8226
|
+
"single-right-arrow": 59417,
|
|
8227
|
+
"single-up-arrow": 59418,
|
|
8228
|
+
"smart-match-outlined": 59419,
|
|
8229
|
+
"sparkle-outlined": 59420,
|
|
8230
|
+
"speaker-active-outlined": 59421,
|
|
8231
|
+
"speaker-outlined": 59422,
|
|
8232
|
+
"star-circle-outlined": 59423,
|
|
8233
|
+
"star-outlined": 59424,
|
|
8234
|
+
"start-break-outlined": 59425,
|
|
8235
|
+
"stash-outlined": 59426,
|
|
8236
|
+
"stopwatch-outlined": 59427,
|
|
8262
8237
|
strikethrough: strikethrough,
|
|
8263
|
-
"styler-outlined":
|
|
8264
|
-
"suitcase-clock-outlined":
|
|
8265
|
-
"suitcase-outlined":
|
|
8266
|
-
"survey-outlined":
|
|
8267
|
-
"switch-outlined":
|
|
8238
|
+
"styler-outlined": 59429,
|
|
8239
|
+
"suitcase-clock-outlined": 59430,
|
|
8240
|
+
"suitcase-outlined": 59431,
|
|
8241
|
+
"survey-outlined": 59432,
|
|
8242
|
+
"switch-outlined": 59433,
|
|
8268
8243
|
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":
|
|
8244
|
+
"tag-outlined": 59435,
|
|
8245
|
+
"target-outlined": 59436,
|
|
8246
|
+
"tennis-outlined": 59437,
|
|
8247
|
+
"thumb-down-outlined": 59438,
|
|
8248
|
+
"ticket-outlined": 59439,
|
|
8249
|
+
"timesheet-outlined": 59440,
|
|
8250
|
+
"timesheets-outlined": 59441,
|
|
8251
|
+
"today-outlined": 59442,
|
|
8277
8252
|
transfer: transfer,
|
|
8278
|
-
"transportation-outlined":
|
|
8279
|
-
"trash-bin-outlined":
|
|
8280
|
-
"umbrela-outlined":
|
|
8281
|
-
"unavailability-outlined":
|
|
8253
|
+
"transportation-outlined": 59444,
|
|
8254
|
+
"trash-bin-outlined": 59445,
|
|
8255
|
+
"umbrela-outlined": 59446,
|
|
8256
|
+
"unavailability-outlined": 59447,
|
|
8282
8257
|
unavailable: unavailable,
|
|
8283
8258
|
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":
|
|
8259
|
+
"union-outlined": 59450,
|
|
8260
|
+
"unlock-outlined": 59451,
|
|
8261
|
+
"upload-outlined": 59452,
|
|
8262
|
+
"user-circle-outlined": 59453,
|
|
8263
|
+
"user-gear-outlined": 59454,
|
|
8264
|
+
"user-outlined": 59455,
|
|
8265
|
+
"user-rectangle-outlined": 59456,
|
|
8266
|
+
"video-1-outlined": 59457,
|
|
8267
|
+
"video-2-outlined": 59458,
|
|
8268
|
+
"volunteer-outlined": 59459,
|
|
8269
|
+
"wallet-outlined": 59460,
|
|
8270
|
+
"wellness-outlined": 59461
|
|
8296
8271
|
};
|
|
8297
8272
|
|
|
8298
8273
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -8318,10 +8293,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
|
|
|
8318
8293
|
};
|
|
8319
8294
|
});
|
|
8320
8295
|
|
|
8321
|
-
var _excluded$
|
|
8296
|
+
var _excluded$H = ["style"];
|
|
8322
8297
|
var AnimatedIcon = function AnimatedIcon(_ref) {
|
|
8323
8298
|
var style = _ref.style,
|
|
8324
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8299
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$H);
|
|
8325
8300
|
var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
|
|
8326
8301
|
React.useEffect(function () {
|
|
8327
8302
|
var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
|
|
@@ -8426,7 +8401,7 @@ var AccordionItem = function AccordionItem(_ref) {
|
|
|
8426
8401
|
}, content));
|
|
8427
8402
|
};
|
|
8428
8403
|
|
|
8429
|
-
var _excluded$
|
|
8404
|
+
var _excluded$G = ["key"];
|
|
8430
8405
|
var Accordion = function Accordion(_ref) {
|
|
8431
8406
|
var items = _ref.items,
|
|
8432
8407
|
activeItemKey = _ref.activeItemKey,
|
|
@@ -8447,7 +8422,7 @@ var Accordion = function Accordion(_ref) {
|
|
|
8447
8422
|
testID: testID
|
|
8448
8423
|
}, items.map(function (_ref2, index) {
|
|
8449
8424
|
var key = _ref2.key,
|
|
8450
|
-
props = _objectWithoutProperties(_ref2, _excluded$
|
|
8425
|
+
props = _objectWithoutProperties(_ref2, _excluded$G);
|
|
8451
8426
|
var open = _activeItemKey === key;
|
|
8452
8427
|
return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
|
|
8453
8428
|
key: key
|
|
@@ -9122,6 +9097,17 @@ function omit(keys, obj) {
|
|
|
9122
9097
|
});
|
|
9123
9098
|
return result;
|
|
9124
9099
|
}
|
|
9100
|
+
function hexToRgba(hex, a) {
|
|
9101
|
+
var arrBuff = new ArrayBuffer(4);
|
|
9102
|
+
var vw = new DataView(arrBuff);
|
|
9103
|
+
vw.setUint32(0, parseInt(hex, 16), false);
|
|
9104
|
+
var arrByte = new Uint8Array(arrBuff);
|
|
9105
|
+
var _arrByte = _slicedToArray(arrByte, 3),
|
|
9106
|
+
r = _arrByte[0],
|
|
9107
|
+
g = _arrByte[1],
|
|
9108
|
+
b = _arrByte[2];
|
|
9109
|
+
return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
|
|
9110
|
+
}
|
|
9125
9111
|
|
|
9126
9112
|
var colors = {
|
|
9127
9113
|
backgroundColor: {
|
|
@@ -9302,7 +9288,7 @@ var borderWidths = {
|
|
|
9302
9288
|
var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
|
|
9303
9289
|
var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
|
|
9304
9290
|
|
|
9305
|
-
var _excluded$
|
|
9291
|
+
var _excluded$F = ["theme"];
|
|
9306
9292
|
var getThemeValue = function getThemeValue(theme, key, props) {
|
|
9307
9293
|
var propConfig = config[key];
|
|
9308
9294
|
var propValue = props[key];
|
|
@@ -9329,18 +9315,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
|
|
|
9329
9315
|
var configKeys = Object.keys(config);
|
|
9330
9316
|
var StyledBox = index$a(reactNative.View)(function (_ref5) {
|
|
9331
9317
|
var theme = _ref5.theme,
|
|
9332
|
-
otherProps = _objectWithoutProperties(_ref5, _excluded$
|
|
9318
|
+
otherProps = _objectWithoutProperties(_ref5, _excluded$F);
|
|
9333
9319
|
var styleProps = pick(configKeys, otherProps);
|
|
9334
9320
|
var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
|
|
9335
9321
|
return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
|
|
9336
9322
|
});
|
|
9337
9323
|
|
|
9338
|
-
var _excluded$
|
|
9324
|
+
var _excluded$E = ["children", "style", "testID"];
|
|
9339
9325
|
var Box = function Box(_ref) {
|
|
9340
9326
|
var children = _ref.children,
|
|
9341
9327
|
style = _ref.style,
|
|
9342
9328
|
testID = _ref.testID,
|
|
9343
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
9329
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$E);
|
|
9344
9330
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
|
|
9345
9331
|
style: style,
|
|
9346
9332
|
testID: testID
|
|
@@ -9561,16 +9547,44 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
|
|
|
9561
9547
|
borderRadius: theme.radii.rounded
|
|
9562
9548
|
};
|
|
9563
9549
|
});
|
|
9564
|
-
var
|
|
9565
|
-
var
|
|
9566
|
-
|
|
9550
|
+
var StyledCount = index$a(reactNative.View)(function (_ref4) {
|
|
9551
|
+
var theme = _ref4.theme;
|
|
9552
|
+
return {
|
|
9553
|
+
backgroundColor: theme.__hd__.badge.colors.danger,
|
|
9554
|
+
borderRadius: theme.__hd__.badge.radii.count,
|
|
9555
|
+
minWidth: theme.__hd__.badge.sizes.count.width,
|
|
9556
|
+
height: theme.__hd__.badge.sizes.count.height,
|
|
9557
|
+
alignItems: 'center',
|
|
9558
|
+
justifyContent: 'center',
|
|
9559
|
+
textAlign: 'center',
|
|
9560
|
+
textAlignVertical: 'center',
|
|
9561
|
+
color: theme.__hd__.badge.colors.text,
|
|
9562
|
+
display: 'flex',
|
|
9563
|
+
paddingHorizontal: theme.__hd__.badge.space.countPaddingHorizontal,
|
|
9564
|
+
position: 'absolute',
|
|
9565
|
+
top: theme.__hd__.badge.space.statusPositionTop,
|
|
9566
|
+
right: theme.__hd__.badge.space.statusPositionRight
|
|
9567
|
+
};
|
|
9568
|
+
});
|
|
9569
|
+
var StyledCountText = index$a(Typography.Text)(function (_ref5) {
|
|
9570
|
+
var theme = _ref5.theme;
|
|
9571
|
+
return {
|
|
9572
|
+
height: theme.__hd__.badge.sizes.count.height,
|
|
9573
|
+
lineHeight: theme.__hd__.badge.lineHeights.count,
|
|
9574
|
+
color: theme.__hd__.badge.colors.text,
|
|
9575
|
+
fontSize: theme.__hd__.badge.fontSizes.count
|
|
9576
|
+
};
|
|
9577
|
+
});
|
|
9578
|
+
var StyledIcon$4 = index$a(Icon)(function (_ref6) {
|
|
9579
|
+
var themeSize = _ref6.themeSize,
|
|
9580
|
+
theme = _ref6.theme;
|
|
9567
9581
|
return {
|
|
9568
9582
|
fontSize: theme.__hd__.badge.fontSizes[themeSize]
|
|
9569
9583
|
};
|
|
9570
9584
|
});
|
|
9571
9585
|
|
|
9572
|
-
var _excluded$
|
|
9573
|
-
var Status = function Status(_ref) {
|
|
9586
|
+
var _excluded$D = ["children", "visible", "intent", "style", "testID"];
|
|
9587
|
+
var Status$1 = function Status(_ref) {
|
|
9574
9588
|
var children = _ref.children,
|
|
9575
9589
|
_ref$visible = _ref.visible,
|
|
9576
9590
|
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
@@ -9578,7 +9592,7 @@ var Status = function Status(_ref) {
|
|
|
9578
9592
|
intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
|
|
9579
9593
|
style = _ref.style,
|
|
9580
9594
|
testID = _ref.testID,
|
|
9581
|
-
nativeProps = _objectWithoutProperties(_ref, _excluded$
|
|
9595
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$D);
|
|
9582
9596
|
var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
|
|
9583
9597
|
opacity = _React$useRef.current;
|
|
9584
9598
|
var isFirstRendering = React__namespace.default.useRef(true);
|
|
@@ -9611,8 +9625,31 @@ var Status = function Status(_ref) {
|
|
|
9611
9625
|
}));
|
|
9612
9626
|
};
|
|
9613
9627
|
|
|
9614
|
-
var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9615
9628
|
var DEFAULT_MAX_NUMBER = 99;
|
|
9629
|
+
|
|
9630
|
+
var _excluded$C = ["children", "visible", "style", "max", "testID", "content"];
|
|
9631
|
+
var Status = function Status(_ref) {
|
|
9632
|
+
var children = _ref.children,
|
|
9633
|
+
_ref$visible = _ref.visible,
|
|
9634
|
+
visible = _ref$visible === void 0 ? true : _ref$visible,
|
|
9635
|
+
style = _ref.style,
|
|
9636
|
+
_ref$max = _ref.max,
|
|
9637
|
+
max = _ref$max === void 0 ? DEFAULT_MAX_NUMBER : _ref$max,
|
|
9638
|
+
testID = _ref.testID,
|
|
9639
|
+
originalContent = _ref.content,
|
|
9640
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$C);
|
|
9641
|
+
var content = React.useMemo(function () {
|
|
9642
|
+
return originalContent > max ? "".concat(max, "+") : String(originalContent);
|
|
9643
|
+
}, [originalContent, max]);
|
|
9644
|
+
return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, _extends$1({}, nativeProps, {
|
|
9645
|
+
style: style,
|
|
9646
|
+
testID: testID
|
|
9647
|
+
}), children, visible && /*#__PURE__*/React__namespace.default.createElement(StyledCount, {
|
|
9648
|
+
testID: "count-badge"
|
|
9649
|
+
}, /*#__PURE__*/React__namespace.default.createElement(StyledCountText, null, content)));
|
|
9650
|
+
};
|
|
9651
|
+
|
|
9652
|
+
var _excluded$B = ["content", "visible", "max", "intent", "style", "testID", "size", "variant", "icon"];
|
|
9616
9653
|
var getPaddingState = function getPaddingState(content) {
|
|
9617
9654
|
return content.length > 1 ? 'wideContent' : 'narrowContent';
|
|
9618
9655
|
};
|
|
@@ -9678,7 +9715,8 @@ var Badge = function Badge(_ref) {
|
|
|
9678
9715
|
}, content));
|
|
9679
9716
|
};
|
|
9680
9717
|
var Badge$1 = Object.assign(Badge, {
|
|
9681
|
-
Status: Status
|
|
9718
|
+
Status: Status$1,
|
|
9719
|
+
Count: Status
|
|
9682
9720
|
});
|
|
9683
9721
|
|
|
9684
9722
|
var isHeroIcon = function isHeroIcon(x) {
|
|
@@ -10240,15 +10278,22 @@ var StyledButtonText = index$a(Typography.Title)(function (_ref3) {
|
|
|
10240
10278
|
};
|
|
10241
10279
|
return _objectSpread2({
|
|
10242
10280
|
flexShrink: 1,
|
|
10243
|
-
textAlign: 'center'
|
|
10281
|
+
textAlign: 'center',
|
|
10282
|
+
textAlignVertical: 'center',
|
|
10283
|
+
lineHeight: theme.__hd__.button.lineHeights.buttonText
|
|
10244
10284
|
}, themeStyling());
|
|
10245
10285
|
});
|
|
10246
|
-
var StyledSmallButtonText = StyledButtonText.withComponent(Typography.Body)
|
|
10247
|
-
var
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10286
|
+
var StyledSmallButtonText = index$a(StyledButtonText.withComponent(Typography.Body))(function (_ref4) {
|
|
10287
|
+
var theme = _ref4.theme;
|
|
10288
|
+
return {
|
|
10289
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10290
|
+
};
|
|
10291
|
+
});
|
|
10292
|
+
var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref5) {
|
|
10293
|
+
var disabled = _ref5.disabled,
|
|
10294
|
+
themeButtonVariant = _ref5.themeButtonVariant,
|
|
10295
|
+
themeIsPressed = _ref5.themeIsPressed,
|
|
10296
|
+
theme = _ref5.theme;
|
|
10252
10297
|
var themeStyling = function themeStyling() {
|
|
10253
10298
|
switch (themeButtonVariant) {
|
|
10254
10299
|
case 'text-primary':
|
|
@@ -10268,14 +10313,14 @@ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref4) {
|
|
|
10268
10313
|
return _objectSpread2({
|
|
10269
10314
|
flexShrink: 1,
|
|
10270
10315
|
lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
|
|
10271
|
-
|
|
10272
|
-
|
|
10316
|
+
textAlign: 'center',
|
|
10317
|
+
textAlignVertical: 'center'
|
|
10273
10318
|
}, themeStyling());
|
|
10274
10319
|
});
|
|
10275
|
-
var StyledButtonIconWrapper = index$a(reactNative.View)(function (
|
|
10276
|
-
var themePosition =
|
|
10277
|
-
theme =
|
|
10278
|
-
themeIsCompact =
|
|
10320
|
+
var StyledButtonIconWrapper = index$a(reactNative.View)(function (_ref6) {
|
|
10321
|
+
var themePosition = _ref6.themePosition,
|
|
10322
|
+
theme = _ref6.theme,
|
|
10323
|
+
themeIsCompact = _ref6.themeIsCompact;
|
|
10279
10324
|
switch (themePosition) {
|
|
10280
10325
|
case 'left':
|
|
10281
10326
|
return {
|
|
@@ -10287,12 +10332,12 @@ var StyledButtonIconWrapper = index$a(reactNative.View)(function (_ref5) {
|
|
|
10287
10332
|
};
|
|
10288
10333
|
}
|
|
10289
10334
|
});
|
|
10290
|
-
var StyledButtonIcon = index$a(Icon)(function (
|
|
10291
|
-
var disabled =
|
|
10292
|
-
themeButtonVariant =
|
|
10293
|
-
themeIsPressed =
|
|
10294
|
-
theme =
|
|
10295
|
-
themeIsCompact =
|
|
10335
|
+
var StyledButtonIcon = index$a(Icon)(function (_ref7) {
|
|
10336
|
+
var disabled = _ref7.disabled,
|
|
10337
|
+
themeButtonVariant = _ref7.themeButtonVariant,
|
|
10338
|
+
themeIsPressed = _ref7.themeIsPressed,
|
|
10339
|
+
theme = _ref7.theme,
|
|
10340
|
+
themeIsCompact = _ref7.themeIsCompact;
|
|
10296
10341
|
var themeStyling = function themeStyling() {
|
|
10297
10342
|
switch (themeButtonVariant) {
|
|
10298
10343
|
case 'filled-primary':
|
|
@@ -10533,9 +10578,14 @@ var IconWrapper = index$a(reactNative.View)(function (_ref2) {
|
|
|
10533
10578
|
paddingRight: theme.__hd__.button.space["default"].iconPadding
|
|
10534
10579
|
};
|
|
10535
10580
|
});
|
|
10536
|
-
var ButtonText = index$a(Typography.Body)({
|
|
10537
|
-
|
|
10538
|
-
|
|
10581
|
+
var ButtonText = index$a(Typography.Body)(function (_ref3) {
|
|
10582
|
+
var theme = _ref3.theme;
|
|
10583
|
+
return {
|
|
10584
|
+
flexShrink: 1,
|
|
10585
|
+
textAlign: 'center',
|
|
10586
|
+
textAlignVertical: 'center',
|
|
10587
|
+
lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
|
|
10588
|
+
};
|
|
10539
10589
|
});
|
|
10540
10590
|
|
|
10541
10591
|
var TEXT_INTENTS = {
|
|
@@ -17197,17 +17247,6 @@ var StyledBadgeIcon = index$a(Icon)(function (_ref6) {
|
|
|
17197
17247
|
color: theme.__hd__.mapPin.colors.badgeIcon
|
|
17198
17248
|
};
|
|
17199
17249
|
});
|
|
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
17250
|
var StyledFocusIcon = index$a(Icon)(function (_ref7) {
|
|
17212
17251
|
var theme = _ref7.theme;
|
|
17213
17252
|
return {
|
|
@@ -17704,21 +17743,6 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
17704
17743
|
});
|
|
17705
17744
|
PinInput.displayName = 'PinInput';
|
|
17706
17745
|
|
|
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
17746
|
var StyledContainer$2 = index$a(reactNative.View)(function (_ref) {
|
|
17723
17747
|
var theme = _ref.theme;
|
|
17724
17748
|
return {
|
|
@@ -17726,38 +17750,8 @@ var StyledContainer$2 = index$a(reactNative.View)(function (_ref) {
|
|
|
17726
17750
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17727
17751
|
};
|
|
17728
17752
|
});
|
|
17729
|
-
var
|
|
17753
|
+
var StyledDonutCircle = index$a(reactNative.View)(function (_ref2) {
|
|
17730
17754
|
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
17755
|
return {
|
|
17762
17756
|
position: 'absolute',
|
|
17763
17757
|
top: theme.__hd__.progress.sizes.circleCompletenessHeight,
|
|
@@ -17770,136 +17764,83 @@ var StyledDonutCircle = index$a(reactNative.View)(function (_ref5) {
|
|
|
17770
17764
|
justifyContent: 'center'
|
|
17771
17765
|
};
|
|
17772
17766
|
});
|
|
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
17767
|
|
|
17788
|
-
var
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17768
|
+
var THEME_INTENT_MAP = {
|
|
17769
|
+
primary: 'primary',
|
|
17770
|
+
success: 'success',
|
|
17771
|
+
warning: 'warning',
|
|
17772
|
+
danger: 'danger',
|
|
17773
|
+
info: 'info',
|
|
17774
|
+
archived: 'archived',
|
|
17775
|
+
'primary-inverted': 'primaryInverted',
|
|
17776
|
+
'success-inverted': 'successInverted',
|
|
17777
|
+
'warning-inverted': 'warningInverted',
|
|
17778
|
+
'danger-inverted': 'dangerInverted',
|
|
17779
|
+
'info-inverted': 'infoInverted',
|
|
17780
|
+
'archived-inverted': 'archivedInverted'
|
|
17797
17781
|
};
|
|
17782
|
+
|
|
17783
|
+
var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
|
|
17798
17784
|
var defaultRenderValue = function defaultRenderValue(value) {
|
|
17799
17785
|
return "".concat(value, "%");
|
|
17800
17786
|
};
|
|
17801
|
-
var
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
renderValue =
|
|
17805
|
-
|
|
17806
|
-
intent =
|
|
17807
|
-
|
|
17808
|
-
|
|
17809
|
-
|
|
17787
|
+
var AnimatedCircle = reactNative.Animated.createAnimatedComponent(Svg.Circle);
|
|
17788
|
+
var ProgressCircle = function ProgressCircle(_ref) {
|
|
17789
|
+
var value = _ref.value,
|
|
17790
|
+
_ref$renderValue = _ref.renderValue,
|
|
17791
|
+
renderValue = _ref$renderValue === void 0 ? defaultRenderValue : _ref$renderValue,
|
|
17792
|
+
_ref$intent = _ref.intent,
|
|
17793
|
+
intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
|
|
17794
|
+
style = _ref.style,
|
|
17795
|
+
testID = _ref.testID,
|
|
17796
|
+
nativeProps = _objectWithoutProperties(_ref, _excluded$j);
|
|
17810
17797
|
var theme = useTheme$1();
|
|
17811
|
-
var
|
|
17812
|
-
var
|
|
17798
|
+
var size = theme.__hd__.progress.sizes.circleDiameter;
|
|
17799
|
+
var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
|
|
17800
|
+
var radius = size / 2 - strokeWidth;
|
|
17801
|
+
var circumference = 2 * Math.PI * radius;
|
|
17802
|
+
var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0)).current;
|
|
17803
|
+
var minArc = strokeWidth / 2 / Math.PI; // Minimum arc length
|
|
17813
17804
|
React.useEffect(function () {
|
|
17814
|
-
|
|
17805
|
+
reactNative.Animated.timing(progressAnimatedValue, {
|
|
17815
17806
|
toValue: value,
|
|
17816
|
-
useNativeDriver: true
|
|
17817
|
-
|
|
17818
|
-
|
|
17819
|
-
return function () {
|
|
17820
|
-
return animation.stop();
|
|
17821
|
-
};
|
|
17807
|
+
useNativeDriver: true,
|
|
17808
|
+
easing: reactNative.Easing.inOut(reactNative.Easing.ease)
|
|
17809
|
+
}).start();
|
|
17822
17810
|
}, [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({
|
|
17811
|
+
var strokeDashoffset = progressAnimatedValue.interpolate({
|
|
17843
17812
|
inputRange: [0, 100],
|
|
17844
|
-
outputRange: [
|
|
17845
|
-
extrapolate: 'clamp'
|
|
17813
|
+
outputRange: [circumference - minArc, 0] // Full circle to zero offset
|
|
17846
17814
|
});
|
|
17815
|
+
|
|
17847
17816
|
return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, _extends$1({}, nativeProps, {
|
|
17848
17817
|
testID: testID,
|
|
17849
17818
|
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)))));
|
|
17819
|
+
}), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, null, /*#__PURE__*/React__namespace.default.createElement(Svg__default.default, {
|
|
17820
|
+
width: size,
|
|
17821
|
+
height: size,
|
|
17822
|
+
viewBox: "0 0 ".concat(size, " ").concat(size)
|
|
17823
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Svg.G, {
|
|
17824
|
+
rotation: "-90",
|
|
17825
|
+
origin: "".concat(size / 2, ", ").concat(size / 2)
|
|
17826
|
+
}, /*#__PURE__*/React__namespace.default.createElement(Svg.Circle, {
|
|
17827
|
+
cx: size / 2,
|
|
17828
|
+
cy: size / 2,
|
|
17829
|
+
r: radius,
|
|
17830
|
+
stroke: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[intent]], 0.1),
|
|
17831
|
+
strokeWidth: strokeWidth,
|
|
17832
|
+
fill: "transparent"
|
|
17833
|
+
}), /*#__PURE__*/React__namespace.default.createElement(AnimatedCircle, {
|
|
17834
|
+
cx: size / 2,
|
|
17835
|
+
cy: size / 2,
|
|
17836
|
+
r: radius,
|
|
17837
|
+
stroke: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[intent]],
|
|
17838
|
+
strokeWidth: strokeWidth,
|
|
17839
|
+
fill: "transparent",
|
|
17840
|
+
strokeDasharray: circumference,
|
|
17841
|
+
strokeDashoffset: strokeDashoffset,
|
|
17842
|
+
strokeLinecap: "round"
|
|
17843
|
+
}))), /*#__PURE__*/React__namespace.default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, renderValue(value)))));
|
|
17903
17844
|
};
|
|
17904
17845
|
|
|
17905
17846
|
var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
|
|
@@ -17908,7 +17849,7 @@ var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
|
|
|
17908
17849
|
return {
|
|
17909
17850
|
height: theme.__hd__.progress.sizes.barHeight,
|
|
17910
17851
|
alignSelf: 'stretch',
|
|
17911
|
-
backgroundColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]],
|
|
17852
|
+
backgroundColor: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]], 0.1),
|
|
17912
17853
|
overflow: 'hidden',
|
|
17913
17854
|
borderRadius: theme.__hd__.progress.radii["default"]
|
|
17914
17855
|
};
|
|
@@ -17999,7 +17940,7 @@ var StyledSingleStepContainer = index$a(Box)(function (_ref2) {
|
|
|
17999
17940
|
return {
|
|
18000
17941
|
height: theme.__hd__.progress.sizes.stepHeight,
|
|
18001
17942
|
borderRadius: theme.__hd__.progress.radii["default"],
|
|
18002
|
-
backgroundColor: theme.__hd__.progress.colors.step.
|
|
17943
|
+
backgroundColor: theme.__hd__.progress.colors.step.incomplete,
|
|
18003
17944
|
width: '100%',
|
|
18004
17945
|
position: 'relative'
|
|
18005
17946
|
};
|
|
@@ -19923,7 +19864,7 @@ var TabWithBadge = function TabWithBadge(_ref) {
|
|
|
19923
19864
|
return /*#__PURE__*/React__namespace.default.createElement(StyledBadgeWrapper, null, tabItem, /*#__PURE__*/React__namespace.default.createElement(Badge$1, {
|
|
19924
19865
|
content: config.value,
|
|
19925
19866
|
max: config.max,
|
|
19926
|
-
intent: "
|
|
19867
|
+
intent: "primary",
|
|
19927
19868
|
style: {
|
|
19928
19869
|
marginLeft: theme.space.xsmall
|
|
19929
19870
|
}
|
|
@@ -20759,7 +20700,8 @@ var StyledInput$1 = index$a(reactNative.TextInput)(function (_ref9) {
|
|
|
20759
20700
|
alignSelf: 'stretch',
|
|
20760
20701
|
flexGrow: 1,
|
|
20761
20702
|
flexShrink: 1,
|
|
20762
|
-
fontFamily: theme.__hd__.toolbar.fonts.text
|
|
20703
|
+
fontFamily: theme.__hd__.toolbar.fonts.text,
|
|
20704
|
+
color: theme.__hd__.toolbar.colors.text
|
|
20763
20705
|
};
|
|
20764
20706
|
});
|
|
20765
20707
|
var StyledPrefix = index$a(reactNative.View)(function (_ref10) {
|
|
@@ -20894,6 +20836,7 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
|
|
|
20894
20836
|
editable = _props$editable === void 0 ? true : _props$editable,
|
|
20895
20837
|
textStyle = props.textStyle,
|
|
20896
20838
|
nativeProps = _objectWithoutProperties(props, _excluded$8);
|
|
20839
|
+
var theme = useTheme();
|
|
20897
20840
|
var innerTextInput = React__namespace.default.useRef();
|
|
20898
20841
|
var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
20899
20842
|
var isEmptyValue = displayText.length === 0;
|
|
@@ -20945,7 +20888,8 @@ var ToolbarMessage = /*#__PURE__*/React.forwardRef(function (props, forwardedRef
|
|
|
20945
20888
|
ref: function ref(rnTextInputRef) {
|
|
20946
20889
|
innerTextInput.current = rnTextInputRef;
|
|
20947
20890
|
},
|
|
20948
|
-
style: textStyle
|
|
20891
|
+
style: textStyle,
|
|
20892
|
+
placeholderTextColor: theme.__hd__.toolbar.colors.placeholder
|
|
20949
20893
|
}))), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffix, {
|
|
20950
20894
|
testID: testID && "".concat(testID, "-suffix")
|
|
20951
20895
|
}, suffix));
|
|
@@ -40249,24 +40193,19 @@ var StyledContainer = index$a(reactNative.View)(function () {
|
|
|
40249
40193
|
width: '100%'
|
|
40250
40194
|
};
|
|
40251
40195
|
});
|
|
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
40196
|
var StyledInputContainer = index$a(reactNative.View)(function (_ref) {
|
|
40256
40197
|
var theme = _ref.theme,
|
|
40257
|
-
themeFocused = _ref.themeFocused,
|
|
40258
40198
|
themeVariant = _ref.themeVariant;
|
|
40259
|
-
var borderWidth = getBorderWidth(theme, themeFocused, themeVariant);
|
|
40260
40199
|
return _objectSpread2({
|
|
40261
40200
|
flexDirection: 'row',
|
|
40262
40201
|
alignItems: 'center',
|
|
40263
|
-
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding
|
|
40264
|
-
paddingVertical: theme.__hd__.search.space.containerVerticalPadding
|
|
40202
|
+
paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
|
|
40203
|
+
paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
|
|
40265
40204
|
backgroundColor: theme.__hd__.search.colors[themeVariant].containerBackground,
|
|
40266
40205
|
height: 56,
|
|
40267
40206
|
borderRadius: theme.__hd__.search.radii.container,
|
|
40268
|
-
borderWidth:
|
|
40269
|
-
borderColor:
|
|
40207
|
+
borderWidth: theme.__hd__.search.borderWidths.container["default"],
|
|
40208
|
+
borderColor: theme.__hd__.search.colors[themeVariant].border
|
|
40270
40209
|
}, themeVariant === 'reversed' && _objectSpread2({}, theme.__hd__.search.shadows.container));
|
|
40271
40210
|
});
|
|
40272
40211
|
var StyledAffixContainer = index$a(reactNative.View)(function (_ref2) {
|
|
@@ -40292,6 +40231,7 @@ var StyledInput = index$a(reactNative.TextInput)(function (_ref4) {
|
|
|
40292
40231
|
return {
|
|
40293
40232
|
textAlignVertical: 'center',
|
|
40294
40233
|
fontSize: theme.__hd__.search.fontSizes.text,
|
|
40234
|
+
color: theme.__hd__.textInput.colors.text,
|
|
40295
40235
|
alignSelf: 'stretch',
|
|
40296
40236
|
flexGrow: 1,
|
|
40297
40237
|
flexShrink: 1,
|
|
@@ -40329,7 +40269,7 @@ var renderPrefix = function renderPrefix(_ref) {
|
|
|
40329
40269
|
intent: "text",
|
|
40330
40270
|
testID: "input-prefix",
|
|
40331
40271
|
icon: prefix,
|
|
40332
|
-
size: "
|
|
40272
|
+
size: "xsmall"
|
|
40333
40273
|
})) : prefix;
|
|
40334
40274
|
};
|
|
40335
40275
|
var renderSuffix = function renderSuffix(_ref2) {
|
|
@@ -40338,7 +40278,7 @@ var renderSuffix = function renderSuffix(_ref2) {
|
|
|
40338
40278
|
intent: "text",
|
|
40339
40279
|
testID: "input-suffix",
|
|
40340
40280
|
icon: suffix,
|
|
40341
|
-
size: "
|
|
40281
|
+
size: "xsmall"
|
|
40342
40282
|
})) : suffix;
|
|
40343
40283
|
};
|
|
40344
40284
|
|
|
@@ -40356,7 +40296,6 @@ var SearchTwoLine = function SearchTwoLine(props) {
|
|
|
40356
40296
|
style: style,
|
|
40357
40297
|
testID: testID
|
|
40358
40298
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
40359
|
-
themeFocused: false,
|
|
40360
40299
|
themeVariant: variant
|
|
40361
40300
|
}, renderPrefix({
|
|
40362
40301
|
prefix: prefix
|
|
@@ -40464,7 +40403,7 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
40464
40403
|
intent: "text",
|
|
40465
40404
|
testID: "input-clear-button",
|
|
40466
40405
|
icon: "circle-cancel",
|
|
40467
|
-
size: "
|
|
40406
|
+
size: "xsmall",
|
|
40468
40407
|
disabled: state === 'disabled' || state === 'readonly'
|
|
40469
40408
|
}));
|
|
40470
40409
|
};
|
|
@@ -40474,7 +40413,6 @@ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
40474
40413
|
testID: testID,
|
|
40475
40414
|
style: style
|
|
40476
40415
|
}, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
|
|
40477
|
-
themeFocused: isFocused,
|
|
40478
40416
|
themeVariant: variant
|
|
40479
40417
|
}, renderPrefix({
|
|
40480
40418
|
prefix: prefix
|