sag_components 2.0.0-beta13 → 2.0.0-beta14

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/dist/index.js CHANGED
@@ -4741,19 +4741,18 @@ const InfoIcon = _ref => {
4741
4741
  }));
4742
4742
  };
4743
4743
 
4744
- const LinkButton = _ref => {
4745
- let {
4746
- text = '',
4747
- type = 'primary',
4748
- size = 'small',
4749
- height = '',
4750
- width = '',
4751
- disabled = false,
4752
- textColor = '',
4753
- onClick,
4754
- leftIcon = 'none',
4755
- rightIcon = 'none'
4756
- } = _ref;
4744
+ const LinkButton = ({
4745
+ text = '',
4746
+ type = 'primary',
4747
+ size = 'small',
4748
+ height = '',
4749
+ width = '',
4750
+ disabled = false,
4751
+ textColor = '',
4752
+ onClick,
4753
+ leftIcon = 'none',
4754
+ rightIcon = 'none'
4755
+ }) => {
4757
4756
  // const {
4758
4757
  // text,
4759
4758
  // type,
@@ -14248,16 +14247,13 @@ const Td = dt.td`
14248
14247
  `;
14249
14248
  const Tr = dt.tr`
14250
14249
  border-bottom: 1px solid #f3f4f6;
14251
- ${_ref => {
14252
- let {
14253
- enableHover,
14254
- selectHoverColor
14255
- } = _ref;
14256
- return enableHover && `&:hover {
14250
+ ${({
14251
+ enableHover,
14252
+ selectHoverColor
14253
+ }) => enableHover && `&:hover {
14257
14254
  background-color: ${selectHoverColor};
14258
14255
  cursor: pointer;
14259
- }`;
14260
- }}
14256
+ }`}
14261
14257
  `;
14262
14258
  const InfoText = dt.div`
14263
14259
  font-weight: 400;
@@ -30237,28 +30233,32 @@ const DoublePanelDataRow = props => {
30237
30233
  className: "DataBoxValue"
30238
30234
  }, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React__default["default"].createElement(CellItemValueSign, null, "%")) : /*#__PURE__*/React__default["default"].createElement(BigValue, null, ''.concat(getFormattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React__default["default"].createElement(CellItemValueSign, null, "%")), showPercentChange && getArrowSign(item.value >= 0 ? 'up' : 'down')) : /*#__PURE__*/React__default["default"].createElement(CellItemNoValue, null, "N/A")), /*#__PURE__*/React__default["default"].createElement(ValueChange, null))));
30239
30235
  };
30240
- DoublePanelDataRow.propTypes = {
30241
- className: PropTypes.string,
30242
- width: PropTypes.string,
30243
- height: PropTypes.string,
30244
- data: PropTypes.arrayOf(PropTypes.shape({
30245
- title: PropTypes.string,
30246
- value: PropTypes.number,
30247
- sign: PropTypes.string
30248
- })),
30249
- backgroundColor: PropTypes.string,
30250
- customDataFormat: PropTypes.bool,
30251
- showPercentChange: PropTypes.bool
30252
- };
30253
- DoublePanelDataRow.defaultProps = {
30254
- className: '',
30255
- width: '100%',
30256
- height: 'auto',
30257
- data: [],
30258
- backgroundColor: '#FFFFFF',
30259
- customDataFormat: false,
30260
- showPercentChange: false
30261
- };
30236
+
30237
+ // DoublePanelDataRow.propTypes = {
30238
+ // className: PropTypes.string,
30239
+ // width: PropTypes.string,
30240
+ // height: PropTypes.string,
30241
+ // data: PropTypes.arrayOf(
30242
+ // PropTypes.shape({
30243
+ // title: PropTypes.string,
30244
+ // value: PropTypes.number,
30245
+ // sign: PropTypes.string,
30246
+ // }),
30247
+ // ),
30248
+ // backgroundColor: PropTypes.string,
30249
+ // customDataFormat: PropTypes.bool,
30250
+ // showPercentChange: PropTypes.bool,
30251
+ // };
30252
+
30253
+ // DoublePanelDataRow.defaultProps = {
30254
+ // className: '',
30255
+ // width: '100%',
30256
+ // height: 'auto',
30257
+ // data: [],
30258
+ // backgroundColor: '#FFFFFF',
30259
+ // customDataFormat: false,
30260
+ // showPercentChange: false,
30261
+ // };
30262
30262
 
30263
30263
  const ControlsContainer = dt.div`
30264
30264
  position: relative;