orcs-design-system 2.1.2 → 2.1.3

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.
@@ -82,17 +82,17 @@ export var SidebarTab = styled("label").attrs(function (props) {
82
82
  justifyContent: "center",
83
83
  width: "100%",
84
84
  transition: themeGet("transition.transitionDefault")(props),
85
- color: props.active ? themeGet("colors.primary")(props) : themeGet("colors.greyLightest")(props),
85
+ color: themeGet("colors.greyLightest")(props),
86
86
  bg: props.active ? themeGet("colors.greyDarker")(props) : "transparent",
87
87
  cursor: props.active ? "default" : "pointer",
88
88
  path: {
89
+ transition: themeGet("transition.transitionDefault")(props),
89
90
  fill: themeGet("colors.greyLightest")(props)
90
91
  },
91
92
  "&:hover": {
92
- bg: props.active ? themeGet("colors.greyDarker")(props) : themeGet("colors.black20")(props),
93
- color: props.active ? themeGet("colors.primary")(props) : themeGet("colors.warning")(props),
93
+ color: props.active ? themeGet("colors.greyLightest")(props) : themeGet("colors.primary")(props),
94
94
  path: {
95
- fill: themeGet("colors.warning")(props)
95
+ fill: props.active ? themeGet("colors.greyLightest")(props) : themeGet("colors.primary")(props)
96
96
  }
97
97
  },
98
98
  "&.Sidebar__Badge": {
@@ -119,6 +119,9 @@ SidebarTab.propTypes = {
119
119
  /** SidebarTab children are rendered as node elements */
120
120
  children: PropTypes.node,
121
121
 
122
+ /** Specifies the open/active tab */
123
+ active: PropTypes.bool,
124
+
122
125
  /** Sets last sidebar tab position to bottom of sidebar */
123
126
  bottomAligned: PropTypes.bool,
124
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Orchestrated's Design System, aka: ORCS",
5
5
  "keywords": [
6
6
  "design",