@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/globals.d.ts
ADDED
package/lib/app/app.js
CHANGED
|
@@ -29,12 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.App = void 0;
|
|
30
30
|
const react_1 = __importStar(require("react"));
|
|
31
31
|
const prop_types_1 = __importDefault(require("prop-types"));
|
|
32
|
+
const isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
|
32
33
|
const react_router_dom_1 = require("react-router-dom");
|
|
33
34
|
const utils_1 = require("@bundle-stats/utils");
|
|
34
35
|
const constants_1 = require("../constants");
|
|
35
36
|
const box_1 = require("../layout/box");
|
|
36
37
|
const container_1 = require("../ui/container");
|
|
37
|
-
const duplicate_packages_insight_1 = require("../components/duplicate-packages-insight");
|
|
38
38
|
const summary_1 = require("../components/summary");
|
|
39
39
|
const bundle_assets_1 = require("../components/bundle-assets");
|
|
40
40
|
const bundle_assets_totals_chart_bars_1 = require("../components/bundle-assets-totals-chart-bars");
|
|
@@ -44,11 +44,13 @@ const stack_1 = require("../layout/stack");
|
|
|
44
44
|
const bundle_assets_totals_table_1 = require("../components/bundle-assets-totals-table");
|
|
45
45
|
const bundle_modules_1 = require("../components/bundle-modules");
|
|
46
46
|
const bundle_packages_1 = require("../components/bundle-packages");
|
|
47
|
+
const insights_1 = require("../components/insights");
|
|
47
48
|
const total_size_type_title_1 = require("../components/total-size-type-title");
|
|
48
49
|
const query_state_1 = require("../query-state");
|
|
49
50
|
const i18n_1 = __importDefault(require("../i18n"));
|
|
50
51
|
const header_1 = require("./header");
|
|
51
52
|
const app_module_css_1 = __importDefault(require("./app.module.css"));
|
|
53
|
+
const components_1 = require("../components");
|
|
52
54
|
const ScrollToTop = () => {
|
|
53
55
|
const { pathname } = (0, react_router_dom_1.useLocation)();
|
|
54
56
|
(0, react_1.useEffect)(() => {
|
|
@@ -78,10 +80,26 @@ JobsProvider.propTypes = {
|
|
|
78
80
|
};
|
|
79
81
|
const OverviewContent = () => {
|
|
80
82
|
const { jobs } = (0, react_1.useContext)(JobsContext);
|
|
81
|
-
const
|
|
83
|
+
const insightsByName = (0, react_1.useMemo)(() => {
|
|
84
|
+
const webpackInsights = jobs?.[0]?.insights?.webpack;
|
|
85
|
+
if (!webpackInsights) {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
const res = {
|
|
89
|
+
...(webpackInsights.duplicatePackagesV3 && { duplicatePackages: webpackInsights.duplicatePackagesV3 }),
|
|
90
|
+
...(webpackInsights.newPackages && { newPackages: webpackInsights.newPackages }),
|
|
91
|
+
};
|
|
92
|
+
if ((0, isEmpty_1.default)(res)) {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
return res;
|
|
96
|
+
}, [jobs]);
|
|
82
97
|
return (react_1.default.createElement(stack_1.Stack, { space: "medium" },
|
|
83
|
-
|
|
84
|
-
react_1.default.createElement(
|
|
98
|
+
insightsByName && (react_1.default.createElement(container_1.Container, null,
|
|
99
|
+
react_1.default.createElement(stack_1.Stack, { space: "xsmall" },
|
|
100
|
+
react_1.default.createElement(components_1.MetricsTableTitle, { title: "Insights" }),
|
|
101
|
+
react_1.default.createElement(box_1.Box, { padding: "small", outline: true },
|
|
102
|
+
react_1.default.createElement(insights_1.Insights, { insights: insightsByName }))))),
|
|
85
103
|
react_1.default.createElement(container_1.Container, null,
|
|
86
104
|
react_1.default.createElement(stack_1.Stack, { space: "small" },
|
|
87
105
|
react_1.default.createElement(total_size_type_title_1.TotalSizeTypeTitle, null),
|
|
@@ -93,7 +111,7 @@ const AssetsContent = () => {
|
|
|
93
111
|
const { jobs } = (0, react_1.useContext)(JobsContext);
|
|
94
112
|
return (react_1.default.createElement(container_1.Container, null,
|
|
95
113
|
react_1.default.createElement(stack_1.Stack, { space: "medium" },
|
|
96
|
-
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_ASSETS, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1 }),
|
|
114
|
+
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_ASSETS, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1, showSummaryItemBaseline: jobs?.length !== 1 }),
|
|
97
115
|
react_1.default.createElement(box_1.Box, { outline: true },
|
|
98
116
|
react_1.default.createElement(bundle_assets_1.BundleAssets, { jobs: jobs, setState: bundleStatsSetState, ...bundleStatsState })))));
|
|
99
117
|
};
|
|
@@ -102,7 +120,7 @@ const ModulesContent = () => {
|
|
|
102
120
|
const { jobs } = (0, react_1.useContext)(JobsContext);
|
|
103
121
|
return (react_1.default.createElement(container_1.Container, null,
|
|
104
122
|
react_1.default.createElement(stack_1.Stack, { space: "medium" },
|
|
105
|
-
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_MODULES, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1 }),
|
|
123
|
+
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_MODULES, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1, showSummaryItemBaseline: jobs?.length !== 1 }),
|
|
106
124
|
react_1.default.createElement(box_1.Box, { outline: true },
|
|
107
125
|
react_1.default.createElement(bundle_modules_1.BundleModules, { jobs: jobs, setState: bundleModulesSetState, ...bundleModulesState })))));
|
|
108
126
|
};
|
|
@@ -111,7 +129,7 @@ const PackagesContent = () => {
|
|
|
111
129
|
const { jobs } = (0, react_1.useContext)(JobsContext);
|
|
112
130
|
return (react_1.default.createElement(container_1.Container, null,
|
|
113
131
|
react_1.default.createElement(stack_1.Stack, { space: "medium" },
|
|
114
|
-
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_PACKAGES, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1 }),
|
|
132
|
+
react_1.default.createElement(summary_1.Summary, { keys: constants_1.METRICS_WEBPACK_PACKAGES, data: jobs?.[0]?.summary, showSummaryItemDelta: jobs?.length !== 1, showSummaryItemBaseline: jobs?.length !== 1 }),
|
|
115
133
|
react_1.default.createElement(box_1.Box, { outline: true },
|
|
116
134
|
react_1.default.createElement(bundle_packages_1.BundlePackages, { jobs: jobs, ...bundlePackagesState, setState: bundlePackagesSetState })))));
|
|
117
135
|
};
|
|
@@ -124,7 +142,7 @@ const AppComponent = ({ version, jobs }) => {
|
|
|
124
142
|
return (react_1.default.createElement(JobsProvider, { jobs: jobs },
|
|
125
143
|
react_1.default.createElement(Layout, { jobs: jobs, version: version },
|
|
126
144
|
react_1.default.createElement(container_1.Container, { className: app_module_css_1.default.summaryContainer },
|
|
127
|
-
react_1.default.createElement(summary_1.Summary, { size: "large", keys: constants_1.METRICS_WEBPACK_GENERAL, data: jobs[0].summary, showSummaryItemDelta: jobs.length !== 1 })),
|
|
145
|
+
react_1.default.createElement(summary_1.Summary, { size: "large", keys: constants_1.METRICS_WEBPACK_GENERAL, data: jobs[0].summary, showSummaryItemDelta: jobs.length !== 1, showSummaryItemBaseline: jobs?.length !== 1 })),
|
|
128
146
|
react_1.default.createElement(container_1.Container, { className: app_module_css_1.default.tabsContainer },
|
|
129
147
|
react_1.default.createElement(tabs_1.Tabs, { className: app_module_css_1.default.tabs },
|
|
130
148
|
react_1.default.createElement(tabs_1.Tabs.Item, { as: react_router_dom_1.NavLink, exact: true, to: constants_1.URLS.OVERVIEW, activeClassName: app_module_css_1.default.tabActive }, i18n_1.default.OVERVIEW),
|
package/lib/app/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/app/app.jsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8D;AAC9D,4DAAmC;AACnC,uDAAmF;AACnF,+CAAgD;AAEhD,4CAMsB;AACtB,uCAAoC;AACpC,+CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/app/app.jsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA8D;AAC9D,4DAAmC;AACnC,6DAAqC;AACrC,uDAAmF;AACnF,+CAAgD;AAEhD,4CAMsB;AACtB,uCAAoC;AACpC,+CAA4C;AAC5C,mDAAgD;AAChD,+DAA2D;AAC3D,mGAA4F;AAC5F,qCAAkC;AAClC,6CAA0C;AAC1C,2CAAwC;AACxC,yFAAmF;AACnF,iEAA6D;AAC7D,mEAA+D;AAC/D,qDAAkD;AAClD,+EAAyE;AACzE,gDAA4E;AAC5E,mDAA2B;AAC3B,qCAAkC;AAClC,sEAAmC;AACnC,8CAAkD;AAElD,MAAM,WAAW,GAAG,GAAG,EAAE;IACvB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,8BAAW,GAAE,CAAC;IAEnC,IAAA,iBAAS,EA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BAC7B,8BAAC,yBAAM;oBACL,8BAAC,wBAAK,IAAC,KAAK,QAAC,IAAI,EAAE,gBAAI,CAAC,MAAM,EAAE,SAAS,EAAE,aAAa,GAAI;oBAC5D,8BAAC,wBAAK,IAAC,KAAK,QAAC,IAAI,EAAE,gBAAI,CAAC,OAAO,EAAE,SAAS,EAAE,cAAc,GAAI;oBAC9D,8BAAC,wBAAK,IAAC,KAAK,QAAC,IAAI,EAAE,gBAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,eAAe,GAAI;oBAChE,8BAAC,wBAAK,IAAC,KAAK,QAAC,IAAI,EAAE,gBAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,eAAe,GAAI,CACzD,CACL,CACC,CACI,CAChB,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC1B,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,YAAY,CAAC,SAAS,GAAG;IACvB,IAAI,EAAE,oBAAS,CAAC,OAAO,CACrB,oBAAS,CAAC,KAAK,CAAC;QACd,mBAAmB,EAAE,oBAAS,CAAC,MAAM;QACrC,QAAQ,EAAE,oBAAS,CAAC,MAAM;QAC1B,OAAO,EAAE,oBAAS,CAAC,MAAM;KAC1B,CAAC,CACH;IACD,OAAO,EAAE,oBAAS,CAAC,MAAM;CAC1B,CAAC;AAEK,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5B,8BAAC,6BAAU;IACT,8BAAC,WAAW,OAAG;IACf,8BAAC,gCAAkB;QACjB,8BAAC,YAAY,OAAK,KAAK,GAAI,CACR,CACV,CACd,CAAC;AAPW,QAAA,GAAG,OAOd"}
|
package/lib/app/app.module.css
CHANGED
|
@@ -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/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"/>
|
package/lib/assets/icons.svg.js
CHANGED
|
@@ -43,13 +43,25 @@ const SvgIcons = (props) => (React.createElement("svg", { width: "0", height: "0
|
|
|
43
43
|
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" },
|
|
44
44
|
React.createElement("circle", { cx: "12", cy: "12", r: "4" }),
|
|
45
45
|
React.createElement("path", { d: "M1.05 12H7M17.01 12h5.95" })),
|
|
46
|
+
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" },
|
|
47
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
48
|
+
React.createElement("path", { d: "M12 8v4M12 16h.01" })),
|
|
49
|
+
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" },
|
|
50
|
+
React.createElement("path", { d: "M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6M15 3h6v6M10 14L21 3" })),
|
|
46
51
|
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" },
|
|
47
52
|
React.createElement("path", { d: "M12 20V10M18 20V4M6 20v-4" })),
|
|
48
53
|
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" },
|
|
49
54
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
50
55
|
React.createElement("path", { d: "M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3M12 17h.01" })),
|
|
56
|
+
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" },
|
|
57
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
58
|
+
React.createElement("path", { d: "M12 16v-4M12 8h.01" })),
|
|
51
59
|
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" },
|
|
52
60
|
React.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })),
|
|
61
|
+
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" },
|
|
62
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
|
|
63
|
+
React.createElement("circle", { cx: "12", cy: "5", r: "1" }),
|
|
64
|
+
React.createElement("circle", { cx: "12", cy: "19", r: "1" })),
|
|
53
65
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "currentColor", id: "sort", xmlns: "http://www.w3.org/2000/svg" },
|
|
54
66
|
React.createElement("path", { d: "M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" }),
|
|
55
67
|
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,6CAA+B;AAExB,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,MAAM,EACX,MAAM,EAAC,cAAc,kBACR,GAAG,oBACD,OAAO,qBACN,OAAO,EACvB,KAAK,EAAC,0BAA0B,EAChC,EAAE,EAAC,QAAQ,EACX,KAAK,EAAC,4BAA4B;QAElC,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAA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AAC,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;AApMW,QAAA,QAAQ,YAoMnB"}
|
|
@@ -1,64 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
27
|
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.AssetInfo = void 0;
|
|
7
|
-
const react_1 =
|
|
8
|
-
const prop_types_1 = __importDefault(require("prop-types"));
|
|
30
|
+
const react_1 = __importStar(require("react"));
|
|
9
31
|
const classnames_1 = __importDefault(require("classnames"));
|
|
32
|
+
const noop_1 = __importDefault(require("lodash/noop"));
|
|
10
33
|
const utils_1 = require("@bundle-stats/utils");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
34
|
+
const flex_stack_1 = require("../../layout/flex-stack");
|
|
35
|
+
const tag_1 = require("../../ui/tag");
|
|
13
36
|
const component_link_1 = require("../component-link");
|
|
37
|
+
const entry_info_1 = require("../entry-info");
|
|
14
38
|
const asset_info_module_css_1 = __importDefault(require("./asset-info.module.css"));
|
|
15
|
-
const ChunkModulesLink = ({ as: Component, chunks, chunkId, name }) => {
|
|
39
|
+
const ChunkModulesLink = ({ as: Component, chunks, chunkId, name, onClick, }) => {
|
|
16
40
|
const chunk = chunks?.find(({ id }) => id === chunkId);
|
|
17
41
|
if (!chunk) {
|
|
18
42
|
return null;
|
|
19
43
|
}
|
|
20
|
-
const chunkIds = chunks
|
|
44
|
+
const chunkIds = chunks.map(({ id }) => id);
|
|
21
45
|
const fileType = (0, utils_1.getModuleFileType)(name);
|
|
22
|
-
return (react_1.default.createElement(Component, { className: asset_info_module_css_1.default.viewModules, ...(0, utils_1.getBundleModulesByChunk)(chunkIds, chunkId, fileType) }, "View chunk modules"));
|
|
23
|
-
};
|
|
24
|
-
ChunkModulesLink.propTypes = {
|
|
25
|
-
as: prop_types_1.default.elementType.isRequired,
|
|
26
|
-
chunks: prop_types_1.default.array,
|
|
27
|
-
chunkId: prop_types_1.default.string,
|
|
28
|
-
name: prop_types_1.default.string,
|
|
29
|
-
};
|
|
30
|
-
ChunkModulesLink.defaultProps = {
|
|
31
|
-
chunks: [],
|
|
32
|
-
chunkId: '',
|
|
33
|
-
name: '',
|
|
46
|
+
return (react_1.default.createElement(Component, { className: asset_info_module_css_1.default.viewModules, ...(0, utils_1.getBundleModulesByChunk)(chunkIds, chunkId, fileType), onClick: onClick }, "View chunk modules"));
|
|
34
47
|
};
|
|
35
48
|
const AssetInfo = (props) => {
|
|
36
|
-
const { className, chunks, item, labels,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
const { className = '', chunks = null, customComponentLink: CustomComponentLink = component_link_1.ComponentLink, item, labels, onClick = noop_1.default, onClose, } = props;
|
|
50
|
+
const currentRun = item.runs?.[0];
|
|
51
|
+
const tags = (0, react_1.useMemo)(() => {
|
|
52
|
+
if (!item.isEntry && !item.isInitial && !item.isChunk) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return (react_1.default.createElement(flex_stack_1.FlexStack, { space: "xxxsmall", alignItems: "center", className: asset_info_module_css_1.default.tags },
|
|
56
|
+
item.isEntry && (react_1.default.createElement(tag_1.Tag, { as: CustomComponentLink, ...(0, utils_1.getBundleAssetsByEntryType)('entry'), onClick: onClick, className: (0, classnames_1.default)(asset_info_module_css_1.default.assetNameTag, asset_info_module_css_1.default.assetNameTagEntry) }, "Entrypoint")),
|
|
57
|
+
item.isInitial && (react_1.default.createElement(tag_1.Tag, { as: CustomComponentLink, ...(0, utils_1.getBundleAssetsByEntryType)('initial'), onClick: onClick, className: (0, classnames_1.default)(asset_info_module_css_1.default.assetNameTag, asset_info_module_css_1.default.assetNameTagInitial) }, "Initial")),
|
|
58
|
+
item.isChunk && (react_1.default.createElement(tag_1.Tag, { as: CustomComponentLink, ...(0, utils_1.getBundleAssetsByEntryType)('chunk'), onClick: onClick, className: (0, classnames_1.default)(asset_info_module_css_1.default.assetNameTag, asset_info_module_css_1.default.assetNameTagChunk) }, "Chunk"))));
|
|
59
|
+
}, [item]);
|
|
60
|
+
const fileTypeLabel = utils_1.FILE_TYPE_LABELS[item.fileType];
|
|
61
|
+
return (react_1.default.createElement(entry_info_1.EntryInfo, { item: item, labels: labels, tags: tags, onClose: onClose, className: (0, classnames_1.default)(asset_info_module_css_1.default.root, className) },
|
|
62
|
+
item.fileType && (react_1.default.createElement(entry_info_1.EntryInfo.Meta, { label: "File type" },
|
|
63
|
+
react_1.default.createElement(CustomComponentLink, { ...(0, utils_1.getBundleAssetsFileTypeComponentLink)(item.fileType, fileTypeLabel), onClick: onClick }, fileTypeLabel))),
|
|
64
|
+
currentRun?.chunkId && chunks && (react_1.default.createElement("div", null,
|
|
65
|
+
react_1.default.createElement(ChunkModulesLink, { as: CustomComponentLink, chunks: chunks, chunkId: currentRun?.chunkId, name: currentRun?.name, onClick: onClick })))));
|
|
45
66
|
};
|
|
46
67
|
exports.AssetInfo = AssetInfo;
|
|
47
|
-
exports.AssetInfo.propTypes = {
|
|
48
|
-
className: prop_types_1.default.string,
|
|
49
|
-
item: prop_types_1.default.shape({
|
|
50
|
-
runs: prop_types_1.default.arrayOf(prop_types_1.default.shape({
|
|
51
|
-
name: prop_types_1.default.string,
|
|
52
|
-
chunkId: prop_types_1.default.string,
|
|
53
|
-
})),
|
|
54
|
-
}).isRequired,
|
|
55
|
-
labels: prop_types_1.default.arrayOf(prop_types_1.default.string).isRequired,
|
|
56
|
-
chunks: prop_types_1.default.array,
|
|
57
|
-
CustomComponentLink: prop_types_1.default.elementType,
|
|
58
|
-
};
|
|
59
|
-
exports.AssetInfo.defaultProps = {
|
|
60
|
-
className: '',
|
|
61
|
-
chunks: [],
|
|
62
|
-
CustomComponentLink: component_link_1.ComponentLink,
|
|
63
|
-
};
|
|
64
68
|
//# 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,+CAAuC;AACvC,4DAA4B;AAC5B,uDAA+B;AAC/B,+CAO6B;AAG7B,wDAAoD;AACpD,sCAAmC;AACnC,sDAAkD;AAClD,8CAA0C;AAC1C,oFAA0C;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,EAAE,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC,CAAC;IAEvD,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IAED,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IAC5C,MAAM,QAAQ,GAAG,IAAA,yBAAiB,EAAC,IAAI,CAAC,CAAC;IAEzC,OAAO,CACL,8BAAC,SAAS,IACR,SAAS,EAAE,+BAAG,CAAC,WAAW,KACtB,IAAA,+BAAu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
|
-
.
|
|
8
|
-
|
|
5
|
+
.assetNameTag:hover,
|
|
6
|
+
.assetNameTag:active,
|
|
7
|
+
.assetNameTag:focus {
|
|
8
|
+
color: var(--color-background);
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
.assetNameTagEntry {
|
|
12
|
+
background: var(--color-info-dark);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.assetNameTagInitial {
|
|
16
|
+
background: var(--color-info);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.assetNameTagChunk {
|
|
20
|
+
background: var(--color-info-light);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.label {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
min-width: 6em;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.label::after {
|
|
29
|
+
content: ' ';
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/asset-info/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/asset-info/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AssetNotPredictive = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
9
|
+
const stack_1 = require("../../layout/stack");
|
|
10
|
+
const table_1 = require("../../ui/table");
|
|
11
|
+
const asset_not_predictive_module_css_1 = __importDefault(require("./asset-not-predictive.module.css"));
|
|
12
|
+
const AssetNotPredictive = (props) => {
|
|
13
|
+
const { className = '', runs = null, labels = null, ...restProps } = props;
|
|
14
|
+
return (react_1.default.createElement(stack_1.Stack, { space: "xsmall", ...restProps, className: (0, classnames_1.default)(asset_not_predictive_module_css_1.default.root, className) },
|
|
15
|
+
react_1.default.createElement("p", { className: asset_not_predictive_module_css_1.default.text }, "Asset file name is the same, but the size has changed."),
|
|
16
|
+
runs && (react_1.default.createElement(table_1.Table, { outline: true, compact: true },
|
|
17
|
+
react_1.default.createElement(table_1.Table.THead, null,
|
|
18
|
+
react_1.default.createElement(table_1.Table.Tr, null,
|
|
19
|
+
react_1.default.createElement(table_1.Table.Th, null, "\u00A0"),
|
|
20
|
+
react_1.default.createElement(table_1.Table.Th, null, "File name"),
|
|
21
|
+
react_1.default.createElement(table_1.Table.Th, { className: asset_not_predictive_module_css_1.default.tableValue }, "Size"))),
|
|
22
|
+
react_1.default.createElement(table_1.Table.TBody, null, runs.map(({ name, value }, index) => (react_1.default.createElement(table_1.Table.Tr, { key: name },
|
|
23
|
+
react_1.default.createElement(table_1.Table.Th, null, labels?.[index]),
|
|
24
|
+
react_1.default.createElement(table_1.Table.Td, null, name),
|
|
25
|
+
react_1.default.createElement(table_1.Table.Td, { className: asset_not_predictive_module_css_1.default.tableValue }, value)))))))));
|
|
26
|
+
};
|
|
27
|
+
exports.AssetNotPredictive = AssetNotPredictive;
|
|
28
|
+
//# sourceMappingURL=asset-not-predictive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asset-not-predictive.js","sourceRoot":"","sources":["../../../src/components/asset-not-predictive/asset-not-predictive.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAG5B,8CAA2C;AAC3C,0CAAuC;AACvC,wGAAoD;AAO7C,MAAM,kBAAkB,GAAG,CAAC,KAA4D,EAAE,EAAE;IACjG,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAE3E,OAAO,CACL,8BAAC,aAAK,IAAC,KAAK,EAAC,QAAQ,KAAK,SAAS,EAAE,SAAS,EAAE,IAAA,oBAAE,EAAC,yCAAG,CAAC,IAAI,EAAE,SAAS,CAAC;QACrE,qCAAG,SAAS,EAAE,yCAAG,CAAC,IAAI,6DAElB;QACH,IAAI,IAAI,CACP,8BAAC,aAAK,IAAC,OAAO,QAAC,OAAO;YACpB,8BAAC,aAAK,CAAC,KAAK;gBACV,8BAAC,aAAK,CAAC,EAAE;oBACP,8BAAC,aAAK,CAAC,EAAE,iBAAkB;oBAC3B,8BAAC,aAAK,CAAC,EAAE,oBAAqB;oBAC9B,8BAAC,aAAK,CAAC,EAAE,IAAC,SAAS,EAAE,yCAAG,CAAC,UAAU,WAAiB,CAC3C,CACC;YACd,8BAAC,aAAK,CAAC,KAAK,QACT,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,8BAAC,aAAK,CAAC,EAAE,IAAC,GAAG,EAAE,IAAI;gBACjB,8BAAC,aAAK,CAAC,EAAE,QAAE,MAAM,EAAE,CAAC,KAAK,CAAC,CAAY;gBACtC,8BAAC,aAAK,CAAC,EAAE,QAAE,IAAI,CAAY;gBAC3B,8BAAC,aAAK,CAAC,EAAE,IAAC,SAAS,EAAE,yCAAG,CAAC,UAAU,IAAG,KAAK,CAAY,CAC9C,CACZ,CAAC,CACU,CACR,CACT,CACK,CACT,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,kBAAkB,sBA8B7B"}
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./asset-not-predictive"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/asset-not-predictive/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|