@bundle-stats/html-templates
Advanced tools
Comparing version 1.9.1-alpha.0 to 1.10.0-beta.0
{ | ||
"name": "@bundle-stats/html-templates", | ||
"version": "1.9.1-alpha.0", | ||
"version": "1.10.0-beta.0", | ||
"description": "HTML templates for report generation.", | ||
@@ -34,4 +34,4 @@ "main": "dist/index.html", | ||
"@babel/preset-react": "7.0.0", | ||
"@bundle-stats/ui": "^1.9.1-alpha.0", | ||
"@bundle-stats/utils": "^1.9.1-alpha.0", | ||
"@bundle-stats/ui": "^1.10.0-beta.0", | ||
"@bundle-stats/utils": "^1.10.0-beta.0", | ||
"@moonwalker/orbit-ui": "1.13.18", | ||
@@ -38,0 +38,0 @@ "@storybook/react": "5.1.11", |
@@ -30,2 +30,3 @@ import PropTypes from 'prop-types'; | ||
title="Go to Totals section" | ||
className={css.tabItem} | ||
> | ||
@@ -37,2 +38,3 @@ Totals | ||
title="Go to Assets section" | ||
className={css.tabItem} | ||
> | ||
@@ -44,5 +46,13 @@ Assets | ||
title="Go to Modules section" | ||
className={css.tabItem} | ||
> | ||
Modules | ||
</a> | ||
<a | ||
href="#packages" | ||
title="Go to Packages section" | ||
className={css.tabItem} | ||
> | ||
Packages | ||
</a> | ||
</Tabs> | ||
@@ -49,0 +59,0 @@ </div> |
@@ -11,2 +11,3 @@ import PropTypes from 'prop-types'; | ||
import { BundleModules } from '@bundle-stats/ui/lib-esm/components/bundle-modules'; | ||
import { BundlePackages } from '@bundle-stats/ui/lib-esm/components/bundle-packages'; | ||
@@ -105,2 +106,16 @@ import { Header } from './header'; | ||
</Container> | ||
<Container> | ||
<h2> | ||
<a | ||
id="packages" | ||
href="#packages" | ||
className={css.anchor} | ||
> | ||
Packages | ||
</a> | ||
</h2> | ||
<Box> | ||
<BundlePackages jobs={jobs} /> | ||
</Box> | ||
</Container> | ||
</StandaloneAppLayout> | ||
@@ -107,0 +122,0 @@ ); |
Sorry, the diff of this file is not supported yet
350960
377