@symply.io/basic-components 1.6.9-alpha.1 → 1.6.9-alpha.2

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.
@@ -26,11 +26,11 @@ import useTheme from "@mui/material/styles/useTheme";
26
26
  import SidebarItem from "./SidebarItem";
27
27
  function SidebarLink(props) {
28
28
  var pathname = useLocation().pathname;
29
- var id = props.id, name = props.name, path = props.path, icon = props.icon, lock = props.lock, beta = props.beta, active = props.active, titleForLock = props.titleForLock, betaTagColor = props.betaTagColor, rest = __rest(props, ["id", "name", "path", "icon", "lock", "beta", "active", "titleForLock", "betaTagColor"]);
29
+ var id = props.id, name = props.name, path = props.path, icon = props.icon, lock = props.lock, beta = props.beta, badge = props.badge, active = props.active, titleForLock = props.titleForLock, betaTagColor = props.betaTagColor, rest = __rest(props, ["id", "name", "path", "icon", "lock", "beta", "badge", "active", "titleForLock", "betaTagColor"]);
30
30
  var theme = useTheme();
31
31
  return (_jsx(_Fragment, { children: _jsx(Link, __assign({ id: id, to: lock ? pathname : path, title: lock ? titleForLock || "Feature is unavailable on Free plan" : name, style: {
32
32
  color: theme.palette.primary.main,
33
33
  textDecoration: "none"
34
- } }, { children: _jsx(SidebarItem, __assign({ name: name, icon: icon, lock: lock, beta: beta, active: active, betaTagColor: betaTagColor }, rest), name) })) }));
34
+ } }, { children: _jsx(SidebarItem, __assign({ name: name, icon: icon, lock: lock, beta: beta, badge: badge, active: active, betaTagColor: betaTagColor }, rest), name) })) }));
35
35
  }
36
36
  export default SidebarLink;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.6.9-alpha.1",
3
+ "version": "1.6.9-alpha.2",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",