Skip to content

Commit

Permalink
Release 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh committed Mar 2, 2018
1 parent a774d8d commit 14a04ae
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 17 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.15.0"
"version": "1.16.0"
}
15 changes: 12 additions & 3 deletions packages/core/dist/components/Dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ var Dialog = function Dialog(props) {
ariaCloseLabel = props.ariaCloseLabel,
children = props.children,
className = props.className,
closeButtonSize = props.closeButtonSize,
closeButtonVariation = props.closeButtonVariation,
closeText = props.closeText,
escapeExitDisabled = props.escapeExitDisabled,
headerClassName = props.headerClassName,
onExit = props.onExit,
size = props.size,
title = props.title,
modalProps = _objectWithoutProperties(props, ['actions', 'actionsClassName', 'ariaCloseLabel', 'children', 'className', 'closeButtonVariation', 'closeText', 'escapeExitDisabled', 'headerClassName', 'onExit', 'size', 'title']);
modalProps = _objectWithoutProperties(props, ['actions', 'actionsClassName', 'ariaCloseLabel', 'children', 'className', 'closeButtonSize', 'closeButtonVariation', 'closeText', 'escapeExitDisabled', 'headerClassName', 'onExit', 'size', 'title']);

var dialogClassNames = (0, _classnames2.default)('ds-c-dialog', className, size && 'ds-c-dialog--' + size);
var dialogClassNames = (0, _classnames2.default)('ds-c-dialog', 'ds-base', className, size && 'ds-c-dialog--' + size);
var headerClassNames = (0, _classnames2.default)('ds-c-dialog__header', headerClassName);
var actionsClassNames = (0, _classnames2.default)('ds-c-dialog__actions', actionsClassName);

Expand Down Expand Up @@ -78,6 +79,7 @@ var Dialog = function Dialog(props) {
'aria-label': ariaCloseLabel,
className: 'ds-c-dialog__close',
onClick: onExit,
size: closeButtonSize,
variation: closeButtonVariation
},
closeText
Expand Down Expand Up @@ -145,7 +147,14 @@ Dialog.propTypes = {
* Additional classes to be added to the root dialog element.
*/
className: _propTypes2.default.string,
closeButtonVariation: _Button2.default.propTypes.variation,
/**
* Size of the close button. See [Button component]({{root}}/components/button/#components.button.react)
*/
closeButtonSize: _propTypes2.default.oneOf(['small', 'big']),
/**
* Variation string to be applied to close button component. See [Button component]({{root}}/components/button/#components.button.react)
*/
closeButtonVariation: _propTypes2.default.string,
/**
* For internationalization purposes, the text for the "Close" button must be
* passed in as a prop.
Expand Down
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.

2 changes: 1 addition & 1 deletion packages/core/dist/components/TextField/TextField.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/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.15.0",
"version": "1.16.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.15.0",
"@cmsgov/design-system-support": "^1.16.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.15.0",
"version": "1.16.0",
"private": true,
"description": "Design system's documentation website",
"repository": "CMSgov/design-system",
"dependencies": {
"@cmsgov/design-system-core": "^1.15.0",
"@cmsgov/design-system-layout": "^1.15.0",
"@cmsgov/design-system-support": "^1.15.0",
"@cmsgov/design-system-core": "^1.16.0",
"@cmsgov/design-system-layout": "^1.16.0",
"@cmsgov/design-system-support": "^1.16.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.15.0",
"version": "1.16.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.15.0"
"@cmsgov/design-system-support": "^1.16.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.15.0",
"version": "1.16.0",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit 14a04ae

Please sign in to comment.