stardust
Advanced tools
Comparing version 0.44.2 to 0.44.3
@@ -31,3 +31,2 @@ 'use strict'; | ||
var content = props.content; | ||
var down = props.down; | ||
var fitted = props.fitted; | ||
@@ -41,3 +40,3 @@ var header = props.header; | ||
var classes = (0, _classnames2.default)((0, _lib.useKeyOnly)(active, 'active'), (0, _lib.useKeyOnly)(down, 'down'), (0, _lib.useKeyOrValueAndKey)(fitted, 'fitted'), (0, _lib.useKeyOnly)(header, 'header'), (0, _lib.useKeyOnly)(link, 'link'), color, position, className, 'item'); | ||
var classes = (0, _classnames2.default)((0, _lib.useKeyOnly)(active, 'active'), (0, _lib.useKeyOrValueAndKey)(fitted, 'fitted'), (0, _lib.useKeyOnly)(header, 'header'), (0, _lib.useKeyOnly)(link, 'link'), color, position, className, 'item'); | ||
var ElementType = (0, _lib.getElementType)(MenuItem, props, function () { | ||
@@ -88,5 +87,2 @@ if (onClick) return 'a'; | ||
/** A menu item can be pressed in. */ | ||
down: _react.PropTypes.bool, | ||
/** A menu item or menu can remove element padding, vertically or horizontally. */ | ||
@@ -93,0 +89,0 @@ fitted: _react.PropTypes.oneOfType([_react.PropTypes.bool, _react.PropTypes.oneOf(MenuItem._meta.props.fitted)]), |
{ | ||
"name": "stardust", | ||
"version": "0.44.2", | ||
"version": "0.44.3", | ||
"description": "The official Semantic-UI-React integration.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,7 +17,6 @@ import _ from 'lodash' | ||
const { | ||
active, children, className, color, content, down, fitted, header, index, link, name, onClick, position, | ||
active, children, className, color, content, fitted, header, index, link, name, onClick, position, | ||
} = props | ||
const classes = cx( | ||
useKeyOnly(active, 'active'), | ||
useKeyOnly(down, 'down'), | ||
useKeyOrValueAndKey(fitted, 'fitted'), | ||
@@ -85,5 +84,2 @@ useKeyOnly(header, 'header'), | ||
/** A menu item can be pressed in. */ | ||
down: PropTypes.bool, | ||
/** A menu item or menu can remove element padding, vertically or horizontally. */ | ||
@@ -90,0 +86,0 @@ fitted: PropTypes.oneOfType([ |
Sorry, the diff of this file is too big to display
828949
18445