@hero-design/rn 8.61.0 → 8.61.2
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 +1 -1
- package/CHANGELOG.md +17 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +825 -800
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +290 -265
- package/package.json +6 -5
- package/src/components/Button/Button.tsx +28 -16
- package/src/components/Button/__tests__/Button.spec.tsx +18 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +156 -0
- package/src/components/Calendar/StyledCalendar.tsx +2 -2
- package/src/components/Carousel/CardCarousel.tsx +2 -2
- package/src/components/Carousel/CarouselItem.tsx +3 -3
- package/src/components/Carousel/StyledCarousel.tsx +7 -7
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/TextInput/__tests__/index.spec.tsx +1 -6
- package/tsconfig.json +12 -4
- package/types/components/Button/Button.d.ts +3 -3
- package/types/components/Carousel/StyledCarousel.d.ts +3 -3
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/TextInput/index.d.ts +3 -3
package/lib/index.js
CHANGED
|
@@ -36,6 +36,7 @@ function _interopNamespace(e) {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
var reactNative__namespace = /*#__PURE__*/_interopNamespace(reactNative);
|
|
39
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
39
40
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
40
41
|
var DateTimePicker__default = /*#__PURE__*/_interopDefaultLegacy(DateTimePicker);
|
|
41
42
|
var RnSlider__default = /*#__PURE__*/_interopDefaultLegacy(RnSlider);
|
|
@@ -3870,6 +3871,7 @@ var RULESET = 'rule';
|
|
|
3870
3871
|
var DECLARATION = 'decl';
|
|
3871
3872
|
var IMPORT = '@import';
|
|
3872
3873
|
var KEYFRAMES = '@keyframes';
|
|
3874
|
+
var LAYER = '@layer';
|
|
3873
3875
|
|
|
3874
3876
|
/**
|
|
3875
3877
|
* @param {number}
|
|
@@ -3895,7 +3897,7 @@ var assign = Object.assign;
|
|
|
3895
3897
|
* @return {number}
|
|
3896
3898
|
*/
|
|
3897
3899
|
function hash(value, length) {
|
|
3898
|
-
return (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3);
|
|
3900
|
+
return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
3899
3901
|
}
|
|
3900
3902
|
|
|
3901
3903
|
/**
|
|
@@ -4249,7 +4251,7 @@ function parse$2(value, root, parent, rule, rules, rulesets, pseudo, points, dec
|
|
|
4249
4251
|
while (scanning) switch (previous = character, character = next()) {
|
|
4250
4252
|
// (
|
|
4251
4253
|
case 40:
|
|
4252
|
-
if (previous != 108 && characters
|
|
4254
|
+
if (previous != 108 && charat(characters, length - 1) == 58) {
|
|
4253
4255
|
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
|
|
4254
4256
|
break;
|
|
4255
4257
|
}
|
|
@@ -4295,6 +4297,7 @@ function parse$2(value, root, parent, rule, rules, rulesets, pseudo, points, dec
|
|
|
4295
4297
|
scanning = 0;
|
|
4296
4298
|
// ;
|
|
4297
4299
|
case 59 + offset:
|
|
4300
|
+
if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
|
4298
4301
|
if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
|
4299
4302
|
break;
|
|
4300
4303
|
// @ ;
|
|
@@ -4303,9 +4306,10 @@ function parse$2(value, root, parent, rule, rules, rulesets, pseudo, points, dec
|
|
|
4303
4306
|
// { rule/at-rule
|
|
4304
4307
|
default:
|
|
4305
4308
|
append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
|
|
4306
|
-
if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
|
|
4307
|
-
// d m s
|
|
4309
|
+
if (character === 123) if (offset === 0) parse$2(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
|
|
4310
|
+
// d l m s
|
|
4308
4311
|
case 100:
|
|
4312
|
+
case 108:
|
|
4309
4313
|
case 109:
|
|
4310
4314
|
case 115:
|
|
4311
4315
|
parse$2(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
|
|
@@ -4387,157 +4391,6 @@ function declaration(value, root, parent, length) {
|
|
|
4387
4391
|
return node$1(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length);
|
|
4388
4392
|
}
|
|
4389
4393
|
|
|
4390
|
-
/**
|
|
4391
|
-
* @param {string} value
|
|
4392
|
-
* @param {number} length
|
|
4393
|
-
* @return {string}
|
|
4394
|
-
*/
|
|
4395
|
-
function prefix(value, length) {
|
|
4396
|
-
switch (hash(value, length)) {
|
|
4397
|
-
// color-adjust
|
|
4398
|
-
case 5103:
|
|
4399
|
-
return WEBKIT + 'print-' + value + value;
|
|
4400
|
-
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
4401
|
-
case 5737:
|
|
4402
|
-
case 4201:
|
|
4403
|
-
case 3177:
|
|
4404
|
-
case 3433:
|
|
4405
|
-
case 1641:
|
|
4406
|
-
case 4457:
|
|
4407
|
-
case 2921:
|
|
4408
|
-
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
4409
|
-
case 5572:
|
|
4410
|
-
case 6356:
|
|
4411
|
-
case 5844:
|
|
4412
|
-
case 3191:
|
|
4413
|
-
case 6645:
|
|
4414
|
-
case 3005:
|
|
4415
|
-
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
4416
|
-
case 6391:
|
|
4417
|
-
case 5879:
|
|
4418
|
-
case 5623:
|
|
4419
|
-
case 6135:
|
|
4420
|
-
case 4599:
|
|
4421
|
-
case 4855:
|
|
4422
|
-
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
4423
|
-
case 4215:
|
|
4424
|
-
case 6389:
|
|
4425
|
-
case 5109:
|
|
4426
|
-
case 5365:
|
|
4427
|
-
case 5621:
|
|
4428
|
-
case 3829:
|
|
4429
|
-
return WEBKIT + value + value;
|
|
4430
|
-
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
4431
|
-
case 5349:
|
|
4432
|
-
case 4246:
|
|
4433
|
-
case 4810:
|
|
4434
|
-
case 6968:
|
|
4435
|
-
case 2756:
|
|
4436
|
-
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
4437
|
-
// flex, flex-direction
|
|
4438
|
-
case 6828:
|
|
4439
|
-
case 4268:
|
|
4440
|
-
return WEBKIT + value + MS + value + value;
|
|
4441
|
-
// order
|
|
4442
|
-
case 6165:
|
|
4443
|
-
return WEBKIT + value + MS + 'flex-' + value + value;
|
|
4444
|
-
// align-items
|
|
4445
|
-
case 5187:
|
|
4446
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
|
4447
|
-
// align-self
|
|
4448
|
-
case 5443:
|
|
4449
|
-
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
|
|
4450
|
-
// align-content
|
|
4451
|
-
case 4675:
|
|
4452
|
-
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
|
|
4453
|
-
// flex-shrink
|
|
4454
|
-
case 5548:
|
|
4455
|
-
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
|
4456
|
-
// flex-basis
|
|
4457
|
-
case 5292:
|
|
4458
|
-
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
|
4459
|
-
// flex-grow
|
|
4460
|
-
case 6060:
|
|
4461
|
-
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
|
4462
|
-
// transition
|
|
4463
|
-
case 4554:
|
|
4464
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
|
4465
|
-
// cursor
|
|
4466
|
-
case 6187:
|
|
4467
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
|
4468
|
-
// background, background-image
|
|
4469
|
-
case 5495:
|
|
4470
|
-
case 3959:
|
|
4471
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
|
4472
|
-
// justify-content
|
|
4473
|
-
case 4968:
|
|
4474
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
|
4475
|
-
// (margin|padding)-inline-(start|end)
|
|
4476
|
-
case 4095:
|
|
4477
|
-
case 3583:
|
|
4478
|
-
case 4068:
|
|
4479
|
-
case 2532:
|
|
4480
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
|
4481
|
-
// (min|max)?(width|height|inline-size|block-size)
|
|
4482
|
-
case 8116:
|
|
4483
|
-
case 7059:
|
|
4484
|
-
case 5753:
|
|
4485
|
-
case 5535:
|
|
4486
|
-
case 5445:
|
|
4487
|
-
case 5701:
|
|
4488
|
-
case 4933:
|
|
4489
|
-
case 4677:
|
|
4490
|
-
case 5533:
|
|
4491
|
-
case 5789:
|
|
4492
|
-
case 5021:
|
|
4493
|
-
case 4765:
|
|
4494
|
-
// stretch, max-content, min-content, fill-available
|
|
4495
|
-
if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
|
|
4496
|
-
// (m)ax-content, (m)in-content
|
|
4497
|
-
case 109:
|
|
4498
|
-
// -
|
|
4499
|
-
if (charat(value, length + 4) !== 45) break;
|
|
4500
|
-
// (f)ill-available, (f)it-content
|
|
4501
|
-
case 102:
|
|
4502
|
-
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
4503
|
-
// (s)tretch
|
|
4504
|
-
case 115:
|
|
4505
|
-
return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
|
|
4506
|
-
}
|
|
4507
|
-
break;
|
|
4508
|
-
// position: sticky
|
|
4509
|
-
case 4949:
|
|
4510
|
-
// (s)ticky?
|
|
4511
|
-
if (charat(value, length + 1) !== 115) break;
|
|
4512
|
-
// display: (flex|inline-flex)
|
|
4513
|
-
case 6444:
|
|
4514
|
-
switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
|
|
4515
|
-
// stic(k)y
|
|
4516
|
-
case 107:
|
|
4517
|
-
return replace(value, ':', ':' + WEBKIT) + value;
|
|
4518
|
-
// (inline-)?fl(e)x
|
|
4519
|
-
case 101:
|
|
4520
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
|
4521
|
-
}
|
|
4522
|
-
break;
|
|
4523
|
-
// writing-mode
|
|
4524
|
-
case 5936:
|
|
4525
|
-
switch (charat(value, length + 11)) {
|
|
4526
|
-
// vertical-l(r)
|
|
4527
|
-
case 114:
|
|
4528
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
4529
|
-
// vertical-r(l)
|
|
4530
|
-
case 108:
|
|
4531
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
4532
|
-
// horizontal(-)tb
|
|
4533
|
-
case 45:
|
|
4534
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
4535
|
-
}
|
|
4536
|
-
return WEBKIT + value + MS + value + value;
|
|
4537
|
-
}
|
|
4538
|
-
return value;
|
|
4539
|
-
}
|
|
4540
|
-
|
|
4541
4394
|
/**
|
|
4542
4395
|
* @param {object[]} children
|
|
4543
4396
|
* @param {function} callback
|
|
@@ -4559,6 +4412,8 @@ function serialize(children, callback) {
|
|
|
4559
4412
|
*/
|
|
4560
4413
|
function stringify$2(element, index, children, callback) {
|
|
4561
4414
|
switch (element.type) {
|
|
4415
|
+
case LAYER:
|
|
4416
|
+
if (element.children.length) break;
|
|
4562
4417
|
case IMPORT:
|
|
4563
4418
|
case DECLARATION:
|
|
4564
4419
|
return element["return"] = element["return"] || element.value;
|
|
@@ -4595,45 +4450,6 @@ function rulesheet(callback) {
|
|
|
4595
4450
|
};
|
|
4596
4451
|
}
|
|
4597
4452
|
|
|
4598
|
-
/**
|
|
4599
|
-
* @param {object} element
|
|
4600
|
-
* @param {number} index
|
|
4601
|
-
* @param {object[]} children
|
|
4602
|
-
* @param {function} callback
|
|
4603
|
-
*/
|
|
4604
|
-
function prefixer(element, index, children, callback) {
|
|
4605
|
-
if (element.length > -1) if (!element["return"]) switch (element.type) {
|
|
4606
|
-
case DECLARATION:
|
|
4607
|
-
element["return"] = prefix(element.value, element.length);
|
|
4608
|
-
break;
|
|
4609
|
-
case KEYFRAMES:
|
|
4610
|
-
return serialize([copy(element, {
|
|
4611
|
-
value: replace(element.value, '@', '@' + WEBKIT)
|
|
4612
|
-
})], callback);
|
|
4613
|
-
case RULESET:
|
|
4614
|
-
if (element.length) return combine(element.props, function (value) {
|
|
4615
|
-
switch (match$2(value, /(::plac\w+|:read-\w+)/)) {
|
|
4616
|
-
// :read-(only|write)
|
|
4617
|
-
case ':read-only':
|
|
4618
|
-
case ':read-write':
|
|
4619
|
-
return serialize([copy(element, {
|
|
4620
|
-
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
|
4621
|
-
})], callback);
|
|
4622
|
-
// :placeholder
|
|
4623
|
-
case '::placeholder':
|
|
4624
|
-
return serialize([copy(element, {
|
|
4625
|
-
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
|
4626
|
-
}), copy(element, {
|
|
4627
|
-
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
|
4628
|
-
}), copy(element, {
|
|
4629
|
-
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
|
4630
|
-
})], callback);
|
|
4631
|
-
}
|
|
4632
|
-
return '';
|
|
4633
|
-
});
|
|
4634
|
-
}
|
|
4635
|
-
}
|
|
4636
|
-
|
|
4637
4453
|
var weakMemoize = function weakMemoize(func) {
|
|
4638
4454
|
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
4639
4455
|
var cache = new WeakMap();
|
|
@@ -4755,6 +4571,211 @@ var removeLabel = function removeLabel(element) {
|
|
|
4755
4571
|
}
|
|
4756
4572
|
}
|
|
4757
4573
|
};
|
|
4574
|
+
|
|
4575
|
+
/* eslint-disable no-fallthrough */
|
|
4576
|
+
|
|
4577
|
+
function prefix(value, length) {
|
|
4578
|
+
switch (hash(value, length)) {
|
|
4579
|
+
// color-adjust
|
|
4580
|
+
case 5103:
|
|
4581
|
+
return WEBKIT + 'print-' + value + value;
|
|
4582
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
4583
|
+
|
|
4584
|
+
case 5737:
|
|
4585
|
+
case 4201:
|
|
4586
|
+
case 3177:
|
|
4587
|
+
case 3433:
|
|
4588
|
+
case 1641:
|
|
4589
|
+
case 4457:
|
|
4590
|
+
case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
4591
|
+
|
|
4592
|
+
case 5572:
|
|
4593
|
+
case 6356:
|
|
4594
|
+
case 5844:
|
|
4595
|
+
case 3191:
|
|
4596
|
+
case 6645:
|
|
4597
|
+
case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
4598
|
+
|
|
4599
|
+
case 6391:
|
|
4600
|
+
case 5879:
|
|
4601
|
+
case 5623:
|
|
4602
|
+
case 6135:
|
|
4603
|
+
case 4599:
|
|
4604
|
+
case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
4605
|
+
|
|
4606
|
+
case 4215:
|
|
4607
|
+
case 6389:
|
|
4608
|
+
case 5109:
|
|
4609
|
+
case 5365:
|
|
4610
|
+
case 5621:
|
|
4611
|
+
case 3829:
|
|
4612
|
+
return WEBKIT + value + value;
|
|
4613
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
4614
|
+
|
|
4615
|
+
case 5349:
|
|
4616
|
+
case 4246:
|
|
4617
|
+
case 4810:
|
|
4618
|
+
case 6968:
|
|
4619
|
+
case 2756:
|
|
4620
|
+
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
4621
|
+
// flex, flex-direction
|
|
4622
|
+
|
|
4623
|
+
case 6828:
|
|
4624
|
+
case 4268:
|
|
4625
|
+
return WEBKIT + value + MS + value + value;
|
|
4626
|
+
// order
|
|
4627
|
+
|
|
4628
|
+
case 6165:
|
|
4629
|
+
return WEBKIT + value + MS + 'flex-' + value + value;
|
|
4630
|
+
// align-items
|
|
4631
|
+
|
|
4632
|
+
case 5187:
|
|
4633
|
+
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
|
4634
|
+
// align-self
|
|
4635
|
+
|
|
4636
|
+
case 5443:
|
|
4637
|
+
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
|
|
4638
|
+
// align-content
|
|
4639
|
+
|
|
4640
|
+
case 4675:
|
|
4641
|
+
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
|
|
4642
|
+
// flex-shrink
|
|
4643
|
+
|
|
4644
|
+
case 5548:
|
|
4645
|
+
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
|
4646
|
+
// flex-basis
|
|
4647
|
+
|
|
4648
|
+
case 5292:
|
|
4649
|
+
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
|
4650
|
+
// flex-grow
|
|
4651
|
+
|
|
4652
|
+
case 6060:
|
|
4653
|
+
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
|
4654
|
+
// transition
|
|
4655
|
+
|
|
4656
|
+
case 4554:
|
|
4657
|
+
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
|
4658
|
+
// cursor
|
|
4659
|
+
|
|
4660
|
+
case 6187:
|
|
4661
|
+
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
|
4662
|
+
// background, background-image
|
|
4663
|
+
|
|
4664
|
+
case 5495:
|
|
4665
|
+
case 3959:
|
|
4666
|
+
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
|
4667
|
+
// justify-content
|
|
4668
|
+
|
|
4669
|
+
case 4968:
|
|
4670
|
+
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
|
4671
|
+
// (margin|padding)-inline-(start|end)
|
|
4672
|
+
|
|
4673
|
+
case 4095:
|
|
4674
|
+
case 3583:
|
|
4675
|
+
case 4068:
|
|
4676
|
+
case 2532:
|
|
4677
|
+
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
|
4678
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
4679
|
+
|
|
4680
|
+
case 8116:
|
|
4681
|
+
case 7059:
|
|
4682
|
+
case 5753:
|
|
4683
|
+
case 5535:
|
|
4684
|
+
case 5445:
|
|
4685
|
+
case 5701:
|
|
4686
|
+
case 4933:
|
|
4687
|
+
case 4677:
|
|
4688
|
+
case 5533:
|
|
4689
|
+
case 5789:
|
|
4690
|
+
case 5021:
|
|
4691
|
+
case 4765:
|
|
4692
|
+
// stretch, max-content, min-content, fill-available
|
|
4693
|
+
if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
|
|
4694
|
+
// (m)ax-content, (m)in-content
|
|
4695
|
+
case 109:
|
|
4696
|
+
// -
|
|
4697
|
+
if (charat(value, length + 4) !== 45) break;
|
|
4698
|
+
// (f)ill-available, (f)it-content
|
|
4699
|
+
|
|
4700
|
+
case 102:
|
|
4701
|
+
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
4702
|
+
// (s)tretch
|
|
4703
|
+
|
|
4704
|
+
case 115:
|
|
4705
|
+
return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
|
|
4706
|
+
}
|
|
4707
|
+
break;
|
|
4708
|
+
// position: sticky
|
|
4709
|
+
|
|
4710
|
+
case 4949:
|
|
4711
|
+
// (s)ticky?
|
|
4712
|
+
if (charat(value, length + 1) !== 115) break;
|
|
4713
|
+
// display: (flex|inline-flex)
|
|
4714
|
+
|
|
4715
|
+
case 6444:
|
|
4716
|
+
switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
|
|
4717
|
+
// stic(k)y
|
|
4718
|
+
case 107:
|
|
4719
|
+
return replace(value, ':', ':' + WEBKIT) + value;
|
|
4720
|
+
// (inline-)?fl(e)x
|
|
4721
|
+
|
|
4722
|
+
case 101:
|
|
4723
|
+
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
|
4724
|
+
}
|
|
4725
|
+
break;
|
|
4726
|
+
// writing-mode
|
|
4727
|
+
|
|
4728
|
+
case 5936:
|
|
4729
|
+
switch (charat(value, length + 11)) {
|
|
4730
|
+
// vertical-l(r)
|
|
4731
|
+
case 114:
|
|
4732
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
4733
|
+
// vertical-r(l)
|
|
4734
|
+
|
|
4735
|
+
case 108:
|
|
4736
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
4737
|
+
// horizontal(-)tb
|
|
4738
|
+
|
|
4739
|
+
case 45:
|
|
4740
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
4741
|
+
}
|
|
4742
|
+
return WEBKIT + value + MS + value + value;
|
|
4743
|
+
}
|
|
4744
|
+
return value;
|
|
4745
|
+
}
|
|
4746
|
+
var prefixer = function prefixer(element, index, children, callback) {
|
|
4747
|
+
if (element.length > -1) if (!element["return"]) switch (element.type) {
|
|
4748
|
+
case DECLARATION:
|
|
4749
|
+
element["return"] = prefix(element.value, element.length);
|
|
4750
|
+
break;
|
|
4751
|
+
case KEYFRAMES:
|
|
4752
|
+
return serialize([copy(element, {
|
|
4753
|
+
value: replace(element.value, '@', '@' + WEBKIT)
|
|
4754
|
+
})], callback);
|
|
4755
|
+
case RULESET:
|
|
4756
|
+
if (element.length) return combine(element.props, function (value) {
|
|
4757
|
+
switch (match$2(value, /(::plac\w+|:read-\w+)/)) {
|
|
4758
|
+
// :read-(only|write)
|
|
4759
|
+
case ':read-only':
|
|
4760
|
+
case ':read-write':
|
|
4761
|
+
return serialize([copy(element, {
|
|
4762
|
+
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
|
4763
|
+
})], callback);
|
|
4764
|
+
// :placeholder
|
|
4765
|
+
|
|
4766
|
+
case '::placeholder':
|
|
4767
|
+
return serialize([copy(element, {
|
|
4768
|
+
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
|
4769
|
+
}), copy(element, {
|
|
4770
|
+
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
|
4771
|
+
}), copy(element, {
|
|
4772
|
+
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
|
4773
|
+
})], callback);
|
|
4774
|
+
}
|
|
4775
|
+
return '';
|
|
4776
|
+
});
|
|
4777
|
+
}
|
|
4778
|
+
};
|
|
4758
4779
|
var defaultStylisPlugins = [prefixer];
|
|
4759
4780
|
var createCache = function createCache(options) {
|
|
4760
4781
|
var key = options.key;
|
|
@@ -4850,7 +4871,7 @@ function _extends() {
|
|
|
4850
4871
|
return _extends.apply(this, arguments);
|
|
4851
4872
|
}
|
|
4852
4873
|
|
|
4853
|
-
var EmotionCacheContext = /* #__PURE__ */
|
|
4874
|
+
var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext(
|
|
4854
4875
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
4855
4876
|
// because this module is primarily intended for the browser and node
|
|
4856
4877
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -4861,9 +4882,9 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
|
|
|
4861
4882
|
key: 'css'
|
|
4862
4883
|
}) : null);
|
|
4863
4884
|
EmotionCacheContext.Provider;
|
|
4864
|
-
var ThemeContext = /* #__PURE__ */
|
|
4885
|
+
var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
|
|
4865
4886
|
var useTheme$1 = function useTheme() {
|
|
4866
|
-
return
|
|
4887
|
+
return React__namespace.useContext(ThemeContext);
|
|
4867
4888
|
};
|
|
4868
4889
|
var getTheme = function getTheme(outerTheme, theme) {
|
|
4869
4890
|
if (typeof theme === 'function') {
|
|
@@ -4878,11 +4899,11 @@ var createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {
|
|
|
4878
4899
|
});
|
|
4879
4900
|
});
|
|
4880
4901
|
var ThemeProvider$1 = function ThemeProvider(props) {
|
|
4881
|
-
var theme =
|
|
4902
|
+
var theme = React__namespace.useContext(ThemeContext);
|
|
4882
4903
|
if (props.theme !== theme) {
|
|
4883
4904
|
theme = createCacheWithTheme(theme)(props.theme);
|
|
4884
4905
|
}
|
|
4885
|
-
return /*#__PURE__*/
|
|
4906
|
+
return /*#__PURE__*/React__namespace.createElement(ThemeContext.Provider, {
|
|
4886
4907
|
value: theme
|
|
4887
4908
|
}, props.children);
|
|
4888
4909
|
};
|
|
@@ -6548,7 +6569,7 @@ function createStyled(StyleSheet, _temp) {
|
|
|
6548
6569
|
} // do we really want to use the same infra as the web since it only really uses theming?
|
|
6549
6570
|
// $FlowFixMe
|
|
6550
6571
|
|
|
6551
|
-
var Styled = /*#__PURE__*/
|
|
6572
|
+
var Styled = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
6552
6573
|
var finalTag = shouldUseAs && props.as || component;
|
|
6553
6574
|
var mergedProps = props;
|
|
6554
6575
|
if (props.theme == null) {
|
|
@@ -6556,7 +6577,7 @@ function createStyled(StyleSheet, _temp) {
|
|
|
6556
6577
|
for (var key in props) {
|
|
6557
6578
|
mergedProps[key] = props[key];
|
|
6558
6579
|
}
|
|
6559
|
-
mergedProps.theme =
|
|
6580
|
+
mergedProps.theme = React__namespace.useContext(ThemeContext);
|
|
6560
6581
|
}
|
|
6561
6582
|
var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getShouldForwardProp(finalTag) : defaultShouldForwardProp;
|
|
6562
6583
|
var newProps = {};
|
|
@@ -6569,7 +6590,7 @@ function createStyled(StyleSheet, _temp) {
|
|
|
6569
6590
|
newProps.style = [css.apply(mergedProps, styles), props.style];
|
|
6570
6591
|
newProps.ref = ref; // $FlowFixMe
|
|
6571
6592
|
|
|
6572
|
-
return /*#__PURE__*/
|
|
6593
|
+
return /*#__PURE__*/React__namespace.createElement(finalTag, newProps);
|
|
6573
6594
|
}); // $FlowFixMe
|
|
6574
6595
|
|
|
6575
6596
|
Styled.withComponent = function (newComponent) {
|
|
@@ -6920,7 +6941,7 @@ var Typography = {
|
|
|
6920
6941
|
};
|
|
6921
6942
|
|
|
6922
6943
|
// 🔴 DO NOT EDIT — This file is generated automatically.
|
|
6923
|
-
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', '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', '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', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', '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', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-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', '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-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-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-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', 'email-outlined', 'enter-arrow', 'envelope-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', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'hand-holding-user-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', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-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', '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', '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', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', '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'];
|
|
6944
|
+
var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', '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', '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', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', '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', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-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', '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-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-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-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', 'email-outlined', 'enter-arrow', 'envelope-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', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'hand-holding-user-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', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-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', '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', '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', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', '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'];
|
|
6924
6945
|
|
|
6925
6946
|
var activate = 59000;
|
|
6926
6947
|
var adjustment = 59003;
|
|
@@ -7006,12 +7027,12 @@ var redeem = 59364;
|
|
|
7006
7027
|
var refresh = 59365;
|
|
7007
7028
|
var remove = 59366;
|
|
7008
7029
|
var restart = 59368;
|
|
7009
|
-
var shopping_basket_outlined =
|
|
7010
|
-
var strikethrough =
|
|
7011
|
-
var sync =
|
|
7012
|
-
var transfer =
|
|
7013
|
-
var unavailable =
|
|
7014
|
-
var underline =
|
|
7030
|
+
var shopping_basket_outlined = 59382;
|
|
7031
|
+
var strikethrough = 59396;
|
|
7032
|
+
var sync = 59402;
|
|
7033
|
+
var transfer = 59410;
|
|
7034
|
+
var unavailable = 59414;
|
|
7035
|
+
var underline = 59415;
|
|
7015
7036
|
var glyphMap = {
|
|
7016
7037
|
activate: activate,
|
|
7017
7038
|
"add-emoji": 59001,
|
|
@@ -7393,52 +7414,53 @@ var glyphMap = {
|
|
|
7393
7414
|
"send-outlined": 59377,
|
|
7394
7415
|
"share-1": 59378,
|
|
7395
7416
|
"share-2": 59379,
|
|
7396
|
-
"share-outlined": 59380,
|
|
7417
|
+
"share-outlined-2": 59380,
|
|
7418
|
+
"share-outlined": 59381,
|
|
7397
7419
|
shopping_basket_outlined: shopping_basket_outlined,
|
|
7398
|
-
"show-chart-outlined":
|
|
7399
|
-
"single-down-arrow":
|
|
7400
|
-
"single-left-arrow":
|
|
7401
|
-
"single-right-arrow":
|
|
7402
|
-
"single-up-arrow":
|
|
7403
|
-
"smart-match-outlined":
|
|
7404
|
-
"sparkle-outlined":
|
|
7405
|
-
"speaker-active-outlined":
|
|
7406
|
-
"speaker-outlined":
|
|
7407
|
-
"star-circle-outlined":
|
|
7408
|
-
"star-outlined":
|
|
7409
|
-
"stash-outlined":
|
|
7410
|
-
"stopwatch-outlined":
|
|
7420
|
+
"show-chart-outlined": 59383,
|
|
7421
|
+
"single-down-arrow": 59384,
|
|
7422
|
+
"single-left-arrow": 59385,
|
|
7423
|
+
"single-right-arrow": 59386,
|
|
7424
|
+
"single-up-arrow": 59387,
|
|
7425
|
+
"smart-match-outlined": 59388,
|
|
7426
|
+
"sparkle-outlined": 59389,
|
|
7427
|
+
"speaker-active-outlined": 59390,
|
|
7428
|
+
"speaker-outlined": 59391,
|
|
7429
|
+
"star-circle-outlined": 59392,
|
|
7430
|
+
"star-outlined": 59393,
|
|
7431
|
+
"stash-outlined": 59394,
|
|
7432
|
+
"stopwatch-outlined": 59395,
|
|
7411
7433
|
strikethrough: strikethrough,
|
|
7412
|
-
"styler-outlined":
|
|
7413
|
-
"suitcase-clock-outlined":
|
|
7414
|
-
"suitcase-outlined":
|
|
7415
|
-
"survey-outlined":
|
|
7416
|
-
"switch-outlined":
|
|
7434
|
+
"styler-outlined": 59397,
|
|
7435
|
+
"suitcase-clock-outlined": 59398,
|
|
7436
|
+
"suitcase-outlined": 59399,
|
|
7437
|
+
"survey-outlined": 59400,
|
|
7438
|
+
"switch-outlined": 59401,
|
|
7417
7439
|
sync: sync,
|
|
7418
|
-
"tag-outlined":
|
|
7419
|
-
"target-outlined":
|
|
7420
|
-
"tennis-outlined":
|
|
7421
|
-
"ticket-outlined":
|
|
7422
|
-
"timesheet-outlined":
|
|
7423
|
-
"timesheets-outlined":
|
|
7424
|
-
"today-outlined":
|
|
7440
|
+
"tag-outlined": 59403,
|
|
7441
|
+
"target-outlined": 59404,
|
|
7442
|
+
"tennis-outlined": 59405,
|
|
7443
|
+
"ticket-outlined": 59406,
|
|
7444
|
+
"timesheet-outlined": 59407,
|
|
7445
|
+
"timesheets-outlined": 59408,
|
|
7446
|
+
"today-outlined": 59409,
|
|
7425
7447
|
transfer: transfer,
|
|
7426
|
-
"trash-bin-outlined":
|
|
7427
|
-
"umbrela-outlined":
|
|
7428
|
-
"unavailability-outlined":
|
|
7448
|
+
"trash-bin-outlined": 59411,
|
|
7449
|
+
"umbrela-outlined": 59412,
|
|
7450
|
+
"unavailability-outlined": 59413,
|
|
7429
7451
|
unavailable: unavailable,
|
|
7430
7452
|
underline: underline,
|
|
7431
|
-
"union-outlined":
|
|
7432
|
-
"unlock-outlined":
|
|
7433
|
-
"upload-outlined":
|
|
7434
|
-
"user-circle-outlined":
|
|
7435
|
-
"user-gear-outlined":
|
|
7436
|
-
"user-outlined":
|
|
7437
|
-
"user-rectangle-outlined":
|
|
7438
|
-
"video-1-outlined":
|
|
7439
|
-
"video-2-outlined":
|
|
7440
|
-
"volunteer-outlined":
|
|
7441
|
-
"wallet-outlined":
|
|
7453
|
+
"union-outlined": 59416,
|
|
7454
|
+
"unlock-outlined": 59417,
|
|
7455
|
+
"upload-outlined": 59418,
|
|
7456
|
+
"user-circle-outlined": 59419,
|
|
7457
|
+
"user-gear-outlined": 59420,
|
|
7458
|
+
"user-outlined": 59421,
|
|
7459
|
+
"user-rectangle-outlined": 59422,
|
|
7460
|
+
"video-1-outlined": 59423,
|
|
7461
|
+
"video-2-outlined": 59424,
|
|
7462
|
+
"volunteer-outlined": 59425,
|
|
7463
|
+
"wallet-outlined": 59426
|
|
7442
7464
|
};
|
|
7443
7465
|
|
|
7444
7466
|
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
@@ -8934,6 +8956,9 @@ var StyledButtonIcon = index$9(Icon)(function (_ref5) {
|
|
|
8934
8956
|
}, themeStyling());
|
|
8935
8957
|
});
|
|
8936
8958
|
|
|
8959
|
+
var isIconName = function isIconName(icon) {
|
|
8960
|
+
return typeof icon === 'string';
|
|
8961
|
+
};
|
|
8937
8962
|
var FILLED_VARIANTS = {
|
|
8938
8963
|
primary: 'filled-primary',
|
|
8939
8964
|
secondary: 'filled-secondary',
|
|
@@ -9023,12 +9048,12 @@ var Button = function Button(_ref) {
|
|
|
9023
9048
|
themeVariant: themeVariant
|
|
9024
9049
|
}) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, icon !== undefined && /*#__PURE__*/React__default["default"].createElement(StyledButtonIconWrapper, {
|
|
9025
9050
|
themePosition: "left"
|
|
9026
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledButtonIcon, {
|
|
9051
|
+
}, isIconName(icon) ? /*#__PURE__*/React__default["default"].createElement(StyledButtonIcon, {
|
|
9027
9052
|
disabled: disabled,
|
|
9028
9053
|
icon: icon,
|
|
9029
9054
|
testID: "".concat(testID, "-left-icon"),
|
|
9030
9055
|
themeButtonVariant: themeVariant
|
|
9031
|
-
})), isTextVariant(themeVariant) ? /*#__PURE__*/React__default["default"].createElement(StyledButtonTitleOfVariantText, {
|
|
9056
|
+
}) : icon), isTextVariant(themeVariant) ? /*#__PURE__*/React__default["default"].createElement(StyledButtonTitleOfVariantText, {
|
|
9032
9057
|
variant: "regular-bold",
|
|
9033
9058
|
ellipsizeMode: "tail",
|
|
9034
9059
|
numberOfLines: 1,
|
|
@@ -9042,12 +9067,12 @@ var Button = function Button(_ref) {
|
|
|
9042
9067
|
themeButtonVariant: themeVariant
|
|
9043
9068
|
}, text), rightIcon !== undefined && /*#__PURE__*/React__default["default"].createElement(StyledButtonIconWrapper, {
|
|
9044
9069
|
themePosition: "right"
|
|
9045
|
-
}, /*#__PURE__*/React__default["default"].createElement(StyledButtonIcon, {
|
|
9070
|
+
}, isIconName(rightIcon) ? /*#__PURE__*/React__default["default"].createElement(StyledButtonIcon, {
|
|
9046
9071
|
disabled: disabled,
|
|
9047
9072
|
icon: rightIcon,
|
|
9048
9073
|
testID: "".concat(testID, "-right-icon"),
|
|
9049
9074
|
themeButtonVariant: themeVariant
|
|
9050
|
-
}))));
|
|
9075
|
+
}) : rightIcon)));
|
|
9051
9076
|
};
|
|
9052
9077
|
|
|
9053
9078
|
var IconButton = function IconButton(_ref) {
|
|
@@ -11666,7 +11691,7 @@ var StyledCalendarRow = index$9(reactNative.View)(function (_ref5) {
|
|
|
11666
11691
|
var StyledCalendarRowItem = index$9(reactNative.View)(function (_ref6) {
|
|
11667
11692
|
var theme = _ref6.theme;
|
|
11668
11693
|
return {
|
|
11669
|
-
flexBasis: "".concat(Math.floor(100.0 / 7.0)
|
|
11694
|
+
flexBasis: "".concat(Math.floor(100.0 / 7.0), "%"),
|
|
11670
11695
|
alignItems: 'center',
|
|
11671
11696
|
width: theme.__hd__.calendar.sizes.cellWidth,
|
|
11672
11697
|
height: theme.__hd__.calendar.sizes.cellHeight,
|
|
@@ -11676,7 +11701,7 @@ var StyledCalendarRowItem = index$9(reactNative.View)(function (_ref6) {
|
|
|
11676
11701
|
var StyledDisabledCalendarRowItem = index$9(reactNative.View)(function (_ref7) {
|
|
11677
11702
|
var theme = _ref7.theme;
|
|
11678
11703
|
return {
|
|
11679
|
-
flexBasis: "".concat(Math.floor(100.0 / 7.0)
|
|
11704
|
+
flexBasis: "".concat(Math.floor(100.0 / 7.0), "%"),
|
|
11680
11705
|
alignItems: 'center',
|
|
11681
11706
|
width: theme.__hd__.calendar.sizes.cellWidth,
|
|
11682
11707
|
height: theme.__hd__.calendar.sizes.cellHeight
|
|
@@ -12286,15 +12311,15 @@ var StyledCarouselImage = index$9(Image)(function () {
|
|
|
12286
12311
|
};
|
|
12287
12312
|
});
|
|
12288
12313
|
var StyledCustomSizeCarouselImage = index$9(Image)(function (_ref3) {
|
|
12289
|
-
var
|
|
12290
|
-
_ref3$
|
|
12291
|
-
|
|
12292
|
-
|
|
12314
|
+
var themeHeight = _ref3.themeHeight,
|
|
12315
|
+
_ref3$themeResizeMode = _ref3.themeResizeMode,
|
|
12316
|
+
themeResizeMode = _ref3$themeResizeMode === void 0 ? 'contain' : _ref3$themeResizeMode,
|
|
12317
|
+
themeWidth = _ref3.themeWidth;
|
|
12293
12318
|
return {
|
|
12294
12319
|
alignSelf: 'center',
|
|
12295
|
-
width:
|
|
12296
|
-
height:
|
|
12297
|
-
resizeMode:
|
|
12320
|
+
width: themeWidth,
|
|
12321
|
+
height: themeHeight,
|
|
12322
|
+
resizeMode: themeResizeMode
|
|
12298
12323
|
};
|
|
12299
12324
|
});
|
|
12300
12325
|
var StyledCarouselContentWrapper = index$9(Box)(function (_ref4) {
|
|
@@ -12343,9 +12368,9 @@ var CarouselItem = function CarouselItem(_ref) {
|
|
|
12343
12368
|
if (isCarouselImageProps(image)) {
|
|
12344
12369
|
return /*#__PURE__*/React__default["default"].createElement(StyledCustomSizeCarouselImage, {
|
|
12345
12370
|
source: image,
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12371
|
+
themeHeight: image.height,
|
|
12372
|
+
themeWidth: image.width,
|
|
12373
|
+
themeResizeMode: image.resizeMode,
|
|
12349
12374
|
style: {
|
|
12350
12375
|
marginBottom: theme.space.medium
|
|
12351
12376
|
}
|