sag_components 2.0.0-beta13 → 2.0.0-beta15
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 +2 -93
- package/dist/index.esm.js +38 -75
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +38 -75
- package/dist/index.js.map +1 -1
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +0 -32
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +0 -61
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4741,19 +4741,18 @@ const InfoIcon = _ref => {
|
|
|
4741
4741
|
}));
|
|
4742
4742
|
};
|
|
4743
4743
|
|
|
4744
|
-
const LinkButton =
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
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,
|
|
@@ -27362,46 +27361,6 @@ const OneColumnContainer = props => {
|
|
|
27362
27361
|
containerClassName: "avatar-skeleton"
|
|
27363
27362
|
})))));
|
|
27364
27363
|
};
|
|
27365
|
-
OneColumnContainer.propTypes = {
|
|
27366
|
-
children: PropTypes.string,
|
|
27367
|
-
display: PropTypes.string,
|
|
27368
|
-
isLoading: PropTypes.bool,
|
|
27369
|
-
gridTemplateColumns: PropTypes.string,
|
|
27370
|
-
itemClass: PropTypes.string,
|
|
27371
|
-
divStyle: PropTypes.string,
|
|
27372
|
-
overStyle: PropTypes.string,
|
|
27373
|
-
draggingStyle: PropTypes.string,
|
|
27374
|
-
droppedStyle: PropTypes.string,
|
|
27375
|
-
width: PropTypes.string,
|
|
27376
|
-
height: PropTypes.string,
|
|
27377
|
-
overflow: PropTypes.string,
|
|
27378
|
-
infoTitle: PropTypes.string,
|
|
27379
|
-
infoText: PropTypes.string,
|
|
27380
|
-
disableInfo: PropTypes.bool,
|
|
27381
|
-
showViewByBannerButton: PropTypes.bool,
|
|
27382
|
-
onBannerClick: PropTypes.func,
|
|
27383
|
-
columnTitle: PropTypes.string
|
|
27384
|
-
};
|
|
27385
|
-
OneColumnContainer.defaultProps = {
|
|
27386
|
-
children: '',
|
|
27387
|
-
display: 'block',
|
|
27388
|
-
isLoading: '',
|
|
27389
|
-
gridTemplateColumns: '',
|
|
27390
|
-
itemClass: '',
|
|
27391
|
-
divStyle: '',
|
|
27392
|
-
overStyle: '',
|
|
27393
|
-
draggingStyle: '',
|
|
27394
|
-
droppedStyle: '',
|
|
27395
|
-
width: '300px',
|
|
27396
|
-
height: '300px',
|
|
27397
|
-
overflow: 'hidden',
|
|
27398
|
-
infoTitle: '',
|
|
27399
|
-
infoText: '',
|
|
27400
|
-
disableInfo: false,
|
|
27401
|
-
showViewByBannerButton: false,
|
|
27402
|
-
onBannerClick: () => {},
|
|
27403
|
-
columnTitle: ''
|
|
27404
|
-
};
|
|
27405
27364
|
|
|
27406
27365
|
const scrollableStyles$3 = `
|
|
27407
27366
|
overflow-y: auto;
|
|
@@ -30237,28 +30196,32 @@ const DoublePanelDataRow = props => {
|
|
|
30237
30196
|
className: "DataBoxValue"
|
|
30238
30197
|
}, ''.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
30198
|
};
|
|
30240
|
-
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30199
|
+
|
|
30200
|
+
// DoublePanelDataRow.propTypes = {
|
|
30201
|
+
// className: PropTypes.string,
|
|
30202
|
+
// width: PropTypes.string,
|
|
30203
|
+
// height: PropTypes.string,
|
|
30204
|
+
// data: PropTypes.arrayOf(
|
|
30205
|
+
// PropTypes.shape({
|
|
30206
|
+
// title: PropTypes.string,
|
|
30207
|
+
// value: PropTypes.number,
|
|
30208
|
+
// sign: PropTypes.string,
|
|
30209
|
+
// }),
|
|
30210
|
+
// ),
|
|
30211
|
+
// backgroundColor: PropTypes.string,
|
|
30212
|
+
// customDataFormat: PropTypes.bool,
|
|
30213
|
+
// showPercentChange: PropTypes.bool,
|
|
30214
|
+
// };
|
|
30215
|
+
|
|
30216
|
+
// DoublePanelDataRow.defaultProps = {
|
|
30217
|
+
// className: '',
|
|
30218
|
+
// width: '100%',
|
|
30219
|
+
// height: 'auto',
|
|
30220
|
+
// data: [],
|
|
30221
|
+
// backgroundColor: '#FFFFFF',
|
|
30222
|
+
// customDataFormat: false,
|
|
30223
|
+
// showPercentChange: false,
|
|
30224
|
+
// };
|
|
30262
30225
|
|
|
30263
30226
|
const ControlsContainer = dt.div`
|
|
30264
30227
|
position: relative;
|