travix-ui-kit
Advanced tools
Comparing version 0.14.1-2 to 0.15.0
@@ -99,11 +99,11 @@ import classnames from 'classnames'; | ||
*/ | ||
logoLabel: PropTypes.string, | ||
logoLabel: PropTypes.node, | ||
/** | ||
* The selection block subtitle. | ||
*/ | ||
subtitle: PropTypes.string, | ||
subtitle: PropTypes.node, | ||
/** | ||
* The selection block title. | ||
*/ | ||
title: PropTypes.string, | ||
title: PropTypes.node, | ||
/** | ||
@@ -110,0 +110,0 @@ * The selection block type. |
@@ -14,4 +14,4 @@ SelectionBlock: | ||
<RadioButton | ||
checked={state.type === 'horizontal'} | ||
id="selectionBlockTypeHorizontal" | ||
checked={state.type === 'horizontal'} | ||
id="selectionBlockTypeHorizontal" | ||
name="selectionBlockType" | ||
@@ -23,4 +23,4 @@ onChange={() => setState({ type: 'horizontal' })} | ||
<RadioButton | ||
checked={state.type === 'vertical'} | ||
id="selectionBlockTypeVertical" | ||
checked={state.type === 'vertical'} | ||
id="selectionBlockTypeVertical" | ||
name="selectionBlockType" | ||
@@ -35,4 +35,4 @@ onChange={() => setState({ type: 'vertical' })} | ||
disabled={state.type === 'vertical'} | ||
checked={state.align === 'start'} | ||
id="selectionBlockAlignStart" | ||
checked={state.align === 'start'} | ||
id="selectionBlockAlignStart" | ||
name="selectionBlockAlign" | ||
@@ -45,4 +45,4 @@ onChange={() => setState({ align: 'start' })} | ||
disabled={state.type === 'vertical'} | ||
checked={state.align === 'center'} | ||
id="selectionBlockAlignCenter" | ||
checked={state.align === 'center'} | ||
id="selectionBlockAlignCenter" | ||
name="selectionBlockAlign" | ||
@@ -55,4 +55,4 @@ onChange={() => setState({ align: 'center' })} | ||
disabled={state.type === 'vertical'} | ||
checked={state.align === 'end'} | ||
id="selectionBlockAlignEnd" | ||
checked={state.align === 'end'} | ||
id="selectionBlockAlignEnd" | ||
name="selectionBlockAlign" | ||
@@ -69,3 +69,3 @@ onChange={() => setState({ align: 'end' })} | ||
logo=<img style={{ height: '30px' }} src="https://www.travix.com/wp-content/uploads/2015/09/travix-logo_blue.png" /> | ||
logoLabel="Powered by" | ||
logoLabel={<span>Powered by</span>} | ||
subtitle="Subtitle Example" | ||
@@ -77,5 +77,5 @@ title="Title Example" | ||
{[0,1].map(item => | ||
<Card | ||
checked={state.selectedCard === item} | ||
showIcon hovering | ||
<Card | ||
checked={state.selectedCard === item} | ||
showIcon hovering | ||
onClick={() => setState({ selectedCard: item, iconColor: item ? 'var(--tx-generic-color-negative-light)' : 'var(--tx-generic-color-active)' })} | ||
@@ -82,0 +82,0 @@ > |
@@ -130,11 +130,11 @@ 'use strict'; | ||
*/ | ||
logoLabel: _propTypes2.default.string, | ||
logoLabel: _propTypes2.default.node, | ||
/** | ||
* The selection block subtitle. | ||
*/ | ||
subtitle: _propTypes2.default.string, | ||
subtitle: _propTypes2.default.node, | ||
/** | ||
* The selection block title. | ||
*/ | ||
title: _propTypes2.default.string, | ||
title: _propTypes2.default.node, | ||
/** | ||
@@ -141,0 +141,0 @@ * The selection block type. |
{ | ||
"name": "travix-ui-kit", | ||
"version": "0.14.1-2", | ||
"version": "0.15.0", | ||
"description": "Travix UI kit", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1931527