@digibib/deichman-ui
Advanced tools
Comparing version 6.3.1 to 6.4.0
@@ -5,2 +5,18 @@ # Change Log | ||
## 6.4.0 | ||
### Changed | ||
- New `disabled` prop added to Tag, for cases where the tag is not clickable. | ||
- New `withSpacing` prop added to Accordion, for uniform spacing of contents. | ||
### Breaking changes (visual only): | ||
- `.link` and `<a>` changes: | ||
- Hover-effect added, this might cause unwanted effects if you've used a link as a basis for another component. | ||
- `Button` component changes: | ||
- Hover-effect added, this might cause unwanted effects if you've used the button as a basis for another component. (only visually) | ||
## 6.3.0 | ||
@@ -7,0 +23,0 @@ |
@@ -295,2 +295,3 @@ import React, { Component, Fragment } from 'react'; | ||
showDividers = _props.showDividers, | ||
withSpacing = _props.withSpacing, | ||
children = _props.children; | ||
@@ -304,2 +305,3 @@ | ||
'accordion--small': small, | ||
'accordion--with-spacing': withSpacing, | ||
'accordion--show-dividers': showDividers | ||
@@ -353,2 +355,3 @@ }); | ||
small: false, | ||
withSpacing: false, | ||
openByDefault: false | ||
@@ -363,2 +366,3 @@ }; | ||
small: PropTypes.bool, | ||
withSpacing: PropTypes.bool, | ||
openByDefault: PropTypes.bool | ||
@@ -1514,2 +1518,3 @@ }; | ||
link = _ref.link, | ||
disabled = _ref.disabled, | ||
active = _ref.active, | ||
@@ -1522,2 +1527,3 @@ onClick = _ref.onClick, | ||
'tag--active': active, | ||
'tag--disabled': disabled, | ||
'tag--interactive': onClick || link, | ||
@@ -1552,2 +1558,3 @@ 'tag--show-clear': showClear | ||
showClear: false, | ||
disabled: false, | ||
link: false, | ||
@@ -1562,2 +1569,3 @@ onClick: false, | ||
showClear: PropTypes.bool, | ||
disabled: PropTypes.bool, | ||
link: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), | ||
@@ -1564,0 +1572,0 @@ onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]) |
@@ -302,2 +302,3 @@ 'use strict'; | ||
showDividers = _props.showDividers, | ||
withSpacing = _props.withSpacing, | ||
children = _props.children; | ||
@@ -311,2 +312,3 @@ | ||
'accordion--small': small, | ||
'accordion--with-spacing': withSpacing, | ||
'accordion--show-dividers': showDividers | ||
@@ -360,2 +362,3 @@ }); | ||
small: false, | ||
withSpacing: false, | ||
openByDefault: false | ||
@@ -370,2 +373,3 @@ }; | ||
small: PropTypes.bool, | ||
withSpacing: PropTypes.bool, | ||
openByDefault: PropTypes.bool | ||
@@ -1521,2 +1525,3 @@ }; | ||
link = _ref.link, | ||
disabled = _ref.disabled, | ||
active = _ref.active, | ||
@@ -1529,2 +1534,3 @@ onClick = _ref.onClick, | ||
'tag--active': active, | ||
'tag--disabled': disabled, | ||
'tag--interactive': onClick || link, | ||
@@ -1559,2 +1565,3 @@ 'tag--show-clear': showClear | ||
showClear: false, | ||
disabled: false, | ||
link: false, | ||
@@ -1569,2 +1576,3 @@ onClick: false, | ||
showClear: PropTypes.bool, | ||
disabled: PropTypes.bool, | ||
link: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), | ||
@@ -1571,0 +1579,0 @@ onClick: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]) |
{ | ||
"name": "@digibib/deichman-ui", | ||
"version": "6.3.1", | ||
"version": "6.4.0", | ||
"description": "Deichman style-guide and component library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
749623
3939
2