sag_components 2.0.0-beta43 → 2.0.0-beta45

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
@@ -839,6 +839,7 @@ declare namespace TotalDoughnutChart {
839
839
  const title: PropTypes.Requireable<string>;
840
840
  const value: PropTypes.Requireable<number>;
841
841
  const rootFont: PropTypes.Requireable<string>;
842
+ const containerPadding: PropTypes.Requireable<string>;
842
843
  const addingBenchmark: PropTypes.Requireable<boolean>;
843
844
  const dotCut: PropTypes.Requireable<boolean>;
844
845
  const currencySign: PropTypes.Requireable<boolean>;
@@ -871,6 +872,8 @@ declare namespace TotalDoughnutChart {
871
872
  export { value_1 as value };
872
873
  const rootFont_1: string;
873
874
  export { rootFont_1 as rootFont };
875
+ const containerPadding_1: string;
876
+ export { containerPadding_1 as containerPadding };
874
877
  const addingBenchmark_1: boolean;
875
878
  export { addingBenchmark_1 as addingBenchmark };
876
879
  const dotCut_1: boolean;
package/dist/index.esm.js CHANGED
@@ -26361,6 +26361,7 @@ const ControlsContainer$4 = styled.div`
26361
26361
  color: ${props => props.textColor};
26362
26362
  width: ${props => props.width};
26363
26363
  height: ${props => props.height};
26364
+ padding: ${props => props.containerPadding || '0'};
26364
26365
  display: flex;
26365
26366
  align-items: center;
26366
26367
  @media (max-width: 1536px) {
@@ -26515,6 +26516,7 @@ const TotalDoughnutChart = props => {
26515
26516
  title,
26516
26517
  value,
26517
26518
  rootFont,
26519
+ containerPadding,
26518
26520
  addingBenchmark,
26519
26521
  dotCut,
26520
26522
  currencySign,
@@ -26591,6 +26593,7 @@ const TotalDoughnutChart = props => {
26591
26593
  height: height,
26592
26594
  width: width,
26593
26595
  rootFont: rootFont,
26596
+ containerPadding: containerPadding,
26594
26597
  textcolor: textcolor
26595
26598
  }, legendData.length === 0 || legendData.every(item => item.value === undefined || item.value === null) ? /*#__PURE__*/React$1.createElement(NoDataFoundMessage, {
26596
26599
  className: "NoDataFoundMessage",
@@ -26652,6 +26655,7 @@ TotalDoughnutChart.propTypes = {
26652
26655
  title: PropTypes.string,
26653
26656
  value: PropTypes.number,
26654
26657
  rootFont: PropTypes.string,
26658
+ containerPadding: PropTypes.string,
26655
26659
  addingBenchmark: PropTypes.bool,
26656
26660
  dotCut: PropTypes.bool,
26657
26661
  currencySign: PropTypes.bool,
@@ -26680,6 +26684,7 @@ TotalDoughnutChart.defaultProps = {
26680
26684
  title: '',
26681
26685
  value: 0,
26682
26686
  rootFont: '18px',
26687
+ containerPadding: '0px',
26683
26688
  addingBenchmark: false,
26684
26689
  dotCut: false,
26685
26690
  currencySign: false,