Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forter/chart

Package Overview
Dependencies
Maintainers
3
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/chart - npm Package Compare versions

Comparing version 5.28.3 to 5.28.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [5.28.4](https://github.com/forter/web-components/compare/@forter/chart@5.28.3...@forter/chart@5.28.4) (2022-12-21)
**Note:** Version bump only for package @forter/chart
## [5.28.3](https://github.com/forter/web-components/compare/@forter/chart@5.28.2...@forter/chart@5.28.3) (2022-12-19)

@@ -8,0 +16,0 @@

10

chart-config-builders/tooltip-config-builder.js

@@ -218,3 +218,3 @@ import { html } from 'lit-element';

${tooltipAdditionalInsights.map(tooltipAdditionalInsight => html`
<span class="additional-insight main-insight">${tooltipAdditionalInsight}</span>`).join('')}
<span class="additional-insight main-insight">${tooltipAdditionalInsight}</span>`).join('')}
${(otherBuckets || []).length > 0 ? renderOtherBuckets({

@@ -240,3 +240,5 @@ otherBuckets

}) => {
return otherBuckets.map(bucket => {
return `
<div class="others-container">
${otherBuckets.map(bucket => {
const {

@@ -247,3 +249,5 @@ label,

return `<span class="additional-insight main-insight">${label} ${formattedValue}</span>`;
}).join('');
}).join('')}
</div>
`;
};

@@ -250,0 +254,0 @@

@@ -103,3 +103,3 @@ import { css } from 'lit-element';

.additional-insight {
padding-left: 8px;
padding: 0 8px;
}

@@ -124,2 +124,9 @@

.others-container {
display: flex;
flex-direction: column;
gap: 5px;
margin-bottom: 5px;
}
.tooltip-position {

@@ -126,0 +133,0 @@ font: var(--fc-font-11px-400);

{
"name": "@forter/chart",
"version": "5.28.3",
"version": "5.28.4",
"description": "chart from Forter Components",

@@ -61,3 +61,3 @@ "author": "Forter Developers",

},
"gitHead": "5aa0cb8e6db0db5ff300e3bca21cd4ed4ade15fc"
"gitHead": "93ccab70589528ff0b02678a46a2d978f466bcc6"
}

@@ -158,3 +158,3 @@ import { get, merge } from 'lodash-es';

${tooltipAdditionalInsights.map(tooltipAdditionalInsight => html`
<span class="additional-insight main-insight">${tooltipAdditionalInsight}</span>`).join('')}
<span class="additional-insight main-insight">${tooltipAdditionalInsight}</span>`).join('')}
${(otherBuckets || []).length > 0 ? renderOtherBuckets({otherBuckets}) : ''}

@@ -176,6 +176,10 @@ ${!previewMode && !isMissingDrilldown ? renderDrillDown() : ''}

const renderOtherBuckets = ({otherBuckets}) => {
return otherBuckets.map(bucket => {
const {label, formattedValue} = bucket;
return `<span class="additional-insight main-insight">${label} ${formattedValue}</span>`
}).join('');
return `
<div class="others-container">
${otherBuckets.map(bucket => {
const {label, formattedValue} = bucket;
return `<span class="additional-insight main-insight">${label} ${formattedValue}</span>`
}).join('')}
</div>
`
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc