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.d.ts CHANGED
@@ -1130,38 +1130,7 @@ declare namespace IconButton {
1130
1130
  }
1131
1131
  }
1132
1132
 
1133
- declare function DoublePanelDataRow(props: any): react_jsx_runtime.JSX.Element;
1134
- declare namespace DoublePanelDataRow {
1135
- namespace propTypes {
1136
- const className: PropTypes.Requireable<string>;
1137
- const width: PropTypes.Requireable<string>;
1138
- const height: PropTypes.Requireable<string>;
1139
- const data: PropTypes.Requireable<(PropTypes.InferProps<{
1140
- title: PropTypes.Requireable<string>;
1141
- value: PropTypes.Requireable<number>;
1142
- sign: PropTypes.Requireable<string>;
1143
- }> | null | undefined)[]>;
1144
- const backgroundColor: PropTypes.Requireable<string>;
1145
- const customDataFormat: PropTypes.Requireable<boolean>;
1146
- const showPercentChange: PropTypes.Requireable<boolean>;
1147
- }
1148
- namespace defaultProps {
1149
- const className_1: string;
1150
- export { className_1 as className };
1151
- const width_1: string;
1152
- export { width_1 as width };
1153
- const height_1: string;
1154
- export { height_1 as height };
1155
- const data_1: never[];
1156
- export { data_1 as data };
1157
- const backgroundColor_1: string;
1158
- export { backgroundColor_1 as backgroundColor };
1159
- const customDataFormat_1: boolean;
1160
- export { customDataFormat_1 as customDataFormat };
1161
- const showPercentChange_1: boolean;
1162
- export { showPercentChange_1 as showPercentChange };
1163
- }
1164
- }
1133
+ declare function DoublePanelDataRow(props: any): react_jsx_runtime.JSX.Element;
1165
1134
 
1166
1135
  declare function BarChart(props: any): react_jsx_runtime.JSX.Element;
1167
1136
  declare namespace BarChart {
package/dist/index.esm.js CHANGED
@@ -4732,19 +4732,18 @@ const InfoIcon = _ref => {
4732
4732
  }));
4733
4733
  };
4734
4734
 
4735
- const LinkButton = _ref => {
4736
- let {
4737
- text = '',
4738
- type = 'primary',
4739
- size = 'small',
4740
- height = '',
4741
- width = '',
4742
- disabled = false,
4743
- textColor = '',
4744
- onClick,
4745
- leftIcon = 'none',
4746
- rightIcon = 'none'
4747
- } = _ref;
4735
+ const LinkButton = ({
4736
+ text = '',
4737
+ type = 'primary',
4738
+ size = 'small',
4739
+ height = '',
4740
+ width = '',
4741
+ disabled = false,
4742
+ textColor = '',
4743
+ onClick,
4744
+ leftIcon = 'none',
4745
+ rightIcon = 'none'
4746
+ }) => {
4748
4747
  // const {
4749
4748
  // text,
4750
4749
  // type,
@@ -14239,16 +14238,13 @@ const Td = dt.td`
14239
14238
  `;
14240
14239
  const Tr = dt.tr`
14241
14240
  border-bottom: 1px solid #f3f4f6;
14242
- ${_ref => {
14243
- let {
14244
- enableHover,
14245
- selectHoverColor
14246
- } = _ref;
14247
- return enableHover && `&:hover {
14241
+ ${({
14242
+ enableHover,
14243
+ selectHoverColor
14244
+ }) => enableHover && `&:hover {
14248
14245
  background-color: ${selectHoverColor};
14249
14246
  cursor: pointer;
14250
- }`;
14251
- }}
14247
+ }`}
14252
14248
  `;
14253
14249
  const InfoText = dt.div`
14254
14250
  font-weight: 400;
@@ -30228,28 +30224,32 @@ const DoublePanelDataRow = props => {
30228
30224
  className: "DataBoxValue"
30229
30225
  }, ''.concat(formattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")) : /*#__PURE__*/React$1.createElement(BigValue, null, ''.concat(getFormattedValue(item.value), getFormattedUnits(item.value)), item.isPercent && /*#__PURE__*/React$1.createElement(CellItemValueSign, null, "%")), showPercentChange && getArrowSign(item.value >= 0 ? 'up' : 'down')) : /*#__PURE__*/React$1.createElement(CellItemNoValue, null, "N/A")), /*#__PURE__*/React$1.createElement(ValueChange, null))));
30230
30226
  };
30231
- DoublePanelDataRow.propTypes = {
30232
- className: PropTypes.string,
30233
- width: PropTypes.string,
30234
- height: PropTypes.string,
30235
- data: PropTypes.arrayOf(PropTypes.shape({
30236
- title: PropTypes.string,
30237
- value: PropTypes.number,
30238
- sign: PropTypes.string
30239
- })),
30240
- backgroundColor: PropTypes.string,
30241
- customDataFormat: PropTypes.bool,
30242
- showPercentChange: PropTypes.bool
30243
- };
30244
- DoublePanelDataRow.defaultProps = {
30245
- className: '',
30246
- width: '100%',
30247
- height: 'auto',
30248
- data: [],
30249
- backgroundColor: '#FFFFFF',
30250
- customDataFormat: false,
30251
- showPercentChange: false
30252
- };
30227
+
30228
+ // DoublePanelDataRow.propTypes = {
30229
+ // className: PropTypes.string,
30230
+ // width: PropTypes.string,
30231
+ // height: PropTypes.string,
30232
+ // data: PropTypes.arrayOf(
30233
+ // PropTypes.shape({
30234
+ // title: PropTypes.string,
30235
+ // value: PropTypes.number,
30236
+ // sign: PropTypes.string,
30237
+ // }),
30238
+ // ),
30239
+ // backgroundColor: PropTypes.string,
30240
+ // customDataFormat: PropTypes.bool,
30241
+ // showPercentChange: PropTypes.bool,
30242
+ // };
30243
+
30244
+ // DoublePanelDataRow.defaultProps = {
30245
+ // className: '',
30246
+ // width: '100%',
30247
+ // height: 'auto',
30248
+ // data: [],
30249
+ // backgroundColor: '#FFFFFF',
30250
+ // customDataFormat: false,
30251
+ // showPercentChange: false,
30252
+ // };
30253
30253
 
30254
30254
  const ControlsContainer = dt.div`
30255
30255
  position: relative;