@rubin-epo/epo-widget-lib 0.10.2 → 0.10.3

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.
Files changed (53) hide show
  1. package/dist/atomic/Blinker/Controls/styles.d.ts +56 -54
  2. package/dist/atomic/Blinker/styles.d.ts +109 -108
  3. package/dist/atomic/ElapsedTime/styles.d.ts +326 -324
  4. package/dist/atomic/LiveRegion/styles.d.ts +56 -54
  5. package/dist/atomic/Loader/styles.d.ts +56 -54
  6. package/dist/atomic/PlaybackControl/styles.d.ts +110 -108
  7. package/dist/atomic/PlotWrapper/styles.d.ts +56 -54
  8. package/dist/charts/Base/styles.d.ts +541 -539
  9. package/dist/charts/Readout/styles.d.ts +110 -108
  10. package/dist/charts/Tooltip/styles.d.ts +109 -108
  11. package/dist/charts/XAxis/index.cjs +1 -1
  12. package/dist/charts/XAxis/index.js +47 -32
  13. package/dist/charts/YAxis/index.cjs +1 -1
  14. package/dist/charts/YAxis/index.js +44 -29
  15. package/dist/charts/hooks/useAxis.cjs +1 -1
  16. package/dist/charts/hooks/useAxis.d.ts +4 -3
  17. package/dist/charts/hooks/useAxis.js +15 -25
  18. package/dist/charts/styles.d.ts +320 -318
  19. package/dist/layout/AspectRatio/styles.d.ts +55 -54
  20. package/dist/layout/Controls/styles.d.ts +379 -378
  21. package/dist/lib/utils.d.ts +2 -2
  22. package/dist/styles/svg.d.ts +56 -54
  23. package/dist/widgets/CameraFilter/styles.d.ts +860 -860
  24. package/dist/widgets/ColorTool/FilterControls/styles.d.ts +222 -221
  25. package/dist/widgets/FilterTool/styles.d.ts +426 -426
  26. package/dist/widgets/LightCurvePlot/Plot/index.cjs +1 -1
  27. package/dist/widgets/LightCurvePlot/Plot/index.js +67 -52
  28. package/dist/widgets/LightCurvePlot/Plot/styles.d.ts +110 -108
  29. package/dist/widgets/LightCurvePlot/PlotWithCurve/A11Y/LightCurveLabel/styles.d.ts +56 -54
  30. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.cjs +1 -1
  31. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.d.ts +1 -1
  32. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/index.js +29 -33
  33. package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.cjs +1 -1
  34. package/dist/widgets/LightCurvePlot/PlotWithCurve/MagnitudeSlider/index.js +4 -4
  35. package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
  36. package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +85 -81
  37. package/dist/widgets/LightCurvePlot/PlotWithCurve/styles.d.ts +164 -162
  38. package/dist/widgets/LightCurvePlot/defaults.cjs +1 -1
  39. package/dist/widgets/LightCurvePlot/defaults.d.ts +10 -6
  40. package/dist/widgets/LightCurvePlot/defaults.js +2 -6
  41. package/dist/widgets/LightCurvePlot/helpers.cjs +1 -1
  42. package/dist/widgets/LightCurvePlot/helpers.js +1 -1
  43. package/dist/widgets/SourceSelector/Point/styles.d.ts +55 -53
  44. package/dist/widgets/SourceSelector/SelectionList/styles.d.ts +164 -162
  45. package/dist/widgets/SourceSelector/styles.d.ts +496 -0
  46. package/dist/widgets/SupernovaThreeVector/Histogram/index.cjs +1 -1
  47. package/dist/widgets/SupernovaThreeVector/Histogram/index.js +8 -8
  48. package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +55 -53
  49. package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +373 -371
  50. package/package.json +4 -4
  51. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.cjs +0 -5
  52. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.d.ts +0 -272
  53. package/dist/widgets/LightCurvePlot/PlotWithCurve/DM15Display/styles.js +0 -10
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),$=require("react-i18next"),b=require("d3-array"),L=require("../../../charts/ScatterPlot/index.cjs"),e=require("../defaults.cjs"),y=require("./styles.cjs");require("../../../atomic/PlotWrapper/index.cjs");const S=require("../../../atomic/PlotWrapper/styles.cjs"),W=(s,u,c)=>{const i={};return Object.keys(s).forEach(l=>{const a=l==="top"||l==="bottom"?c:u,o=`${l.charAt(0).toUpperCase()}${l.slice(1)}`;i[`padding${o}`]=`${s[l]/a*100}%`}),i},v=({data:s,activeAlertId:u,xMin:c,xMax:i,yMin:d=e.default.yMin,yMax:l=e.default.yMax,width:a=e.default.width,height:o=e.default.height,name:j,slider:x,className:_,plotChildren:m})=>{const{t:n,i18n:{language:q}}=$.useTranslation(),A=n("light_curve.plot.x_label"),M=n("light_curve.plot.y_label"),g={top:10,right:10,bottom:25,left:40};return r.jsxs(S.PlotWrapper,{className:_,children:[r.jsx(L.default,{width:a,height:o,margins:g,activePointId:u,title:j,xAxis:{min:c||b.min(s,({x:t})=>t)||e.default.xMin,max:i||b.max(s,({x:t})=>t)||e.default.xMax,step:e.default.xStep,label:A},yAxis:{min:d,max:l,step:d<l?Math.abs(e.default.yStep):e.default.yStep,label:M},data:{label:n("light_curve.plot.plot_label"),points:s},tooltip:({y:t})=>n("light_curve.plot.tooltip",{magnitude:t.toLocaleString(q,{minimumFractionDigits:2,maximumFractionDigits:2})}),plotChildren:({xScale:t,yStart:h,yEnd:p,Data:f,...P})=>r.jsxs(r.Fragment,{children:[r.jsx("rect",{x:t(0),y:p,width:t(15)-t(0),height:h-p,stroke:"var(--neutral60,##6A6E6E)",strokeDasharray:6,fill:"var(--neutral20,#DCE0E3)"}),f,m&&m({xScale:t,yStart:h,yEnd:p,Data:f,...P})]})}),x&&r.jsx(y.SliderOuterWrapper,{children:r.jsx(y.SliderInnerWrapper,{style:{...W(g,a,o)},children:x})})]})};v.displayName="Widgets.LightCurve.Plot";const C=v;exports.default=C;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),M=require("react-i18next"),y=require("d3-array"),k=require("../../../charts/ScatterPlot/index.cjs");require("../../../atomic/PlotWrapper/index.cjs");const x=require("../../../lib/utils.cjs"),u=require("../defaults.cjs"),v=require("./styles.cjs"),C=require("../../../atomic/PlotWrapper/styles.cjs"),E=(i,c,p)=>{const o={};return Object.keys(i).forEach(e=>{const a=e==="top"||e==="bottom"?p:c,n=`${e.charAt(0).toUpperCase()}${e.slice(1)}`;o[`padding${n}`]=`${i[e]/a*100}%`}),o},A=({data:i,activeAlertId:c,xMin:p,xMax:o,yMin:d,yMax:e,width:a=u.default.width,height:n=u.default.height,name:j,slider:g,className:q,plotChildren:h})=>{const{t:l,i18n:{language:W}}=M.useTranslation(),D=x.mergeWithDefaults({min:y.min(i,({x:t})=>t),max:y.max(i,({x:t})=>t)},u.default.xAxis),P=x.mergeWithDefaults({min:p,max:o,label:l("light_curve.plot.x_label")},{...D,label:l("isochrone_plot.plot.x_label")}),r=x.mergeWithDefaults({min:d,max:e,label:l("light_curve.plot.y_label")},{...u.default.yAxis,label:l("isochrone_plot.plot.y_label")}),b={top:10,right:10,bottom:25,left:40};return s.jsxs(C.PlotWrapper,{className:q,children:[s.jsx(k.default,{width:a,height:n,margins:b,activePointId:c,title:j,xAxis:{...P,ticks:6},yAxis:{...r,step:r.min<r.max?Math.abs(r.step):r.step},data:{label:l("light_curve.plot.plot_label"),points:i},tooltip:({y:t})=>l("light_curve.plot.tooltip",{magnitude:t.toLocaleString(W,{minimumFractionDigits:2,maximumFractionDigits:2})}),plotChildren:({xScale:t,yStart:f,yEnd:m,Data:_,...$})=>s.jsxs(s.Fragment,{children:[s.jsx("rect",{x:t(0),y:m,width:t(15)-t(0),height:f-m,stroke:"var(--neutral60,##6A6E6E)",strokeDasharray:6,fill:"var(--neutral20,#DCE0E3)"}),_,h&&h({xScale:t,yStart:f,yEnd:m,Data:_,...$})]})}),g&&s.jsx(v.SliderOuterWrapper,{children:s.jsx(v.SliderInnerWrapper,{style:{...E(b,a,n)},children:g})})]})};A.displayName="Widgets.LightCurve.Plot";const F=A;exports.default=F;
@@ -1,101 +1,116 @@
1
1
  "use client";
