@bcgov-sso/common-react-components 1.16.0 → 1.18.1

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/dist/cjs/index.js CHANGED
@@ -2662,6 +2662,8 @@ var ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
2662
2662
 
2663
2663
  var ReactPropTypesSecret_1 = ReactPropTypesSecret$3;
2664
2664
 
2665
+ var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
2666
+
2665
2667
  /**
2666
2668
  * Copyright (c) 2013-present, Facebook, Inc.
2667
2669
  *
@@ -2674,7 +2676,7 @@ var printWarning$1 = function() {};
2674
2676
  if (process.env.NODE_ENV !== 'production') {
2675
2677
  var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;
2676
2678
  var loggedTypeFailures = {};
2677
- var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
2679
+ var has$1 = has$2;
2678
2680
 
2679
2681
  printWarning$1 = function(text) {
2680
2682
  var message = 'Warning: ' + text;
@@ -2686,7 +2688,7 @@ if (process.env.NODE_ENV !== 'production') {
2686
2688
  // This error was thrown as a convenience so that you can use this stack
2687
2689
  // to find the callsite that caused this warning to fire.
2688
2690
  throw new Error(message);
2689
- } catch (x) {}
2691
+ } catch (x) { /**/ }
2690
2692
  };
2691
2693
  }
2692
2694
 
@@ -2715,7 +2717,8 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
2715
2717
  if (typeof typeSpecs[typeSpecName] !== 'function') {
2716
2718
  var err = Error(
2717
2719
  (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
2718
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
2720
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
2721
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
2719
2722
  );
2720
2723
  err.name = 'Invariant Violation';
2721
2724
  throw err;
@@ -2774,9 +2777,9 @@ var ReactIs$1 = reactIs$1.exports;
2774
2777
  var assign = objectAssign;
2775
2778
 
2776
2779
  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
2780
+ var has = has$2;
2777
2781
  var checkPropTypes = checkPropTypes_1;
2778
2782
 
2779
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
2780
2783
  var printWarning = function() {};
2781
2784
 
2782
2785
  if (process.env.NODE_ENV !== 'production') {
@@ -2877,6 +2880,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2877
2880
  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
2878
2881
  var ReactPropTypes = {
2879
2882
  array: createPrimitiveTypeChecker('array'),
2883
+ bigint: createPrimitiveTypeChecker('bigint'),
2880
2884
  bool: createPrimitiveTypeChecker('boolean'),
2881
2885
  func: createPrimitiveTypeChecker('function'),
2882
2886
  number: createPrimitiveTypeChecker('number'),
@@ -2922,8 +2926,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2922
2926
  * is prohibitively expensive if they are created too often, such as what
2923
2927
  * happens in oneOfType() for any type before the one that matched.
2924
2928
  */
2925
- function PropTypeError(message) {
2929
+ function PropTypeError(message, data) {
2926
2930
  this.message = message;
2931
+ this.data = data && typeof data === 'object' ? data: {};
2927
2932
  this.stack = '';
2928
2933
  }
2929
2934
  // Make `instanceof Error` still work for returned errors.
@@ -2958,7 +2963,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2958
2963
  ) {
2959
2964
  printWarning(
2960
2965
  'You are manually calling a React.PropTypes validation ' +
2961
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
2966
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
2962
2967
  'and will throw in the standalone `prop-types` package. ' +
2963
2968
  'You may be seeing this warning due to a third-party PropTypes ' +
2964
2969
  'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
@@ -2997,7 +3002,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
2997
3002
  // 'of type `object`'.
2998
3003
  var preciseType = getPreciseType(propValue);
2999
3004
 
3000
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
3005
+ return new PropTypeError(
3006
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
3007
+ {expectedType: expectedType}
3008
+ );
3001
3009
  }
3002
3010
  return null;
3003
3011
  }
@@ -3141,14 +3149,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
3141
3149
  }
3142
3150
 
3143
3151
  function validate(props, propName, componentName, location, propFullName) {
3152
+ var expectedTypes = [];
3144
3153
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
3145
3154
  var checker = arrayOfTypeCheckers[i];
3146
- if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1) == null) {
3155
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
3156
+ if (checkerResult == null) {
3147
3157
  return null;
3148
3158
  }
3159
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
3160
+ expectedTypes.push(checkerResult.data.expectedType);
3161
+ }
3149
3162
  }
3150
-
3151
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
3163
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
3164
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
3152
3165
  }
