Skip to content

Commit

Permalink
Release v1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sethetter committed Sep 25, 2018
1 parent b054480 commit 305315d
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 16 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.24.0"
"version": "1.25.0"
}
12 changes: 9 additions & 3 deletions packages/core/dist/components/Review/Review.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ var Review = exports.Review = function (_React$PureComponent) {
className = _props.className,
editHref = _props.editHref,
editText = _props.editText,
onEditClick = _props.onEditClick;
onEditClick = _props.onEditClick,
editContent = _props.editContent;

var classes = (0, _classnames2.default)('ds-c-review ds-u-border-bottom--2 ds-u-padding-y--2 ds-u-justify-content--between ds-u-display--flex', className && className);
return _react2.default.createElement(
Expand All @@ -82,7 +83,8 @@ var Review = exports.Review = function (_React$PureComponent) {
children
)
),
editHref && _react2.default.createElement(
editContent,
!editContent && editHref && _react2.default.createElement(
_ReviewLink2.default,
{ onClick: onEditClick, href: editHref },
editText
Expand Down Expand Up @@ -115,7 +117,11 @@ Review.propTypes = {
* An optional function that is executed on edit link click. The event and
* props.editHref value are passed to this function.
*/
onEditClick: _propTypes2.default.func
onEditClick: _propTypes2.default.func,
/**
* An optional node in place of the edit link. If this defined, no edit link will be shown.
*/
editContent: _propTypes2.default.node
};

exports.default = Review;
2 changes: 1 addition & 1 deletion packages/core/dist/components/TextField/Mask.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
var deliminatedMaskRegex = {
phone: /(\d{3})(\d{1,3})?(\d+)?/,
ssn: /([*\d]{3})([*\d]{1,2})?([*\d]+)?/,
zip: /(\d{5})(\d+)/
zip: /(\d{5})(\d*)/
};

/**
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.24.0",
"version": "1.25.0",
"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.24.0",
"@cmsgov/design-system-support": "^1.25.0",
"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.24.0",
"version": "1.25.0",
"private": true,
"description": "Design system's documentation website",
"repository": "CMSgov/design-system",
"dependencies": {
"@cmsgov/design-system-core": "^1.24.0",
"@cmsgov/design-system-layout": "^1.24.0",
"@cmsgov/design-system-support": "^1.24.0",
"@cmsgov/design-system-core": "^1.25.0",
"@cmsgov/design-system-layout": "^1.25.0",
"@cmsgov/design-system-support": "^1.25.0",
"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.24.0",
"version": "1.25.0",
"publishConfig": {
"access": "public"
},
"description": "Responsive flexbox grid framework",
"repository": "CMSgov/design-system",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@cmsgov/design-system-support": "^1.24.0"
"@cmsgov/design-system-support": "^1.25.0"
}
}
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.24.0",
"version": "1.25.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit 305315d

Please sign in to comment.