@carbon/ibmdotcom-utilities 2.10.0-rc.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.
- package/es/utilities/StickyHeader/StickyHeader.js +380 -163
- package/es/utilities/focuswrap/focuswrap.js +4 -4
- package/es/utilities/ipcinfoCookie/ipcinfoCookie.js +3 -3
- package/es/utilities/settings/settings.js +2 -2
- package/lib/utilities/StickyHeader/StickyHeader.js +381 -164
- package/lib/utilities/StickyHeader/index.js +1 -1
- package/lib/utilities/altlangs/altlangs.js +1 -1
- package/lib/utilities/altlangs/index.js +1 -1
- package/lib/utilities/calculateTotalWidth/index.js +1 -1
- package/lib/utilities/decodeString/index.js +1 -1
- package/lib/utilities/deprecate/index.js +1 -1
- package/lib/utilities/escaperegexp/index.js +1 -1
- package/lib/utilities/featureflag/index.js +1 -1
- package/lib/utilities/focuswrap/focuswrap.js +4 -4
- package/lib/utilities/ipcinfoCookie/index.js +1 -1
- package/lib/utilities/ipcinfoCookie/ipcinfoCookie.js +4 -4
- package/lib/utilities/loadNonLatinPlex/index.js +1 -1
- package/lib/utilities/markdownToHtml/index.js +1 -1
- package/lib/utilities/markdownToHtml/markdownToHtml.js +1 -1
- package/lib/utilities/on/index.js +1 -1
- package/lib/utilities/parseAspectRatio/index.js +1 -1
- package/lib/utilities/removeHtmlTagEntities/index.js +1 -1
- package/lib/utilities/removeHtmlTagEntities/removeHtmlTagEntities.js +1 -1
- package/lib/utilities/sameHeight/index.js +1 -1
- package/lib/utilities/serialize/index.js +1 -1
- package/lib/utilities/settings/index.js +1 -1
- package/lib/utilities/settings/settings.js +2 -2
- package/lib/utilities/smoothScroll/index.js +1 -1
- package/lib/utilities/stripHTML/index.js +1 -1
- package/lib/utilities/uniqueid/index.js +1 -1
- package/package.json +2 -2
- package/umd/ibmdotcom-utilities.js +34 -29
- package/umd/ibmdotcom-utilities.min.js +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
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(
|
|
4
|
-
function _arrayLikeToArray(
|
|
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(
|
|
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(
|
|
3
|
-
function _defineProperties(
|
|
4
|
-
function _createClass(
|
|
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.
|
|
15
|
+
* Carbon for IBM.com v2.11.0',
|
|
16
16
|
*/
|
|
17
17
|
var settings = {
|
|
18
|
-
version: 'Carbon for IBM.com v2.
|
|
18
|
+
version: 'Carbon for IBM.com v2.11.0',
|
|
19
19
|
stablePrefix: 'c4d',
|
|
20
20
|
prefix: 'cds'
|
|
21
21
|
};
|