@telus-uds/components-base 3.15.0 → 3.16.0
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,21 +1,20 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 12 Sep 2025 02:39:28 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 3.
|
|
7
|
+
## 3.16.0
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 12 Sep 2025 02:39:28 GMT
|
|
10
10
|
|
|
11
11
|
### Minor changes
|
|
12
12
|
|
|
13
|
-
- `
|
|
13
|
+
- `Carousel`: stories renamed and re-ordered in alphabetical order (35577399+JoshHC@users.noreply.github.com)
|
|
14
14
|
|
|
15
15
|
### Patches
|
|
16
16
|
|
|
17
|
-
- `
|
|
18
|
-
- `Expand-Collapse`: Fixing content rendering problems when nesting panels (oscar.palencia@telus.com)
|
|
17
|
+
- `Card`: Fix an a11y issue that makes a VoiceOver app announce "link" two times. (guillermo.peitzner@telus.com)
|
|
19
18
|
|
|
20
19
|
## 3.13.0
|
|
21
20
|
|
|
@@ -108,8 +108,7 @@ const PressableCardBase = /*#__PURE__*/_react.default.forwardRef((_ref, ref) =>
|
|
|
108
108
|
onMouseEnter: () => setHovered(true),
|
|
109
109
|
onMouseLeave: () => setHovered(false),
|
|
110
110
|
...selectProps({
|
|
111
|
-
...rest
|
|
112
|
-
accessibilityRole
|
|
111
|
+
...rest
|
|
113
112
|
}),
|
|
114
113
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
|
|
115
114
|
href: href,
|
|
@@ -136,6 +135,7 @@ const PressableCardBase = /*#__PURE__*/_react.default.forwardRef((_ref, ref) =>
|
|
|
136
135
|
},
|
|
137
136
|
style: staticStyles.linkContainer,
|
|
138
137
|
...(hrefAttrs || {}),
|
|
138
|
+
role: accessibilityRole,
|
|
139
139
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CardBase.default, {
|
|
140
140
|
tokens: getCardTokens({
|
|
141
141
|
pressed,
|
|
@@ -100,8 +100,7 @@ const PressableCardBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
100
100
|
onMouseEnter: () => setHovered(true),
|
|
101
101
|
onMouseLeave: () => setHovered(false),
|
|
102
102
|
...selectProps({
|
|
103
|
-
...rest
|
|
104
|
-
accessibilityRole
|
|
103
|
+
...rest
|
|
105
104
|
}),
|
|
106
105
|
children: /*#__PURE__*/_jsx("a", {
|
|
107
106
|
href: href,
|
|
@@ -128,6 +127,7 @@ const PressableCardBase = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
128
127
|
},
|
|
129
128
|
style: staticStyles.linkContainer,
|
|
130
129
|
...(hrefAttrs || {}),
|
|
130
|
+
role: accessibilityRole,
|
|
131
131
|
children: /*#__PURE__*/_jsx(CardBase, {
|
|
132
132
|
tokens: getCardTokens({
|
|
133
133
|
pressed,
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -134,7 +134,7 @@ const PressableCardBase = React.forwardRef(
|
|
|
134
134
|
dataSet={dataSet}
|
|
135
135
|
onMouseEnter={() => setHovered(true)}
|
|
136
136
|
onMouseLeave={() => setHovered(false)}
|
|
137
|
-
{...selectProps({ ...rest
|
|
137
|
+
{...selectProps({ ...rest })}
|
|
138
138
|
>
|
|
139
139
|
<a
|
|
140
140
|
href={href}
|
|
@@ -161,6 +161,7 @@ const PressableCardBase = React.forwardRef(
|
|
|
161
161
|
}}
|
|
162
162
|
style={staticStyles.linkContainer}
|
|
163
163
|
{...(hrefAttrs || {})}
|
|
164
|
+
role={accessibilityRole}
|
|
164
165
|
>
|
|
165
166
|
<CardBase
|
|
166
167
|
tokens={getCardTokens({ pressed, focused, hovered })}
|