@rubin-epo/epo-widget-lib 1.0.7 → 1.0.9
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.js +1 -2
- package/dist/SupernovaThreeVector.cjs +1 -1
- package/dist/SupernovaThreeVector.js +89 -84
- package/dist/atomic/Blinker/Controls/Controls.cjs +1 -1
- package/dist/atomic/Blinker/Controls/Controls.js +24 -25
- package/dist/charts/Bars/index.js +1 -2
- package/dist/charts/Guidelines/index.js +1 -2
- package/dist/charts/PathFromPoints/index.js +1 -2
- package/dist/charts/Points/ErrorBar.cjs +1 -1
- package/dist/charts/Points/ErrorBar.js +9 -10
- package/dist/charts/Tooltip/index.cjs +1 -1
- package/dist/charts/Tooltip/index.js +11 -11
- package/dist/charts/XAxis/index.js +1 -2
- package/dist/charts/canvas/Points/index.cjs +1 -1
- package/dist/charts/canvas/Points/index.js +27 -29
- package/dist/charts/defaults.cjs +1 -1
- package/dist/charts/defaults.js +13 -13
- package/dist/layout/Controls/index.d.ts +1 -1
- package/dist/lib/reimg.cjs +1 -1
- package/dist/lib/reimg.js +19 -19
- package/dist/widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.cjs +1 -1
- package/dist/widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.js +15 -16
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/ColorLabels.cjs +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/ColorLabels/ColorLabels.js +19 -20
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.cjs +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.js +20 -21
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/SpectrumLabels.cjs +1 -1
- package/dist/widgets/CameraFilter/SpectrumDisplay/SpectrumLabels/SpectrumLabels.js +22 -23
- package/dist/widgets/ColorTool/Actions/Export/index.cjs +1 -1
- package/dist/widgets/ColorTool/Actions/Export/index.js +17 -18
- package/dist/widgets/ColorTool/Actions/index.cjs +1 -1
- package/dist/widgets/ColorTool/Actions/index.js +21 -22
- package/dist/widgets/ColorTool/FilterControls/FilterControls.cjs +1 -1
- package/dist/widgets/ColorTool/FilterControls/FilterControls.js +32 -33
- package/dist/widgets/ColorTool/ImageComposite/ImageComposite.cjs +1 -1
- package/dist/widgets/ColorTool/ImageComposite/ImageComposite.js +22 -23
- package/dist/widgets/ColorTool/__mocks__/index.d.ts +15 -0
- package/dist/widgets/ColorTool/hooks/useFilteredImages.cjs +1 -1
- package/dist/widgets/ColorTool/hooks/useFilteredImages.js +9 -10
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.cjs +1 -1
- package/dist/widgets/IsochronePlot/A11Y/CurveFit.js +22 -23
- package/dist/widgets/IsochronePlot/Controls/index.cjs +1 -1
- package/dist/widgets/IsochronePlot/Controls/index.js +22 -23
- package/dist/widgets/IsochronePlot/defaults.cjs +1 -1
- package/dist/widgets/IsochronePlot/defaults.js +2 -2
- package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/Plot/index.js +28 -29
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/index.js +20 -21
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +11 -12
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.js +20 -21
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.js +2 -2
- package/dist/widgets/LightCurvePlot/defaults.cjs +1 -1
- package/dist/widgets/LightCurvePlot/defaults.js +2 -2
- package/dist/widgets/SourceSelector/SourceMap/index.cjs +1 -1
- package/dist/widgets/SourceSelector/SourceMap/index.js +12 -13
- package/dist/widgets/SourceSelector/SourceSelector.cjs +1 -1
- package/dist/widgets/SourceSelector/SourceSelector.js +39 -44
- package/dist/widgets/SupernovaThreeVector/Histogram/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Histogram/index.js +40 -40
- package/dist/widgets/SupernovaThreeVector/LiveLabel/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/LiveLabel/index.js +16 -17
- package/dist/widgets/SupernovaThreeVector/Skymap/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Skymap/index.js +36 -37
- package/dist/widgets/SupernovaThreeVector/styles.cjs +13 -19
- package/dist/widgets/SupernovaThreeVector/styles.js +21 -31
- package/package.json +65 -6
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as g, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { useState as L } from "react";
|
|
4
|
-
import { geoAitoff as
|
|
5
|
-
import { geoGraticule as
|
|
4
|
+
import { geoAitoff as E } from "d3-geo-projection";
|
|
5
|
+
import { geoGraticule as N, geoPath as R } from "d3-geo";
|
|
6
6
|
import { range as M } from "d3-array";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { Background as
|
|
11
|
-
const
|
|
12
|
-
className:
|
|
7
|
+
import U from "../../../charts/Base/index.js";
|
|
8
|
+
import V from "../../../charts/Tooltip/index.js";
|
|
9
|
+
import q from "../../../atomic/ImageStack/index.js";
|
|
10
|
+
import { Background as z, Graticule as D, ImageStackerWrapper as F, UserObject as J, LatLabel as K, LongLabel as Q, Outline as X } from "./styles.js";
|
|
11
|
+
const Y = ({
|
|
12
|
+
className: y,
|
|
13
13
|
objects: h = [],
|
|
14
|
-
images:
|
|
15
|
-
visibleImages:
|
|
16
|
-
describedById:
|
|
14
|
+
images: v = [],
|
|
15
|
+
visibleImages: w = [],
|
|
16
|
+
describedById: B
|
|
17
17
|
}) => {
|
|
18
|
-
const [
|
|
18
|
+
const [O, W] = L(!1), [f, u] = L(), s = 600, l = 300, a = {
|
|
19
19
|
top: 20,
|
|
20
20
|
right: 0,
|
|
21
21
|
bottom: 20,
|
|
22
22
|
left: 20
|
|
23
|
-
},
|
|
23
|
+
}, j = s + a.right + a.left, G = l + a.top + a.bottom, c = 15, d = 30, k = -90, x = 90, p = -180, b = 180, m = 2, i = E(), n = N();
|
|
24
24
|
n.step([d, c]), n.extent([
|
|
25
25
|
[p, k],
|
|
26
26
|
[b, x]
|
|
@@ -31,48 +31,48 @@ const y = ({
|
|
|
31
31
|
],
|
|
32
32
|
n.outline()
|
|
33
33
|
);
|
|
34
|
-
const
|
|
35
|
-
return /* @__PURE__ */ g(
|
|
34
|
+
const C = M(k + c, x, c), H = M(p + d, b, d), P = R(i).pointRadius(6), r = (t) => P(t) || void 0, o = typeof f < "u" ? h[f] : void 0, S = (o ? i([o == null ? void 0 : o.long, o == null ? void 0 : o.lat]) : [0, 0]) || [0, 0];
|
|
35
|
+
return /* @__PURE__ */ g(U, { width: j, height: G, className: y, children: [
|
|
36
36
|
/* @__PURE__ */ e("mask", { id: "imageMask", children: /* @__PURE__ */ e("path", { d: r(n.outline()), fill: "white" }) }),
|
|
37
|
-
/* @__PURE__ */ e(
|
|
38
|
-
/* @__PURE__ */ e(
|
|
37
|
+
/* @__PURE__ */ e(z, { d: r(n.outline()) }),
|
|
38
|
+
/* @__PURE__ */ e(D, { d: r(n()) }),
|
|
39
39
|
/* @__PURE__ */ e(
|
|
40
|
-
|
|
40
|
+
F,
|
|
41
41
|
{
|
|
42
|
-
style: { "--image-stack-opacity":
|
|
42
|
+
style: { "--image-stack-opacity": O && 1 },
|
|
43
43
|
x: a.left,
|
|
44
44
|
y: a.top,
|
|
45
45
|
width: s - m,
|
|
46
46
|
height: l,
|
|
47
47
|
mask: "url(#imageMask)",
|
|
48
48
|
children: /* @__PURE__ */ e(
|
|
49
|
-
|
|
49
|
+
q,
|
|
50
50
|
{
|
|
51
|
-
images:
|
|
52
|
-
describedById:
|
|
53
|
-
visible:
|
|
54
|
-
loadCallback: () =>
|
|
51
|
+
images: v,
|
|
52
|
+
describedById: B,
|
|
53
|
+
visible: w,
|
|
54
|
+
loadCallback: () => W(!0),
|
|
55
55
|
showBackdrop: !1,
|
|
56
56
|
showLoader: !1
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
}
|
|
60
60
|
),
|
|
61
|
-
/* @__PURE__ */ e("g", { children: h.map(({ id: t, lat:
|
|
62
|
-
|
|
61
|
+
/* @__PURE__ */ e("g", { children: h.map(({ id: t, lat: T, long: $ }, A) => /* @__PURE__ */ e(
|
|
62
|
+
J,
|
|
63
63
|
{
|
|
64
64
|
d: r({
|
|
65
65
|
type: "Point",
|
|
66
|
-
coordinates: [
|
|
66
|
+
coordinates: [$, T]
|
|
67
67
|
}),
|
|
68
|
-
onMouseOver: () => u(
|
|
68
|
+
onMouseOver: () => u(A),
|
|
69
69
|
onMouseOut: () => u(void 0)
|
|
70
70
|
},
|
|
71
71
|
t
|
|
72
72
|
)) }),
|
|
73
|
-
/* @__PURE__ */ e("g", { "aria-hidden": "true", children:
|
|
73
|
+
/* @__PURE__ */ e("g", { "aria-hidden": "true", children: C.map(
|
|
74
74
|
(t) => t === 0 ? null : /* @__PURE__ */ g(
|
|
75
|
-
|
|
75
|
+
K,
|
|
76
76
|
{
|
|
77
77
|
style: {
|
|
78
78
|
dominantBaseline: t > 0 ? "text-after-edge" : "text-before-edge"
|
|
@@ -86,8 +86,8 @@ const y = ({
|
|
|
86
86
|
t
|
|
87
87
|
)
|
|
88
88
|
) }),
|
|
89
|
-
/* @__PURE__ */ e("g", { "aria-hidden": "true", children:
|
|
90
|
-
|
|
89
|
+
/* @__PURE__ */ e("g", { "aria-hidden": "true", children: H.map((t) => /* @__PURE__ */ g(
|
|
90
|
+
Q,
|
|
91
91
|
{
|
|
92
92
|
transform: `translate(${i([t, 0])})`,
|
|
93
93
|
children: [
|
|
@@ -98,14 +98,14 @@ const y = ({
|
|
|
98
98
|
t
|
|
99
99
|
)) }),
|
|
100
100
|
/* @__PURE__ */ e(
|
|
101
|
-
|
|
101
|
+
X,
|
|
102
102
|
{
|
|
103
103
|
strokeWidth: m,
|
|
104
104
|
d: r(n.outline())
|
|
105
105
|
}
|
|
106
106
|
),
|
|
107
107
|
/* @__PURE__ */ e(
|
|
108
|
-
|
|
108
|
+
V,
|
|
109
109
|
{
|
|
110
110
|
visible: !!o,
|
|
111
111
|
x: S[0],
|
|
@@ -115,8 +115,7 @@ const y = ({
|
|
|
115
115
|
)
|
|
116
116
|
] });
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
const rt = y;
|
|
118
|
+
Y.displayName = "Widgets.SupernovaThreeVector.Skymap";
|
|
120
119
|
export {
|
|
121
|
-
|
|
120
|
+
Y as default
|
|
122
121
|
};
|
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
container-type: inline-size;
|
|
3
|
-
`,l=e.default.div`
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@rubin-epo/epo-react-lib/styles"),r=require("./Histogram/index.cjs"),n=require("./Skymap/index.cjs"),o=i=>i&&i.__esModule?i:{default:i},e=o(a),s=e.default.div`
|
|
4
2
|
--three-vector-gap: calc(var(--PADDING_SMALL, 20px) / 2);
|
|
5
3
|
|
|
6
4
|
display: grid;
|
|
7
5
|
grid-template-columns: 1fr;
|
|
8
|
-
grid-
|
|
6
|
+
grid-auto-rows: min-content;
|
|
9
7
|
grid-template-areas:
|
|
10
8
|
"skymap"
|
|
11
9
|
"histogram"
|
|
12
|
-
"slider"
|
|
13
|
-
"reset";
|
|
10
|
+
"slider";
|
|
14
11
|
gap: var(--three-vector-gap);
|
|
15
12
|
|
|
16
|
-
@
|
|
13
|
+
@media (orientation: landscape) {
|
|
17
14
|
grid-template-columns: 1fr 1fr;
|
|
18
|
-
grid-template-rows: 1fr min-content
|
|
15
|
+
grid-template-rows: 1fr min-content;
|
|
19
16
|
grid-template-areas:
|
|
20
17
|
"histogram skymap"
|
|
21
|
-
"slider ."
|
|
22
|
-
"reset reset";
|
|
18
|
+
"slider .";
|
|
23
19
|
}
|
|
24
20
|
|
|
25
21
|
@container (min-width: ${t.token("BREAK_TABLET_MIN")}) {
|
|
26
22
|
--three-vector-gap: var(--PADDING_SMALL, 20px);
|
|
27
23
|
gap: var(--three-vector-gap);
|
|
28
24
|
}
|
|
29
|
-
`,
|
|
25
|
+
`,d=e.default.div`
|
|
30
26
|
display: flex;
|
|
31
27
|
flex-direction: column;
|
|
32
28
|
gap: var(--three-vector-gap);
|
|
33
29
|
container-type: inline-size;
|
|
34
30
|
grid-area: histogram;
|
|
35
|
-
`,
|
|
31
|
+
`,l=e.default(r.default)`
|
|
36
32
|
font-size: 0.75em;
|
|
37
33
|
|
|
38
34
|
@container (
|
|
@@ -40,17 +36,15 @@
|
|
|
40
36
|
) {
|
|
41
37
|
font-size: 1em;
|
|
42
38
|
}
|
|
43
|
-
`,
|
|
39
|
+
`,c=e.default.div`
|
|
44
40
|
grid-area: slider;
|
|
45
|
-
`,
|
|
46
|
-
grid-area: reset;
|
|
47
|
-
`,g=e.default.div`
|
|
41
|
+
`,m=e.default.div`
|
|
48
42
|
display: flex;
|
|
49
43
|
flex-direction: column;
|
|
50
44
|
gap: var(--three-vector-gap);
|
|
51
45
|
container-type: inline-size;
|
|
52
46
|
grid-area: skymap;
|
|
53
|
-
`,
|
|
47
|
+
`,p=e.default(n.default)`
|
|
54
48
|
max-width: 100%;
|
|
55
49
|
font-size: 2.25em;
|
|
56
50
|
|
|
@@ -71,6 +65,6 @@
|
|
|
71
65
|
) {
|
|
72
66
|
font-size: 1em;
|
|
73
67
|
}
|
|
74
|
-
`,
|
|
68
|
+
`,g=e.default.h4`
|
|
75
69
|
margin: 0;
|
|
76
|
-
`;exports.ChartTitle=
|
|
70
|
+
`;exports.ChartTitle=g;exports.Histogram=l;exports.HistogramContainer=d;exports.Skymap=p;exports.SkymapContainer=m;exports.SliderContainer=c;exports.ThreeVectorLayout=s;
|
|
@@ -1,45 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import e from "styled-components";
|
|
3
3
|
import { token as t } from "@rubin-epo/epo-react-lib/styles";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import o from "./Skymap/index.js";
|
|
8
|
-
const g = e(r)`
|
|
9
|
-
container-type: inline-size;
|
|
10
|
-
`, l = e.div`
|
|
4
|
+
import i from "./Histogram/index.js";
|
|
5
|
+
import r from "./Skymap/index.js";
|
|
6
|
+
const s = e.div`
|
|
11
7
|
--three-vector-gap: calc(var(--PADDING_SMALL, 20px) / 2);
|
|
12
8
|
|
|
13
9
|
display: grid;
|
|
14
10
|
grid-template-columns: 1fr;
|
|
15
|
-
grid-
|
|
11
|
+
grid-auto-rows: min-content;
|
|
16
12
|
grid-template-areas:
|
|
17
13
|
"skymap"
|
|
18
14
|
"histogram"
|
|
19
|
-
"slider"
|
|
20
|
-
"reset";
|
|
15
|
+
"slider";
|
|
21
16
|
gap: var(--three-vector-gap);
|
|
22
17
|
|
|
23
|
-
@
|
|
18
|
+
@media (orientation: landscape) {
|
|
24
19
|
grid-template-columns: 1fr 1fr;
|
|
25
|
-
grid-template-rows: 1fr min-content
|
|
20
|
+
grid-template-rows: 1fr min-content;
|
|
26
21
|
grid-template-areas:
|
|
27
22
|
"histogram skymap"
|
|
28
|
-
"slider ."
|
|
29
|
-
"reset reset";
|
|
23
|
+
"slider .";
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
@container (min-width: ${t("BREAK_TABLET_MIN")}) {
|
|
33
27
|
--three-vector-gap: var(--PADDING_SMALL, 20px);
|
|
34
28
|
gap: var(--three-vector-gap);
|
|
35
29
|
}
|
|
36
|
-
`,
|
|
30
|
+
`, c = e.div`
|
|
37
31
|
display: flex;
|
|
38
32
|
flex-direction: column;
|
|
39
33
|
gap: var(--three-vector-gap);
|
|
40
34
|
container-type: inline-size;
|
|
41
35
|
grid-area: histogram;
|
|
42
|
-
`,
|
|
36
|
+
`, p = e(i)`
|
|
43
37
|
font-size: 0.75em;
|
|
44
38
|
|
|
45
39
|
@container (
|
|
@@ -47,17 +41,15 @@ const g = e(r)`
|
|
|
47
41
|
) {
|
|
48
42
|
font-size: 1em;
|
|
49
43
|
}
|
|
50
|
-
`,
|
|
44
|
+
`, d = e.div`
|
|
51
45
|
grid-area: slider;
|
|
52
|
-
`,
|
|
53
|
-
grid-area: reset;
|
|
54
|
-
`, B = e.div`
|
|
46
|
+
`, g = e.div`
|
|
55
47
|
display: flex;
|
|
56
48
|
flex-direction: column;
|
|
57
49
|
gap: var(--three-vector-gap);
|
|
58
50
|
container-type: inline-size;
|
|
59
51
|
grid-area: skymap;
|
|
60
|
-
`,
|
|
52
|
+
`, l = e(r)`
|
|
61
53
|
max-width: 100%;
|
|
62
54
|
font-size: 2.25em;
|
|
63
55
|
|
|
@@ -78,17 +70,15 @@ const g = e(r)`
|
|
|
78
70
|
) {
|
|
79
71
|
font-size: 1em;
|
|
80
72
|
}
|
|
81
|
-
`,
|
|
73
|
+
`, f = e.h4`
|
|
82
74
|
margin: 0;
|
|
83
75
|
`;
|
|
84
76
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
g as ThreeVectorContainer,
|
|
93
|
-
l as ThreeVectorLayout
|
|
77
|
+
f as ChartTitle,
|
|
78
|
+
p as Histogram,
|
|
79
|
+
c as HistogramContainer,
|
|
80
|
+
l as Skymap,
|
|
81
|
+
g as SkymapContainer,
|
|
82
|
+
d as SliderContainer,
|
|
83
|
+
s as ThreeVectorLayout
|
|
94
84
|
};
|
package/package.json
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubin-epo/epo-widget-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Rubin Observatory Education & Public Outreach team React scientific and educational widgets.",
|
|
5
5
|
"author": "Rubin EPO",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://lsst-epo.github.io/epo-react-lib",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/lsst-epo/epo-react-lib"
|
|
10
|
+
"url": "git+https://github.com/lsst-epo/epo-react-lib.git"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"registry": "https://registry.npmjs.org/"
|
|
11
15
|
},
|
|
12
16
|
"supportedLocales": [
|
|
13
17
|
"en",
|
|
14
18
|
"es"
|
|
15
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "tsc && vite build",
|
|
23
|
+
"fix-js": "prettier --write \"**/*.{js,jsx}\" && eslint -c .eslintrc.js \"**/*.{js,jsx,ts,tsx}\" --fix",
|
|
24
|
+
"lint-js": "prettier --check \"**/*.{js,jsx}\" & eslint -c .eslintrc.js \"**/*.{js,jsx,ts,tsx}\"",
|
|
25
|
+
"storybook": "storybook dev -p 6007",
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"build-storybook:production": "yarn build-storybook -o ../../storybook-static/epo-widget-lib",
|
|
28
|
+
"test": "jest --max-workers=2",
|
|
29
|
+
"test:generate-output": "yarn test --json --outputFile=.jest-test-results.json || true",
|
|
30
|
+
"prepublishOnly": "yarn build",
|
|
31
|
+
"release": "semantic-release -e semantic-release-monorepo --debug"
|
|
32
|
+
},
|
|
16
33
|
"files": [
|
|
17
34
|
"README.md",
|
|
18
35
|
"dist"
|
|
@@ -26,9 +43,51 @@
|
|
|
26
43
|
},
|
|
27
44
|
"./localeStrings": "./dist/localeStrings"
|
|
28
45
|
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@babel/core": "^7.20.12",
|
|
48
|
+
"@rubin-epo/eslint-config-react": "^1.0.0-beta",
|
|
49
|
+
"@semantic-release/github": "^10.1.7",
|
|
50
|
+
"@semantic-release/npm": "^12.0.1",
|
|
51
|
+
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
52
|
+
"@storybook/addon-a11y": "^7.6.20",
|
|
53
|
+
"@storybook/addon-actions": "7.6.20",
|
|
54
|
+
"@storybook/addon-essentials": "7.6.20",
|
|
55
|
+
"@storybook/addon-interactions": "7.6.20",
|
|
56
|
+
"@storybook/addon-jest": "7.6.20",
|
|
57
|
+
"@storybook/addon-links": "7.6.20",
|
|
58
|
+
"@storybook/cli": "7.6.20",
|
|
59
|
+
"@storybook/manager-api": "7.6.20",
|
|
60
|
+
"@storybook/react": "7.6.20",
|
|
61
|
+
"@storybook/react-vite": "7.6.20",
|
|
62
|
+
"@storybook/testing-library": "^0.2.2",
|
|
63
|
+
"@storybook/theming": "7.6.20",
|
|
64
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
65
|
+
"@testing-library/react": "^13.4.0",
|
|
66
|
+
"@testing-library/user-event": "^14.4.3",
|
|
67
|
+
"@types/d3-array": "^3.2.1",
|
|
68
|
+
"@types/d3-geo": "^3.1.0",
|
|
69
|
+
"@types/react": "^18.0.26",
|
|
70
|
+
"@types/react-dom": "^18.0.9",
|
|
71
|
+
"@vitejs/plugin-react": "^4",
|
|
72
|
+
"babel-loader": "^8.3.0",
|
|
73
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
74
|
+
"i18next": "23",
|
|
75
|
+
"i18next-browser-languagedetector": "^8.0.0",
|
|
76
|
+
"i18next-http-backend": "^2.5.2",
|
|
77
|
+
"jest": "^29.4.2",
|
|
78
|
+
"jest-canvas-mock": "^2.4.0",
|
|
79
|
+
"jest-environment-jsdom": "^29.4.2",
|
|
80
|
+
"react": "^18.2.0",
|
|
81
|
+
"react-dom": "^18.2.0",
|
|
82
|
+
"react-i18next": "13",
|
|
83
|
+
"rollup-plugin-banner2": "^1.2.2",
|
|
84
|
+
"semantic-release": "^24.1.0",
|
|
85
|
+
"semantic-release-monorepo": "^8.0.2",
|
|
86
|
+
"storybook-react-i18next": "2.0.10",
|
|
87
|
+
"ts-jest": "^29.0.5",
|
|
88
|
+
"typescript": "5",
|
|
89
|
+
"vite": "^5.4.3",
|
|
90
|
+
"vite-plugin-dts": "^3.9.1"
|
|
32
91
|
},
|
|
33
92
|
"peerDependencies": {
|
|
34
93
|
"i18next": "^22.0.0 || ^23.0.0",
|
|
@@ -45,7 +104,7 @@
|
|
|
45
104
|
"d3-geo-projection": "^4.0.0",
|
|
46
105
|
"lodash": "^4.17.21",
|
|
47
106
|
"react-slider": "^2.0.6",
|
|
48
|
-
"skia-canvas": "^1.0.
|
|
107
|
+
"skia-canvas": "^1.0.2",
|
|
49
108
|
"styled-components": "^6.1.1",
|
|
50
109
|
"use-resize-observer": "^9.1.0"
|
|
51
110
|
}
|