@storybook/design-system
Advanced tools
Comparing version 5.5.1-canary.f7a40af.0 to 5.5.1
@@ -0,1 +1,25 @@ | ||
# v5.5.1 (Thu May 06 2021) | ||
#### 🐛 Bug Fix | ||
- Break words in ClipboardCode [#259](https://github.com/storybookjs/design-system/pull/259) ([@ghengeveld](https://github.com/ghengeveld)) | ||
- Remove console log in Avatar component [#258](https://github.com/storybookjs/design-system/pull/258) ([@kylesuss](https://github.com/kylesuss)) | ||
#### ⚠️ Pushed to `master` | ||
- Update browser database ([@ghengeveld](https://github.com/ghengeveld)) | ||
- Add Azure DevOps icon ([@ghengeveld](https://github.com/ghengeveld)) | ||
#### 🔩 Dependency Updates | ||
- Bump prismjs from 1.20.0 to 1.23.0 [#253](https://github.com/storybookjs/design-system/pull/253) ([@dependabot[bot]](https://github.com/dependabot[bot])) | ||
#### Authors: 3 | ||
- [@dependabot[bot]](https://github.com/dependabot[bot]) | ||
- Gert Hengeveld ([@ghengeveld](https://github.com/ghengeveld)) | ||
- Kyle Suss ([@kylesuss](https://github.com/kylesuss)) | ||
--- | ||
# v5.5.0 (Thu Apr 01 2021) | ||
@@ -2,0 +26,0 @@ |
@@ -207,3 +207,2 @@ "use strict"; | ||
a11yProps['aria-label'] = username; | ||
console.log(username); | ||
avatarFigure = /*#__PURE__*/_react["default"].createElement(Initial, { | ||
@@ -210,0 +209,0 @@ size: size, |
@@ -33,3 +33,3 @@ "use strict"; | ||
function _templateObject2() { | ||
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n display: block;\n margin: 0;\n padding-right: 32px;\n overflow: hidden;\n"]); | ||
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n display: block;\n margin: 0;\n padding-right: 32px;\n overflow: hidden;\n word-wrap: break-word;\n"]); | ||
@@ -36,0 +36,0 @@ _templateObject2 = function _templateObject2() { |
@@ -65,4 +65,3 @@ "use strict"; | ||
function Modal(_ref) { | ||
var isBlank = _ref.isBlank, | ||
isOpen = _ref.isOpen, | ||
var isOpen = _ref.isOpen, | ||
onClose = _ref.onClose, | ||
@@ -81,3 +80,3 @@ children = _ref.children; | ||
overlay: { | ||
backgroundColor: isBlank ? _styles.color.lightest : 'rgba(246, 249, 252, .97)', | ||
backgroundColor: 'rgba(246, 249, 252, .97)', | ||
// 1 less that max, to allow intercom over the top | ||
@@ -101,3 +100,3 @@ zIndex: 2147483646, | ||
} | ||
}, isBlank ? _react.Children.only(children(actions)) : /*#__PURE__*/_react["default"].createElement(CenteredWrapper, null, /*#__PURE__*/_react["default"].createElement(CenteredItem, null, _react.Children.only(children(actions)))), !isBlank && /*#__PURE__*/_react["default"].createElement(Action, null, /*#__PURE__*/_react["default"].createElement(_Button.Button, { | ||
}, /*#__PURE__*/_react["default"].createElement(CenteredWrapper, null, /*#__PURE__*/_react["default"].createElement(CenteredItem, null, _react.Children.only(children(actions)))), /*#__PURE__*/_react["default"].createElement(Action, null, /*#__PURE__*/_react["default"].createElement(_Button.Button, { | ||
containsIcon: true, | ||
@@ -113,8 +112,4 @@ appearance: "outline", | ||
isOpen: _propTypes.PropTypes.bool.isRequired, | ||
isBlank: _propTypes.PropTypes.bool, | ||
onClose: _propTypes.PropTypes.func.isRequired, | ||
children: _propTypes.PropTypes.func.isRequired | ||
}; | ||
Modal.defaultProps = { | ||
isBlank: false | ||
}; |
{ | ||
"name": "@storybook/design-system", | ||
"version": "5.5.1-canary.f7a40af.0", | ||
"version": "5.5.1", | ||
"description": "Storybook design system", | ||
@@ -52,3 +52,3 @@ "repository": { | ||
"polished": "^3.6.4", | ||
"prismjs": "1.20.0", | ||
"prismjs": "1.23.0", | ||
"prop-types": "^15.5.4", | ||
@@ -55,0 +55,0 @@ "react-github-button": "^0.1.11", |
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
508743
1
7622
+ Addedprismjs@1.23.0(transitive)
- Removedprismjs@1.20.0(transitive)
Updatedprismjs@1.23.0