@telus-uds/components-web 2.34.1 → 2.34.2

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/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @telus-uds/components-web
2
2
 
3
- This log was last generated on Thu, 23 May 2024 16:27:45 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 28 May 2024 14:52:42 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.34.2
8
+
9
+ Tue, 28 May 2024 14:52:42 GMT
10
+
11
+ ### Patches
12
+
13
+ - `Footnote`: fix hydration errors (guillermo.peitzner@telus.com)
14
+
7
15
  ## 2.34.1
8
16
 
9
- Thu, 23 May 2024 16:27:45 GMT
17
+ Thu, 23 May 2024 16:30:28 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -40,10 +40,6 @@ const StyledSup = /*#__PURE__*/_styledComponents.default.sup.withConfig({
40
40
  ...(0, _componentsBase.applyTextStyles)(fontNameAndWeight)
41
41
  };
42
42
  });
43
- const FootnoteLinkContainer = /*#__PURE__*/_styledComponents.default.div.withConfig({
44
- displayName: "FootnoteLink__FootnoteLinkContainer",
45
- componentId: "components-web__sc-17nd7xo-1"
46
- })(["display:inline-block;"]);
47
43
 
48
44
  /**
49
45
  * Use `FootnoteLink` to open `Footnote` component and display related legal content.
@@ -84,7 +80,7 @@ const FootnoteLink = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
84
80
  handleClick(index);
85
81
  }
86
82
  };
87
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(FootnoteLinkContainer, {
83
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
88
84
  ref: ref,
89
85
  children: numbers.map((num, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledSup, {
90
86
  onKeyDown: event => handleOnKeyDown(event, index),
@@ -33,10 +33,6 @@ const StyledSup = /*#__PURE__*/styled.sup.withConfig({
33
33
  ...applyTextStyles(fontNameAndWeight)
34
34
  };
35
35
  });
36
- const FootnoteLinkContainer = /*#__PURE__*/styled.div.withConfig({
37
- displayName: "FootnoteLink__FootnoteLinkContainer",
38
- componentId: "components-web__sc-17nd7xo-1"
39
- })(["display:inline-block;"]);
40
36
 
41
37
  /**
42
38
  * Use `FootnoteLink` to open `Footnote` component and display related legal content.
@@ -77,7 +73,7 @@ const FootnoteLink = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
77
73
  handleClick(index);
78
74
  }
79
75
  };
80
- return /*#__PURE__*/_jsx(FootnoteLinkContainer, {
76
+ return /*#__PURE__*/_jsx("span", {
81
77
  ref: ref,
82
78
  children: numbers.map((num, index) => /*#__PURE__*/_jsx(StyledSup, {
83
79
  onKeyDown: event => handleOnKeyDown(event, index),
package/package.json CHANGED
@@ -83,5 +83,5 @@
83
83
  "skip": true
84
84
  },
85
85
  "types": "types/index.d.ts",
86
- "version": "2.34.1"
86
+ "version": "2.34.2"
87
87
  }
@@ -33,10 +33,6 @@ const StyledSup = styled.sup(
33
33
  }
34
34
  )
35
35
 
36
- const FootnoteLinkContainer = styled.div`
37
- display: inline-block;
38
- `
39
-
40
36
  /**
41
37
  * Use `FootnoteLink` to open `Footnote` component and display related legal content.
42
38
  *
@@ -69,7 +65,7 @@ const FootnoteLink = React.forwardRef(
69
65
  }
70
66
 
71
67
  return (
72
- <FootnoteLinkContainer ref={ref}>
68
+ <span ref={ref}>
73
69
  {numbers.map((num, index) => (
74
70
  <StyledSup
75
71
  onKeyDown={(event) => handleOnKeyDown(event, index)}
@@ -86,7 +82,7 @@ const FootnoteLink = React.forwardRef(
86
82
  {`${num}${index !== numbers.length - 1 ? ',' : ''}`}
87
83
  </StyledSup>
88
84
  ))}
89
- </FootnoteLinkContainer>
85
+ </span>
90
86
  )
91
87
  }
92
88
  )