2
- import { jsxs as f, jsx as n, Fragment as M } from "react/jsx-runtime";
3
- import { useTranslation as W } from "react-i18next";
4
- import { min as j, max as C } from "d3-array";
5
- import D from "../../../charts/ScatterPlot/index.js";
6
- import e from "../defaults.js";
7
- import { SliderOuterWrapper as E, SliderInnerWrapper as F } from "./styles.js";
2
+ import { jsxs as A, jsx as n, Fragment as k } from "react/jsx-runtime";
3
+ import { useTranslation as C } from "react-i18next";
4
+ import { min as E, max as F } from "d3-array";
5
+ import I from "../../../charts/ScatterPlot/index.js";
8
6
  import "../../../atomic/PlotWrapper/index.js";
9
- import { PlotWrapper as S } from "../../../atomic/PlotWrapper/styles.js";
10
- const k = (r, p, m) => {
11
- const i = {};
12
- return Object.keys(r).forEach((o) => {
13
- const l = o === "top" || o === "bottom" ? m : p, s = `${o.charAt(0).toUpperCase()}${o.slice(1)}`;
14
- i[`padding${s}`] = `${r[o] / l * 100}%`;
15
- }), i;
7
+ import { mergeWithDefaults as u } from "../../../lib/utils.js";
8
+ import m from "../defaults.js";
9
+ import { SliderOuterWrapper as L, SliderInnerWrapper as M } from "./styles.js";
10
+ import { PlotWrapper as N } from "../../../atomic/PlotWrapper/styles.js";
11
+ const O = (i, p, c) => {
12
+ const l = {};
13
+ return Object.keys(i).forEach((o) => {
14
+ const s = o === "top" || o === "bottom" ? c : p, a = `${o.charAt(0).toUpperCase()}${o.slice(1)}`;
15
+ l[`padding${a}`] = `${i[o] / s * 100}%`;
16
+ }), l;
16
17
  }, v = ({
17
- data: r,
18
+ data: i,
18
19
  activeAlertId: p,
19
- xMin: m,
20
- xMax: i,
21
- yMin: c = e.yMin,
22
- yMax: o = e.yMax,
23
- width: l = e.width,
24
- height: s = e.height,
20
+ xMin: c,
21
+ xMax: l,
22
+ yMin: x,
23
+ yMax: o,
24
+ width: s = m.width,
25
+ height: a = m.height,
25
26
  name: y,
26
27
  slider: g,
27
- className: _,
28
- plotChildren: h
28
+ className: P,
29
+ plotChildren: f
29
30
  }) => {
30
31
  const {
31
- t: a,
32
- i18n: { language: A }
33
- } = W(), P = a("light_curve.plot.x_label"), $ = a("light_curve.plot.y_label"), x = {
32
+ t: e,
33
+ i18n: { language: W }
34
+ } = C(), $ = u(
35
+ {
36
+ min: E(i, ({ x: t }) => t),
37
+ max: F(i, ({ x: t }) => t)
38
+ },
39
+ m.xAxis
40
+ ), D = u(
41
+ { min: c, max: l, label: e("light_curve.plot.x_label") },
42
+ {
43
+ ...$,
44
+ label: e("isochrone_plot.plot.x_label")
45
+ }
46
+ ), r = u(
47
+ { min: x, max: o, label: e("light_curve.plot.y_label") },
48
+ {
49
+ ...m.yAxis,
50
+ label: e("isochrone_plot.plot.y_label")
51
+ }
52
+ ), b = {
34
53
  top: 10,
35
54
  right: 10,
36
55
  bottom: 25,
37
56
  left: 40
38
57
  };
39
- return /* @__PURE__ */ f(S, { className: _, children: [
58
+ return /* @__PURE__ */ A(N, { className: P, children: [
40
59
  /* @__PURE__ */ n(
41
- D,
60
+ I,
42
61
  {
43
- width: l,
44
- height: s,
45
- margins: x,
62
+ width: s,
63
+ height: a,
64
+ margins: b,
46
65
  activePointId: p,
47
66
  title: y,
48
67
  xAxis: {
49
- min: m || j(r, ({ x: t }) => t) || e.xMin,
50
- max: i || C(r, ({ x: t }) => t) || e.xMax,
51
- step: e.xStep,
52
- label: P
68
+ ...D,
69
+ ticks: 6
53
70
  },
54
71
  yAxis: {
55
- min: c,
56
- max: o,
57
- step: c < o ? Math.abs(e.yStep) : e.yStep,
58
- label: $
72
+ ...r,
73
+ step: r.min < r.max ? Math.abs(r.step) : r.step
59
74
  },
60
75
  data: {
61
- label: a("light_curve.plot.plot_label"),
62
- points: r
76
+ label: e("light_curve.plot.plot_label"),
77
+ points: i
63
78
  },
64
- tooltip: ({ y: t }) => a("light_curve.plot.tooltip", {
65
- magnitude: t.toLocaleString(A, {
79
+ tooltip: ({ y: t }) => e("light_curve.plot.tooltip", {
80
+ magnitude: t.toLocaleString(W, {
66
81
  minimumFractionDigits: 2,
67
82
  maximumFractionDigits: 2
68
83
  })
69
84
  }),
70
- plotChildren: ({ xScale: t, yStart: d, yEnd: u, Data: b, ...L }) => /* @__PURE__ */ f(M, { children: [
85
+ plotChildren: ({ xScale: t, yStart: d, yEnd: h, Data: _, ...j }) => /* @__PURE__ */ A(k, { children: [
71
86
  /* @__PURE__ */ n(
72
87
  "rect",
73
88
  {
74
89
  x: t(0),
75
- y: u,
90
+ y: h,
76
91
  width: t(15) - t(0),
77
- height: d - u,
92
+ height: d - h,
78
93
  stroke: "var(--neutral60,##6A6E6E)",
79
94
  strokeDasharray: 6,
80
95
  fill: "var(--neutral20,#DCE0E3)"
81
96
  }
82
97
  ),
83
- b,
84
- h && h({ xScale: t, yStart: d, yEnd: u, Data: b, ...L })
98
+ _,
99
+ f && f({ xScale: t, yStart: d, yEnd: h, Data: _, ...j })
85
100
  ] })
86
101
  }
87
102
  ),
88
- g && /* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(
89
- F,
103
+ g && /* @__PURE__ */ n(L, { children: /* @__PURE__ */ n(
104
+ M,
90
105
  {
91
- style: { ...k(x, l, s) },
106
+ style: { ...O(b, s, a) },
92
107
  children: g
93
108
  }
94
109
  ) })
95
110
  ] });
96
111
  };
97
112
  v.displayName = "Widgets.LightCurve.Plot";
98
- const q = v;
113
+ const J = v;
99
114
  export {
100
- q as default
115
+ J as default
101
116
  };
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
1
3
  export declare const SliderOuterWrapper: import('styled-components').IStyledComponent<"web", {
2
4
  ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
3
5
  key?: import('react').Key | null | undefined;
@@ -50,60 +52,60 @@ export declare const SliderOuterWrapper: import('styled-components').IStyledComp
50
52
  unselectable?: "on" | "off" | undefined;
51
53
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
52
54
  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;
55
+ children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
56
+ 'aria-activedescendant'?: string | undefined;
57
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
58
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
59
+ 'aria-braillelabel'?: string | undefined;
60
+ 'aria-brailleroledescription'?: string | undefined;
61
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
62
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
63
+ 'aria-colcount'?: number | undefined;
64
+ 'aria-colindex'?: number | undefined;
65
+ 'aria-colindextext'?: string | undefined;
66
+ 'aria-colspan'?: number | undefined;
67
+ 'aria-controls'?: string | undefined;
68
+ 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
69
+ 'aria-describedby'?: string | undefined;
70
+ 'aria-description'?: string | undefined;
71
+ 'aria-details'?: string | undefined;
72
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
73
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
74
+ 'aria-errormessage'?: string | undefined;
75
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
76
+ 'aria-flowto'?: string | undefined;
77
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
78
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
79
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
80
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
81
+ 'aria-keyshortcuts'?: string | undefined;
82
+ 'aria-label'?: string | undefined;
83
+ 'aria-labelledby'?: string | undefined;
84
+ 'aria-level'?: number | undefined;
85
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
86
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
87
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
88
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
89
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
90
+ 'aria-owns'?: string | undefined;
91
+ 'aria-placeholder'?: string | undefined;
92
+ 'aria-posinset'?: number | undefined;
93
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
94
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
95
+ 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
96
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
97
+ 'aria-roledescription'?: string | undefined;
98
+ 'aria-rowcount'?: number | undefined;
99
+ 'aria-rowindex'?: number | undefined;
100
+ 'aria-rowindextext'?: string | undefined;
101
+ 'aria-rowspan'?: number | undefined;
102
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
103
+ 'aria-setsize'?: number | undefined;
104
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
105
+ 'aria-valuemax'?: number | undefined;
106
+ 'aria-valuemin'?: number | undefined;
107
+ 'aria-valuenow'?: number | undefined;
108
+ 'aria-valuetext'?: string | undefined;
107
109
  dangerouslySetInnerHTML?: {
108
110
  __html: string | TrustedHTML;
109
111
  } | undefined;
@@ -322,60 +324,60 @@ export declare const SliderInnerWrapper: import('styled-components').IStyledComp
322
324
  unselectable?: "on" | "off" | undefined;
323
325
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
324
326
  is?: string | undefined;
325
- children?: import('react').ReactNode;
326
- "aria-activedescendant"?: string | undefined;
327
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
328
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
329
- "aria-braillelabel"?: string | undefined;
330
- "aria-brailleroledescription"?: string | undefined;
331
- "aria-busy"?: (boolean | "true" | "false") | undefined;
332
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
333
- "aria-colcount"?: number | undefined;
334
- "aria-colindex"?: number | undefined;
335
- "aria-colindextext"?: string | undefined;
336
- "aria-colspan"?: number | undefined;
337
- "aria-controls"?: string | undefined;
338
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
339
- "aria-describedby"?: string | undefined;
340
- "aria-description"?: string | undefined;
341
- "aria-details"?: string | undefined;
342
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
343
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
344
- "aria-errormessage"?: string | undefined;
345
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
346
- "aria-flowto"?: string | undefined;
347
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
348
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
349
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
350
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
351
- "aria-keyshortcuts"?: string | undefined;
352
- "aria-label"?: string | undefined;
353
- "aria-labelledby"?: string | undefined;
354
- "aria-level"?: number | undefined;
355
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
356
- "aria-modal"?: (boolean | "true" | "false") | undefined;
357
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
358
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
359
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
360
- "aria-owns"?: string | undefined;
361
- "aria-placeholder"?: string | undefined;
362
- "aria-posinset"?: number | undefined;
363
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
364
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
365
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
366
- "aria-required"?: (boolean | "true" | "false") | undefined;
367
- "aria-roledescription"?: string | undefined;
368
- "aria-rowcount"?: number | undefined;
369
- "aria-rowindex"?: number | undefined;
370
- "aria-rowindextext"?: string | undefined;
371
- "aria-rowspan"?: number | undefined;
372
- "aria-selected"?: (boolean | "true" | "false") | undefined;
373
- "aria-setsize"?: number | undefined;
374
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
375
- "aria-valuemax"?: number | undefined;
376
- "aria-valuemin"?: number | undefined;
377
- "aria-valuenow"?: number | undefined;
378
- "aria-valuetext"?: string | undefined;
327
+ children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
328
+ 'aria-activedescendant'?: string | undefined;
329
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
330
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
331
+ 'aria-braillelabel'?: string | undefined;
332
+ 'aria-brailleroledescription'?: string | undefined;
333
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
334
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
335
+ 'aria-colcount'?: number | undefined;
336
+ 'aria-colindex'?: number | undefined;
337
+ 'aria-colindextext'?: string | undefined;
338
+ 'aria-colspan'?: number | undefined;
339
+ 'aria-controls'?: string | undefined;
340
+ 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
341
+ 'aria-describedby'?: string | undefined;
342
+ 'aria-description'?: string | undefined;
343
+ 'aria-details'?: string | undefined;
344
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
345
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
346
+ 'aria-errormessage'?: string | undefined;
347
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
348
+ 'aria-flowto'?: string | undefined;
349
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
350
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
351
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
352
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
353
+ 'aria-keyshortcuts'?: string | undefined;
354
+ 'aria-label'?: string | undefined;
355
+ 'aria-labelledby'?: string | undefined;
356
+ 'aria-level'?: number | undefined;
357
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
358
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
359
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
360
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
361
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
362
+ 'aria-owns'?: string | undefined;
363
+ 'aria-placeholder'?: string | undefined;
364
+ 'aria-posinset'?: number | undefined;
365
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
366
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
367
+ 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
368
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
369
+ 'aria-roledescription'?: string | undefined;
370
+ 'aria-rowcount'?: number | undefined;
371
+ 'aria-rowindex'?: number | undefined;
372
+ 'aria-rowindextext'?: string | undefined;
373
+ 'aria-rowspan'?: number | undefined;
374
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
375
+ 'aria-setsize'?: number | undefined;
376
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
377
+ 'aria-valuemax'?: number | undefined;
378
+ 'aria-valuemin'?: number | undefined;
379
+ 'aria-valuenow'?: number | undefined;
380
+ 'aria-valuetext'?: string | undefined;
379
381
  dangerouslySetInnerHTML?: {
380
382
  __html: string | TrustedHTML;
381
383
  } | undefined;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
1
3
  export declare const HiddenOutput: import('styled-components').IStyledComponent<"web", {
2
4
  ref?: import('react').LegacyRef<HTMLOutputElement> | undefined;
3
5
  key?: import('react').Key | null | undefined;
@@ -53,60 +55,60 @@ export declare const HiddenOutput: import('styled-components').IStyledComponent<
53
55
  unselectable?: "on" | "off" | undefined;
54
56
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
55
57
  is?: string | undefined;
56
- children?: import('react').ReactNode;
57
- "aria-activedescendant"?: string | undefined;
58
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
59
- "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
60
- "aria-braillelabel"?: string | undefined;
61
- "aria-brailleroledescription"?: string | undefined;
62
- "aria-busy"?: (boolean | "true" | "false") | undefined;
63
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
64
- "aria-colcount"?: number | undefined;
65
- "aria-colindex"?: number | undefined;
66
- "aria-colindextext"?: string | undefined;
67
- "aria-colspan"?: number | undefined;
68
- "aria-controls"?: string | undefined;
69
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
70
- "aria-describedby"?: string | undefined;
71
- "aria-description"?: string | undefined;
72
- "aria-details"?: string | undefined;
73
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
74
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
75
- "aria-errormessage"?: string | undefined;
76
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
77
- "aria-flowto"?: string | undefined;
78
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
79
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
80
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
81
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
82
- "aria-keyshortcuts"?: string | undefined;
83
- "aria-label"?: string | undefined;
84
- "aria-labelledby"?: string | undefined;
85
- "aria-level"?: number | undefined;
86
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
87
- "aria-modal"?: (boolean | "true" | "false") | undefined;
88
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
89
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
90
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
91
- "aria-owns"?: string | undefined;
92
- "aria-placeholder"?: string | undefined;
93
- "aria-posinset"?: number | undefined;
94
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
95
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
96
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
- "aria-required"?: (boolean | "true" | "false") | undefined;
98
- "aria-roledescription"?: string | undefined;
99
- "aria-rowcount"?: number | undefined;
100
- "aria-rowindex"?: number | undefined;
101
- "aria-rowindextext"?: string | undefined;
102
- "aria-rowspan"?: number | undefined;
103
- "aria-selected"?: (boolean | "true" | "false") | undefined;
104
- "aria-setsize"?: number | undefined;
105
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
106
- "aria-valuemax"?: number | undefined;
107
- "aria-valuemin"?: number | undefined;
108
- "aria-valuenow"?: number | undefined;
109
- "aria-valuetext"?: string | undefined;
58
+ children?: import('react').ReactNode | Iterable<import('react').ReactNode>;
59
+ 'aria-activedescendant'?: string | undefined;
60
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
61
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
62
+ 'aria-braillelabel'?: string | undefined;
63
+ 'aria-brailleroledescription'?: string | undefined;
64
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
65
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
66
+ 'aria-colcount'?: number | undefined;
67
+ 'aria-colindex'?: number | undefined;
68
+ 'aria-colindextext'?: string | undefined;
69
+ 'aria-colspan'?: number | undefined;
70
+ 'aria-controls'?: string | undefined;
71
+ 'aria-current'?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
72
+ 'aria-describedby'?: string | undefined;
73
+ 'aria-description'?: string | undefined;
74
+ 'aria-details'?: string | undefined;
75
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
76
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
77
+ 'aria-errormessage'?: string | undefined;
78
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
79
+ 'aria-flowto'?: string | undefined;
80
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
81
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
82
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
83
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
84
+ 'aria-keyshortcuts'?: string | undefined;
85
+ 'aria-label'?: string | undefined;
86
+ 'aria-labelledby'?: string | undefined;
87
+ 'aria-level'?: number | undefined;
88
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
89
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
90
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
91
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
92
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
93
+ 'aria-owns'?: string | undefined;
94
+ 'aria-placeholder'?: string | undefined;
95
+ 'aria-posinset'?: number | undefined;
96
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
97
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
99
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
100
+ 'aria-roledescription'?: string | undefined;
101
+ 'aria-rowcount'?: number | undefined;
102
+ 'aria-rowindex'?: number | undefined;
103
+ 'aria-rowindextext'?: string | undefined;
104
+ 'aria-rowspan'?: number | undefined;
105
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
106
+ 'aria-setsize'?: number | undefined;
107
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
108
+ 'aria-valuemax'?: number | undefined;
109
+ 'aria-valuemin'?: number | undefined;
110
+ 'aria-valuenow'?: number | undefined;
111
+ 'aria-valuetext'?: string | undefined;
110
112
  dangerouslySetInnerHTML?: {
111
113
  __html: string | TrustedHTML;
112
114
  } | undefined;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=require("react-i18next"),u=require("../../../../charts/Readout/index.cjs"),i=require("../../helpers.cjs"),m=require("./styles.cjs"),s=({gaussianWidth:t,className:n})=>{const{t:r,i18n:{language:a}}=o.useTranslation(),l=i.estimateMagnitude(0,t),c=i.estimateMagnitude(15,t)-l;return e.jsxs(u.default,{className:n,children:[e.jsx(m.Line,{}),e.jsxs("math",{xmlns:"http://www.w3.org/1998/Math/MathML",children:[e.jsx("mn",{children:"Δ"}),e.jsxs("msub",{children:[e.jsx("mi",{children:"m"}),e.jsx("mn",{children:"15"})]}),e.jsx("mo",{children:"="}),e.jsx("mn",{role:"status","aria-live":"polite","aria-label":r("light_curve.deltaM15.label")||void 0,children:Number(c).toLocaleString(a,{minimumFractionDigits:2,maximumFractionDigits:2})})]})]})};s.displayName="Widgets.LightCurve.DM15Display";const d=s;exports.default=d;
1
+ "use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("react-i18next"),o=require("../../../../charts/Readout/index.cjs"),i=require("../../helpers.cjs"),s=({gaussianWidth:t,className:n})=>{const{t:a,i18n:{language:r}}=u.useTranslation(),l=i.estimateMagnitude(0,t),c=i.estimateMagnitude(15,t)-l;return e.jsx(o.default,{className:n,children:e.jsxs("math",{xmlns:"http://www.w3.org/1998/Math/MathML",children:[e.jsx("mn",{children:"Δ"}),e.jsxs("msub",{children:[e.jsx("mi",{children:"m"}),e.jsx("mn",{children:"15"})]}),e.jsx("mo",{children:"="}),e.jsx("mn",{role:"status","aria-live":"polite","aria-label":a("light_curve.deltaM15.label"),children:Number(c).toLocaleString(r,{minimumFractionDigits:2,maximumFractionDigits:2})})]})})};s.displayName="Widgets.LightCurve.DM15Display";const m=s;exports.default=m;
@@ -11,5 +11,5 @@ declare function DM15Display({ gaussianWidth, className }: {
11
11
  className?: string | undefined;
12
12
  }): import("react/jsx-runtime").JSX.Element;
13
13
  declare namespace DM15Display {
14
- const displayName: string;
14
+ let displayName: string;
15
15
  }