@telus-uds/components-web 2.33.1 → 2.33.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,22 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-web
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 06 May 2024 16:33:57 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.33.2
|
|
8
|
+
|
|
9
|
+
Mon, 06 May 2024 16:33:57 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bug fixed for Terms and Conditions component, the component added extra padding to the page when the content exceed the mean height and overflows the container (35577399+JoshHC@users.noreply.github.com)
|
|
14
|
+
- Bump @telus-uds/components-base to v1.84.0
|
|
15
|
+
- Bump @telus-uds/system-theme-tokens to v2.55.0
|
|
16
|
+
|
|
7
17
|
## 2.33.1
|
|
8
18
|
|
|
9
|
-
Wed, 24 Apr 2024 16:
|
|
19
|
+
Wed, 24 Apr 2024 16:35:16 GMT
|
|
10
20
|
|
|
11
21
|
### Patches
|
|
12
22
|
|
|
@@ -97,6 +97,10 @@ const NonIndexedContentTitle = /*#__PURE__*/_styledComponents.default.div.withCo
|
|
|
97
97
|
paddingLeft: tokens.titlePaddingLeft
|
|
98
98
|
};
|
|
99
99
|
});
|
|
100
|
+
const MainContainer = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
101
|
+
displayName: "TermsAndConditions__MainContainer",
|
|
102
|
+
componentId: "components-web__sc-1199epn-5"
|
|
103
|
+
})(["overflow:hidden;"]);
|
|
100
104
|
|
|
101
105
|
/**
|
|
102
106
|
* Use `TermsAndConditions` to display important legal content.
|
|
@@ -127,7 +131,7 @@ const TermsAndConditions = /*#__PURE__*/(0, _react.forwardRef)((_ref6, ref) => {
|
|
|
127
131
|
const themeTokens = (0, _componentsBase.useThemeTokens)('TermsAndConditions', tokens, variant, {
|
|
128
132
|
viewport
|
|
129
133
|
});
|
|
130
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
134
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(MainContainer, {
|
|
131
135
|
...selectProps(rest),
|
|
132
136
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.Divider, {
|
|
133
137
|
tokens: {
|
|
@@ -89,6 +89,10 @@ const NonIndexedContentTitle = /*#__PURE__*/styled.div.withConfig({
|
|
|
89
89
|
paddingLeft: tokens.titlePaddingLeft
|
|
90
90
|
};
|
|
91
91
|
});
|
|
92
|
+
const MainContainer = /*#__PURE__*/styled.div.withConfig({
|
|
93
|
+
displayName: "TermsAndConditions__MainContainer",
|
|
94
|
+
componentId: "components-web__sc-1199epn-5"
|
|
95
|
+
})(["overflow:hidden;"]);
|
|
92
96
|
|
|
93
97
|
/**
|
|
94
98
|
* Use `TermsAndConditions` to display important legal content.
|
|
@@ -119,7 +123,7 @@ const TermsAndConditions = /*#__PURE__*/forwardRef((_ref6, ref) => {
|
|
|
119
123
|
const themeTokens = useThemeTokens('TermsAndConditions', tokens, variant, {
|
|
120
124
|
viewport
|
|
121
125
|
});
|
|
122
|
-
return /*#__PURE__*/_jsxs(
|
|
126
|
+
return /*#__PURE__*/_jsxs(MainContainer, {
|
|
123
127
|
...selectProps(rest),
|
|
124
128
|
children: [/*#__PURE__*/_jsx(Divider, {
|
|
125
129
|
tokens: {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
],
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@gorhom/portal": "^1.0.14",
|
|
8
|
-
"@telus-uds/components-base": "1.
|
|
8
|
+
"@telus-uds/components-base": "1.84.0",
|
|
9
9
|
"@telus-uds/system-constants": "^1.3.0",
|
|
10
10
|
"fscreen": "^1.2.0",
|
|
11
11
|
"lodash.omit": "^4.5.0",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"react-dates": "^21.8.0",
|
|
14
14
|
"react-helmet-async": "^1.3.0",
|
|
15
15
|
"react-moment-proptypes": "^1.8.1",
|
|
16
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
16
|
+
"@telus-uds/system-theme-tokens": "^2.55.0",
|
|
17
17
|
"prop-types": "^15.7.2",
|
|
18
18
|
"lodash.throttle": "^4.1.1",
|
|
19
19
|
"react-youtube": "^10.1.0",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"skip": true
|
|
84
84
|
},
|
|
85
85
|
"types": "types/index.d.ts",
|
|
86
|
-
"version": "2.33.
|
|
86
|
+
"version": "2.33.2"
|
|
87
87
|
}
|
|
@@ -63,6 +63,10 @@ const NonIndexedContentTitle = styled.div(({ tokens }) => ({
|
|
|
63
63
|
paddingLeft: tokens.titlePaddingLeft
|
|
64
64
|
}))
|
|
65
65
|
|
|
66
|
+
const MainContainer = styled.div`
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
`
|
|
69
|
+
|
|
66
70
|
/**
|
|
67
71
|
* Use `TermsAndConditions` to display important legal content.
|
|
68
72
|
*
|
|
@@ -93,7 +97,7 @@ const TermsAndConditions = forwardRef(
|
|
|
93
97
|
const themeTokens = useThemeTokens('TermsAndConditions', tokens, variant, { viewport })
|
|
94
98
|
|
|
95
99
|
return (
|
|
96
|
-
<
|
|
100
|
+
<MainContainer {...selectProps(rest)}>
|
|
97
101
|
<Divider tokens={{ color: themeTokens.dividerColor }} />
|
|
98
102
|
<ExpandCollapse
|
|
99
103
|
collapseTitle={getCopy('headingView')}
|
|
@@ -140,7 +144,7 @@ const TermsAndConditions = forwardRef(
|
|
|
140
144
|
</ContentContainer>
|
|
141
145
|
</ExpandCollapse>
|
|
142
146
|
<Divider tokens={{ color: themeTokens.dividerColor }} />
|
|
143
|
-
</
|
|
147
|
+
</MainContainer>
|
|
144
148
|
)
|
|
145
149
|
}
|
|
146
150
|
)
|