@rubin-epo/epo-widget-lib 1.1.0 → 1.1.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/README.MD +1 -1
- package/dist/ViewIndicator.cjs +1 -1
- package/dist/ViewIndicator.js +50 -44
- package/dist/atomic/Blinker/Controls/styles.d.ts +1 -273
- package/dist/atomic/Blinker/styles.d.ts +2 -545
- package/dist/atomic/ElapsedTime/styles.d.ts +6 -1634
- package/dist/atomic/ImageStack/index.d.ts +2 -2
- package/dist/atomic/LiveRegion/styles.d.ts +1 -273
- package/dist/atomic/Loader/styles.d.ts +1 -273
- package/dist/atomic/PlaybackControl/styles.d.ts +2 -555
- package/dist/atomic/PlotWrapper/styles.d.ts +1 -273
- package/dist/charts/Base/styles.d.ts +10 -2931
- package/dist/charts/Readout/index.cjs +1 -1
- package/dist/charts/Readout/index.js +18 -25
- package/dist/charts/Readout/styles.d.ts +2 -548
- package/dist/charts/ScatterPlot/index.cjs +1 -1
- package/dist/charts/ScatterPlot/index.js +50 -53
- package/dist/charts/ScatterPlot/styles.d.ts +2 -14
- package/dist/charts/Tooltip/styles.d.ts +6 -548
- package/dist/charts/styles.d.ts +6 -2893
- package/dist/layout/AspectRatio/styles.d.ts +1 -273
- package/dist/layout/Controls/styles.d.ts +12 -1918
- package/dist/styles/svg.d.ts +1 -273
- package/dist/widgets/CameraFilter/styles.d.ts +18 -5224
- package/dist/widgets/ColorTool/FilterControls/styles.d.ts +7 -1257
- package/dist/widgets/FilterTool/styles.d.ts +11 -3444
- package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +3 -817
- package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +1 -276
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.d.ts +2 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/styles.d.ts +6 -0
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.d.ts +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +6 -820
- package/dist/widgets/SourceSelector/Message/styles.d.ts +2 -2
- package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +3 -817
- package/dist/widgets/SourceSelector/SourceMap/styles.d.ts +2 -965
- package/dist/widgets/SourceSelector/styles.d.ts +2 -17
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +1 -483
- package/dist/widgets/SupernovaThreeVector/Skymap/index.cjs +1 -1
- package/dist/widgets/SupernovaThreeVector/Skymap/index.js +39 -45
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +7 -3375
- package/dist/widgets/ViewIndicator/styles.cjs +9 -24
- package/dist/widgets/ViewIndicator/styles.d.ts +4 -4401
- package/dist/widgets/ViewIndicator/styles.js +10 -32
- package/package.json +22 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
const e =
|
|
2
|
+
import r from "styled-components";
|
|
3
|
+
const e = r.div`
|
|
4
4
|
--size-svg-inner: calc(var(--size-container) * 0.65);
|
|
5
5
|
|
|
6
6
|
aspect-ratio: 1;
|
|
@@ -13,32 +13,20 @@ const e = o.div`
|
|
|
13
13
|
justify-content: center;
|
|
14
14
|
position: relative;
|
|
15
15
|
user-select: none;
|
|
16
|
-
`, i =
|
|
16
|
+
`, i = r.svg`
|
|
17
17
|
aspect-ratio: 1;
|
|
18
18
|
overflow: visible;
|
|
19
|
+
fill: none;
|
|
20
|
+
stroke: currentColor;
|
|
21
|
+
stroke-width: 2;
|
|
19
22
|
width: calc(var(--size-container) * 0.65);
|
|
20
|
-
`,
|
|
23
|
+
`, n = r.div`
|
|
21
24
|
font-size: calc(calc(var(--size-container) - var(--size-svg-inner)) / 2);
|
|
22
25
|
font-weight: bold;
|
|
23
26
|
line-height: 1;
|
|
24
27
|
position: absolute;
|
|
25
28
|
top: 0px;
|
|
26
|
-
`,
|
|
27
|
-
fill: none;
|
|
28
|
-
stroke: currentColor;
|
|
29
|
-
stroke-width: 3;
|
|
30
|
-
`, c = o.path`
|
|
31
|
-
fill: none;
|
|
32
|
-
stroke: currentColor;
|
|
33
|
-
stroke-width: 2;
|
|
34
|
-
`;
|
|
35
|
-
o.path`
|
|
36
|
-
fill: none;
|
|
37
|
-
stroke: currentColor;
|
|
38
|
-
stroke-width: 2;
|
|
39
|
-
opacity: 0.85;
|
|
40
|
-
`;
|
|
41
|
-
const l = o.g`
|
|
29
|
+
`, l = r.g`
|
|
42
30
|
--color-fill-primary: var(--color-rubin-yellow-200);
|
|
43
31
|
--color-fill-secondary: #eba85b;
|
|
44
32
|
fill: var(--color-fill-primary);
|
|
@@ -47,21 +35,11 @@ const l = o.g`
|
|
|
47
35
|
var(--color-fill-primary) var(--percent-mix-primary),
|
|
48
36
|
var(--color-fill-secondary) var(--percent-mix-secondary)
|
|
49
37
|
);
|
|
50
|
-
|
|
51
|
-
opacity: 0.8;
|
|
52
|
-
`, s = o.path`
|
|
53
|
-
opacity: 0.3;
|
|
54
|
-
`, p = o.path`
|
|
55
|
-
opacity: 0.5;
|
|
38
|
+
stroke: none;
|
|
56
39
|
`;
|
|
57
40
|
export {
|
|
58
41
|
e as Container,
|
|
59
|
-
|
|
60
|
-
t as NorthDirection,
|
|
61
|
-
n as Outline,
|
|
62
|
-
a as Plane,
|
|
42
|
+
n as NorthDirection,
|
|
63
43
|
i as SVG,
|
|
64
|
-
s as SideEdges,
|
|
65
|
-
p as TopEdges,
|
|
66
44
|
l as ViewCone
|
|
67
45
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubin-epo/epo-widget-lib",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Rubin Observatory Education & Public Outreach team React scientific and educational widgets.",
|
|
5
5
|
"author": "Rubin EPO",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,28 +49,28 @@
|
|
|
49
49
|
"@semantic-release/github": "^10.1.7",
|
|
50
50
|
"@semantic-release/npm": "^12.0.1",
|
|
51
51
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
52
|
-
"@storybook/addon-a11y": "^
|
|
53
|
-
"@storybook/addon-actions": "
|
|
54
|
-
"@storybook/addon-essentials": "
|
|
55
|
-
"@storybook/addon-interactions": "
|
|
56
|
-
"@storybook/addon-jest": "
|
|
57
|
-
"@storybook/addon-links": "
|
|
58
|
-
"@storybook/cli": "
|
|
59
|
-
"@storybook/manager-api": "
|
|
60
|
-
"@storybook/react": "
|
|
61
|
-
"@storybook/react-vite": "
|
|
62
|
-
"@storybook/
|
|
63
|
-
"@storybook/theming": "
|
|
52
|
+
"@storybook/addon-a11y": "^8.6.4",
|
|
53
|
+
"@storybook/addon-actions": "^8.6.4",
|
|
54
|
+
"@storybook/addon-essentials": "^8.6.4",
|
|
55
|
+
"@storybook/addon-interactions": "^8.6.4",
|
|
56
|
+
"@storybook/addon-jest": "^8.6.4",
|
|
57
|
+
"@storybook/addon-links": "^8.6.4",
|
|
58
|
+
"@storybook/cli": "^8.6.4",
|
|
59
|
+
"@storybook/manager-api": "^8.6.4",
|
|
60
|
+
"@storybook/react": "^8.6.4",
|
|
61
|
+
"@storybook/react-vite": "^8.6.4",
|
|
62
|
+
"@storybook/test": "^8.6.4",
|
|
63
|
+
"@storybook/theming": "^8.6.4",
|
|
64
64
|
"@testing-library/jest-dom": "^5.16.5",
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|
|
66
66
|
"@testing-library/user-event": "^14.4.3",
|
|
67
67
|
"@types/d3-array": "^3.2.1",
|
|
68
68
|
"@types/d3-geo": "^3.1.0",
|
|
69
|
-
"@types/react": "
|
|
70
|
-
"@types/react-dom": "
|
|
69
|
+
"@types/react": "18.3.1",
|
|
70
|
+
"@types/react-dom": "18.3.1",
|
|
71
71
|
"@vitejs/plugin-react": "^4",
|
|
72
72
|
"babel-loader": "^8.3.0",
|
|
73
|
-
"eslint-plugin-storybook": "^0.
|
|
73
|
+
"eslint-plugin-storybook": "^0.11.4",
|
|
74
74
|
"glob": "^11.0.1",
|
|
75
75
|
"i18next": "23",
|
|
76
76
|
"i18next-browser-languagedetector": "^8.0.0",
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"jest": "^29.4.2",
|
|
79
79
|
"jest-canvas-mock": "^2.4.0",
|
|
80
80
|
"jest-environment-jsdom": "^29.4.2",
|
|
81
|
-
"react": "
|
|
82
|
-
"react-dom": "
|
|
81
|
+
"react": "18.3.1",
|
|
82
|
+
"react-dom": "18.3.1",
|
|
83
83
|
"react-i18next": "13",
|
|
84
84
|
"rollup-plugin-banner2": "^1.2.2",
|
|
85
85
|
"semantic-release": "^24.1.0",
|
|
86
86
|
"semantic-release-monorepo": "^8.0.2",
|
|
87
|
-
"storybook-react-i18next": "2.
|
|
87
|
+
"storybook-react-i18next": "^3.2.1",
|
|
88
88
|
"ts-jest": "^29.0.5",
|
|
89
89
|
"typescript": "5",
|
|
90
90
|
"vite": "^5.4.3",
|
|
@@ -98,15 +98,15 @@
|
|
|
98
98
|
"react-i18next": "^12.0.0 || ^13.0.0"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@rubin-epo/epo-react-lib": "2.
|
|
101
|
+
"@rubin-epo/epo-react-lib": "^2.6.12",
|
|
102
102
|
"context-filter-polyfill": "^0.3.6",
|
|
103
103
|
"d3-array": "^3.2.4",
|
|
104
|
-
"d3-geo": "^3.1.
|
|
104
|
+
"d3-geo": "^3.1.1",
|
|
105
105
|
"d3-geo-projection": "^4.0.0",
|
|
106
106
|
"lodash": "^4.17.21",
|
|
107
107
|
"react-slider": "^2.0.6",
|
|
108
108
|
"skia-canvas": "^1.0.2",
|
|
109
|
-
"styled-components": "^6.1.
|
|
109
|
+
"styled-components": "^6.1.16",
|
|
110
110
|
"use-resize-observer": "^9.1.0"
|
|
111
111
|
}
|
|
112
112
|
}
|