stardust
Advanced tools
Comparing version 0.52.3 to 0.52.4
@@ -27,2 +27,3 @@ 'use strict'; | ||
var columns = props.columns; | ||
var divided = props.divided; | ||
var only = props.only; | ||
@@ -34,3 +35,3 @@ var reversed = props.reversed; | ||
var classes = (0, _classnames2.default)(className, color, (0, _lib.useKeyOnly)(centered, 'centered'), (0, _lib.useWidthProp)(columns, 'column', true), (0, _lib.useValueAndKey)(only, 'only'), (0, _lib.useValueAndKey)(reversed, 'reversed'), (0, _lib.useKeyOnly)(stretched, 'stretched'), (0, _lib.useTextAlignProp)(textAlign), (0, _lib.useVerticalAlignProp)(verticalAlign), 'row'); | ||
var classes = (0, _classnames2.default)(className, color, (0, _lib.useKeyOnly)(centered, 'centered'), (0, _lib.useWidthProp)(columns, 'column', true), (0, _lib.useKeyOnly)(divided, 'divided'), (0, _lib.useValueAndKey)(only, 'only'), (0, _lib.useValueAndKey)(reversed, 'reversed'), (0, _lib.useKeyOnly)(stretched, 'stretched'), (0, _lib.useTextAlignProp)(textAlign), (0, _lib.useVerticalAlignProp)(verticalAlign), 'row'); | ||
var rest = (0, _lib.getUnhandledProps)(GridRow, props); | ||
@@ -79,2 +80,5 @@ var ElementType = (0, _lib.getElementType)(GridRow, props); | ||
/** A row can have dividers between its columns. */ | ||
divided: _react.PropTypes.bool, | ||
/** A row can appear only for a specific device, or screen sizes. */ | ||
@@ -81,0 +85,0 @@ only: _react.PropTypes.oneOf(GridRow._meta.props.only), |
{ | ||
"name": "stardust", | ||
"version": "0.52.3", | ||
"version": "0.52.4", | ||
"description": "The official Semantic-UI-React integration.", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
@@ -20,4 +20,9 @@ <p align="center"> | ||
Hey, we're in development. Minor versions may introduce **breaking changes until the [v1.0][6] release**. You should [**read the CHANGELOG**][18] and related issues/PRs to stay up to date. | ||
Hey, we're in development. Prior to reaching [v1.0.0][6]: | ||
1. **MINOR** versions represent **breaking changes** | ||
1. **PATCH** versions represent **fixes _and_ features** | ||
1. There are **no deprecation warnings** between releases | ||
1. You should consult the [**CHANGELOG**][18] and related issues/PRs for more information | ||
### [Voice Your Opinion][19] :speech_balloon: | ||
@@ -24,0 +29,0 @@ |
@@ -18,3 +18,15 @@ import cx from 'classnames' | ||
function GridRow(props) { | ||
const { centered, children, className, color, columns, only, reversed, stretched, textAlign, verticalAlign } = props | ||
const { | ||
centered, | ||
children, | ||
className, | ||
color, | ||
columns, | ||
divided, | ||
only, | ||
reversed, | ||
stretched, | ||
textAlign, | ||
verticalAlign, | ||
} = props | ||
const classes = cx( | ||
@@ -25,2 +37,3 @@ className, | ||
useWidthProp(columns, 'column', true), | ||
useKeyOnly(divided, 'divided'), | ||
useValueAndKey(only, 'only'), | ||
@@ -72,2 +85,5 @@ useValueAndKey(reversed, 'reversed'), | ||
/** A row can have dividers between its columns. */ | ||
divided: PropTypes.bool, | ||
/** A row can appear only for a specific device, or screen sizes. */ | ||
@@ -74,0 +90,0 @@ only: PropTypes.oneOf(GridRow._meta.props.only), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1400278
25241
193