react-magma-dom 4.9.0-next.8 → 4.9.0-next.9

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.
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { Omit } from '../../utils';
3
3
  import { HyperlinkProps } from '../Hyperlink';
4
4
  export declare const TARGET_ID = "reactMagmaMainContent";
5
- export interface SkipLinkProps extends Omit<HyperlinkProps, 'children'> {
5
+ export interface SkipLinkProps extends Omit<HyperlinkProps, 'children' | 'to'> {
6
6
  /**
7
7
  * The text in the skip link
8
8
  * @default "Skip Navigation"
package/dist/esm/index.js CHANGED
@@ -420,53 +420,41 @@ var isPropValid = /* #__PURE__ */memoize(function (prop) {
420
420
  /* Z+1 */);
421
421
 
422
422
  function _extends$1() {
423
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
424
- for (var i = 1; i < arguments.length; i++) {
425
- var source = arguments[i];
426
- for (var key in source) {
427
- if (Object.prototype.hasOwnProperty.call(source, key)) {
428
- target[key] = source[key];
429
- }
430
- }
423
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
424
+ for (var e = 1; e < arguments.length; e++) {
425
+ var t = arguments[e];
426
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
431
427
  }
432
- return target;
433
- };
434
- return _extends$1.apply(this, arguments);
428
+ return n;
429
+ }, _extends$1.apply(null, arguments);
435
430
  }
436
431
 
437
- function _assertThisInitialized(self) {
438
- if (self === void 0) {
439
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
440
- }
441
- return self;
432
+ function _assertThisInitialized(e) {
433
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
434
+ return e;
442
435
  }
443
436
 
444
- function _setPrototypeOf(o, p) {
445
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
446
- o.__proto__ = p;
447
- return o;
448
- };
449
- return _setPrototypeOf(o, p);
437
+ function _setPrototypeOf(t, e) {
438
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
439
+ return t.__proto__ = e, t;
440
+ }, _setPrototypeOf(t, e);
450
441
  }
451
442
 
452
- function _inheritsLoose(subClass, superClass) {
453
- subClass.prototype = Object.create(superClass.prototype);
454
- subClass.prototype.constructor = subClass;
455
- _setPrototypeOf(subClass, superClass);
443
+ function _inheritsLoose(t, o) {
444
+ t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
456
445
  }
457
446
 
458
- function _getPrototypeOf(o) {
459
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
460
- return o.__proto__ || Object.getPrototypeOf(o);
461
- };
462
- return _getPrototypeOf(o);
447
+ function _getPrototypeOf(t) {
448
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
449
+ return t.__proto__ || Object.getPrototypeOf(t);
450
+ }, _getPrototypeOf(t);
463
451
  }
464
452
 
465
- function _isNativeFunction(fn) {
453
+ function _isNativeFunction(t) {
466
454
  try {
467
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
468
- } catch (e) {
469
- return typeof fn === "function";
455
+ return -1 !== Function.toString.call(t).indexOf("[native code]");
456
+ } catch (n) {
457
+ return "function" == typeof t;
470
458
  }
471
459
  }
472
460
 
@@ -487,31 +475,27 @@ function _construct(t, e, r) {
487
475
  return r && _setPrototypeOf(p, r.prototype), p;
488
476
  }
489
477
 
490
- function _wrapNativeSuper(Class) {
491
- var _cache = typeof Map === "function" ? new Map() : undefined;
492
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
493
- if (Class === null || !_isNativeFunction(Class)) return Class;
494
- if (typeof Class !== "function") {
495
- throw new TypeError("Super expression must either be null or a function");
496
- }
497
- if (typeof _cache !== "undefined") {
498
- if (_cache.has(Class)) return _cache.get(Class);
499
- _cache.set(Class, Wrapper);
478
+ function _wrapNativeSuper(t) {
479
+ var r = "function" == typeof Map ? new Map() : void 0;
480
+ return _wrapNativeSuper = function _wrapNativeSuper(t) {
481
+ if (null === t || !_isNativeFunction(t)) return t;
482
+ if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
483
+ if (void 0 !== r) {
484
+ if (r.has(t)) return r.get(t);
485
+ r.set(t, Wrapper);
500
486
  }
501
487
  function Wrapper() {
502
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
488
+ return _construct(t, arguments, _getPrototypeOf(this).constructor);
503
489
  }
504
- Wrapper.prototype = Object.create(Class.prototype, {
490
+ return Wrapper.prototype = Object.create(t.prototype, {
505
491
  constructor: {
506
492
  value: Wrapper,
507
- enumerable: false,
508
- writable: true,
509
- configurable: true
493
+ enumerable: !1,
494
+ writable: !0,
495
+ configurable: !0
510
496
  }
511
- });
512
- return _setPrototypeOf(Wrapper, Class);
513
- };
514
- return _wrapNativeSuper(Class);
497
+ }), _setPrototypeOf(Wrapper, t);
498
+ }, _wrapNativeSuper(t);
515
499
  }
516
500
 
517
501
  // based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js