@telus-uds/components-web 4.2.1 → 4.3.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 +16 -2
- package/lib/cjs/Table/Row.js +3 -3
- package/lib/cjs/Table/Table.js +1 -1
- package/lib/esm/Table/Row.js +3 -3
- package/lib/esm/Table/Table.js +1 -1
- package/package.json +2 -2
- package/src/Table/Row.jsx +2 -2
- package/src/Table/Table.jsx +1 -0
- package/types/Tooltip.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-web
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 11 Mar 2025 21:13:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 4.3.0
|
|
8
|
+
|
|
9
|
+
Tue, 11 Mar 2025 21:13:58 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- `Tooltip`: Customized/optional type props (shivam.gupta3@telus.com)
|
|
14
|
+
- Bump @telus-uds/components-base to v3.4.0
|
|
15
|
+
|
|
16
|
+
### Patches
|
|
17
|
+
|
|
18
|
+
- `Table`: fix row border tokens (guillermo.peitzner@telus.com)
|
|
19
|
+
- `Card`: fix interactiveCard background color (guillermo.peitzner@telus.com)
|
|
20
|
+
|
|
7
21
|
## 4.2.1
|
|
8
22
|
|
|
9
|
-
Wed, 05 Mar 2025 00:
|
|
23
|
+
Wed, 05 Mar 2025 00:06:37 GMT
|
|
10
24
|
|
|
11
25
|
### Patches
|
|
12
26
|
|
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
|
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
|
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.4.0",
|
|
9
9
|
"@telus-uds/system-constants": "^3.0.0",
|
|
10
10
|
"fscreen": "^1.2.0",
|
|
11
11
|
"lodash.omit": "^4.5.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"skip": true
|
|
83
83
|
},
|
|
84
84
|
"types": "types/index.d.ts",
|
|
85
|
-
"version": "4.
|
|
85
|
+
"version": "4.3.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({})
|
package/types/Tooltip.d.ts
CHANGED