@telus-uds/components-base 1.32.0 → 1.33.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 +11 -2
- package/component-docs.json +16 -0
- package/lib/List/ListItem.js +2 -1
- package/lib-module/List/ListItem.js +2 -1
- package/package.json +2 -2
- package/src/List/ListItem.jsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on Tue, 04 Apr 2023
|
|
3
|
+
This log was last generated on Tue, 04 Apr 2023 19:53:51 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.33.0
|
|
8
|
+
|
|
9
|
+
Tue, 04 Apr 2023 19:53:51 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- fix: render with bold: true for list items with titles (kyle.king2@telus.com)
|
|
14
|
+
- Bump @telus-uds/system-theme-tokens to v2.17.0
|
|
15
|
+
|
|
7
16
|
## 1.32.0
|
|
8
17
|
|
|
9
|
-
Tue, 04 Apr 2023 14:45
|
|
18
|
+
Tue, 04 Apr 2023 14:52:45 GMT
|
|
10
19
|
|
|
11
20
|
### Minor changes
|
|
12
21
|
|
package/component-docs.json
CHANGED
|
@@ -368,6 +368,22 @@
|
|
|
368
368
|
"itemIconColor": "color",
|
|
369
369
|
"listGutter": "size"
|
|
370
370
|
},
|
|
371
|
+
"OrderedList": {
|
|
372
|
+
"headerFontWeight": "fontWeight",
|
|
373
|
+
"headerFontName": "fontName",
|
|
374
|
+
"itemMarginTop": "size",
|
|
375
|
+
"itemPaddingTop": "size",
|
|
376
|
+
"itemBulletWidth": "size",
|
|
377
|
+
"itemBulletHeight": "size",
|
|
378
|
+
"itemBulletContainerWidth": "size",
|
|
379
|
+
"interItemMargin": "size",
|
|
380
|
+
"listGutter": "size",
|
|
381
|
+
"itemFontName": "fontName",
|
|
382
|
+
"itemFontWeight": "fontWeight",
|
|
383
|
+
"itemFontSize": "fontSize",
|
|
384
|
+
"itemLineHeight": "lineHeight",
|
|
385
|
+
"itemColor": "color"
|
|
386
|
+
},
|
|
371
387
|
"Modal": {
|
|
372
388
|
"backdropColor": "color",
|
|
373
389
|
"backdropOpacity": "opacity",
|
package/lib/List/ListItem.js
CHANGED
|
@@ -41,7 +41,8 @@ const ListItem = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
41
41
|
...listItemProps,
|
|
42
42
|
children: [Boolean(title) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
|
|
43
43
|
variant: {
|
|
44
|
-
size: 'h4'
|
|
44
|
+
size: 'h4',
|
|
45
|
+
bold: true
|
|
45
46
|
},
|
|
46
47
|
children: title
|
|
47
48
|
}), children]
|
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.2.0",
|
|
14
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
+
"@telus-uds/system-theme-tokens": "^2.17.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.33.0"
|
|
76
76
|
}
|
package/src/List/ListItem.jsx
CHANGED
|
@@ -12,7 +12,7 @@ const ListItem = forwardRef(({ tokens, variant, children, title, ...listItemProp
|
|
|
12
12
|
const themeTokens = useThemeTokens('List', tokens, variant)
|
|
13
13
|
return (
|
|
14
14
|
<ListItemBase tokens={themeTokens} ref={ref} {...listItemProps}>
|
|
15
|
-
{Boolean(title) && <Typography variant={{ size: 'h4' }}>{title}</Typography>}
|
|
15
|
+
{Boolean(title) && <Typography variant={{ size: 'h4', bold: true }}>{title}</Typography>}
|
|
16
16
|
{children}
|
|
17
17
|
</ListItemBase>
|
|
18
18
|
)
|