@telus-uds/components-base 3.17.0 → 3.17.1
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,17 +1,16 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri, 12 Sep 2025
|
|
3
|
+
This log was last generated on Fri, 12 Sep 2025 17:00:54 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 3.17.
|
|
7
|
+
## 3.17.1
|
|
8
8
|
|
|
9
|
-
Fri, 12 Sep 2025
|
|
9
|
+
Fri, 12 Sep 2025 17:00:54 GMT
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Patches
|
|
12
12
|
|
|
13
|
-
- `
|
|
14
|
-
- Bump @telus-uds/system-theme-tokens to v4.14.0
|
|
13
|
+
- `Card`: fix pressable-card text-decoration when href is present (guillermo.peitzner@telus.com)
|
|
15
14
|
|
|
16
15
|
## 3.13.0
|
|
17
16
|
|
|
@@ -133,7 +133,10 @@ const PressableCardBase = /*#__PURE__*/_react.default.forwardRef((_ref, ref) =>
|
|
|
133
133
|
setFocused(false);
|
|
134
134
|
setPressed(false);
|
|
135
135
|
},
|
|
136
|
-
style:
|
|
136
|
+
style: {
|
|
137
|
+
...staticStyles.linkContainer,
|
|
138
|
+
textDecoration: 'none'
|
|
139
|
+
},
|
|
137
140
|
...(hrefAttrs || {}),
|
|
138
141
|
role: accessibilityRole,
|
|
139
142
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CardBase.default, {
|
|
@@ -178,8 +181,7 @@ const staticStyles = _StyleSheet.default.create({
|
|
|
178
181
|
},
|
|
179
182
|
linkContainer: {
|
|
180
183
|
flex: 1,
|
|
181
|
-
display: 'flex'
|
|
182
|
-
textDecoration: 'none'
|
|
184
|
+
display: 'flex'
|
|
183
185
|
}
|
|
184
186
|
});
|
|
185
187
|
PressableCardBase.displayName = 'PressableCardBase';
|
|
@@ -125,7 +125,10 @@ const PressableCardBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
125
125
|
setFocused(false);
|
|
126
126
|
setPressed(false);
|
|
127
127
|
},
|
|
128
|
-
style:
|
|
128
|
+
style: {
|
|
129
|
+
...staticStyles.linkContainer,
|
|
130
|
+
textDecoration: 'none'
|
|
131
|
+
},
|
|
129
132
|
...(hrefAttrs || {}),
|
|
130
133
|
role: accessibilityRole,
|
|
131
134
|
children: /*#__PURE__*/_jsx(CardBase, {
|
|
@@ -170,8 +173,7 @@ const staticStyles = StyleSheet.create({
|
|
|
170
173
|
},
|
|
171
174
|
linkContainer: {
|
|
172
175
|
flex: 1,
|
|
173
|
-
display: 'flex'
|
|
174
|
-
textDecoration: 'none'
|
|
176
|
+
display: 'flex'
|
|
175
177
|
}
|
|
176
178
|
});
|
|
177
179
|
PressableCardBase.displayName = 'PressableCardBase';
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -159,7 +159,7 @@ const PressableCardBase = React.forwardRef(
|
|
|
159
159
|
setFocused(false)
|
|
160
160
|
setPressed(false)
|
|
161
161
|
}}
|
|
162
|
-
style={staticStyles.linkContainer}
|
|
162
|
+
style={{ ...staticStyles.linkContainer, textDecoration: 'none' }}
|
|
163
163
|
{...(hrefAttrs || {})}
|
|
164
164
|
role={accessibilityRole}
|
|
165
165
|
>
|
|
@@ -204,8 +204,7 @@ const staticStyles = StyleSheet.create({
|
|
|
204
204
|
},
|
|
205
205
|
linkContainer: {
|
|
206
206
|
flex: 1,
|
|
207
|
-
display: 'flex'
|
|
208
|
-
textDecoration: 'none'
|
|
207
|
+
display: 'flex'
|
|
209
208
|
}
|
|
210
209
|
})
|
|
211
210
|
|