@hipay/hipay-material-ui 1.0.0-beta.26 → 1.0.0-beta.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HI-CHANGELOG.md +37 -0
 - package/HiForm/HiFormControl.js +4 -4
 - package/HiSelect/HiSelect.js +8 -6
 - package/HiTable/BodyCells/CellRate.js +3 -3
 - package/HiTable/HiTableFooter.js +5 -6
 - package/es/HiForm/HiFormControl.js +4 -4
 - package/es/HiSelect/HiSelect.js +8 -6
 - package/es/HiTable/BodyCells/CellRate.js +3 -3
 - package/es/HiTable/HiTableFooter.js +6 -6
 - package/index.es.js +1 -1
 - package/index.js +1 -1
 - package/package.json +1 -1
 - package/umd/hipay-material-ui.development.js +24 -19
 - package/umd/hipay-material-ui.production.min.js +4 -4
 
    
        package/HI-CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,3 +1,40 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <a name="1.0.0-beta.27"></a>
         
     | 
| 
      
 2 
     | 
    
         
            +
            # 1.0.0-beta.27 (2018-08-27)
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ### Bug Fixes
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * **BodyRow:** add locale vars to child BodyRow ([9252382](https://gitlab.hipay.org/backend/hipay-material-ui/commit/9252382))
         
     | 
| 
      
 8 
     | 
    
         
            +
            * **CellDate:** Handle date with moment & use prop format ([7fa8bf5](https://gitlab.hipay.org/backend/hipay-material-ui/commit/7fa8bf5))
         
     | 
| 
      
 9 
     | 
    
         
            +
            * **HeaderCell:** set sort icons always on the right of the title ([0704619](https://gitlab.hipay.org/backend/hipay-material-ui/commit/0704619))
         
     | 
| 
      
 10 
     | 
    
         
            +
            * **HiDateRangePicker:** Keep focus on change dateTo if user types directly into the input to see date selection into calendar ([e998c60](https://gitlab.hipay.org/backend/hipay-material-ui/commit/e998c60))
         
     | 
| 
      
 11 
     | 
    
         
            +
            * **HiDateRangePicker:** Reset date range picker input to ([b1a66f3](https://gitlab.hipay.org/backend/hipay-material-ui/commit/b1a66f3))
         
     | 
| 
      
 12 
     | 
    
         
            +
            * **HiDateRangeSelector:** UPD select value from parent component (defaultPreset property) ([90bb994](https://gitlab.hipay.org/backend/hipay-material-ui/commit/90bb994))
         
     | 
| 
      
 13 
     | 
    
         
            +
            * **HiFormControl:** add error on disabled fields ([87ef0b6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/87ef0b6))
         
     | 
| 
      
 14 
     | 
    
         
            +
            * **HiInput:** Keep focus on reset HiInput ([a84edab](https://gitlab.hipay.org/backend/hipay-material-ui/commit/a84edab))
         
     | 
| 
      
 15 
     | 
    
         
            +
            * **HiPins:** Add theme business primary color as default background color for HiPins and fix line-height  ([23aa2d9](https://gitlab.hipay.org/backend/hipay-material-ui/commit/23aa2d9))
         
     | 
| 
      
 16 
     | 
    
         
            +
            * **HiSelect:** add dynamic prop to handle dynamic select with initial options ([c668b90](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c668b90))
         
     | 
| 
      
 17 
     | 
    
         
            +
            * **HiSelect:** Display option label instead of all for selects with 1 option ([e47574a](https://gitlab.hipay.org/backend/hipay-material-ui/commit/e47574a))
         
     | 
| 
      
 18 
     | 
    
         
            +
            * **HiSelect:** Don't try to display unique selected options item when still loading ([116a72a](https://gitlab.hipay.org/backend/hipay-material-ui/commit/116a72a))
         
     | 
| 
      
 19 
     | 
    
         
            +
            * **HiSelect:** Enable to handle hierarchic padding via options prop level ([dc4e5d8](https://gitlab.hipay.org/backend/hipay-material-ui/commit/dc4e5d8))
         
     | 
| 
      
 20 
     | 
    
         
            +
            * **HiSelect:** Handle unique and undefined selected item ([8dbb542](https://gitlab.hipay.org/backend/hipay-material-ui/commit/8dbb542))
         
     | 
| 
      
 21 
     | 
    
         
            +
            * **HiSelectableList:** item displayed only if item.displayed != false ([e65b865](https://gitlab.hipay.org/backend/hipay-material-ui/commit/e65b865))
         
     | 
| 
      
 22 
     | 
    
         
            +
            * **HiTable:** Add default translations object to HeaderCell ([4ed766f](https://gitlab.hipay.org/backend/hipay-material-ui/commit/4ed766f))
         
     | 
| 
      
 23 
     | 
    
         
            +
            * **HiTable:** Performance optimization ([3ca60d3](https://gitlab.hipay.org/backend/hipay-material-ui/commit/3ca60d3))
         
     | 
| 
      
 24 
     | 
    
         
            +
            * **HiTable:** remove anchorEls from state to remove circular structure in JSON compares ([c064ce9](https://gitlab.hipay.org/backend/hipay-material-ui/commit/c064ce9))
         
     | 
| 
      
 25 
     | 
    
         
            +
            * **SelectInput:** selected choice label not overflowing on right arrow of HiSelect ([a7d7058](https://gitlab.hipay.org/backend/hipay-material-ui/commit/a7d7058))
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            ### Features
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            * **CellText:** add color props ([ff2bba8](https://gitlab.hipay.org/backend/hipay-material-ui/commit/ff2bba8))
         
     | 
| 
      
 31 
     | 
    
         
            +
            * **HiChip:** enable to display tooltip on HiChip via the prop 'title' ([6b15ca6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/6b15ca6))
         
     | 
| 
      
 32 
     | 
    
         
            +
            * **HiDateRangePicker:** Add onBlur prop function to handle date errors properly ([df79494](https://gitlab.hipay.org/backend/hipay-material-ui/commit/df79494))
         
     | 
| 
      
 33 
     | 
    
         
            +
            * **HiTableContextMenu:** handle hide lookup/exclude menu item for each column ([03e00cb](https://gitlab.hipay.org/backend/hipay-material-ui/commit/03e00cb))
         
     | 
| 
      
 34 
     | 
    
         
            +
            * **workflow:** Add HI-CHANGELOG generation from commits ([edee0f6](https://gitlab.hipay.org/backend/hipay-material-ui/commit/edee0f6))
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
       1 
38 
     | 
    
         
             
            <a name="1.0.0-beta.26"></a>
         
     | 
| 
       2 
39 
     | 
    
         
             
            # 1.0.0-beta.26 (2018-08-24)
         
     | 
| 
       3 
40 
     | 
    
         | 
    
        package/HiForm/HiFormControl.js
    CHANGED
    
    | 
         @@ -223,7 +223,7 @@ var HiFormControl = function (_React$PureComponent) { 
     | 
|
| 
       223 
223 
     | 
    
         
             
                                error: error,
         
     | 
| 
       224 
224 
     | 
    
         
             
                                ref: rootRef
         
     | 
| 
       225 
225 
     | 
    
         
             
                            }, others),
         
     | 
| 
       226 
     | 
    
         
            -
                             
     | 
| 
      
 226 
     | 
    
         
            +
                            error && errorText && helperOpen && _react2.default.createElement(
         
     | 
| 
       227 
227 
     | 
    
         
             
                                'div',
         
     | 
| 
       228 
228 
     | 
    
         
             
                                { className: classes.errorDiv },
         
     | 
| 
       229 
229 
     | 
    
         
             
                                _react2.default.createElement('div', {
         
     | 
| 
         @@ -231,7 +231,7 @@ var HiFormControl = function (_React$PureComponent) { 
     | 
|
| 
       231 
231 
     | 
    
         
             
                                }),
         
     | 
| 
       232 
232 
     | 
    
         
             
                                errorText
         
     | 
| 
       233 
233 
     | 
    
         
             
                            ),
         
     | 
| 
       234 
     | 
    
         
            -
                             
     | 
| 
      
 234 
     | 
    
         
            +
                            helperIcon && helperText && !error && helperOpen && _react2.default.createElement(
         
     | 
| 
       235 
235 
     | 
    
         
             
                                'div',
         
     | 
| 
       236 
236 
     | 
    
         
             
                                {
         
     | 
| 
       237 
237 
     | 
    
         
             
                                    className: classes.helperDiv
         
     | 
| 
         @@ -254,11 +254,11 @@ var HiFormControl = function (_React$PureComponent) { 
     | 
|
| 
       254 
254 
     | 
    
         
             
                                    disabled: disabled,
         
     | 
| 
       255 
255 
     | 
    
         
             
                                    focused: !disabled && (focused || hovered)
         
     | 
| 
       256 
256 
     | 
    
         
             
                                }, InputLabelProps),
         
     | 
| 
       257 
     | 
    
         
            -
                                 
     | 
| 
      
 257 
     | 
    
         
            +
                                error && _react2.default.createElement(_mdiMaterialUi.Alert, {
         
     | 
| 
       258 
258 
     | 
    
         
             
                                    className: classes.errorIcon,
         
     | 
| 
       259 
259 
     | 
    
         
             
                                    onClick: this.handleHelperClick
         
     | 
| 
       260 
260 
     | 
    
         
             
                                }),
         
     | 
| 
       261 
     | 
    
         
            -
                                 
     | 
| 
      
 261 
     | 
    
         
            +
                                helperIcon && helperText && !error && _react2.default.createElement(_mdiMaterialUi.Information, {
         
     | 
| 
       262 
262 
     | 
    
         
             
                                    className: (0, _classnames2.default)(classes.helperIcon, (0, _defineProperty3.default)({}, classes.helperIconActive, helperOpen)),
         
     | 
| 
       263 
263 
     | 
    
         
             
                                    onClick: this.handleHelperClick
         
     | 
| 
       264 
264 
     | 
    
         
             
                                })
         
     | 
    
        package/HiSelect/HiSelect.js
    CHANGED
    
    | 
         @@ -524,9 +524,9 @@ var _initialiseProps = function _initialiseProps() { 
     | 
|
| 
       524 
524 
     | 
    
         
             
                    if (_this3.state.open) {
         
     | 
| 
       525 
525 
     | 
    
         
             
                        _this3.handleClose();
         
     | 
| 
       526 
526 
     | 
    
         
             
                    } else {
         
     | 
| 
       527 
     | 
    
         
            -
                        if (! 
     | 
| 
       528 
     | 
    
         
            -
                            //document.body.style.overflow = 'hidden';
         
     | 
| 
       529 
     | 
    
         
            -
                        }
         
     | 
| 
      
 527 
     | 
    
         
            +
                        /*if (!this.props.staticPosition) {
         
     | 
| 
      
 528 
     | 
    
         
            +
                            // document.body.style.overflow = 'hidden';
         
     | 
| 
      
 529 
     | 
    
         
            +
                        }*/
         
     | 
| 
       530 
530 
     | 
    
         
             
                        _this3.setState({ open: true });
         
     | 
| 
       531 
531 
     | 
    
         
             
                        var options = _this3.props.options.slice();
         
     | 
| 
       532 
532 
     | 
    
         
             
                        _this3.handleSuggestions(options);
         
     | 
| 
         @@ -588,9 +588,11 @@ var _initialiseProps = function _initialiseProps() { 
     | 
|
| 
       588 
588 
     | 
    
         
             
                    } else if (event.key === 'ArrowUp') {
         
     | 
| 
       589 
589 
     | 
    
         
             
                        nextItem = (0, _hiHelpers.getNextItemSelectable)(document.activeElement, 'up');
         
     | 
| 
       590 
590 
     | 
    
         
             
                    } else if (event.key === 'Tab') {
         
     | 
| 
       591 
     | 
    
         
            -
                        if (! 
     | 
| 
       592 
     | 
    
         
            -
                             
     | 
| 
       593 
     | 
    
         
            -
                        }
         
     | 
| 
      
 591 
     | 
    
         
            +
                        /* if (!this.props.staticPosition) {
         
     | 
| 
      
 592 
     | 
    
         
            +
                            document.body.style.overflow = 'auto';
         
     | 
| 
      
 593 
     | 
    
         
            +
                        } */
         
     | 
| 
      
 594 
     | 
    
         
            +
                        _this3.setState({ open: false });
         
     | 
| 
      
 595 
     | 
    
         
            +
                    } else if (event.key === 'Escape') {
         
     | 
| 
       594 
596 
     | 
    
         
             
                        _this3.setState({ open: false });
         
     | 
| 
       595 
597 
     | 
    
         
             
                    }
         
     | 
| 
       596 
598 
     | 
    
         
             
                    if (nextItem) {
         
     | 
| 
         @@ -82,8 +82,8 @@ var styles = exports.styles = function styles(theme) { 
     | 
|
| 
       82 
82 
     | 
    
         
             
                    negative: {
         
     | 
| 
       83 
83 
     | 
    
         
             
                        color: theme.palette.negative.normal
         
     | 
| 
       84 
84 
     | 
    
         
             
                    },
         
     | 
| 
       85 
     | 
    
         
            -
                     
     | 
| 
       86 
     | 
    
         
            -
                        color: theme.palette. 
     | 
| 
      
 85 
     | 
    
         
            +
                    neutral: {
         
     | 
| 
      
 86 
     | 
    
         
            +
                        color: theme.palette.neutral.normal
         
     | 
| 
       87 
87 
     | 
    
         
             
                    },
         
     | 
| 
       88 
88 
     | 
    
         
             
                    spanIndicator: {
         
     | 
| 
       89 
89 
     | 
    
         
             
                        fontSize: 11,
         
     | 
| 
         @@ -136,7 +136,7 @@ var CellRate = function (_React$Component) { 
     | 
|
| 
       136 
136 
     | 
    
         | 
| 
       137 
137 
     | 
    
         
             
                        switch (trendchip) {
         
     | 
| 
       138 
138 
     | 
    
         
             
                            case cst.NO_EVOLUTION:
         
     | 
| 
       139 
     | 
    
         
            -
                                trendIcon = _react2.default.createElement(_mdiMaterialUi.Equal, { className: classes.trendChipIcon + ' ' + classes. 
     | 
| 
      
 139 
     | 
    
         
            +
                                trendIcon = _react2.default.createElement(_mdiMaterialUi.Equal, { className: classes.trendChipIcon + ' ' + classes.neutral });
         
     | 
| 
       140 
140 
     | 
    
         
             
                                break;
         
     | 
| 
       141 
141 
     | 
    
         
             
                            case cst.EVOLUTION_UP:
         
     | 
| 
       142 
142 
     | 
    
         
             
                                trendIcon = _react2.default.createElement(_mdiMaterialUi.ArrowTopRight, {
         
     | 
    
        package/HiTable/HiTableFooter.js
    CHANGED
    
    | 
         @@ -5,10 +5,6 @@ Object.defineProperty(exports, "__esModule", { 
     | 
|
| 
       5 
5 
     | 
    
         
             
            });
         
     | 
| 
       6 
6 
     | 
    
         
             
            exports.styles = undefined;
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            var _stringify = require('babel-runtime/core-js/json/stringify');
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            var _stringify2 = _interopRequireDefault(_stringify);
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
8 
     | 
    
         
             
            var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
         
     | 
| 
       13 
9 
     | 
    
         | 
| 
       14 
10 
     | 
    
         
             
            var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
         
     | 
| 
         @@ -83,8 +79,11 @@ var HiTableFooter = function (_React$Component) { 
     | 
|
| 
       83 
79 
     | 
    
         | 
| 
       84 
80 
     | 
    
         
             
                (0, _createClass3.default)(HiTableFooter, [{
         
     | 
| 
       85 
81 
     | 
    
         
             
                    key: 'shouldComponentUpdate',
         
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
                    // Table footer never need to be updated
         
     | 
| 
      
 85 
     | 
    
         
            +
                    value: function shouldComponentUpdate() {
         
     | 
| 
      
 86 
     | 
    
         
            +
                        return false;
         
     | 
| 
       88 
87 
     | 
    
         
             
                    }
         
     | 
| 
       89 
88 
     | 
    
         
             
                }, {
         
     | 
| 
       90 
89 
     | 
    
         
             
                    key: 'render',
         
     | 
| 
         @@ -150,7 +150,7 @@ class HiFormControl extends React.PureComponent { 
     | 
|
| 
       150 
150 
     | 
    
         
             
                            error: error,
         
     | 
| 
       151 
151 
     | 
    
         
             
                            ref: rootRef
         
     | 
| 
       152 
152 
     | 
    
         
             
                        }, others),
         
     | 
| 
       153 
     | 
    
         
            -
                         
     | 
| 
      
 153 
     | 
    
         
            +
                        error && errorText && helperOpen && React.createElement(
         
     | 
| 
       154 
154 
     | 
    
         
             
                            'div',
         
     | 
| 
       155 
155 
     | 
    
         
             
                            { className: classes.errorDiv },
         
     | 
| 
       156 
156 
     | 
    
         
             
                            React.createElement('div', {
         
     | 
| 
         @@ -158,7 +158,7 @@ class HiFormControl extends React.PureComponent { 
     | 
|
| 
       158 
158 
     | 
    
         
             
                            }),
         
     | 
| 
       159 
159 
     | 
    
         
             
                            errorText
         
     | 
| 
       160 
160 
     | 
    
         
             
                        ),
         
     | 
| 
       161 
     | 
    
         
            -
                         
     | 
| 
      
 161 
     | 
    
         
            +
                        helperIcon && helperText && !error && helperOpen && React.createElement(
         
     | 
| 
       162 
162 
     | 
    
         
             
                            'div',
         
     | 
| 
       163 
163 
     | 
    
         
             
                            {
         
     | 
| 
       164 
164 
     | 
    
         
             
                                className: classes.helperDiv
         
     | 
| 
         @@ -181,11 +181,11 @@ class HiFormControl extends React.PureComponent { 
     | 
|
| 
       181 
181 
     | 
    
         
             
                                disabled: disabled,
         
     | 
| 
       182 
182 
     | 
    
         
             
                                focused: !disabled && (focused || hovered)
         
     | 
| 
       183 
183 
     | 
    
         
             
                            }, InputLabelProps),
         
     | 
| 
       184 
     | 
    
         
            -
                             
     | 
| 
      
 184 
     | 
    
         
            +
                            error && React.createElement(Alert, {
         
     | 
| 
       185 
185 
     | 
    
         
             
                                className: classes.errorIcon,
         
     | 
| 
       186 
186 
     | 
    
         
             
                                onClick: this.handleHelperClick
         
     | 
| 
       187 
187 
     | 
    
         
             
                            }),
         
     | 
| 
       188 
     | 
    
         
            -
                             
     | 
| 
      
 188 
     | 
    
         
            +
                            helperIcon && helperText && !error && React.createElement(Information, {
         
     | 
| 
       189 
189 
     | 
    
         
             
                                className: classNames(classes.helperIcon, {
         
     | 
| 
       190 
190 
     | 
    
         
             
                                    [classes.helperIconActive]: helperOpen
         
     | 
| 
       191 
191 
     | 
    
         
             
                                }),
         
     | 
    
        package/es/HiSelect/HiSelect.js
    CHANGED
    
    | 
         @@ -426,9 +426,9 @@ var _initialiseProps = function () { 
     | 
|
| 
       426 
426 
     | 
    
         
             
                    if (this.state.open) {
         
     | 
| 
       427 
427 
     | 
    
         
             
                        this.handleClose();
         
     | 
| 
       428 
428 
     | 
    
         
             
                    } else {
         
     | 
| 
       429 
     | 
    
         
            -
                        if (!this.props.staticPosition) {
         
     | 
| 
       430 
     | 
    
         
            -
                            //document.body.style.overflow = 'hidden';
         
     | 
| 
       431 
     | 
    
         
            -
                        }
         
     | 
| 
      
 429 
     | 
    
         
            +
                        /*if (!this.props.staticPosition) {
         
     | 
| 
      
 430 
     | 
    
         
            +
                            // document.body.style.overflow = 'hidden';
         
     | 
| 
      
 431 
     | 
    
         
            +
                        }*/
         
     | 
| 
       432 
432 
     | 
    
         
             
                        this.setState({ open: true });
         
     | 
| 
       433 
433 
     | 
    
         
             
                        const options = this.props.options.slice();
         
     | 
| 
       434 
434 
     | 
    
         
             
                        this.handleSuggestions(options);
         
     | 
| 
         @@ -490,9 +490,11 @@ var _initialiseProps = function () { 
     | 
|
| 
       490 
490 
     | 
    
         
             
                    } else if (event.key === 'ArrowUp') {
         
     | 
| 
       491 
491 
     | 
    
         
             
                        nextItem = getNextItemSelectable(document.activeElement, 'up');
         
     | 
| 
       492 
492 
     | 
    
         
             
                    } else if (event.key === 'Tab') {
         
     | 
| 
       493 
     | 
    
         
            -
                        if (!this.props.staticPosition) {
         
     | 
| 
       494 
     | 
    
         
            -
                             
     | 
| 
       495 
     | 
    
         
            -
                        }
         
     | 
| 
      
 493 
     | 
    
         
            +
                        /* if (!this.props.staticPosition) {
         
     | 
| 
      
 494 
     | 
    
         
            +
                            document.body.style.overflow = 'auto';
         
     | 
| 
      
 495 
     | 
    
         
            +
                        } */
         
     | 
| 
      
 496 
     | 
    
         
            +
                        this.setState({ open: false });
         
     | 
| 
      
 497 
     | 
    
         
            +
                    } else if (event.key === 'Escape') {
         
     | 
| 
       496 
498 
     | 
    
         
             
                        this.setState({ open: false });
         
     | 
| 
       497 
499 
     | 
    
         
             
                    }
         
     | 
| 
       498 
500 
     | 
    
         
             
                    if (nextItem) {
         
     | 
| 
         @@ -27,8 +27,8 @@ export const styles = theme => ({ 
     | 
|
| 
       27 
27 
     | 
    
         
             
                negative: {
         
     | 
| 
       28 
28 
     | 
    
         
             
                    color: theme.palette.negative.normal
         
     | 
| 
       29 
29 
     | 
    
         
             
                },
         
     | 
| 
       30 
     | 
    
         
            -
                 
     | 
| 
       31 
     | 
    
         
            -
                    color: theme.palette. 
     | 
| 
      
 30 
     | 
    
         
            +
                neutral: {
         
     | 
| 
      
 31 
     | 
    
         
            +
                    color: theme.palette.neutral.normal
         
     | 
| 
       32 
32 
     | 
    
         
             
                },
         
     | 
| 
       33 
33 
     | 
    
         
             
                spanIndicator: {
         
     | 
| 
       34 
34 
     | 
    
         
             
                    fontSize: 11,
         
     | 
| 
         @@ -61,7 +61,7 @@ class CellRate extends React.Component { 
     | 
|
| 
       61 
61 
     | 
    
         | 
| 
       62 
62 
     | 
    
         
             
                    switch (trendchip) {
         
     | 
| 
       63 
63 
     | 
    
         
             
                        case cst.NO_EVOLUTION:
         
     | 
| 
       64 
     | 
    
         
            -
                            trendIcon = React.createElement(Equal, { className: classes.trendChipIcon + ' ' + classes. 
     | 
| 
      
 64 
     | 
    
         
            +
                            trendIcon = React.createElement(Equal, { className: classes.trendChipIcon + ' ' + classes.neutral });
         
     | 
| 
       65 
65 
     | 
    
         
             
                            break;
         
     | 
| 
       66 
66 
     | 
    
         
             
                        case cst.EVOLUTION_UP:
         
     | 
| 
       67 
67 
     | 
    
         
             
                            trendIcon = React.createElement(ArrowTopRight, {
         
     | 
| 
         @@ -1,9 +1,8 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import _JSON$stringify from 'babel-runtime/core-js/json/stringify';
         
     | 
| 
       2 
1 
     | 
    
         
             
            import React from 'react';
         
     | 
| 
       3 
2 
     | 
    
         
             
            import { TableCell, TableFooter, TableRow } from 'material-ui/Table';
         
     | 
| 
       4 
3 
     | 
    
         
             
            import { withStyles } from '../styles';
         
     | 
| 
       5 
4 
     | 
    
         
             
            import PropTypes from 'prop-types';
         
     | 
| 
       6 
     | 
    
         
            -
            import * as cst from  
     | 
| 
      
 5 
     | 
    
         
            +
            import * as cst from './constants';
         
     | 
| 
       7 
6 
     | 
    
         | 
| 
       8 
7 
     | 
    
         
             
            export const styles = theme => ({
         
     | 
| 
       9 
8 
     | 
    
         
             
                tfoot: {
         
     | 
| 
         @@ -29,8 +28,9 @@ export const styles = theme => ({ 
     | 
|
| 
       29 
28 
     | 
    
         | 
| 
       30 
29 
     | 
    
         
             
            class HiTableFooter extends React.Component {
         
     | 
| 
       31 
30 
     | 
    
         | 
| 
       32 
     | 
    
         
            -
                 
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
      
 31 
     | 
    
         
            +
                // Table footer never need to be updated
         
     | 
| 
      
 32 
     | 
    
         
            +
                shouldComponentUpdate() {
         
     | 
| 
      
 33 
     | 
    
         
            +
                    return false;
         
     | 
| 
       34 
34 
     | 
    
         
             
                }
         
     | 
| 
       35 
35 
     | 
    
         | 
| 
       36 
36 
     | 
    
         
             
                render() {
         
     | 
| 
         @@ -46,7 +46,7 @@ class HiTableFooter extends React.Component { 
     | 
|
| 
       46 
46 
     | 
    
         
             
                                style: {
         
     | 
| 
       47 
47 
     | 
    
         
             
                                    paddingLeft: cst.DEFAULT_PADDING[view]
         
     | 
| 
       48 
48 
     | 
    
         
             
                                },
         
     | 
| 
       49 
     | 
    
         
            -
                                key:  
     | 
| 
      
 49 
     | 
    
         
            +
                                key: 'footer-left-cell',
         
     | 
| 
       50 
50 
     | 
    
         
             
                                className: classes.patchDiv
         
     | 
| 
       51 
51 
     | 
    
         
             
                            }),
         
     | 
| 
       52 
52 
     | 
    
         
             
                            React.createElement(
         
     | 
| 
         @@ -58,7 +58,7 @@ class HiTableFooter extends React.Component { 
     | 
|
| 
       58 
58 
     | 
    
         
             
                                style: {
         
     | 
| 
       59 
59 
     | 
    
         
             
                                    paddingLeft: cst.DEFAULT_PADDING[view]
         
     | 
| 
       60 
60 
     | 
    
         
             
                                },
         
     | 
| 
       61 
     | 
    
         
            -
                                key:  
     | 
| 
      
 61 
     | 
    
         
            +
                                key: 'footer-right-cell',
         
     | 
| 
       62 
62 
     | 
    
         
             
                                className: classes.patchDiv
         
     | 
| 
       63 
63 
     | 
    
         
             
                            })
         
     | 
| 
       64 
64 
     | 
    
         
             
                        )
         
     | 
    
        package/index.es.js
    CHANGED
    
    
    
        package/index.js
    CHANGED
    
    
    
        package/package.json
    CHANGED
    
    | 
         @@ -2,7 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
              "name": "@hipay/hipay-material-ui",
         
     | 
| 
       3 
3 
     | 
    
         
             
              "private": false,
         
     | 
| 
       4 
4 
     | 
    
         
             
              "author": "HiPay PSYCHE Team",
         
     | 
| 
       5 
     | 
    
         
            -
              "version": "1.0.0-beta. 
     | 
| 
      
 5 
     | 
    
         
            +
              "version": "1.0.0-beta.27",
         
     | 
| 
       6 
6 
     | 
    
         
             
              "description": "HiPay Material-UI Style Guide - React components that implement Google's Material Design from Material-UI.",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "main": "./index.js",
         
     | 
| 
       8 
8 
     | 
    
         
             
              "repository": {
         
     |