@rubin-epo/epo-widget-lib 0.9.12 → 0.10.0-beta.1
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 +171 -0
- package/dist/atomic/Button/patterns/Reset.cjs +1 -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 +8 -0
- package/dist/atomic/ControlLabel/index.js +14 -0
- package/dist/atomic/PlotWrapper/index.cjs +1 -0
- package/dist/atomic/PlotWrapper/index.d.ts +2 -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/charts/Base/styles.cjs +15 -10
- package/dist/charts/Base/styles.js +21 -15
- package/dist/charts/PathFromPoints/index.cjs +1 -0
- package/dist/charts/PathFromPoints/index.d.ts +9 -0
- package/dist/charts/PathFromPoints/index.js +21 -0
- package/dist/charts/Points/index.cjs +1 -1
- package/dist/charts/Points/index.d.ts +3 -2
- package/dist/charts/Points/index.js +28 -23
- package/dist/charts/Readout/index.cjs +1 -0
- package/dist/charts/Readout/index.d.ts +15 -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 +3 -8
- package/dist/charts/ScatterPlot/index.js +82 -73
- package/dist/charts/ScatterPlot/styles.cjs +5 -17
- package/dist/charts/ScatterPlot/styles.js +5 -17
- package/dist/charts/Tooltip/styles.cjs +0 -1
- package/dist/charts/Tooltip/styles.js +2 -3
- package/dist/charts/canvas/Points/index.cjs +1 -0
- package/dist/charts/canvas/Points/index.d.ts +13 -0
- package/dist/charts/canvas/Points/index.js +44 -0
- package/dist/charts/defaults.cjs +1 -1
- package/dist/charts/defaults.d.ts +13 -3
- package/dist/charts/defaults.js +14 -8
- package/dist/charts/hooks/useAxis.cjs +1 -1
- package/dist/charts/hooks/useAxis.js +22 -22
- package/dist/charts/styles.cjs +5 -7
- package/dist/charts/styles.js +12 -14
- package/dist/layout/AspectRatio/styles.cjs +6 -2
- package/dist/layout/AspectRatio/styles.d.ts +6 -0
- package/dist/layout/AspectRatio/styles.js +8 -2
- package/dist/layout/Controls/index.cjs +1 -1
- package/dist/layout/Controls/index.d.ts +3 -0
- package/dist/layout/Controls/index.js +27 -18
- package/dist/layout/Controls/styles.cjs +13 -7
- package/dist/layout/Controls/styles.d.ts +177 -163
- 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 +5 -0
- package/dist/lib/utils.js +26 -20
- package/dist/localeStrings/en/epo-widget-lib.json +18 -0
- package/dist/widgets/ColorTool/Actions/index.js +9 -9
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.cjs +1 -0
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.d.ts +14 -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 +15 -0
- package/dist/widgets/IsochronePlot/Controls/index.js +45 -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 +22 -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 +2 -2
- 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 +0 -288
- package/dist/widgets/LightCurvePlot/Plot/styles.js +4 -40
- 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 +0 -544
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +3 -14
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +125 -115
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.cjs +5 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +0 -552
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.js +3 -12
- package/dist/widgets/LightCurvePlot/helpers.d.ts +2 -2
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.cjs +0 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.js +0 -1
- package/dist/widgets/SupernovaThreeVector/styles.cjs +6 -17
- package/dist/widgets/SupernovaThreeVector/styles.js +14 -25
- package/package.json +1 -1
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),y=require("react"),J=require("react-i18next"),Q=require("use-resize-observer"),F=require("@rubin-epo/epo-react-lib/styles"),U=require("./layout/Controls/index.cjs"),X=require("./charts/ScatterPlot/index.cjs"),Y=require("./atomic/Button/patterns/Reset.cjs");require("./atomic/PlotWrapper/index.cjs");const Z=require("./charts/Readout/index.cjs"),ee=require("./charts/PathFromPoints/index.cjs"),u=require("./lib/utils.cjs"),te=require("./lib/helpers.cjs"),se=require("./widgets/IsochronePlot/Controls/index.cjs"),i=require("./widgets/IsochronePlot/defaults.cjs"),ie=require("./widgets/IsochronePlot/A11Y/CurveFit.cjs"),re=require("./atomic/PlotWrapper/styles.cjs"),ne=e=>e&&e.__esModule?e:{default:e},oe=ne(Q),ae=e=>e?e<parseFloat(F.token("BREAK_PHABLET_MIN"))?i.default.pointRadius.md:e<parseFloat(F.token("BREAK_LARGE_TABLET"))?i.default.pointRadius.sm:i.default.pointRadius.lg:i.default.pointRadius.lg,le=({data:e,value:W,ageLibrary:D,isDisplayOnly:I=!1,isLoading:M,xAxis:P,yAxis:T,name:$,onChangeCallback:c})=>{const{ref:k,width:B}=oe.default(),{t:d,i18n:{language:m}}=J.useTranslation(),[E,K]=y.useState(!0),h=y.useId(),n=!M&&!E,O={top:0,right:0,bottom:20,left:20},{width:g,height:f}=i.default,{ages:q={}}=D,s=Object.keys(q).sort((r,l)=>parseFloat(r)-parseFloat(l)).map(parseFloat),w=u.mergeWithDefaults(P,{...i.default.xAxis,label:d("isochrone_plot.plot.x_label")}),_=u.mergeWithDefaults(T,{...i.default.yAxis,label:d("isochrone_plot.plot.y_label")}),o={age:{min:s.length>0?Math.min(...s):0,max:s.length>0?Math.max(...s):0,step:s[1]-s[0]||.5},distance:{min:0,max:_.min+1,step:.05}},b={age:s.length>0?u.middle(s):0,distance:(o.distance.max-o.distance.min)/2+o.distance.min},{age:a,distance:p}=u.mergeWithDefaults(W,b),z=ae(B),R={age:a.toLocaleString(m,{minimumFractionDigits:1}),distance:te.parsecsToLightyears(Math.pow(10,p/5+1)).toLocaleString(m,{maximumFractionDigits:0})},H=t.jsx(re.PlotWrapper,{ref:k,children:t.jsx(X.default,{renderer:"canvas",title:$,onLoadedCallback:()=>K(!1),data:{label:"Star Cluster",points:e.map(r=>({...r,radius:z,stroke:"rgba(18,114,108,0.5)",fill:"rgba(18,114,108,0.25)"}))},plotChildren:({Data:r,xScale:l,yScale:x,yStart:S,yEnd:j,xStart:v,xEnd:V,yDomain:C})=>{const A=(q[a.toFixed(1)]||[]).map(({x:G,y:N})=>({x:l(G),y:x(N)}))||[],L=x(p+C[1]);return t.jsxs(t.Fragment,{children:[r,a&&t.jsx(ee.default,{points:A,svgProps:{strokeWidth:2,transform:`translate(0,${L})`}}),n&&t.jsx(Z.default,{viewport:{x:v,y:j,outerHeight:S-j,outerWidth:V-v,innerWidth:g,innerHeight:f},position:"center right",forIds:h,forScreenreaders:t.jsx(ie.default,{points:e,value:R,isochrone:A,offset:L,xScale:l,yScale:x,width:g,height:f}),children:d("isochrone_plot.output",{...R})})]})},width:g,height:f,xAxis:w,yAxis:_,margins:O})});return t.jsx(U.default,{widget:H,controls:t.jsx(se.default,{isDisabled:!n,value:{age:a,distance:p},configs:o,onChangeCallback:c}),actions:t.jsx(Y.default,{isDisabled:!n,onResetCallback:()=>{c&&c(b)}}),isLoading:!n,isDisplayOnly:I,controlsId:h})};exports.default=le;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o, jsxs as q, Fragment as J } from "react/jsx-runtime";
|
|
3
|
+
import { useState as Q, useId as U } from "react";
|
|
4
|
+
import { useTranslation as X } from "react-i18next";
|
|
5
|
+
import Y from "use-resize-observer";
|
|
6
|
+
import { token as W } from "@rubin-epo/epo-react-lib/styles";
|
|
7
|
+
import Z from "./layout/Controls/index.js";
|
|
8
|
+
import tt from "./charts/ScatterPlot/index.js";
|
|
9
|
+
import ot from "./atomic/Button/patterns/Reset.js";
|
|
10
|
+
import "./atomic/PlotWrapper/index.js";
|
|
11
|
+
import et from "./charts/Readout/index.js";
|
|
12
|
+
import it from "./charts/PathFromPoints/index.js";
|
|
13
|
+
import { mergeWithDefaults as f, middle as st } from "./lib/utils.js";
|
|
14
|
+
import { parsecsToLightyears as rt } from "./lib/helpers.js";
|
|
15
|
+
import nt from "./widgets/IsochronePlot/Controls/index.js";
|
|
16
|
+
import e from "./widgets/IsochronePlot/defaults.js";
|
|
17
|
+
import at from "./widgets/IsochronePlot/A11Y/CurveFit.js";
|
|
18
|
+
import { PlotWrapper as lt } from "./atomic/PlotWrapper/styles.js";
|
|
19
|
+
const mt = (i) => i ? i < parseFloat(W("BREAK_PHABLET_MIN")) ? e.pointRadius.md : i < parseFloat(W("BREAK_LARGE_TABLET")) ? e.pointRadius.sm : e.pointRadius.lg : e.pointRadius.lg, Bt = ({
|
|
20
|
+
data: i,
|
|
21
|
+
value: y,
|
|
22
|
+
ageLibrary: B,
|
|
23
|
+
isDisplayOnly: I = !1,
|
|
24
|
+
isLoading: D,
|
|
25
|
+
xAxis: T,
|
|
26
|
+
yAxis: k,
|
|
27
|
+
name: E,
|
|
28
|
+
onChangeCallback: m
|
|
29
|
+
}) => {
|
|
30
|
+
const { ref: K, width: M } = Y(), {
|
|
31
|
+
t: c,
|
|
32
|
+
i18n: { language: h }
|
|
33
|
+
} = X(), [j, w] = Q(!0), x = U(), r = !D && !j, C = { top: 0, right: 0, bottom: 20, left: 20 }, { width: p, height: d } = e, { ages: b = {} } = B, t = Object.keys(b).sort(
|
|
34
|
+
(s, l) => parseFloat(s) - parseFloat(l)
|
|
35
|
+
).map(parseFloat), H = f(T, {
|
|
36
|
+
...e.xAxis,
|
|
37
|
+
label: c("isochrone_plot.plot.x_label")
|
|
38
|
+
}), R = f(k, {
|
|
39
|
+
...e.yAxis,
|
|
40
|
+
label: c("isochrone_plot.plot.y_label")
|
|
41
|
+
}), n = {
|
|
42
|
+
age: {
|
|
43
|
+
min: t.length > 0 ? Math.min(...t) : 0,
|
|
44
|
+
max: t.length > 0 ? Math.max(...t) : 0,
|
|
45
|
+
step: t[1] - t[0] || 0.5
|
|
46
|
+
},
|
|
47
|
+
distance: { min: 0, max: R.min + 1, step: 0.05 }
|
|
48
|
+
}, A = {
|
|
49
|
+
age: t.length > 0 ? st(t) : 0,
|
|
50
|
+
distance: (n.distance.max - n.distance.min) / 2 + n.distance.min
|
|
51
|
+
}, { age: a, distance: u } = f(
|
|
52
|
+
y,
|
|
53
|
+
A
|
|
54
|
+
), V = mt(M), F = {
|
|
55
|
+
age: a.toLocaleString(h, {
|
|
56
|
+
minimumFractionDigits: 1
|
|
57
|
+
}),
|
|
58
|
+
distance: rt(
|
|
59
|
+
Math.pow(10, u / 5 + 1)
|
|
60
|
+
).toLocaleString(h, {
|
|
61
|
+
maximumFractionDigits: 0
|
|
62
|
+
})
|
|
63
|
+
}, z = /* @__PURE__ */ o(lt, { ref: K, children: /* @__PURE__ */ o(
|
|
64
|
+
tt,
|
|
65
|
+
{
|
|
66
|
+
renderer: "canvas",
|
|
67
|
+
title: E,
|
|
68
|
+
onLoadedCallback: () => w(!1),
|
|
69
|
+
data: {
|
|
70
|
+
label: "Star Cluster",
|
|
71
|
+
points: i.map((s) => ({
|
|
72
|
+
...s,
|
|
73
|
+
radius: V,
|
|
74
|
+
stroke: "rgba(18,114,108,0.5)",
|
|
75
|
+
fill: "rgba(18,114,108,0.25)"
|
|
76
|
+
}))
|
|
77
|
+
},
|
|
78
|
+
plotChildren: ({
|
|
79
|
+
Data: s,
|
|
80
|
+
xScale: l,
|
|
81
|
+
yScale: g,
|
|
82
|
+
yStart: O,
|
|
83
|
+
yEnd: L,
|
|
84
|
+
xStart: P,
|
|
85
|
+
xEnd: S,
|
|
86
|
+
yDomain: G
|
|
87
|
+
}) => {
|
|
88
|
+
const _ = (b[a.toFixed(1)] || []).map(({ x: N, y: $ }) => ({ x: l(N), y: g($) })) || [], v = g(u + G[1]);
|
|
89
|
+
return /* @__PURE__ */ q(J, { children: [
|
|
90
|
+
s,
|
|
91
|
+
a && /* @__PURE__ */ o(
|
|
92
|
+
it,
|
|
93
|
+
{
|
|
94
|
+
points: _,
|
|
95
|
+
svgProps: {
|
|
96
|
+
strokeWidth: 2,
|
|
97
|
+
transform: `translate(0,${v})`
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
r && /* @__PURE__ */ o(
|
|
102
|
+
et,
|
|
103
|
+
{
|
|
104
|
+
viewport: {
|
|
105
|
+
x: P,
|
|
106
|
+
y: L,
|
|
107
|
+
outerHeight: O - L,
|
|
108
|
+
outerWidth: S - P,
|
|
109
|
+
innerWidth: p,
|
|
110
|
+
innerHeight: d
|
|
111
|
+
},
|
|
112
|
+
position: "center right",
|
|
113
|
+
forIds: x,
|
|
114
|
+
forScreenreaders: /* @__PURE__ */ o(
|
|
115
|
+
at,
|
|
116
|
+
{
|
|
117
|
+
points: i,
|
|
118
|
+
value: F,
|
|
119
|
+
isochrone: _,
|
|
120
|
+
offset: v,
|
|
121
|
+
xScale: l,
|
|
122
|
+
yScale: g,
|
|
123
|
+
width: p,
|
|
124
|
+
height: d
|
|
125
|
+
}
|
|
126
|
+
),
|
|
127
|
+
children: c("isochrone_plot.output", {
|
|
128
|
+
...F
|
|
129
|
+
})
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] });
|
|
133
|
+
},
|
|
134
|
+
width: p,
|
|
135
|
+
height: d,
|
|
136
|
+
xAxis: H,
|
|
137
|
+
yAxis: R,
|
|
138
|
+
margins: C
|
|
139
|
+
}
|
|
140
|
+
) });
|
|
141
|
+
return /* @__PURE__ */ o(
|
|
142
|
+
Z,
|
|
143
|
+
{
|
|
144
|
+
widget: z,
|
|
145
|
+
controls: /* @__PURE__ */ o(
|
|
146
|
+
nt,
|
|
147
|
+
{
|
|
148
|
+
isDisabled: !r,
|
|
149
|
+
value: { age: a, distance: u },
|
|
150
|
+
configs: n,
|
|
151
|
+
onChangeCallback: m
|
|
152
|
+
}
|
|
153
|
+
),
|
|
154
|
+
actions: /* @__PURE__ */ o(
|
|
155
|
+
ot,
|
|
156
|
+
{
|
|
157
|
+
isDisabled: !r,
|
|
158
|
+
onResetCallback: () => {
|
|
159
|
+
m && m(A);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
),
|
|
163
|
+
isLoading: !r,
|
|
164
|
+
isDisplayOnly: I,
|
|
165
|
+
controlsId: x
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
};
|
|
169
|
+
export {
|
|
170
|
+
Bt as default
|
|
171
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),i=require("react-i18next"),l=require("@rubin-epo/epo-react-lib/Button"),r=t=>t&&t.__esModule?t:{default:t},c=r(l),o=({isDisabled:t,onResetCallback:e,className:n})=>{const{t:u}=i.useTranslation();return s.jsx(c.default,{style:{"--button-text-align":"left"},disabled:t,icon:"RotateLeftWithCenter",iconSize:"2em",onClick:()=>e&&e(),className:n,isBlock:!0,children:u("colorTool.actions.reset")})};o.displayName="Atomic.Button.Reset";exports.default=o;
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { useTranslation as r } from "react-i18next";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import s from "@rubin-epo/epo-react-lib/Button";
|
|
5
|
+
const l = ({
|
|
6
6
|
isDisabled: o,
|
|
7
7
|
onResetCallback: t,
|
|
8
|
-
className:
|
|
8
|
+
className: e
|
|
9
9
|
}) => {
|
|
10
|
-
const { t:
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
|
|
10
|
+
const { t: i } = r();
|
|
11
|
+
return /* @__PURE__ */ n(
|
|
12
|
+
s,
|
|
13
13
|
{
|
|
14
14
|
style: { "--button-text-align": "left" },
|
|
15
15
|
disabled: o,
|
|
16
16
|
icon: "RotateLeftWithCenter",
|
|
17
17
|
iconSize: "2em",
|
|
18
18
|
onClick: () => t && t(),
|
|
19
|
-
className:
|
|
19
|
+
className: e,
|
|
20
20
|
isBlock: !0,
|
|
21
|
-
children:
|
|
21
|
+
children: i("colorTool.actions.reset")
|
|
22
22
|
}
|
|
23
23
|
);
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
const a = e;
|
|
25
|
+
l.displayName = "Atomic.Button.Reset";
|
|
27
26
|
export {
|
|
28
|
-
|
|
27
|
+
l as default
|
|
29
28
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),c=require("react"),o=({label:r,input:t,labelBy:l})=>{const e=c.useId(),s=l?{id:e}:{htmlFor:e};return n.jsxs("label",{...s,children:[r,t&&t(e)]})};o.displayName="Atomic.ControlLabel";exports.default=o;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as e } from "react/jsx-runtime";
|
|
3
|
+
import { useId as s } from "react";
|
|
4
|
+
const n = ({ label: t, input: r, labelBy: l }) => {
|
|
5
|
+
const o = s();
|
|
6
|
+
return /* @__PURE__ */ e("label", { ...l ? { id: o } : { htmlFor: o }, children: [
|
|
7
|
+
t,
|
|
8
|
+
r && r(o)
|
|
9
|
+
] });
|
|
10
|
+
};
|
|
11
|
+
n.displayName = "Atomic.ControlLabel";
|
|
12
|
+
export {
|
|
13
|
+
n as default
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./styles.cjs");e.PlotWrapper.displayName="Atomic.PlotWrapper";exports.default=e.PlotWrapper;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("styled-components"),l=require("@rubin-epo/epo-react-lib/styles"),o=e=>e&&e.__esModule?e:{default:e},r=o(t),i=r.default.div`
|
|
2
|
+
--label-height: 2em;
|
|
3
|
+
|
|
4
|
+
aspect-ratio: 1;
|
|
5
|
+
color: var(--neutral95, #1f2121);
|
|
6
|
+
background-color: var(--white, #fff);
|
|
7
|
+
border: 1px solid var(--turquoise55, #009fa1);
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: flex-end;
|
|
12
|
+
|
|
13
|
+
@container (min-width: ${l.token("BREAK_LARGE_TABLET")}) {
|
|
14
|
+
--label-height: 3em;
|
|
15
|
+
}
|
|
16
|
+
`;exports.PlotWrapper=i;
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
export declare const PlotWrapper: import("styled-components").IStyledComponent<"web", {
|
|
2
|
+
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
3
|
+
key?: import("react").Key | null | undefined;
|
|
4
|
+
defaultChecked?: boolean | undefined;
|
|
5
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
6
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
7
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
8
|
+
accessKey?: string | undefined;
|
|
9
|
+
autoFocus?: boolean | undefined;
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
12
|
+
contextMenu?: string | undefined;
|
|
13
|
+
dir?: string | undefined;
|
|
14
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
|
+
hidden?: boolean | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
lang?: string | undefined;
|
|
18
|
+
nonce?: string | undefined;
|
|
19
|
+
placeholder?: string | undefined;
|
|
20
|
+
slot?: string | undefined;
|
|
21
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
22
|
+
style?: import("react").CSSProperties | undefined;
|
|
23
|
+
tabIndex?: number | undefined;
|
|
24
|
+
title?: string | undefined;
|
|
25
|
+
translate?: "yes" | "no" | undefined;
|
|
26
|
+
radioGroup?: string | undefined;
|
|
27
|
+
role?: import("react").AriaRole | undefined;
|
|
28
|
+
about?: string | undefined;
|
|
29
|
+
content?: string | undefined;
|
|
30
|
+
datatype?: string | undefined;
|
|
31
|
+
inlist?: any;
|
|
32
|
+
prefix?: string | undefined;
|
|
33
|
+
property?: string | undefined;
|
|
34
|
+
rel?: string | undefined;
|
|
35
|
+
resource?: string | undefined;
|
|
36
|
+
rev?: string | undefined;
|
|
37
|
+
typeof?: string | undefined;
|
|
38
|
+
vocab?: string | undefined;
|
|
39
|
+
autoCapitalize?: string | undefined;
|
|
40
|
+
autoCorrect?: string | undefined;
|
|
41
|
+
autoSave?: string | undefined;
|
|
42
|
+
color?: string | undefined;
|
|
43
|
+
itemProp?: string | undefined;
|
|
44
|
+
itemScope?: boolean | undefined;
|
|
45
|
+
itemType?: string | undefined;
|
|
46
|
+
itemID?: string | undefined;
|
|
47
|
+
itemRef?: string | undefined;
|
|
48
|
+
results?: number | undefined;
|
|
49
|
+
security?: string | undefined;
|
|
50
|
+
unselectable?: "on" | "off" | undefined;
|
|
51
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
52
|
+
is?: string | undefined;
|
|
53
|
+
children?: import("react").ReactNode;
|
|
54
|
+
"aria-activedescendant"?: string | undefined;
|
|
55
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
56
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
57
|
+
"aria-braillelabel"?: string | undefined;
|
|
58
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
59
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
60
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
61
|
+
"aria-colcount"?: number | undefined;
|
|
62
|
+
"aria-colindex"?: number | undefined;
|
|
63
|
+
"aria-colindextext"?: string | undefined;
|
|
64
|
+
"aria-colspan"?: number | undefined;
|
|
65
|
+
"aria-controls"?: string | undefined;
|
|
66
|
+
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
67
|
+
"aria-describedby"?: string | undefined;
|
|
68
|
+
"aria-description"?: string | undefined;
|
|
69
|
+
"aria-details"?: string | undefined;
|
|
70
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
71
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
72
|
+
"aria-errormessage"?: string | undefined;
|
|
73
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
74
|
+
"aria-flowto"?: string | undefined;
|
|
75
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
76
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
77
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
78
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
79
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
80
|
+
"aria-label"?: string | undefined;
|
|
81
|
+
"aria-labelledby"?: string | undefined;
|
|
82
|
+
"aria-level"?: number | undefined;
|
|
83
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
84
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
85
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
87
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
88
|
+
"aria-owns"?: string | undefined;
|
|
89
|
+
"aria-placeholder"?: string | undefined;
|
|
90
|
+
"aria-posinset"?: number | undefined;
|
|
91
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
92
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
93
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
94
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
95
|
+
"aria-roledescription"?: string | undefined;
|
|
96
|
+
"aria-rowcount"?: number | undefined;
|
|
97
|
+
"aria-rowindex"?: number | undefined;
|
|
98
|
+
"aria-rowindextext"?: string | undefined;
|
|
99
|
+
"aria-rowspan"?: number | undefined;
|
|
100
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-setsize"?: number | undefined;
|
|
102
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
103
|
+
"aria-valuemax"?: number | undefined;
|
|
104
|
+
"aria-valuemin"?: number | undefined;
|
|
105
|
+
"aria-valuenow"?: number | undefined;
|
|
106
|
+
"aria-valuetext"?: string | undefined;
|
|
107
|
+
dangerouslySetInnerHTML?: {
|
|
108
|
+
__html: string | TrustedHTML;
|
|
109
|
+
} | undefined;
|
|
110
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
111
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
112
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
113
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
114
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
115
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
116
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
117
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
118
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
119
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
120
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
121
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
122
|
+
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import e from "styled-components";
|
|
3
|
+
import { token as t } from "@rubin-epo/epo-react-lib/styles";
|
|
4
|
+
const i = e.div`
|
|
5
|
+
--label-height: 2em;
|
|
6
|
+
|
|
7
|
+
aspect-ratio: 1;
|
|
8
|
+
color: var(--neutral95, #1f2121);
|
|
9
|
+
background-color: var(--white, #fff);
|
|
10
|
+
border: 1px solid var(--turquoise55, #009fa1);
|
|
11
|
+
position: relative;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
|
|
16
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
17
|
+
--label-height: 3em;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
export {
|
|
21
|
+
i as PlotWrapper
|
|
22
|
+
};
|