Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

travix-ui-kit

Package Overview
Dependencies
Maintainers
6
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

travix-ui-kit - npm Package Compare versions

Comparing version 0.6.23 to 0.6.24

_site/.nojekyll

11

CHANGELOG.md
# Change Log
## [v0.6.23](https://github.com/Travix-International/travix-ui-kit/tree/v0.6.23) (2017-09-05)
[Full Changelog](https://github.com/Travix-International/travix-ui-kit/compare/v0.6.22...v0.6.23)
**Merged pull requests:**
- Move react-select from devDeps to deps [\#164](https://github.com/Travix-International/travix-ui-kit/pull/164) ([yurist38](https://github.com/yurist38))
- chore\(package\): update jest to version 21.0.1 [\#162](https://github.com/Travix-International/travix-ui-kit/pull/162) ([mAiNiNfEcTiOn](https://github.com/mAiNiNfEcTiOn))
- chore\(package\): update jest-cli to version 21.0.1 [\#161](https://github.com/Travix-International/travix-ui-kit/pull/161) ([mAiNiNfEcTiOn](https://github.com/mAiNiNfEcTiOn))
- Update babel-jest to the latest version 🚀 [\#158](https://github.com/Travix-International/travix-ui-kit/pull/158) ([greenkeeper[bot]](https://github.com/apps/greenkeeper))
- Create CODE\_OF\_CONDUCT.md [\#157](https://github.com/Travix-International/travix-ui-kit/pull/157) ([mAiNiNfEcTiOn](https://github.com/mAiNiNfEcTiOn))
## [v0.6.22](https://github.com/Travix-International/travix-ui-kit/tree/v0.6.22) (2017-09-04)

@@ -4,0 +15,0 @@ [Full Changelog](https://github.com/Travix-International/travix-ui-kit/compare/v0.6.21...v0.6.22)

18

components/collapse/collapse.js

@@ -12,8 +12,8 @@ import PropTypes from 'prop-types';

const getNormalizedActiveKey = ({ defaultActiveKey, activeKey }) => {
if (activeKey === undefined && defaultActiveKey) {
return getNormalizedActiveKey({ activeKey: defaultActiveKey });
if (typeof activeKey === 'undefined') {
if (typeof defaultActiveKey !== 'undefined') {
return getNormalizedActiveKey({ activeKey: defaultActiveKey });
}
return [];
}
if (!activeKey) {
activeKey = [];
}
return activeKey instanceof Array ? activeKey : [activeKey];

@@ -63,3 +63,3 @@ };

if (typeof this.props.onChange === 'function') {
this.props.onChange(this.props.isAccordion ? (activeKey[0] || null) : activeKey);
this.props.onChange(this.props.isAccordion ? activeKey[0] : activeKey);
}

@@ -78,3 +78,5 @@ }

const key = child.props.id || child.key || `ui-collapse-item.${index}`;
const key = typeof child.props.id !== 'undefined'
? child.props.id
: (child.key || `ui-collapse-item.${index}`);
const isActive = isAccordion ? activeKey[0] === key : activeKey.indexOf(key) >= 0;

@@ -124,2 +126,4 @@ return cloneElement(child, {

activeKey: PropTypes.oneOfType([
PropTypes.number,
PropTypes.arrayOf(PropTypes.number),
PropTypes.string,

@@ -126,0 +130,0 @@ PropTypes.arrayOf(PropTypes.string),

@@ -31,7 +31,7 @@ Open one:

<div style={{marginTop: '10px'}}>
<Collapse isAccordion defaultActiveKey="example1.1">
<CollapseItem title="Collapse Title 1" id="example1.1">
<Collapse isAccordion defaultActiveKey={0}>
<CollapseItem title="Collapse Title 1" id={0}>
<List items={['London', 'Amsterdam', 'Madrid']} />
</CollapseItem>
<CollapseItem title="Collapse Title 2" id="example1.2">
<CollapseItem title="Collapse Title 2" id={1}>
<List items={['London', 'Amsterdam', 'Madrid']} />

@@ -134,3 +134,3 @@ </CollapseItem>

initialState = {
activeKey: ['example4.1']
activeKey: 0
};

@@ -140,6 +140,6 @@

<Collapse activeKey={state.activeKey} isAccordion onChange={key => setState({ activeKey: key })}>
<CustomCollapseItem title="Collapse Title 1" id="example4.1">
<CustomCollapseItem title="Collapse Title 1" id={0}>
<List items={['London', 'Amsterdam', 'Madrid']} />
</CustomCollapseItem>
<CustomCollapseItem title="Collapse Title 2" id="example4.2">
<CustomCollapseItem title="Collapse Title 2" id={1}>
<List items={['London', 'Amsterdam', 'Madrid']} />

@@ -146,0 +146,0 @@ </CustomCollapseItem>

@@ -71,3 +71,6 @@ import PropTypes from 'prop-types';

*/
id: PropTypes.string,
id: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
]),
/**

@@ -92,3 +95,2 @@ * Specify a function that will be called when a user click on label

CollapseItem.defaultProps = {
id: null,
isActive: false,

@@ -95,0 +97,0 @@ iconPosition: 'left',

@@ -18,2 +18,3 @@ import AutoComplete from './autoComplete/autoComplete';

import Modal from './modal/modal';
import OverlayTrigger from './overlayTrigger/overlayTrigger';
import Price from './price/price';

@@ -24,2 +25,4 @@ import RadioButton from './radioButton/radioButton';

import Spinner from './spinner/spinner';
import ToggleButton from './toggleButton/toggleButton';
import Tooltip from './tooltip/tooltip';

@@ -44,2 +47,3 @@ export default {

Modal,
OverlayTrigger,
Price,

@@ -50,2 +54,4 @@ RadioButton,

Spinner,
ToggleButton,
Tooltip,
};

@@ -1,1 +0,1 @@

window.TravixTheme = {"tx-generic-border-radius":"8px","tx-generic-font-primary-weight-regular":"400","tx-generic-font-primary-weight-medium":"500","tx-generic-font-primary-weight-semibold":"600","tx-generic-font-primary-weight-bold":"700","tx-generic-font-primary-font-family":"Lato","tx-generic-font-primary-generic-family":"sans-serif","tx-generic-font-secondary-variants-regular":"400","tx-generic-font-secondary-variants-bold":"700","tx-generic-font-secondary-font-family":"Roboto","tx-generic-font-secondary-generic-family":"sans-serif","tx-generic-font-alternative-variants-regular":"400","tx-generic-font-alternative-font-family":"Handlee","tx-generic-font-alternative-generic-family":"cursive","tx-generic-color-accent-darker":"#0B4848","tx-generic-color-accent-dark":"#177D7D","tx-generic-color-accent":"#2A9595","tx-generic-color-accent-border":"#E6BB00","tx-generic-color-accent-bottom":"#FFD05E","tx-generic-color-accent-light":"#46BCBC","tx-generic-color-accent-lighter":"#6EE1E1","tx-generic-color-accent-top":"#FFD97C","tx-generic-color-primary-darker":"#162052","tx-generic-color-primary-dark":"#283A8E","tx-generic-color-primary-dark-rgb":"40,58,142","tx-generic-color-primary":"#3F52A9","tx-generic-color-primary-light":"#7F92E7","tx-generic-color-primary-lighter":"#5B6ECA","tx-generic-color-secondary-darkest":"#57410f","tx-generic-color-secondary-darker":"#785A13","tx-generic-color-secondary-dark":"#CF9E26","tx-generic-color-secondary":"#F8C346","tx-generic-color-secondary-rgb":"248,195,70","tx-generic-color-secondary-light":"#FFD05E","tx-generic-color-secondary-lighter":"#FFD97C","tx-generic-color-text-dark":"#333","tx-generic-color-text":"#666","tx-generic-color-text-light":"#999","tx-generic-color-text-lighter":"#998","tx-generic-color-text-lighter-rgb":"153,153,136","tx-generic-color-active":"#3892e7","tx-generic-color-positive":"#2ca937","tx-generic-color-positive-light":"#9edb97","tx-generic-color-negative":"#c54229","tx-generic-color-negative-light":"#f0d0c9","tx-generic-color-shadow":"#000000","tx-generic-color-shadow-rgb":"0,0,0","tx-generic-color-shadow-alt":"#00196F","tx-generic-color-blank":"#FFFFFF","tx-generic-color-facebook":"#45619D","tx-generic-color-facebook-border":"#324A87","tx-generic-color-twitter":"#08ACEE","tx-generic-color-twitter-border":"#1871C0","tx-generic-color-google":"#B30303","tx-generic-color-google-border":"#670E00","tx-generic-color-mail":"#ec7c1b","tx-generic-color-mail-border":"#cd6612","tx-generic-separator-width":"2px","tx-generic-separator-style":"dotted","tx-generic-size-border-radius-small":"2px","tx-autocomplete-background-color":"var(--tx-generic-color-blank)","tx-autocomplete-box-shadow":"0 0 5px 0 rgba(var(--tx-generic-color-shadow-rgb), .18)","tx-autocomplete-item-color":"var(--tx-generic-color-text)","tx-autocomplete-item-active-color":"var(--tx-generic-color-blank)","tx-autocomplete-item-active-background-color":"var(--tx-generic-color-active)","tx-autocomplete-item-title-color":"var(--tx-generic-color-primary-darker)","tx-autocomplete-item-title-background-color":"var(--tx-generic-color-secondary-dark)","tx-autocomplete-item-highlight-color":"var(--tx-generic-color-active)","tx-badge-after-border-size":"4px","tx-badge-after-border-color":"var(--tx-generic-color-primary-darker)","tx-badge-arrow-angle-coefficient":"0.6","tx-badge-border-bottom-width":"4px","tx-badge-border-bottom-style":"solid","tx-badge-border-bottom-color":"var(--tx-generic-color-primary-darker)","tx-badge-border-radius-start":"0px","tx-badge-border-radius-end":"0px","tx-badge-color-background":"var(--tx-generic-color-accent)","tx-badge-color-text":"var(--tx-generic-color-primary-darker)","tx-badge-indent":"13px","tx-badge-font-size":"15px","tx-badge-padding-right-left":"8px","tx-badge-padding-top-bottom":"6px","tx-button-icon-color-normal":"var(--tx-generic-color-primary-lighter)","tx-button-icon-color-hover":"var(--tx-generic-color-active)","tx-button-icon-color-active":"var(--tx-generic-color-primary-lighter)","tx-button-color-bg-top":"var(--tx-generic-color-accent)","tx-button-color-bg-bottom":"var(--tx-generic-color-accent)","tx-button-color-text":"var(--tx-generic-color-blank)","tx-button-color-border":"var(--tx-generic-color-accent-dark)","tx-button-color-shadow":"transparent","tx-button-color-disabled-bg-top":"var(--tx-generic-color-secondary-dark)","tx-button-color-disabled-bg-bottom":"var(--tx-generic-color-secondary-dark)","tx-button-color-disabled-text":"var(--tx-generic-color-secondary-darker)","tx-button-color-disabled-border":"transparent","tx-button-color-disabled-border-bottom":"var(--tx-generic-color-secondary-darkest)","tx-button-size-border-radius":"2px","tx-button-shadow":"0 3px var(--tx-generic-color-accent-border), 0 0 transparent","tx-button-shadow-hover":"0 5px var(--tx-generic-color-accent-border), 0 0 transparent","tx-button-text-shadow":"none","tx-button-ghost-background":"transparent","tx-button-ghost-color":"#2A9595","tx-button-ghost-border-color":"#2A9595","tx-button-ghost-border":"3px solid var(--tx-button-ghost-border-color)","tx-button-ghost-border-radius":"var(--tx-button-size-border-radius)","tx-button-ghost-font-family":"var(--tx-generic-font-primary-font-family), var(--tx-generic-font-primary-generic-family)","tx-button-ghost-hover-color":"#3F52A9","tx-button-ghost-hover-border-color":"#3F52A9","tx-button-link-color":"#666","tx-button-link-font-family":"var(--tx-generic-font-secondary-font-family)","tx-button-link-font-size":"14px","tx-button-link-font-weight":"var(--tx-generic-font-primary-weight-regular)","tx-button-link-hover-color":"#333","tx-button-link-hover-text-decoration":"underline","tx-button-link-hover-font-family":"var(--tx-generic-font-secondary-font-family)","tx-button-link-hover-font-weight":"var(--tx-generic-font-primary-weight-regular)","tx-button-link-text-decoration":"underline","tx-calendar-height":"300px","tx-calendar-nav-background":"var(--tx-generic-color-primary-lighter)","tx-calendar-nav-border-radius":"5px 5px 0 0","tx-calendar-nav-button-background-color-end":"var(--tx-generic-color-accent-bottom)","tx-calendar-nav-button-background-color-start":"var(--tx-generic-color-accent-top)","tx-calendar-nav-button-border-radius":"50%","tx-calendar-nav-button-box-shadow-color":"var(--tx-generic-color-accent-border)","tx-calendar-nav-button-color":"var(--tx-generic-color-primary-lighter)","tx-calendar-nav-button-font-weight":"700","tx-calendar-nav-button-height":"27px","tx-calendar-nav-button-margin":"0 5px","tx-calendar-nav-button-width":"27px","tx-calendar-nav-height":"41px","tx-calendar-nav-label-color":"var(--tx-generic-color-blank)","tx-calendar-nav-label-font-weight":"500","tx-calendar-header-background-color":"var(--tx-generic-color-primary-lighter)","tx-calendar-header-height":"32px","tx-calendar-header-weekday-color":"var(--tx-generic-color-secondary)","tx-calendar-header-weekday-font-size":"14px","tx-calendar-header-weekday-font-weight":"bold","tx-calendar-options-border-color":"var(--tx-generic-color-secondary)","tx-calendar-options-option-background-color":"var(--tx-generic-color-blank)","tx-calendar-options-option-border-bottom":"var(--tx-generic-color-secondary)","tx-calendar-options-option-border-right":"var(--tx-generic-color-secondary)","tx-calendar-options-option-color":"var(--tx-generic-color-primary-darker)","tx-calendar-options-option-disabled-background-color":"var(--tx-generic-color-secondary)","tx-calendar-options-option-disabled-color":"var(--tx-generic-color-secondary-darkest)","tx-calendar-options-option-font-size":"14px","tx-calendar-options-option-hover-background-color":"var(--tx-generic-color-active)","tx-calendar-options-option-hover-color":"var(--tx-generic-color-blank)","tx-calendar-options-option-next-month-background-color":"var(--tx-generic-color-secondary-light)","tx-calendar-options-option-previous-month-background-color":"var(--tx-generic-color-secondary-light)","tx-calendar-options-option-range-after-border-color":"transparent","tx-calendar-options-option-range-between-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-options-option-range-end-after-border-color":"var(--tx-generic-color-active)","tx-calendar-options-option-range-end-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-options-option-range-start-after-border-color":"var(--tx-generic-color-active)","tx-calendar-options-option-range-start-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-width":"300px","tx-checkbox-text-color":"var(--tx-generic-color-text-dark)","tx-checkbox-text-background-color":"var(--tx-generic-color-blank)","tx-checkbox-text-border-color":"var(--tx-generic-color-secondary)","tx-checkbox-text-hover-color":"var(--tx-generic-color-active)","tx-checkbox-text-checked-background-color":"var(--tx-generic-color-active)","tx-checkbox-text-checked-border-color":"var(--tx-generic-color-active)","tx-checkbox-text-icon-checked-border-color":"var(--tx-generic-color-secondary)","tx-checkbox-text-disabled-color":"rgba(var(--tx-generic-color-text-lighter-rgb), .3)","tx-checkbox-text-disabled-border-color":"rgba(var(--tx-generic-color-secondary-rgb), .3)","tx-collapse-background-color":"var(--tx-generic-color-blank)","tx-collapse-border-radius":"8px","tx-collapse-padding":"25px","tx-collapse-item-label-color":"var(--tx-generic-color-text-dark)","tx-collapse-item-label-background-color":"var(--tx-generic-color-blank)","tx-collapse-item-label-active-color":"var(--tx-generic-color-active)","tx-collapse-item-label-icon-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-label-icon-active-color":"var(--tx-generic-color-active)","tx-collapse-item-label-border-bottom-width":"2px","tx-collapse-item-label-border-bottom-style":"dotted","tx-collapse-item-label-border-bottom-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-content-color":"var(--tx-generic-color-text)","tx-collapse-item-content-background-color":"var(--tx-generic-color-secondary-light)","tx-collapse-item-content-background-border-bottom-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-content-border-radius":"8px","tx-datepicker-calendar-wrapper-background-color":"var(--tx-generic-color-blank)","tx-datepicker-calendar-wrapper-box-shadow":"0 0 4px rgba(var(--tx-generic-color-shadow-rgb), .4)","tx-dropdown-input-background-color":"var(--tx-generic-color-blank)","tx-dropdown-input-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-option-color":"var(--tx-generic-color-text-dark)","tx-dropdown-arrow-color":"var(--tx-generic-color-primary-lighter)","tx-dropdown-select-control-border-color":"var(--tx-generic-color-active)","tx-dropdown-select-menu-outer-box-shadow":"0 0 5px 0 rgba(var(--tx-generic-color-shadow-rgb), .18)","tx-dropdown-select-arrow-zone-border-color-left":"var(--tx-generic-color-secondary-darker)","tx-dropdown-select-arrow-zone-color":"var(--tx-generic-color-active)","tx-dropdown-select-arrow-zone-hover-color":"var(--tx-generic-color-active)","tx-dropdown-select-option-color":"var(--tx-generic-color-text)","tx-dropdown-select-option-hover-background-color":"var(--tx-generic-color-secondary-light)","tx-dropdown-select-option-is-selected-background-color":"var(--tx-generic-color-active)","tx-dropdown-select-option-is-selected-color":"var(--tx-generic-color-blank)","tx-dropdown-option-arrow-border-color":"var(--tx-generic-color-blank)","tx-dropdown-option-arrow-border-shadow-color":"rgba(var(--tx-generic-color-shadow-rgb), .07)","tx-dropdown-filter-select-control-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-filter-select-placeholder-color":"var(--tx-generic-color-text-dark)","tx-dropdown-filter-select-placeholder-line-height":"28px","tx-dropdown-filter-select-menu-outer-box-shadow":"rgba(var(--tx-generic-color-shadow-rgb), .5)","tx-dropdown-active-select-control-background-color":"var(--tx-generic-color-blank)","tx-dropdown-active-select-control-border-color":"var(--tx-generic-color-active)","tx-dropdown-status-font-size":"20px","tx-dropdown-status-right":"59px","tx-dropdown-status-error-border-color":"var(--tx-generic-color-negative-light)","tx-dropdown-status-error-color":"var(--tx-generic-color-negative)","tx-dropdown-status-error-padding-right":"94px","tx-dropdown-status-valid-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-status-valid-color":"var(--tx-generic-color-positive)","tx-dropdown-status-valid-padding-right":"94px","tx-dropdown-padding-right":"60px","tx-dropdown-filter-option-checkbox-color":"var(--tx-generic-color-text-light)","tx-dropdown-filter-option-checkbox-hover-color":"var(--tx-generic-color-text)","tx-dropdown-filter-option-checkbox-disabled-color":"rgba(var(--tx-generic-color-text-lighter-rgb), .3)","tx-dropdown-filter-option-hover-and-not-disabled-background-color":"var(--tx-generic-color-active)","tx-dropdown-filter-option-hover-and-not-disabled-checkbox-color":"var(--tx-generic-color-blank)","tx-input-border-color":"var(--tx-generic-color-secondary-darker)","tx-input-border-hover-color":"var(--tx-generic-color-active)","tx-input-border-width":"2px","tx-input-border-radius":"4px","tx-input-color":"var(--tx-generic-color-text-dark)","tx-input-font-size":"16px","tx-input-focused-border-color":"var(--tx-generic-color-active)","tx-input-status-font-size":"20px","tx-input-status-right":"14px","tx-input-status-error-border-color":"var(--tx-generic-color-negative-light)","tx-input-status-error-color":"var(--tx-generic-color-negative)","tx-input-status-error-padding-right":"32px","tx-input-status-valid-border-color":"var(--tx-generic-color-secondary-darker)","tx-input-status-valid-color":"var(--tx-generic-color-positive)","tx-input-status-valid-padding-right":"32px","tx-input-padding":"15px","tx-list-bullets-color":"var(--tx-generic-color-active)","tx-list-color":"var(--tx-generic-color-text-dark)","tx-list-line-height":"38px","tx-messagebox-background-color-info":"var(--tx-generic-color-secondary-light)","tx-messagebox-background-color-error":"var(--tx-generic-color-negative-light)","tx-messagebox-background-color-success":"var(--tx-generic-color-positive-lighter)","tx-messagebox-border-radius":"12px","tx-messagebox-color":"var(--tx-generic-color-text)","tx-messagebox-title-color":"var(--tx-generic-color-primary)","tx-messagebox-title-font-size":"20px","tx-messagebox-title-padding-bottom":"0px","tx-messagebox-padding":"24px","tx-modal-z-index":"100","tx-modal-color-dark":"var(--tx-generic-color-primary-dark)","tx-modal-color-secondary":"var(--tx-generic-color-secondary)","tx-modal-overlay-background-color":"var(--tx-generic-color-primary-dark)","tx-modal-overlay-background-opacity":"0.65","tx-modal-container-background-color":"var(--tx-generic-color-blank)","tx-modal-container-box-shadow-color":"rgba(var(--tx-generic-color-shadow-rgb), .3)","tx-modal-content-background-color":"var(--tx-generic-color-secondary-lighter)","tx-modal-content-padding-left-right":"24px","tx-modal-content-devider-color":"var(--tx-generic-color-secondary-darker)","tx-modal-close-button-color":"var(--tx-generic-color-text-dark)","tx-modal-close-button-hover-color":"var(--tx-generic-color-active)","tx-modal-close-button-icon-color":"var(--tx-generic-color-secondary-darker)","tx-price-height-underline":"6px","tx-price-margin-top-underline":"2px;","tx-price-small-font-size-currency":"15px","tx-price-small-font-size-integers":"30px","tx-price-small-font-size-decimals":"14px","tx-price-small-font-size-additional-text":"13px","tx-price-small-font-size-discount":"16px","tx-price-small-line-height-integers":"26px","tx-price-medium-font-size-currency":"16px","tx-price-medium-font-size-integers":"30px","tx-price-medium-font-size-decimals":"14px","tx-price-medium-font-size-additional-text":"13px","tx-price-medium-font-size-discount":"16px","tx-price-medium-line-height-integers":"26px","tx-price-large-font-size-currency":"19px","tx-price-large-font-size-integers":"35px","tx-price-large-font-size-decimals":"17px","tx-price-large-font-size-additional-text":"17px","tx-price-large-font-size-discount":"20px","tx-price-large-line-height-integers":"31px","tx-price-xlarge-font-size-currency":"30px","tx-price-xlarge-font-size-integers":"55px","tx-price-xlarge-font-size-decimals":"27px","tx-price-xlarge-font-size-additional-text":"19px","tx-price-xlarge-font-size-discount":"22px","tx-price-xlarge-line-height-integers":"51px","tx-price-xlarge-height-underline":"8px","tx-sliding-panel-content-flex":"1 1 100%","tx-sliding-panel-content-overflow":"hidden","tx-sliding-panel-content-overflow-y":"auto","tx-sliding-panel-overlay-background-color":"rgba(var(--tx-generic-color-primary-dark-rgb), .65)","tx-sliding-panel-overlay-position":"fixed","tx-sliding-panel-overlay-z-index":"3","tx-sliding-panel-panel-background-color":"var(--tx-generic-color-blank)","tx-sliding-panel-panel-bottom":"0","tx-sliding-panel-panel-box-shadow":"3px 0 3px -3px var(--tx-generic-color-shadow)","tx-sliding-panel-panel-flex-flow":"column","tx-sliding-panel-panel-left":"0","tx-sliding-panel-panel-margin":"0","tx-sliding-panel-panel-max-width":"100%","tx-sliding-panel-panel-min-width":"150px","tx-sliding-panel-panel-opacity":"1","tx-sliding-panel-panel-padding":"15px","tx-sliding-panel-panel-position":"absolute","tx-sliding-panel-panel-right":"auto","tx-sliding-panel-panel-top":"0","tx-sliding-panel-panel-transform":"translateX(-100%)","tx-sliding-panel-panel-transition":"transform 195ms cubic-bezier(0.0, 0.0, 0.2, 1)","tx-sliding-panel-panel-open-transform":"translateX(0)","tx-spinner-color-light":"var(--tx-generic-color-accent-lighter)","tx-spinner-color-lighter":"var(--tx-generic-color-accent)","tx-spinner-color-dark":"var(--tx-generic-color-active)","tx-spinner-color-darker":"var(--tx-generic-color-primary-lighter)","tx-carousel-track-transition":"transform 0.5s cubic-bezier(0.2, 1, 0.3, 1)","tx-carousel-item-min-height":"400px","tx-carousel-button-font-size":"24px","tx-carousel-button-background-color":"#FFFFFF","tx-carousel-button-left-radius":"0 5px 5px 0","tx-carousel-button-right-radius":"5px 0 0 5px","tx-carousel-button-height":"54px","tx-carousel-button-min-width":"30px","tx-carousel-button-color":"var(--tx-generic-color-active)","tx-carousel-marker-background-color":"#FFFFFF","tx-carousel-marker-active-background-color":"var(--tx-generic-color-active)","tx-carousel-marker-width":"10px","tx-carousel-marker-height":"10px","tx-carousel-marker-box-shadow":"0px 2px 5px 0px rgba(0,0,0,0.5)","tx-carousel-marker-border-radius":"100%","tx-carousel-page-background-color":"#FFFFFF","tx-carousel-page-border-radius":"3px","tx-carousel-page-padding":"5px 15px","tx-carousel-page-font-size":"12px","tx-carousel-page-font-family":"var(--tx-generic-font-secondary-font-family)"};
window.TravixTheme = {"tx-generic-border-radius":"8px","tx-generic-font-primary-weight-regular":"400","tx-generic-font-primary-weight-medium":"500","tx-generic-font-primary-weight-semibold":"600","tx-generic-font-primary-weight-bold":"700","tx-generic-font-primary-font-family":"Lato","tx-generic-font-primary-generic-family":"sans-serif","tx-generic-font-secondary-variants-regular":"400","tx-generic-font-secondary-variants-bold":"700","tx-generic-font-secondary-font-family":"Roboto","tx-generic-font-secondary-generic-family":"sans-serif","tx-generic-font-alternative-variants-regular":"400","tx-generic-font-alternative-font-family":"Handlee","tx-generic-font-alternative-generic-family":"cursive","tx-generic-color-accent-darker":"#0B4848","tx-generic-color-accent-dark":"#177D7D","tx-generic-color-accent":"#2A9595","tx-generic-color-accent-border":"#E6BB00","tx-generic-color-accent-bottom":"#FFD05E","tx-generic-color-accent-light":"#46BCBC","tx-generic-color-accent-lighter":"#6EE1E1","tx-generic-color-accent-top":"#FFD97C","tx-generic-color-primary-darker":"#162052","tx-generic-color-primary-dark":"#283A8E","tx-generic-color-primary-dark-rgb":"40,58,142","tx-generic-color-primary":"#3F52A9","tx-generic-color-primary-light":"#7F92E7","tx-generic-color-primary-lighter":"#5B6ECA","tx-generic-color-secondary-darkest":"#57410f","tx-generic-color-secondary-darker":"#785A13","tx-generic-color-secondary-dark":"#CF9E26","tx-generic-color-secondary":"#F8C346","tx-generic-color-secondary-rgb":"248,195,70","tx-generic-color-secondary-light":"#FFD05E","tx-generic-color-secondary-lighter":"#FFD97C","tx-generic-color-text-dark":"#333","tx-generic-color-text":"#666","tx-generic-color-text-light":"#999","tx-generic-color-text-lighter":"#998","tx-generic-color-text-lighter-rgb":"153,153,136","tx-generic-color-active":"#3892e7","tx-generic-color-positive":"#2ca937","tx-generic-color-positive-light":"#9edb97","tx-generic-color-negative":"#c54229","tx-generic-color-negative-light":"#f0d0c9","tx-generic-color-shadow":"#000000","tx-generic-color-shadow-rgb":"0,0,0","tx-generic-color-shadow-alt":"#00196F","tx-generic-color-blank":"#FFFFFF","tx-generic-color-facebook":"#45619D","tx-generic-color-facebook-border":"#324A87","tx-generic-color-twitter":"#08ACEE","tx-generic-color-twitter-border":"#1871C0","tx-generic-color-google":"#B30303","tx-generic-color-google-border":"#670E00","tx-generic-color-mail":"#ec7c1b","tx-generic-color-mail-border":"#cd6612","tx-generic-separator-width":"2px","tx-generic-separator-style":"dotted","tx-generic-size-border-radius-small":"2px","tx-autocomplete-background-color":"var(--tx-generic-color-blank)","tx-autocomplete-box-shadow":"0 0 5px 0 rgba(var(--tx-generic-color-shadow-rgb), .18)","tx-autocomplete-item-color":"var(--tx-generic-color-text)","tx-autocomplete-item-active-color":"var(--tx-generic-color-blank)","tx-autocomplete-item-active-background-color":"var(--tx-generic-color-active)","tx-autocomplete-item-title-color":"var(--tx-generic-color-primary-darker)","tx-autocomplete-item-title-background-color":"var(--tx-generic-color-secondary-dark)","tx-autocomplete-item-highlight-color":"var(--tx-generic-color-active)","tx-badge-after-border-size":"4px","tx-badge-after-border-color":"var(--tx-generic-color-primary-darker)","tx-badge-arrow-angle-coefficient":"0.6","tx-badge-border-bottom-width":"4px","tx-badge-border-bottom-style":"solid","tx-badge-border-bottom-color":"var(--tx-generic-color-primary-darker)","tx-badge-border-radius-start":"0px","tx-badge-border-radius-end":"0px","tx-badge-color-background":"var(--tx-generic-color-accent)","tx-badge-color-text":"var(--tx-generic-color-primary-darker)","tx-badge-indent":"13px","tx-badge-font-size":"15px","tx-badge-padding-right-left":"8px","tx-badge-padding-top-bottom":"6px","tx-button-icon-color-normal":"var(--tx-generic-color-primary-lighter)","tx-button-icon-color-hover":"var(--tx-generic-color-active)","tx-button-icon-color-active":"var(--tx-generic-color-primary-lighter)","tx-button-color-bg-top":"var(--tx-generic-color-accent)","tx-button-color-bg-bottom":"var(--tx-generic-color-accent)","tx-button-color-text":"var(--tx-generic-color-blank)","tx-button-color-border":"var(--tx-generic-color-accent-dark)","tx-button-color-shadow":"transparent","tx-button-color-disabled-bg-top":"var(--tx-generic-color-secondary-dark)","tx-button-color-disabled-bg-bottom":"var(--tx-generic-color-secondary-dark)","tx-button-color-disabled-text":"var(--tx-generic-color-secondary-darker)","tx-button-color-disabled-border":"transparent","tx-button-color-disabled-border-bottom":"var(--tx-generic-color-secondary-darkest)","tx-button-size-border-radius":"2px","tx-button-shadow":"0 3px var(--tx-generic-color-accent-border), 0 0 transparent","tx-button-shadow-hover":"0 5px var(--tx-generic-color-accent-border), 0 0 transparent","tx-button-text-shadow":"none","tx-button-ghost-background":"transparent","tx-button-ghost-color":"#2A9595","tx-button-ghost-border-color":"#2A9595","tx-button-ghost-border":"3px solid var(--tx-button-ghost-border-color)","tx-button-ghost-border-radius":"var(--tx-button-size-border-radius)","tx-button-ghost-font-family":"var(--tx-generic-font-primary-font-family), var(--tx-generic-font-primary-generic-family)","tx-button-ghost-hover-color":"#3F52A9","tx-button-ghost-hover-border-color":"#3F52A9","tx-button-link-color":"#666","tx-button-link-font-family":"var(--tx-generic-font-secondary-font-family)","tx-button-link-font-size":"14px","tx-button-link-font-weight":"var(--tx-generic-font-primary-weight-regular)","tx-button-link-hover-color":"#333","tx-button-link-hover-text-decoration":"underline","tx-button-link-hover-font-family":"var(--tx-generic-font-secondary-font-family)","tx-button-link-hover-font-weight":"var(--tx-generic-font-primary-weight-regular)","tx-button-link-text-decoration":"underline","tx-calendar-height":"300px","tx-calendar-nav-background":"var(--tx-generic-color-primary-lighter)","tx-calendar-nav-border-radius":"5px 5px 0 0","tx-calendar-nav-button-background-color-end":"var(--tx-generic-color-accent-bottom)","tx-calendar-nav-button-background-color-start":"var(--tx-generic-color-accent-top)","tx-calendar-nav-button-border-radius":"50%","tx-calendar-nav-button-box-shadow-color":"var(--tx-generic-color-accent-border)","tx-calendar-nav-button-color":"var(--tx-generic-color-primary-lighter)","tx-calendar-nav-button-font-weight":"700","tx-calendar-nav-button-height":"27px","tx-calendar-nav-button-margin":"0 5px","tx-calendar-nav-button-width":"27px","tx-calendar-nav-height":"41px","tx-calendar-nav-label-color":"var(--tx-generic-color-blank)","tx-calendar-nav-label-font-weight":"500","tx-calendar-header-background-color":"var(--tx-generic-color-primary-lighter)","tx-calendar-header-height":"32px","tx-calendar-header-weekday-color":"var(--tx-generic-color-secondary)","tx-calendar-header-weekday-font-size":"14px","tx-calendar-header-weekday-font-weight":"bold","tx-calendar-options-border-color":"var(--tx-generic-color-secondary)","tx-calendar-options-option-background-color":"var(--tx-generic-color-blank)","tx-calendar-options-option-border-bottom":"var(--tx-generic-color-secondary)","tx-calendar-options-option-border-right":"var(--tx-generic-color-secondary)","tx-calendar-options-option-color":"var(--tx-generic-color-primary-darker)","tx-calendar-options-option-disabled-background-color":"var(--tx-generic-color-secondary)","tx-calendar-options-option-disabled-color":"var(--tx-generic-color-secondary-darkest)","tx-calendar-options-option-font-size":"14px","tx-calendar-options-option-hover-background-color":"var(--tx-generic-color-active)","tx-calendar-options-option-hover-color":"var(--tx-generic-color-blank)","tx-calendar-options-option-next-month-background-color":"var(--tx-generic-color-secondary-light)","tx-calendar-options-option-previous-month-background-color":"var(--tx-generic-color-secondary-light)","tx-calendar-options-option-range-after-border-color":"transparent","tx-calendar-options-option-range-between-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-options-option-range-end-after-border-color":"var(--tx-generic-color-active)","tx-calendar-options-option-range-end-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-options-option-range-start-after-border-color":"var(--tx-generic-color-active)","tx-calendar-options-option-range-start-background-color":"var(--tx-generic-color-secondary-dark)","tx-calendar-width":"300px","tx-checkbox-text-color":"var(--tx-generic-color-text-dark)","tx-checkbox-text-background-color":"var(--tx-generic-color-blank)","tx-checkbox-text-border-color":"var(--tx-generic-color-secondary)","tx-checkbox-text-hover-color":"var(--tx-generic-color-active)","tx-checkbox-text-checked-background-color":"var(--tx-generic-color-active)","tx-checkbox-text-checked-border-color":"var(--tx-generic-color-active)","tx-checkbox-text-icon-checked-border-color":"var(--tx-generic-color-secondary)","tx-checkbox-text-disabled-color":"rgba(var(--tx-generic-color-text-lighter-rgb), .3)","tx-checkbox-text-disabled-border-color":"rgba(var(--tx-generic-color-secondary-rgb), .3)","tx-collapse-background-color":"var(--tx-generic-color-blank)","tx-collapse-border-radius":"8px","tx-collapse-padding":"25px","tx-collapse-item-label-color":"var(--tx-generic-color-text-dark)","tx-collapse-item-label-background-color":"var(--tx-generic-color-blank)","tx-collapse-item-label-active-color":"var(--tx-generic-color-active)","tx-collapse-item-label-icon-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-label-icon-active-color":"var(--tx-generic-color-active)","tx-collapse-item-label-border-bottom-width":"2px","tx-collapse-item-label-border-bottom-style":"dotted","tx-collapse-item-label-border-bottom-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-content-color":"var(--tx-generic-color-text)","tx-collapse-item-content-background-color":"var(--tx-generic-color-secondary-light)","tx-collapse-item-content-background-border-bottom-color":"var(--tx-generic-color-secondary-darker)","tx-collapse-item-content-border-radius":"8px","tx-datepicker-calendar-wrapper-background-color":"var(--tx-generic-color-blank)","tx-datepicker-calendar-wrapper-box-shadow":"0 0 4px rgba(var(--tx-generic-color-shadow-rgb), .4)","tx-dropdown-input-background-color":"var(--tx-generic-color-blank)","tx-dropdown-input-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-option-color":"var(--tx-generic-color-text-dark)","tx-dropdown-arrow-color":"var(--tx-generic-color-primary-lighter)","tx-dropdown-select-control-border-color":"var(--tx-generic-color-active)","tx-dropdown-select-menu-outer-box-shadow":"0 0 5px 0 rgba(var(--tx-generic-color-shadow-rgb), .18)","tx-dropdown-select-arrow-zone-border-color-left":"var(--tx-generic-color-secondary-darker)","tx-dropdown-select-arrow-zone-color":"var(--tx-generic-color-active)","tx-dropdown-select-arrow-zone-hover-color":"var(--tx-generic-color-active)","tx-dropdown-select-option-color":"var(--tx-generic-color-text)","tx-dropdown-select-option-hover-background-color":"var(--tx-generic-color-secondary-light)","tx-dropdown-select-option-is-selected-background-color":"var(--tx-generic-color-active)","tx-dropdown-select-option-is-selected-color":"var(--tx-generic-color-blank)","tx-dropdown-option-arrow-border-color":"var(--tx-generic-color-blank)","tx-dropdown-option-arrow-border-shadow-color":"rgba(var(--tx-generic-color-shadow-rgb), .07)","tx-dropdown-filter-select-control-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-filter-select-placeholder-color":"var(--tx-generic-color-text-dark)","tx-dropdown-filter-select-placeholder-line-height":"28px","tx-dropdown-filter-select-menu-outer-box-shadow":"rgba(var(--tx-generic-color-shadow-rgb), .5)","tx-dropdown-active-select-control-background-color":"var(--tx-generic-color-blank)","tx-dropdown-active-select-control-border-color":"var(--tx-generic-color-active)","tx-dropdown-status-font-size":"20px","tx-dropdown-status-right":"59px","tx-dropdown-status-error-border-color":"var(--tx-generic-color-negative-light)","tx-dropdown-status-error-color":"var(--tx-generic-color-negative)","tx-dropdown-status-error-padding-right":"94px","tx-dropdown-status-valid-border-color":"var(--tx-generic-color-secondary-darker)","tx-dropdown-status-valid-color":"var(--tx-generic-color-positive)","tx-dropdown-status-valid-padding-right":"94px","tx-dropdown-padding-right":"60px","tx-dropdown-filter-option-checkbox-color":"var(--tx-generic-color-text-light)","tx-dropdown-filter-option-checkbox-hover-color":"var(--tx-generic-color-text)","tx-dropdown-filter-option-checkbox-disabled-color":"rgba(var(--tx-generic-color-text-lighter-rgb), .3)","tx-dropdown-filter-option-hover-and-not-disabled-background-color":"var(--tx-generic-color-active)","tx-dropdown-filter-option-hover-and-not-disabled-checkbox-color":"var(--tx-generic-color-blank)","tx-input-border-color":"var(--tx-generic-color-secondary-darker)","tx-input-border-hover-color":"var(--tx-generic-color-active)","tx-input-border-width":"2px","tx-input-border-radius":"4px","tx-input-color":"var(--tx-generic-color-text-dark)","tx-input-font-size":"16px","tx-input-focused-border-color":"var(--tx-generic-color-active)","tx-input-status-font-size":"20px","tx-input-status-right":"14px","tx-input-status-error-border-color":"var(--tx-generic-color-negative-light)","tx-input-status-error-color":"var(--tx-generic-color-negative)","tx-input-status-error-padding-right":"32px","tx-input-status-valid-border-color":"var(--tx-generic-color-secondary-darker)","tx-input-status-valid-color":"var(--tx-generic-color-positive)","tx-input-status-valid-padding-right":"32px","tx-input-padding":"15px","tx-list-bullets-color":"var(--tx-generic-color-active)","tx-list-color":"var(--tx-generic-color-text-dark)","tx-list-line-height":"38px","tx-messagebox-background-color-info":"var(--tx-generic-color-secondary-light)","tx-messagebox-background-color-error":"var(--tx-generic-color-negative-light)","tx-messagebox-background-color-success":"var(--tx-generic-color-positive-lighter)","tx-messagebox-border-radius":"12px","tx-messagebox-color":"var(--tx-generic-color-text)","tx-messagebox-title-color":"var(--tx-generic-color-primary)","tx-messagebox-title-font-size":"20px","tx-messagebox-title-padding-bottom":"0px","tx-messagebox-padding":"24px","tx-modal-z-index":"100","tx-modal-color-dark":"var(--tx-generic-color-primary-dark)","tx-modal-color-secondary":"var(--tx-generic-color-secondary)","tx-modal-overlay-background-color":"var(--tx-generic-color-primary-dark)","tx-modal-overlay-background-opacity":"0.65","tx-modal-container-background-color":"var(--tx-generic-color-blank)","tx-modal-container-box-shadow-color":"rgba(var(--tx-generic-color-shadow-rgb), .3)","tx-modal-content-background-color":"var(--tx-generic-color-secondary-lighter)","tx-modal-content-padding-left-right":"24px","tx-modal-content-devider-color":"var(--tx-generic-color-secondary-darker)","tx-modal-close-button-color":"var(--tx-generic-color-text-dark)","tx-modal-close-button-hover-color":"var(--tx-generic-color-active)","tx-modal-close-button-icon-color":"var(--tx-generic-color-secondary-darker)","tx-price-height-underline":"6px","tx-price-margin-top-underline":"2px;","tx-price-small-font-size-currency":"15px","tx-price-small-font-size-integers":"30px","tx-price-small-font-size-decimals":"14px","tx-price-small-font-size-additional-text":"13px","tx-price-small-font-size-discount":"16px","tx-price-small-line-height-integers":"26px","tx-price-medium-font-size-currency":"16px","tx-price-medium-font-size-integers":"30px","tx-price-medium-font-size-decimals":"14px","tx-price-medium-font-size-additional-text":"13px","tx-price-medium-font-size-discount":"16px","tx-price-medium-line-height-integers":"26px","tx-price-large-font-size-currency":"19px","tx-price-large-font-size-integers":"35px","tx-price-large-font-size-decimals":"17px","tx-price-large-font-size-additional-text":"17px","tx-price-large-font-size-discount":"20px","tx-price-large-line-height-integers":"31px","tx-price-xlarge-font-size-currency":"30px","tx-price-xlarge-font-size-integers":"55px","tx-price-xlarge-font-size-decimals":"27px","tx-price-xlarge-font-size-additional-text":"19px","tx-price-xlarge-font-size-discount":"22px","tx-price-xlarge-line-height-integers":"51px","tx-price-xlarge-height-underline":"8px","tx-sliding-panel-content-flex":"1 1 100%","tx-sliding-panel-content-overflow":"hidden","tx-sliding-panel-content-overflow-y":"auto","tx-sliding-panel-overlay-background-color":"rgba(var(--tx-generic-color-primary-dark-rgb), .65)","tx-sliding-panel-overlay-position":"fixed","tx-sliding-panel-overlay-z-index":"3","tx-sliding-panel-panel-background-color":"var(--tx-generic-color-blank)","tx-sliding-panel-panel-bottom":"0","tx-sliding-panel-panel-box-shadow":"3px 0 3px -3px var(--tx-generic-color-shadow)","tx-sliding-panel-panel-flex-flow":"column","tx-sliding-panel-panel-left":"0","tx-sliding-panel-panel-margin":"0","tx-sliding-panel-panel-max-width":"100%","tx-sliding-panel-panel-min-width":"150px","tx-sliding-panel-panel-opacity":"1","tx-sliding-panel-panel-padding":"15px","tx-sliding-panel-panel-position":"absolute","tx-sliding-panel-panel-right":"auto","tx-sliding-panel-panel-top":"0","tx-sliding-panel-panel-transform":"translateX(-100%)","tx-sliding-panel-panel-transition":"transform 195ms cubic-bezier(0.0, 0.0, 0.2, 1)","tx-sliding-panel-panel-open-transform":"translateX(0)","tx-spinner-color-light":"var(--tx-generic-color-accent-lighter)","tx-spinner-color-lighter":"var(--tx-generic-color-accent)","tx-spinner-color-dark":"var(--tx-generic-color-active)","tx-spinner-color-darker":"var(--tx-generic-color-primary-lighter)","tx-carousel-track-transition":"transform 0.5s cubic-bezier(0.2, 1, 0.3, 1)","tx-carousel-item-min-height":"400px","tx-carousel-button-font-size":"24px","tx-carousel-button-background-color":"#FFFFFF","tx-carousel-button-left-radius":"0 5px 5px 0","tx-carousel-button-right-radius":"5px 0 0 5px","tx-carousel-button-height":"54px","tx-carousel-button-min-width":"30px","tx-carousel-button-color":"var(--tx-generic-color-active)","tx-carousel-marker-background-color":"#FFFFFF","tx-carousel-marker-active-background-color":"var(--tx-generic-color-active)","tx-carousel-marker-width":"10px","tx-carousel-marker-height":"10px","tx-carousel-marker-box-shadow":"0px 2px 5px 0px rgba(0,0,0,0.5)","tx-carousel-marker-border-radius":"100%","tx-carousel-page-background-color":"#FFFFFF","tx-carousel-page-border-radius":"3px","tx-carousel-page-padding":"5px 15px","tx-carousel-page-font-size":"12px","tx-carousel-page-font-family":"var(--tx-generic-font-secondary-font-family)","tx-toggle-button-item-font-size":"14px","tx-toggle-button-item-line-height":"25px","tx-toggle-button-item-border-color":"var(--tx-generic-color-secondary-darker)","tx-toggle-button-item-border-radius":"4px","tx-toggle-button-item-border-size":"2px","tx-toggle-button-item-border-style":"solid","tx-toggle-button-item-active-font-size":"19px","tx-toggle-button-item-active-line-height":"24px","tx-tooltip-margin":"15px","tx-tooltip-arrow-align":"15px","tx-tooltip-close-button-color":"var(--tx-generic-color-secondary-darker)","tx-tooltip-close-button-hover-color":"var(--tx-generic-color-secondary-darkest)","tx-tooltip-top-shadow":"2px 2px 6px -2px rgba(0,0,0,0.4)","tx-tooltip-bottom-shadow":"-2px -2px 6px -2px rgba(0,0,0,0.4)","tx-tooltip-right-shadow":"-2px 2px 6px -2px rgba(0,0,0,0.4)","tx-tooltip-left-shadow":"2px -2px 6px -2px rgba(0,0,0,0.4)","tx-tooltip-shadow":"0 0 6px rgba(0,0,0,0.4)","tx-tooltip-background-color":"#FFFFFF","tx-tooltip-border-radius":"4px","tx-tooltip-font-size":"20px"};

@@ -37,8 +37,8 @@ 'use strict';

if (activeKey === undefined && defaultActiveKey) {
return getNormalizedActiveKey({ activeKey: defaultActiveKey });
if (typeof activeKey === 'undefined') {
if (typeof defaultActiveKey !== 'undefined') {
return getNormalizedActiveKey({ activeKey: defaultActiveKey });
}
return [];
}
if (!activeKey) {
activeKey = [];
}
return activeKey instanceof Array ? activeKey : [activeKey];

@@ -97,3 +97,3 @@ };

if (typeof this.props.onChange === 'function') {
this.props.onChange(this.props.isAccordion ? activeKey[0] || null : activeKey);
this.props.onChange(this.props.isAccordion ? activeKey[0] : activeKey);
}

@@ -118,3 +118,3 @@ }

var key = child.props.id || child.key || 'ui-collapse-item.' + index;
var key = typeof child.props.id !== 'undefined' ? child.props.id : child.key || 'ui-collapse-item.' + index;
var isActive = isAccordion ? activeKey[0] === key : activeKey.indexOf(key) >= 0;

@@ -167,3 +167,3 @@ return (0, _react.cloneElement)(child, {

*/
activeKey: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.arrayOf(_propTypes2.default.string)]),
activeKey: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.arrayOf(_propTypes2.default.number), _propTypes2.default.string, _propTypes2.default.arrayOf(_propTypes2.default.string)]),
/**

@@ -170,0 +170,0 @@ * The list of CollapseItem components

@@ -124,3 +124,3 @@ 'use strict';

*/
id: _propTypes2.default.string,
id: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
/**

@@ -145,3 +145,2 @@ * Specify a function that will be called when a user click on label

CollapseItem.defaultProps = {
id: null,
isActive: false,

@@ -148,0 +147,0 @@ iconPosition: 'left',

@@ -75,2 +75,6 @@ 'use strict';

var _overlayTrigger = require('./overlayTrigger/overlayTrigger');
var _overlayTrigger2 = _interopRequireDefault(_overlayTrigger);
var _price = require('./price/price');

@@ -96,2 +100,10 @@

var _toggleButton = require('./toggleButton/toggleButton');
var _toggleButton2 = _interopRequireDefault(_toggleButton);
var _tooltip = require('./tooltip/tooltip');
var _tooltip2 = _interopRequireDefault(_tooltip);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -117,2 +129,3 @@

Modal: _modal2.default,
OverlayTrigger: _overlayTrigger2.default,
Price: _price2.default,

@@ -122,4 +135,6 @@ RadioButton: _radioButton2.default,

SlidingPanel: _slidingPanel2.default,
Spinner: _spinner2.default
Spinner: _spinner2.default,
ToggleButton: _toggleButton2.default,
Tooltip: _tooltip2.default
};
module.exports = exports['default'];
{
"name": "travix-ui-kit",
"version": "0.6.23",
"version": "0.6.24",
"description": "Travix UI kit",
"main": "lib/index.js",
"scripts": {
"prebuild": "babel --copy-files ./components --out-dir lib --ignore *.scss,*.md &",
"build:watch": "node ./builder/program -w",
"build": "node ./builder/program",
"build:watch": "node ./builder/program -w",
"ci:lint": "eslint --color --max-warnings 0 --quiet '{components,tests,utils,scripts}/**/*.js'",
"ci:send-coverage": "codecov",
"ci:test": "TZ=utc jest -c ./tests/jest.config.json --bail --ci --coverage --no-cache --silent",
"lint": "eslint --color '{components,tests,utils,scripts}/**/*.js'",
"prebuild:watch": "babel --copy-files ./components --out-dir lib --ignore *.scss,*.md -w &",
"prebuild": "babel --copy-files ./components --out-dir lib --ignore *.scss,*.md &",
"styleguide-build": "styleguidist build",
"styleguide-server": "styleguidist server",
"styleguide-build": "styleguidist build",
"test": "TZ=utc jest -c ./tests/jest.config.json",
"update-snapshots": "TZ=utc jest -c ./tests/jest.config.json -u",
"cov": "TZ=utc jest -c ./tests/jest.config.json --coverage --no-cache",
"coverage:coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint --color '{components,tests,utils,scripts}/**/*.js'",
"transpile": "npm run build"
"transpile": "npm run build",
"update-snapshots": "TZ=utc jest -c ./tests/jest.config.json -u"
},

@@ -60,4 +61,4 @@ "repository": {

"cheerio": "^0.22.0",
"codecov": "^2.3.0",
"commander": "^2.9.0",
"coveralls": "^2.11.12",
"create-react-class": "^15.5.2",

@@ -64,0 +65,0 @@ "css-loader": "~0.28.1",

@@ -5,3 +5,4 @@ # Travix UI-kit

[![npm](https://img.shields.io/npm/v/travix-ui-kit.svg)](https://www.npmjs.com/package/travix-ui-kit) [![Build Status](https://img.shields.io/travis/Travix-International/travix-ui-kit/master.svg)](http://travis-ci.org/Travix-International/travix-ui-kit) [![Coverage](https://img.shields.io/coveralls/Travix-International/travix-ui-kit.svg)](https://coveralls.io/github/Travix-International/travix-ui-kit) [![NSP Status](https://nodesecurity.io/orgs/travix-international-bv/projects/4757808e-0ffc-47dd-9c82-c48e782631dd/badge)](https://nodesecurity.io/orgs/travix-international-bv/projects/4757808e-0ffc-47dd-9c82-c48e782631dd)
[![npm](https://img.shields.io/npm/v/travix-ui-kit.svg)](https://www.npmjs.com/package/travix-ui-kit) [![Build Status](https://img.shields.io/travis/Travix-International/travix-ui-kit/master.svg)](http://travis-ci.org/Travix-International/travix-ui-kit) [![coverage](https://codecov.io/gh/Travix-International/travix-ui-kit/branch/master/graph/badge.svg)](https://codecov.io/gh/Travix-International/travix-ui-kit)
(https://coveralls.io/github/Travix-International/travix-ui-kit) [![NSP Status](https://nodesecurity.io/orgs/travix-international-bv/projects/4757808e-0ffc-47dd-9c82-c48e782631dd/badge)](https://nodesecurity.io/orgs/travix-international-bv/projects/4757808e-0ffc-47dd-9c82-c48e782631dd)

@@ -8,0 +9,0 @@ Travix UI Components' repository.

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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc