@thecb/components 7.7.8-beta.10 → 7.7.8-beta.12
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/index.esm.js
CHANGED
|
@@ -24490,7 +24490,6 @@ var useCheckElementsInViewport = function useCheckElementsInViewport() {
|
|
|
24490
24490
|
for (var i = 0; i < elements.length; i++) {
|
|
24491
24491
|
var domEl = document.querySelector(elements[i]);
|
|
24492
24492
|
var boundingBox = domEl === null || domEl === void 0 ? void 0 : domEl.getBoundingClientRect();
|
|
24493
|
-
timesRun++;
|
|
24494
24493
|
|
|
24495
24494
|
if (domEl !== null) {
|
|
24496
24495
|
if (boundingBox.top < 0 || boundingBox.left < 0 || boundingBox.right > viewportWidth || boundingBox.bottom > viewportHeight) {
|
|
@@ -40375,14 +40374,14 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40375
40374
|
borderWidthOverride: "0 0 3px 0",
|
|
40376
40375
|
extraStyles: "text-align: center; display: block;",
|
|
40377
40376
|
as: "li",
|
|
40378
|
-
"aria-current": highlightIndex == i ? "step" : ""
|
|
40377
|
+
"aria-current": highlightIndex == i ? "step" : "",
|
|
40378
|
+
id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab")
|
|
40379
40379
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
40380
40380
|
variant: "p",
|
|
40381
40381
|
textAlign: "center",
|
|
40382
40382
|
color: themeValues.textColor,
|
|
40383
40383
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
40384
|
-
extraStyles: "display: block; white-space: nowrap;"
|
|
40385
|
-
id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab-text")
|
|
40384
|
+
extraStyles: "display: block; white-space: nowrap;"
|
|
40386
40385
|
}, t));
|
|
40387
40386
|
}), repeat( /*#__PURE__*/React.createElement(Box, null), boxesAfter))));
|
|
40388
40387
|
};
|