@vectara/vectara-ui 17.0.0 → 17.0.1

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.
@@ -33,6 +33,6 @@ export const VuiTabsNavigator = (_a) => {
33
33
  return (_jsx(VuiTab, Object.assign({ href: href, isActive: isRouteActive(route), "data-testid": testId, onClick: () => {
34
34
  onClick === null || onClick === void 0 ? void 0 : onClick();
35
35
  setIsOpen(false);
36
- } }, { children: _jsxs(VuiFlexContainer, Object.assign({ spacing: "s" }, { children: [title, append] })) }), index));
36
+ } }, { children: _jsxs(VuiFlexContainer, Object.assign({ spacing: "s", alignItems: "center" }, { children: [title, append] })) }), index));
37
37
  }) })) })));
38
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectara/vectara-ui",
3
- "version": "17.0.0",
3
+ "version": "17.0.1",
4
4
  "homepage": "./",
5
5
  "description": "Vectara's design system, codified as a React and Sass component library",
6
6
  "author": "Vectara",
@@ -1,5 +1,6 @@
1
1
  import { useLocation } from "react-router-dom";
2
- import { VuiBadge, VuiTabsNavigator } from "../../../lib";
2
+ import { VuiIcon, VuiTabsNavigator } from "../../../lib";
3
+ import { BiFlag } from "react-icons/bi";
3
4
 
4
5
  export const TabsNavigator = () => {
5
6
  const { hash } = useLocation();
@@ -12,9 +13,9 @@ export const TabsNavigator = () => {
12
13
  isActive: hash.endsWith("#home"),
13
14
  onClick: () => console.log("Home tab clicked"),
14
15
  append: (
15
- <VuiBadge color="danger" size="s">
16
- 3
17
- </VuiBadge>
16
+ <VuiIcon color="warning" size="xs">
17
+ <BiFlag />
18
+ </VuiIcon>
18
19
  )
19
20
  },
20
21
  {