@rubin-epo/epo-widget-lib 0.9.12 → 0.10.0
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/dist/IsochronePlot.cjs +1 -0
- package/dist/IsochronePlot.d.ts +3 -0
- package/dist/IsochronePlot.js +173 -0
- package/dist/SupernovaThreeVector.cjs +1 -1
- package/dist/SupernovaThreeVector.js +11 -12
- package/dist/atomic/Blinker/Blinker.d.ts +3 -2
- package/dist/atomic/Blinker/Controls/Controls.d.ts +2 -1
- package/dist/atomic/Blinker/Controls/styles.d.ts +168 -168
- package/dist/atomic/Blinker/_mocks/index.d.ts +2 -1
- package/dist/atomic/Blinker/index.d.ts +1 -1
- package/dist/atomic/Blinker/styles.d.ts +341 -341
- package/dist/atomic/Button/index.d.ts +1 -1
- package/dist/atomic/Button/patterns/Reset.cjs +1 -1
- package/dist/atomic/Button/patterns/Reset.d.ts +2 -1
- package/dist/atomic/Button/patterns/Reset.js +11 -12
- package/dist/atomic/ControlLabel/index.cjs +1 -0
- package/dist/atomic/ControlLabel/index.d.ts +9 -0
- package/dist/atomic/ControlLabel/index.js +14 -0
- package/dist/atomic/ElapsedTime/ElapsedTime.d.ts +2 -1
- package/dist/atomic/ElapsedTime/index.d.ts +1 -1
- package/dist/atomic/ElapsedTime/styles.d.ts +1008 -1008
- package/dist/atomic/ImageStack/index.d.ts +3 -2
- package/dist/atomic/LiveRegion/index.d.ts +2 -1
- package/dist/atomic/LiveRegion/styles.d.ts +168 -168
- package/dist/atomic/Loader/index.d.ts +2 -1
- package/dist/atomic/Loader/styles.d.ts +168 -168
- package/dist/atomic/PlaybackControl/PlaybackControl.d.ts +2 -1
- package/dist/atomic/PlaybackControl/index.d.ts +1 -1
- package/dist/atomic/PlaybackControl/styles.d.ts +336 -336
- package/dist/atomic/PlotWrapper/index.cjs +1 -0
- package/dist/atomic/PlotWrapper/index.d.ts +3 -0
- package/dist/atomic/PlotWrapper/index.js +5 -0
- package/dist/atomic/PlotWrapper/styles.cjs +16 -0
- package/dist/atomic/PlotWrapper/styles.d.ts +272 -0
- package/dist/atomic/PlotWrapper/styles.js +22 -0
- package/dist/atomic/index.d.ts +4 -4
- package/dist/charts/Bars/index.d.ts +3 -2
- package/dist/charts/Base/index.d.ts +2 -1
- package/dist/charts/Base/styles.cjs +15 -10
- package/dist/charts/Base/styles.d.ts +1680 -1680
- package/dist/charts/Base/styles.js +21 -15
- package/dist/charts/ClippingContainer/index.d.ts +2 -1
- package/dist/charts/ForeignObject/index.d.ts +2 -1
- package/dist/charts/Guidelines/index.d.ts +2 -1
- package/dist/charts/PathFromPoints/index.cjs +1 -0
- package/dist/charts/PathFromPoints/index.d.ts +10 -0
- package/dist/charts/PathFromPoints/index.js +21 -0
- package/dist/charts/Points/ErrorBar.d.ts +2 -1
- package/dist/charts/Points/index.cjs +1 -1
- package/dist/charts/Points/index.d.ts +5 -3
- package/dist/charts/Points/index.js +28 -23
- package/dist/charts/Readout/index.cjs +1 -0
- package/dist/charts/Readout/index.d.ts +16 -0
- package/dist/charts/Readout/index.js +54 -0
- package/dist/charts/Readout/styles.cjs +13 -0
- package/dist/charts/Readout/styles.d.ts +547 -0
- package/dist/charts/Readout/styles.js +19 -0
- package/dist/charts/ScatterPlot/index.cjs +1 -1
- package/dist/charts/ScatterPlot/index.d.ts +5 -9
- package/dist/charts/ScatterPlot/index.js +82 -73
- package/dist/charts/ScatterPlot/styles.cjs +5 -17
- package/dist/charts/ScatterPlot/styles.d.ts +3 -3
- package/dist/charts/ScatterPlot/styles.js +5 -17
- package/dist/charts/Tooltip/index.d.ts +2 -1
- package/dist/charts/Tooltip/styles.cjs +0 -1
- package/dist/charts/Tooltip/styles.d.ts +339 -339
- package/dist/charts/Tooltip/styles.js +2 -3
- package/dist/charts/Viewport/index.d.ts +2 -1
- package/dist/charts/XAxis/index.d.ts +2 -1
- package/dist/charts/YAxis/index.d.ts +2 -1
- package/dist/charts/canvas/Points/index.cjs +1 -0
- package/dist/charts/canvas/Points/index.d.ts +14 -0
- package/dist/charts/canvas/Points/index.js +44 -0
- package/dist/charts/defaults.cjs +1 -1
- package/dist/charts/defaults.d.ts +14 -3
- package/dist/charts/defaults.js +14 -8
- package/dist/charts/hooks/useAxis.cjs +1 -1
- package/dist/charts/hooks/useAxis.d.ts +1 -0
- package/dist/charts/hooks/useAxis.js +22 -22
- package/dist/charts/index.d.ts +11 -11
- package/dist/charts/styles.cjs +5 -7
- package/dist/charts/styles.d.ts +1008 -1008
- package/dist/charts/styles.js +12 -14
- package/dist/layout/AspectRatio/index.d.ts +2 -1
- package/dist/layout/AspectRatio/styles.cjs +6 -2
- package/dist/layout/AspectRatio/styles.d.ts +174 -168
- package/dist/layout/AspectRatio/styles.js +8 -2
- package/dist/layout/Controls/index.cjs +1 -1
- package/dist/layout/Controls/index.d.ts +5 -1
- package/dist/layout/Controls/index.js +27 -18
- package/dist/layout/Controls/styles.cjs +13 -7
- package/dist/layout/Controls/styles.d.ts +1190 -1176
- package/dist/layout/Controls/styles.js +20 -12
- package/dist/lib/helpers.cjs +1 -0
- package/dist/lib/helpers.d.ts +1 -0
- package/dist/lib/helpers.js +6 -0
- package/dist/lib/utils.cjs +1 -1
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +26 -20
- package/dist/localeStrings/en/epo-widget-lib.json +18 -0
- package/dist/styles/svg.d.ts +168 -168
- package/dist/widgets/CameraFilter/CameraFilter.d.ts +2 -1
- package/dist/widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.d.ts +3 -2
- package/dist/widgets/CameraFilter/CondensedFilterRanges/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/ColorLabels.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/SpectrumLabels.d.ts +3 -2
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/data.d.ts +1 -0
- package/dist/widgets/CameraFilter/index.d.ts +1 -1
- package/dist/widgets/CameraFilter/styles.d.ts +2693 -2693
- package/dist/widgets/ColorTool/Actions/Export/index.d.ts +2 -1
- package/dist/widgets/ColorTool/Actions/index.d.ts +3 -2
- package/dist/widgets/ColorTool/Actions/index.js +9 -9
- package/dist/widgets/ColorTool/ColorTool.d.ts +3 -2
- package/dist/widgets/ColorTool/FilterControls/FilterControls.d.ts +4 -3
- package/dist/widgets/ColorTool/FilterControls/index.d.ts +1 -1
- package/dist/widgets/ColorTool/FilterControls/styles.d.ts +678 -678
- package/dist/widgets/ColorTool/ImageComposite/ImageComposite.d.ts +6 -6
- package/dist/widgets/ColorTool/ImageComposite/index.d.ts +1 -1
- package/dist/widgets/ColorTool/hooks/useFilteredImages.d.ts +3 -2
- package/dist/widgets/ColorTool/index.d.ts +1 -1
- package/dist/widgets/ColorTool/lib/canvas.d.ts +1 -0
- package/dist/widgets/ColorTool/lib/server.d.ts +3 -2
- package/dist/widgets/ColorTool/lib/utils.d.ts +2 -1
- package/dist/widgets/FilterTool/FilterTool.d.ts +2 -1
- package/dist/widgets/FilterTool/index.d.ts +1 -1
- package/dist/widgets/FilterTool/styles.d.ts +1349 -1349
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.cjs +1 -0
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.d.ts +15 -0
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.js +44 -0
- package/dist/widgets/IsochronePlot/Controls/index.cjs +1 -0
- package/dist/widgets/IsochronePlot/Controls/index.d.ts +17 -0
- package/dist/widgets/IsochronePlot/Controls/index.js +44 -0
- package/dist/widgets/IsochronePlot/defaults.cjs +1 -0
- package/dist/widgets/IsochronePlot/defaults.d.ts +20 -0
- package/dist/widgets/IsochronePlot/defaults.js +14 -0
- package/dist/widgets/IsochronePlot/index.d.ts +23 -0
- package/dist/widgets/IsochronePlot/mock.d.ts +3 -0
- package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/Plot/index.d.ts +4 -3
- package/dist/widgets/LightCurvePlot/Plot/index.js +30 -28
- package/dist/widgets/LightCurvePlot/Plot/styles.cjs +3 -34
- package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +336 -624
- package/dist/widgets/LightCurvePlot/Plot/styles.js +4 -40
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +168 -168
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +18 -18
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.cjs +2 -11
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.d.ts +168 -712
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +3 -14
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.d.ts +2 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +127 -119
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.cjs +5 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +505 -1057
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.js +3 -12
- package/dist/widgets/LightCurvePlot/PlotWithoutCurve/index.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/helpers.d.ts +3 -2
- package/dist/widgets/LightCurvePlot/index.d.ts +2 -2
- package/dist/widgets/SourceSelector/Message/Message.d.ts +2 -1
- package/dist/widgets/SourceSelector/Message/index.d.ts +1 -1
- package/dist/widgets/SourceSelector/Message/styles.d.ts +3 -3
- package/dist/widgets/SourceSelector/Point/Point.d.ts +2 -1
- package/dist/widgets/SourceSelector/Point/index.d.ts +1 -1
- package/dist/widgets/SourceSelector/Point/styles.d.ts +168 -168
- package/dist/widgets/SourceSelector/PointSelector/index.d.ts +2 -1
- package/dist/widgets/SourceSelector/SelectionList/index.d.ts +2 -1
- package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +504 -504
- package/dist/widgets/SourceSelector/SourceSelector.d.ts +2 -1
- package/dist/widgets/SourceSelector/index.d.ts +5 -4
- package/dist/widgets/SourceSelector/mocks/index.d.ts +1 -0
- package/dist/widgets/SupernovaThreeVector/Histogram/index.d.ts +2 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.cjs +0 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +168 -168
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.js +0 -1
- package/dist/widgets/SupernovaThreeVector/LiveLabel/index.d.ts +3 -2
- package/dist/widgets/SupernovaThreeVector/Skymap/index.d.ts +3 -2
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +1176 -1176
- package/dist/widgets/SupernovaThreeVector/index.d.ts +4 -3
- package/dist/widgets/SupernovaThreeVector/styles.cjs +6 -17
- package/dist/widgets/SupernovaThreeVector/styles.js +14 -25
- package/package.json +2 -2
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.cjs +0 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.d.ts +0 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/LightCurve/index.js +0 -29
|
@@ -1,121 +1,130 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { Chart as
|
|
12
|
-
import
|
|
13
|
-
|
|
2
|
+
import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { useState as J } from "react";
|
|
4
|
+
import K from "../XAxis/index.js";
|
|
5
|
+
import Q from "../YAxis/index.js";
|
|
6
|
+
import R from "../Guidelines/index.js";
|
|
7
|
+
import U from "../Points/index.js";
|
|
8
|
+
import V from "../Tooltip/index.js";
|
|
9
|
+
import Z from "../ClippingContainer/index.js";
|
|
10
|
+
import B from "../hooks/useAxis.js";
|
|
11
|
+
import { Chart as _ } from "./styles.js";
|
|
12
|
+
import D from "../defaults.js";
|
|
13
|
+
import $ from "../canvas/Points/index.js";
|
|
14
|
+
const w = {
|
|
15
|
+
svg: U,
|
|
16
|
+
canvas: $
|
|
17
|
+
}, T = ({
|
|
14
18
|
data: j,
|
|
15
19
|
className: z,
|
|
16
|
-
xAxis:
|
|
17
|
-
yAxis:
|
|
18
|
-
width:
|
|
19
|
-
height:
|
|
20
|
+
xAxis: c,
|
|
21
|
+
yAxis: l,
|
|
22
|
+
width: d,
|
|
23
|
+
height: m,
|
|
20
24
|
title: E,
|
|
21
25
|
activePointId: M,
|
|
22
26
|
margins: A,
|
|
23
27
|
tooltip: n,
|
|
24
|
-
|
|
28
|
+
onLoadedCallback: G,
|
|
29
|
+
renderer: N = "svg",
|
|
30
|
+
plotChildren: x
|
|
25
31
|
}) => {
|
|
26
|
-
const [
|
|
27
|
-
|
|
32
|
+
const [y, h] = J(), { label: O, points: f } = j, r = { ...D.margins, ...A }, t = typeof y < "u" ? f[y] : f.find(({ id: p }) => p === M), b = [0 + r.left, d - r.right], g = [m - r.bottom, 0 + r.top], [s, P, e] = B({ ...c, range: b }), [a, S, o] = B({ ...l, range: g }), I = o(a[0]), v = e(s[0]), k = o(a[1]), W = e(s[1]), C = "x-axis-label", L = "y-axis-label", X = Math.abs(b[1] - b[0]), Y = Math.abs(g[1] - g[0]), q = w[N], H = /* @__PURE__ */ i(
|
|
33
|
+
q,
|
|
28
34
|
{
|
|
29
|
-
data:
|
|
30
|
-
onHoverCallback: (p) =>
|
|
31
|
-
onHoverOutCallback: () =>
|
|
32
|
-
|
|
35
|
+
data: f,
|
|
36
|
+
onHoverCallback: n ? (p) => h(p) : void 0,
|
|
37
|
+
onHoverOutCallback: n ? () => h(void 0) : void 0,
|
|
38
|
+
width: d,
|
|
39
|
+
height: m,
|
|
33
40
|
xScale: e,
|
|
34
|
-
yScale: o
|
|
41
|
+
yScale: o,
|
|
42
|
+
label: O,
|
|
43
|
+
onLoadedCallback: G
|
|
35
44
|
}
|
|
36
|
-
),
|
|
45
|
+
), F = {
|
|
37
46
|
Data: H,
|
|
38
47
|
xScale: e,
|
|
39
48
|
yScale: o,
|
|
40
|
-
yStart:
|
|
41
|
-
yEnd:
|
|
42
|
-
xStart:
|
|
43
|
-
xEnd:
|
|
44
|
-
yDomain:
|
|
45
|
-
xDomain:
|
|
49
|
+
yStart: I,
|
|
50
|
+
yEnd: k,
|
|
51
|
+
xStart: v,
|
|
52
|
+
xEnd: W,
|
|
53
|
+
yDomain: a,
|
|
54
|
+
xDomain: s
|
|
46
55
|
};
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
|
|
56
|
+
return /* @__PURE__ */ u(
|
|
57
|
+
_,
|
|
49
58
|
{
|
|
50
|
-
verticalLabel:
|
|
51
|
-
verticalLabelId:
|
|
52
|
-
horizontalLabel:
|
|
53
|
-
horizontalLabelId:
|
|
59
|
+
verticalLabel: l.label,
|
|
60
|
+
verticalLabelId: L,
|
|
61
|
+
horizontalLabel: c.label,
|
|
62
|
+
horizontalLabelId: C,
|
|
54
63
|
className: z,
|
|
55
|
-
width:
|
|
56
|
-
height:
|
|
64
|
+
width: d,
|
|
65
|
+
height: m,
|
|
57
66
|
title: E,
|
|
58
67
|
children: [
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
|
|
68
|
+
/* @__PURE__ */ i(
|
|
69
|
+
Q,
|
|
61
70
|
{
|
|
62
|
-
ticks:
|
|
63
|
-
x:
|
|
64
|
-
labelledById:
|
|
65
|
-
yDomain:
|
|
71
|
+
ticks: S,
|
|
72
|
+
x: v,
|
|
73
|
+
labelledById: L,
|
|
74
|
+
yDomain: a,
|
|
66
75
|
yScale: o
|
|
67
76
|
}
|
|
68
77
|
),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
|
|
78
|
+
/* @__PURE__ */ u(
|
|
79
|
+
Z,
|
|
71
80
|
{
|
|
72
|
-
x:
|
|
73
|
-
y:
|
|
74
|
-
width:
|
|
75
|
-
height:
|
|
81
|
+
x: v,
|
|
82
|
+
y: k,
|
|
83
|
+
width: X,
|
|
84
|
+
height: Y,
|
|
76
85
|
children: [
|
|
77
|
-
|
|
78
|
-
|
|
86
|
+
c.guidelines && /* @__PURE__ */ i(
|
|
87
|
+
R,
|
|
79
88
|
{
|
|
80
|
-
guides:
|
|
89
|
+
guides: P.length,
|
|
81
90
|
direction: "vertical",
|
|
82
|
-
xDomain:
|
|
83
|
-
yDomain:
|
|
91
|
+
xDomain: s,
|
|
92
|
+
yDomain: a,
|
|
84
93
|
xScale: e,
|
|
85
94
|
yScale: o
|
|
86
95
|
}
|
|
87
96
|
),
|
|
88
|
-
|
|
89
|
-
|
|
97
|
+
l.guidelines && /* @__PURE__ */ i(
|
|
98
|
+
R,
|
|
90
99
|
{
|
|
91
|
-
guides:
|
|
92
|
-
xDomain:
|
|
93
|
-
yDomain:
|
|
100
|
+
guides: S.length,
|
|
101
|
+
xDomain: s,
|
|
102
|
+
yDomain: a,
|
|
94
103
|
xScale: e,
|
|
95
104
|
yScale: o
|
|
96
105
|
}
|
|
97
106
|
),
|
|
98
|
-
|
|
107
|
+
x ? x(F) : H
|
|
99
108
|
]
|
|
100
109
|
}
|
|
101
110
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
|
|
111
|
+
/* @__PURE__ */ i(
|
|
112
|
+
K,
|
|
104
113
|
{
|
|
105
|
-
ticks:
|
|
106
|
-
y:
|
|
107
|
-
labelledById:
|
|
108
|
-
xDomain:
|
|
114
|
+
ticks: P,
|
|
115
|
+
y: I,
|
|
116
|
+
labelledById: C,
|
|
117
|
+
xDomain: s,
|
|
109
118
|
xScale: e
|
|
110
119
|
}
|
|
111
120
|
),
|
|
112
|
-
n && /* @__PURE__ */
|
|
113
|
-
|
|
121
|
+
n && /* @__PURE__ */ u(
|
|
122
|
+
V,
|
|
114
123
|
{
|
|
115
124
|
x: t ? e(t.x) : void 0,
|
|
116
125
|
y: t ? o(t.y) : void 0,
|
|
117
126
|
visible: !!t,
|
|
118
|
-
offset:
|
|
127
|
+
offset: D.pointRadius,
|
|
119
128
|
children: [
|
|
120
129
|
t && typeof n == "function" && n(t),
|
|
121
130
|
t && typeof n == "string" && n
|
|
@@ -127,7 +136,7 @@ const T = ({
|
|
|
127
136
|
);
|
|
128
137
|
};
|
|
129
138
|
T.displayName = "Charts.ScatterPlot";
|
|
130
|
-
const
|
|
139
|
+
const ft = T;
|
|
131
140
|
export {
|
|
132
|
-
|
|
141
|
+
ft as default
|
|
133
142
|
};
|
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
font-size:
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("styled-components"),o=require("@rubin-epo/epo-react-lib/styles"),n=require("../Base/index.cjs"),s=e=>e&&e.__esModule?e:{default:e},i=s(t),l=i.default(n.default)`
|
|
2
|
+
font-size: 1.5em;
|
|
3
3
|
overflow: visible;
|
|
4
4
|
|
|
5
5
|
@container (
|
|
6
|
-
min-width: ${
|
|
6
|
+
min-width: ${o.token("BREAK_PHABLET_MIN")}
|
|
7
7
|
) {
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 1em;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
@container (
|
|
12
|
-
min-width: ${t.token("BREAK_PHABLET_MIN")}
|
|
13
|
-
) {
|
|
14
|
-
font-size: 1.5em;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@container (
|
|
18
|
-
min-width: ${t.token("BREAK_LARGE_TABLET_MIN")}
|
|
19
|
-
) {
|
|
20
|
-
font-size: 1.25em;
|
|
21
|
-
}
|
|
22
|
-
`;exports.Chart=r;
|
|
10
|
+
`;exports.Chart=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Chart: import(
|
|
2
|
+
export declare const Chart: import('styled-components').IStyledComponent<"web", {
|
|
3
3
|
className?: string | undefined;
|
|
4
4
|
title?: string | undefined;
|
|
5
5
|
verticalLabel?: string | undefined;
|
|
@@ -12,5 +12,5 @@ export declare const Chart: import("styled-components").IStyledComponent<"web",
|
|
|
12
12
|
yMin?: number | undefined;
|
|
13
13
|
yMax?: number | undefined;
|
|
14
14
|
height?: number | undefined;
|
|
15
|
-
children?: import(
|
|
16
|
-
}> & import(
|
|
15
|
+
children?: import('react').ReactNode;
|
|
16
|
+
}> & import('react').FunctionComponent<import('react').PropsWithChildren<import('../Base').BaseChartProps>>;
|
|
@@ -1,29 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
2
|
+
import o from "styled-components";
|
|
3
3
|
import { token as e } from "@rubin-epo/epo-react-lib/styles";
|
|
4
4
|
import t from "../Base/index.js";
|
|
5
|
-
const
|
|
6
|
-
font-size:
|
|
5
|
+
const n = o(t)`
|
|
6
|
+
font-size: 1.5em;
|
|
7
7
|
overflow: visible;
|
|
8
8
|
|
|
9
|
-
@container (
|
|
10
|
-
min-width: ${e("BREAK_MOBILE")}
|
|
11
|
-
) {
|
|
12
|
-
font-size: 1.75em;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
9
|
@container (
|
|
16
10
|
min-width: ${e("BREAK_PHABLET_MIN")}
|
|
17
11
|
) {
|
|
18
|
-
font-size:
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@container (
|
|
22
|
-
min-width: ${e("BREAK_LARGE_TABLET_MIN")}
|
|
23
|
-
) {
|
|
24
|
-
font-size: 1.25em;
|
|
12
|
+
font-size: 1em;
|
|
25
13
|
}
|
|
26
14
|
`;
|
|
27
15
|
export {
|
|
28
|
-
|
|
16
|
+
n as Chart
|
|
29
17
|
};
|