@bundle-stats/ui 4.4.0-beta.0 → 4.4.0-beta.3
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/globals.d.ts +4 -0
- package/lib/app/app.js +26 -8
- package/lib/app/app.js.map +1 -1
- package/lib/app/app.module.css +8 -5
- package/lib/assets/icons.svg +17 -1
- package/lib/assets/icons.svg.js +12 -0
- package/lib/assets/icons.svg.js.map +1 -1
- package/lib/components/asset-info/asset-info.js +48 -44
- package/lib/components/asset-info/asset-info.js.map +1 -1
- package/lib/components/asset-info/asset-info.module.css +28 -6
- package/lib/components/asset-info/index.js.map +1 -1
- package/lib/components/asset-not-predictive/asset-not-predictive.js +28 -0
- package/lib/components/asset-not-predictive/asset-not-predictive.js.map +1 -0
- package/lib/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
- package/lib/components/{duplicate-packages-insight → asset-not-predictive}/index.js +1 -1
- package/lib/components/asset-not-predictive/index.js.map +1 -0
- package/lib/components/bundle-assets/bundle-assets.js +31 -44
- package/lib/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib/components/bundle-assets/bundle-assets.module.css +11 -22
- package/lib/components/bundle-assets/bundle-assets.utils.js +3 -1
- package/lib/components/bundle-assets/bundle-assets.utils.js.map +1 -1
- package/lib/components/bundle-assets/index.js +4 -1
- package/lib/components/bundle-assets/index.js.map +1 -1
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +11 -7
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +1 -1
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
- package/lib/components/bundle-modules/bundle-modules.js +30 -39
- package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib/components/bundle-modules/bundle-modules.module.css +3 -2
- package/lib/components/bundle-modules/bundle-modules.utils.js +5 -5
- package/lib/components/bundle-modules/bundle-modules.utils.js.map +1 -1
- package/lib/components/bundle-modules/index.js +5 -2
- package/lib/components/bundle-modules/index.js.map +1 -1
- package/lib/components/bundle-packages/bundle-packages.js +36 -61
- package/lib/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib/components/bundle-packages/bundle-packages.module.css +4 -0
- package/lib/components/bundle-packages/index.js +4 -1
- package/lib/components/bundle-packages/index.js.map +1 -1
- package/lib/components/delta/delta.module.css +2 -1
- package/lib/components/entry-info/entry-info.js +56 -0
- package/lib/components/entry-info/entry-info.js.map +1 -0
- package/lib/components/entry-info/entry-info.module.css +92 -0
- package/lib/components/{summary-item → entry-info}/index.js +1 -1
- package/lib/components/entry-info/index.js.map +1 -0
- package/lib/components/index.js +9 -7
- package/lib/components/index.js.map +1 -1
- package/lib/components/insight-icon/index.js +18 -0
- package/lib/components/insight-icon/index.js.map +1 -0
- package/lib/components/insight-icon/insight-icon.js +25 -0
- package/lib/components/insight-icon/insight-icon.js.map +1 -0
- package/lib/components/insight-icon/insight-icon.module.css +24 -0
- package/lib/components/{job-meta → insights}/index.js +1 -1
- package/lib/components/insights/index.js.map +1 -0
- package/lib/components/insights/insights.js +25 -0
- package/lib/components/insights/insights.js.map +1 -0
- package/lib/components/insights/insights.module.css +14 -0
- package/lib/components/job-header/job-header.js +12 -11
- package/lib/components/job-header/job-header.js.map +1 -1
- package/lib/components/jobs-header/index.js.map +1 -1
- package/lib/components/jobs-header/jobs-header.js +21 -14
- package/lib/components/jobs-header/jobs-header.js.map +1 -1
- package/lib/components/jobs-header/jobs-header.module.css +51 -4
- package/lib/components/metric/index.js.map +1 -1
- package/lib/components/metric/metric.js +7 -64
- package/lib/components/metric/metric.js.map +1 -1
- package/lib/components/metric/metric.module.css +3 -3
- package/lib/components/metric-run-info/index.js +18 -0
- package/lib/components/metric-run-info/index.js.map +1 -0
- package/lib/components/metric-run-info/metric-run-info.js +64 -0
- package/lib/components/metric-run-info/metric-run-info.js.map +1 -0
- package/lib/components/metric-run-info/metric-run-info.module.css +18 -0
- package/lib/components/metrics-table-options/metrics-table-options.js +1 -1
- package/lib/components/metrics-table-options/metrics-table-options.js.map +1 -1
- package/lib/components/metrics-table-search/metrics-table-search.module.css +0 -6
- package/lib/components/metrics-table-title/metrics-table-title.module.css +1 -0
- package/lib/components/module-info/index.js.map +1 -1
- package/lib/components/module-info/module-info.js +47 -47
- package/lib/components/module-info/module-info.js.map +1 -1
- package/lib/components/module-info/module-info.module.css +8 -33
- package/lib/components/package-info/index.js +18 -0
- package/lib/components/package-info/index.js.map +1 -0
- package/lib/components/package-info/package-info.js +77 -0
- package/lib/components/package-info/package-info.js.map +1 -0
- package/lib/components/package-info/package-info.module.css +13 -0
- package/lib/components/run-info/index.js +18 -0
- package/lib/components/run-info/index.js.map +1 -0
- package/lib/components/run-info/run-info.js +70 -0
- package/lib/components/run-info/run-info.js.map +1 -0
- package/lib/components/run-info/run-info.module.css +76 -0
- package/lib/components/summary/index.js.map +1 -1
- package/lib/components/summary/summary.js +10 -31
- package/lib/components/summary/summary.js.map +1 -1
- package/lib/components/summary/summary.module.css +27 -7
- package/lib/constants.js +1 -23
- package/lib/constants.js.map +1 -1
- package/lib/css/variables.css +18 -13
- package/lib/layout/box/box.js +3 -23
- package/lib/layout/box/box.js.map +1 -1
- package/lib/layout/box/box.module.css +11 -0
- package/lib/layout/box/index.js +15 -3
- package/lib/layout/box/index.js.map +1 -1
- package/lib/layout/flex-stack/flex-stack.js +3 -19
- package/lib/layout/flex-stack/flex-stack.js.map +1 -1
- package/lib/layout/flex-stack/index.js.map +1 -1
- package/lib/layout/stack/index.js.map +1 -1
- package/lib/layout/stack/stack.js +3 -16
- package/lib/layout/stack/stack.js.map +1 -1
- package/lib/tokens.js +38 -0
- package/lib/tokens.js.map +1 -0
- package/lib/ui/alert/alert.js +2 -12
- package/lib/ui/alert/alert.js.map +1 -1
- package/lib/ui/alert/index.js.map +1 -1
- package/lib/ui/container/container.js +1 -10
- package/lib/ui/container/container.js.map +1 -1
- package/lib/ui/container/index.js +15 -3
- package/lib/ui/container/index.js.map +1 -1
- package/lib/ui/dropdown/dropdown.module.css +1 -2
- package/lib/ui/file-name/file-name.js +1 -1
- package/lib/ui/file-name/file-name.js.map +1 -1
- package/lib/ui/filters/filters.module.css +1 -5
- package/lib/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
- package/lib/ui/hover-card/hover-card.js +3 -21
- package/lib/ui/hover-card/hover-card.js.map +1 -1
- package/lib/ui/hover-card/index.js.map +1 -1
- package/lib/ui/icon/icon.js +4 -0
- package/lib/ui/icon/icon.js.map +1 -1
- package/lib/ui/index.js +1 -3
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/input/input.module.css +3 -4
- package/lib/ui/table/index.js.map +1 -1
- package/lib/ui/table/table.js +3 -17
- package/lib/ui/table/table.js.map +1 -1
- package/lib/ui/tag/index.js.map +1 -1
- package/lib/ui/tag/tag.js +5 -29
- package/lib/ui/tag/tag.js.map +1 -1
- package/lib/ui/tag/tag.module.css +15 -1
- package/lib/ui/tooltip/index.js.map +1 -1
- package/lib/ui/tooltip/tooltip.js +3 -23
- package/lib/ui/tooltip/tooltip.js.map +1 -1
- package/lib/ui/tooltip/tooltip.module.css +3 -4
- package/lib-esm/app/app.js +27 -9
- package/lib-esm/app/app.js.map +1 -1
- package/lib-esm/app/app.module.css +8 -5
- package/lib-esm/assets/icons.svg +17 -1
- package/lib-esm/assets/icons.svg.js +12 -0
- package/lib-esm/assets/icons.svg.js.map +1 -1
- package/lib-esm/components/asset-info/asset-info.js +27 -45
- package/lib-esm/components/asset-info/asset-info.js.map +1 -1
- package/lib-esm/components/asset-info/asset-info.module.css +28 -6
- package/lib-esm/components/asset-info/index.js.map +1 -1
- package/lib-esm/components/asset-not-predictive/asset-not-predictive.js +21 -0
- package/lib-esm/components/asset-not-predictive/asset-not-predictive.js.map +1 -0
- package/lib-esm/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
- package/lib-esm/components/asset-not-predictive/index.js +2 -0
- package/lib-esm/components/asset-not-predictive/index.js.map +1 -0
- package/lib-esm/components/bundle-assets/bundle-assets.js +34 -49
- package/lib-esm/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib-esm/components/bundle-assets/bundle-assets.module.css +11 -22
- package/lib-esm/components/bundle-assets/bundle-assets.utils.js +3 -1
- package/lib-esm/components/bundle-assets/bundle-assets.utils.js.map +1 -1
- package/lib-esm/components/bundle-assets/index.js +5 -2
- package/lib-esm/components/bundle-assets/index.js.map +1 -1
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +10 -8
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +1 -1
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
- package/lib-esm/components/bundle-modules/bundle-modules.js +32 -41
- package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib-esm/components/bundle-modules/bundle-modules.module.css +3 -2
- package/lib-esm/components/bundle-modules/bundle-modules.utils.js +3 -3
- package/lib-esm/components/bundle-modules/bundle-modules.utils.js.map +1 -1
- package/lib-esm/components/bundle-modules/index.js +7 -4
- package/lib-esm/components/bundle-modules/index.js.map +1 -1
- package/lib-esm/components/bundle-packages/bundle-packages.js +37 -62
- package/lib-esm/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib-esm/components/bundle-packages/bundle-packages.module.css +4 -0
- package/lib-esm/components/bundle-packages/index.js +5 -2
- package/lib-esm/components/bundle-packages/index.js.map +1 -1
- package/lib-esm/components/delta/delta.module.css +2 -1
- package/lib-esm/components/entry-info/entry-info.js +50 -0
- package/lib-esm/components/entry-info/entry-info.js.map +1 -0
- package/lib-esm/components/entry-info/entry-info.module.css +92 -0
- package/lib-esm/components/entry-info/index.js +2 -0
- package/lib-esm/components/entry-info/index.js.map +1 -0
- package/lib-esm/components/index.js +4 -3
- package/lib-esm/components/index.js.map +1 -1
- package/lib-esm/components/insight-icon/index.js +2 -0
- package/lib-esm/components/insight-icon/index.js.map +1 -0
- package/lib-esm/components/insight-icon/insight-icon.js +18 -0
- package/lib-esm/components/insight-icon/insight-icon.js.map +1 -0
- package/lib-esm/components/insight-icon/insight-icon.module.css +24 -0
- package/lib-esm/components/insights/index.js +2 -0
- package/lib-esm/components/insights/index.js.map +1 -0
- package/lib-esm/components/insights/insights.js +18 -0
- package/lib-esm/components/insights/insights.js.map +1 -0
- package/lib-esm/components/insights/insights.module.css +14 -0
- package/lib-esm/components/job-header/job-header.js +12 -11
- package/lib-esm/components/job-header/job-header.js.map +1 -1
- package/lib-esm/components/jobs-header/index.js.map +1 -1
- package/lib-esm/components/jobs-header/jobs-header.js +20 -13
- package/lib-esm/components/jobs-header/jobs-header.js.map +1 -1
- package/lib-esm/components/jobs-header/jobs-header.module.css +51 -4
- package/lib-esm/components/metric/index.js.map +1 -1
- package/lib-esm/components/metric/metric.js +7 -41
- package/lib-esm/components/metric/metric.js.map +1 -1
- package/lib-esm/components/metric/metric.module.css +3 -3
- package/lib-esm/components/metric-run-info/index.js +2 -0
- package/lib-esm/components/metric-run-info/index.js.map +1 -0
- package/lib-esm/components/metric-run-info/metric-run-info.js +34 -0
- package/lib-esm/components/metric-run-info/metric-run-info.js.map +1 -0
- package/lib-esm/components/metric-run-info/metric-run-info.module.css +18 -0
- package/lib-esm/components/metrics-table-options/metrics-table-options.js +1 -1
- package/lib-esm/components/metrics-table-options/metrics-table-options.js.map +1 -1
- package/lib-esm/components/metrics-table-search/metrics-table-search.module.css +0 -6
- package/lib-esm/components/metrics-table-title/metrics-table-title.module.css +1 -0
- package/lib-esm/components/module-info/index.js.map +1 -1
- package/lib-esm/components/module-info/module-info.js +26 -48
- package/lib-esm/components/module-info/module-info.js.map +1 -1
- package/lib-esm/components/module-info/module-info.module.css +8 -33
- package/lib-esm/components/package-info/index.js +2 -0
- package/lib-esm/components/package-info/index.js.map +1 -0
- package/lib-esm/components/package-info/package-info.js +48 -0
- package/lib-esm/components/package-info/package-info.js.map +1 -0
- package/lib-esm/components/package-info/package-info.module.css +13 -0
- package/lib-esm/components/run-info/index.js +2 -0
- package/lib-esm/components/run-info/index.js.map +1 -0
- package/lib-esm/components/run-info/run-info.js +40 -0
- package/lib-esm/components/run-info/run-info.js.map +1 -0
- package/lib-esm/components/run-info/run-info.module.css +76 -0
- package/lib-esm/components/summary/index.js.map +1 -1
- package/lib-esm/components/summary/summary.js +9 -30
- package/lib-esm/components/summary/summary.js.map +1 -1
- package/lib-esm/components/summary/summary.module.css +27 -7
- package/lib-esm/constants.js +0 -22
- package/lib-esm/constants.js.map +1 -1
- package/lib-esm/css/variables.css +18 -13
- package/lib-esm/layout/box/box.js +3 -23
- package/lib-esm/layout/box/box.js.map +1 -1
- package/lib-esm/layout/box/box.module.css +11 -0
- package/lib-esm/layout/box/index.js +1 -1
- package/lib-esm/layout/box/index.js.map +1 -1
- package/lib-esm/layout/flex-stack/flex-stack.js +3 -19
- package/lib-esm/layout/flex-stack/flex-stack.js.map +1 -1
- package/lib-esm/layout/flex-stack/index.js.map +1 -1
- package/lib-esm/layout/stack/index.js.map +1 -1
- package/lib-esm/layout/stack/stack.js +3 -16
- package/lib-esm/layout/stack/stack.js.map +1 -1
- package/lib-esm/tokens.js +35 -0
- package/lib-esm/tokens.js.map +1 -0
- package/lib-esm/ui/alert/alert.js +2 -12
- package/lib-esm/ui/alert/alert.js.map +1 -1
- package/lib-esm/ui/alert/index.js.map +1 -1
- package/lib-esm/ui/container/container.js +1 -10
- package/lib-esm/ui/container/container.js.map +1 -1
- package/lib-esm/ui/container/index.js +1 -1
- package/lib-esm/ui/container/index.js.map +1 -1
- package/lib-esm/ui/dropdown/dropdown.module.css +1 -2
- package/lib-esm/ui/file-name/file-name.js +1 -1
- package/lib-esm/ui/file-name/file-name.js.map +1 -1
- package/lib-esm/ui/filters/filters.module.css +1 -5
- package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
- package/lib-esm/ui/hover-card/hover-card.js +3 -21
- package/lib-esm/ui/hover-card/hover-card.js.map +1 -1
- package/lib-esm/ui/hover-card/index.js.map +1 -1
- package/lib-esm/ui/icon/icon.js +4 -0
- package/lib-esm/ui/icon/icon.js.map +1 -1
- package/lib-esm/ui/index.js +0 -1
- package/lib-esm/ui/index.js.map +1 -1
- package/lib-esm/ui/input/input.module.css +3 -4
- package/lib-esm/ui/table/index.js.map +1 -1
- package/lib-esm/ui/table/table.js +3 -17
- package/lib-esm/ui/table/table.js.map +1 -1
- package/lib-esm/ui/tag/index.js.map +1 -1
- package/lib-esm/ui/tag/tag.js +4 -28
- package/lib-esm/ui/tag/tag.js.map +1 -1
- package/lib-esm/ui/tag/tag.module.css +15 -1
- package/lib-esm/ui/tooltip/index.js.map +1 -1
- package/lib-esm/ui/tooltip/tooltip.js +4 -23
- package/lib-esm/ui/tooltip/tooltip.js.map +1 -1
- package/lib-esm/ui/tooltip/tooltip.module.css +3 -4
- package/package.json +23 -29
- package/src/app/app.jsx +34 -9
- package/src/app/app.module.css +8 -5
- package/src/assets/icons/error.svg +6 -0
- package/src/assets/icons/external-link.svg +1 -0
- package/src/assets/icons/info.svg +6 -0
- package/src/assets/icons/more-vertical.svg +5 -0
- package/src/assets/icons.svg +17 -1
- package/src/assets/icons.svg.jsx +53 -0
- package/src/components/asset-info/asset-info.module.css +28 -6
- package/src/components/asset-info/asset-info.stories.tsx +74 -0
- package/src/components/asset-info/asset-info.tsx +159 -0
- package/src/components/asset-not-predictive/asset-not-predictive.module.css +3 -0
- package/src/components/asset-not-predictive/asset-not-predictive.stories.tsx +23 -0
- package/src/components/asset-not-predictive/asset-not-predictive.tsx +44 -0
- package/src/components/asset-not-predictive/index.ts +1 -0
- package/src/components/bundle-assets/bundle-assets.jsx +94 -107
- package/src/components/bundle-assets/bundle-assets.module.css +11 -22
- package/src/components/bundle-assets/bundle-assets.utils.js +3 -2
- package/src/components/bundle-assets/index.jsx +7 -1
- package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.jsx +21 -17
- package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +1 -1
- package/src/components/bundle-modules/bundle-modules.jsx +91 -100
- package/src/components/bundle-modules/bundle-modules.module.css +3 -2
- package/src/components/bundle-modules/bundle-modules.utils.js +5 -3
- package/src/components/bundle-modules/index.jsx +9 -3
- package/src/components/bundle-packages/bundle-packages.jsx +116 -179
- package/src/components/bundle-packages/bundle-packages.module.css +4 -0
- package/src/components/bundle-packages/index.jsx +7 -1
- package/src/components/delta/delta.module.css +2 -1
- package/src/components/entry-info/entry-info.module.css +92 -0
- package/src/components/entry-info/entry-info.stories.tsx +75 -0
- package/src/components/entry-info/entry-info.tsx +134 -0
- package/src/components/entry-info/index.ts +1 -0
- package/src/components/index.js +4 -3
- package/src/components/insight-icon/index.ts +1 -0
- package/src/components/insight-icon/insight-icon.module.css +24 -0
- package/src/components/insight-icon/insight-icon.tsx +25 -0
- package/src/components/insights/index.ts +1 -0
- package/src/components/insights/insights.module.css +14 -0
- package/src/components/insights/insights.stories.tsx +54 -0
- package/src/components/insights/insights.tsx +44 -0
- package/src/components/job-header/job-header.jsx +16 -13
- package/src/components/jobs-header/jobs-header.module.css +51 -4
- package/src/components/jobs-header/jobs-header.stories.tsx +51 -0
- package/src/components/jobs-header/jobs-header.tsx +90 -0
- package/src/components/metric/metric.module.css +3 -3
- package/src/components/metric/metric.stories.tsx +41 -0
- package/src/components/metric/metric.tsx +42 -0
- package/src/components/metric-run-info/index.ts +1 -0
- package/src/components/metric-run-info/metric-run-info.module.css +18 -0
- package/src/components/metric-run-info/metric-run-info.stories.tsx +34 -0
- package/src/components/metric-run-info/metric-run-info.tsx +85 -0
- package/src/components/metrics-table-options/metrics-table-options.jsx +1 -1
- package/src/components/metrics-table-search/metrics-table-search.module.css +0 -6
- package/src/components/metrics-table-title/metrics-table-title.module.css +1 -0
- package/src/components/module-info/module-info.module.css +8 -33
- package/src/components/module-info/module-info.stories.tsx +44 -0
- package/src/components/module-info/module-info.tsx +116 -0
- package/src/components/package-info/index.ts +1 -0
- package/src/components/package-info/package-info.module.css +13 -0
- package/src/components/package-info/package-info.stories.tsx +36 -0
- package/src/components/package-info/package-info.tsx +135 -0
- package/src/components/run-info/index.ts +1 -0
- package/src/components/run-info/run-info.module.css +76 -0
- package/src/components/run-info/run-info.stories.tsx +58 -0
- package/src/components/run-info/run-info.tsx +111 -0
- package/src/components/summary/summary.module.css +27 -7
- package/src/components/summary/summary.stories.tsx +57 -0
- package/src/components/summary/summary.tsx +103 -0
- package/src/constants.js +0 -24
- package/src/css/variables.css +18 -13
- package/src/layout/box/box.module.css +11 -0
- package/src/layout/box/box.stories.tsx +49 -0
- package/src/layout/box/box.tsx +49 -0
- package/src/layout/box/index.ts +1 -0
- package/src/layout/flex-stack/flex-stack.stories.tsx +59 -0
- package/src/layout/flex-stack/flex-stack.tsx +43 -0
- package/src/layout/stack/stack.stories.tsx +53 -0
- package/src/layout/stack/stack.tsx +22 -0
- package/src/tokens.ts +37 -0
- package/src/ui/alert/alert.stories.tsx +39 -0
- package/src/ui/alert/alert.tsx +23 -0
- package/src/ui/container/container.stories.tsx +29 -0
- package/src/ui/container/container.tsx +18 -0
- package/src/ui/container/index.ts +1 -0
- package/src/ui/dropdown/dropdown.module.css +1 -2
- package/src/ui/file-name/file-name.jsx +1 -1
- package/src/ui/filters/filters.module.css +1 -5
- package/src/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +2 -0
- package/src/ui/hover-card/hover-card.stories.tsx +41 -0
- package/src/ui/hover-card/{hover-card.jsx → hover-card.tsx} +22 -30
- package/src/ui/icon/icon.jsx +4 -0
- package/src/ui/index.js +0 -1
- package/src/ui/input/input.module.css +3 -4
- package/src/ui/table/table.stories.tsx +238 -0
- package/src/ui/table/table.tsx +38 -0
- package/src/ui/tag/tag.module.css +15 -1
- package/src/ui/tag/tag.stories.tsx +32 -0
- package/src/ui/tag/tag.tsx +28 -0
- package/src/ui/tooltip/tooltip.module.css +3 -4
- package/src/ui/tooltip/tooltip.stories.tsx +30 -0
- package/src/ui/tooltip/tooltip.tsx +57 -0
- package/types/app/header/header.d.ts +5 -5
- package/types/components/asset-info/asset-info.d.ts +20 -23
- package/types/components/asset-info/index.d.ts +1 -1
- package/types/components/asset-not-predictive/asset-not-predictive.d.ts +8 -0
- package/types/components/asset-not-predictive/index.d.ts +1 -0
- package/types/components/browsertime-table/browsertime-table.d.ts +5 -5
- package/types/components/bundle-assets/bundle-assets.constants.d.ts +6 -6
- package/types/components/bundle-assets/bundle-assets.d.ts +28 -20
- package/types/components/bundle-assets/index.d.ts +11 -11
- package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +6 -6
- package/types/components/bundle-assets-totals-table/bundle-assets-totals-table.d.ts +7 -7
- package/types/components/bundle-modules/bundle-modules.constants.d.ts +6 -6
- package/types/components/bundle-modules/bundle-modules.d.ts +28 -24
- package/types/components/bundle-modules/bundle-modules.utils.d.ts +1 -1
- package/types/components/bundle-modules/index.d.ts +11 -11
- package/types/components/bundle-packages/bundle-packages.constants.d.ts +6 -6
- package/types/components/bundle-packages/bundle-packages.d.ts +24 -20
- package/types/components/bundle-packages/index.d.ts +11 -11
- package/types/components/component-link.d.ts +6 -6
- package/types/components/delta/delta.d.ts +7 -7
- package/types/components/entry-info/entry-info.d.ts +25 -0
- package/types/components/entry-info/index.d.ts +1 -0
- package/types/components/index.d.ts +4 -3
- package/types/components/insight-icon/index.d.ts +1 -0
- package/types/components/insight-icon/insight-icon.d.ts +7 -0
- package/types/components/insights/index.d.ts +1 -0
- package/types/components/insights/insights.d.ts +8 -0
- package/types/components/job-header/job-header.d.ts +9 -9
- package/types/components/job-name/job-name.d.ts +9 -9
- package/types/components/jobs-header/index.d.ts +1 -1
- package/types/components/jobs-header/jobs-header.d.ts +18 -15
- package/types/components/lighthouse-table/lighthouse-table.d.ts +5 -5
- package/types/components/metric/index.d.ts +1 -1
- package/types/components/metric/metric.d.ts +6 -32
- package/types/components/metric-run-info/index.d.ts +1 -0
- package/types/components/metric-run-info/metric-run-info.d.ts +13 -0
- package/types/components/metrics-table/metrics-table.d.ts +14 -14
- package/types/components/metrics-table-options/metrics-table-options.d.ts +7 -7
- package/types/components/metrics-table-search/metrics-table-search.d.ts +7 -7
- package/types/components/metrics-table-title/metrics-table-title.d.ts +10 -10
- package/types/components/module-info/index.d.ts +1 -1
- package/types/components/module-info/module-info.d.ts +19 -34
- package/types/components/package-info/index.d.ts +1 -0
- package/types/components/package-info/package-info.d.ts +15 -0
- package/types/components/run-info/index.d.ts +1 -0
- package/types/components/run-info/run-info.d.ts +16 -0
- package/types/components/summary/index.d.ts +1 -1
- package/types/components/summary/summary.d.ts +25 -36
- package/types/components/total-size-type-title/total-size-type-title.d.ts +3 -3
- package/types/constants.d.ts +4 -15
- package/types/i18n.d.ts +15 -15
- package/types/layout/box/box.d.ts +12 -25
- package/types/layout/box/index.d.ts +1 -1
- package/types/layout/flex-stack/flex-stack.d.ts +10 -33
- package/types/layout/flex-stack/index.d.ts +1 -1
- package/types/layout/footer/footer.d.ts +5 -5
- package/types/layout/separator.d.ts +4 -4
- package/types/layout/stack/index.d.ts +1 -1
- package/types/layout/stack/stack.d.ts +7 -20
- package/types/tokens.d.ts +23 -0
- package/types/ui/alert/alert.d.ts +7 -14
- package/types/ui/alert/index.d.ts +1 -1
- package/types/ui/container/container.d.ts +5 -17
- package/types/ui/container/index.d.ts +1 -1
- package/types/ui/dropdown/dropdown.d.ts +16 -16
- package/types/ui/empty-set/empty-set.d.ts +7 -7
- package/types/ui/file-name/file-name.d.ts +7 -7
- package/types/ui/filters/filters.d.ts +6 -6
- package/types/ui/filters/filters.utils.d.ts +2 -2
- package/types/ui/filters/index.d.ts +4 -4
- package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +6 -6
- package/types/ui/hover-card/hover-card.d.ts +12 -26
- package/types/ui/hover-card/index.d.ts +1 -1
- package/types/ui/icon/icon.d.ts +26 -22
- package/types/ui/index.d.ts +0 -1
- package/types/ui/input/input.d.ts +5 -5
- package/types/ui/loader/loader.d.ts +8 -8
- package/types/ui/skeleton/skeleton.d.ts +7 -7
- package/types/ui/sort-dropdown/sort-dropdown.d.ts +11 -11
- package/types/ui/table/index.d.ts +1 -1
- package/types/ui/table/table.d.ts +14 -33
- package/types/ui/tabs/tabs.d.ts +10 -10
- package/types/ui/tag/index.d.ts +1 -1
- package/types/ui/tag/tag.d.ts +22 -33
- package/types/ui/toolbar/toolbar.d.ts +6 -6
- package/types/ui/tooltip/index.d.ts +1 -1
- package/types/ui/tooltip/tooltip.d.ts +10 -28
- package/lib/components/duplicate-packages-insight/duplicate-packages-insight.js +0 -31
- package/lib/components/duplicate-packages-insight/duplicate-packages-insight.js.map +0 -1
- package/lib/components/duplicate-packages-insight/duplicate-packages-insight.module.css +0 -18
- package/lib/components/duplicate-packages-insight/index.js.map +0 -1
- package/lib/components/job-meta/index.js.map +0 -1
- package/lib/components/job-meta/job-meta.js +0 -34
- package/lib/components/job-meta/job-meta.js.map +0 -1
- package/lib/components/job-meta/job-meta.module.css +0 -19
- package/lib/components/summary-item/index.js.map +0 -1
- package/lib/components/summary-item/summary-item.js +0 -97
- package/lib/components/summary-item/summary-item.js.map +0 -1
- package/lib/components/summary-item/summary-item.module.css +0 -58
- package/lib/ui/panels/index.js +0 -6
- package/lib/ui/panels/index.js.map +0 -1
- package/lib/ui/panels/panels.js +0 -28
- package/lib/ui/panels/panels.js.map +0 -1
- package/lib/ui/panels/panels.module.css +0 -23
- package/lib-esm/components/duplicate-packages-insight/duplicate-packages-insight.js +0 -24
- package/lib-esm/components/duplicate-packages-insight/duplicate-packages-insight.js.map +0 -1
- package/lib-esm/components/duplicate-packages-insight/duplicate-packages-insight.module.css +0 -18
- package/lib-esm/components/duplicate-packages-insight/index.js +0 -2
- package/lib-esm/components/duplicate-packages-insight/index.js.map +0 -1
- package/lib-esm/components/job-meta/index.js +0 -2
- package/lib-esm/components/job-meta/index.js.map +0 -1
- package/lib-esm/components/job-meta/job-meta.js +0 -27
- package/lib-esm/components/job-meta/job-meta.js.map +0 -1
- package/lib-esm/components/job-meta/job-meta.module.css +0 -19
- package/lib-esm/components/summary-item/index.js +0 -2
- package/lib-esm/components/summary-item/index.js.map +0 -1
- package/lib-esm/components/summary-item/summary-item.js +0 -67
- package/lib-esm/components/summary-item/summary-item.js.map +0 -1
- package/lib-esm/components/summary-item/summary-item.module.css +0 -58
- package/lib-esm/ui/panels/index.js +0 -2
- package/lib-esm/ui/panels/index.js.map +0 -1
- package/lib-esm/ui/panels/panels.js +0 -21
- package/lib-esm/ui/panels/panels.js.map +0 -1
- package/lib-esm/ui/panels/panels.module.css +0 -23
- package/src/components/asset-info/asset-info.jsx +0 -96
- package/src/components/duplicate-packages-insight/duplicate-packages-insight.module.css +0 -18
- package/src/components/duplicate-packages-insight/duplicate-packages-insight.stories.tsx +0 -66
- package/src/components/duplicate-packages-insight/duplicate-packages-insight.tsx +0 -81
- package/src/components/duplicate-packages-insight/index.ts +0 -1
- package/src/components/job-meta/index.js +0 -1
- package/src/components/job-meta/job-meta.jsx +0 -47
- package/src/components/job-meta/job-meta.module.css +0 -19
- package/src/components/jobs-header/jobs-header.jsx +0 -43
- package/src/components/metric/metric.jsx +0 -63
- package/src/components/module-info/module-info.jsx +0 -123
- package/src/components/summary/summary.jsx +0 -73
- package/src/components/summary-item/index.js +0 -1
- package/src/components/summary-item/summary-item.jsx +0 -142
- package/src/components/summary-item/summary-item.module.css +0 -58
- package/src/layout/box/box.jsx +0 -67
- package/src/layout/box/index.js +0 -1
- package/src/layout/flex-stack/flex-stack.jsx +0 -49
- package/src/layout/stack/stack.jsx +0 -32
- package/src/ui/alert/alert.jsx +0 -27
- package/src/ui/container/container.jsx +0 -24
- package/src/ui/container/index.js +0 -1
- package/src/ui/panels/index.js +0 -1
- package/src/ui/panels/panels.jsx +0 -39
- package/src/ui/panels/panels.module.css +0 -23
- package/src/ui/table/table.jsx +0 -37
- package/src/ui/tag/tag.jsx +0 -49
- package/src/ui/tooltip/tooltip.jsx +0 -67
- package/tsconfig.esm.json +0 -13
- package/tsconfig.json +0 -7
- package/tsconfig.lib.json +0 -9
- package/types/components/duplicate-packages-insight/duplicate-packages-insight.d.ts +0 -11
- package/types/components/duplicate-packages-insight/index.d.ts +0 -1
- package/types/components/job-meta/index.d.ts +0 -1
- package/types/components/job-meta/job-meta.d.ts +0 -18
- package/types/components/summary-item/index.d.ts +0 -1
- package/types/components/summary-item/summary-item.d.ts +0 -40
- package/types/ui/panels/index.d.ts +0 -1
- package/types/ui/panels/panels.d.ts +0 -18
- /package/src/components/asset-info/{index.js → index.ts} +0 -0
- /package/src/components/jobs-header/{index.js → index.ts} +0 -0
- /package/src/components/metric/{index.js → index.ts} +0 -0
- /package/src/components/module-info/{index.js → index.ts} +0 -0
- /package/src/components/summary/{index.js → index.ts} +0 -0
- /package/src/layout/flex-stack/{index.js → index.ts} +0 -0
- /package/src/layout/stack/{index.js → index.ts} +0 -0
- /package/src/ui/alert/{index.js → index.ts} +0 -0
- /package/src/ui/hover-card/{index.js → index.ts} +0 -0
- /package/src/ui/table/{index.js → index.ts} +0 -0
- /package/src/ui/tag/{index.js → index.ts} +0 -0
- /package/src/ui/tooltip/{index.js → index.ts} +0 -0
package/lib/ui/table/table.js
CHANGED
|
@@ -5,15 +5,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Table = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const prop_types_1 = __importDefault(require("prop-types"));
|
|
9
8
|
const classnames_1 = __importDefault(require("classnames"));
|
|
10
9
|
const table_module_css_1 = __importDefault(require("./table.module.css"));
|
|
11
|
-
const Table = (
|
|
10
|
+
const Table = (props) => {
|
|
11
|
+
const { className = '', emptyMessage = null, compact = false, outline = false, children, ...restProps } = props;
|
|
12
12
|
const rootClassName = (0, classnames_1.default)(table_module_css_1.default.root, className, compact && table_module_css_1.default.compact, outline && table_module_css_1.default.outline);
|
|
13
13
|
if (!children) {
|
|
14
14
|
return react_1.default.createElement("div", { className: (0, classnames_1.default)(rootClassName, table_module_css_1.default.empty) }, emptyMessage);
|
|
15
15
|
}
|
|
16
|
-
return react_1.default.createElement("table", { className: rootClassName }, children);
|
|
16
|
+
return (react_1.default.createElement("table", { className: rootClassName, ...restProps }, children));
|
|
17
17
|
};
|
|
18
18
|
exports.Table = Table;
|
|
19
19
|
exports.Table.THead = 'thead';
|
|
@@ -21,18 +21,4 @@ exports.Table.TBody = 'tbody';
|
|
|
21
21
|
exports.Table.Tr = 'tr';
|
|
22
22
|
exports.Table.Th = 'th';
|
|
23
23
|
exports.Table.Td = 'td';
|
|
24
|
-
exports.Table.defaultProps = {
|
|
25
|
-
className: '',
|
|
26
|
-
emptyMessage: 'No entries found.',
|
|
27
|
-
children: null,
|
|
28
|
-
compact: false,
|
|
29
|
-
outline: false,
|
|
30
|
-
};
|
|
31
|
-
exports.Table.propTypes = {
|
|
32
|
-
className: prop_types_1.default.string,
|
|
33
|
-
emptyMessage: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.element]),
|
|
34
|
-
compact: prop_types_1.default.bool,
|
|
35
|
-
outline: prop_types_1.default.bool,
|
|
36
|
-
children: prop_types_1.default.oneOfType([prop_types_1.default.node, prop_types_1.default.arrayOf(prop_types_1.default.node)]),
|
|
37
|
-
};
|
|
38
24
|
//# sourceMappingURL=table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/ui/table/table.
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/ui/table/table.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAE5B,0EAAqC;AAQ9B,MAAM,KAAK,GAAG,CAAC,KAAiD,EAAE,EAAE;IACzE,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,IAAI,EACnB,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,KAAK,EACf,QAAQ,EACR,GAAG,SAAS,EACb,GAAG,KAAK,CAAC;IACV,MAAM,aAAa,GAAG,IAAA,oBAAE,EAAC,0BAAG,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,IAAI,0BAAG,CAAC,OAAO,EAAE,OAAO,IAAI,0BAAG,CAAC,OAAO,CAAC,CAAC;IAE9F,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,uCAAK,SAAS,EAAE,IAAA,oBAAE,EAAC,aAAa,EAAE,0BAAG,CAAC,KAAK,CAAC,IAAG,YAAY,CAAO,CAAC;KAC3E;IAED,OAAO,CACL,yCAAO,SAAS,EAAE,aAAa,KAAM,SAAS,IAC3C,QAAQ,CACH,CACT,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,KAAK,SAoBhB;AAEF,aAAK,CAAC,KAAK,GAAG,OAA4B,CAAC;AAC3C,aAAK,CAAC,KAAK,GAAG,OAA4B,CAAC;AAC3C,aAAK,CAAC,EAAE,GAAG,IAAyB,CAAC;AACrC,aAAK,CAAC,EAAE,GAAG,IAAyB,CAAC;AACrC,aAAK,CAAC,EAAE,GAAG,IAAyB,CAAC"}
|
package/lib/ui/tag/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/tag/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/tag/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|
package/lib/ui/tag/tag.js
CHANGED
|
@@ -3,41 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Tag =
|
|
6
|
+
exports.Tag = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const prop_types_1 = __importDefault(require("prop-types"));
|
|
9
8
|
const classnames_1 = __importDefault(require("classnames"));
|
|
9
|
+
const tokens_1 = require("../../tokens");
|
|
10
10
|
const tag_module_css_1 = __importDefault(require("./tag.module.css"));
|
|
11
|
-
exports.KINDS = {
|
|
12
|
-
DEFAULT: 'default',
|
|
13
|
-
SUCCESS: 'success',
|
|
14
|
-
INFO: 'info',
|
|
15
|
-
WARNING: 'warning',
|
|
16
|
-
DANGER: 'danger',
|
|
17
|
-
};
|
|
18
|
-
exports.SIZES = {
|
|
19
|
-
SMALL: 'small',
|
|
20
|
-
MEDIUM: 'medium',
|
|
21
|
-
LARGE: 'large',
|
|
22
|
-
};
|
|
23
11
|
const Tag = (props) => {
|
|
24
|
-
const { className = '', as: Component = 'span', kind =
|
|
12
|
+
const { className = '', as: Component = 'span', kind = tokens_1.KIND.DEFAULT, size = tokens_1.SIZE.MEDIUM, ...restProps } = props;
|
|
25
13
|
const rootClassName = (0, classnames_1.default)(tag_module_css_1.default.root, className, tag_module_css_1.default[kind], tag_module_css_1.default[size]);
|
|
26
14
|
return react_1.default.createElement(Component, { className: rootClassName, ...restProps });
|
|
27
15
|
};
|
|
28
16
|
exports.Tag = Tag;
|
|
29
|
-
exports.Tag.
|
|
30
|
-
|
|
31
|
-
as: prop_types_1.default.elementType,
|
|
32
|
-
kind: prop_types_1.default.oneOf(Object.values(exports.KINDS)),
|
|
33
|
-
size: prop_types_1.default.oneOf(Object.values(exports.SIZES)),
|
|
34
|
-
};
|
|
35
|
-
exports.Tag.defaultProps = {
|
|
36
|
-
className: '',
|
|
37
|
-
as: 'span',
|
|
38
|
-
kind: exports.KINDS.DEFAULT,
|
|
39
|
-
size: exports.SIZES.MEDIUM,
|
|
40
|
-
};
|
|
41
|
-
exports.Tag.KINDS = exports.KINDS;
|
|
42
|
-
exports.Tag.SIZES = exports.SIZES;
|
|
17
|
+
exports.Tag.KINDS = tokens_1.KIND;
|
|
18
|
+
exports.Tag.SIZES = tokens_1.SIZE;
|
|
43
19
|
//# sourceMappingURL=tag.js.map
|
package/lib/ui/tag/tag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/ui/tag/tag.
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/ui/tag/tag.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAE5B,yCAA0C;AAC1C,sEAAmC;AAQ5B,MAAM,GAAG,GAAG,CAAC,KAA8C,EAAE,EAAE;IACpE,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,EAAE,EAAE,SAAS,GAAG,MAAM,EACtB,IAAI,GAAG,aAAI,CAAC,OAAO,EACnB,IAAI,GAAG,aAAI,CAAC,MAAM,EAClB,GAAG,SAAS,EACb,GAAG,KAAK,CAAC;IAEV,MAAM,aAAa,GAAG,IAAA,oBAAE,EAAC,wBAAG,CAAC,IAAI,EAAE,SAAS,EAAE,wBAAG,CAAC,IAAI,CAAC,EAAE,wBAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IAEpE,OAAO,8BAAC,SAAS,IAAC,SAAS,EAAE,aAAa,KAAM,SAAS,GAAI,CAAC;AAChE,CAAC,CAAC;AAZW,QAAA,GAAG,OAYd;AAEF,WAAG,CAAC,KAAK,GAAG,aAAI,CAAC;AACjB,WAAG,CAAC,KAAK,GAAG,aAAI,CAAC"}
|
|
@@ -2,12 +2,26 @@
|
|
|
2
2
|
display: inline-block;
|
|
3
3
|
font-family: var(--font-family);
|
|
4
4
|
font-weight: bold;
|
|
5
|
-
background: var(--color-text-light);
|
|
5
|
+
background: var(--color-text-ultra-light);
|
|
6
6
|
color: var(--color-light);
|
|
7
7
|
text-align: center;
|
|
8
8
|
text-transform: uppercase;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
a.root {
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
transition: var(--transition-out);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
a.root:hover,
|
|
17
|
+
a.root:focus,
|
|
18
|
+
a.root:active {
|
|
19
|
+
opacity: 0.8;
|
|
20
|
+
color: var(--color-light);
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
transition: var(--transition-in);
|
|
23
|
+
}
|
|
24
|
+
|
|
11
25
|
/** Kind variation */
|
|
12
26
|
.success {
|
|
13
27
|
background: var(--color-success);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/tooltip/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/tooltip/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -5,37 +5,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Tooltip = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const prop_types_1 = __importDefault(require("prop-types"));
|
|
9
8
|
const classnames_1 = __importDefault(require("classnames"));
|
|
10
9
|
const tooltip_1 = require("ariakit/tooltip");
|
|
11
10
|
const tooltip_module_css_1 = __importDefault(require("./tooltip.module.css"));
|
|
12
11
|
const Tooltip = (props) => {
|
|
13
|
-
const { className, tooltipClassName, title
|
|
14
|
-
const tooltip = (0, tooltip_1.useTooltipState)({ placement: 'top' });
|
|
12
|
+
const { className = '', tooltipClassName = '', title = '', as: Component = 'span', containerRef: ref, darkMode = true, ...restProps } = props;
|
|
13
|
+
const tooltip = (0, tooltip_1.useTooltipState)({ placement: 'top', timeout: 300 });
|
|
15
14
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
16
|
-
react_1.default.createElement(tooltip_1.TooltipAnchor, { as: Component, className: (0, classnames_1.default)(tooltip_module_css_1.default.root, className), state: tooltip, ...(ref ? { ref } : {}), ...restProps }
|
|
15
|
+
react_1.default.createElement(tooltip_1.TooltipAnchor, { as: Component, className: (0, classnames_1.default)(tooltip_module_css_1.default.root, className), state: tooltip, "aria-controls": tooltip.open ? tooltip.contentElement?.id : '', ...(ref ? { ref } : {}), ...restProps }),
|
|
17
16
|
title && (react_1.default.createElement(tooltip_1.Tooltip, { state: tooltip, className: (0, classnames_1.default)(tooltip_module_css_1.default.tooltip, tooltipClassName, darkMode && tooltip_module_css_1.default.tooltipDarkMode) },
|
|
18
17
|
react_1.default.createElement(tooltip_1.TooltipArrow, { state: tooltip, className: tooltip_module_css_1.default.arrow, size: 12 }),
|
|
19
18
|
title))));
|
|
20
19
|
};
|
|
21
20
|
exports.Tooltip = Tooltip;
|
|
22
|
-
exports.Tooltip.defaultProps = {
|
|
23
|
-
className: '',
|
|
24
|
-
tooltipClassName: '',
|
|
25
|
-
title: '',
|
|
26
|
-
as: 'span',
|
|
27
|
-
containerRef: null,
|
|
28
|
-
darkMode: true,
|
|
29
|
-
};
|
|
30
|
-
exports.Tooltip.propTypes = {
|
|
31
|
-
className: prop_types_1.default.string,
|
|
32
|
-
tooltipClassName: prop_types_1.default.string,
|
|
33
|
-
title: prop_types_1.default.node,
|
|
34
|
-
children: prop_types_1.default.node.isRequired,
|
|
35
|
-
as: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.element, prop_types_1.default.func]),
|
|
36
|
-
containerRef: prop_types_1.default.shape({
|
|
37
|
-
current: prop_types_1.default.object,
|
|
38
|
-
}),
|
|
39
|
-
darkMode: prop_types_1.default.bool,
|
|
40
|
-
};
|
|
41
21
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/ui/tooltip/tooltip.
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/ui/tooltip/tooltip.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAC5B,6CAKyB;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ius: var(--radius-
|
|
15
|
+
border-radius: var(--radius-small);
|
|
16
16
|
background: var(--color-light);
|
|
17
17
|
max-width: 24em;
|
|
18
18
|
color: var(--color-text);
|
|
19
19
|
filter: drop-shadow(var(--shadow-layer));
|
|
20
20
|
will-change: filter;
|
|
21
21
|
font-size: var(--size-xsmall);
|
|
22
|
-
line-height: var(--space-small);
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
.arrow svg {
|
|
@@ -28,10 +27,10 @@
|
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
.tooltipDarkMode {
|
|
31
|
-
background: var(--color-text);
|
|
30
|
+
background: var(--color-text-dark);
|
|
32
31
|
color: var(--color-light);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
.tooltipDarkMode .arrow svg {
|
|
36
|
-
fill: var(--color-text);
|
|
35
|
+
fill: var(--color-text-dark);
|
|
37
36
|
}
|
package/lib-esm/app/app.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { useContext, useEffect, useMemo } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import isEmpty from 'lodash/isEmpty';
|
|
3
4
|
import { HashRouter, NavLink, Route, Switch, useLocation } from 'react-router-dom';
|
|
4
5
|
import { COMPONENT } from '@bundle-stats/utils';
|
|
5
6
|
import { METRICS_WEBPACK_ASSETS, METRICS_WEBPACK_GENERAL, METRICS_WEBPACK_MODULES, METRICS_WEBPACK_PACKAGES, URLS, } from '../constants';
|
|
6
7
|
import { Box } from '../layout/box';
|
|
7
8
|
import { Container } from '../ui/container';
|
|
8
|
-
import { DuplicatePackagesInsight } from '../components/duplicate-packages-insight';
|
|
9
9
|
import { Summary } from '../components/summary';
|
|
10
10
|
import { BundleAssets } from '../components/bundle-assets';
|
|
11
11
|
import { BundleAssetsTotalsChartBars } from '../components/bundle-assets-totals-chart-bars';
|
|
@@ -15,11 +15,13 @@ import { Stack } from '../layout/stack';
|
|
|
15
15
|
import { BundleAssetsTotalsTable } from '../components/bundle-assets-totals-table';
|
|
16
16
|
import { BundleModules } from '../components/bundle-modules';
|
|
17
17
|
import { BundlePackages } from '../components/bundle-packages';
|
|
18
|
+
import { Insights } from '../components/insights';
|
|
18
19
|
import { TotalSizeTypeTitle } from '../components/total-size-type-title';
|
|
19
20
|
import { QueryStateProvider, useComponentQueryState } from '../query-state';
|
|
20
21
|
import I18N from '../i18n';
|
|
21
22
|
import { Header } from './header';
|
|
22
23
|
import css from './app.module.css';
|
|
24
|
+
import { MetricsTableTitle } from '../components';
|
|
23
25
|
const ScrollToTop = () => {
|
|
24
26
|
const { pathname } = useLocation();
|
|
25
27
|
useEffect(() => {
|
|
@@ -48,12 +50,28 @@ JobsProvider.propTypes = {
|
|
|
48
50
|
jobs: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
49
51
|
};
|
|
50
52
|
const OverviewContent = () => {
|
|
51
|
-
var _a, _b, _c;
|
|
52
53
|
const { jobs } = useContext(JobsContext);
|
|
53
|
-
const
|
|
54
|
+
const insightsByName = useMemo(() => {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
const webpackInsights = (_b = (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.insights) === null || _b === void 0 ? void 0 : _b.webpack;
|
|
57
|
+
if (!webpackInsights) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
const res = {
|
|
61
|
+
...(webpackInsights.duplicatePackagesV3 && { duplicatePackages: webpackInsights.duplicatePackagesV3 }),
|
|
62
|
+
...(webpackInsights.newPackages && { newPackages: webpackInsights.newPackages }),
|
|
63
|
+
};
|
|
64
|
+
if (isEmpty(res)) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return res;
|
|
68
|
+
}, [jobs]);
|
|
54
69
|
return (React.createElement(Stack, { space: "medium" },
|
|
55
|
-
|
|
56
|
-
React.createElement(
|
|
70
|
+
insightsByName && (React.createElement(Container, null,
|
|
71
|
+
React.createElement(Stack, { space: "xsmall" },
|
|
72
|
+
React.createElement(MetricsTableTitle, { title: "Insights" }),
|
|
73
|
+
React.createElement(Box, { padding: "small", outline: true },
|
|
74
|
+
React.createElement(Insights, { insights: insightsByName }))))),
|
|
57
75
|
React.createElement(Container, null,
|
|
58
76
|
React.createElement(Stack, { space: "small" },
|
|
59
77
|
React.createElement(TotalSizeTypeTitle, null),
|
|
@@ -66,7 +84,7 @@ const AssetsContent = () => {
|
|
|
66
84
|
const { jobs } = useContext(JobsContext);
|
|
67
85
|
return (React.createElement(Container, null,
|
|
68
86
|
React.createElement(Stack, { space: "medium" },
|
|
69
|
-
React.createElement(Summary, { keys: METRICS_WEBPACK_ASSETS, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
87
|
+
React.createElement(Summary, { keys: METRICS_WEBPACK_ASSETS, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1, showSummaryItemBaseline: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
70
88
|
React.createElement(Box, { outline: true },
|
|
71
89
|
React.createElement(BundleAssets, { jobs: jobs, setState: bundleStatsSetState, ...bundleStatsState })))));
|
|
72
90
|
};
|
|
@@ -76,7 +94,7 @@ const ModulesContent = () => {
|
|
|
76
94
|
const { jobs } = useContext(JobsContext);
|
|
77
95
|
return (React.createElement(Container, null,
|
|
78
96
|
React.createElement(Stack, { space: "medium" },
|
|
79
|
-
React.createElement(Summary, { keys: METRICS_WEBPACK_MODULES, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
97
|
+
React.createElement(Summary, { keys: METRICS_WEBPACK_MODULES, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1, showSummaryItemBaseline: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
80
98
|
React.createElement(Box, { outline: true },
|
|
81
99
|
React.createElement(BundleModules, { jobs: jobs, setState: bundleModulesSetState, ...bundleModulesState })))));
|
|
82
100
|
};
|
|
@@ -86,7 +104,7 @@ const PackagesContent = () => {
|
|
|
86
104
|
const { jobs } = useContext(JobsContext);
|
|
87
105
|
return (React.createElement(Container, null,
|
|
88
106
|
React.createElement(Stack, { space: "medium" },
|
|
89
|
-
React.createElement(Summary, { keys: METRICS_WEBPACK_PACKAGES, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
107
|
+
React.createElement(Summary, { keys: METRICS_WEBPACK_PACKAGES, data: (_a = jobs === null || jobs === void 0 ? void 0 : jobs[0]) === null || _a === void 0 ? void 0 : _a.summary, showSummaryItemDelta: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1, showSummaryItemBaseline: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 }),
|
|
90
108
|
React.createElement(Box, { outline: true },
|
|
91
109
|
React.createElement(BundlePackages, { jobs: jobs, ...bundlePackagesState, setState: bundlePackagesSetState })))));
|
|
92
110
|
};
|
|
@@ -99,7 +117,7 @@ const AppComponent = ({ version, jobs }) => {
|
|
|
99
117
|
return (React.createElement(JobsProvider, { jobs: jobs },
|
|
100
118
|
React.createElement(Layout, { jobs: jobs, version: version },
|
|
101
119
|
React.createElement(Container, { className: css.summaryContainer },
|
|
102
|
-
React.createElement(Summary, { size: "large", keys: METRICS_WEBPACK_GENERAL, data: jobs[0].summary, showSummaryItemDelta: jobs.length !== 1 })),
|
|
120
|
+
React.createElement(Summary, { size: "large", keys: METRICS_WEBPACK_GENERAL, data: jobs[0].summary, showSummaryItemDelta: jobs.length !== 1, showSummaryItemBaseline: (jobs === null || jobs === void 0 ? void 0 : jobs.length) !== 1 })),
|
|
103
121
|
React.createElement(Container, { className: css.tabsContainer },
|
|
104
122
|
React.createElement(Tabs, { className: css.tabs },
|
|
105
123
|
React.createElement(Tabs.Item, { as: NavLink, exact: true, to: URLS.OVERVIEW, activeClassName: css.tabActive }, I18N.OVERVIEW),
|
package/lib-esm/app/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/app/app.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/app/app.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE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IACf,oBAAC,kBAAkB;QACjB,oBAAC,YAAY,OAAK,KAAK,GAAI,CACR,CACV,CACd,CAAC"}
|
|
@@ -12,9 +12,14 @@
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.header {
|
|
16
|
+
background-color: var(--color-background);
|
|
17
|
+
border-bottom: 1px solid var(--color-outline);
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
.summaryContainer {
|
|
16
21
|
padding-top: var(--space-medium);
|
|
17
|
-
padding-bottom: var(--space-
|
|
22
|
+
padding-bottom: var(--space-xsmall);
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
.tabsContainer {
|
|
@@ -42,7 +47,7 @@
|
|
|
42
47
|
|
|
43
48
|
@media (min-width: 600px) {
|
|
44
49
|
:root {
|
|
45
|
-
--header-height:
|
|
50
|
+
--header-height: 52px;
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
.header {
|
|
@@ -52,13 +57,11 @@
|
|
|
52
57
|
top: 0;
|
|
53
58
|
right: 0;
|
|
54
59
|
height: var(--header-height);
|
|
55
|
-
background-color: var(--color-background);
|
|
56
|
-
border-bottom: 1px solid var(--color-outline);
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
.tabsContainer {
|
|
60
63
|
position: sticky;
|
|
61
64
|
top: var(--header-height);
|
|
62
|
-
z-index:
|
|
65
|
+
z-index: calc(var(--layer-high) - 1);
|
|
63
66
|
}
|
|
64
67
|
}
|
package/lib-esm/assets/icons.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="
|
|
1
|
+
<svg width="0" height="0" style="position:absolute">
|
|
2
2
|
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down" id="arrow" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M12 5v14M19 12l-7 7-7-7"/>
|
|
4
4
|
</symbol>
|
|
@@ -22,6 +22,13 @@
|
|
|
22
22
|
<circle cx="12" cy="12" r="4"/>
|
|
23
23
|
<path d="M1.05 12H7M17.01 12h5.95"/>
|
|
24
24
|
</symbol>
|
|
25
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="error" xmlns="http://www.w3.org/2000/svg">
|
|
26
|
+
<circle cx="12" cy="12" r="10"/>
|
|
27
|
+
<path d="M12 8v4M12 16h.01"/>
|
|
28
|
+
</symbol>
|
|
29
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link" viewBox="0 0 24 24" id="external-link" xmlns="http://www.w3.org/2000/svg">
|
|
30
|
+
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3"/>
|
|
31
|
+
</symbol>
|
|
25
32
|
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart" id="filter" xmlns="http://www.w3.org/2000/svg">
|
|
26
33
|
<path d="M12 20V10M18 20V4M6 20v-4"/>
|
|
27
34
|
</symbol>
|
|
@@ -29,9 +36,18 @@
|
|
|
29
36
|
<circle cx="12" cy="12" r="10"/>
|
|
30
37
|
<path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01"/>
|
|
31
38
|
</symbol>
|
|
39
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="info" xmlns="http://www.w3.org/2000/svg">
|
|
40
|
+
<circle cx="12" cy="12" r="10"/>
|
|
41
|
+
<path d="M12 16v-4M12 8h.01"/>
|
|
42
|
+
</symbol>
|
|
32
43
|
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu" id="menu" xmlns="http://www.w3.org/2000/svg">
|
|
33
44
|
<path d="M3 12h18M3 6h18M3 18h18"/>
|
|
34
45
|
</symbol>
|
|
46
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="more-vertical" xmlns="http://www.w3.org/2000/svg">
|
|
47
|
+
<circle cx="12" cy="12" r="1"/>
|
|
48
|
+
<circle cx="12" cy="5" r="1"/>
|
|
49
|
+
<circle cx="12" cy="19" r="1"/>
|
|
50
|
+
</symbol>
|
|
35
51
|
<symbol viewBox="0 0 24 24" fill="currentColor" id="sort" xmlns="http://www.w3.org/2000/svg">
|
|
36
52
|
<path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/>
|
|
37
53
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
@@ -17,13 +17,25 @@ export const SvgIcons = (props) => (React.createElement("svg", { width: "0", hei
|
|
|
17
17
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-git-commit", id: "commit", xmlns: "http://www.w3.org/2000/svg" },
|
|
18
18
|
React.createElement("circle", { cx: "12", cy: "12", r: "4" }),
|
|
19
19
|
React.createElement("path", { d: "M1.05 12H7M17.01 12h5.95" })),
|
|
20
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "error", xmlns: "http://www.w3.org/2000/svg" },
|
|
21
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
22
|
+
React.createElement("path", { d: "M12 8v4M12 16h.01" })),
|
|
23
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-external-link", viewBox: "0 0 24 24", id: "external-link", xmlns: "http://www.w3.org/2000/svg" },
|
|
24
|
+
React.createElement("path", { d: "M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3" })),
|
|
20
25
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-bar-chart", id: "filter", xmlns: "http://www.w3.org/2000/svg" },
|
|
21
26
|
React.createElement("path", { d: "M12 20V10M18 20V4M6 20v-4" })),
|
|
22
27
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-help-circle", id: "help", xmlns: "http://www.w3.org/2000/svg" },
|
|
23
28
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
24
29
|
React.createElement("path", { d: "M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01" })),
|
|
30
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "info", xmlns: "http://www.w3.org/2000/svg" },
|
|
31
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
32
|
+
React.createElement("path", { d: "M12 16v-4M12 8h.01" })),
|
|
25
33
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "feather feather-menu", id: "menu", xmlns: "http://www.w3.org/2000/svg" },
|
|
26
34
|
React.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })),
|
|
35
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", viewBox: "0 0 24 24", id: "more-vertical", xmlns: "http://www.w3.org/2000/svg" },
|
|
36
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
|
|
37
|
+
React.createElement("circle", { cx: "12", cy: "5", r: "1" }),
|
|
38
|
+
React.createElement("circle", { cx: "12", cy: "19", r: "1" })),
|
|
27
39
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "currentColor", id: "sort", xmlns: "http://www.w3.org/2000/svg" },
|
|
28
40
|
React.createElement("path", { d: "M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" }),
|
|
29
41
|
React.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.svg.js","sourceRoot":"","sources":["../../src/assets/icons.svg.jsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CACjC,6BAAK,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAM,KAAK;IAClE,gCACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,KAAK,EAAC,4BAA4B,EAClC,EAAE,EAAC,OAAO,EACV,KAAK,EAAC,4BAA4B;QAElC,8BAAM,CAAC,EAAC,yBAAyB,GAAG,CAC7B;IACT,gCACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,KAAK,EAAC,oCAAoC,EAC1C,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,oBAAoB,EACvB,KAAK,EAAC,4BAA4B;QAElC,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG;QACjC,8BAAM,CAAC,EAAC,uBAAuB,GAAG,CAC3B;IACT,gCACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC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C,sBAAsB,EAC5B,EAAE,EAAC,MAAM,EACT,KAAK,EAAC,4BAA4B;QAElC,8BAAM,CAAC,EAAC,yBAAyB,GAAG,CAC7B;IACT,gCACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,eAAe,EAClB,KAAK,EAAC,4BAA4B;QAElC,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG;QAChC,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,GAAG;QAC/B,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG,CACzB;IACT,gCAAQ,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,EAAC,EAAE,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;QAC1F,8BAAM,CAAC,EAAC,8CAA8C,GAAG;QACzD,8BAAM,CAAC,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,GAAG,CAC/B;IACT,gCACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,KAAK,EAAC,gCAAgC,EACtC,EAAE,EAAC,SAAS,EACZ,KAAK,EAAC,4BAA4B;QAElC,8BAAM,CAAC,EAAC,sGAAsG,GAAG,CAC1G,CACL,CACP,CAAC"}
|
|
@@ -1,57 +1,39 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
3
2
|
import cx from 'classnames';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import noop from 'lodash/noop';
|
|
4
|
+
import { FILE_TYPE_LABELS, getBundleModulesByChunk, getBundleAssetsByEntryType, getBundleAssetsFileTypeComponentLink, getModuleFileType, } from '@bundle-stats/utils';
|
|
5
|
+
import { FlexStack } from '../../layout/flex-stack';
|
|
6
|
+
import { Tag } from '../../ui/tag';
|
|
7
7
|
import { ComponentLink } from '../component-link';
|
|
8
|
+
import { EntryInfo } from '../entry-info';
|
|
8
9
|
import css from './asset-info.module.css';
|
|
9
|
-
const ChunkModulesLink = ({ as: Component, chunks, chunkId, name }) => {
|
|
10
|
+
const ChunkModulesLink = ({ as: Component, chunks, chunkId, name, onClick, }) => {
|
|
10
11
|
const chunk = chunks === null || chunks === void 0 ? void 0 : chunks.find(({ id }) => id === chunkId);
|
|
11
12
|
if (!chunk) {
|
|
12
13
|
return null;
|
|
13
14
|
}
|
|
14
|
-
const chunkIds = chunks
|
|
15
|
+
const chunkIds = chunks.map(({ id }) => id);
|
|
15
16
|
const fileType = getModuleFileType(name);
|
|
16
|
-
return (React.createElement(Component, { className: css.viewModules, ...getBundleModulesByChunk(chunkIds, chunkId, fileType) }, "View chunk modules"));
|
|
17
|
-
};
|
|
18
|
-
ChunkModulesLink.propTypes = {
|
|
19
|
-
as: PropTypes.elementType.isRequired,
|
|
20
|
-
chunks: PropTypes.array,
|
|
21
|
-
chunkId: PropTypes.string,
|
|
22
|
-
name: PropTypes.string,
|
|
23
|
-
};
|
|
24
|
-
ChunkModulesLink.defaultProps = {
|
|
25
|
-
chunks: [],
|
|
26
|
-
chunkId: '',
|
|
27
|
-
name: '',
|
|
17
|
+
return (React.createElement(Component, { className: css.viewModules, ...getBundleModulesByChunk(chunkIds, chunkId, fileType), onClick: onClick }, "View chunk modules"));
|
|
28
18
|
};
|
|
29
19
|
export const AssetInfo = (props) => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
item
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
labels: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
49
|
-
chunks: PropTypes.array,
|
|
50
|
-
CustomComponentLink: PropTypes.elementType,
|
|
51
|
-
};
|
|
52
|
-
AssetInfo.defaultProps = {
|
|
53
|
-
className: '',
|
|
54
|
-
chunks: [],
|
|
55
|
-
CustomComponentLink: ComponentLink,
|
|
20
|
+
var _a;
|
|
21
|
+
const { className = '', chunks = null, customComponentLink: CustomComponentLink = ComponentLink, item, labels, onClick = noop, onClose, } = props;
|
|
22
|
+
const currentRun = (_a = item.runs) === null || _a === void 0 ? void 0 : _a[0];
|
|
23
|
+
const tags = useMemo(() => {
|
|
24
|
+
if (!item.isEntry && !item.isInitial && !item.isChunk) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return (React.createElement(FlexStack, { space: "xxxsmall", alignItems: "center", className: css.tags },
|
|
28
|
+
item.isEntry && (React.createElement(Tag, { as: CustomComponentLink, ...getBundleAssetsByEntryType('entry'), onClick: onClick, className: cx(css.assetNameTag, css.assetNameTagEntry) }, "Entrypoint")),
|
|
29
|
+
item.isInitial && (React.createElement(Tag, { as: CustomComponentLink, ...getBundleAssetsByEntryType('initial'), onClick: onClick, className: cx(css.assetNameTag, css.assetNameTagInitial) }, "Initial")),
|
|
30
|
+
item.isChunk && (React.createElement(Tag, { as: CustomComponentLink, ...getBundleAssetsByEntryType('chunk'), onClick: onClick, className: cx(css.assetNameTag, css.assetNameTagChunk) }, "Chunk"))));
|
|
31
|
+
}, [item]);
|
|
32
|
+
const fileTypeLabel = FILE_TYPE_LABELS[item.fileType];
|
|
33
|
+
return (React.createElement(EntryInfo, { item: item, labels: labels, tags: tags, onClose: onClose, className: cx(css.root, className) },
|
|
34
|
+
item.fileType && (React.createElement(EntryInfo.Meta, { label: "File type" },
|
|
35
|
+
React.createElement(CustomComponentLink, { ...getBundleAssetsFileTypeComponentLink(item.fileType, fileTypeLabel), onClick: onClick }, fileTypeLabel))),
|
|
36
|
+
(currentRun === null || currentRun === void 0 ? void 0 : currentRun.chunkId) && chunks && (React.createElement("div", null,
|
|
37
|
+
React.createElement(ChunkModulesLink, { as: CustomComponentLink, chunks: chunks, chunkId: currentRun === null || currentRun === void 0 ? void 0 : currentRun.chunkId, name: currentRun === null || currentRun === void 0 ? void 0 : currentRun.name, onClick: onClick })))));
|
|
56
38
|
};
|
|
57
39
|
//# sourceMappingURL=asset-info.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-info.js","sourceRoot":"","sources":["../../../src/components/asset-info/asset-info.
|
|
1
|
+
{"version":3,"file":"asset-info.js","sourceRoot":"","sources":["../../../src/components/asset-info/asset-info.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAEhB,uBAAuB,EACvB,0BAA0B,EAC1B,oCAAoC,EACpC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,GAAG,MAAM,yBAAyB,CAAC;AAS1C,MAAM,gBAAgB,GAAG,CAAC,EACxB,EAAE,EAAE,SAAS,EACb,MAAM,EACN,OAAO,EACP,IAAI,EACJ,OAAO,GAC2C,EAAE,EAAE;IACtD,MAAM,KAAK,GAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE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