@bundle-stats/ui 4.12.1 → 4.13.0-beta.2
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/lib/app/app.js +3 -7
- package/lib/app/app.js.map +1 -1
- package/lib/assets/icons.svg +26 -20
- package/lib/assets/icons.svg.js +27 -23
- package/lib/assets/icons.svg.js.map +1 -1
- package/lib/components/bundle-assets/bundle-assets.js +11 -3
- package/lib/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib/components/bundle-assets/index.js +3 -4
- package/lib/components/bundle-assets/index.js.map +1 -1
- package/lib/components/bundle-assets-totals/bundle-assets-totals.js +77 -0
- package/lib/components/bundle-assets-totals/bundle-assets-totals.js.map +1 -0
- package/lib/components/bundle-assets-totals/bundle-assets-totals.module.css +7 -0
- package/lib/{ui/horizontal-bar-chart → components/bundle-assets-totals}/index.js +1 -1
- package/lib/components/bundle-assets-totals/index.js.map +1 -0
- package/lib/components/bundle-modules/bundle-modules.js +9 -2
- package/lib/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib/components/bundle-modules/index.js +3 -4
- package/lib/components/bundle-modules/index.js.map +1 -1
- package/lib/components/bundle-packages/bundle-packages.js +10 -2
- package/lib/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib/components/bundle-packages/index.js +3 -4
- package/lib/components/bundle-packages/index.js.map +1 -1
- package/lib/components/index.js +3 -5
- package/lib/components/index.js.map +1 -1
- package/lib/components/{bundle-assets-totals-table → metrics-display-selector}/index.js +1 -1
- package/lib/components/metrics-display-selector/index.js.map +1 -0
- package/lib/components/metrics-display-selector/metrics-display-selector.js +21 -0
- package/lib/components/metrics-display-selector/metrics-display-selector.js.map +1 -0
- package/lib/components/metrics-display-selector/metrics-display-selector.module.css +10 -0
- package/lib/components/{bundle-assets-totals-chart-bars → metrics-treemap}/index.js +1 -1
- package/lib/components/metrics-treemap/index.js.map +1 -0
- package/lib/components/metrics-treemap/metrics-treemap.js +168 -0
- package/lib/components/metrics-treemap/metrics-treemap.js.map +1 -0
- package/lib/components/metrics-treemap/metrics-treemap.module.css +184 -0
- package/lib/constants.js +6 -1
- package/lib/constants.js.map +1 -1
- package/lib/hooks/entry-info.js +12 -0
- package/lib/hooks/entry-info.js.map +1 -0
- package/lib/hooks/metrics-display-type.js +40 -0
- package/lib/hooks/metrics-display-type.js.map +1 -0
- package/lib/query-state.js +1 -1
- package/lib/query-state.js.map +1 -1
- package/lib/ui/button/button.module.css +1 -0
- package/lib/ui/icon/icon.js +2 -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-esm/app/app.js +3 -7
- package/lib-esm/app/app.js.map +1 -1
- package/lib-esm/assets/icons.svg +26 -20
- package/lib-esm/assets/icons.svg.js +27 -23
- package/lib-esm/assets/icons.svg.js.map +1 -1
- package/lib-esm/components/bundle-assets/bundle-assets.js +11 -3
- package/lib-esm/components/bundle-assets/bundle-assets.js.map +1 -1
- package/lib-esm/components/bundle-assets/index.js +5 -6
- package/lib-esm/components/bundle-assets/index.js.map +1 -1
- package/lib-esm/components/bundle-assets-totals/bundle-assets-totals.js +47 -0
- package/lib-esm/components/bundle-assets-totals/bundle-assets-totals.js.map +1 -0
- package/lib-esm/components/bundle-assets-totals/bundle-assets-totals.module.css +7 -0
- package/lib-esm/components/bundle-assets-totals/index.js +2 -0
- package/lib-esm/components/bundle-assets-totals/index.js.map +1 -0
- package/lib-esm/components/bundle-modules/bundle-modules.js +9 -2
- package/lib-esm/components/bundle-modules/bundle-modules.js.map +1 -1
- package/lib-esm/components/bundle-modules/index.js +3 -4
- package/lib-esm/components/bundle-modules/index.js.map +1 -1
- package/lib-esm/components/bundle-packages/bundle-packages.js +10 -2
- package/lib-esm/components/bundle-packages/bundle-packages.js.map +1 -1
- package/lib-esm/components/bundle-packages/index.js +5 -6
- package/lib-esm/components/bundle-packages/index.js.map +1 -1
- package/lib-esm/components/index.js +1 -2
- package/lib-esm/components/index.js.map +1 -1
- package/lib-esm/components/metrics-display-selector/index.js +2 -0
- package/lib-esm/components/metrics-display-selector/index.js.map +1 -0
- package/lib-esm/components/metrics-display-selector/metrics-display-selector.js +14 -0
- package/lib-esm/components/metrics-display-selector/metrics-display-selector.js.map +1 -0
- package/lib-esm/components/metrics-display-selector/metrics-display-selector.module.css +10 -0
- package/lib-esm/components/metrics-treemap/index.js +2 -0
- package/lib-esm/components/metrics-treemap/index.js.map +1 -0
- package/lib-esm/components/metrics-treemap/metrics-treemap.js +140 -0
- package/lib-esm/components/metrics-treemap/metrics-treemap.js.map +1 -0
- package/lib-esm/components/metrics-treemap/metrics-treemap.module.css +184 -0
- package/lib-esm/constants.js +5 -0
- package/lib-esm/constants.js.map +1 -1
- package/lib-esm/hooks/entry-info.js +8 -0
- package/lib-esm/hooks/entry-info.js.map +1 -0
- package/lib-esm/hooks/metrics-display-type.js +36 -0
- package/lib-esm/hooks/metrics-display-type.js.map +1 -0
- package/lib-esm/query-state.js +1 -1
- package/lib-esm/query-state.js.map +1 -1
- package/lib-esm/ui/button/button.module.css +1 -0
- package/lib-esm/ui/icon/icon.js +2 -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/package.json +7 -4
- package/src/app/app.jsx +4 -8
- package/src/assets/icons/table.svg +3 -0
- package/src/assets/icons/treemap.svg +4 -0
- package/src/assets/icons.svg +26 -20
- package/src/assets/icons.svg.jsx +91 -55
- package/src/components/bundle-assets/bundle-assets.jsx +25 -11
- package/src/components/bundle-assets/index.jsx +10 -5
- package/src/components/bundle-assets-totals/bundle-assets-totals.jsx +94 -0
- package/src/components/bundle-assets-totals/bundle-assets-totals.module.css +7 -0
- package/src/components/bundle-assets-totals/index.js +1 -0
- package/src/components/bundle-modules/bundle-modules.tsx +26 -12
- package/src/components/bundle-modules/index.tsx +4 -3
- package/src/components/bundle-packages/bundle-packages.jsx +24 -10
- package/src/components/bundle-packages/index.jsx +10 -5
- package/src/components/index.js +1 -2
- package/src/components/metrics-display-selector/index.tsx +1 -0
- package/src/components/metrics-display-selector/metrics-display-selector.module.css +10 -0
- package/src/components/metrics-display-selector/metrics-display-selector.tsx +47 -0
- package/src/components/metrics-treemap/index.ts +1 -0
- package/src/components/metrics-treemap/metrics-treemap.module.css +184 -0
- package/src/components/metrics-treemap/metrics-treemap.stories.tsx +23 -0
- package/src/components/metrics-treemap/metrics-treemap.tsx +308 -0
- package/src/{constants.js → constants.ts} +5 -0
- package/src/hooks/entry-info.ts +19 -0
- package/src/hooks/metrics-display-type.ts +56 -0
- package/src/query-state.tsx +1 -1
- package/src/types.d.ts +2 -0
- package/src/ui/button/button.module.css +1 -0
- package/src/ui/icon/icon.tsx +2 -0
- package/src/ui/index.js +0 -1
- package/types/components/bundle-assets/bundle-assets.d.ts +2 -1
- package/types/components/{bundle-assets-totals-table/bundle-assets-totals-table.d.ts → bundle-assets-totals/bundle-assets-totals.d.ts} +2 -2
- package/types/components/bundle-assets-totals/index.d.ts +1 -0
- package/types/components/bundle-modules/bundle-modules.d.ts +2 -1
- package/types/components/bundle-modules/index.d.ts +1 -1
- package/types/components/bundle-packages/bundle-packages.d.ts +1 -0
- package/types/components/index.d.ts +1 -2
- package/types/components/metrics-display-selector/index.d.ts +1 -0
- package/types/components/metrics-display-selector/metrics-display-selector.d.ts +9 -0
- package/types/components/metrics-treemap/index.d.ts +1 -0
- package/types/components/metrics-treemap/metrics-treemap.d.ts +9 -0
- package/types/constants.d.ts +19 -15
- package/types/hooks/entry-info.d.ts +8 -0
- package/types/hooks/metrics-display-type.d.ts +4 -0
- package/types/ui/icon/icon.d.ts +4 -0
- package/types/ui/index.d.ts +0 -1
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +0 -95
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +0 -1
- package/lib/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +0 -42
- package/lib/components/bundle-assets-totals-chart-bars/index.js.map +0 -1
- package/lib/components/bundle-assets-totals-table/bundle-assets-totals-table.js +0 -57
- package/lib/components/bundle-assets-totals-table/bundle-assets-totals-table.js.map +0 -1
- package/lib/components/bundle-assets-totals-table/bundle-assets-totals-table.module.css +0 -3
- package/lib/components/bundle-assets-totals-table/index.js.map +0 -1
- package/lib/ui/horizontal-bar-chart/horizontal-bar-chart.js +0 -102
- package/lib/ui/horizontal-bar-chart/horizontal-bar-chart.js.map +0 -1
- package/lib/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +0 -42
- package/lib/ui/horizontal-bar-chart/index.js.map +0 -1
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js +0 -66
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.js.map +0 -1
- package/lib-esm/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +0 -42
- package/lib-esm/components/bundle-assets-totals-chart-bars/index.js +0 -2
- package/lib-esm/components/bundle-assets-totals-chart-bars/index.js.map +0 -1
- package/lib-esm/components/bundle-assets-totals-table/bundle-assets-totals-table.js +0 -27
- package/lib-esm/components/bundle-assets-totals-table/bundle-assets-totals-table.js.map +0 -1
- package/lib-esm/components/bundle-assets-totals-table/bundle-assets-totals-table.module.css +0 -3
- package/lib-esm/components/bundle-assets-totals-table/index.js +0 -2
- package/lib-esm/components/bundle-assets-totals-table/index.js.map +0 -1
- package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.js +0 -96
- package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.js.map +0 -1
- package/lib-esm/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +0 -42
- package/lib-esm/ui/horizontal-bar-chart/index.js +0 -2
- package/lib-esm/ui/horizontal-bar-chart/index.js.map +0 -1
- package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.jsx +0 -106
- package/src/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.module.css +0 -42
- package/src/components/bundle-assets-totals-chart-bars/index.js +0 -1
- package/src/components/bundle-assets-totals-table/bundle-assets-totals-table.jsx +0 -55
- package/src/components/bundle-assets-totals-table/bundle-assets-totals-table.module.css +0 -3
- package/src/components/bundle-assets-totals-table/index.js +0 -1
- package/src/ui/horizontal-bar-chart/horizontal-bar-chart.jsx +0 -156
- package/src/ui/horizontal-bar-chart/horizontal-bar-chart.module.css +0 -42
- package/src/ui/horizontal-bar-chart/index.js +0 -1
- package/types/components/bundle-assets-totals-chart-bars/bundle-assets-totals-chart-bars.d.ts +0 -22
- package/types/components/bundle-assets-totals-chart-bars/index.d.ts +0 -1
- package/types/components/bundle-assets-totals-table/index.d.ts +0 -1
- package/types/ui/horizontal-bar-chart/horizontal-bar-chart.d.ts +0 -23
- package/types/ui/horizontal-bar-chart/index.d.ts +0 -1
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
position: relative;
|
|
3
|
+
aspect-ratio: 16/9;
|
|
4
|
+
background: var(--color-background);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.canvas {
|
|
8
|
+
position: absolute;
|
|
9
|
+
left: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
fill: var(--color-text);
|
|
14
|
+
font-family: var(--font-family);
|
|
15
|
+
background: var(--color-outline);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** Tile overlay fill background transition */
|
|
19
|
+
.root {
|
|
20
|
+
transition: var(--ui-transition-out);
|
|
21
|
+
transition-property: opacity;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.leafBackground {
|
|
25
|
+
fill: var(--color-background);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.leafBackdrop {
|
|
29
|
+
fill: var(--color-background);
|
|
30
|
+
transition: var(--ui-transition-out);
|
|
31
|
+
transition-property: opacity;
|
|
32
|
+
opacity: 0.2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.leaf:hover .leafBackdrop {
|
|
36
|
+
transition: var(--ui-transition-in);
|
|
37
|
+
opacity: 0.5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** Leaf wrapper button */
|
|
41
|
+
.leafAction {
|
|
42
|
+
appearance: none;
|
|
43
|
+
border: 0;
|
|
44
|
+
border-radius: 0;
|
|
45
|
+
padding: 0;
|
|
46
|
+
background: none;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
font-family: var(--font-family-fixed);
|
|
52
|
+
font-size: var(--size-small);
|
|
53
|
+
line-height: var(--line-height-heading);
|
|
54
|
+
text-align: left;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.leafContent {
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-flow: column;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
padding: var(--space-xxsmall) var(--space-xxsmall);
|
|
64
|
+
gap: var(--space-xxsmall);
|
|
65
|
+
line-height: var(--line-height-heading);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** Align label to other elements on the first column leafs */
|
|
69
|
+
.leafWrapper[x="0"] .leafContent {
|
|
70
|
+
padding-left: var(--space-small);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.leadContentLabel {
|
|
74
|
+
flex: 0 1 auto;
|
|
75
|
+
width: 100%;
|
|
76
|
+
min-width: 0;
|
|
77
|
+
max-height: calc(2em * var(--line-height-heading));
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
word-break: break-word;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.leadContentValue {
|
|
83
|
+
flex: 0 0 auto;
|
|
84
|
+
max-width: calc(100% + var(--space-xxsmall));
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.leadContentMetric {
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.leadContentDelta {
|
|
94
|
+
margin-left: var(--space-xxxsmall);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/** Tile size variation */
|
|
98
|
+
.leafSmall .leafContent {
|
|
99
|
+
padding: var(--space-xxxsmall) var(--space-xxsmall);
|
|
100
|
+
gap: 0;
|
|
101
|
+
font-size: var(--size-xsmall);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.leafSmall .leadContentLabel {
|
|
105
|
+
margin-top: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Tile diff variation */
|
|
109
|
+
.leaf-NO_CHANGE .leafBackdrop {
|
|
110
|
+
fill: transparent;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.leaf-NO_CHANGE .leafAction {
|
|
114
|
+
color: var(--color-text-light);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.leaf-HIGH_NEGATIVE .leafBackdrop {
|
|
118
|
+
fill: var(--color-red-100);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.leaf-NEGATIVE .leafBackdrop {
|
|
122
|
+
fill: var(--color-red-50);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.leaf-LOW_NEGATIVE .leafBackdrop {
|
|
126
|
+
fill: var(--color-red-25);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.leaf-LOW_POSITIVE .leafBackdrop {
|
|
130
|
+
fill: var(--color-green-25);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.leaf-POSITIVE .leafBackdrop {
|
|
134
|
+
fill: var(--color-green-50);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.leaf-HIGH_POSITIVE .leafBackdrop {
|
|
138
|
+
fill: var(--color-green-100);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** empty message */
|
|
142
|
+
.emptyMessage {
|
|
143
|
+
position: absolute;
|
|
144
|
+
left: 0;
|
|
145
|
+
top: 0;
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 100%;
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
justify-content: center;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.emptyMessageWrapper {
|
|
154
|
+
max-width: 100%;
|
|
155
|
+
text-align: center;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** tooltip */
|
|
159
|
+
.leafContentTooltipAnchor {
|
|
160
|
+
width: 100%;
|
|
161
|
+
height: 100%;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.tooltip {
|
|
165
|
+
z-index: var(--layer-xxhigh);
|
|
166
|
+
padding: var(--space-xsmall) var(--space-small);
|
|
167
|
+
border-radius: var(--radius-medium);
|
|
168
|
+
width: calc(100vw - 2 * var(--space-small));
|
|
169
|
+
max-width: 340px;
|
|
170
|
+
outline: none;
|
|
171
|
+
filter: drop-shadow(var(--shadow-layer-high));
|
|
172
|
+
will-change: filter;
|
|
173
|
+
background: var(--color-light);
|
|
174
|
+
font-size: var(--size-small);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.leafTooltipArrow svg {
|
|
178
|
+
display: block;
|
|
179
|
+
fill: var(--color-background) !important;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.leafTooltipContentTitle {
|
|
183
|
+
font-size: var(--size-medium);
|
|
184
|
+
}
|
package/lib/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SORT = exports.METRICS_WEBPACK_PACKAGES = exports.METRICS_WEBPACK_MODULES = exports.METRICS_WEBPACK_ASSETS = exports.METRICS_WEBPACK_GENERAL = exports.ASSETS_SIZES_FILE_TYPE_MAP = exports.SECTION_URLS = exports.URLS = void 0;
|
|
3
|
+
exports.MetricsDisplayType = exports.SORT = exports.METRICS_WEBPACK_PACKAGES = exports.METRICS_WEBPACK_MODULES = exports.METRICS_WEBPACK_ASSETS = exports.METRICS_WEBPACK_GENERAL = exports.ASSETS_SIZES_FILE_TYPE_MAP = exports.SECTION_URLS = exports.URLS = void 0;
|
|
4
4
|
const utils_1 = require("@bundle-stats/utils");
|
|
5
5
|
exports.URLS = {
|
|
6
6
|
OVERVIEW: '/',
|
|
@@ -35,4 +35,9 @@ exports.SORT = {
|
|
|
35
35
|
ASC: 'asc',
|
|
36
36
|
DESC: 'desc',
|
|
37
37
|
};
|
|
38
|
+
var MetricsDisplayType;
|
|
39
|
+
(function (MetricsDisplayType) {
|
|
40
|
+
MetricsDisplayType["TABLE"] = "table";
|
|
41
|
+
MetricsDisplayType["TREEMAP"] = "treemap";
|
|
42
|
+
})(MetricsDisplayType || (exports.MetricsDisplayType = MetricsDisplayType = {}));
|
|
38
43
|
//# sourceMappingURL=constants.js.map
|
package/lib/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA,+CAA2D;AAE9C,QAAA,IAAI,GAAG;IAClB,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,CAAC,gBAAQ,CAAC,MAAM,CAAC,EAAE,YAAI,CAAC,QAAQ;IAChC,CAAC,gBAAQ,CAAC,MAAM,CAAC,EAAE,YAAI,CAAC,MAAM;IAC9B,CAAC,gBAAQ,CAAC,OAAO,CAAC,EAAE,YAAI,CAAC,OAAO;IAChC,CAAC,gBAAQ,CAAC,QAAQ,CAAC,EAAE,YAAI,CAAC,QAAQ;CACnC,CAAC;AAEW,QAAA,0BAA0B,GAAG,kBAAU,CAAC,MAAM,CACzD,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IAClB,GAAG,GAAG;IACN,CAAC,gCAAgC,QAAQ,EAAE,CAAC,EAAE,QAAQ;CACvD,CAAC,EACF,EAAE,CACH,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,4BAA4B;IAC5B,4BAA4B;IAC5B,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC;AACW,QAAA,sBAAsB,GAAG,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC;AACtE,QAAA,uBAAuB,GAAG;IACrC,qBAAqB;IACrB,+BAA+B;IAC/B,uBAAuB;CACxB,CAAC;AACW,QAAA,wBAAwB,GAAG,CAAC,sBAAsB,EAAE,gCAAgC,CAAC,CAAC;AAEtF,QAAA,IAAI,GAAG;IAClB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useEntryInfo = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
function useEntryInfo(params) {
|
|
6
|
+
const { setState } = params;
|
|
7
|
+
const hideEntryInfo = (0, react_1.useCallback)(() => setState({ entryId: '' }), [setState]);
|
|
8
|
+
const showEntryInfo = (0, react_1.useCallback)((entryId) => setState({ entryId }), [setState]);
|
|
9
|
+
return [hideEntryInfo, showEntryInfo];
|
|
10
|
+
}
|
|
11
|
+
exports.useEntryInfo = useEntryInfo;
|
|
12
|
+
//# sourceMappingURL=entry-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-info.js","sourceRoot":"","sources":["../../src/hooks/entry-info.ts"],"names":[],"mappings":";;;AAAA,iCAAoC;AAWpC,SAAgB,YAAY,CAAC,MAA0B;IACrD,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;IAE5B,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/E,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,CAAC,OAAe,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE1F,OAAO,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;AACxC,CAAC;AAPD,oCAOC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useMetricsDisplayType = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const react_use_1 = require("react-use");
|
|
6
|
+
const use_query_params_1 = require("use-query-params");
|
|
7
|
+
const constants_1 = require("../constants");
|
|
8
|
+
const DEFAULT_DISPLAY_TYPE = constants_1.MetricsDisplayType.TABLE;
|
|
9
|
+
const PARAM_NAME = 'dt';
|
|
10
|
+
const useMetricsDisplayType = () => {
|
|
11
|
+
const [{ [PARAM_NAME]: queryDisplayType }, setQueryParams] = (0, use_query_params_1.useQueryParams)({
|
|
12
|
+
[PARAM_NAME]: use_query_params_1.StringParam,
|
|
13
|
+
});
|
|
14
|
+
const [storageDisplayType, setStoreageDisplayType] = (0, react_use_1.useLocalStorage)(PARAM_NAME, constants_1.MetricsDisplayType.TABLE);
|
|
15
|
+
const displayType = (0, react_1.useMemo)(() => {
|
|
16
|
+
const value = queryDisplayType || storageDisplayType;
|
|
17
|
+
if (!value) {
|
|
18
|
+
return DEFAULT_DISPLAY_TYPE;
|
|
19
|
+
}
|
|
20
|
+
if (!Object.values(constants_1.MetricsDisplayType).includes(value)) {
|
|
21
|
+
return DEFAULT_DISPLAY_TYPE;
|
|
22
|
+
}
|
|
23
|
+
return value;
|
|
24
|
+
}, [queryDisplayType, storageDisplayType]);
|
|
25
|
+
(0, react_1.useEffect)(() => {
|
|
26
|
+
if (queryDisplayType !== displayType) {
|
|
27
|
+
setQueryParams({ [PARAM_NAME]: displayType });
|
|
28
|
+
}
|
|
29
|
+
if (storageDisplayType !== displayType) {
|
|
30
|
+
setStoreageDisplayType(queryDisplayType);
|
|
31
|
+
}
|
|
32
|
+
}, [displayType, queryDisplayType, storageDisplayType, setQueryParams, setStoreageDisplayType]);
|
|
33
|
+
const setDisplayType = (0, react_1.useCallback)((value) => {
|
|
34
|
+
setStoreageDisplayType(value);
|
|
35
|
+
setQueryParams({ [PARAM_NAME]: value });
|
|
36
|
+
}, [setStoreageDisplayType, setQueryParams]);
|
|
37
|
+
return [displayType, setDisplayType];
|
|
38
|
+
};
|
|
39
|
+
exports.useMetricsDisplayType = useMetricsDisplayType;
|
|
40
|
+
//# sourceMappingURL=metrics-display-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics-display-type.js","sourceRoot":"","sources":["../../src/hooks/metrics-display-type.ts"],"names":[],"mappings":";;;AAAA,iCAAwD;AACxD,yCAA4C;AAC5C,uDAA+D;AAE/D,4CAAkD;AAElD,MAAM,oBAAoB,GAAG,8BAAkB,CAAC,KAAK,CAAC;AACtD,MAAM,UAAU,GAAG,IAAI,CAAC;AAIjB,MAAM,qBAAqB,GAAG,GAA0B,EAAE;IAC/D,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,gBAAgB,EAAE,EAAE,cAAc,CAAC,GAAG,IAAA,iCAAc,EAAC;QAC1E,CAAC,UAAU,CAAC,EAAE,8BAAW;KAC1B,CAAC,CAAC;IACH,MAAM,CAAC,kBAA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) => {
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
setQueryState({ [componentName]: newState });
|
|
48
|
-
}, [componentState]);
|
|
48
|
+
}, [componentState, setQueryState]);
|
|
49
49
|
return [componentState, setState];
|
|
50
50
|
};
|
|
51
51
|
exports.useComponentQueryState = useComponentQueryState;
|
package/lib/query-state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-state.js","sourceRoot":"","sources":["../src/query-state.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA2C;AAC3C,6DAAqC;AACrC,uDAAsE;AACtE,6EAA+E;AAC/E,+CAA2D;AAMpD,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACpE,8BAAC,qCAAkB,IAAC,OAAO,EAAE,oCAAmB,KAAM,KAAK,GAAI,CAChE,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEK,MAAM,sBAAsB,GAAG,CAAC,aAAqB,EAAE,EAAE;IAC9D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,iCAAc,EAAC;QACjD,CAAC,aAAa,CAAC,EAAE,4BAAoB,CAAC,aAAa,CAAC;KACrD,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,OAAgC,EAAE,EAAE;QACnC,MAAM,QAAQ,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,OAAO,EAAE,CAAC;QAGnD,IAAI,IAAA,iBAAO,EAAC,cAAc,EAAE,QAAQ,CAAC,EAAE;YACrC,OAAO;SACR;QAED,aAAa,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC,EACD,CAAC,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"query-state.js","sourceRoot":"","sources":["../src/query-state.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA2C;AAC3C,6DAAqC;AACrC,uDAAsE;AACtE,6EAA+E;AAC/E,+CAA2D;AAMpD,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACpE,8BAAC,qCAAkB,IAAC,OAAO,EAAE,oCAAmB,KAAM,KAAK,GAAI,CAChE,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEK,MAAM,sBAAsB,GAAG,CAAC,aAAqB,EAAE,EAAE;IAC9D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,iCAAc,EAAC;QACjD,CAAC,aAAa,CAAC,EAAE,4BAAoB,CAAC,aAAa,CAAC;KACrD,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAEjD,MAAM,QAAQ,GAAG,IAAA,mBAAW,EAC1B,CAAC,OAAgC,EAAE,EAAE;QACnC,MAAM,QAAQ,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,OAAO,EAAE,CAAC;QAGnD,IAAI,IAAA,iBAAO,EAAC,cAAc,EAAE,QAAQ,CAAC,EAAE;YACrC,OAAO;SACR;QAED,aAAa,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC,EACD,CAAC,cAAc,EAAE,aAAa,CAAC,CAChC,CAAC;IAEF,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AACpC,CAAC,CAAC;AAtBW,QAAA,sBAAsB,0BAsBjC"}
|
package/lib/ui/icon/icon.js
CHANGED
package/lib/ui/icon/icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/ui/icon/icon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4DAA4B;AAE5B,wEAAoC;AAEpC,MAAM,KAAK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,CAAC,CAAC,KAAM,SAAS;QACrE,uCAAK,SAAS,EAAE,yBAAG,CAAC,IAAI;YACtB,uCAAK,SAAS,EAAE,IAAI,KAAK,EAAE,GAAI,CAC3B,CACI,CACb,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,IAAI,QAUf;AAEF,YAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AAEnB,YAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;AAC7B,YAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;AAC/B,YAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;AAC7B,YAAI,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC"}
|
package/lib/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Tooltip = exports.Tag = exports.Tabs = exports.Table = exports.Skeleton = exports.Loader = exports.InputSearch = exports.Input = exports.Icon = exports.HoverCard = exports.
|
|
3
|
+
exports.Tooltip = exports.Tag = exports.Tabs = exports.Table = exports.Skeleton = exports.Loader = exports.InputSearch = exports.Input = exports.Icon = exports.HoverCard = exports.Filters = exports.FileName = exports.EmptySet = exports.Dropdown = exports.ControlGroup = exports.Container = exports.Button = exports.Alert = void 0;
|
|
4
4
|
var alert_1 = require("./alert");
|
|
5
5
|
Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return alert_1.Alert; } });
|
|
6
6
|
var button_1 = require("./button");
|
|
@@ -17,8 +17,6 @@ var file_name_1 = require("./file-name");
|
|
|
17
17
|
Object.defineProperty(exports, "FileName", { enumerable: true, get: function () { return file_name_1.FileName; } });
|
|
18
18
|
var filters_1 = require("./filters");
|
|
19
19
|
Object.defineProperty(exports, "Filters", { enumerable: true, get: function () { return filters_1.Filters; } });
|
|
20
|
-
var horizontal_bar_chart_1 = require("./horizontal-bar-chart");
|
|
21
|
-
Object.defineProperty(exports, "HorizontalBarChart", { enumerable: true, get: function () { return horizontal_bar_chart_1.HorizontalBarChart; } });
|
|
22
20
|
var hover_card_1 = require("./hover-card");
|
|
23
21
|
Object.defineProperty(exports, "HoverCard", { enumerable: true, get: function () { return hover_card_1.HoverCard; } });
|
|
24
22
|
var icon_1 = require("./icon");
|
package/lib/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.js"],"names":[],"mappings":";;;AAAA,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.js"],"names":[],"mappings":";;;AAAA,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
package/lib-esm/app/app.js
CHANGED
|
@@ -5,14 +5,12 @@ import { HashRouter, NavLink, Route, Switch, useLocation } from 'react-router-do
|
|
|
5
5
|
import { COMPONENT } from '@bundle-stats/utils';
|
|
6
6
|
import { URLS } from '../constants';
|
|
7
7
|
import { BundleAssets } from '../components/bundle-assets';
|
|
8
|
-
import {
|
|
9
|
-
import { BundleAssetsTotalsTable } from '../components/bundle-assets-totals-table';
|
|
8
|
+
import { BundleAssetsTotals } from '../components/bundle-assets-totals';
|
|
10
9
|
import { BundleModules } from '../components/bundle-modules';
|
|
11
10
|
import { BundlePackages } from '../components/bundle-packages';
|
|
12
11
|
import { Insights } from '../components/insights';
|
|
13
12
|
import { MetricsTableTitle } from '../components';
|
|
14
13
|
import { Summary } from '../components/summary';
|
|
15
|
-
import { TotalSizeTypeTitle } from '../components/total-size-type-title';
|
|
16
14
|
import { Box } from '../layout/box';
|
|
17
15
|
import { Footer } from '../layout/footer';
|
|
18
16
|
import { Stack } from '../layout/stack';
|
|
@@ -75,10 +73,8 @@ const OverviewContent = () => {
|
|
|
75
73
|
React.createElement(Box, { padding: "small", outline: true },
|
|
76
74
|
React.createElement(Insights, { insights: insightsByName }))))),
|
|
77
75
|
React.createElement(Container, null,
|
|
78
|
-
React.createElement(
|
|
79
|
-
React.createElement(
|
|
80
|
-
React.createElement(BundleAssetsTotalsChartBars, { jobs: jobs }),
|
|
81
|
-
React.createElement(BundleAssetsTotalsTable, { jobs: jobs, outline: true })))));
|
|
76
|
+
React.createElement(Box, { outline: true },
|
|
77
|
+
React.createElement(BundleAssetsTotals, { jobs: jobs })))));
|
|
82
78
|
};
|
|
83
79
|
const AssetsContent = () => {
|
|
84
80
|
const [bundleStatsState, bundleStatsSetState] = useComponentQueryState(COMPONENT.BUNDLE_ASSETS);
|
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,OAAO,MAAM,gBAAgB,CAAC;AACrC,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,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,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,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OA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AE,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,cAAc,GAAI;oBAC9D,oBAAC,KAAK,IAAC,KAAK,QAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,eAAe,GAAI;oBAChE,oBAAC,KAAK,IAAC,KAAK,QAAC,IAAI,EAAE,IAAI,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,SAAS,CAAC,OAAO,CACrB,SAAS,CAAC,KAAK,CAAC;QACd,mBAAmB,EAAE,SAAS,CAAC,MAAM;QACrC,QAAQ,EAAE,SAAS,CAAC,MAAM;QAC1B,OAAO,EAAE,SAAS,CAAC,MAAM;KAC1B,CAAC,CACH;IACD,OAAO,EAAE,SAAS,CAAC,MAAM;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAC5B,oBAAC,UAAU;IACT,oBAAC,WAAW,OAAG;IACf,oBAAC,kBAAkB;QACjB,oBAAC,YAAY,OAAK,KAAK,GAAI,CACR,CACV,CACd,CAAC"}
|
package/lib-esm/assets/icons.svg
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
<svg width="0" height="0" style="position:absolute">
|
|
2
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="arrow" xmlns="http://www.w3.org/2000/svg">
|
|
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>
|
|
5
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="arrow-right-circle" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle" viewBox="0 0 24 24" id="arrow-right-circle" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<circle cx="12" cy="12" r="10"/>
|
|
7
|
-
<path d="
|
|
7
|
+
<path d="m12 16 4-4-4-4M8 12h8"/>
|
|
8
8
|
</symbol>
|
|
9
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="chevron-down" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
-
<path d="
|
|
9
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down" viewBox="0 0 24 24" id="chevron-down" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
+
<path d="m6 9 6 6 6-6"/>
|
|
11
11
|
</symbol>
|
|
12
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="chevron-up" xmlns="http://www.w3.org/2000/svg">
|
|
13
|
-
<path d="
|
|
12
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-up" viewBox="0 0 24 24" id="chevron-up" xmlns="http://www.w3.org/2000/svg">
|
|
13
|
+
<path d="m18 15-6-6-6 6"/>
|
|
14
14
|
</symbol>
|
|
15
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="clock" xmlns="http://www.w3.org/2000/svg">
|
|
15
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock" id="clock" xmlns="http://www.w3.org/2000/svg">
|
|
16
16
|
<circle cx="12" cy="12" r="10"/>
|
|
17
17
|
<path d="M12 6v6l4 2"/>
|
|
18
18
|
</symbol>
|
|
19
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="close" xmlns="http://www.w3.org/2000/svg">
|
|
19
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle" viewBox="0 0 24 24" id="close" xmlns="http://www.w3.org/2000/svg">
|
|
20
20
|
<circle cx="12" cy="12" r="10"/>
|
|
21
|
-
<path d="
|
|
21
|
+
<path d="m15 9-6 6M9 9l6 6"/>
|
|
22
22
|
</symbol>
|
|
23
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="commit" xmlns="http://www.w3.org/2000/svg">
|
|
23
|
+
<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">
|
|
24
24
|
<circle cx="12" cy="12" r="4"/>
|
|
25
25
|
<path d="M1.05 12H7M17.01 12h5.95"/>
|
|
26
26
|
</symbol>
|
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
<circle cx="12" cy="12" r="10"/>
|
|
29
29
|
<path d="M12 8v4M12 16h.01"/>
|
|
30
30
|
</symbol>
|
|
31
|
-
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="external-link" xmlns="http://www.w3.org/2000/svg">
|
|
32
|
-
<path d="M18 13v6a2 2 0
|
|
31
|
+
<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">
|
|
32
|
+
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3"/>
|
|
33
33
|
</symbol>
|
|
34
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="filter" xmlns="http://www.w3.org/2000/svg">
|
|
34
|
+
<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">
|
|
35
35
|
<path d="M12 20V10M18 20V4M6 20v-4"/>
|
|
36
36
|
</symbol>
|
|
37
37
|
<symbol viewBox="0 0 98 96" id="github" xmlns="http://www.w3.org/2000/svg">
|
|
38
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0
|
|
38
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z" fill="currentColor"/>
|
|
39
39
|
</symbol>
|
|
40
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="help" xmlns="http://www.w3.org/2000/svg">
|
|
40
|
+
<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">
|
|
41
41
|
<circle cx="12" cy="12" r="10"/>
|
|
42
|
-
<path d="M9.09 9a3 3 0
|
|
42
|
+
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01"/>
|
|
43
43
|
</symbol>
|
|
44
44
|
<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">
|
|
45
45
|
<circle cx="12" cy="12" r="10"/>
|
|
46
46
|
<path d="M12 16v-4M12 8h.01"/>
|
|
47
47
|
</symbol>
|
|
48
|
-
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="menu" xmlns="http://www.w3.org/2000/svg">
|
|
48
|
+
<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">
|
|
49
49
|
<path d="M3 12h18M3 6h18M3 18h18"/>
|
|
50
50
|
</symbol>
|
|
51
51
|
<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">
|
|
@@ -57,7 +57,13 @@
|
|
|
57
57
|
<path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"/>
|
|
58
58
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
59
59
|
</symbol>
|
|
60
|
-
<symbol
|
|
61
|
-
<path d="
|
|
60
|
+
<symbol fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" id="table" xmlns="http://www.w3.org/2000/svg">
|
|
61
|
+
<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"/>
|
|
62
|
+
</symbol>
|
|
63
|
+
<symbol fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" id="treemap" xmlns="http://www.w3.org/2000/svg">
|
|
64
|
+
<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 21h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9M12.025 3.422 12 20.652ZM12.85 9l7.347.025zm-.153 6 7.576.025zm4.334.764L17 20.326Z"/>
|
|
65
|
+
</symbol>
|
|
66
|
+
<symbol viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle" id="warning" xmlns="http://www.w3.org/2000/svg">
|
|
67
|
+
<path d="M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4M12 17h.01"/>
|
|
62
68
|
</symbol>
|
|
63
69
|
</svg>
|
|
@@ -1,47 +1,51 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export const SvgIcons = (props) => (React.createElement("svg", { width: "0", height: "0", style: { position: 'absolute' }, ...props },
|
|
3
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
3
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-arrow-down", id: "arrow", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
4
|
React.createElement("path", { d: "M12 5v14M19 12l-7 7-7-7" })),
|
|
5
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
5
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-arrow-right-circle", viewBox: "0 0 24 24", id: "arrow-right-circle", xmlns: "http://www.w3.org/2000/svg" },
|
|
6
6
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
7
|
-
React.createElement("path", { d: "
|
|
8
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
9
|
-
React.createElement("path", { d: "
|
|
10
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
11
|
-
React.createElement("path", { d: "
|
|
12
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
7
|
+
React.createElement("path", { d: "m12 16 4-4-4-4M8 12h8" })),
|
|
8
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "lucide lucide-chevron-down", viewBox: "0 0 24 24", id: "chevron-down", xmlns: "http://www.w3.org/2000/svg" },
|
|
9
|
+
React.createElement("path", { d: "m6 9 6 6 6-6" })),
|
|
10
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "lucide lucide-chevron-up", viewBox: "0 0 24 24", id: "chevron-up", xmlns: "http://www.w3.org/2000/svg" },
|
|
11
|
+
React.createElement("path", { d: "m18 15-6-6-6 6" })),
|
|
12
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-clock", id: "clock", xmlns: "http://www.w3.org/2000/svg" },
|
|
13
13
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
14
14
|
React.createElement("path", { d: "M12 6v6l4 2" })),
|
|
15
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
15
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-x-circle", viewBox: "0 0 24 24", id: "close", xmlns: "http://www.w3.org/2000/svg" },
|
|
16
16
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
17
|
-
React.createElement("path", { d: "
|
|
18
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
17
|
+
React.createElement("path", { d: "m15 9-6 6M9 9l6 6" })),
|
|
18
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-git-commit", id: "commit", xmlns: "http://www.w3.org/2000/svg" },
|
|
19
19
|
React.createElement("circle", { cx: "12", cy: "12", r: "4" }),
|
|
20
20
|
React.createElement("path", { d: "M1.05 12H7M17.01 12h5.95" })),
|
|
21
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
21
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", viewBox: "0 0 24 24", id: "error", xmlns: "http://www.w3.org/2000/svg" },
|
|
22
22
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
23
23
|
React.createElement("path", { d: "M12 8v4M12 16h.01" })),
|
|
24
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
25
|
-
React.createElement("path", { d: "M18 13v6a2 2 0
|
|
26
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
24
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-external-link", viewBox: "0 0 24 24", id: "external-link", xmlns: "http://www.w3.org/2000/svg" },
|
|
25
|
+
React.createElement("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3" })),
|
|
26
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-bar-chart", id: "filter", xmlns: "http://www.w3.org/2000/svg" },
|
|
27
27
|
React.createElement("path", { d: "M12 20V10M18 20V4M6 20v-4" })),
|
|
28
28
|
React.createElement("symbol", { viewBox: "0 0 98 96", id: "github", xmlns: "http://www.w3.org/2000/svg" },
|
|
29
|
-
React.createElement("path", {
|
|
30
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
29
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z", fill: "currentColor" })),
|
|
30
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-help-circle", id: "help", xmlns: "http://www.w3.org/2000/svg" },
|
|
31
31
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
32
|
-
React.createElement("path", { d: "M9.09 9a3 3 0
|
|
33
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
32
|
+
React.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3M12 17h.01" })),
|
|
33
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", viewBox: "0 0 24 24", id: "info", xmlns: "http://www.w3.org/2000/svg" },
|
|
34
34
|
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
35
35
|
React.createElement("path", { d: "M12 16v-4M12 8h.01" })),
|
|
36
|
-
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor",
|
|
36
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-menu", id: "menu", xmlns: "http://www.w3.org/2000/svg" },
|
|
37
37
|
React.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })),
|
|
38
|
-
React.createElement("symbol", { fill: "none", stroke: "currentColor",
|
|
38
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", viewBox: "0 0 24 24", id: "more-vertical", xmlns: "http://www.w3.org/2000/svg" },
|
|
39
39
|
React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
|
|
40
40
|
React.createElement("circle", { cx: "12", cy: "5", r: "1" }),
|
|
41
41
|
React.createElement("circle", { cx: "12", cy: "19", r: "1" })),
|
|
42
42
|
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "currentColor", id: "sort", xmlns: "http://www.w3.org/2000/svg" },
|
|
43
43
|
React.createElement("path", { d: "M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z" }),
|
|
44
44
|
React.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })),
|
|
45
|
-
React.createElement("symbol", {
|
|
46
|
-
React.createElement("path", { d: "
|
|
45
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", viewBox: "0 0 24 24", id: "table", xmlns: "http://www.w3.org/2000/svg" },
|
|
46
|
+
React.createElement("path", { d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18" })),
|
|
47
|
+
React.createElement("symbol", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", viewBox: "0 0 24 24", id: "treemap", xmlns: "http://www.w3.org/2000/svg" },
|
|
48
|
+
React.createElement("path", { d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 21h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9M12.025 3.422 12 20.652ZM12.85 9l7.347.025zm-.153 6 7.576.025zm4.334.764L17 20.326Z" })),
|
|
49
|
+
React.createElement("symbol", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-alert-triangle", id: "warning", xmlns: "http://www.w3.org/2000/svg" },
|
|
50
|
+
React.createElement("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0zM12 9v4M12 17h.01" }))));
|
|
47
51
|
//# sourceMappingURL=icons.svg.js.map
|