3153
3166
  return createChainableTypeChecker(validate);
3154
3167
  }
@@ -3163,6 +3176,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
3163
3176
  return createChainableTypeChecker(validate);
3164
3177
  }
3165
3178
 
3179
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
3180
+ return new PropTypeError(
3181
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
3182
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
3183
+ );
3184
+ }
3185
+
3166
3186
  function createShapeTypeChecker(shapeTypes) {
3167
3187
  function validate(props, propName, componentName, location, propFullName) {
3168
3188
  var propValue = props[propName];
@@ -3172,8 +3192,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
3172
3192
  }
3173
3193
  for (var key in shapeTypes) {
3174
3194
  var checker = shapeTypes[key];
3175
- if (!checker) {
3176
- continue;
3195
+ if (typeof checker !== 'function') {
3196
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3177
3197
  }
3178
3198
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
3179
3199
  if (error) {
@@ -3192,16 +3212,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
3192
3212
  if (propType !== 'object') {
3193
3213
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
3194
3214
  }
3195
- // We need to check all keys in case some are required but missing from
3196
- // props.
3215
+ // We need to check all keys in case some are required but missing from props.
3197
3216
  var allKeys = assign({}, props[propName], shapeTypes);
3198
3217
  for (var key in allKeys) {
3199
3218
  var checker = shapeTypes[key];
3219
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
3220
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
3221
+ }
3200
3222
  if (!checker) {
3201
3223
  return new PropTypeError(
3202
3224
  'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
3203
3225
  '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
3204
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
3226
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
3205
3227
  );
3206
3228
  }
3207
3229
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
@@ -3386,6 +3408,7 @@ var factoryWithThrowingShims = function() {
3386
3408
  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
3387
3409
  var ReactPropTypes = {
3388
3410
  array: shim,
3411
+ bigint: shim,
3389
3412
  bool: shim,
3390
3413
  func: shim,
3391
3414
  number: shim,
@@ -3436,18 +3459,40 @@ if (process.env.NODE_ENV !== 'production') {
3436
3459
 
3437
3460
  var PropTypes = propTypes.exports;
3438
3461
 
3439
- function _typeof$1(obj) {
3440
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
3441
- _typeof$1 = function (obj) {
3442
- return typeof obj;
3443
- };
3444
- } else {
3445
- _typeof$1 = function (obj) {
3446
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3447
- };
3462
+ function ownKeys(object, enumerableOnly) {
3463
+ var keys = Object.keys(object);
3464
+
3465
+ if (Object.getOwnPropertySymbols) {
3466
+ var symbols = Object.getOwnPropertySymbols(object);
3467
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
3468
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
3469
+ })), keys.push.apply(keys, symbols);
3470
+ }
3471
+
3472
+ return keys;
3473
+ }
3474
+
3475
+ function _objectSpread2(target) {
3476
+ for (var i = 1; i < arguments.length; i++) {
3477
+ var source = null != arguments[i] ? arguments[i] : {};
3478
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
3479
+ _defineProperty$1(target, key, source[key]);
3480
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
3481
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3482
+ });
3448
3483
  }
3449
3484
 
3450
- return _typeof$1(obj);
3485
+ return target;
3486
+ }
3487
+
3488
+ function _typeof$1(obj) {
3489
+ "@babel/helpers - typeof";
3490
+
3491
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
3492
+ return typeof obj;
3493
+ } : function (obj) {
3494
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3495
+ }, _typeof$1(obj);
3451
3496
  }
3452
3497
 
3453
3498
  function _defineProperty$1(obj, key, value) {
@@ -3465,40 +3510,6 @@ function _defineProperty$1(obj, key, value) {
3465
3510
  return obj;
3466
3511
  }
3467
3512
 
3468
- function ownKeys(object, enumerableOnly) {
3469
- var keys = Object.keys(object);
3470
-
3471
- if (Object.getOwnPropertySymbols) {
3472
- var symbols = Object.getOwnPropertySymbols(object);
3473
- if (enumerableOnly) symbols = symbols.filter(function (sym) {
3474
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
3475
- });
3476
- keys.push.apply(keys, symbols);
3477
- }
3478
-
3479
- return keys;
3480
- }
3481
-
3482
- function _objectSpread2(target) {
3483
- for (var i = 1; i < arguments.length; i++) {
3484
- var source = arguments[i] != null ? arguments[i] : {};
3485
-
3486
- if (i % 2) {
3487
- ownKeys(Object(source), true).forEach(function (key) {
3488
- _defineProperty$1(target, key, source[key]);
3489
- });
3490
- } else if (Object.getOwnPropertyDescriptors) {
3491
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
3492
- } else {
3493
- ownKeys(Object(source)).forEach(function (key) {
3494
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
3495
- });
3496
- }
3497
- }
3498
-
3499
- return target;
3500
- }
3501
-
3502
3513
  function _objectWithoutPropertiesLoose$1(source, excluded) {
3503
3514
  if (source == null) return {};
3504
3515
  var target = {};
@@ -3536,30 +3547,51 @@ function _objectWithoutProperties(source, excluded) {
3536
3547
  }
3537
3548
 
3538
3549
  function _toConsumableArray(arr) {
3539
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
3550
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
3540
3551
  }
3541
3552
 
3542
3553
  function _arrayWithoutHoles(arr) {
3543
- if (Array.isArray(arr)) {
3544
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
3545
-
3546
- return arr2;
3547
- }
3554
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
3548
3555
  }
3549
3556
 
3550
3557
  function _iterableToArray(iter) {
3551
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
3558
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3559
+ }
3560
+
3561
+ function _unsupportedIterableToArray(o, minLen) {
3562
+ if (!o) return;
3563
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
3564
+ var n = Object.prototype.toString.call(o).slice(8, -1);
3565
+ if (n === "Object" && o.constructor) n = o.constructor.name;
3566
+ if (n === "Map" || n === "Set") return Array.from(o);
3567
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
3568
+ }
3569
+
3570
+ function _arrayLikeToArray(arr, len) {
3571
+ if (len == null || len > arr.length) len = arr.length;
3572
+
3573
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
3574
+
3575
+ return arr2;
3552
3576
  }
3553
3577
 
3554
3578
  function _nonIterableSpread() {
3555
- throw new TypeError("Invalid attempt to spread non-iterable instance");
3579
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3556
3580
  }
3557
3581
 
3558
3582
  // Get CSS class list from a props object
3559
3583
  function classList(props) {
3560
3584
  var _classes;
3561
3585
 
3562
- var spin = props.spin,
3586
+ var beat = props.beat,
3587
+ fade = props.fade,
3588
+ beatFade = props.beatFade,
3589
+ bounce = props.bounce,
3590
+ shake = props.shake,
3591
+ flash = props.flash,
3592
+ spin = props.spin,
3593
+ spinPulse = props.spinPulse,
3594
+ spinReverse = props.spinReverse,
3563
3595
  pulse = props.pulse,
3564
3596
  fixedWidth = props.fixedWidth,
3565
3597
  inverse = props.inverse,
@@ -3571,7 +3603,15 @@ function classList(props) {
3571
3603
  pull = props.pull; // map of CSS class names to properties
3572
3604
 
3573
3605
  var classes = (_classes = {
3606
+ 'fa-beat': beat,
3607
+ 'fa-fade': fade,
3608
+ 'fa-beat-fade': beatFade,
3609
+ 'fa-bounce': bounce,
3610
+ 'fa-shake': shake,
3611
+ 'fa-flash': flash,
3574
3612
  'fa-spin': spin,
3613
+ 'fa-spin-reverse': spinReverse,
3614
+ 'fa-spin-pulse': spinPulse,
3575
3615
  'fa-pulse': pulse,
3576
3616
  'fa-fw': fixedWidth,
3577
3617
  'fa-inverse': inverse,
@@ -3612,6 +3652,8 @@ function camelize(string) {
3612
3652
  return string.substr(0, 1).toLowerCase() + string.substr(1);
3613
3653
  }
3614
3654
 
3655
+ var _excluded$1 = ["style"];
3656
+
3615
3657
  function capitalize(val) {
3616
3658
  return val.charAt(0).toUpperCase() + val.slice(1);
3617
3659
  }
@@ -3671,12 +3713,12 @@ function convert(createElement, element) {
3671
3713
 
3672
3714
  var _extraProps$style = extraProps.style,
3673
3715
  existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style,
3674
- remaining = _objectWithoutProperties(extraProps, ["style"]);
3716
+ remaining = _objectWithoutProperties(extraProps, _excluded$1);
3675
3717
 
3676
- mixins.attrs['style'] = _objectSpread2({}, mixins.attrs['style'], {}, existingStyle);
3718
+ mixins.attrs['style'] = _objectSpread2(_objectSpread2({}, mixins.attrs['style']), existingStyle);
3677
3719
  /* eslint-enable */
3678
3720
 
3679
- return createElement.apply(void 0, [element.tag, _objectSpread2({}, mixins.attrs, {}, remaining)].concat(_toConsumableArray(children)));
3721
+ return createElement.apply(void 0, [element.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray(children)));
3680
3722
  }
3681
3723
 
3682
3724
  var PRODUCTION = false;
@@ -3700,6 +3742,10 @@ function normalizeIconArgs(icon) {
3700
3742
  return icon;
3701
3743
  }
3702
3744
 
3745
+ if (parse.icon) {
3746
+ return parse.icon(icon);
3747
+ } // if the icon is null, there's nothing to do
3748
+
3703
3749
 
3704
3750
  if (icon === null) {
3705
3751
  return null;
@@ -3739,24 +3785,27 @@ function objectWithKey(key, value) {
3739
3785
  return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$1({}, key, value) : {};
3740
3786
  }
3741
3787
 
3788
+ var _excluded = ["forwardedRef"];
3742
3789
  function FontAwesomeIcon(_ref) {
3743
3790
  var forwardedRef = _ref.forwardedRef,
3744
- props = _objectWithoutProperties(_ref, ["forwardedRef"]);
3791
+ props = _objectWithoutProperties(_ref, _excluded);
3745
3792
 
3746
3793
  var iconArgs = props.icon,
3747
3794
  maskArgs = props.mask,
3748
3795
  symbol = props.symbol,
3749
3796
  className = props.className,
3750
3797
  title = props.title,
3751
- titleId = props.titleId;
3798
+ titleId = props.titleId,
3799
+ maskId = props.maskId;
3752
3800
  var iconLookup = normalizeIconArgs(iconArgs);
3753
3801
  var classes = objectWithKey('classes', [].concat(_toConsumableArray(classList(props)), _toConsumableArray(className.split(' '))));
3754
3802
  var transform = objectWithKey('transform', typeof props.transform === 'string' ? parse.transform(props.transform) : props.transform);
3755
3803
  var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
3756
- var renderedIcon = icon(iconLookup, _objectSpread2({}, classes, {}, transform, {}, mask, {
3804
+ var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
3757
3805
  symbol: symbol,
3758
3806
  title: title,
3759
- titleId: titleId
3807
+ titleId: titleId,
3808
+ maskId: maskId
3760
3809
  }));
3761
3810
 
3762
3811
  if (!renderedIcon) {
@@ -3778,9 +3827,14 @@ function FontAwesomeIcon(_ref) {
3778
3827
  }
3779
3828
  FontAwesomeIcon.displayName = 'FontAwesomeIcon';
3780
3829
  FontAwesomeIcon.propTypes = {
3830
+ beat: PropTypes.bool,
3781
3831
  border: PropTypes.bool,
3832
+ bounce: PropTypes.bool,
3782
3833
  className: PropTypes.string,
3834
+ fade: PropTypes.bool,
3835
+ flash: PropTypes.bool,
3783
3836
  mask: PropTypes.oneOfType([PropTypes.object, PropTypes.array, PropTypes.string]),
3837
+ maskId: PropTypes.string,
3784
3838
  fixedWidth: PropTypes.bool,
3785
3839
  inverse: PropTypes.bool,
3786
3840
  flip: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
@@ -3789,10 +3843,14 @@ FontAwesomeIcon.propTypes = {
3789
3843
  pull: PropTypes.oneOf(['right', 'left']),
3790
3844
  pulse: PropTypes.bool,
3791
3845
  rotation: PropTypes.oneOf([0, 90, 180, 270]),
3792
- size: PropTypes.oneOf(['lg', 'xs', 'sm', '1x', '2x', '3x', '4x', '5x', '6x', '7x', '8x', '9x', '10x']),
3846
+ shake: PropTypes.bool,
3847
+ size: PropTypes.oneOf(['2xs', 'xs', 'sm', 'lg', 'xl', '2xl', '1x', '2x', '3x', '4x', '5x', '6x', '7x', '8x', '9x', '10x']),
3793
3848
  spin: PropTypes.bool,
3849
+ spinPulse: PropTypes.bool,
3850
+ spinReverse: PropTypes.bool,
3794
3851
  symbol: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
3795
3852
  title: PropTypes.string,
3853
+ titleId: PropTypes.string,
3796
3854
  transform: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
3797
3855
  swapOpacity: PropTypes.bool
3798
3856
  };
@@ -3800,6 +3858,7 @@ FontAwesomeIcon.defaultProps = {
3800
3858
  border: false,
3801
3859
  className: '',
3802
3860
  mask: null,
3861
+ maskId: null,
3803
3862
  fixedWidth: false,
3804
3863
  inverse: false,
3805
3864
  flip: null,
@@ -3810,8 +3869,14 @@ FontAwesomeIcon.defaultProps = {
3810
3869
  rotation: null,
3811
3870
  size: null,
3812
3871
  spin: false,
3872
+ beat: false,
3873
+ fade: false,
3874
+ beatFade: false,
3875
+ bounce: false,
3876
+ shake: false,
3813
3877
  symbol: false,
3814
3878
  title: '',
3879
+ titleId: null,
3815
3880
  transform: null,
3816
3881
  swapOpacity: false
3817
3882
  };
@@ -3841,6 +3906,11 @@ var faExclamationTriangle = {
3841
3906
  iconName: 'exclamation-triangle',
3842
3907
  icon: [576, 512, [], "f071", "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]
3843
3908
  };
3909
+ var faInfoCircle = {
3910
+ prefix: 'fas',
3911
+ iconName: 'info-circle',
3912
+ icon: [512, 512, [], "f05a", "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]
3913
+ };
3844
3914
 
3845
3915
  const SECONDARY_BLUE = '#38598a';
3846
3916
  const LANDING_HEADER_FONT = '22px';
@@ -8347,6 +8417,18 @@ const styles$1 = {
8347
8417
  button: `
8348
8418
  background-color: #1a4dff;
8349
8419
  color: #e8edff;
8420
+ `,
8421
+ },
8422
+ plainText: {
8423
+ button: `
8424
+ background-color: unset;
8425
+ color: #0139ff;
8426
+ `,
8427
+ },
8428
+ danger: {
8429
+ button: `
8430
+ background-color: #ff1c1c;
8431
+ color: white;
8350
8432
  `,
8351
8433
  },
8352
8434
  secondary: {
@@ -8678,6 +8760,11 @@ const styles = {
8678
8760
  danger: {
8679
8761
  container: `
8680
8762
  background-color: #EAC2C1;
8763
+ `,
8764
+ },
8765
+ info: {
8766
+ container: `
8767
+ background-color: #FFDD81;
8681
8768
  `,
8682
8769
  },
8683
8770
  success: {
@@ -8715,9 +8802,22 @@ const DangerIcon = (React__default["default"].createElement("div", { style: {
8715
8802
  color: '#d94532',
8716
8803
  marginBottom: '0.1em',
8717
8804
  }, size: "sm" })));
8805
+ const InfoIcon = (React__default["default"].createElement("div", { style: {
8806
+ backgroundColor: 'white',
8807
+ marginRight: '1em',
8808
+ borderRadius: '50%',
8809
+ height: '1.5em',
8810
+ width: '1.5em',
8811
+ display: 'inline-block',
8812
+ textAlign: 'center',
8813
+ border: '1px solid #434a44',
8814
+ } },
8815
+ React__default["default"].createElement(FontAwesomeIcon, { icon: faInfoCircle, style: {
8816
+ color: '#000',
8817
+ marginBottom: '0.1em',
8818
+ }, size: "sm" })));
8718
8819
  const Alert = (props) => (React__default["default"].createElement(DefaultAlert, Object.assign({}, props),
8719
- props.variant === 'success' && SuccessIcon,
8720
- props.variant === 'danger' && DangerIcon,
8820
+ props.variant === 'success' ? SuccessIcon : props.variant === 'danger' ? DangerIcon : InfoIcon,
8721
8821
  props.children,
8722
8822
  props.content,
8723
8823
  React__default["default"].createElement(DefaultAlert.Close, null, "X")));