@carbon/ibmdotcom-utilities 2.10.0 → 2.11.0-rc.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.
Files changed (33) hide show
  1. package/es/utilities/StickyHeader/StickyHeader.js +380 -163
  2. package/es/utilities/focuswrap/focuswrap.js +4 -4
  3. package/es/utilities/ipcinfoCookie/ipcinfoCookie.js +3 -3
  4. package/es/utilities/settings/settings.js +2 -2
  5. package/lib/utilities/StickyHeader/StickyHeader.js +381 -164
  6. package/lib/utilities/StickyHeader/index.js +1 -1
  7. package/lib/utilities/altlangs/altlangs.js +1 -1
  8. package/lib/utilities/altlangs/index.js +1 -1
  9. package/lib/utilities/calculateTotalWidth/index.js +1 -1
  10. package/lib/utilities/decodeString/index.js +1 -1
  11. package/lib/utilities/deprecate/index.js +1 -1
  12. package/lib/utilities/escaperegexp/index.js +1 -1
  13. package/lib/utilities/featureflag/index.js +1 -1
  14. package/lib/utilities/focuswrap/focuswrap.js +4 -4
  15. package/lib/utilities/ipcinfoCookie/index.js +1 -1
  16. package/lib/utilities/ipcinfoCookie/ipcinfoCookie.js +4 -4
  17. package/lib/utilities/loadNonLatinPlex/index.js +1 -1
  18. package/lib/utilities/markdownToHtml/index.js +1 -1
  19. package/lib/utilities/markdownToHtml/markdownToHtml.js +1 -1
  20. package/lib/utilities/on/index.js +1 -1
  21. package/lib/utilities/parseAspectRatio/index.js +1 -1
  22. package/lib/utilities/removeHtmlTagEntities/index.js +1 -1
  23. package/lib/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -1
  24. package/lib/utilities/sameHeight/index.js +1 -1
  25. package/lib/utilities/serialize/index.js +1 -1
  26. package/lib/utilities/settings/index.js +1 -1
  27. package/lib/utilities/settings/settings.js +2 -2
  28. package/lib/utilities/smoothScroll/index.js +1 -1
  29. package/lib/utilities/stripHTML/index.js +1 -1
  30. package/lib/utilities/uniqueid/index.js +1 -1
  31. package/package.json +2 -2
  32. package/umd/ibmdotcom-utilities.js +34 -29
  33. package/umd/ibmdotcom-utilities.min.js +3 -3
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  /**
8
8
  * Copyright IBM Corp. 2020, 2023
9
9
  *
@@ -1,7 +1,7 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
2
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
4
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  /**
@@ -12,10 +12,10 @@
12
12
  * @type {object} Settings object
13
13
  * @property {string} [stablePrefix=c4d] stable prefix
14
14
  * @property {string} [prefix=cds] core Carbon prefix
15
- * Carbon for IBM.com v2.10.0',
15
+ * Carbon for IBM.com v2.11.0',
16
16
  */
17
17
  var settings = {
18
- version: 'Carbon for IBM.com v2.10.0',
18
+ version: 'Carbon for IBM.com v2.11.0',
19
19
  stablePrefix: 'c4d',
20
20
  prefix: 'cds'
21
21
  };