Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 484bc8a

Browse files
authored
Update nav item height and fix text input cancel icon (#177)
1 parent d8ff005 commit 484bc8a

File tree

5 files changed

+69
-21
lines changed

5 files changed

+69
-21
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## 7.0.25
4+
### Changed
5+
- Update NavItemHeight to align with office fabric command bar fluent update
6+
7+
### Fixed
8+
- Add font family to text input cancel button to properly display it
9+
310
## 7.0.24
411
### Fixed
512
- Changed `icon` prop in `ActionTrigger` to be of type `string | ReactNode`

lib/components/Input/TextInput.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ $line-height-small: 4*$grid-size;
9494
pointer-events: none;
9595
cursor: pointer;
9696
right: 2*$grid-size;
97+
font-family: var(--icon-font-family);
9798

9899
@include rtl {
99100
right: unset;

lib/components/Navigation/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface NavigationItemContainerProperties {
2323
children: React.ReactNode;
2424
}
2525

26-
const NavItemHeight = 40;
26+
const NavItemHeight = 44;
2727

2828
export const Navigation = React.memo(({ isExpanded, onClick, attr, children, farBottomChildren }: NavigationProperties) => {
2929
const selectedBorderRef = React.createRef<HTMLDivElement>();

package-lock.json

Lines changed: 58 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/azure-iot-ux-fluent-controls",
3-
"version": "7.0.24",
3+
"version": "7.0.25",
44
"description": "Azure IoT UX Fluent Controls",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -26,7 +26,7 @@
2626
"node": ">=8"
2727
},
2828
"dependencies": {
29-
"@microsoft/azure-iot-ux-fluent-css": "^7.1.0",
29+
"@microsoft/azure-iot-ux-fluent-css": "^7.1.1",
3030
"classnames": "^2.2.5",
3131
"styled-components": "^4.2.0"
3232
},

0 commit comments

Comments
 (0)