@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.cjs.js
CHANGED
|
@@ -24498,7 +24498,6 @@ var useCheckElementsInViewport = function useCheckElementsInViewport() {
|
|
|
24498
24498
|
for (var i = 0; i < elements.length; i++) {
|
|
24499
24499
|
var domEl = document.querySelector(elements[i]);
|
|
24500
24500
|
var boundingBox = domEl === null || domEl === void 0 ? void 0 : domEl.getBoundingClientRect();
|
|
24501
|
-
timesRun++;
|
|
24502
24501
|
|
|
24503
24502
|
if (domEl !== null) {
|
|
24504
24503
|
if (boundingBox.top < 0 || boundingBox.left < 0 || boundingBox.right > viewportWidth || boundingBox.bottom > viewportHeight) {
|
|
@@ -40383,14 +40382,14 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40383
40382
|
borderWidthOverride: "0 0 3px 0",
|
|
40384
40383
|
extraStyles: "text-align: center; display: block;",
|
|
40385
40384
|
as: "li",
|
|
40386
|
-
"aria-current": highlightIndex == i ? "step" : ""
|
|
40385
|
+
"aria-current": highlightIndex == i ? "step" : "",
|
|
40386
|
+
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")
|
|
40387
40387
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40388
40388
|
variant: "p",
|
|
40389
40389
|
textAlign: "center",
|
|
40390
40390
|
color: themeValues.textColor,
|
|
40391
40391
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
40392
|
-
extraStyles: "display: block; white-space: nowrap;"
|
|
40393
|
-
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")
|
|
40392
|
+
extraStyles: "display: block; white-space: nowrap;"
|
|
40394
40393
|
}, t));
|
|
40395
40394
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
40396
40395
|
};
|