@telus-uds/components-base 1.55.0 → 1.56.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 +20 -3
- package/component-docs.json +1 -0
- package/lib/InputLabel/InputLabel.js +2 -1
- package/lib/Link/LinkBase.js +3 -3
- package/lib/Select/Select.js +3 -2
- package/lib-module/InputLabel/InputLabel.js +2 -1
- package/lib-module/Link/LinkBase.js +3 -3
- package/lib-module/Select/Select.js +3 -2
- package/package.json +2 -2
- package/src/InputLabel/InputLabel.jsx +4 -1
- package/src/Link/LinkBase.jsx +3 -4
- package/src/Select/Select.jsx +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 21 Jul 2023 00:42:38 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.56.0
|
|
8
|
+
|
|
9
|
+
Fri, 21 Jul 2023 00:42:38 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Rebranded Box for Koodo (wlsdud194@hotmail.com)
|
|
14
|
+
- Branch updated with rebase for components base (35577399+JoshHC@users.noreply.github.com)
|
|
15
|
+
- space of 4px added between the validation and the chevron icons for select component (35577399+JoshHC@users.noreply.github.com)
|
|
16
|
+
- fix content shifting issue in Card component (kyle.king2@telus.com)
|
|
17
|
+
- Bump @telus-uds/system-theme-tokens to v2.39.0
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- fix stories for inverse variant icon (mauricio.batresmontejo@telus.com)
|
|
22
|
+
- rebrand inputlabel for koodo (mauricio.batresmontejo@telus.com)
|
|
23
|
+
|
|
7
24
|
## 1.55.0
|
|
8
25
|
|
|
9
|
-
Fri, 14 Jul 2023 19:
|
|
26
|
+
Fri, 14 Jul 2023 19:47:50 GMT
|
|
10
27
|
|
|
11
28
|
### Minor changes
|
|
12
29
|
|
|
13
30
|
- Refactored IconButton to accomodate QuantitySelector standardization (wlsdud194@hotmail.com)
|
|
14
31
|
- Fixed test data and introduced background color token to base component. (akshay.pandey1@telus.com)
|
|
15
|
-
- Added use of CarouselThumbnail
|
|
32
|
+
- Added use of CarouselThumbnail (kyle.king2@telus.com)
|
|
16
33
|
- Bump @telus-uds/system-constants to v1.3.0
|
|
17
34
|
- Bump @telus-uds/system-theme-tokens to v2.38.0
|
|
18
35
|
|
package/component-docs.json
CHANGED
|
@@ -1666,6 +1666,7 @@
|
|
|
1666
1666
|
"animationPaddingBottomBefore": "size",
|
|
1667
1667
|
"animationPaddingBottomAfter": "size",
|
|
1668
1668
|
"animationPaddingTopBefore": "size",
|
|
1669
|
+
"padding": "size",
|
|
1669
1670
|
"animationPaddingTopAfter": "size",
|
|
1670
1671
|
"animationBackgroundColorBefore": "color",
|
|
1671
1672
|
"animationBackgroundColorAfter": "color",
|
|
@@ -100,7 +100,8 @@ const InputLabel = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
|
|
|
100
100
|
children: hint
|
|
101
101
|
}), hasTooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)(_View.default, {
|
|
102
102
|
style: [staticStyles.tooltipAlign, {
|
|
103
|
-
height: themeTokens.fontSize * themeTokens.lineHeight
|
|
103
|
+
height: themeTokens.fontSize * themeTokens.lineHeight,
|
|
104
|
+
color: themeTokens.color
|
|
104
105
|
}],
|
|
105
106
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.default, {
|
|
106
107
|
content: tooltip,
|
package/lib/Link/LinkBase.js
CHANGED
package/lib/Select/Select.js
CHANGED
|
@@ -143,7 +143,8 @@ const selectIconContainerStyles = _ref4 => {
|
|
|
143
143
|
paddingBottom
|
|
144
144
|
} = _ref4;
|
|
145
145
|
return {
|
|
146
|
-
paddingRight,
|
|
146
|
+
paddingRight: paddingRight + 4,
|
|
147
|
+
marginRight: -4,
|
|
147
148
|
paddingBottom
|
|
148
149
|
};
|
|
149
150
|
};
|
|
@@ -167,7 +168,7 @@ const selectValidationIconContainerStyles = _ref6 => {
|
|
|
167
168
|
paddingBottom
|
|
168
169
|
} = _ref6;
|
|
169
170
|
return {
|
|
170
|
-
paddingRight: icon ? paddingRight + iconSize : paddingRight,
|
|
171
|
+
paddingRight: icon ? paddingRight + iconSize + 4 : paddingRight,
|
|
171
172
|
...(_Platform.default.OS === 'android' ? {
|
|
172
173
|
paddingBottom: paddingBottom + _constants.ANDROID_VALIDATION_ICON_CONTAINER_OFFSET
|
|
173
174
|
} : {
|
|
@@ -79,7 +79,8 @@ const InputLabel = /*#__PURE__*/forwardRef((_ref3, ref) => {
|
|
|
79
79
|
children: hint
|
|
80
80
|
}), hasTooltip && /*#__PURE__*/_jsx(View, {
|
|
81
81
|
style: [staticStyles.tooltipAlign, {
|
|
82
|
-
height: themeTokens.fontSize * themeTokens.lineHeight
|
|
82
|
+
height: themeTokens.fontSize * themeTokens.lineHeight,
|
|
83
|
+
color: themeTokens.color
|
|
83
84
|
}],
|
|
84
85
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
|
85
86
|
content: tooltip,
|
|
@@ -118,7 +118,8 @@ const selectIconContainerStyles = _ref4 => {
|
|
|
118
118
|
paddingBottom
|
|
119
119
|
} = _ref4;
|
|
120
120
|
return {
|
|
121
|
-
paddingRight,
|
|
121
|
+
paddingRight: paddingRight + 4,
|
|
122
|
+
marginRight: -4,
|
|
122
123
|
paddingBottom
|
|
123
124
|
};
|
|
124
125
|
};
|
|
@@ -142,7 +143,7 @@ const selectValidationIconContainerStyles = _ref6 => {
|
|
|
142
143
|
paddingBottom
|
|
143
144
|
} = _ref6;
|
|
144
145
|
return {
|
|
145
|
-
paddingRight: icon ? paddingRight + iconSize : paddingRight,
|
|
146
|
+
paddingRight: icon ? paddingRight + iconSize + 4 : paddingRight,
|
|
146
147
|
...(Platform.OS === 'android' ? {
|
|
147
148
|
paddingBottom: paddingBottom + ANDROID_VALIDATION_ICON_CONTAINER_OFFSET
|
|
148
149
|
} : {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@floating-ui/react-native": "^0.8.1",
|
|
12
12
|
"@gorhom/portal": "^1.0.14",
|
|
13
13
|
"@telus-uds/system-constants": "^1.3.0",
|
|
14
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
+
"@telus-uds/system-theme-tokens": "^2.39.0",
|
|
15
15
|
"airbnb-prop-types": "^2.16.0",
|
|
16
16
|
"lodash.debounce": "^4.0.8",
|
|
17
17
|
"lodash.merge": "^4.6.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"standard-engine": {
|
|
73
73
|
"skip": true
|
|
74
74
|
},
|
|
75
|
-
"version": "1.
|
|
75
|
+
"version": "1.56.0"
|
|
76
76
|
}
|
|
@@ -86,7 +86,10 @@ const InputLabel = forwardRef(
|
|
|
86
86
|
<View
|
|
87
87
|
style={[
|
|
88
88
|
staticStyles.tooltipAlign,
|
|
89
|
-
{
|
|
89
|
+
{
|
|
90
|
+
height: themeTokens.fontSize * themeTokens.lineHeight,
|
|
91
|
+
color: themeTokens.color
|
|
92
|
+
}
|
|
90
93
|
]}
|
|
91
94
|
>
|
|
92
95
|
<Tooltip content={tooltip} copy={copy} />
|
package/src/Link/LinkBase.jsx
CHANGED
|
@@ -36,9 +36,9 @@ const selectOuterBorderStyles = ({
|
|
|
36
36
|
...applyOuterBorder({
|
|
37
37
|
outerBorderColor,
|
|
38
38
|
outerBorderWidth,
|
|
39
|
-
outerBorderGap
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
outerBorderGap
|
|
40
|
+
}),
|
|
41
|
+
borderRadius
|
|
42
42
|
}
|
|
43
43
|
: {}
|
|
44
44
|
|
|
@@ -156,7 +156,6 @@ const LinkBase = forwardRef(
|
|
|
156
156
|
const themeTokens = resolveLinkTokens(linkState)
|
|
157
157
|
const outerBorderStyles = selectOuterBorderStyles(themeTokens)
|
|
158
158
|
const decorationStyles = selectDecorationStyles(themeTokens)
|
|
159
|
-
|
|
160
159
|
return [
|
|
161
160
|
outerBorderStyles,
|
|
162
161
|
blockLeftStyle,
|
package/src/Select/Select.jsx
CHANGED
|
@@ -119,7 +119,8 @@ const selectIconTokens = ({ iconSize, iconColor }) => ({
|
|
|
119
119
|
})
|
|
120
120
|
|
|
121
121
|
const selectIconContainerStyles = ({ paddingRight, paddingBottom }) => ({
|
|
122
|
-
paddingRight,
|
|
122
|
+
paddingRight: paddingRight + 4,
|
|
123
|
+
marginRight: -4,
|
|
123
124
|
paddingBottom
|
|
124
125
|
})
|
|
125
126
|
|
|
@@ -134,7 +135,7 @@ const selectValidationIconContainerStyles = ({
|
|
|
134
135
|
paddingRight = 0,
|
|
135
136
|
paddingBottom
|
|
136
137
|
}) => ({
|
|
137
|
-
paddingRight: icon ? paddingRight + iconSize : paddingRight,
|
|
138
|
+
paddingRight: icon ? paddingRight + iconSize + 4 : paddingRight,
|
|
138
139
|
...(Platform.OS === 'android'
|
|
139
140
|
? {
|
|
140
141
|
paddingBottom: paddingBottom + ANDROID_VALIDATION_ICON_CONTAINER_OFFSET
|