@hig/side-nav
Advanced tools
Comparing version 0.1.0-alpha.9af96942 to 0.1.0-alpha.9f8120ff
@@ -126,5 +126,3 @@ import React, { Component } from 'react'; | ||
value: function render() { | ||
var _props = this.props, | ||
intro = _props.intro, | ||
children = _props.children; | ||
var _this2 = this; | ||
@@ -143,8 +141,3 @@ var classes = function classes(themeClass) { | ||
{ className: classes(themeClass) }, | ||
intro && React.createElement( | ||
"div", | ||
{ className: "hig__side-nav__group__intro" }, | ||
intro | ||
), | ||
children | ||
_this2.props.children | ||
); | ||
@@ -160,4 +153,2 @@ } | ||
Group.propTypes = { | ||
/** A slot for arbitrary content to render above the Modules */ | ||
intro: PropTypes.node, | ||
/** One or more SideNav Modules */ | ||
@@ -170,9 +161,2 @@ children: PropTypes.node | ||
"props": { | ||
"intro": { | ||
"type": { | ||
"name": "node" | ||
}, | ||
"required": false, | ||
"description": "A slot for arbitrary content to render above the Modules" | ||
}, | ||
"children": { | ||
@@ -179,0 +163,0 @@ "type": { |
{ | ||
"name": "@hig/side-nav", | ||
"version": "0.1.0-alpha.9af96942", | ||
"version": "0.1.0-alpha.9f8120ff", | ||
"description": "HIG SideNav components", | ||
@@ -18,12 +18,12 @@ "author": "Autodesk Inc.", | ||
"dependencies": { | ||
"@hig/icon": "0.1.0-alpha.9af96942", | ||
"@hig/icon-button": "0.1.0-alpha.9af96942", | ||
"@hig/skeleton-item": "0.1.0-alpha.9af96942", | ||
"@hig/themes": "0.1.0-alpha.9af96942", | ||
"@hig/icon": "0.1.0-alpha.9f8120ff", | ||
"@hig/icon-button": "0.1.0-alpha.9f8120ff", | ||
"@hig/skeleton-item": "0.1.0-alpha.9f8120ff", | ||
"@hig/themes": "0.1.0-alpha.9f8120ff", | ||
"classnames": "^2.2.5" | ||
}, | ||
"devDependencies": { | ||
"@hig/babel-preset": "0.2.0-alpha.9af96942", | ||
"@hig/scripts": "0.2.0-alpha.9af96942", | ||
"@hig/styles": "0.1.0-alpha.9af96942" | ||
"@hig/babel-preset": "0.2.0-alpha.9f8120ff", | ||
"@hig/scripts": "0.2.0-alpha.9f8120ff", | ||
"@hig/styles": "0.1.0-alpha.9f8120ff" | ||
}, | ||
@@ -30,0 +30,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213061
4819
+ Added@hig/icon@0.1.0-alpha.9f8120ff(transitive)
+ Added@hig/icon-button@0.1.0-alpha.9f8120ff(transitive)
+ Added@hig/icons@0.1.0-alpha.9f8120ff(transitive)
+ Added@hig/skeleton-item@0.1.0-alpha.9f8120ff(transitive)
+ Added@hig/themes@0.1.0-alpha.9f8120ff(transitive)
- Removed@hig/icon@0.1.0-alpha.9af96942(transitive)
- Removed@hig/icon-button@0.1.0-alpha.9af96942(transitive)
- Removed@hig/icons@0.1.0-alpha.9af96942(transitive)
- Removed@hig/skeleton-item@0.1.0-alpha.9af96942(transitive)
- Removed@hig/themes@0.1.0-alpha.9af96942(transitive)