@moda/om 19.4.2 → 19.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,10 +7,10 @@ Moda Operandi's design system expressed as React components.
7
7
  ## Meta
8
8
 
9
9
  - **State**: development
10
- - **Point people**: [@jmcriffey](https://github.com/jmcriffey)
10
+ - **Point people**: Ecommerce Team
11
11
  - **URLS**:
12
12
  - **Documentation**: https://moda-om-documentation.netlify.com/
13
- - **Storybook**: https://moda-om-storybook.netlify.com/
13
+ - **Storybook**: https://moda-om-storybook.netlify.app/
14
14
 
15
15
  ## Developing
16
16
 
@@ -69,6 +69,12 @@ Once you want to commit something, `git add` it then run the commitizen CLI. If
69
69
 
70
70
  When you're happy push to a feature branch and once the code is in `main`, semantic release will detect how to version it and automatically publish it to NPM.
71
71
 
72
+ - **Netlify deploy config** is located here: https://app.netlify.com/sites/moda-om-storybook/configuration/deploys
73
+
74
+ - **Netlify site overview**: https://app.netlify.com/sites/moda-om-storybook/overview
75
+
76
+ (settings specified in netlify.toml override any corresponding settings in the Netlify UI)
77
+
72
78
  ## Usage
73
79
 
74
80
  ### Getting Started
package/dist/index.cjs.js CHANGED
@@ -1021,6 +1021,85 @@ var colorStringExports = colorString.exports;
1021
1021
  __exportStar(helpers, exports);
1022
1022
  })(dist$4);
1023
1023
 
