Skip to content

Commit

Permalink
chore: remove old components, refactor object emitted, bump dependen…
Browse files Browse the repository at this point in the history
…cies

        bump vulnerable dependencies
        refactor object emitted on click and hover events across VCC
        remove old, non production components from VCC

        BREAKING CHANGE: e.detail now contains two objects, data and target. To access data object, you now need to use e.detail.data. clickFunc, hoverFunc, and mouseOutFunc have been removed and replaced with clickEvent, hoverEvent, and mouseOutEvent, respectively.
        BREAKING CHANGE: level-indicator, group-charts, pareto-chart and clustered-force-layout non production components have been removed from VCC repo and bundles
  • Loading branch information
chris-demartini committed Nov 16, 2021
1 parent 76d1de4 commit caff437
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
7 changes: 3 additions & 4 deletions packages/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ This packages bundles [visa chart components](../../) web components into a sing
- [@visa/parallel-plot](../parallel-plot)
- [@visa/dumbbell-plot](../dumbbell-plot)
- [@visa/world-map](../world-map)
- [@visa/visa-charts-data-table](../data-table)

#### Components with `Development` status

- [@visa/alluvial-diagram](../alluvial-diagram)
- [@visa/visa-charts-data-table](../data-table)
- [@visa/keyboard-instructions](packages/keyboard-instructions)

<!-- #### Components with `Development` status -->
<hr>

### <a name="how_to" href="#how_to">#</a> How to use the @visa/charts web component bundle in different environments
Expand Down
4 changes: 0 additions & 4 deletions packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@
"@visa/bar-chart": "^4.3.1",
"@visa/circle-packing": "^5.2.1",
"@visa/clustered-bar-chart": "^4.3.1",
"@visa/clustered-force-layout": "^4.0.9",
"@visa/dumbbell-plot": "^5.3.1",
"@visa/group-charts": "^3.1.16",
"@visa/heat-map": "^4.3.1",
"@visa/keyboard-instructions": "^1.1.1",
"@visa/level-indicator": "^4.0.9",
"@visa/line-chart": "^4.3.1",
"@visa/parallel-plot": "^4.3.1",
"@visa/pareto-chart": "^4.0.10",
"@visa/pie-chart": "^4.2.1",
"@visa/scatter-plot": "^5.3.1",
"@visa/stacked-bar-chart": "^4.3.1",
Expand Down
8 changes: 0 additions & 8 deletions packages/charts/src/components/visa-charts/visa-charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ import '@visa/heat-map';
/* STARTS: comment this code for faster demo build / uncomment for full build */
import '@visa/parallel-plot';
import '@visa/dumbbell-plot';
import '@visa/pareto-chart';
import '@visa/world-map';
import '@visa/clustered-force-layout';
import '@visa/level-indicator';
import '@visa/group-charts';
import '@visa/visa-charts-data-table';
import '@visa/keyboard-instructions';
// import '@visa/bivariate-mapbox-map';
Expand All @@ -46,11 +42,7 @@ export class VisaCharts {
<heat-map />
<parallel-plot />
<dumbbell-plot />
<pareto-chart />
<clustered-force-layout />
<world-map />
<level-indicator-alternative />
<group-charts />
{/* <bivariate-mapbox-map /> */}
</div>
);
Expand Down

0 comments on commit caff437

Please sign in to comment.