@xqmsg/ui-core 0.21.4 → 0.21.5

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.21.4",
2
+ "version": "0.21.5",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -96,5 +96,5 @@ const Template: Story<BannerProps> = args => (
96
96
 
97
97
  export const Default = Template.bind({});
98
98
  Default.args = {
99
- buttonText: 'Action',
99
+ // buttonText: 'Action',
100
100
  };
@@ -47,6 +47,7 @@ export const Banner: React.FC<BannerProps> = ({
47
47
  <Flex
48
48
  flexDirection={type === 'condensed' ? 'row' : 'column'}
49
49
  alignItems={type === 'condensed' ? 'center' : ''}
50
+ minHeight="26px"
50
51
  >
51
52
  <Box pr="8px">{Icon}</Box>
52
53
  <Box pt={type === 'condensed' ? 0 : '8px'}> {message}</Box>
@@ -24,7 +24,7 @@ export const Link: React.FC<LinkProps> = ({ variant, text, onClick }) => {
24
24
  }, [variant]);
25
25
 
26
26
  return (
27
- <Flex alignItems="center" cursor="pointer" onClick={onClick}>
27
+ <Flex alignItems="flex-start" cursor="pointer" onClick={onClick}>
28
28
  {getIcon}
29
29
  <Text variant="description-large" pl="2px" color={colors.fill.action}>
30
30
  {text}
@@ -74,9 +74,8 @@ export const NavigationMenu: React.FC<NavigationMenuProps> = ({
74
74
  <NavigationMenuItem
75
75
  {...bottomMenuItem}
76
76
  key={bottomMenuItem.label}
77
- isSelected={_selectedMenuItem === bottomMenuItem.label}
77
+ isSelected
78
78
  onClick={() => {
79
- setSelectedMenuItem(bottomMenuItem.label);
80
79
  if (bottomMenuItem.onClick) {
81
80
  bottomMenuItem.onClick();
82
81
  }