1024
+ function _arrayLikeToArray(r, a) {
1025
+ (null == a || a > r.length) && (a = r.length);
1026
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1027
+ return n;
1028
+ }
1029
+ function _arrayWithHoles(r) {
1030
+ if (Array.isArray(r)) return r;
1031
+ }
1032
+ function _arrayWithoutHoles(r) {
1033
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
1034
+ }
1035
+ function _createForOfIteratorHelper(r, e) {
1036
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1037
+ if (!t) {
1038
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
1039
+ t && (r = t);
1040
+ var n = 0,
1041
+ F = function () {};
1042
+ return {
1043
+ s: F,
1044
+ n: function () {
1045
+ return n >= r.length ? {
1046
+ done: !0
1047
+ } : {
1048
+ done: !1,
1049
+ value: r[n++]
1050
+ };
1051
+ },
1052
+ e: function (r) {
1053
+ throw r;
1054
+ },
1055
+ f: F
1056
+ };
1057
+ }
1058
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1059
+ }
1060
+ var o,
1061
+ a = !0,
1062
+ u = !1;
1063
+ return {
1064
+ s: function () {
1065
+ t = t.call(r);
1066
+ },
1067
+ n: function () {
1068
+ var r = t.next();
1069
+ return a = r.done, r;
1070
+ },
1071
+ e: function (r) {
1072
+ u = !0, o = r;
1073
+ },
1074
+ f: function () {
1075
+ try {
1076
+ a || null == t.return || t.return();
1077
+ } finally {
1078
+ if (u) throw o;
1079
+ }
1080
+ }
1081
+ };
1082
+ }
1083
+ function _defineProperty$1(e, r, t) {
1084
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1085
+ value: t,
1086
+ enumerable: !0,
1087
+ configurable: !0,
1088
+ writable: !0
1089
+ }) : e[r] = t, e;
1090
+ }
1091
+ function _extends$1() {
1092
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
1093
+ for (var e = 1; e < arguments.length; e++) {
1094
+ var t = arguments[e];
1095
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1096
+ }
1097
+ return n;
1098
+ }, _extends$1.apply(null, arguments);
1099
+ }
1100
+ function _iterableToArray(r) {
1101
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1102
+ }
1024
1103
  function _iterableToArrayLimit(r, l) {
1025
1104
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
1026
1105
  if (null != t) {
@@ -1048,6 +1127,15 @@ function _iterableToArrayLimit(r, l) {
1048
1127
  return a;
1049
1128
  }
1050
1129
  }
1130
+ function _nonIterableRest() {
1131
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1132
+ }
1133
+ function _nonIterableSpread() {
1134
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1135
+ }
1136
+ function _objectDestructuringEmpty(t) {
1137
+ if (null == t) throw new TypeError("Cannot destructure " + t);
1138
+ }
1051
1139
  function ownKeys(e, r) {
1052
1140
  var t = Object.keys(e);
1053
1141
  if (Object.getOwnPropertySymbols) {
@@ -1069,6 +1157,32 @@ function _objectSpread2(e) {
1069
1157
  }
1070
1158
  return e;
1071
1159
  }
1160
+ function _objectWithoutProperties(e, t) {
1161
+ if (null == e) return {};
1162
+ var o,
1163
+ r,
1164
+ i = _objectWithoutPropertiesLoose(e, t);
1165
+ if (Object.getOwnPropertySymbols) {
1166
+ var s = Object.getOwnPropertySymbols(e);
1167
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
1168
+ }
1169
+ return i;
1170
+ }
1171
+ function _objectWithoutPropertiesLoose(r, e) {
1172
+ if (null == r) return {};
1173
+ var t = {};
1174
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
1175
+ if (e.includes(n)) continue;
1176
+ t[n] = r[n];
1177
+ }
1178
+ return t;
1179
+ }
1180
+ function _slicedToArray(r, e) {
1181
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
1182
+ }
1183
+ function _toConsumableArray(r) {
1184
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1185
+ }
1072
1186
  function _toPrimitive(t, r) {
1073
1187
  if ("object" != typeof t || !t) return t;
1074
1188
  var e = t[Symbol.toPrimitive];
@@ -1092,147 +1206,12 @@ function _typeof$1(o) {
1092
1206
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
1093
1207
  }, _typeof$1(o);
1094
1208
  }
1095
- function _defineProperty$1(obj, key, value) {
1096
- key = _toPropertyKey(key);
1097
- if (key in obj) {
1098
- Object.defineProperty(obj, key, {
1099
- value: value,
1100
- enumerable: true,
1101
- configurable: true,
1102
- writable: true
1103
- });
1104
- } else {
1105
- obj[key] = value;
1106
- }
1107
- return obj;
1108
- }
1109
- function _extends$1() {
1110
- _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
1111
- for (var i = 1; i < arguments.length; i++) {
1112
- var source = arguments[i];
1113
- for (var key in source) {
1114
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1115
- target[key] = source[key];
1116
- }
1117
- }
1118
- }
1119
- return target;
1120
- };
1121
- return _extends$1.apply(this, arguments);
1122
- }
1123
- function _objectDestructuringEmpty(obj) {
1124
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
1125
- }
1126
- function _objectWithoutPropertiesLoose(source, excluded) {
1127
- if (source == null) return {};
1128
- var target = {};
1129
- for (var key in source) {
1130
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1131
- if (excluded.indexOf(key) >= 0) continue;
1132
- target[key] = source[key];
1133
- }
1209
+ function _unsupportedIterableToArray(r, a) {
1210
+ if (r) {
1211
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
1212
+ var t = {}.toString.call(r).slice(8, -1);
1213
+ 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;
1134
1214
  }
1135
- return target;
1136
- }
1137
- function _objectWithoutProperties(source, excluded) {
1138
- if (source == null) return {};
1139
- var target = _objectWithoutPropertiesLoose(source, excluded);
1140
- var key, i;
1141
- if (Object.getOwnPropertySymbols) {
1142
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
1143
- for (i = 0; i < sourceSymbolKeys.length; i++) {
1144
- key = sourceSymbolKeys[i];
1145
- if (excluded.indexOf(key) >= 0) continue;
1146
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
1147
- target[key] = source[key];
1148
- }
1149
- }
1150
- return target;
1151
- }
1152
- function _slicedToArray(arr, i) {
1153
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
1154
- }
1155
- function _toConsumableArray(arr) {
1156
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1157
- }
1158
- function _arrayWithoutHoles(arr) {
1159
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1160
- }
1161
- function _arrayWithHoles(arr) {
1162
- if (Array.isArray(arr)) return arr;
1163
- }
1164
- function _iterableToArray(iter) {
1165
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1166
- }
1167
- function _unsupportedIterableToArray(o, minLen) {
1168
- if (!o) return;
1169
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1170
- var n = Object.prototype.toString.call(o).slice(8, -1);
1171
- if (n === "Object" && o.constructor) n = o.constructor.name;
1172
- if (n === "Map" || n === "Set") return Array.from(o);
1173
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1174
- }
1175
- function _arrayLikeToArray(arr, len) {
1176
- if (len == null || len > arr.length) len = arr.length;
1177
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1178
- return arr2;
1179
- }
1180
- function _nonIterableSpread() {
1181
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1182
- }
1183
- function _nonIterableRest() {
1184
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1185
- }
1186
- function _createForOfIteratorHelper(o, allowArrayLike) {
1187
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
1188
- if (!it) {
1189
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike ) {
1190
- if (it) o = it;
1191
- var i = 0;
1192
- var F = function () {};
1193
- return {
1194
- s: F,
1195
- n: function () {
1196
- if (i >= o.length) return {
1197
- done: true
1198
- };
1199
- return {
1200
- done: false,
1201
- value: o[i++]
1202
- };
1203
- },
1204
- e: function (e) {
1205
- throw e;
1206
- },
1207
- f: F
1208
- };
1209
- }
1210
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1211
- }
1212
- var normalCompletion = true,
1213
- didErr = false,
1214
- err;
1215
- return {
1216
- s: function () {
1217
- it = it.call(o);
1218
- },
1219
- n: function () {
1220
- var step = it.next();
1221
- normalCompletion = step.done;
1222
- return step;
1223
- },
1224
- e: function (e) {
1225
- didErr = true;
1226
- err = e;
1227
- },
1228
- f: function () {
1229
- try {
1230
- if (!normalCompletion && it.return != null) it.return();
1231
- } finally {
1232
- if (didErr) throw err;
1233
- }
1234
- }
1235
- };
1236
1215
  }
