@telus-uds/components-web 4.2.1 → 4.4.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 +31 -2
- package/lib/cjs/Table/Row.js +3 -3
- package/lib/cjs/Table/Table.js +1 -1
- package/lib/cjs/VideoPicker/VideoPicker.js +1 -1
- package/lib/esm/Table/Row.js +3 -3
- package/lib/esm/Table/Table.js +1 -1
- package/lib/esm/VideoPicker/VideoPicker.js +1 -1
- package/package.json +3 -3
- package/src/Table/Row.jsx +2 -2
- package/src/Table/Table.jsx +1 -0
- package/src/VideoPicker/VideoPicker.jsx +1 -1
- package/types/DatePicker.d.ts +1 -0
- package/types/Tooltip.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,41 @@
|
|
|
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, 24 Mar 2025 16:24:15 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 4.4.0
|
|
8
|
+
|
|
9
|
+
Mon, 24 Mar 2025 16:24:15 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Code, Dynatrace alerts and vulnerabilities resolved (35577399+JoshHC@users.noreply.github.com)
|
|
14
|
+
- `ActivityIndicator`: new animation for the spinner and new `dots` variant added (35577399+JoshHC@users.noreply.github.com)
|
|
15
|
+
- Bump @telus-uds/components-base to v3.5.0
|
|
16
|
+
- Bump @telus-uds/system-theme-tokens to v4.3.0
|
|
17
|
+
|
|
18
|
+
### Patches
|
|
19
|
+
|
|
20
|
+
- `DatePicker`: add disabled type (sergio.ramirez@telus.com)
|
|
21
|
+
|
|
22
|
+
## 4.3.0
|
|
23
|
+
|
|
24
|
+
Tue, 11 Mar 2025 21:16:58 GMT
|
|
25
|
+
|
|
26
|
+
### Minor changes
|
|
27
|
+
|
|
28
|
+
- `Tooltip`: Customized/optional type props (shivam.gupta3@telus.com)
|
|
29
|
+
- Bump @telus-uds/components-base to v3.4.0
|
|
30
|
+
|
|
31
|
+
### Patches
|
|
32
|
+
|
|
33
|
+
- `Table`: fix row border tokens (guillermo.peitzner@telus.com)
|
|
34
|
+
- `Card`: fix interactiveCard background color (guillermo.peitzner@telus.com)
|
|
35
|
+
|
|
7
36
|
## 4.2.1
|
|
8
37
|
|
|
9
|
-
Wed, 05 Mar 2025 00:
|
|
38
|
+
Wed, 05 Mar 2025 00:06:37 GMT
|
|
10
39
|
|
|
11
40
|
### Patches
|
|
12
41
|
|
package/lib/cjs/Table/Row.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
13
13
|
const StyledTR = /*#__PURE__*/_styledComponents.default.tr.withConfig({
|
|
14
14
|
displayName: "Row__StyledTR",
|
|
15
15
|
componentId: "components-web__sc-6pbb9a-0"
|
|
16
|
-
})(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", ";border-top-width:", ";"], _ref => {
|
|
16
|
+
})(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", "px;border-top-width:", "px;"], _ref => {
|
|
17
17
|
let {
|
|
18
18
|
tokens
|
|
19
19
|
} = _ref;
|
|
@@ -32,12 +32,12 @@ const StyledTR = /*#__PURE__*/_styledComponents.default.tr.withConfig({
|
|
|
32
32
|
let {
|
|
33
33
|
tokens
|
|
34
34
|
} = _ref4;
|
|
35
|
-
return tokens?.rowBorderWidth ||
|
|
35
|
+
return `${tokens?.rowBorderWidth}` || 0;
|
|
36
36
|
}, _ref5 => {
|
|
37
37
|
let {
|
|
38
38
|
tokens
|
|
39
39
|
} = _ref5;
|
|
40
|
-
return tokens?.rowBorderTopWidth || tokens?.rowBorderWidth;
|
|
40
|
+
return `${tokens?.rowBorderTopWidth}` || tokens?.rowBorderWidth;
|
|
41
41
|
});
|
|
42
42
|
const Row = /*#__PURE__*/_react.default.forwardRef((_ref6, ref) => {
|
|
43
43
|
let {
|
package/lib/cjs/Table/Table.js
CHANGED
|
@@ -20,7 +20,7 @@ const StyledContainer = /*#__PURE__*/_styledComponents.default.div.withConfig({
|
|
|
20
20
|
const StyledTable = /*#__PURE__*/_styledComponents.default.table.withConfig({
|
|
21
21
|
displayName: "Table__StyledTable",
|
|
22
22
|
componentId: "components-web__sc-10d9q3m-1"
|
|
23
|
-
})(["margin:0;padding:0;width:", ";border:", ";"], _ref => {
|
|
23
|
+
})(["margin:0;padding:0;width:", ";border:", ";border-collapse:collapse;"], _ref => {
|
|
24
24
|
let {
|
|
25
25
|
fullWidth,
|
|
26
26
|
tableWidth
|
|
@@ -137,7 +137,7 @@ const VideoPicker = /*#__PURE__*/_react.default.forwardRef((_ref6, ref) => {
|
|
|
137
137
|
...themeTokens,
|
|
138
138
|
isFramed: isFramed,
|
|
139
139
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_VideoPickerPlayer.default, {
|
|
140
|
-
video: addVideoEventHandlers(currentVideo
|
|
140
|
+
video: addVideoEventHandlers(currentVideo),
|
|
141
141
|
videoPlayerRef: videoPlayerRef,
|
|
142
142
|
onStartVideo: onStartVideo
|
|
143
143
|
})
|
package/lib/esm/Table/Row.js
CHANGED
|
@@ -6,7 +6,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
6
6
|
const StyledTR = /*#__PURE__*/styled.tr.withConfig({
|
|
7
7
|
displayName: "Row__StyledTR",
|
|
8
8
|
componentId: "components-web__sc-6pbb9a-0"
|
|
9
|
-
})(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", ";border-top-width:", ";"], _ref => {
|
|
9
|
+
})(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", "px;border-top-width:", "px;"], _ref => {
|
|
10
10
|
let {
|
|
11
11
|
tokens
|
|
12
12
|
} = _ref;
|
|
@@ -25,12 +25,12 @@ const StyledTR = /*#__PURE__*/styled.tr.withConfig({
|
|
|
25
25
|
let {
|
|
26
26
|
tokens
|
|
27
27
|
} = _ref4;
|
|
28
|
-
return tokens?.rowBorderWidth ||
|
|
28
|
+
return `${tokens?.rowBorderWidth}` || 0;
|
|
29
29
|
}, _ref5 => {
|
|
30
30
|
let {
|
|
31
31
|
tokens
|
|
32
32
|
} = _ref5;
|
|
33
|
-
return tokens?.rowBorderTopWidth || tokens?.rowBorderWidth;
|
|
33
|
+
return `${tokens?.rowBorderTopWidth}` || tokens?.rowBorderWidth;
|
|
34
34
|
});
|
|
35
35
|
const Row = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
|
|
36
36
|
let {
|
package/lib/esm/Table/Table.js
CHANGED
|
@@ -13,7 +13,7 @@ const StyledContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
13
13
|
const StyledTable = /*#__PURE__*/styled.table.withConfig({
|
|
14
14
|
displayName: "Table__StyledTable",
|
|
15
15
|
componentId: "components-web__sc-10d9q3m-1"
|
|
16
|
-
})(["margin:0;padding:0;width:", ";border:", ";"], _ref => {
|
|
16
|
+
})(["margin:0;padding:0;width:", ";border:", ";border-collapse:collapse;"], _ref => {
|
|
17
17
|
let {
|
|
18
18
|
fullWidth,
|
|
19
19
|
tableWidth
|
|
@@ -128,7 +128,7 @@ const VideoPicker = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
|
|
|
128
128
|
...themeTokens,
|
|
129
129
|
isFramed: isFramed,
|
|
130
130
|
children: /*#__PURE__*/_jsx(VideoPickerPlayer, {
|
|
131
|
-
video: addVideoEventHandlers(currentVideo
|
|
131
|
+
video: addVideoEventHandlers(currentVideo),
|
|
132
132
|
videoPlayerRef: videoPlayerRef,
|
|
133
133
|
onStartVideo: onStartVideo
|
|
134
134
|
})
|
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": "^3.
|
|
8
|
+
"@telus-uds/components-base": "^3.5.0",
|
|
9
9
|
"@telus-uds/system-constants": "^3.0.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": "^4.
|
|
16
|
+
"@telus-uds/system-theme-tokens": "^4.3.0",
|
|
17
17
|
"prop-types": "^15.7.2",
|
|
18
18
|
"lodash.throttle": "^4.1.1",
|
|
19
19
|
"react-youtube": "^10.1.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"skip": true
|
|
83
83
|
},
|
|
84
84
|
"types": "types/index.d.ts",
|
|
85
|
-
"version": "4.
|
|
85
|
+
"version": "4.4.0"
|
|
86
86
|
}
|
package/src/Table/Row.jsx
CHANGED
|
@@ -10,8 +10,8 @@ const StyledTR = styled.tr`
|
|
|
10
10
|
border-style: ${({ tokens }) =>
|
|
11
11
|
tokens?.rowBorderWidth || tokens?.rowBorderTopWidth ? 'solid' : 'none'};
|
|
12
12
|
border-color: ${({ tokens }) => tokens?.rowBorderColor};
|
|
13
|
-
border-width: ${({ tokens }) => tokens?.rowBorderWidth ||
|
|
14
|
-
border-top-width: ${({ tokens }) => tokens?.rowBorderTopWidth || tokens?.rowBorderWidth};
|
|
13
|
+
border-width: ${({ tokens }) => `${tokens?.rowBorderWidth}` || 0}px;
|
|
14
|
+
border-top-width: ${({ tokens }) => `${tokens?.rowBorderTopWidth}` || tokens?.rowBorderWidth}px;
|
|
15
15
|
`
|
|
16
16
|
|
|
17
17
|
const Row = React.forwardRef(({ children, tokens: rowTokens }, ref) => {
|
package/src/Table/Table.jsx
CHANGED
|
@@ -22,6 +22,7 @@ const StyledTable = styled.table`
|
|
|
22
22
|
padding: 0;
|
|
23
23
|
width: ${({ fullWidth, tableWidth }) => (fullWidth ? '100%' : `${tableWidth}px`)};
|
|
24
24
|
border: ${(props) => `${props.borderWidth}px solid ${props.borderColor}`};
|
|
25
|
+
border-collapse: collapse;
|
|
25
26
|
`
|
|
26
27
|
|
|
27
28
|
const TableContext = React.createContext({})
|
|
@@ -136,7 +136,7 @@ const VideoPicker = React.forwardRef(
|
|
|
136
136
|
>
|
|
137
137
|
<VideoPlayerContainer {...themeTokens} isFramed={isFramed}>
|
|
138
138
|
<VideoPickerPlayer
|
|
139
|
-
video={addVideoEventHandlers(currentVideo
|
|
139
|
+
video={addVideoEventHandlers(currentVideo)}
|
|
140
140
|
videoPlayerRef={videoPlayerRef}
|
|
141
141
|
onStartVideo={onStartVideo}
|
|
142
142
|
/>
|
package/types/DatePicker.d.ts
CHANGED
package/types/Tooltip.d.ts
CHANGED