@hero-design/rn 8.92.1 → 8.92.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/CHANGELOG.md +24 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +594 -729
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +595 -729
  7. package/package.json +4 -2
  8. package/rollup.config.mjs +1 -0
  9. package/src/components/Button/StyledButton.tsx +15 -8
  10. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +5 -3
  11. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  12. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +61 -4
  13. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +26 -0
  14. package/src/components/Calendar/__tests__/CalendarRange.spec.tsx +26 -11
  15. package/src/components/Calendar/__tests__/helper.spec.ts +65 -58
  16. package/src/components/Calendar/helpers.ts +8 -13
  17. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  18. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -0
  19. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  20. package/src/components/Icon/IconList.ts +1 -0
  21. package/src/components/MapPin/StyledMapPin.tsx +1 -9
  22. package/src/components/Progress/ProgressCircle.tsx +53 -109
  23. package/src/components/Progress/StyledProgressBar.tsx +4 -1
  24. package/src/components/Progress/StyledProgressCircle.tsx +1 -57
  25. package/src/components/Progress/StyledStep.tsx +1 -1
  26. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +299 -647
  27. package/src/components/Search/SearchOneLine.tsx +2 -2
  28. package/src/components/Search/SearchTwoLine.tsx +1 -1
  29. package/src/components/Search/StyledSearch.tsx +20 -35
  30. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +51 -51
  31. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +2 -2
  32. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +13 -15
  33. package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +4 -4
  34. package/src/components/Search/utils.tsx +2 -2
  35. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  36. package/src/components/Tabs/TabWithBadge.tsx +1 -1
  37. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +15 -9
  38. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +6 -6
  39. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -3
  40. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +15 -9
  41. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -0
  42. package/src/components/Toolbar/StyledToolbar.tsx +1 -0
  43. package/src/components/Toolbar/ToolbarMessage.tsx +3 -0
  44. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarMessage.spec.tsx.snap +8 -0
  45. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +20 -23
  46. package/src/theme/components/button.ts +10 -0
  47. package/src/theme/components/progress.ts +21 -26
  48. package/src/theme/components/search.ts +2 -10
  49. package/src/theme/components/toolbar.ts +2 -0
  50. package/src/utils/helpers.ts +9 -0
  51. package/stats/8.92.2/rn-stats.html +4842 -0
  52. package/stats/8.92.3/rn-stats.html +4842 -0
  53. package/types/components/Button/StyledButton.d.ts +2 -2
  54. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
  55. package/types/components/Icon/IconList.d.ts +1 -1
  56. package/types/components/Icon/index.d.ts +1 -1
  57. package/types/components/Progress/StyledProgressCircle.d.ts +1 -32
  58. package/types/components/Search/StyledSearch.d.ts +0 -1
  59. package/types/components/TextInput/index.d.ts +1 -1
  60. package/types/theme/components/button.d.ts +3 -0
  61. package/types/theme/components/progress.d.ts +6 -6
  62. package/types/theme/components/search.d.ts +2 -10
  63. package/types/theme/components/toolbar.d.ts +2 -0
  64. package/types/utils/helpers.d.ts +1 -0
package/es/index.js CHANGED
@@ -6,6 +6,7 @@ import { createIconSet } from 'react-native-vector-icons';
6
6
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
7
7
  import { MonthYearPickerViewIOS, MonthYearPickerDialogueAndroid } from '@hero-design/react-native-month-year-picker';
8
8
  import DateTimePicker from '@react-native-community/datetimepicker';
9
+ import Svg, { Circle as Circle$1, G } from 'react-native-svg';
9
10
  import RnSlider from '@react-native-community/slider';
10
11
  import MultiSlider from '@ptomasroos/react-native-multi-slider';
11
12
  import { RectButton, GestureHandlerRootView, Swipeable as Swipeable$1 } from 'react-native-gesture-handler';
@@ -14,6 +15,140 @@ import PagerView from 'react-native-pager-view';
14
15
  import { EventEmitter } from 'events';
15
16
  import { WebView } from 'react-native-webview';
16
17
 