1237
1216
 
1238
1217
  var isRenderProps = function isRenderProps(children) {
@@ -3365,24 +3344,24 @@ var isInert = function isInert(node) {
3365
3344
  var isVisibleUncached = function isVisibleUncached(node, checkParent) {
3366
3345
  return !node || isTopNode(node) || !isElementHidden(node) && !isInert(node) && checkParent(getParentNode(node));
3367
3346
  };
3368
- var isVisibleCached = function isVisibleCached(visibilityCache, node) {
3347
+ var _isVisibleCached = function isVisibleCached(visibilityCache, node) {
3369
3348
  var cached = visibilityCache.get(node);
3370
3349
  if (cached !== undefined) {
3371
3350
  return cached;
3372
3351
  }
3373
- var result = isVisibleUncached(node, isVisibleCached.bind(undefined, visibilityCache));
3352
+ var result = isVisibleUncached(node, _isVisibleCached.bind(undefined, visibilityCache));
3374
3353
  visibilityCache.set(node, result);
3375
3354
  return result;
3376
3355
  };
3377
3356
  var isAutoFocusAllowedUncached = function isAutoFocusAllowedUncached(node, checkParent) {
3378
3357
  return node && !isTopNode(node) ? isAutoFocusAllowed(node) ? checkParent(getParentNode(node)) : false : true;
3379
3358
  };
3380
- var isAutoFocusAllowedCached = function isAutoFocusAllowedCached(cache, node) {
3359
+ var _isAutoFocusAllowedCached = function isAutoFocusAllowedCached(cache, node) {
3381
3360
  var cached = cache.get(node);
3382
3361
  if (cached !== undefined) {
3383
3362
  return cached;
3384
3363
  }
3385
- var result = isAutoFocusAllowedUncached(node, isAutoFocusAllowedCached.bind(undefined, cache));
3364
+ var result = isAutoFocusAllowedUncached(node, _isAutoFocusAllowedCached.bind(undefined, cache));
3386
3365
  cache.set(node, result);
3387
3366
  return result;
3388
3367
  };
@@ -3466,9 +3445,9 @@ var tabbables = ['button:enabled', 'select:enabled', 'textarea:enabled', 'input:
3466
3445
 
3467
3446
  var queryTabbables = tabbables.join(',');
3468
3447
  var queryGuardTabbables = "".concat(queryTabbables, ", [data-focus-guard]");
3469
- var getFocusablesWithShadowDom = function getFocusablesWithShadowDom(parent, withGuards) {
3448
+ var _getFocusablesWithShadowDom = function getFocusablesWithShadowDom(parent, withGuards) {
3470
3449
  return toArray((parent.shadowRoot || parent).children).reduce(function (acc, child) {
3471
- return acc.concat(child.matches(withGuards ? queryGuardTabbables : queryTabbables) ? [child] : [], getFocusablesWithShadowDom(child));
3450
+ return acc.concat(child.matches(withGuards ? queryGuardTabbables : queryTabbables) ? [child] : [], _getFocusablesWithShadowDom(child));
3472
3451
  }, []);
3473
3452
  };
3474
3453
  var getFocusablesWithIFrame = function getFocusablesWithIFrame(parent, withGuards) {
@@ -3482,7 +3461,7 @@ var getFocusablesWithIFrame = function getFocusablesWithIFrame(parent, withGuard
3482
3461
  var getFocusables = function getFocusables(parents, withGuards) {
3483
3462
  return parents.reduce(function (acc, parent) {
3484
3463
  var _a;
3485
- var focusableWithShadowDom = getFocusablesWithShadowDom(parent, withGuards);
3464
+ var focusableWithShadowDom = _getFocusablesWithShadowDom(parent, withGuards);
3486
3465
  var focusableWithIframes = (_a = []).concat.apply(_a, focusableWithShadowDom.map(function (node) {
3487
3466
  return getFocusablesWithIFrame(node, withGuards);
3488
3467
  }));
@@ -3515,7 +3494,7 @@ var getParentAutofocusables = function getParentAutofocusables(parent) {
3515
3494
  */
3516
3495
  var filterFocusable = function filterFocusable(nodes, visibilityCache) {
3517
3496
  return toArray(nodes).filter(function (node) {
3518
- return isVisibleCached(visibilityCache, node);
3497
+ return _isVisibleCached(visibilityCache, node);
3519
3498
  }).filter(function (node) {
3520
3499
  return notHiddenInput(node);
3521
3500
  });
@@ -3525,7 +3504,7 @@ var filterAutoFocusable = function filterAutoFocusable(nodes, cache) {
3525
3504
  cache = new Map();
3526
3505
  }
3527
3506
  return toArray(nodes).filter(function (node) {
3528
- return isAutoFocusAllowedCached(cache, node);
3507
+ return _isAutoFocusAllowedCached(cache, node);
3529
3508
  });
3530
3509
  };
3531
3510
  /**
@@ -3565,9 +3544,9 @@ var parentAutofocusables = function parentAutofocusables(topNode, visibilityCach
3565
3544
  /*
3566
3545
  * Determines if element is contained in scope, including nested shadow DOMs
3567
3546
  */
3568
- var contains$1 = function contains(scope, element) {
3547
+ var _contains = function contains(scope, element) {
3569
3548
  if (scope.shadowRoot) {
3570
- return contains(scope.shadowRoot, element);
3549
+ return _contains(scope.shadowRoot, element);
3571
3550
  } else {
3572
3551
  if (Object.getPrototypeOf(scope).contains !== undefined && Object.getPrototypeOf(scope).contains.call(scope, element)) {
3573
3552
  return true;
@@ -3577,11 +3556,11 @@ var contains$1 = function contains(scope, element) {
3577
3556
  if (child instanceof HTMLIFrameElement) {
3578
3557
  var iframeBody = (_a = child.contentDocument) === null || _a === void 0 ? void 0 : _a.body;
3579
3558
  if (iframeBody) {
3580
- return contains(iframeBody, element);
3559
+ return _contains(iframeBody, element);
3581
3560
  }
3582
3561
  return false;
3583
3562
  }
3584
- return contains(child, element);
3563
+ return _contains(child, element);
3585
3564
  });
3586
3565
  }
3587
3566
  };
@@ -3618,8 +3597,8 @@ var filterNested = function filterNested(nodes) {
3618
3597
  * @param node
3619
3598
  * @returns {*}
3620
3599
  */
3621
- var getTopParent = function getTopParent(node) {
3622
- return node.parentNode ? getTopParent(node.parentNode) : node;
3600
+ var _getTopParent = function getTopParent(node) {
3601
+ return node.parentNode ? _getTopParent(node.parentNode) : node;
3623
3602
  };
3624
3603
  /**
3625
3604
  * returns all "focus containers" inside a given node
@@ -3630,7 +3609,7 @@ var getAllAffectedNodes = function getAllAffectedNodes(node) {
3630
3609
  var nodes = asArray(node);
3631
3610
  return nodes.filter(Boolean).reduce(function (acc, currentNode) {
3632
3611
  var group = currentNode.getAttribute(FOCUS_GROUP);
3633
- acc.push.apply(acc, group ? filterNested(toArray(getTopParent(currentNode).querySelectorAll("[".concat(FOCUS_GROUP, "=\"").concat(group, "\"]:not([").concat(FOCUS_DISABLED, "=\"disabled\"])")))) : [currentNode]);
3612
+ acc.push.apply(acc, group ? filterNested(toArray(_getTopParent(currentNode).querySelectorAll("[".concat(FOCUS_GROUP, "=\"").concat(group, "\"]:not([").concat(FOCUS_DISABLED, "=\"disabled\"])")))) : [currentNode]);
3634
3613
  return acc;
3635
3614
  }, []);
3636
3615
  };
@@ -3650,7 +3629,7 @@ var safeProbe = function safeProbe(cb) {
3650
3629
  * returns current active element. If the active element is a "container" itself(shadowRoot or iframe) returns active element inside it
3651
3630
  * @param [inDocument]
3652
3631
  */
3653
- var getActiveElement = function getActiveElement(inDocument) {
3632
+ var _getActiveElement = function getActiveElement(inDocument) {
3654
3633
  if (inDocument === void 0) {
3655
3634
  inDocument = document;
3656
3635
  }
@@ -3658,9 +3637,9 @@ var getActiveElement = function getActiveElement(inDocument) {
3658
3637
  return undefined;
3659
3638
  }
3660
3639
  var activeElement = inDocument.activeElement;
3661
- return activeElement.shadowRoot ? getActiveElement(activeElement.shadowRoot) : activeElement instanceof HTMLIFrameElement && safeProbe(function () {
3640
+ return activeElement.shadowRoot ? _getActiveElement(activeElement.shadowRoot) : activeElement instanceof HTMLIFrameElement && safeProbe(function () {
3662
3641
  return activeElement.contentWindow.document;
3663
- }) ? getActiveElement(activeElement.contentWindow.document) : activeElement;
3642
+ }) ? _getActiveElement(activeElement.contentWindow.document) : activeElement;
3664
3643
  };
3665
3644
 
3666
3645
  var focusInFrame = function focusInFrame(frame, activeElement) {
@@ -3678,13 +3657,13 @@ var focusInsideIframe = function focusInsideIframe(topNode, activeElement) {
3678
3657
  var focusInside = function focusInside(topNode, activeElement) {
3679
3658
  // const activeElement = document && getActiveElement();
3680
3659
  if (activeElement === void 0) {
3681
- activeElement = getActiveElement(getFirst(topNode).ownerDocument);
3660
+ activeElement = _getActiveElement(getFirst(topNode).ownerDocument);
3682
3661
  }
3683
3662
  if (!activeElement || activeElement.dataset && activeElement.dataset.focusGuard) {
3684
3663
  return false;
3685
3664
  }
3686
3665
  return getAllAffectedNodes(topNode).some(function (node) {
3687
- return contains$1(node, activeElement) || focusInsideIframe(node, activeElement);
3666
+ return _contains(node, activeElement) || focusInsideIframe(node, activeElement);
3688
3667
  });
3689
3668
  };
3690
3669
 
@@ -3700,13 +3679,13 @@ var focusIsHidden = function focusIsHidden(inDocument) {
3700
3679
  if (inDocument === void 0) {
3701
3680
  inDocument = document;
3702
3681
  }
3703
- var activeElement = getActiveElement(inDocument);
3682
+ var activeElement = _getActiveElement(inDocument);
3704
3683
  if (!activeElement) {
3705
3684
  return false;
3706
3685
  }
3707
3686
  // this does not support setting FOCUS_ALLOW within shadow dom
3708
3687
  return toArray(inDocument.querySelectorAll("[".concat(FOCUS_ALLOW, "]"))).some(function (node) {
3709
- return contains$1(node, activeElement);
3688
+ return _contains(node, activeElement);
3710
3689
  });
3711
3690
  };
3712
3691
 
@@ -3859,13 +3838,13 @@ var pickAutofocus = function pickAutofocus(nodesIndexes, orderedNodes, groups) {
3859
3838
  return pickFirstFocus(filterAutoFocusable(orderedNodes));
3860
3839
  };
3861
3840
 
3862
- var getParents = function getParents(node, parents) {
3841
+ var _getParents = function getParents(node, parents) {
3863
3842
  if (parents === void 0) {
3864
3843
  parents = [];
3865
3844
  }
3866
3845
  parents.push(node);
3867
3846
  if (node.parentNode) {
3868
- getParents(node.parentNode.host || node.parentNode, parents);
3847
+ _getParents(node.parentNode.host || node.parentNode, parents);
3869
3848
  }
3870
3849
  return parents;
3871
3850
  };
@@ -3876,8 +3855,8 @@ var getParents = function getParents(node, parents) {
3876
3855
  * @returns {boolean|*}
3877
3856
  */
3878
3857
  var getCommonParent = function getCommonParent(nodeA, nodeB) {
3879
- var parentsA = getParents(nodeA);
3880
- var parentsB = getParents(nodeB);
3858
+ var parentsA = _getParents(nodeA);
3859
+ var parentsB = _getParents(nodeB);
3881
3860
  // tslint:disable-next-line:prefer-for-of
3882
3861
  for (var i = 0; i < parentsA.length; i += 1) {
3883
3862
  var currentParent = parentsA[i];
@@ -3897,7 +3876,7 @@ var getTopCommonParent = function getTopCommonParent(baseActiveElement, leftEntr
3897
3876
  rightEntries.filter(Boolean).forEach(function (subEntry) {
3898
3877
  var common = getCommonParent(activeElement, subEntry);
3899
3878
  if (common) {
3900
- if (!topCommon || contains$1(common, topCommon)) {
3879
+ if (!topCommon || _contains(common, topCommon)) {
3901
3880
  topCommon = common;
3902
3881
  } else {
3903
3882
  topCommon = getCommonParent(common, topCommon);
@@ -3941,7 +3920,7 @@ var reorderNodes = function reorderNodes(srcNodes, dstNodes) {
3941
3920
  * @param lastNode
3942
3921
  */
3943
3922
  var focusSolver = function focusSolver(topNode, lastNode) {
3944
- var activeElement = getActiveElement(asArray(topNode).length > 0 ? document : getFirst(topNode).ownerDocument);
3923
+ var activeElement = _getActiveElement(asArray(topNode).length > 0 ? document : getFirst(topNode).ownerDocument);
3945
3924
  var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);
3946
3925
  var commonParent = getTopCommonParent(activeElement || topNode, topNode, entries);
3947
3926
  var visibilityCache = new Map();
@@ -4174,7 +4153,7 @@ var getRelativeFocusable = function getRelativeFocusable(element, scope, useTabb
4174
4153
  }
4175
4154
  var shards = asArray(scope);
4176
4155
  if (shards.every(function (shard) {
4177
- return !contains$1(shard, element);
4156
+ return !_contains(shard, element);
4178
4157
  })) {
4179
4158
  console.error('Active element is not contained in the scope');
4180
4159
  return {};
@@ -4790,9 +4769,9 @@ var handleScroll = function handleScroll(axis, endTarget, event, sourceDelta, no
4790
4769
  // self content
4791
4770
  targetInLock && (endTarget.contains(target) || endTarget === target));
4792
4771
  // handle epsilon around 0 (non standard zoom levels)
4793
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll )) {
4772
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
4794
4773
  shouldCancelScroll = true;
4795
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll )) {
4774
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
4796
4775
  shouldCancelScroll = true;
4797
4776
  }
4798
4777
  return shouldCancelScroll;
@@ -4986,15 +4965,15 @@ var counterMap = new WeakMap();
4986
4965
  var uncontrolledNodes = new WeakMap();
4987
4966
  var markerMap = {};
4988
4967
  var lockCount = 0;
4989
- var unwrapHost = function unwrapHost(node) {
4990
- return node && (node.host || unwrapHost(node.parentNode));
4968
+ var _unwrapHost = function unwrapHost(node) {
4969
+ return node && (node.host || _unwrapHost(node.parentNode));
4991
4970
  };
4992
4971
  var correctTargets = function correctTargets(parent, targets) {
4993
4972
  return targets.map(function (target) {
4994
4973
  if (parent.contains(target)) {
4995
4974
  return target;
4996
4975
  }
4997
- var correctedTarget = unwrapHost(target);
4976
+ var correctedTarget = _unwrapHost(target);
4998
4977
  if (correctedTarget && parent.contains(correctedTarget)) {
4999
4978
  return correctedTarget;
5000
4979
  }
@@ -5021,21 +5000,21 @@ var applyAttributeToOthers = function applyAttributeToOthers(originalTarget, par
5021
5000
  var hiddenNodes = [];
5022
5001
  var elementsToKeep = new Set();
5023
5002
  var elementsToStop = new Set(targets);
5024
- var keep = function keep(el) {
5003
+ var _keep = function keep(el) {
5025
5004
  if (!el || elementsToKeep.has(el)) {
5026
5005
  return;
5027
5006
  }
5028
5007
  elementsToKeep.add(el);
5029
- keep(el.parentNode);
5008
+ _keep(el.parentNode);
5030
5009
  };
5031
- targets.forEach(keep);
5032
- var deep = function deep(parent) {
5010
+ targets.forEach(_keep);
5011
+ var _deep = function deep(parent) {
5033
5012
  if (!parent || elementsToStop.has(parent)) {
5034
5013
  return;
5035
5014
  }
5036
5015
  Array.prototype.forEach.call(parent.children, function (node) {
5037
5016
  if (elementsToKeep.has(node)) {
5038
- deep(node);
5017
+ _deep(node);
5039
5018
  } else {
5040
5019
  var attr = node.getAttribute(controlAttribute);
5041
5020
  var alreadyHidden = attr !== null && attr !== 'false';
@@ -5056,7 +5035,7 @@ var applyAttributeToOthers = function applyAttributeToOthers(originalTarget, par
5056
5035
  }
5057
5036
  });
5058
5037
  };
5059
- deep(parentNode);
5038
+ _deep(parentNode);
5060
5039
  elementsToKeep.clear();
5061
5040
  lockCount++;
5062
5041
  return function () {
@@ -5520,12 +5499,8 @@ var T = function T() {
5520
5499
  return true;
5521
5500
  };
5522
5501
 
5523
- var _placeholder = {
5524
- '@@functional/placeholder': true
5525
- };
5526
-
5527
5502
  function _isPlaceholder(a) {
5528
- return a === _placeholder;
5503
+ return a != null && _typeof$1(a) === 'object' && a['@@functional/placeholder'] === true;
5529
5504
  }
5530
5505
 
5531
5506
  /**
@@ -10187,7 +10162,7 @@ var Search20 = function Search20(_a) {
10187
10162
  };
10188
10163
  Search20.displayName = 'Search20';
10189
10164
 
10190
- var _excluded$l = ["className", "onChange", "onClear", "roundBorders", "value"];
10165
+ var _excluded$l = ["className", "onChange", "onClear", "roundBorders", "noBorders", "value"];
10191
10166
  var DEFAULT_INPUT_VALUE = '';
10192
10167
  var SearchInput = function SearchInput(_ref) {
10193
10168
  var className = _ref.className,
@@ -10195,6 +10170,8 @@ var SearchInput = function SearchInput(_ref) {
10195
10170
  onClear = _ref.onClear,
10196
10171
  _ref$roundBorders = _ref.roundBorders,
10197
10172
  roundBorders = _ref$roundBorders === void 0 ? false : _ref$roundBorders,
10173
+ _ref$noBorders = _ref.noBorders,
10174
+ noBorders = _ref$noBorders === void 0 ? false : _ref$noBorders,
10198
10175
  _ref$value = _ref.value,
10199
10176
  value = _ref$value === void 0 ? DEFAULT_INPUT_VALUE : _ref$value,
10200
10177
  rest = _objectWithoutProperties(_ref, _excluded$l);
@@ -10223,7 +10200,8 @@ var SearchInput = function SearchInput(_ref) {
10223
10200
  className: "SearchInput__icon"
10224
10201
  }, /*#__PURE__*/React.createElement(Search20, null)), /*#__PURE__*/React.createElement(TextInput, _extends$1({
10225
10202
  className: classNames('SearchInput__input', {
10226
- 'SearchInput__input--round-borders': roundBorders
10203
+ 'SearchInput__input--round-borders': roundBorders,
10204
+ 'SearchInput__input--no-borders': noBorders
10227
10205
  }),
10228
10206
  onChange: handleChange,
10229
10207
  value: controlledValue,