@galaxy-io/dls 1.5.6 → 1.5.7
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.
|
@@ -374,21 +374,21 @@ var ChartLegendOverflowList = /*#__PURE__*/ styled("div")({
|
|
|
374
374
|
* series to the next. Trailing only, so the first entry stays flush with the
|
|
375
375
|
* plot's left edge (or the column's top).
|
|
376
376
|
*/
|
|
377
|
-
var
|
|
377
|
+
var _exp46 = () => ({ $vertical }) => $vertical ? `0 0 8px 0` : `0 16px 0 0`;
|
|
378
378
|
var ChartLegendItemButton = /*#__PURE__*/ styled("button")({
|
|
379
379
|
name: "ChartLegendItemButton",
|
|
380
380
|
class: "ccpczg",
|
|
381
381
|
propsAsIs: false,
|
|
382
|
-
vars: { "ccpczg-0": [
|
|
382
|
+
vars: { "ccpczg-0": [_exp46()] }
|
|
383
383
|
});
|
|
384
384
|
/** The same row, when the legend is inert — no button semantics to announce.
|
|
385
385
|
* Carries the same trailing padding; see {@link ChartLegendItemButton}. */
|
|
386
|
-
var
|
|
386
|
+
var _exp48 = () => ({ $vertical }) => $vertical ? `0 0 8px 0` : `0 16px 0 0`;
|
|
387
387
|
var ChartLegendItemStatic = /*#__PURE__*/ styled("div")({
|
|
388
388
|
name: "ChartLegendItemStatic",
|
|
389
389
|
class: "c2re25h",
|
|
390
390
|
propsAsIs: false,
|
|
391
|
-
vars: { "c2re25h-0": [
|
|
391
|
+
vars: { "c2re25h-0": [_exp48()] }
|
|
392
392
|
});
|
|
393
393
|
//#endregion
|
|
394
394
|
export { ChartArcPath, ChartAreaPath, ChartAxisLabelBox, ChartBarPath, ChartCenterBox, ChartCursorBand, ChartCursorLine, ChartEmptyOverlay, ChartGridLine, ChartHitTarget, ChartHitTargetPath, ChartLegendItemButton, ChartLegendItemStatic, ChartLegendMeasure, ChartLegendMeasureClip, ChartLegendOverflowList, ChartLegendRow, ChartLinePath, ChartPlotBox, ChartPointCircle, ChartRoot, ChartSvg, ChartTooltipGrid, ChartTooltipLabelCell, ChartTooltipPositioner, ChartTooltipValueCell };
|
|
@@ -192,7 +192,7 @@ export declare const CHART_MARK_OPACITY_DIMMED = 0.4;
|
|
|
192
192
|
/** Distance in px between the tooltip and its anchor. */
|
|
193
193
|
export declare const CHART_TOOLTIP_OFFSET = 10;
|
|
194
194
|
/** Minimum width of the tooltip, in px. */
|
|
195
|
-
export declare const CHART_TOOLTIP_MIN_WIDTH =
|
|
195
|
+
export declare const CHART_TOOLTIP_MIN_WIDTH = 200;
|
|
196
196
|
/** Maximum width of the tooltip, in px. */
|
|
197
197
|
export declare const CHART_TOOLTIP_MAX_WIDTH = 320;
|
|
198
198
|
/** Gap in px between the plot box and a side-placed legend. */
|
|
@@ -218,6 +218,12 @@ export declare const CHART_LEGEND_VERTICAL_GAP = 8;
|
|
|
218
218
|
* the caller's `legendMaxItems`; this one only bounds the overflow list itself.
|
|
219
219
|
*/
|
|
220
220
|
export declare const CHART_LEGEND_OVERFLOW_MAX_HEIGHT = 208;
|
|
221
|
+
/**
|
|
222
|
+
* Floor on the collapsed-legend popover's width, in px, measured as the full
|
|
223
|
+
* popover box — the list inside subtracts the Tooltip's 8px inset per side.
|
|
224
|
+
* Without one, a couple of short labels shrink-wrap into a scrunched box.
|
|
225
|
+
*/
|
|
226
|
+
export declare const CHART_LEGEND_OVERFLOW_MIN_WIDTH = 160;
|
|
221
227
|
/**
|
|
222
228
|
* Approximate width of one CAPTION-size character.
|
|
223
229
|
*
|
package/dist/charts/constants.js
CHANGED
|
@@ -202,7 +202,7 @@ var CHART_MARK_OPACITY_DIMMED = .4;
|
|
|
202
202
|
/** Distance in px between the tooltip and its anchor. */
|
|
203
203
|
var CHART_TOOLTIP_OFFSET = 10;
|
|
204
204
|
/** Minimum width of the tooltip, in px. */
|
|
205
|
-
var CHART_TOOLTIP_MIN_WIDTH =
|
|
205
|
+
var CHART_TOOLTIP_MIN_WIDTH = 200;
|
|
206
206
|
/** Maximum width of the tooltip, in px. */
|
|
207
207
|
var CHART_TOOLTIP_MAX_WIDTH = 320;
|
|
208
208
|
/** Gap in px between the plot box and a side-placed legend. */
|
|
@@ -229,6 +229,12 @@ var CHART_LEGEND_VERTICAL_GAP = 8;
|
|
|
229
229
|
*/
|
|
230
230
|
var CHART_LEGEND_OVERFLOW_MAX_HEIGHT = 208;
|
|
231
231
|
/**
|
|
232
|
+
* Floor on the collapsed-legend popover's width, in px, measured as the full
|
|
233
|
+
* popover box — the list inside subtracts the Tooltip's 8px inset per side.
|
|
234
|
+
* Without one, a couple of short labels shrink-wrap into a scrunched box.
|
|
235
|
+
*/
|
|
236
|
+
var CHART_LEGEND_OVERFLOW_MIN_WIDTH = 160;
|
|
237
|
+
/**
|
|
232
238
|
* Approximate width of one CAPTION-size character.
|
|
233
239
|
*
|
|
234
240
|
* Axis sizing estimates label widths arithmetically rather than measuring the
|
|
@@ -276,4 +282,4 @@ var CHART_PALETTE_ORDER = [
|
|
|
276
282
|
ChartPalette.RED
|
|
277
283
|
];
|
|
278
284
|
//#endregion
|
|
279
|
-
export { AGGREGATED_SLICE_KEY, AUTO_MARGIN_LEFT_STEP, AXIS_TITLE_BAND, AXIS_TITLE_GAP, BAR_GAP_COMFORTABLE, BAR_GAP_MEDIUM, BAR_GAP_TIGHT, BAR_RADIUS, BAR_RADIUS_NARROW, BAR_WIDTH_RATIO, CAPTION_CHAR_WIDTH_PX, CATEGORY_AXIS_LABEL_GAP, CATEGORY_AXIS_LABEL_HEIGHT, CHART_LEGEND_COLUMN_GAP, CHART_LEGEND_OVERFLOW_MAX_HEIGHT, CHART_LEGEND_SIDE_GAP, CHART_LEGEND_VERTICAL_GAP, CHART_MARK_OPACITY_ACTIVE, CHART_MARK_OPACITY_DIMMED, CHART_MARK_OPACITY_MUTED, CHART_PALETTE_ORDER, CHART_TOOLTIP_MAX_WIDTH, CHART_TOOLTIP_MIN_WIDTH, CHART_TOOLTIP_OFFSET, CHART_TRANSITION_MS, DEFAULT_CHART_MARGIN, DEFAULT_LINE_STROKE_WIDTH, DEFAULT_VALUE_TICK_COUNT, GRID_LINE_BLEED, GROUP_GAP_COMFORTABLE, GROUP_GAP_MEDIUM, GROUP_GAP_TIGHT, LINE_AREA_OPACITY, LINE_POINT_RADIUS, MAX_AUTO_MARGIN_LEFT, MAX_BAR_WIDTH, MAX_GAP_SHARE, MIN_AUTO_MARGIN_LEFT, MIN_BARS_FOR_TIGHT_SPACING, MIN_BAR_LENGTH, MIN_CATEGORY_LABEL_GAP, NARROW_BAR_WIDTH, PIE_CHART_MARGIN, PIE_CORNER_RADIUS, PIE_DONUT_INNER_RATIO, PIE_MAX_AUTO_INNER_RATIO, PIE_MAX_INSET_SHARE, PIE_MIN_SLICE_SHARE, PIE_PAD_ANGLE, PIE_TOOLTIP_ANCHOR_INSET, STACK_SEGMENT_GAP, VALUE_AXIS_LABEL_HEIGHT, VALUE_AXIS_TICK_GAP, WIDTH_FOR_MEDIUM_SPACING, WIDTH_FOR_TIGHT_SPACING };
|
|
285
|
+
export { AGGREGATED_SLICE_KEY, AUTO_MARGIN_LEFT_STEP, AXIS_TITLE_BAND, AXIS_TITLE_GAP, BAR_GAP_COMFORTABLE, BAR_GAP_MEDIUM, BAR_GAP_TIGHT, BAR_RADIUS, BAR_RADIUS_NARROW, BAR_WIDTH_RATIO, CAPTION_CHAR_WIDTH_PX, CATEGORY_AXIS_LABEL_GAP, CATEGORY_AXIS_LABEL_HEIGHT, CHART_LEGEND_COLUMN_GAP, CHART_LEGEND_OVERFLOW_MAX_HEIGHT, CHART_LEGEND_OVERFLOW_MIN_WIDTH, CHART_LEGEND_SIDE_GAP, CHART_LEGEND_VERTICAL_GAP, CHART_MARK_OPACITY_ACTIVE, CHART_MARK_OPACITY_DIMMED, CHART_MARK_OPACITY_MUTED, CHART_PALETTE_ORDER, CHART_TOOLTIP_MAX_WIDTH, CHART_TOOLTIP_MIN_WIDTH, CHART_TOOLTIP_OFFSET, CHART_TRANSITION_MS, DEFAULT_CHART_MARGIN, DEFAULT_LINE_STROKE_WIDTH, DEFAULT_VALUE_TICK_COUNT, GRID_LINE_BLEED, GROUP_GAP_COMFORTABLE, GROUP_GAP_MEDIUM, GROUP_GAP_TIGHT, LINE_AREA_OPACITY, LINE_POINT_RADIUS, MAX_AUTO_MARGIN_LEFT, MAX_BAR_WIDTH, MAX_GAP_SHARE, MIN_AUTO_MARGIN_LEFT, MIN_BARS_FOR_TIGHT_SPACING, MIN_BAR_LENGTH, MIN_CATEGORY_LABEL_GAP, NARROW_BAR_WIDTH, PIE_CHART_MARGIN, PIE_CORNER_RADIUS, PIE_DONUT_INNER_RATIO, PIE_MAX_AUTO_INNER_RATIO, PIE_MAX_INSET_SHARE, PIE_MIN_SLICE_SHARE, PIE_PAD_ANGLE, PIE_TOOLTIP_ANCHOR_INSET, STACK_SEGMENT_GAP, VALUE_AXIS_LABEL_HEIGHT, VALUE_AXIS_TICK_GAP, WIDTH_FOR_MEDIUM_SPACING, WIDTH_FOR_TIGHT_SPACING };
|
package/dist/styles.css
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
.cblgiyf{stroke:var(--cblgiyf-0);pointer-events:none;}
|
|
36
36
|
.c1lr03cc{fill:var(--c1lr03cc-0);pointer-events:none;}
|
|
37
37
|
.cizy1s8{overflow:visible;pointer-events:none;}
|
|
38
|
-
.c1ukq11d{position:absolute;z-index:10;pointer-events:none;left:var(--c1ukq11d-0);top:var(--c1ukq11d-1);min-width:
|
|
38
|
+
.c1ukq11d{position:absolute;z-index:10;pointer-events:none;left:var(--c1ukq11d-0);top:var(--c1ukq11d-1);min-width:200px;max-width:320px;padding:10px 12px;border:0.5px solid var(--c1ukq11d-2);border-radius:6px;background-color:var(--c1ukq11d-3);opacity:var(--c1ukq11d-4);-webkit-transition:opacity 100ms ease-in-out,left 100ms ease-out,top 100ms ease-out;transition:opacity 100ms ease-in-out,left 100ms ease-out,top 100ms ease-out;}@media (prefers-reduced-motion: reduce){.c1ukq11d{-webkit-transition:none;transition:none;}}
|
|
39
39
|
.cwcko2m{display:-ms-grid;display:grid;-ms-grid-columns:minmax(0, 1fr) auto;grid-template-columns:minmax(0, 1fr) auto;-webkit-column-gap:16px;column-gap:16px;row-gap:6px;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;}
|
|
40
40
|
.cqwhvyz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;min-width:0;}
|
|
41
41
|
.c1iaray{text-align:right;white-space:nowrap;}
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.cjirv6a{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:var(--cjirv6a-0);-ms-flex-direction:var(--cjirv6a-0);flex-direction:var(--cjirv6a-0);-webkit-box-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:var(--cjirv6a-1);-webkit-box-align:var(--cjirv6a-1);-ms-flex-align:var(--cjirv6a-1);align-items:var(--cjirv6a-1);-webkit-box-pack:var(--cjirv6a-2);-ms-flex-pack:var(--cjirv6a-2);-webkit-justify-content:var(--cjirv6a-2);justify-content:var(--cjirv6a-2);width:var(--cjirv6a-3);min-width:var(--cjirv6a-4);height:var(--cjirv6a-5);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding-top:var(--cjirv6a-6);padding-left:var(--cjirv6a-7);}
|
|
45
45
|
.c1armna5{position:absolute;top:0;left:0;width:0;height:0;overflow:hidden;}
|
|
46
46
|
.cgd77rv{position:absolute;visibility:hidden;pointer-events:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:var(--cgd77rv-0);-ms-flex-direction:var(--cgd77rv-0);flex-direction:var(--cgd77rv-0);-webkit-box-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:var(--cgd77rv-1);-webkit-box-align:var(--cgd77rv-1);-ms-flex-align:var(--cgd77rv-1);align-items:var(--cgd77rv-1);width:-webkit-max-content;width:-moz-max-content;width:max-content;height:-webkit-max-content;height:-moz-max-content;height:max-content;white-space:nowrap;}
|
|
47
|
-
.cutidpi{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;max-height:208px;overflow-y:auto;}
|
|
47
|
+
.cutidpi{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;max-height:208px;overflow-y:auto;min-width:144px;}.cutidpi>:last-child{padding-bottom:0;}
|
|
48
48
|
.ccpczg{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:none;border:0;padding:var(--ccpczg-0);margin:0;font:inherit;color:inherit;cursor:default;border-radius:2px;opacity:1;}.ccpczg[data-state="muted"]{opacity:0.1;}.ccpczg[data-state="dimmed"]{opacity:0.4;}.ccpczg:focus-visible{outline:1.5px solid currentColor;outline-offset:2px;}
|
|
49
49
|
.c2re25h{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;padding:var(--c2re25h-0);opacity:1;}.c2re25h[data-state="muted"]{opacity:0.1;}.c2re25h[data-state="dimmed"]{opacity:0.4;}
|
|
50
50
|
.cmbdg2q{width:var(--cmbdg2q-0);height:var(--cmbdg2q-0);border-radius:50%;background-color:var(--cmbdg2q-1);}
|