18
+ function _arrayLikeToArray(r, a) {
19
+ (null == a || a > r.length) && (a = r.length);
20
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
21
+ return n;
22
+ }
23
+ function _arrayWithHoles(r) {
24
+ if (Array.isArray(r)) return r;
25
+ }
26
+ function _arrayWithoutHoles(r) {
27
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
28
+ }
29
+ function _assertThisInitialized(e) {
30
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
31
+ return e;
32
+ }
33
+ function _classCallCheck(a, n) {
34
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
35
+ }
36
+ function _defineProperties(e, r) {
37
+ for (var t = 0; t < r.length; t++) {
38
+ var o = r[t];
39
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
40
+ }
41
+ }
42
+ function _createClass(e, r, t) {
43
+ return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
44
+ writable: !1
45
+ }), e;
46
+ }
47
+ function _createForOfIteratorHelper(r, e) {
48
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
49
+ if (!t) {
50
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
51
+ t && (r = t);
52
+ var n = 0,
53
+ F = function () {};
54
+ return {
55
+ s: F,
56
+ n: function () {
57
+ return n >= r.length ? {
58
+ done: !0
59
+ } : {
60
+ done: !1,
61
+ value: r[n++]
62
+ };
63
+ },
64
+ e: function (r) {
65
+ throw r;
66
+ },
67
+ f: F
68
+ };
69
+ }
70
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
71
+ }
72
+ var o,
73
+ a = !0,
74
+ u = !1;
75
+ return {
76
+ s: function () {
77
+ t = t.call(r);
78
+ },
79
+ n: function () {
80
+ var r = t.next();
81
+ return a = r.done, r;
82
+ },
83
+ e: function (r) {
84
+ u = !0, o = r;
85
+ },
86
+ f: function () {
87
+ try {
88
+ a || null == t.return || t.return();
89
+ } finally {
90
+ if (u) throw o;
91
+ }
92
+ }
93
+ };
94
+ }
95
+ function _createSuper(t) {
96
+ var r = _isNativeReflectConstruct();
97
+ return function () {
98
+ var e,
99
+ o = _getPrototypeOf(t);
100
+ if (r) {
101
+ var s = _getPrototypeOf(this).constructor;
102
+ e = Reflect.construct(o, arguments, s);
103
+ } else e = o.apply(this, arguments);
104
+ return _possibleConstructorReturn(this, e);
105
+ };
106
+ }
107
+ function _defineProperty(e, r, t) {
108
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
109
+ value: t,
110
+ enumerable: !0,
111
+ configurable: !0,
112
+ writable: !0
113
+ }) : e[r] = t, e;
114
+ }
115
+ function _extends$1() {
116
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
117
+ for (var e = 1; e < arguments.length; e++) {
118
+ var t = arguments[e];
119
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
120
+ }
121
+ return n;
122
+ }, _extends$1.apply(null, arguments);
123
+ }
124
+ function _getPrototypeOf(t) {
125
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
126
+ return t.__proto__ || Object.getPrototypeOf(t);
127
+ }, _getPrototypeOf(t);
128
+ }
129
+ function _inherits(t, e) {
130
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
131
+ t.prototype = Object.create(e && e.prototype, {
132
+ constructor: {
133
+ value: t,
134
+ writable: !0,
135
+ configurable: !0
136
+ }
137
+ }), Object.defineProperty(t, "prototype", {
138
+ writable: !1
139
+ }), e && _setPrototypeOf(t, e);
140
+ }
141
+ function _isNativeReflectConstruct() {
142
+ try {
143
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
144
+ } catch (t) {}
145
+ return (_isNativeReflectConstruct = function () {
146
+ return !!t;
147
+ })();
148
+ }
149
+ function _iterableToArray(r) {
150
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
151
+ }
17
152
  function _iterableToArrayLimit(r, l) {
18
153
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
19
154
  if (null != t) {
@@ -41,6 +176,15 @@ function _iterableToArrayLimit(r, l) {
41
176
  return a;
42
177
  }
43
178
  }
179
+ function _nonIterableRest() {
180
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
181
+ }
182
+ function _nonIterableSpread() {
183
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
184
+ }
185
+ function _objectDestructuringEmpty(t) {
186
+ if (null == t) throw new TypeError("Cannot destructure " + t);
187
+ }
44
188
  function ownKeys(e, r) {
45
189
  var t = Object.keys(e);
46
190
  if (Object.getOwnPropertySymbols) {
@@ -62,6 +206,31 @@ function _objectSpread2(e) {
62
206
  }
63
207
  return e;
64
208
  }
209
+ function _objectWithoutProperties(e, t) {
210
+ if (null == e) return {};
211
+ var o,
212
+ r,
213
+ i = _objectWithoutPropertiesLoose(e, t);
214
+ if (Object.getOwnPropertySymbols) {
215
+ var n = Object.getOwnPropertySymbols(e);
216
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
217
+ }
218
+ return i;
219
+ }
220
+ function _objectWithoutPropertiesLoose(r, e) {
221
+ if (null == r) return {};
222
+ var t = {};
223
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
224
+ if (-1 !== e.indexOf(n)) continue;
225
+ t[n] = r[n];
226
+ }
227
+ return t;
228
+ }
229
+ function _possibleConstructorReturn(t, e) {
230
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
231
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
232
+ return _assertThisInitialized(t);
233
+ }
65
234
  function _regeneratorRuntime() {
66
235
  _regeneratorRuntime = function () {
67
236
  return e;
@@ -170,7 +339,7 @@ function _regeneratorRuntime() {
170
339
  function makeInvokeMethod(e, r, n) {
171
340
  var o = h;
172
341
  return function (i, a) {
173
- if (o === f) throw new Error("Generator is already running");
342
+ if (o === f) throw Error("Generator is already running");
174
343
  if (o === s) {
175
344
  if ("throw" === i) throw a;
176
345
  return {
@@ -312,7 +481,7 @@ function _regeneratorRuntime() {
312
481
  } else if (c) {
313
482
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
314
483
  } else {
315
- if (!u) throw new Error("try statement without catch or finally");
484
+ if (!u) throw Error("try statement without catch or finally");
316
485
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
317
486
  }
318
487
  }
@@ -352,7 +521,7 @@ function _regeneratorRuntime() {
352
521
  return o;
353
522
  }
354
523
  }
355
- throw new Error("illegal catch attempt");
524
+ throw Error("illegal catch attempt");
356
525
  },
357
526
  delegateYield: function (e, r, n) {
358
527
  return this.delegate = {
@@ -363,6 +532,31 @@ function _regeneratorRuntime() {
363
532
  }
364
533
  }, e;
365
534
  }
535
+ function _setPrototypeOf(t, e) {
536
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
537
+ return t.__proto__ = e, t;
538
+ }, _setPrototypeOf(t, e);
539
+ }
540
+ function _slicedToArray(r, e) {
541
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
542
+ }
543
+ function _toConsumableArray(r) {
544
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
545
+ }
546
+ function _toPrimitive(t, r) {
547
+ if ("object" != typeof t || !t) return t;
548
+ var e = t[Symbol.toPrimitive];
549
+ if (void 0 !== e) {
550
+ var i = e.call(t, r || "default");
551
+ if ("object" != typeof i) return i;
552
+ throw new TypeError("@@toPrimitive must return a primitive value.");
553
+ }
554
+ return ("string" === r ? String : Number)(t);
555
+ }
556
+ function _toPropertyKey(t) {
557
+ var i = _toPrimitive(t, "string");
558
+ return "symbol" == typeof i ? i : i + "";
559
+ }
366
560
  function _typeof(o) {
367
561
  "@babel/helpers - typeof";
368
562
 
@@ -372,251 +566,12 @@ function _typeof(o) {
372
566
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
373
567
  }, _typeof(o);
374
568
  }
375
- function _classCallCheck(instance, Constructor) {
376
- if (!(instance instanceof Constructor)) {
377
- throw new TypeError("Cannot call a class as a function");
378
- }
379
- }
380
- function _defineProperties(target, props) {
381
- for (var i = 0; i < props.length; i++) {
382
- var descriptor = props[i];
383
- descriptor.enumerable = descriptor.enumerable || false;
384
- descriptor.configurable = true;
385
- if ("value" in descriptor) descriptor.writable = true;
386
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
387
- }
388
- }
389
- function _createClass(Constructor, protoProps, staticProps) {
390
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
391
- Object.defineProperty(Constructor, "prototype", {
392
- writable: false
393
- });
394
- return Constructor;
395
- }
396
- function _defineProperty(obj, key, value) {
397
- key = _toPropertyKey(key);
398
- if (key in obj) {
399
- Object.defineProperty(obj, key, {
400
- value: value,
401
- enumerable: true,
402
- configurable: true,
403
- writable: true
404
- });
405
- } else {
406
- obj[key] = value;
407
- }
408
- return obj;
409
- }
410
- function _extends$1() {
411
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
412
- for (var i = 1; i < arguments.length; i++) {
413
- var source = arguments[i];
414
- for (var key in source) {
415
- if (Object.prototype.hasOwnProperty.call(source, key)) {
416
- target[key] = source[key];
417
- }
418
- }
419
- }
420
- return target;
421
- };
422
- return _extends$1.apply(this, arguments);
423
- }
424
- function _inherits(subClass, superClass) {
425
- if (typeof superClass !== "function" && superClass !== null) {
426
- throw new TypeError("Super expression must either be null or a function");
427
- }
428
- subClass.prototype = Object.create(superClass && superClass.prototype, {
429
- constructor: {
430
- value: subClass,
431
- writable: true,
432
- configurable: true
433
- }
434
- });
435
- Object.defineProperty(subClass, "prototype", {
436
- writable: false
437
- });
438
- if (superClass) _setPrototypeOf(subClass, superClass);
439
- }
440
- function _getPrototypeOf(o) {
441
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
442
- return o.__proto__ || Object.getPrototypeOf(o);
443
- };
444
- return _getPrototypeOf(o);
445
- }
446
- function _setPrototypeOf(o, p) {
447
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
448
- o.__proto__ = p;
449
- return o;
450
- };
451
- return _setPrototypeOf(o, p);
452
- }
453
- function _isNativeReflectConstruct() {
454
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
455
- if (Reflect.construct.sham) return false;
456
- if (typeof Proxy === "function") return true;
457
- try {
458
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
459
- return true;
460
- } catch (e) {
461
- return false;
462
- }
463
- }
464
- function _objectDestructuringEmpty(obj) {
465
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
466
- }
467
- function _objectWithoutPropertiesLoose(source, excluded) {
468
- if (source == null) return {};
469
- var target = {};
470
- var sourceKeys = Object.keys(source);
471
- var key, i;
472
- for (i = 0; i < sourceKeys.length; i++) {
473
- key = sourceKeys[i];
474
- if (excluded.indexOf(key) >= 0) continue;
475
- target[key] = source[key];
476
- }
477
- return target;
478
- }
479
- function _objectWithoutProperties(source, excluded) {
480
- if (source == null) return {};
481
- var target = _objectWithoutPropertiesLoose(source, excluded);
482
- var key, i;
483
- if (Object.getOwnPropertySymbols) {
484
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
485
- for (i = 0; i < sourceSymbolKeys.length; i++) {
486
- key = sourceSymbolKeys[i];
487
- if (excluded.indexOf(key) >= 0) continue;
488
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
489
- target[key] = source[key];
490
- }
491
- }
492
- return target;
493
- }
494
- function _assertThisInitialized(self) {
495
- if (self === void 0) {
496
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
569
+ function _unsupportedIterableToArray(r, a) {
570
+ if (r) {
571
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
572
+ var t = {}.toString.call(r).slice(8, -1);
573
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
497
574
  }
498
- return self;
499
- }
500
- function _possibleConstructorReturn(self, call) {
501
- if (call && (typeof call === "object" || typeof call === "function")) {
502
- return call;
503
- } else if (call !== void 0) {
504
- throw new TypeError("Derived constructors may only return object or undefined");
505
- }
506
- return _assertThisInitialized(self);
507
- }
508
- function _createSuper(Derived) {
509
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
510
- return function _createSuperInternal() {
511
- var Super = _getPrototypeOf(Derived),
512
- result;
513
- if (hasNativeReflectConstruct) {
514
- var NewTarget = _getPrototypeOf(this).constructor;
515
- result = Reflect.construct(Super, arguments, NewTarget);
516
- } else {
517
- result = Super.apply(this, arguments);
518
- }
519
- return _possibleConstructorReturn(this, result);
520
- };
521
- }
522
- function _slicedToArray(arr, i) {
523
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
524
- }
525
- function _toConsumableArray(arr) {
526
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
527
- }
528
- function _arrayWithoutHoles(arr) {
529
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
530
- }
531
- function _arrayWithHoles(arr) {
532
- if (Array.isArray(arr)) return arr;
533
- }
534
- function _iterableToArray(iter) {
535
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
536
- }
537
- function _unsupportedIterableToArray(o, minLen) {
538
- if (!o) return;
539
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
540
- var n = Object.prototype.toString.call(o).slice(8, -1);
541
- if (n === "Object" && o.constructor) n = o.constructor.name;
542
- if (n === "Map" || n === "Set") return Array.from(o);
543
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
544
- }
545
- function _arrayLikeToArray(arr, len) {
546
- if (len == null || len > arr.length) len = arr.length;
547
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
548
- return arr2;
549
- }
550
- function _nonIterableSpread() {
551
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
552
- }
553
- function _nonIterableRest() {
554
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
555
- }
556
- function _createForOfIteratorHelper(o, allowArrayLike) {
557
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
558
- if (!it) {
559
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
560
- if (it) o = it;
561
- var i = 0;
562
- var F = function () {};
563
- return {
564
- s: F,
565
- n: function () {
566
- if (i >= o.length) return {
567
- done: true
568
- };
569
- return {
570
- done: false,
571
- value: o[i++]
572
- };
573
- },
574
- e: function (e) {
575
- throw e;
576
- },
577
- f: F
578
- };
579
- }
580
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
581
- }
582
- var normalCompletion = true,
583
- didErr = false,
584
- err;
585
- return {
586
- s: function () {
587
- it = it.call(o);
588
- },
589
- n: function () {
590
- var step = it.next();
591
- normalCompletion = step.done;
592
- return step;
593
- },
594
- e: function (e) {
595
- didErr = true;
596
- err = e;
597
- },
598
- f: function () {
599
- try {
600
- if (!normalCompletion && it.return != null) it.return();
601
- } finally {
602
- if (didErr) throw err;
603
- }
604
- }
605
- };
606
- }
607
- function _toPrimitive(input, hint) {
608
- if (typeof input !== "object" || input === null) return input;
609
- var prim = input[Symbol.toPrimitive];
610
- if (prim !== undefined) {
611
- var res = prim.call(input, hint || "default");
612
- if (typeof res !== "object") return res;
613
- throw new TypeError("@@toPrimitive must return a primitive value.");
614
- }
615
- return (hint === "string" ? String : Number)(input);
616
- }
617
- function _toPropertyKey(arg) {
618
- var key = _toPrimitive(arg, "string");
619
- return typeof key === "symbol" ? key : String(key);
620
575
  }
621
576
 
622
577
  var BASE_BORDER_WIDTH = 1;
@@ -2823,7 +2778,16 @@ var getButtonTheme = function getButtonTheme(theme) {
2823
2778
  }
2824
2779
  };
2825
2780
  var lineHeights = {
2826
- titleOfTextVariant: theme.lineHeights.medium
2781
+ titleOfTextVariant: theme.lineHeights.medium,
2782
+ buttonText: Platform.select({
2783
+ android: theme.lineHeights.medium + theme.space.xxsmall
2784
+ }),
2785
+ utilityButtonText: Platform.select({
2786
+ android: theme.lineHeights.small + theme.space.xxsmall
2787
+ }),
2788
+ compactButtonText: Platform.select({
2789
+ android: theme.lineHeights.small + theme.space.xxsmall
2790
+ })
2827
2791
  };
2828
2792
  return {
2829
2793
  lineHeights: lineHeights,
@@ -3402,41 +3366,39 @@ var getPinInputTheme = function getPinInputTheme(theme) {
3402
3366
  };
3403
3367
 
3404
3368
  var getProgressTheme = function getProgressTheme(theme) {
3405
- var lightenScaleOnInverted = 20;
3406
3369
  var colors = {
3407
3370
  completeness: {
3408
3371
  primary: theme.colors.primary,
3409
3372
  success: theme.colors.success,
3410
- // should be emerald dark 15
3411
3373
  warning: theme.colors.warning,
3412
3374
  danger: theme.colors.error,
3413
3375
  info: theme.colors.info,
3414
3376
  archived: theme.colors.onArchivedSurface,
3415
- primaryInverted: theme.colors.onDarkGlobalSurface,
3416
- successInverted: theme.colors.onDarkGlobalSurface,
3417
- warningInverted: theme.colors.onDarkGlobalSurface,
3418
- dangerInverted: theme.colors.onDarkGlobalSurface,
3419
- infoInverted: theme.colors.onDarkGlobalSurface,
3420
- archivedInverted: theme.colors.onDarkGlobalSurface
3377
+ primaryInverted: theme.colors.white,
3378
+ successInverted: theme.colors.white,
3379
+ warningInverted: theme.colors.white,
3380
+ dangerInverted: theme.colors.white,
3381
+ infoInverted: theme.colors.white,
3382
+ archivedInverted: theme.colors.white
3421
3383
  },
3422
3384
  incompleteness: {
3423
- primary: theme.colors.secondaryOutline,
3424
- success: theme.colors.secondaryOutline,
3425
- warning: theme.colors.secondaryOutline,
3426
- danger: theme.colors.secondaryOutline,
3427
- info: theme.colors.secondaryOutline,
3428
- archived: theme.colors.secondaryOutline,
3429
- primaryInverted: mixColor(theme.colors.primary).tint(lightenScaleOnInverted),
3430
- successInverted: theme.colors.mutedSuccess,
3431
- warningInverted: theme.colors.mutedWarning,
3432
- dangerInverted: theme.colors.mutedError,
3433
- infoInverted: theme.colors.mutedInfo,
3434
- archivedInverted: theme.colors.mutedArchived
3385
+ primary: theme.colors.overlayGlobalSurface,
3386
+ success: theme.colors.overlayGlobalSurface,
3387
+ warning: theme.colors.overlayGlobalSurface,
3388
+ danger: theme.colors.overlayGlobalSurface,
3389
+ info: theme.colors.overlayGlobalSurface,
3390
+ archived: theme.colors.overlayGlobalSurface,
3391
+ primaryInverted: theme.colors.overlayGlobalSurface,
3392
+ successInverted: theme.colors.overlayGlobalSurface,
3393
+ warningInverted: theme.colors.overlayGlobalSurface,
3394
+ dangerInverted: theme.colors.overlayGlobalSurface,
3395
+ infoInverted: theme.colors.overlayGlobalSurface,
3396
+ archivedInverted: theme.colors.overlayGlobalSurface
3435
3397
  },
3436
3398
  step: {
3437
3399
  complete: theme.colors.primary,
3438
3400
  incomplete: theme.colors.archivedSurface,
3439
- current: '#DACCE4'
3401
+ current: theme.colors.decorativePrimarySurface
3440
3402
  }
3441
3403
  };
3442
3404
  var sizes = {
@@ -4018,7 +3980,9 @@ var getToolbarTheme = function getToolbarTheme(theme) {
4018
3980
  danger: theme.colors.onErrorSurface,
4019
3981
  disabled: theme.colors.disabledOnDefaultGlobalSurface,
4020
3982
  iconButtonBackground: theme.colors.highlightedSurface,
4021
- inputContainerBackground: theme.colors.neutralGlobalSurface
3983
+ inputContainerBackground: theme.colors.neutralGlobalSurface,
3984
+ text: theme.colors.onDefaultGlobalSurface,
3985
+ placeholder: theme.colors.mutedOnDefaultGlobalSurface
4022
3986
  };
4023
3987
  var space = {
4024
3988
  verticalPadding: theme.space.small,
@@ -4236,17 +4200,16 @@ var getSearchTheme = function getSearchTheme(theme) {
4236
4200
  var colors = {
4237
4201
  basic: {
4238
4202
  containerBackground: theme.colors.neutralGlobalSurface,
4239
- border: theme.colors.neutralGlobalSurface,
4240
- focusedBorder: theme.colors.primaryOutline
4203
+ border: theme.colors.neutralGlobalSurface
4241
4204
  },
4242
4205
  reversed: {
4243
4206
  containerBackground: theme.colors.defaultGlobalSurface,
4244
- border: theme.colors.secondaryOutline,
4245
- focusedBorder: theme.colors.primaryOutline
4207
+ border: theme.colors.secondaryOutline
4246
4208
  },
4247
4209
  suffixBackground: theme.colors.defaultGlobalSurface,
4248
4210
  text: theme.colors.onDefaultGlobalSurface,
4249
- shadow: theme.colors.primaryOutline
4211
+ shadow: theme.colors.primaryOutline,
4212
+ placeholder: theme.colors.mutedOnDefaultGlobalSurface
4250
4213
  };
4251
4214
  var shadows = {
4252
4215
  container: theme.shadows["default"]
@@ -4269,14 +4232,7 @@ var getSearchTheme = function getSearchTheme(theme) {
4269
4232
  };
4270
4233
  var borderWidths = {
4271
4234
  container: {
4272
- basic: {
4273
- normal: theme.borderWidths.medium,
4274
- focused: theme.borderWidths.medium
4275
- },
4276
- reversed: {
4277
- normal: theme.borderWidths.base,
4278
- focused: theme.borderWidths.medium
4279
- }
4235
+ "default": theme.borderWidths.base
4280
4236
  }
4281
4237
  };
4282
4238
  var radii = {
@@ -7710,7 +7666,7 @@ var Typography = {
7710
7666
  };
7711
7667
 
7712
7668
  // 🔴 DO NOT EDIT — This file is generated automatically.
7713
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
7669
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
7714
7670
 
7715
7671
  var activate = 59000;
7716
7672
  var adjustment = 59003;
@@ -7788,22 +7744,22 @@ var wallet = 59189;
7788
7744
  var warning = 59190;
7789
7745
  var add = 59197;
7790
7746
  var bold = 59227;
7791
- var cancel = 59243;
7792
- var checkmark = 59249;
7793
- var italic = 59345;
7794
- var local_mall_outlined = 59352;
7795
- var number = 59375;
7796
- var percentage = 59381;
7797
- var redeem = 59391;
7798
- var refresh = 59392;
7799
- var remove = 59393;
7800
- var restart = 59395;
7801
- var shopping_basket_outlined = 59411;
7802
- var strikethrough = 59426;
7803
- var sync = 59432;
7804
- var transfer = 59441;
7805
- var unavailable = 59446;
7806
- var underline = 59447;
7747
+ var cancel = 59244;
7748
+ var checkmark = 59250;
7749
+ var italic = 59346;
7750
+ var local_mall_outlined = 59353;
7751
+ var number = 59376;
7752
+ var percentage = 59382;
7753
+ var redeem = 59392;
7754
+ var refresh = 59393;
7755
+ var remove = 59394;
7756
+ var restart = 59396;
7757
+ var shopping_basket_outlined = 59412;
7758
+ var strikethrough = 59427;
7759
+ var sync = 59433;
7760
+ var transfer = 59442;
7761
+ var unavailable = 59447;
7762
+ var underline = 59448;
7807
7763
  var glyphMap = {
7808
7764
  activate: activate,
7809
7765
  "add-emoji": 59001,
@@ -8043,228 +7999,229 @@ var glyphMap = {
8043
7999
  "box-outlined": 59235,
8044
8000
  "bullet-points": 59236,
8045
8001
  "cake-outlined": 59237,
8046
- "calendar-dates-outlined": 59238,
8047
- "calendar-star-outlined": 59239,
8048
- "call-outlined": 59240,
8049
- "call-split-outlined": 59241,
8050
- "camera-outlined": 59242,
8002
+ "calculator-outlined": 59238,
8003
+ "calendar-dates-outlined": 59239,
8004
+ "calendar-star-outlined": 59240,
8005
+ "call-outlined": 59241,
8006
+ "call-split-outlined": 59242,
8007
+ "camera-outlined": 59243,
8051
8008
  cancel: cancel,
8052
- "car-forward-outlined": 59244,
8053
- "cashback-outlined": 59245,
8054
- "charging-station-outlined": 59246,
8055
- "chat-bubble-outlined": 59247,
8056
- "chat-unread-outlined": 59248,
8009
+ "car-forward-outlined": 59245,
8010
+ "cashback-outlined": 59246,
8011
+ "charging-station-outlined": 59247,
8012
+ "chat-bubble-outlined": 59248,
8013
+ "chat-unread-outlined": 59249,
8057
8014
  checkmark: checkmark,
8058
- "circle-add-outlined": 59250,
8059
- "circle-cancel-outlined": 59251,
8060
- "circle-down-outlined": 59252,
8061
- "circle-info-outlined": 59253,
8062
- "circle-left-outlined": 59254,
8063
- "circle-ok-outlined": 59255,
8064
- "circle-question-outlined": 59256,
8065
- "circle-remove-outlined": 59257,
8066
- "circle-right-outlined": 59258,
8067
- "circle-up-outlined": 59259,
8068
- "circle-warning-outlined": 59260,
8069
- "clock-2-outlined": 59261,
8070
- "clock-in-outlined": 59262,
8071
- "clock-out-outlined": 59263,
8072
- "clock-outlined": 59264,
8073
- "cog-outlined": 59265,
8074
- "coin-outlined": 59266,
8075
- "coin-super-outlined": 59267,
8076
- "comment-outlined": 59268,
8077
- "contacts-outlined": 59269,
8078
- "contacts-user-outlined": 59270,
8079
- "credit-card-outlined": 59271,
8080
- "cultural-site-outlined": 59272,
8081
- "cup-outlined": 59273,
8082
- "dentistry-outlined": 59274,
8083
- "direction-arrows-outlined": 59275,
8084
- "directory-outlined": 59276,
8085
- "document-outlined": 59277,
8086
- "dollar-box-outlined": 59278,
8087
- "dollar-card-outlined": 59279,
8088
- "dollar-coin-shine-outlined": 59280,
8089
- "dollar-credit-card-outlined": 59281,
8090
- "dollar-sign": 59282,
8091
- "double-buildings-outlined": 59283,
8092
- "double-left-arrows": 59284,
8093
- "double-right-arrows": 59285,
8094
- "download-box-outlined": 59286,
8095
- "download-outlined": 59287,
8096
- "edit-template-outlined": 59288,
8097
- "electronics-outlined": 59289,
8098
- "email-outlined": 59290,
8099
- "end-break-outlined": 59291,
8100
- "enter-arrow": 59292,
8101
- "entertainment-outlined": 59293,
8102
- "envelope-outlined": 59294,
8103
- "evening-outlined": 59295,
8104
- "expense-approval-outlined": 59296,
8105
- "expense-outlined": 59297,
8106
- "explore-outlined": 59298,
8107
- "extension-outlined": 59299,
8108
- "external-link": 59300,
8109
- "eye-invisible-outlined": 59301,
8110
- "eye-outlined": 59302,
8111
- "face-id": 59303,
8112
- "face-meh-outlined": 59304,
8113
- "face-open-smiley-outlined": 59305,
8114
- "face-sad-outlined": 59306,
8115
- "face-smiley-outlined": 59307,
8116
- "fastfood-outlined": 59308,
8117
- "feed-outlined": 59309,
8118
- "file-certified-outlined": 59310,
8119
- "file-clone-outlined": 59311,
8120
- "file-copy-outlined": 59312,
8121
- "file-dispose-outlined": 59313,
8122
- "file-dollar-certified-outlined": 59314,
8123
- "file-dollar-outlined": 59315,
8124
- "file-download-outlined": 59316,
8125
- "file-export-outlined": 59317,
8126
- "file-lock-outlined": 59318,
8127
- "file-outlined": 59319,
8128
- "file-search-outlined": 59320,
8129
- "file-secured-outlined": 59321,
8130
- "file-statutory-outlined": 59322,
8131
- "file-verified-outlined": 59323,
8132
- "filter-outlined": 59324,
8133
- "fitness-outlined": 59325,
8134
- "folder-outlined": 59326,
8135
- "folder-upload-outlined": 59327,
8136
- "folder-user-outlined": 59328,
8137
- "form-outlined": 59329,
8138
- "funnel-filter-outline": 59330,
8139
- "goal-outlined": 59331,
8140
- "graph-outlined": 59332,
8141
- "grocery-outlined": 59333,
8142
- "hand-holding-user-outlined": 59334,
8143
- "handshake-outlined": 59335,
8144
- "happy-sun-outlined": 59336,
8145
- "health-bag-outlined": 59337,
8146
- "heart-outlined": 59338,
8147
- "home-active-outlined": 59339,
8148
- "home-outlined": 59340,
8149
- "id-card-outlined": 59341,
8150
- "image-outlined": 59342,
8151
- "import-outlined": 59343,
8152
- "instapay-outlined": 59344,
8015
+ "circle-add-outlined": 59251,
8016
+ "circle-cancel-outlined": 59252,
8017
+ "circle-down-outlined": 59253,
8018
+ "circle-info-outlined": 59254,
8019
+ "circle-left-outlined": 59255,
8020
+ "circle-ok-outlined": 59256,
8021
+ "circle-question-outlined": 59257,
8022
+ "circle-remove-outlined": 59258,
8023
+ "circle-right-outlined": 59259,
8024
+ "circle-up-outlined": 59260,
8025
+ "circle-warning-outlined": 59261,
8026
+ "clock-2-outlined": 59262,
8027
+ "clock-in-outlined": 59263,
8028
+ "clock-out-outlined": 59264,
8029
+ "clock-outlined": 59265,
8030
+ "cog-outlined": 59266,
8031
+ "coin-outlined": 59267,
8032
+ "coin-super-outlined": 59268,
8033
+ "comment-outlined": 59269,
8034
+ "contacts-outlined": 59270,
8035
+ "contacts-user-outlined": 59271,
8036
+ "credit-card-outlined": 59272,
8037
+ "cultural-site-outlined": 59273,
8038
+ "cup-outlined": 59274,
8039
+ "dentistry-outlined": 59275,
8040
+ "direction-arrows-outlined": 59276,
8041
+ "directory-outlined": 59277,
8042
+ "document-outlined": 59278,
8043
+ "dollar-box-outlined": 59279,
8044
+ "dollar-card-outlined": 59280,
8045
+ "dollar-coin-shine-outlined": 59281,
8046
+ "dollar-credit-card-outlined": 59282,
8047
+ "dollar-sign": 59283,
8048
+ "double-buildings-outlined": 59284,
8049
+ "double-left-arrows": 59285,
8050
+ "double-right-arrows": 59286,
8051
+ "download-box-outlined": 59287,
8052
+ "download-outlined": 59288,
8053
+ "edit-template-outlined": 59289,
8054
+ "electronics-outlined": 59290,
8055
+ "email-outlined": 59291,
8056
+ "end-break-outlined": 59292,
8057
+ "enter-arrow": 59293,
8058
+ "entertainment-outlined": 59294,
8059
+ "envelope-outlined": 59295,
8060
+ "evening-outlined": 59296,
8061
+ "expense-approval-outlined": 59297,
8062
+ "expense-outlined": 59298,
8063
+ "explore-outlined": 59299,
8064
+ "extension-outlined": 59300,
8065
+ "external-link": 59301,
8066
+ "eye-invisible-outlined": 59302,
8067
+ "eye-outlined": 59303,
8068
+ "face-id": 59304,
8069
+ "face-meh-outlined": 59305,
8070
+ "face-open-smiley-outlined": 59306,
8071
+ "face-sad-outlined": 59307,
8072
+ "face-smiley-outlined": 59308,
8073
+ "fastfood-outlined": 59309,
8074
+ "feed-outlined": 59310,
8075
+ "file-certified-outlined": 59311,
8076
+ "file-clone-outlined": 59312,
8077
+ "file-copy-outlined": 59313,
8078
+ "file-dispose-outlined": 59314,
8079
+ "file-dollar-certified-outlined": 59315,
8080
+ "file-dollar-outlined": 59316,
8081
+ "file-download-outlined": 59317,
8082
+ "file-export-outlined": 59318,
8083
+ "file-lock-outlined": 59319,
8084
+ "file-outlined": 59320,
8085
+ "file-search-outlined": 59321,
8086
+ "file-secured-outlined": 59322,
8087
+ "file-statutory-outlined": 59323,
8088
+ "file-verified-outlined": 59324,
8089
+ "filter-outlined": 59325,
8090
+ "fitness-outlined": 59326,
8091
+ "folder-outlined": 59327,
8092
+ "folder-upload-outlined": 59328,
8093
+ "folder-user-outlined": 59329,
8094
+ "form-outlined": 59330,
8095
+ "funnel-filter-outline": 59331,
8096
+ "goal-outlined": 59332,
8097
+ "graph-outlined": 59333,
8098
+ "grocery-outlined": 59334,
8099
+ "hand-holding-user-outlined": 59335,
8100
+ "handshake-outlined": 59336,
8101
+ "happy-sun-outlined": 59337,
8102
+ "health-bag-outlined": 59338,
8103
+ "heart-outlined": 59339,
8104
+ "home-active-outlined": 59340,
8105
+ "home-outlined": 59341,
8106
+ "id-card-outlined": 59342,
8107
+ "image-outlined": 59343,
8108
+ "import-outlined": 59344,
8109
+ "instapay-outlined": 59345,
8153
8110
  italic: italic,
8154
- "job-search-outlined": 59346,
8155
- "leave-approval-outlined": 59347,
8156
- "link-1": 59348,
8157
- "link-2": 59349,
8158
- "list-outlined": 59350,
8159
- "live-help-outlined": 59351,
8111
+ "job-search-outlined": 59347,
8112
+ "leave-approval-outlined": 59348,
8113
+ "link-1": 59349,
8114
+ "link-2": 59350,
8115
+ "list-outlined": 59351,
8116
+ "live-help-outlined": 59352,
8160
8117
  local_mall_outlined: local_mall_outlined,
8161
- "location-on-outlined": 59353,
8162
- "location-outlined": 59354,
8163
- "lock-outlined": 59355,
8164
- "locked-file-outlined": 59356,
8165
- "log-out": 59357,
8166
- "mail-outlined": 59358,
8167
- "map-outlined": 59359,
8168
- "media-content-outlined": 59360,
8169
- "menu-close": 59361,
8170
- "menu-expand": 59362,
8171
- "menu-fold-outlined": 59363,
8172
- "menu-unfold-outlined": 59364,
8173
- "moneybag-outlined": 59365,
8174
- "moon-outlined": 59366,
8175
- "more-horizontal": 59367,
8176
- "more-vertical": 59368,
8177
- "morning-outlined": 59369,
8178
- "multiple-folders-outlined": 59370,
8179
- "multiple-users-outlined": 59371,
8180
- "near-me-outlined": 59372,
8181
- "node-outlined": 59373,
8182
- "number-points": 59374,
8118
+ "location-on-outlined": 59354,
8119
+ "location-outlined": 59355,
8120
+ "lock-outlined": 59356,
8121
+ "locked-file-outlined": 59357,
8122
+ "log-out": 59358,
8123
+ "mail-outlined": 59359,
8124
+ "map-outlined": 59360,
8125
+ "media-content-outlined": 59361,
8126
+ "menu-close": 59362,
8127
+ "menu-expand": 59363,
8128
+ "menu-fold-outlined": 59364,
8129
+ "menu-unfold-outlined": 59365,
8130
+ "moneybag-outlined": 59366,
8131
+ "moon-outlined": 59367,
8132
+ "more-horizontal": 59368,
8133
+ "more-vertical": 59369,
8134
+ "morning-outlined": 59370,
8135
+ "multiple-folders-outlined": 59371,
8136
+ "multiple-users-outlined": 59372,
8137
+ "near-me-outlined": 59373,
8138
+ "node-outlined": 59374,
8139
+ "number-points": 59375,
8183
8140
  number: number,
8184
- "overview-outlined": 59376,
8185
- "park-outlined": 59377,
8186
- "payment-summary-outlined": 59378,
8187
- "payslip-outlined": 59379,
8188
- "pencil-outlined": 59380,
8141
+ "overview-outlined": 59377,
8142
+ "park-outlined": 59378,
8143
+ "payment-summary-outlined": 59379,
8144
+ "payslip-outlined": 59380,
8145
+ "pencil-outlined": 59381,
8189
8146
  percentage: percentage,
8190
- "phone-outlined": 59382,
8191
- "piggy-bank-outlined": 59383,
8192
- "plane-outlined": 59384,
8193
- "play-circle-outlined": 59385,
8194
- "print-outlined": 59386,
8195
- "propane-tank-outlined": 59387,
8196
- "qr-code-outlined": 59388,
8197
- "qualification-outlined": 59389,
8198
- "re-assign": 59390,
8147
+ "phone-outlined": 59383,
8148
+ "piggy-bank-outlined": 59384,
8149
+ "plane-outlined": 59385,
8150
+ "play-circle-outlined": 59386,
8151
+ "print-outlined": 59387,
8152
+ "propane-tank-outlined": 59388,
8153
+ "qr-code-outlined": 59389,
8154
+ "qualification-outlined": 59390,
8155
+ "re-assign": 59391,
8199
8156
  redeem: redeem,
8200
8157
  refresh: refresh,
8201
8158
  remove: remove,
8202
- "reply-outlined": 59394,
8159
+ "reply-outlined": 59395,
8203
8160
  restart: restart,
8204
- "restaurant-outlined": 59396,
8205
- "resume-outlined": 59397,
8206
- "return-arrow": 59398,
8207
- "rostering-outlined": 59399,
8208
- "safety-outlined": 59400,
8209
- "save-outlined": 59401,
8210
- "schedule-outlined": 59402,
8211
- "search-outlined": 59403,
8212
- "search-secured-outlined": 59404,
8213
- "send-outlined": 59405,
8214
- "share-1": 59406,
8215
- "share-2": 59407,
8216
- "share-outlined-2": 59408,
8217
- "share-outlined": 59409,
8218
- "shop-outlined": 59410,
8161
+ "restaurant-outlined": 59397,
8162
+ "resume-outlined": 59398,
8163
+ "return-arrow": 59399,
8164
+ "rostering-outlined": 59400,
8165
+ "safety-outlined": 59401,
8166
+ "save-outlined": 59402,
8167
+ "schedule-outlined": 59403,
8168
+ "search-outlined": 59404,
8169
+ "search-secured-outlined": 59405,
8170
+ "send-outlined": 59406,
8171
+ "share-1": 59407,
8172
+ "share-2": 59408,
8173
+ "share-outlined-2": 59409,
8174
+ "share-outlined": 59410,
8175
+ "shop-outlined": 59411,
8219
8176
  shopping_basket_outlined: shopping_basket_outlined,
8220
- "show-chart-outlined": 59412,
8221
- "single-down-arrow": 59413,
8222
- "single-left-arrow": 59414,
8223
- "single-right-arrow": 59415,
8224
- "single-up-arrow": 59416,
8225
- "smart-match-outlined": 59417,
8226
- "sparkle-outlined": 59418,
8227
- "speaker-active-outlined": 59419,
8228
- "speaker-outlined": 59420,
8229
- "star-circle-outlined": 59421,
8230
- "star-outlined": 59422,
8231
- "start-break-outlined": 59423,
8232
- "stash-outlined": 59424,
8233
- "stopwatch-outlined": 59425,
8177
+ "show-chart-outlined": 59413,
8178
+ "single-down-arrow": 59414,
8179
+ "single-left-arrow": 59415,
8180
+ "single-right-arrow": 59416,
8181
+ "single-up-arrow": 59417,
8182
+ "smart-match-outlined": 59418,
8183
+ "sparkle-outlined": 59419,
8184
+ "speaker-active-outlined": 59420,
8185
+ "speaker-outlined": 59421,
8186
+ "star-circle-outlined": 59422,
8187
+ "star-outlined": 59423,
8188
+ "start-break-outlined": 59424,
8189
+ "stash-outlined": 59425,
8190
+ "stopwatch-outlined": 59426,
8234
8191
  strikethrough: strikethrough,
8235
- "styler-outlined": 59427,
8236
- "suitcase-clock-outlined": 59428,
8237
- "suitcase-outlined": 59429,
8238
- "survey-outlined": 59430,
8239
- "switch-outlined": 59431,
8192
+ "styler-outlined": 59428,
8193
+ "suitcase-clock-outlined": 59429,
8194
+ "suitcase-outlined": 59430,
8195
+ "survey-outlined": 59431,
8196
+ "switch-outlined": 59432,
8240
8197
  sync: sync,
8241
- "tag-outlined": 59433,
8242
- "target-outlined": 59434,
8243
- "tennis-outlined": 59435,
8244
- "thumb-down-outlined": 59436,
8245
- "ticket-outlined": 59437,
8246
- "timesheet-outlined": 59438,
8247
- "timesheets-outlined": 59439,
8248
- "today-outlined": 59440,
8198
+ "tag-outlined": 59434,
8199
+ "target-outlined": 59435,
8200
+ "tennis-outlined": 59436,
8201
+ "thumb-down-outlined": 59437,
8202
+ "ticket-outlined": 59438,
8203
+ "timesheet-outlined": 59439,
8204
+ "timesheets-outlined": 59440,
8205
+ "today-outlined": 59441,
8249
8206
  transfer: transfer,
8250
- "transportation-outlined": 59442,
8251
- "trash-bin-outlined": 59443,
8252
- "umbrela-outlined": 59444,
8253
- "unavailability-outlined": 59445,
8207
+ "transportation-outlined": 59443,
8208
+ "trash-bin-outlined": 59444,
8209
+ "umbrela-outlined": 59445,
8210
+ "unavailability-outlined": 59446,
8254
8211
  unavailable: unavailable,
8255
8212
  underline: underline,
8256
- "union-outlined": 59448,
8257
- "unlock-outlined": 59449,
8258
- "upload-outlined": 59450,
8259
- "user-circle-outlined": 59451,
8260
- "user-gear-outlined": 59452,
8261
- "user-outlined": 59453,
8262
- "user-rectangle-outlined": 59454,
8263
- "video-1-outlined": 59455,
8264
- "video-2-outlined": 59456,
8265
- "volunteer-outlined": 59457,
8266
- "wallet-outlined": 59458,
8267
- "wellness-outlined": 59459
8213
+ "union-outlined": 59449,
8214
+ "unlock-outlined": 59450,
8215
+ "upload-outlined": 59451,
8216
+ "user-circle-outlined": 59452,
8217
+ "user-gear-outlined": 59453,
8218
+ "user-outlined": 59454,
8219
+ "user-rectangle-outlined": 59455,
8220
+ "video-1-outlined": 59456,
8221
+ "video-2-outlined": 59457,
8222
+ "volunteer-outlined": 59458,
8223
+ "wallet-outlined": 59459,
8224
+ "wellness-outlined": 59460
8268
8225
  };
8269
8226
 
8270
8227
  var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -9094,6 +9051,17 @@ function omit(keys, obj) {
9094
9051
  });
9095
9052
  return result;
9096
9053
  }
9054
+ function hexToRgba(hex, a) {
9055
+ var arrBuff = new ArrayBuffer(4);
9056
+ var vw = new DataView(arrBuff);
9057
+ vw.setUint32(0, parseInt(hex, 16), false);
9058
+ var arrByte = new Uint8Array(arrBuff);
9059
+ var _arrByte = _slicedToArray(arrByte, 3),
9060
+ r = _arrByte[0],
9061
+ g = _arrByte[1],
9062
+ b = _arrByte[2];
9063
+ return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
9064
+ }
9097
9065
 
9098
9066
  var colors = {
9099
9067
  backgroundColor: {
@@ -10212,15 +10180,22 @@ var StyledButtonText = index$a(Typography.Title)(function (_ref3) {
10212
10180
  };
10213
10181
  return _objectSpread2({
10214
10182
  flexShrink: 1,
10215
- textAlign: 'center'
10183
+ textAlign: 'center',
10184
+ textAlignVertical: 'center',
10185
+ lineHeight: theme.__hd__.button.lineHeights.buttonText
10216
10186
  }, themeStyling());
10217
10187
  });
10218
- var StyledSmallButtonText = StyledButtonText.withComponent(Typography.Body);
10219
- var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref4) {
10220
- var disabled = _ref4.disabled,
10221
- themeButtonVariant = _ref4.themeButtonVariant,
10222
- themeIsPressed = _ref4.themeIsPressed,
10223
- theme = _ref4.theme;
10188
+ var StyledSmallButtonText = index$a(StyledButtonText.withComponent(Typography.Body))(function (_ref4) {
10189
+ var theme = _ref4.theme;
10190
+ return {
10191
+ lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
10192
+ };
10193
+ });
10194
+ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref5) {
10195
+ var disabled = _ref5.disabled,
10196
+ themeButtonVariant = _ref5.themeButtonVariant,
10197
+ themeIsPressed = _ref5.themeIsPressed,
10198
+ theme = _ref5.theme;
10224
10199
  var themeStyling = function themeStyling() {
10225
10200
  switch (themeButtonVariant) {
10226
10201
  case 'text-primary':
@@ -10240,14 +10215,14 @@ var StyledButtonTitleOfVariantText = index$a(Typography.Body)(function (_ref4) {
10240
10215
  return _objectSpread2({
10241
10216
  flexShrink: 1,
10242
10217
  lineHeight: theme.__hd__.button.lineHeights.titleOfTextVariant,
10243
- // align text on Android
10244
- textAlign: 'center'
10218
+ textAlign: 'center',
10219
+ textAlignVertical: 'center'
10245
10220
  }, themeStyling());
10246
10221
  });
10247
- var StyledButtonIconWrapper = index$a(View)(function (_ref5) {
10248
- var themePosition = _ref5.themePosition,
10249
- theme = _ref5.theme,
10250
- themeIsCompact = _ref5.themeIsCompact;
10222
+ var StyledButtonIconWrapper = index$a(View)(function (_ref6) {
10223
+ var themePosition = _ref6.themePosition,
10224
+ theme = _ref6.theme,
10225
+ themeIsCompact = _ref6.themeIsCompact;
10251
10226
  switch (themePosition) {
10252
10227
  case 'left':
10253
10228
  return {
@@ -10259,12 +10234,12 @@ var StyledButtonIconWrapper = index$a(View)(function (_ref5) {
10259
10234
  };
10260
10235
  }
10261
10236
  });
10262
- var StyledButtonIcon = index$a(Icon)(function (_ref6) {
10263
- var disabled = _ref6.disabled,
10264
- themeButtonVariant = _ref6.themeButtonVariant,
10265
- themeIsPressed = _ref6.themeIsPressed,
10266
- theme = _ref6.theme,
10267
- themeIsCompact = _ref6.themeIsCompact;
10237
+ var StyledButtonIcon = index$a(Icon)(function (_ref7) {
10238
+ var disabled = _ref7.disabled,
10239
+ themeButtonVariant = _ref7.themeButtonVariant,
10240
+ themeIsPressed = _ref7.themeIsPressed,
10241
+ theme = _ref7.theme,
10242
+ themeIsCompact = _ref7.themeIsCompact;
10268
10243
  var themeStyling = function themeStyling() {
10269
10244
  switch (themeButtonVariant) {
10270
10245
  case 'filled-primary':
@@ -10505,9 +10480,14 @@ var IconWrapper = index$a(View)(function (_ref2) {
10505
10480
  paddingRight: theme.__hd__.button.space["default"].iconPadding
10506
10481
  };
10507
10482
  });
10508
- var ButtonText = index$a(Typography.Body)({
10509
- flexShrink: 1,
10510
- textAlign: 'center'
10483
+ var ButtonText = index$a(Typography.Body)(function (_ref3) {
10484
+ var theme = _ref3.theme;
10485
+ return {
10486
+ flexShrink: 1,
10487
+ textAlign: 'center',
10488
+ textAlignVertical: 'center',
10489
+ lineHeight: theme.__hd__.button.lineHeights.utilityButtonText
10490
+ };
10511
10491
  });
10512
10492
 
10513
10493
  var TEXT_INTENTS = {
@@ -13204,11 +13184,11 @@ var setStartOrEndDate = function setStartOrEndDate(_ref2) {
13204
13184
  var date = _ref2.date,
13205
13185
  startDate = _ref2.startDate,
13206
13186
  endDate = _ref2.endDate;
13207
- // Prevent selecting same date when both dates are set
13187
+ // If both dates are set, selecting start or end date will set the same date
13208
13188
  if (startDate && endDate && (isEqDate(date, startDate) || isEqDate(date, endDate))) {
13209
13189
  return {
13210
- startDate: startDate,
13211
- endDate: endDate
13190
+ startDate: date,
13191
+ endDate: date
13212
13192
  };
13213
13193
  }
13214
13194
  // No start date yet - set as start
@@ -13235,13 +13215,10 @@ var setStartOrEndDate = function setStartOrEndDate(_ref2) {
13235
13215
  endDate: undefined
13236
13216
  };
13237
13217
  }
13238
- // Clicking outside range - extend range
13239
- return date < startDate ? {
13218
+ // Clicking outside range - reset range
13219
+ return {
13240
13220
  startDate: date,
13241
- endDate: endDate
13242
- } : {
13243
- startDate: startDate,
13244
- endDate: date
13221
+ endDate: undefined
13245
13222
  };
13246
13223
  };
13247
13224
 
@@ -17172,17 +17149,6 @@ var StyledBadgeIcon = index$a(Icon)(function (_ref6) {
17172
17149
  color: theme.__hd__.mapPin.colors.badgeIcon
17173
17150
  };
17174
17151
  });
17175
- function hexToRgba(hex, a) {
17176
- var arrBuff = new ArrayBuffer(4);
17177
- var vw = new DataView(arrBuff);
17178
- vw.setUint32(0, parseInt(hex, 16), false);
17179
- var arrByte = new Uint8Array(arrBuff);
17180
- var _arrByte = _slicedToArray(arrByte, 3),
17181
- r = _arrByte[0],
17182
- g = _arrByte[1],
17183
- b = _arrByte[2];
17184
- return "rgba(".concat(r, ",").concat(g, ",").concat(b, ",").concat(a, ")");
17185
- }
17186
17152
  var StyledFocusIcon = index$a(Icon)(function (_ref7) {
17187
17153
  var theme = _ref7.theme;
17188
17154
  return {
@@ -17679,21 +17645,6 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
17679
17645
  });
17680
17646
  PinInput.displayName = 'PinInput';
17681
17647
 
17682
- var THEME_INTENT_MAP = {
17683
- primary: 'primary',
17684
- success: 'success',
17685
- warning: 'warning',
17686
- danger: 'danger',
17687
- info: 'info',
17688
- archived: 'archived',
17689
- 'primary-inverted': 'primaryInverted',
17690
- 'success-inverted': 'successInverted',
17691
- 'warning-inverted': 'warningInverted',
17692
- 'danger-inverted': 'dangerInverted',
17693
- 'info-inverted': 'infoInverted',
17694
- 'archived-inverted': 'archivedInverted'
17695
- };
17696
-
17697
17648
  var StyledContainer$2 = index$a(View)(function (_ref) {
17698
17649
  var theme = _ref.theme;
17699
17650
  return {
@@ -17701,38 +17652,8 @@ var StyledContainer$2 = index$a(View)(function (_ref) {
17701
17652
  borderRadius: theme.__hd__.progress.radii["default"]
17702
17653
  };
17703
17654
  });
17704
- var StyledHalfCircleWrapper = index$a(View)(function (_ref2) {
17655
+ var StyledDonutCircle = index$a(View)(function (_ref2) {
17705
17656
  var theme = _ref2.theme;
17706
- return {
17707
- width: theme.__hd__.progress.sizes.circleDiameter / 2,
17708
- height: theme.__hd__.progress.sizes.circleDiameter,
17709
- overflow: 'hidden'
17710
- };
17711
- });
17712
- var StyledHalfCircleInnerFG = index$a(View)(function (_ref3) {
17713
- var theme = _ref3.theme,
17714
- themeIntent = _ref3.themeIntent;
17715
- return {
17716
- width: theme.__hd__.progress.sizes.circleDiameter,
17717
- height: theme.__hd__.progress.sizes.circleDiameter,
17718
- borderRadius: theme.__hd__.progress.radii["default"],
17719
- borderColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
17720
- borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight
17721
- };
17722
- });
17723
- var StyledHalfCircleInnerBG = index$a(View)(function (_ref4) {
17724
- var theme = _ref4.theme,
17725
- themeIntent = _ref4.themeIntent;
17726
- return {
17727
- width: theme.__hd__.progress.sizes.circleDiameter,
17728
- height: theme.__hd__.progress.sizes.circleDiameter,
17729
- borderRadius: theme.__hd__.progress.radii["default"],
17730
- borderWidth: theme.__hd__.progress.sizes.circleCompletenessHeight,
17731
- borderColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]]
17732
- };
17733
- });
17734
- var StyledDonutCircle = index$a(View)(function (_ref5) {
17735
- var theme = _ref5.theme;
17736
17657
  return {
17737
17658
  position: 'absolute',
17738
17659
  top: theme.__hd__.progress.sizes.circleCompletenessHeight,
@@ -17745,136 +17666,83 @@ var StyledDonutCircle = index$a(View)(function (_ref5) {
17745
17666
  justifyContent: 'center'
17746
17667
  };
17747
17668
  });
17748
- var StyledStrokeEnd = index$a(View)(function (_ref6) {
17749
- var theme = _ref6.theme,
17750
- themeIntent = _ref6.themeIntent;
17751
- return {
17752
- position: 'absolute',
17753
- top: 0,
17754
- left: (theme.__hd__.progress.sizes.circleDiameter - theme.__hd__.progress.sizes.circleCompletenessHeight) / 2,
17755
- width: theme.__hd__.progress.sizes.circleCompletenessHeight,
17756
- height: theme.__hd__.progress.sizes.circleCompletenessHeight,
17757
- borderRadius: theme.__hd__.progress.radii["default"],
17758
- backgroundColor: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[themeIntent]],
17759
- zIndex: 2
17760
- };
17761
- });
17762
17669
 
17763
- var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
17764
- var HalfCircle = function HalfCircle(_ref) {
17765
- var type = _ref.type,
17766
- themeIntent = _ref.themeIntent;
17767
- return /*#__PURE__*/React__default.createElement(StyledHalfCircleWrapper, null, type === 'background' ? /*#__PURE__*/React__default.createElement(StyledHalfCircleInnerBG, {
17768
- themeIntent: themeIntent
17769
- }) : /*#__PURE__*/React__default.createElement(StyledHalfCircleInnerFG, {
17770
- themeIntent: themeIntent
17771
- }));
17670
+ var THEME_INTENT_MAP = {
17671
+ primary: 'primary',
17672
+ success: 'success',
17673
+ warning: 'warning',
17674
+ danger: 'danger',
17675
+ info: 'info',
17676
+ archived: 'archived',
17677
+ 'primary-inverted': 'primaryInverted',
17678
+ 'success-inverted': 'successInverted',
17679
+ 'warning-inverted': 'warningInverted',
17680
+ 'danger-inverted': 'dangerInverted',
17681
+ 'info-inverted': 'infoInverted',
17682
+ 'archived-inverted': 'archivedInverted'
17772
17683
  };
17684
+
17685
+ var _excluded$j = ["value", "renderValue", "intent", "style", "testID"];
17773
17686
  var defaultRenderValue = function defaultRenderValue(value) {
17774
17687
  return "".concat(value, "%");
17775
17688
  };
17776
- var ProgressCircle = function ProgressCircle(_ref2) {
17777
- var value = _ref2.value,
17778
- _ref2$renderValue = _ref2.renderValue,
17779
- renderValue = _ref2$renderValue === void 0 ? defaultRenderValue : _ref2$renderValue,
17780
- _ref2$intent = _ref2.intent,
17781
- intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
17782
- style = _ref2.style,
17783
- testID = _ref2.testID,
17784
- nativeProps = _objectWithoutProperties(_ref2, _excluded$j);
17689
+ var AnimatedCircle = Animated.createAnimatedComponent(Circle$1);
17690
+ var ProgressCircle = function ProgressCircle(_ref) {
17691
+ var value = _ref.value,
17692
+ _ref$renderValue = _ref.renderValue,
17693
+ renderValue = _ref$renderValue === void 0 ? defaultRenderValue : _ref$renderValue,
17694
+ _ref$intent = _ref.intent,
17695
+ intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
17696
+ style = _ref.style,
17697
+ testID = _ref.testID,
17698
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
17785
17699
  var theme = useTheme$1();
17786
- var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
17787
- var progressAnimatedValue = useRef(new Animated.Value(0));
17700
+ var size = theme.__hd__.progress.sizes.circleDiameter;
17701
+ var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
17702
+ var radius = size / 2 - strokeWidth;
17703
+ var circumference = 2 * Math.PI * radius;
17704
+ var progressAnimatedValue = useRef(new Animated.Value(0)).current;
17705
+ var minArc = strokeWidth / 2 / Math.PI; // Minimum arc length
17788
17706
  useEffect(function () {
17789
- var animation = Animated.timing(progressAnimatedValue.current, {
17707
+ Animated.timing(progressAnimatedValue, {
17790
17708
  toValue: value,
17791
- useNativeDriver: true
17792
- });
17793
- animation.start();
17794
- return function () {
17795
- return animation.stop();
17796
- };
17709
+ useNativeDriver: true,
17710
+ easing: Easing.inOut(Easing.ease)
17711
+ }).start();
17797
17712
  }, [value]);
17798
- // Animate progress circle: 0% => 50%
17799
- var interpolateRotateRightHalf = progressAnimatedValue.current.interpolate({
17800
- inputRange: [0, 50],
17801
- outputRange: ['0deg', '180deg'],
17802
- extrapolate: 'clamp'
17803
- });
17804
- var interpolateOpacityRightHalf = progressAnimatedValue.current.interpolate({
17805
- inputRange: [50, 51],
17806
- // Transition between left and right half
17807
- outputRange: [1, 0],
17808
- extrapolate: 'clamp'
17809
- });
17810
- // Animate progress circle: 50% => 100%
17811
- var interpolateRotateSecondHalf = progressAnimatedValue.current.interpolate({
17812
- inputRange: [50, 100],
17813
- outputRange: ['0deg', '180deg'],
17814
- extrapolate: 'clamp'
17815
- });
17816
- // Curve at the end of progress stroke
17817
- var interpolateDotRotate = progressAnimatedValue.current.interpolate({
17713
+ var strokeDashoffset = progressAnimatedValue.interpolate({
17818
17714
  inputRange: [0, 100],
17819
- outputRange: ['0deg', '360deg'],
17820
- extrapolate: 'clamp'
17715
+ outputRange: [circumference - minArc, 0] // Full circle to zero offset
17821
17716
  });
17717
+
17822
17718
  return /*#__PURE__*/React__default.createElement(View, _extends$1({}, nativeProps, {
17823
17719
  testID: testID,
17824
17720
  style: style
17825
- }), /*#__PURE__*/React__default.createElement(StyledContainer$2, null, /*#__PURE__*/React__default.createElement(View, null, /*#__PURE__*/React__default.createElement(HalfCircle, {
17826
- type: "foreground",
17827
- themeIntent: intent
17828
- }), /*#__PURE__*/React__default.createElement(Animated.View, {
17829
- style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
17830
- transform: [{
17831
- translateX: radius / 2
17832
- }, {
17833
- rotate: interpolateRotateSecondHalf
17834
- }, {
17835
- translateX: -radius / 2
17836
- }]
17837
- })
17838
- }, /*#__PURE__*/React__default.createElement(HalfCircle, {
17839
- type: "background",
17840
- themeIntent: intent
17841
- }))), /*#__PURE__*/React__default.createElement(View, {
17842
- style: {
17843
- transform: [{
17844
- rotate: '180deg'
17845
- }],
17846
- zIndex: 1,
17847
- marginLeft: -0.1
17848
- }
17849
- }, /*#__PURE__*/React__default.createElement(HalfCircle, {
17850
- type: "foreground",
17851
- themeIntent: intent
17852
- }), /*#__PURE__*/React__default.createElement(Animated.View, {
17853
- style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
17854
- transform: [{
17855
- translateX: radius / 2
17856
- }, {
17857
- rotate: interpolateRotateRightHalf
17858
- }, {
17859
- translateX: -radius / 2
17860
- }],
17861
- opacity: interpolateOpacityRightHalf
17862
- })
17863
- }, /*#__PURE__*/React__default.createElement(HalfCircle, {
17864
- type: "background",
17865
- themeIntent: intent
17866
- }))), /*#__PURE__*/React__default.createElement(StyledStrokeEnd, {
17867
- themeIntent: intent
17868
- }), /*#__PURE__*/React__default.createElement(Animated.View, {
17869
- style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
17870
- zIndex: 2,
17871
- transform: [{
17872
- rotate: interpolateDotRotate
17873
- }]
17874
- })
17875
- }, /*#__PURE__*/React__default.createElement(StyledStrokeEnd, {
17876
- themeIntent: intent
17877
- })), /*#__PURE__*/React__default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__default.createElement(Typography.Body, null, renderValue(value)))));
17721
+ }), /*#__PURE__*/React__default.createElement(StyledContainer$2, null, /*#__PURE__*/React__default.createElement(Svg, {
17722
+ width: size,
17723
+ height: size,
17724
+ viewBox: "0 0 ".concat(size, " ").concat(size)
17725
+ }, /*#__PURE__*/React__default.createElement(G, {
17726
+ rotation: "-90",
17727
+ origin: "".concat(size / 2, ", ").concat(size / 2)
17728
+ }, /*#__PURE__*/React__default.createElement(Circle$1, {
17729
+ cx: size / 2,
17730
+ cy: size / 2,
17731
+ r: radius,
17732
+ stroke: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[intent]], 0.1),
17733
+ strokeWidth: strokeWidth,
17734
+ fill: "transparent"
17735
+ }), /*#__PURE__*/React__default.createElement(AnimatedCircle, {
17736
+ cx: size / 2,
17737
+ cy: size / 2,
17738
+ r: radius,
17739
+ stroke: theme.__hd__.progress.colors.completeness[THEME_INTENT_MAP[intent]],
17740
+ strokeWidth: strokeWidth,
17741
+ fill: "transparent",
17742
+ strokeDasharray: circumference,
17743
+ strokeDashoffset: strokeDashoffset,
17744
+ strokeLinecap: "round"
17745
+ }))), /*#__PURE__*/React__default.createElement(StyledDonutCircle, null, /*#__PURE__*/React__default.createElement(Typography.Body, null, renderValue(value)))));
17878
17746
  };
17879
17747
 
17880
17748
  var StyledWrapper$5 = index$a(View)(function (_ref) {
@@ -17883,7 +17751,7 @@ var StyledWrapper$5 = index$a(View)(function (_ref) {
17883
17751
  return {
17884
17752
  height: theme.__hd__.progress.sizes.barHeight,
17885
17753
  alignSelf: 'stretch',
17886
- backgroundColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]],
17754
+ backgroundColor: hexToRgba(theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]], 0.1),
17887
17755
  overflow: 'hidden',
17888
17756
  borderRadius: theme.__hd__.progress.radii["default"]
17889
17757
  };
@@ -17974,7 +17842,7 @@ var StyledSingleStepContainer = index$a(Box)(function (_ref2) {
17974
17842
  return {
17975
17843
  height: theme.__hd__.progress.sizes.stepHeight,
17976
17844
  borderRadius: theme.__hd__.progress.radii["default"],
17977
- backgroundColor: theme.__hd__.progress.colors.step.current,
17845
+ backgroundColor: theme.__hd__.progress.colors.step.incomplete,
17978
17846
  width: '100%',
17979
17847
  position: 'relative'
17980
17848
  };
@@ -19898,7 +19766,7 @@ var TabWithBadge = function TabWithBadge(_ref) {
19898
19766
  return /*#__PURE__*/React__default.createElement(StyledBadgeWrapper, null, tabItem, /*#__PURE__*/React__default.createElement(Badge$1, {
19899
19767
  content: config.value,
19900
19768
  max: config.max,
19901
- intent: "info",
19769
+ intent: "primary",
19902
19770
  style: {
19903
19771
  marginLeft: theme.space.xsmall
19904
19772
  }
@@ -20734,7 +20602,8 @@ var StyledInput$1 = index$a(TextInput$1)(function (_ref9) {
20734
20602
  alignSelf: 'stretch',
20735
20603
  flexGrow: 1,
20736
20604
  flexShrink: 1,
20737
- fontFamily: theme.__hd__.toolbar.fonts.text
20605
+ fontFamily: theme.__hd__.toolbar.fonts.text,
20606
+ color: theme.__hd__.toolbar.colors.text
20738
20607
  };
20739
20608
  });
20740
20609
  var StyledPrefix = index$a(View)(function (_ref10) {
@@ -20869,6 +20738,7 @@ var ToolbarMessage = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
20869
20738
  editable = _props$editable === void 0 ? true : _props$editable,
20870
20739
  textStyle = props.textStyle,
20871
20740
  nativeProps = _objectWithoutProperties(props, _excluded$8);
20741
+ var theme = useTheme();
20872
20742
  var innerTextInput = React__default.useRef();
20873
20743
  var displayText = (_ref2 = value !== undefined ? value : defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
20874
20744
  var isEmptyValue = displayText.length === 0;
@@ -20920,7 +20790,8 @@ var ToolbarMessage = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
20920
20790
  ref: function ref(rnTextInputRef) {
20921
20791
  innerTextInput.current = rnTextInputRef;
20922
20792
  },
20923
- style: textStyle
20793
+ style: textStyle,
20794
+ placeholderTextColor: theme.__hd__.toolbar.colors.placeholder
20924
20795
  }))), suffix && /*#__PURE__*/React__default.createElement(StyledSuffix, {
20925
20796
  testID: testID && "".concat(testID, "-suffix")
20926
20797
  }, suffix));
@@ -40224,24 +40095,19 @@ var StyledContainer = index$a(View)(function () {
40224
40095
  width: '100%'
40225
40096
  };
40226
40097
  });
40227
- var getBorderWidth = function getBorderWidth(theme, themeFocused, themeVariant) {
40228
- return themeFocused ? theme.__hd__.search.borderWidths.container[themeVariant].focused : theme.__hd__.search.borderWidths.container[themeVariant].normal;
40229
- };
40230
40098
  var StyledInputContainer = index$a(View)(function (_ref) {
40231
40099
  var theme = _ref.theme,
40232
- themeFocused = _ref.themeFocused,
40233
40100
  themeVariant = _ref.themeVariant;
40234
- var borderWidth = getBorderWidth(theme, themeFocused, themeVariant);
40235
40101
  return _objectSpread2({
40236
40102
  flexDirection: 'row',
40237
40103
  alignItems: 'center',
40238
- paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding - borderWidth,
40239
- paddingVertical: theme.__hd__.search.space.containerVerticalPadding - borderWidth,
40104
+ paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
40105
+ paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
40240
40106
  backgroundColor: theme.__hd__.search.colors[themeVariant].containerBackground,
40241
40107
  height: 56,
40242
40108
  borderRadius: theme.__hd__.search.radii.container,
40243
- borderWidth: borderWidth,
40244
- borderColor: themeFocused ? theme.__hd__.search.colors[themeVariant].focusedBorder : theme.__hd__.search.colors[themeVariant].border
40109
+ borderWidth: theme.__hd__.search.borderWidths.container["default"],
40110
+ borderColor: theme.__hd__.search.colors[themeVariant].border
40245
40111
  }, themeVariant === 'reversed' && _objectSpread2({}, theme.__hd__.search.shadows.container));
40246
40112
  });
40247
40113
  var StyledAffixContainer = index$a(View)(function (_ref2) {
@@ -40267,6 +40133,7 @@ var StyledInput = index$a(TextInput$1)(function (_ref4) {
40267
40133
  return {
40268
40134
  textAlignVertical: 'center',
40269
40135
  fontSize: theme.__hd__.search.fontSizes.text,
40136
+ color: theme.__hd__.textInput.colors.text,
40270
40137
  alignSelf: 'stretch',
40271
40138
  flexGrow: 1,
40272
40139
  flexShrink: 1,
@@ -40304,7 +40171,7 @@ var renderPrefix = function renderPrefix(_ref) {
40304
40171
  intent: "text",
40305
40172
  testID: "input-prefix",
40306
40173
  icon: prefix,
40307
- size: "small"
40174
+ size: "xsmall"
40308
40175
  })) : prefix;
40309
40176
  };
40310
40177
  var renderSuffix = function renderSuffix(_ref2) {
@@ -40313,7 +40180,7 @@ var renderSuffix = function renderSuffix(_ref2) {
40313
40180
  intent: "text",
40314
40181
  testID: "input-suffix",
40315
40182
  icon: suffix,
40316
- size: "small"
40183
+ size: "xsmall"
40317
40184
  })) : suffix;
40318
40185
  };
40319
40186
 
@@ -40331,7 +40198,6 @@ var SearchTwoLine = function SearchTwoLine(props) {
40331
40198
  style: style,
40332
40199
  testID: testID
40333
40200
  }, /*#__PURE__*/React__default.createElement(StyledInputContainer, {
40334
- themeFocused: false,
40335
40201
  themeVariant: variant
40336
40202
  }, renderPrefix({
40337
40203
  prefix: prefix
@@ -40439,7 +40305,7 @@ var SearchOneLine = /*#__PURE__*/forwardRef(function (props, ref) {
40439
40305
  intent: "text",
40440
40306
  testID: "input-clear-button",
40441
40307
  icon: "circle-cancel",
40442
- size: "small",
40308
+ size: "xsmall",
40443
40309
  disabled: state === 'disabled' || state === 'readonly'
40444
40310
  }));
40445
40311
  };
@@ -40449,7 +40315,6 @@ var SearchOneLine = /*#__PURE__*/forwardRef(function (props, ref) {
40449
40315
  testID: testID,
40450
40316
  style: style
40451
40317
  }, /*#__PURE__*/React__default.createElement(StyledInputContainer, {
40452
- themeFocused: isFocused,
40453
40318
  themeVariant: variant
40454
40319
  }, renderPrefix({
40455
40320
  prefix: prefix