Skip to content

Commit

Permalink
Release v1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh committed Mar 31, 2018
1 parent 9f5cb04 commit cf1e39c
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"packages/*",
"packages/themes/*"
],
"version": "1.20.0"
"version": "1.20.1"
}
2 changes: 1 addition & 1 deletion packages/core/dist/components/ChoiceList/Choice.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/dist/components/FormLabel/FormLabel.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions packages/core/dist/components/FormLabel/FormLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,17 @@ var FormLabel = exports.FormLabel = function (_React$PureComponent) {
}, {
key: 'hint',
value: function hint() {
var _props = this.props,
hint = _props.hint,
requirementLabel = _props.requirementLabel;
var hint = this.props.hint;
var requirementLabel = this.props.requirementLabel;

if (!hint && !requirementLabel) return;

var classes = (0, _classnames2.default)('ds-c-field__hint', {
'ds-c-field__hint--inverse': this.props.inversed
});

var hintPadding = null;

if (requirementLabel && hint) {
if (typeof requirementLabel === 'string') {
// Remove any existing spacing and punctuation
Expand All @@ -77,23 +78,24 @@ var FormLabel = exports.FormLabel = function (_React$PureComponent) {
}

// Add space between hint and preceding requirementLabel
hint = ' ' + hint;
hintPadding = ' ';
}

return _react2.default.createElement(
'span',
{ className: classes },
requirementLabel,
hintPadding,
hint
);
}
}, {
key: 'render',
value: function render() {
var _props2 = this.props,
fieldId = _props2.fieldId,
id = _props2.id,
children = _props2.children;
var _props = this.props,
fieldId = _props.fieldId,
id = _props.id,
children = _props.children;

var ComponentType = this.props.component;
var labelTextClasses = (0, _classnames2.default)(this.props.labelClassName);
Expand Down
2 changes: 1 addition & 1 deletion packages/core/dist/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmsgov/design-system-core",
"version": "1.20.0",
"version": "1.20.1",
"publishConfig": {
"access": "public"
},
Expand All @@ -9,7 +9,7 @@
"license": "SEE LICENSE IN LICENSE.md",
"main": "dist/index.js",
"dependencies": {
"@cmsgov/design-system-support": "^1.20.0",
"@cmsgov/design-system-support": "^1.20.1",
"classnames": "^2.2.5",
"core-js": "^2.5.3",
"downshift": "^1.28.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@cmsgov/design-system-docs",
"version": "1.20.0",
"version": "1.20.1",
"private": true,
"description": "Design system's documentation website",
"repository": "CMSgov/design-system",
"dependencies": {
"@cmsgov/design-system-core": "^1.20.0",
"@cmsgov/design-system-layout": "^1.20.0",
"@cmsgov/design-system-support": "^1.20.0",
"@cmsgov/design-system-core": "^1.20.1",
"@cmsgov/design-system-layout": "^1.20.1",
"@cmsgov/design-system-support": "^1.20.1",
"classnames": "^2.2.5",
"core-js": "^2.5.3",
"lodash": "^4.17.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/layout/dist/index.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/layout/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@cmsgov/design-system-layout",
"version": "1.20.0",
"version": "1.20.1",
"publishConfig": {
"access": "public"
},
"description": "Responsive flexbox grid framework",
"repository": "CMSgov/design-system",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@cmsgov/design-system-support": "^1.20.0"
"@cmsgov/design-system-support": "^1.20.1"
}
}
2 changes: 1 addition & 1 deletion packages/support/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmsgov/design-system-support",
"version": "1.20.0",
"version": "1.20.1",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit cf1e39c

Please sign in to comment.