@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.7.8-beta.10",
3
+ "version": "7.7.8-beta.12",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -60,6 +60,7 @@ const HighlightTabRow = ({
60
60
  extraStyles="text-align: center; display: block;"
61
61
  as="li"
62
62
  aria-current={highlightIndex == i ? "step" : ""}
63
+ id={`${t?.toLowerCase()?.replace(/\s/g, "-")}-tab`}
63
64
  >
64
65
  <Text
65
66
  variant="p"
@@ -67,7 +68,6 @@ const HighlightTabRow = ({
67
68
  color={themeValues.textColor}
68
69
  weight={FONT_WEIGHT_SEMIBOLD}
69
70
  extraStyles="display: block; white-space: nowrap;"
70
- id={`${t?.toLowerCase()?.replace(/\s/g, "-")}-tab-text`}
71
71
  >
72
72
  {t}
73
73
  </Text>
@@ -36,7 +36,6 @@ const useCheckElementsInViewport = (
36
36
  for (let i = 0; i < elements.length; i++) {
37
37
  const domEl = document.querySelector(elements[i]);
38
38
  const boundingBox = domEl?.getBoundingClientRect();
39
- timesRun++;
40
39
 
41
40
  if (domEl !== null) {
42
41
  if (