@rubin-epo/epo-widget-lib 0.9.9 → 0.9.11-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/CameraFilter.cjs +1 -1
- package/dist/CameraFilter.js +14 -15
- package/dist/FilterTool.cjs +1 -1
- package/dist/FilterTool.js +1 -1
- package/dist/charts/Base/styles.d.ts +1 -1
- package/dist/charts/styles.d.ts +6 -6
- package/dist/layout/Controls/styles.cjs +14 -19
- package/dist/layout/Controls/styles.js +20 -25
- package/dist/widgets/CameraFilter/styles.cjs +21 -20
- package/dist/widgets/CameraFilter/styles.d.ts +13 -4
- package/dist/widgets/CameraFilter/styles.js +50 -47
- package/dist/widgets/FilterTool/styles.d.ts +6 -6
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.cjs +1 -1
- package/dist/widgets/LightCurvePlot/PlotWithCurve/index.js +99 -98
- package/dist/widgets/SupernovaThreeVector/Histogram/styles.d.ts +1 -1
- package/dist/widgets/SupernovaThreeVector/Skymap/styles.d.ts +7 -7
- package/package.json +1 -1
package/dist/CameraFilter.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),q=require("react"),v=require("@rubin-epo/epo-react-lib/SelectListbox"),
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),q=require("react"),v=require("@rubin-epo/epo-react-lib/SelectListbox"),S=require("@rubin-epo/epo-react-lib/styles"),y=require("react-i18next"),R=require("use-resize-observer"),r=require("./widgets/CameraFilter/data.cjs"),l=require("./widgets/CameraFilter/styles.cjs"),C=require("./widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.cjs"),L=require("./widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.cjs"),x=i=>i&&i.__esModule?i:{default:i},M=x(v),O=x(R),m=()=>{const{t:i}=y.useTranslation(),{ref:h,width:j=1}=O.default(),[o,p]=q.useState(null),{BREAK_TABLET:b}=S.tokens,s=j<parseInt(b),{[s?"condensed":"default"]:{min:c,max:g,range:n}}=r.rangeConfig,d=r.filters[0].range[0],u=r.filters[r.filters.length-1].range[1]-d,f=r.filters.filter(({band:t})=>t),F=[{value:"none",label:i("camera_filter.labels.option",{context:"none"})}].concat(f.map(({band:t})=>({value:t,label:i("camera_filter.labels.option",{band:t})}))),_=r.filters.find(({band:t})=>t===o);return e.jsx(l.FilterWrapper,{ratio:"landscape",smallScreenRatio:"square",children:e.jsxs(l.FilterContainer,{ref:h,children:[e.jsx(l.FilterTitle,{children:i("camera_filter.title")}),s&&e.jsx(C.default,{filters:f,min:c,spectrumRange:n}),e.jsxs(l.FilterTable,{style:{"--filter-table-margin-inline-start":`${((d-c)/n*100).toFixed(2)}%`,"--filter-table-width":`${(u/n*100).toFixed(2)}%`},"data-testid":"expanded-filters",children:[e.jsx("colgroup",{children:r.filters.map(({range:t})=>e.jsx("col",{style:{width:`${(t[1]-t[0])/u*100}%`}},t.join("")))}),e.jsx(l.FilterNames,{children:e.jsx("tr",{children:r.filters.map(({band:t},a)=>e.jsx(l.FilterName,{id:`${t}-name`,style:{"--filter-name-border":t?"solid #b2b2b2":"none"},scope:"col","aria-hidden":!t,children:t},a))})}),!s&&e.jsx(l.FilterRanges,{children:e.jsx("tr",{children:r.filters.map(({band:t,range:a})=>e.jsx(l.FilterRange,{"aria-hidden":!t,children:t&&e.jsxs(e.Fragment,{children:[a.join("–"),e.jsx("br",{}),e.jsx(l.Wavelength,{children:"nm"})]})},a.join()))})})]}),e.jsx(L.default,{min:c,max:g,range:n,isCondensed:s,activeFilter:_}),e.jsxs(l.SelectContainer,{children:[e.jsx(l.SelectLabel,{id:"filterSelectLabel",children:i("camera_filter.labels.select")}),e.jsx(M.default,{options:F,value:o,onChangeCallback:t=>p(t),width:"100%",maxWidth:"100%",labelledById:"filterSelectLabel"})]})]})})};m.displayName="Widgets.CameraFilter";exports.default=m;
|
package/dist/CameraFilter.js
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
import { jsx as t, jsxs as o, Fragment as C } from "react/jsx-runtime";
|
|
3
3
|
import { useState as v } from "react";
|
|
4
4
|
import R from "@rubin-epo/epo-react-lib/SelectListbox";
|
|
5
|
-
import { tokens as
|
|
6
|
-
import { useTranslation as
|
|
5
|
+
import { tokens as S } from "@rubin-epo/epo-react-lib/styles";
|
|
6
|
+
import { useTranslation as y } from "react-i18next";
|
|
7
7
|
import j from "use-resize-observer";
|
|
8
8
|
import { filters as i, rangeConfig as B } from "./widgets/CameraFilter/data.js";
|
|
9
|
-
import {
|
|
10
|
-
import k from "./layout/AspectRatio/index.js";
|
|
9
|
+
import { FilterWrapper as L, FilterContainer as T, FilterTitle as _, FilterTable as w, FilterNames as O, FilterName as W, FilterRanges as $, FilterRange as A, Wavelength as M, SelectContainer as N, SelectLabel as k } from "./widgets/CameraFilter/styles.js";
|
|
11
10
|
import E from "./widgets/CameraFilter/CondensedFilterRanges/CondensedFilterRanges.js";
|
|
12
11
|
import I from "./widgets/CameraFilter/SpectrumDisplay/SpectrumDisplay.js";
|
|
13
|
-
const
|
|
14
|
-
const { t: r } =
|
|
12
|
+
const q = () => {
|
|
13
|
+
const { t: r } = y(), { ref: p, width: h = 1 } = j(), [c, F] = v(null), { BREAK_TABLET: b } = S, l = h < parseInt(b), {
|
|
15
14
|
[l ? "condensed" : "default"]: { min: s, max: g, range: n }
|
|
16
15
|
} = B, d = i[0].range[0], m = i[i.length - 1].range[1] - d, f = i.filter(({ band: e }) => e), u = [{
|
|
17
16
|
value: "none",
|
|
@@ -22,8 +21,8 @@ const z = () => {
|
|
|
22
21
|
label: r("camera_filter.labels.option", { band: e })
|
|
23
22
|
}))
|
|
24
23
|
), x = i.find(({ band: e }) => e === c);
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
26
|
-
/* @__PURE__ */ t(
|
|
24
|
+
return /* @__PURE__ */ t(L, { ratio: "landscape", smallScreenRatio: "square", children: /* @__PURE__ */ o(T, { ref: p, children: [
|
|
25
|
+
/* @__PURE__ */ t(_, { children: r("camera_filter.title") }),
|
|
27
26
|
l && /* @__PURE__ */ t(
|
|
28
27
|
E,
|
|
29
28
|
{
|
|
@@ -33,7 +32,7 @@ const z = () => {
|
|
|
33
32
|
}
|
|
34
33
|
),
|
|
35
34
|
/* @__PURE__ */ o(
|
|
36
|
-
|
|
35
|
+
w,
|
|
37
36
|
{
|
|
38
37
|
style: {
|
|
39
38
|
"--filter-table-margin-inline-start": `${((d - s) / n * 100).toFixed(2)}%`,
|
|
@@ -50,8 +49,8 @@ const z = () => {
|
|
|
50
49
|
},
|
|
51
50
|
e.join("")
|
|
52
51
|
)) }),
|
|
53
|
-
/* @__PURE__ */ t(
|
|
54
|
-
|
|
52
|
+
/* @__PURE__ */ t(O, { children: /* @__PURE__ */ t("tr", { children: i.map(({ band: e }, a) => /* @__PURE__ */ t(
|
|
53
|
+
W,
|
|
55
54
|
{
|
|
56
55
|
id: `${e}-name`,
|
|
57
56
|
style: {
|
|
@@ -63,7 +62,7 @@ const z = () => {
|
|
|
63
62
|
},
|
|
64
63
|
a
|
|
65
64
|
)) }) }),
|
|
66
|
-
!l && /* @__PURE__ */ t(
|
|
65
|
+
!l && /* @__PURE__ */ t($, { children: /* @__PURE__ */ t("tr", { children: i.map(({ band: e, range: a }) => /* @__PURE__ */ t(A, { "aria-hidden": !e, children: e && /* @__PURE__ */ o(C, { children: [
|
|
67
66
|
a.join("–"),
|
|
68
67
|
/* @__PURE__ */ t("br", {}),
|
|
69
68
|
/* @__PURE__ */ t(M, { children: "nm" })
|
|
@@ -82,7 +81,7 @@ const z = () => {
|
|
|
82
81
|
}
|
|
83
82
|
),
|
|
84
83
|
/* @__PURE__ */ o(N, { children: [
|
|
85
|
-
/* @__PURE__ */ t(
|
|
84
|
+
/* @__PURE__ */ t(k, { id: "filterSelectLabel", children: r("camera_filter.labels.select") }),
|
|
86
85
|
/* @__PURE__ */ t(
|
|
87
86
|
R,
|
|
88
87
|
{
|
|
@@ -97,7 +96,7 @@ const z = () => {
|
|
|
97
96
|
] })
|
|
98
97
|
] }) });
|
|
99
98
|
};
|
|
100
|
-
|
|
99
|
+
q.displayName = "Widgets.CameraFilter";
|
|
101
100
|
export {
|
|
102
|
-
|
|
101
|
+
q as default
|
|
103
102
|
};
|
package/dist/FilterTool.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),i=require("react-i18next"),m=require("@rubin-epo/epo-react-lib/SelectListbox"),_=require("@rubin-epo/epo-react-lib/ColorSwatch"),r=require("./widgets/FilterTool/styles.cjs"),d=e=>e&&e.__esModule?e:{default:e},b=d(m),C=d(_),j=({selectedColor:e="none",selectionCallback:f,isDisabled:c=!1,id:h,labelledById:u})=>{const{t:l}=i.useTranslation(),t={violet:"#861cff",blue:"#
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),i=require("react-i18next"),m=require("@rubin-epo/epo-react-lib/SelectListbox"),_=require("@rubin-epo/epo-react-lib/ColorSwatch"),r=require("./widgets/FilterTool/styles.cjs"),d=e=>e&&e.__esModule?e:{default:e},b=d(m),C=d(_),j=({selectedColor:e="none",selectionCallback:f,isDisabled:c=!1,id:h,labelledById:u})=>{const{t:l}=i.useTranslation(),t={violet:"#861cff",blue:"#006da8",green:"#6bd853",yellow:"#ffdd15",orange:"#f18922",red:"#ec1c24",none:"transparent"},p={violet:"M546.1,312.5l212.8,1.9h0.4l0.5,0.2L1396,522.8c6.9,2.3,10.7,9.7,8.5,16.7s-9.7,10.7-16.7,8.5l0,0l-0.4-0.1L757.8,320.4l0.9,0.2L546.1,312.5z",blue:"M546.1,312.4l206.5-4.4h0.4l0.4,0.1l641.1,164c7,1.8,11.2,8.9,9.4,15.9c-1.8,7-8.9,11.2-15.9,9.4l-0.4-0.1L751.8,313.8l0.8,0.1L546.1,312.4z",green:"M547.8,312l200.6-10.6h0.3l0.4,0.1l644.8,120.3c7,1.4,11.5,8.2,10.1,15.2c-1.4,6.9-8,11.4-14.9,10.2l-0.4-0.1L747.8,307.4l0.7,0.1L547.8,312z",yellow:"M546.1,312.5l205.8-17.3h0.3h0.4l640.4,75.3c7.1,0.8,12.2,7.2,11.3,14.3c-0.8,7.1-7.2,12.2-14.3,11.3l-0.4-0.1l-637.9-94.5h0.6L546.1,312.5z",orange:"M546.1,311l189.3-21.8h0.2h0.3l656.5,33.3c7,0.4,12.4,6.3,12,13.3s-6.3,12.4-13.3,12h-0.4l-655.2-52.9h0.5L546.1,311z",red:"M546.1,311L730,283.9h0.1h0.2l661.4-9.9c6.9-0.1,12.6,5.4,12.7,12.3s-5.4,12.6-12.3,12.7h-0.4l-661.4-9.8h0.4L546.1,311z"},n={violet:[[1426.5,547.9],[1353.2,550.6],[1377.9,530.1],[1372.3,498.5]],blue:[[1431.5,496.4],[1358.6,504.1],[1381.8,482],[1374.1,450.9]],green:[[1437.9,443.4],[1366.1,458.4],[1387,434.1],[1376.2,403.9]],yellow:[[1438.9,389.7],[1368,408.2],[1387.6,382.8],[1375.4,353.3]],orange:[[1443.7,340.3],[1373.9,362.8],[1392.1,336.4],[1378.2,307.5]],red:[[1441.9,290],[1372.4,313.2],[1390.3,286.6],[1376.1,257.9]]},g=Object.keys(t).map(s=>({value:s,label:l(`filterTool.colors.${s}`),icon:o.jsx(C.default,{color:s,size:"small"})})),x=s=>e!==s&&e!=="none",y=l("filterTool.selectLabel"),a=e==="none";return o.jsxs(r.Wrapper,{ratio:"landscape",children:[o.jsxs(r.PrismSVG,{version:"1.1",viewBox:"0 0 1551.6 736.7","aria-labelledby":u,children:[o.jsxs("defs",{children:[o.jsxs("linearGradient",{id:"no-arrow-red",children:[o.jsx("stop",{offset:"0%",stopColor:t.red}),o.jsx("stop",{offset:"81%",stopColor:t.red}),o.jsx("stop",{offset:"81%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]}),o.jsxs("linearGradient",{id:"no-arrow-orange",children:[o.jsx("stop",{offset:"0%",stopColor:t.orange}),o.jsx("stop",{offset:"80%",stopColor:t.orange}),o.jsx("stop",{offset:"80%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]}),o.jsxs("linearGradient",{id:"no-arrow-yellow",children:[o.jsx("stop",{offset:"0%",stopColor:t.yellow}),o.jsx("stop",{offset:"79%",stopColor:t.yellow}),o.jsx("stop",{offset:"79%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]}),o.jsxs("linearGradient",{id:"no-arrow-green",children:[o.jsx("stop",{offset:"0%",stopColor:t.green}),o.jsx("stop",{offset:"78%",stopColor:t.green}),o.jsx("stop",{offset:"78%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]}),o.jsxs("linearGradient",{id:"no-arrow-blue",children:[o.jsx("stop",{offset:"0%",stopColor:t.blue}),o.jsx("stop",{offset:"77%",stopColor:t.blue}),o.jsx("stop",{offset:"77%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]}),o.jsxs("linearGradient",{id:"no-arrow-violet",children:[o.jsx("stop",{offset:"0%",stopColor:t.violet}),o.jsx("stop",{offset:"77%",stopColor:t.violet}),o.jsx("stop",{offset:"77%",stopColor:"transparent"}),o.jsx("stop",{offset:"100%",stopColor:"transparent"})]})]}),o.jsxs("radialGradient",{id:"gradient_1_",cx:"718.4264",cy:"-294.6529",r:"417.8",fx:"638.9412",fy:"-303.5418",gradientTransform:"matrix(1 0 0 1 0 534)",gradientUnits:"userSpaceOnUse",children:[o.jsx("stop",{offset:"0.12",style:{stopColor:"#FFFFFF"}}),o.jsx("stop",{offset:"1",style:{stopColor:"#000000"}})]}),o.jsxs("g",{children:[o.jsx(r.WhiteLine,{id:"white_ray",x1:"108.2",y1:"463.3",x2:"546.1",y2:"312.5"}),o.jsx(r.WhiteLine,{id:"white_light_arrow_line",x1:"376.8",y1:"327.9",x2:"430",y2:"309.6"}),o.jsx("polygon",{id:"white_light_arrow",points:"420.7,325.4 428.1,310.3 413,302.9 422.5,299.7 437.6,307 430.2,322.1",fill:"#ffffff"}),o.jsx("text",{transform:"matrix(0.9446 -0.3282 0.3282 0.9446 152.0965 417.697)",fill:"#ffffff",children:o.jsx(i.Trans,{i18nKey:"filterTool.whiteLight"})})]}),o.jsxs("g",{children:[o.jsx("text",{transform:"matrix(1 0 0 1 598.2964 606.0872)",fill:"#ffffff",children:o.jsx(i.Trans,{i18nKey:"filterTool.prism"})}),o.jsx("polygon",{id:"gradient",points:"653.2,127 867.4,498 438.9,498",fill:"url(#gradient_1_)",style:{opacity:.3}})]}),o.jsx(r.PrismOutline,{id:"outline",points:"653.2,127 760.3,312.5 867.4,498 653.2,498 438.9,498 546.1,312.5 "}),o.jsx("g",{role:"list",id:"rays_out","aria-label":l("filterTool.light_out"),children:Object.keys(p).map(s=>o.jsx(r.Ray,{id:`${s}_ray`,style:{"--ray-fill":x(s)?`url(#no-arrow-${s})`:t[s]},d:p[s],role:"listitem","aria-label":l(`filterTool.colors.${s}`)},s))}),o.jsxs("g",{children:[o.jsx("text",{transform:"matrix(1 0 0 1 1206.5464 164.1372)",fill:"#ffffff",children:o.jsx(i.Trans,{i18nKey:"filterTool.filter"})}),o.jsx(r.Filter,{id:"filter",x1:"1255.6",y1:"235.7",x2:"1193.1",y2:"550.3",stroke:t[e],fill:"#ffffff","aria-label":l(`filterTool.colors.${e}`)})]}),o.jsxs("g",{role:"list",id:"rays_filtered","aria-label":l("filterTool.light_filtered"),children:[Object.keys(n).map(s=>o.jsx(r.Arrow,{id:`${s}_arrow`,style:{"--arrow-opacity":x(s)&&0,"--arrow-fill":t[s]},points:n[s].map(w=>w.join(",")).join(" "),role:a?"listitem":"presentation","aria-label":a?l(`filterTool.colors.${s}`):void 0},s)),!a&&o.jsx("text",{role:"listitem",x:n[e][3][0],y:n[e][3][1],fill:"#ffffff",dy:"-25",children:o.jsx(i.Trans,{i18nKey:`filterTool.colors.${e}`})})]})]}),o.jsx(r.SelectContainer,{children:o.jsx(b.default,{options:g,isDisabled:c,value:e,onChangeCallback:s=>f&&f(s||"none"),placeholder:y,maxWidth:"100%",width:"200px",id:h})})]})};j.displayName="Widgets.FilterTool";exports.default=j;
|
package/dist/FilterTool.js
CHANGED
|
@@ -1283,7 +1283,7 @@ export declare const SVG: import("styled-components").IStyledComponent<"web", {
|
|
|
1283
1283
|
stroke?: string | undefined;
|
|
1284
1284
|
strokeDasharray?: string | number | undefined;
|
|
1285
1285
|
strokeDashoffset?: string | number | undefined;
|
|
1286
|
-
strokeLinecap?: "inherit" | "
|
|
1286
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1287
1287
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1288
1288
|
strokeMiterlimit?: string | number | undefined;
|
|
1289
1289
|
strokeOpacity?: string | number | undefined;
|
package/dist/charts/styles.d.ts
CHANGED
|
@@ -195,7 +195,7 @@ export declare const BaseLine: import("styled-components").IStyledComponent<"web
|
|
|
195
195
|
stroke?: string | undefined;
|
|
196
196
|
strokeDasharray?: string | number | undefined;
|
|
197
197
|
strokeDashoffset?: string | number | undefined;
|
|
198
|
-
strokeLinecap?: "inherit" | "
|
|
198
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
199
199
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
200
200
|
strokeMiterlimit?: string | number | undefined;
|
|
201
201
|
strokeOpacity?: string | number | undefined;
|
|
@@ -677,7 +677,7 @@ export declare const Guide: import("styled-components").IStyledComponent<"web",
|
|
|
677
677
|
stroke?: string | undefined;
|
|
678
678
|
strokeDasharray?: string | number | undefined;
|
|
679
679
|
strokeDashoffset?: string | number | undefined;
|
|
680
|
-
strokeLinecap?: "inherit" | "
|
|
680
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
681
681
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
682
682
|
strokeMiterlimit?: string | number | undefined;
|
|
683
683
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1159,7 +1159,7 @@ export declare const Tick: import("styled-components").IStyledComponent<"web", {
|
|
|
1159
1159
|
stroke?: string | undefined;
|
|
1160
1160
|
strokeDasharray?: string | number | undefined;
|
|
1161
1161
|
strokeDashoffset?: string | number | undefined;
|
|
1162
|
-
strokeLinecap?: "inherit" | "
|
|
1162
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1163
1163
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1164
1164
|
strokeMiterlimit?: string | number | undefined;
|
|
1165
1165
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1641,7 +1641,7 @@ export declare const Bar: import("styled-components").IStyledComponent<"web", {
|
|
|
1641
1641
|
stroke?: string | undefined;
|
|
1642
1642
|
strokeDasharray?: string | number | undefined;
|
|
1643
1643
|
strokeDashoffset?: string | number | undefined;
|
|
1644
|
-
strokeLinecap?: "inherit" | "
|
|
1644
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1645
1645
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1646
1646
|
strokeMiterlimit?: string | number | undefined;
|
|
1647
1647
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2123,7 +2123,7 @@ export declare const XLabel: import("styled-components").IStyledComponent<"web",
|
|
|
2123
2123
|
stroke?: string | undefined;
|
|
2124
2124
|
strokeDasharray?: string | number | undefined;
|
|
2125
2125
|
strokeDashoffset?: string | number | undefined;
|
|
2126
|
-
strokeLinecap?: "inherit" | "
|
|
2126
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2127
2127
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2128
2128
|
strokeMiterlimit?: string | number | undefined;
|
|
2129
2129
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2605,7 +2605,7 @@ export declare const YLabel: import("styled-components").IStyledComponent<"web",
|
|
|
2605
2605
|
stroke?: string | undefined;
|
|
2606
2606
|
strokeDasharray?: string | number | undefined;
|
|
2607
2607
|
strokeDashoffset?: string | number | undefined;
|
|
2608
|
-
strokeLinecap?: "inherit" | "
|
|
2608
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2609
2609
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2610
2610
|
strokeMiterlimit?: string | number | undefined;
|
|
2611
2611
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),e=require("@rubin-epo/epo-react-lib/styles"),n=i=>i&&i.__esModule?i:{default:i},t=n(a),o=t.default.div`
|
|
2
2
|
--default-widget-padding: calc(var(--PADDING_SMALL, 20px) / 2);
|
|
3
3
|
--widget-gap: var(--widget-padding, var(--default-widget-padding));
|
|
4
4
|
|
|
@@ -10,54 +10,49 @@
|
|
|
10
10
|
gap: var(--widget-gap);
|
|
11
11
|
overflow-y: auto;
|
|
12
12
|
|
|
13
|
-
@container (min-width: ${
|
|
13
|
+
@container (min-width: ${e.token("BREAK_PHABLET_MIN")}) {
|
|
14
14
|
--default-widget-padding: var(--PADDING_SMALL, 20px);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@container (min-width: ${
|
|
17
|
+
@container (min-width: ${e.token("BREAK_LARGE_TABLET")}) {
|
|
18
18
|
height: 100%;
|
|
19
19
|
overflow-y: initial;
|
|
20
20
|
}
|
|
21
|
-
`,d=
|
|
21
|
+
`,d=t.default.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
flex-grow: 1;
|
|
25
25
|
gap: var(--widget-gap);
|
|
26
26
|
|
|
27
|
-
@container (min-width: ${
|
|
27
|
+
@container (min-width: ${e.token("BREAK_LARGE_TABLET")}) {
|
|
28
28
|
flex-direction: row-reverse;
|
|
29
29
|
}
|
|
30
|
-
`,l=
|
|
30
|
+
`,l=t.default.div`
|
|
31
31
|
aspect-ratio: 1;
|
|
32
32
|
flex: 1 1 auto;
|
|
33
33
|
max-height: 100%;
|
|
34
34
|
max-width: 100%;
|
|
35
35
|
justify-self: center;
|
|
36
36
|
|
|
37
|
-
@container (min-width: ${
|
|
37
|
+
@container (min-width: ${e.token("BREAK_LARGE_TABLET")}) {
|
|
38
38
|
max-height: unset;
|
|
39
39
|
height: 100%;
|
|
40
40
|
}
|
|
41
|
-
`,r=
|
|
41
|
+
`,r=t.default.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
gap: var(--widget-gap);
|
|
45
45
|
flex: 0 1 100%;
|
|
46
|
-
`,c=
|
|
46
|
+
`,c=t.default.div`
|
|
47
47
|
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
48
|
gap: var(--widget-gap);
|
|
50
|
-
|
|
51
|
-
@container (min-width: ${
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
}
|
|
54
|
-
`,s=e.default.div`
|
|
55
|
-
@container (min-width: ${t.token("BREAK_LARGE_TABLET")}) {
|
|
49
|
+
`,s=t.default.div`
|
|
50
|
+
@container (min-width: ${e.token("BREAK_LARGE_TABLET")}) {
|
|
56
51
|
display: none;
|
|
57
52
|
}
|
|
58
|
-
`,g=
|
|
53
|
+
`,g=t.default.div`
|
|
59
54
|
display: none;
|
|
60
|
-
@container (min-width: ${
|
|
55
|
+
@container (min-width: ${e.token("BREAK_LARGE_TABLET")}) {
|
|
61
56
|
display: block;
|
|
62
57
|
}
|
|
63
|
-
`;exports.Actions=c;exports.Controls=r;exports.InteractionRow=d;exports.LandscapeCaption=g;exports.PortraitCaption=s;exports.Widget=l;exports.WidgetLayout=
|
|
58
|
+
`;exports.Actions=c;exports.Controls=r;exports.InteractionRow=d;exports.LandscapeCaption=g;exports.PortraitCaption=s;exports.Widget=l;exports.WidgetLayout=o;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import { token as
|
|
4
|
-
const
|
|
2
|
+
import i from "styled-components";
|
|
3
|
+
import { token as t } from "@rubin-epo/epo-react-lib/styles";
|
|
4
|
+
const n = i.div`
|
|
5
5
|
--default-widget-padding: calc(var(--PADDING_SMALL, 20px) / 2);
|
|
6
6
|
--widget-gap: var(--widget-padding, var(--default-widget-padding));
|
|
7
7
|
|
|
@@ -13,63 +13,58 @@ const a = t.div`
|
|
|
13
13
|
gap: var(--widget-gap);
|
|
14
14
|
overflow-y: auto;
|
|
15
15
|
|
|
16
|
-
@container (min-width: ${
|
|
16
|
+
@container (min-width: ${t("BREAK_PHABLET_MIN")}) {
|
|
17
17
|
--default-widget-padding: var(--PADDING_SMALL, 20px);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@container (min-width: ${
|
|
20
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
21
21
|
height: 100%;
|
|
22
22
|
overflow-y: initial;
|
|
23
23
|
}
|
|
24
|
-
`,
|
|
24
|
+
`, d = i.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
flex-grow: 1;
|
|
28
28
|
gap: var(--widget-gap);
|
|
29
29
|
|
|
30
|
-
@container (min-width: ${
|
|
30
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
31
31
|
flex-direction: row-reverse;
|
|
32
32
|
}
|
|
33
|
-
`,
|
|
33
|
+
`, o = i.div`
|
|
34
34
|
aspect-ratio: 1;
|
|
35
35
|
flex: 1 1 auto;
|
|
36
36
|
max-height: 100%;
|
|
37
37
|
max-width: 100%;
|
|
38
38
|
justify-self: center;
|
|
39
39
|
|
|
40
|
-
@container (min-width: ${
|
|
40
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
41
41
|
max-height: unset;
|
|
42
42
|
height: 100%;
|
|
43
43
|
}
|
|
44
|
-
`, r =
|
|
44
|
+
`, r = i.div`
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
gap: var(--widget-gap);
|
|
48
48
|
flex: 0 1 100%;
|
|
49
|
-
`, l =
|
|
49
|
+
`, l = i.div`
|
|
50
50
|
display: flex;
|
|
51
|
-
flex-direction: column;
|
|
52
51
|
gap: var(--widget-gap);
|
|
53
|
-
|
|
54
|
-
@container (min-width: ${
|
|
55
|
-
flex-direction: row;
|
|
56
|
-
}
|
|
57
|
-
`, c = t.div`
|
|
58
|
-
@container (min-width: ${i("BREAK_LARGE_TABLET")}) {
|
|
52
|
+
`, g = i.div`
|
|
53
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
59
54
|
display: none;
|
|
60
55
|
}
|
|
61
|
-
`,
|
|
56
|
+
`, c = i.div`
|
|
62
57
|
display: none;
|
|
63
|
-
@container (min-width: ${
|
|
58
|
+
@container (min-width: ${t("BREAK_LARGE_TABLET")}) {
|
|
64
59
|
display: block;
|
|
65
60
|
}
|
|
66
61
|
`;
|
|
67
62
|
export {
|
|
68
63
|
l as Actions,
|
|
69
64
|
r as Controls,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
d as InteractionRow,
|
|
66
|
+
c as LandscapeCaption,
|
|
67
|
+
g as PortraitCaption,
|
|
68
|
+
o as Widget,
|
|
69
|
+
n as WidgetLayout
|
|
75
70
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@rubin-epo/epo-react-lib/styles"),o=n=>n&&n.__esModule?n:{default:n},e=
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@rubin-epo/epo-react-lib/styles"),o=require("../../layout/AspectRatio/index.cjs"),a=n=>n&&n.__esModule?n:{default:n},e=a(i),l=e.default(o.default)`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
`,r=e.default.div`
|
|
2
5
|
container-type: inline-size;
|
|
3
|
-
container-name: camera-filter;
|
|
4
6
|
|
|
5
7
|
display: grid;
|
|
6
8
|
grid-template-columns: 1fr;
|
|
7
9
|
grid-auto-rows: min-content;
|
|
8
10
|
text-align: center;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`,l=e.default.h3`
|
|
11
|
+
width: 100%;
|
|
12
|
+
`,s=e.default.h3`
|
|
12
13
|
margin: 0;
|
|
13
|
-
`,
|
|
14
|
+
`,d=e.default.table`
|
|
14
15
|
border-collapse: collapse;
|
|
15
16
|
text-align: center;
|
|
16
17
|
margin-inline-start: var(--filter-table-margin-inline-start);
|
|
@@ -19,16 +20,16 @@
|
|
|
19
20
|
@container (min-width: ${t.token("BREAK_TABLET")}) {
|
|
20
21
|
margin-block-start: var(--PADDING_SMALL, 20px);
|
|
21
22
|
}
|
|
22
|
-
`,
|
|
23
|
+
`,c=e.default.tbody`
|
|
23
24
|
display: table-header-group;
|
|
24
|
-
`,
|
|
25
|
+
`,f=e.default.thead`
|
|
25
26
|
display: table-row-group;
|
|
26
|
-
`,
|
|
27
|
+
`,m=e.default.td`
|
|
27
28
|
line-height: 1.2;
|
|
28
29
|
font-size: 80%;
|
|
29
|
-
`,
|
|
30
|
+
`,u=e.default.span`
|
|
30
31
|
font-size: 80%;
|
|
31
|
-
`,
|
|
32
|
+
`,p=e.default.th`
|
|
32
33
|
font-size: 120%;
|
|
33
34
|
font-weight: var(--FONT_WEIGHT_NORMAL, 400);
|
|
34
35
|
border: var(--filter-name-border);
|
|
@@ -37,15 +38,15 @@
|
|
|
37
38
|
@container (min-width: ${t.token("BREAK_TABLET")}) {
|
|
38
39
|
border-width: 3px;
|
|
39
40
|
}
|
|
40
|
-
`,
|
|
41
|
+
`,g=e.default.div`
|
|
41
42
|
min-width: 20ch;
|
|
42
43
|
width: 50%;
|
|
43
44
|
max-width: 30ch;
|
|
44
45
|
justify-self: center;
|
|
45
46
|
text-align: left;
|
|
46
|
-
`,
|
|
47
|
+
`,h=e.default.label`
|
|
47
48
|
font-size: 0.75em;
|
|
48
|
-
`,
|
|
49
|
+
`,w=e.default.text`
|
|
49
50
|
font-size: 2em;
|
|
50
51
|
|
|
51
52
|
@container (min-width: ${t.token("BREAK_MOBILE")}) {
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
@container (min-width: ${t.token("BREAK_PHABLET_MIN")}) {
|
|
56
57
|
font-size: 0.75em;
|
|
57
58
|
}
|
|
58
|
-
`,
|
|
59
|
+
`,b=e.default.tspan`
|
|
59
60
|
font-size: 2em;
|
|
60
61
|
|
|
61
62
|
@container (min-width: ${t.token("BREAK_MOBILE")}) {
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
@container (min-width: ${t.token("BREAK_PHABLET_MIN")}) {
|
|
66
67
|
font-size: 0.75em;
|
|
67
68
|
}
|
|
68
|
-
`,
|
|
69
|
+
`,_=e.default.tspan`
|
|
69
70
|
font-size: 1.5em;
|
|
70
71
|
|
|
71
72
|
@container (min-width: ${t.token("BREAK_MOBILE")}) {
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
@container (min-width: ${t.token("BREAK_PHABLET_MIN")}) {
|
|
76
77
|
font-size: 0.5em;
|
|
77
78
|
}
|
|
78
|
-
`,
|
|
79
|
+
`,A=e.default.tspan`
|
|
79
80
|
font-size: 1.3em;
|
|
80
81
|
|
|
81
82
|
@container (min-width: ${t.token("BREAK_MOBILE")}) {
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
@container (min-width: ${t.token("BREAK_PHABLET_MIN")}) {
|
|
86
87
|
font-size: 0.4em;
|
|
87
88
|
}
|
|
88
|
-
`,
|
|
89
|
+
`,B=e.default.ul`
|
|
89
90
|
display: flex;
|
|
90
91
|
justify-content: space-between;
|
|
91
92
|
line-height: 1.2;
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
margin: var(--PADDING_SMALL, 20px) 0 0;
|
|
94
95
|
padding: 0;
|
|
95
96
|
list-style-type: none;
|
|
96
|
-
`,
|
|
97
|
+
`,E=e.default.li`
|
|
97
98
|
list-style-type: none;
|
|
98
99
|
margin: 0;
|
|
99
100
|
padding: 0;
|
|
@@ -101,4 +102,4 @@
|
|
|
101
102
|
&:before {
|
|
102
103
|
content: "\200B";
|
|
103
104
|
}
|
|
104
|
-
`;exports.ColorName=
|
|
105
|
+
`;exports.ColorName=b;exports.ColorSpectrum=_;exports.ColorSpectrumUnit=A;exports.CondensedRange=E;exports.CondensedRangeRow=B;exports.FilterContainer=r;exports.FilterName=p;exports.FilterNames=f;exports.FilterRange=m;exports.FilterRanges=c;exports.FilterTable=d;exports.FilterTitle=s;exports.FilterWrapper=l;exports.SelectContainer=g;exports.SelectLabel=h;exports.SpectrumLabel=w;exports.Wavelength=u;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import AspectRatio from '../../layout/AspectRatio';
|
|
3
|
+
export declare const FilterWrapper: import("styled-components").IStyledComponent<"web", {
|
|
4
|
+
ratio: AspectRatio;
|
|
5
|
+
medScreenRatio?: AspectRatio | undefined;
|
|
6
|
+
smallScreenRatio?: AspectRatio | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
children?: import("react").ReactNode;
|
|
9
|
+
}> & import("react").FunctionComponent<import("react").PropsWithChildren<import('../../layout/AspectRatio').AspectRatioProps>>;
|
|
1
10
|
export declare const FilterContainer: import("styled-components").IStyledComponent<"web", {
|
|
2
11
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
3
12
|
key?: import("react").Key | null | undefined;
|
|
@@ -2941,7 +2950,7 @@ export declare const SpectrumLabel: import("styled-components").IStyledComponent
|
|
|
2941
2950
|
stroke?: string | undefined;
|
|
2942
2951
|
strokeDasharray?: string | number | undefined;
|
|
2943
2952
|
strokeDashoffset?: string | number | undefined;
|
|
2944
|
-
strokeLinecap?: "inherit" | "
|
|
2953
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2945
2954
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2946
2955
|
strokeMiterlimit?: string | number | undefined;
|
|
2947
2956
|
strokeOpacity?: string | number | undefined;
|
|
@@ -3423,7 +3432,7 @@ export declare const ColorName: import("styled-components").IStyledComponent<"we
|
|
|
3423
3432
|
stroke?: string | undefined;
|
|
3424
3433
|
strokeDasharray?: string | number | undefined;
|
|
3425
3434
|
strokeDashoffset?: string | number | undefined;
|
|
3426
|
-
strokeLinecap?: "inherit" | "
|
|
3435
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
3427
3436
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
3428
3437
|
strokeMiterlimit?: string | number | undefined;
|
|
3429
3438
|
strokeOpacity?: string | number | undefined;
|
|
@@ -3905,7 +3914,7 @@ export declare const ColorSpectrum: import("styled-components").IStyledComponent
|
|
|
3905
3914
|
stroke?: string | undefined;
|
|
3906
3915
|
strokeDasharray?: string | number | undefined;
|
|
3907
3916
|
strokeDashoffset?: string | number | undefined;
|
|
3908
|
-
strokeLinecap?: "inherit" | "
|
|
3917
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
3909
3918
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
3910
3919
|
strokeMiterlimit?: string | number | undefined;
|
|
3911
3920
|
strokeOpacity?: string | number | undefined;
|
|
@@ -4387,7 +4396,7 @@ export declare const ColorSpectrumUnit: import("styled-components").IStyledCompo
|
|
|
4387
4396
|
stroke?: string | undefined;
|
|
4388
4397
|
strokeDasharray?: string | number | undefined;
|
|
4389
4398
|
strokeDashoffset?: string | number | undefined;
|
|
4390
|
-
strokeLinecap?: "inherit" | "
|
|
4399
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
4391
4400
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
4392
4401
|
strokeMiterlimit?: string | number | undefined;
|
|
4393
4402
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1,94 +1,96 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import { token as
|
|
4
|
-
|
|
2
|
+
import t from "styled-components";
|
|
3
|
+
import { token as e } from "@rubin-epo/epo-react-lib/styles";
|
|
4
|
+
import n from "../../layout/AspectRatio/index.js";
|
|
5
|
+
const a = t(n)`
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
`, s = t.div`
|
|
5
9
|
container-type: inline-size;
|
|
6
|
-
container-name: camera-filter;
|
|
7
10
|
|
|
8
11
|
display: grid;
|
|
9
12
|
grid-template-columns: 1fr;
|
|
10
13
|
grid-auto-rows: min-content;
|
|
11
14
|
text-align: center;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
`, r = e.h3`
|
|
15
|
+
width: 100%;
|
|
16
|
+
`, l = t.h3`
|
|
15
17
|
margin: 0;
|
|
16
|
-
`,
|
|
18
|
+
`, c = t.table`
|
|
17
19
|
border-collapse: collapse;
|
|
18
20
|
text-align: center;
|
|
19
21
|
margin-inline-start: var(--filter-table-margin-inline-start);
|
|
20
22
|
width: var(--filter-table-width);
|
|
21
23
|
|
|
22
|
-
@container (min-width: ${
|
|
24
|
+
@container (min-width: ${e("BREAK_TABLET")}) {
|
|
23
25
|
margin-block-start: var(--PADDING_SMALL, 20px);
|
|
24
26
|
}
|
|
25
|
-
`,
|
|
27
|
+
`, m = t.tbody`
|
|
26
28
|
display: table-header-group;
|
|
27
|
-
`,
|
|
29
|
+
`, d = t.thead`
|
|
28
30
|
display: table-row-group;
|
|
29
|
-
`,
|
|
31
|
+
`, p = t.td`
|
|
30
32
|
line-height: 1.2;
|
|
31
33
|
font-size: 80%;
|
|
32
|
-
`,
|
|
34
|
+
`, f = t.span`
|
|
33
35
|
font-size: 80%;
|
|
34
|
-
`,
|
|
36
|
+
`, h = t.th`
|
|
35
37
|
font-size: 120%;
|
|
36
38
|
font-weight: var(--FONT_WEIGHT_NORMAL, 400);
|
|
37
39
|
border: var(--filter-name-border);
|
|
38
40
|
border-width: 1px;
|
|
39
41
|
|
|
40
|
-
@container (min-width: ${
|
|
42
|
+
@container (min-width: ${e("BREAK_TABLET")}) {
|
|
41
43
|
border-width: 3px;
|
|
42
44
|
}
|
|
43
|
-
`,
|
|
45
|
+
`, g = t.div`
|
|
44
46
|
min-width: 20ch;
|
|
45
47
|
width: 50%;
|
|
46
48
|
max-width: 30ch;
|
|
47
49
|
justify-self: center;
|
|
48
50
|
text-align: left;
|
|
49
|
-
`,
|
|
51
|
+
`, w = t.label`
|
|
50
52
|
font-size: 0.75em;
|
|
51
|
-
`,
|
|
53
|
+
`, A = t.text`
|
|
52
54
|
font-size: 2em;
|
|
53
55
|
|
|
54
|
-
@container (min-width: ${
|
|
56
|
+
@container (min-width: ${e("BREAK_MOBILE")}) {
|
|
55
57
|
font-size: 1.25em;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
|
-
@container (min-width: ${
|
|
60
|
+
@container (min-width: ${e("BREAK_PHABLET_MIN")}) {
|
|
59
61
|
font-size: 0.75em;
|
|
60
62
|
}
|
|
61
|
-
`,
|
|
63
|
+
`, B = t.tspan`
|
|
62
64
|
font-size: 2em;
|
|
63
65
|
|
|
64
|
-
@container (min-width: ${
|
|
66
|
+
@container (min-width: ${e("BREAK_MOBILE")}) {
|
|
65
67
|
font-size: 1.25em;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
@container (min-width: ${
|
|
70
|
+
@container (min-width: ${e("BREAK_PHABLET_MIN")}) {
|
|
69
71
|
font-size: 0.75em;
|
|
70
72
|
}
|
|
71
|
-
`,
|
|
73
|
+
`, E = t.tspan`
|
|
72
74
|
font-size: 1.5em;
|
|
73
75
|
|
|
74
|
-
@container (min-width: ${
|
|
76
|
+
@container (min-width: ${e("BREAK_MOBILE")}) {
|
|
75
77
|
font-size: 1em;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
|
-
@container (min-width: ${
|
|
80
|
+
@container (min-width: ${e("BREAK_PHABLET_MIN")}) {
|
|
79
81
|
font-size: 0.5em;
|
|
80
82
|
}
|
|
81
|
-
`,
|
|
83
|
+
`, b = t.tspan`
|
|
82
84
|
font-size: 1.3em;
|
|
83
85
|
|
|
84
|
-
@container (min-width: ${
|
|
86
|
+
@container (min-width: ${e("BREAK_MOBILE")}) {
|
|
85
87
|
font-size: 0.8em;
|
|
86
88
|
}
|
|
87
89
|
|
|
88
|
-
@container (min-width: ${
|
|
90
|
+
@container (min-width: ${e("BREAK_PHABLET_MIN")}) {
|
|
89
91
|
font-size: 0.4em;
|
|
90
92
|
}
|
|
91
|
-
`,
|
|
93
|
+
`, z = t.ul`
|
|
92
94
|
display: flex;
|
|
93
95
|
justify-content: space-between;
|
|
94
96
|
line-height: 1.2;
|
|
@@ -96,7 +98,7 @@ const o = e.div`
|
|
|
96
98
|
margin: var(--PADDING_SMALL, 20px) 0 0;
|
|
97
99
|
padding: 0;
|
|
98
100
|
list-style-type: none;
|
|
99
|
-
`,
|
|
101
|
+
`, _ = t.li`
|
|
100
102
|
list-style-type: none;
|
|
101
103
|
margin: 0;
|
|
102
104
|
padding: 0;
|
|
@@ -106,20 +108,21 @@ const o = e.div`
|
|
|
106
108
|
}
|
|
107
109
|
`;
|
|
108
110
|
export {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
111
|
+
B as ColorName,
|
|
112
|
+
E as ColorSpectrum,
|
|
113
|
+
b as ColorSpectrumUnit,
|
|
114
|
+
_ as CondensedRange,
|
|
115
|
+
z as CondensedRangeRow,
|
|
116
|
+
s as FilterContainer,
|
|
117
|
+
h as FilterName,
|
|
118
|
+
d as FilterNames,
|
|
119
|
+
p as FilterRange,
|
|
120
|
+
m as FilterRanges,
|
|
121
|
+
c as FilterTable,
|
|
122
|
+
l as FilterTitle,
|
|
123
|
+
a as FilterWrapper,
|
|
124
|
+
g as SelectContainer,
|
|
125
|
+
w as SelectLabel,
|
|
126
|
+
A as SpectrumLabel,
|
|
127
|
+
f as Wavelength
|
|
125
128
|
};
|
|
@@ -750,7 +750,7 @@ export declare const PrismSVG: import("styled-components").IStyledComponent<"web
|
|
|
750
750
|
stroke?: string | undefined;
|
|
751
751
|
strokeDasharray?: string | number | undefined;
|
|
752
752
|
strokeDashoffset?: string | number | undefined;
|
|
753
|
-
strokeLinecap?: "inherit" | "
|
|
753
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
754
754
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
755
755
|
strokeMiterlimit?: string | number | undefined;
|
|
756
756
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1232,7 +1232,7 @@ export declare const WhiteLine: import("styled-components").IStyledComponent<"we
|
|
|
1232
1232
|
stroke?: string | undefined;
|
|
1233
1233
|
strokeDasharray?: string | number | undefined;
|
|
1234
1234
|
strokeDashoffset?: string | number | undefined;
|
|
1235
|
-
strokeLinecap?: "inherit" | "
|
|
1235
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1236
1236
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1237
1237
|
strokeMiterlimit?: string | number | undefined;
|
|
1238
1238
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1714,7 +1714,7 @@ export declare const Ray: import("styled-components").IStyledComponent<"web", {
|
|
|
1714
1714
|
stroke?: string | undefined;
|
|
1715
1715
|
strokeDasharray?: string | number | undefined;
|
|
1716
1716
|
strokeDashoffset?: string | number | undefined;
|
|
1717
|
-
strokeLinecap?: "inherit" | "
|
|
1717
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1718
1718
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1719
1719
|
strokeMiterlimit?: string | number | undefined;
|
|
1720
1720
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2196,7 +2196,7 @@ export declare const Arrow: import("styled-components").IStyledComponent<"web",
|
|
|
2196
2196
|
stroke?: string | undefined;
|
|
2197
2197
|
strokeDasharray?: string | number | undefined;
|
|
2198
2198
|
strokeDashoffset?: string | number | undefined;
|
|
2199
|
-
strokeLinecap?: "inherit" | "
|
|
2199
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2200
2200
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2201
2201
|
strokeMiterlimit?: string | number | undefined;
|
|
2202
2202
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2678,7 +2678,7 @@ export declare const PrismOutline: import("styled-components").IStyledComponent<
|
|
|
2678
2678
|
stroke?: string | undefined;
|
|
2679
2679
|
strokeDasharray?: string | number | undefined;
|
|
2680
2680
|
strokeDashoffset?: string | number | undefined;
|
|
2681
|
-
strokeLinecap?: "inherit" | "
|
|
2681
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2682
2682
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2683
2683
|
strokeMiterlimit?: string | number | undefined;
|
|
2684
2684
|
strokeOpacity?: string | number | undefined;
|
|
@@ -3160,7 +3160,7 @@ export declare const Filter: import("styled-components").IStyledComponent<"web",
|
|
|
3160
3160
|
stroke?: string | undefined;
|
|
3161
3161
|
strokeDasharray?: string | number | undefined;
|
|
3162
3162
|
strokeDashoffset?: string | number | undefined;
|
|
3163
|
-
strokeLinecap?: "inherit" | "
|
|
3163
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
3164
3164
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
3165
3165
|
strokeMiterlimit?: string | number | undefined;
|
|
3166
3166
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),A=require("react-i18next"),
|
|
1
|
+
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),A=require("react-i18next"),T=require("@rubin-epo/epo-react-lib/HorizontalSlider"),t=require("../defaults.cjs"),B=require("../Plot/index.cjs"),M=require("./LightCurve/index.cjs"),N=require("./A11Y/LightCurveLabel/index.cjs"),L=require("../helpers.cjs"),J=require("../../../atomic/Button/patterns/Reset.cjs"),K=require("./MagnitudeSlider/index.cjs"),a=require("./styles.cjs"),Q=require("../../../charts/Viewport/index.cjs"),V=require("../../../layout/Controls/index.cjs"),X=require("../../../layout/AspectRatio/index.cjs"),Z=s=>s&&s.__esModule?s:{default:s},I=Z(T),W=({gaussianWidth:s=t.default.gaussianWidth,yOffset:i=t.default.yOffset,alerts:$,peakMjd:y,yMin:l=t.default.yMin,yMax:d=t.default.yMax,width:c=t.default.width,height:f=t.default.height,userMagnitude:P=(d-l)/2+l,onUserMagnitudeChangeCallback:u,onGaussianChangeCallback:o,onYOffsetChangeCallback:n,className:S,isDisplayOnly:x,...D})=>{const{t:h}=A.useTranslation(),j="lightCurveControls",q="gaussianWidthLabel",m="yOffsetLabel",v=L.useAlertsAsPoints($,y),H=()=>{u&&u((d-l)/2+l),n&&n(t.default.yOffset),o&&o(t.default.gaussianWidth)},g=L.estimateMagnitudeWithOffset(0,s,i),b=e.jsx(B.default,{slider:e.jsx(K.default,{magnitude:P,onMagnitudeChangeCallback:r=>u&&u(r),disabled:x,yMin:l,yMax:d,estimatedPeak:g}),plotChildren:({xScale:r,yScale:R,xDomain:F,yDomain:O,xStart:p,xEnd:w,yStart:z,yEnd:_})=>e.jsxs(e.Fragment,{children:[e.jsx(M.default,{gaussianWidth:s,yOffset:i,xDomain:F,xScale:r,yScale:R,yDomain:O}),e.jsx(Q.default,{x:p,y:_,outerHeight:z-_,outerWidth:w-p,innerWidth:c,innerHeight:f,children:e.jsx(a.DM15Display,{gaussianWidth:s})})]}),...D,data:v,width:c,height:f,yMin:l,yMax:d});return x?e.jsx(X.default,{ratio:"square",children:b}):e.jsxs(e.Fragment,{children:[e.jsx(V.default,{className:S,widget:b,controls:e.jsxs(a.Controls,{id:j,children:[e.jsxs("div",{children:[e.jsx(a.ControlLabel,{id:q,children:h("light_curve.curve.controls.gaussian_width")}),e.jsx(I.default,{label:"Gaussian Width",labelledbyId:q,color:"var(--turquoise85, #12726D)",min:t.default.gaussianMin,max:t.default.gaussianMax,step:t.default.gaussianStep,value:s,onChangeCallback:r=>typeof r=="number"&&o&&o(r)})]}),e.jsxs("div",{children:[e.jsx(a.ControlLabel,{id:m,children:h("light_curve.curve.controls.y_offset")}),e.jsx(I.default,{label:"Y Offset",labelledbyId:m,color:"var(--turquoise85, #12726D)",min:t.default.yOffsetMin,max:t.default.yOffsetMax,step:t.default.yOffsetStep,value:i,onChangeCallback:r=>typeof r=="number"&&n&&n(r)})]})]}),actions:e.jsx(J.default,{onResetCallback:H})}),e.jsx(N.default,{controlledById:j,data:v,gaussianWidth:s,yOffset:i,estimatedPeak:g})]})};W.displayName="Widgets.LightCurve";const E=W;exports.default=E;
|
|
@@ -1,139 +1,140 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as s, Fragment as P } from "react/jsx-runtime";
|
|
3
3
|
import { useTranslation as N } from "react-i18next";
|
|
4
|
-
import
|
|
4
|
+
import y from "@rubin-epo/epo-react-lib/HorizontalSlider";
|
|
5
5
|
import t from "../defaults.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { useAlertsAsPoints as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { DM15Display as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
6
|
+
import T from "../Plot/index.js";
|
|
7
|
+
import V from "./LightCurve/index.js";
|
|
8
|
+
import $ from "./A11Y/LightCurveLabel/index.js";
|
|
9
|
+
import { useAlertsAsPoints as C, estimateMagnitudeWithOffset as J } from "../helpers.js";
|
|
10
|
+
import K from "../../../atomic/Button/patterns/Reset.js";
|
|
11
|
+
import Q from "./MagnitudeSlider/index.js";
|
|
12
|
+
import { DM15Display as X, Controls as Z, ControlLabel as R } from "./styles.js";
|
|
13
|
+
import E from "../../../charts/Viewport/index.js";
|
|
14
|
+
import M from "../../../layout/Controls/index.js";
|
|
15
|
+
import G from "../../../layout/AspectRatio/index.js";
|
|
16
|
+
const _ = ({
|
|
16
17
|
gaussianWidth: i = t.gaussianWidth,
|
|
17
18
|
yOffset: l = t.yOffset,
|
|
18
|
-
alerts:
|
|
19
|
-
peakMjd:
|
|
19
|
+
alerts: q,
|
|
20
|
+
peakMjd: w,
|
|
20
21
|
yMin: o = t.yMin,
|
|
21
22
|
yMax: d = t.yMax,
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
24
|
-
userMagnitude:
|
|
23
|
+
width: c = t.width,
|
|
24
|
+
height: f = t.height,
|
|
25
|
+
userMagnitude: A = (d - o) / 2 + o,
|
|
25
26
|
onUserMagnitudeChangeCallback: m,
|
|
26
27
|
onGaussianChangeCallback: n,
|
|
27
28
|
onYOffsetChangeCallback: u,
|
|
28
|
-
className:
|
|
29
|
-
isDisplayOnly:
|
|
30
|
-
...
|
|
29
|
+
className: D,
|
|
30
|
+
isDisplayOnly: p,
|
|
31
|
+
...H
|
|
31
32
|
}) => {
|
|
32
|
-
const { t:
|
|
33
|
+
const { t: a } = N(), h = "lightCurveControls", g = "gaussianWidthLabel", v = "yOffsetLabel", L = C(q, w), S = () => {
|
|
33
34
|
m && m((d - o) / 2 + o), u && u(t.yOffset), n && n(t.gaussianWidth);
|
|
34
|
-
}, b =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
}, b = J(0, i, l), W = /* @__PURE__ */ r(
|
|
36
|
+
T,
|
|
37
|
+
{
|
|
38
|
+
slider: /* @__PURE__ */ r(
|
|
39
|
+
Q,
|
|
40
|
+
{
|
|
41
|
+
magnitude: A,
|
|
42
|
+
onMagnitudeChangeCallback: (e) => m && m(e),
|
|
43
|
+
disabled: p,
|
|
44
|
+
yMin: o,
|
|
45
|
+
yMax: d,
|
|
46
|
+
estimatedPeak: b
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
plotChildren: ({
|
|
50
|
+
xScale: e,
|
|
51
|
+
yScale: j,
|
|
52
|
+
xDomain: F,
|
|
53
|
+
yDomain: O,
|
|
54
|
+
xStart: I,
|
|
55
|
+
xEnd: z,
|
|
56
|
+
yStart: B,
|
|
57
|
+
yEnd: x
|
|
58
|
+
}) => /* @__PURE__ */ s(P, { children: [
|
|
59
|
+
/* @__PURE__ */ r(
|
|
60
|
+
V,
|
|
42
61
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
yMin: o,
|
|
50
|
-
yMax: d,
|
|
51
|
-
estimatedPeak: b
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
plotChildren: ({
|
|
55
|
-
xScale: r,
|
|
56
|
-
yScale: A,
|
|
57
|
-
xDomain: D,
|
|
58
|
-
yDomain: F,
|
|
59
|
-
xStart: W,
|
|
60
|
-
xEnd: z,
|
|
61
|
-
yStart: B,
|
|
62
|
-
yEnd: I
|
|
63
|
-
}) => /* @__PURE__ */ s(x, { children: [
|
|
64
|
-
/* @__PURE__ */ e(
|
|
65
|
-
T,
|
|
66
|
-
{
|
|
67
|
-
gaussianWidth: i,
|
|
68
|
-
yOffset: l,
|
|
69
|
-
xDomain: D,
|
|
70
|
-
xScale: r,
|
|
71
|
-
yScale: A,
|
|
72
|
-
yDomain: F
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ e(
|
|
76
|
-
Z,
|
|
77
|
-
{
|
|
78
|
-
x: W,
|
|
79
|
-
y: I,
|
|
80
|
-
outerHeight: B - I,
|
|
81
|
-
outerWidth: z - W,
|
|
82
|
-
innerWidth: f,
|
|
83
|
-
innerHeight: p,
|
|
84
|
-
children: /* @__PURE__ */ e(Q, { gaussianWidth: i })
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
-
] }),
|
|
88
|
-
...q,
|
|
89
|
-
data: L,
|
|
90
|
-
width: f,
|
|
91
|
-
height: p,
|
|
92
|
-
yMin: o,
|
|
93
|
-
yMax: d
|
|
62
|
+
gaussianWidth: i,
|
|
63
|
+
yOffset: l,
|
|
64
|
+
xDomain: F,
|
|
65
|
+
xScale: e,
|
|
66
|
+
yScale: j,
|
|
67
|
+
yDomain: O
|
|
94
68
|
}
|
|
95
69
|
),
|
|
96
|
-
|
|
70
|
+
/* @__PURE__ */ r(
|
|
71
|
+
E,
|
|
72
|
+
{
|
|
73
|
+
x: I,
|
|
74
|
+
y: x,
|
|
75
|
+
outerHeight: B - x,
|
|
76
|
+
outerWidth: z - I,
|
|
77
|
+
innerWidth: c,
|
|
78
|
+
innerHeight: f,
|
|
79
|
+
children: /* @__PURE__ */ r(X, { gaussianWidth: i })
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
] }),
|
|
83
|
+
...H,
|
|
84
|
+
data: L,
|
|
85
|
+
width: c,
|
|
86
|
+
height: f,
|
|
87
|
+
yMin: o,
|
|
88
|
+
yMax: d
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
return p ? /* @__PURE__ */ r(G, { ratio: "square", children: W }) : /* @__PURE__ */ s(P, { children: [
|
|
92
|
+
/* @__PURE__ */ r(
|
|
93
|
+
M,
|
|
94
|
+
{
|
|
95
|
+
className: D,
|
|
96
|
+
widget: W,
|
|
97
|
+
controls: /* @__PURE__ */ s(Z, { id: h, children: [
|
|
97
98
|
/* @__PURE__ */ s("div", { children: [
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
|
|
99
|
+
/* @__PURE__ */ r(R, { id: g, children: a("light_curve.curve.controls.gaussian_width") }),
|
|
100
|
+
/* @__PURE__ */ r(
|
|
101
|
+
y,
|
|
101
102
|
{
|
|
102
103
|
label: "Gaussian Width",
|
|
103
|
-
labelledbyId:
|
|
104
|
+
labelledbyId: g,
|
|
104
105
|
color: "var(--turquoise85, #12726D)",
|
|
105
106
|
min: t.gaussianMin,
|
|
106
107
|
max: t.gaussianMax,
|
|
107
108
|
step: t.gaussianStep,
|
|
108
109
|
value: i,
|
|
109
|
-
onChangeCallback: (
|
|
110
|
+
onChangeCallback: (e) => typeof e == "number" && n && n(e)
|
|
110
111
|
}
|
|
111
112
|
)
|
|
112
113
|
] }),
|
|
113
114
|
/* @__PURE__ */ s("div", { children: [
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
|
|
115
|
+
/* @__PURE__ */ r(R, { id: v, children: a("light_curve.curve.controls.y_offset") }),
|
|
116
|
+
/* @__PURE__ */ r(
|
|
117
|
+
y,
|
|
117
118
|
{
|
|
118
119
|
label: "Y Offset",
|
|
119
|
-
labelledbyId:
|
|
120
|
+
labelledbyId: v,
|
|
120
121
|
color: "var(--turquoise85, #12726D)",
|
|
121
122
|
min: t.yOffsetMin,
|
|
122
123
|
max: t.yOffsetMax,
|
|
123
124
|
step: t.yOffsetStep,
|
|
124
125
|
value: l,
|
|
125
|
-
onChangeCallback: (
|
|
126
|
+
onChangeCallback: (e) => typeof e == "number" && u && u(e)
|
|
126
127
|
}
|
|
127
128
|
)
|
|
128
129
|
] })
|
|
129
130
|
] }),
|
|
130
|
-
actions:
|
|
131
|
+
actions: /* @__PURE__ */ r(K, { onResetCallback: S })
|
|
131
132
|
}
|
|
132
133
|
),
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
|
|
134
|
+
/* @__PURE__ */ r(
|
|
135
|
+
$,
|
|
135
136
|
{
|
|
136
|
-
controlledById:
|
|
137
|
+
controlledById: h,
|
|
137
138
|
data: L,
|
|
138
139
|
gaussianWidth: i,
|
|
139
140
|
yOffset: l,
|
|
@@ -142,8 +143,8 @@ const w = ({
|
|
|
142
143
|
)
|
|
143
144
|
] });
|
|
144
145
|
};
|
|
145
|
-
|
|
146
|
-
const
|
|
146
|
+
_.displayName = "Widgets.LightCurve";
|
|
147
|
+
const ct = _;
|
|
147
148
|
export {
|
|
148
|
-
|
|
149
|
+
ct as default
|
|
149
150
|
};
|
|
@@ -195,7 +195,7 @@ export declare const YLabel: import("styled-components").IStyledComponent<"web",
|
|
|
195
195
|
stroke?: string | undefined;
|
|
196
196
|
strokeDasharray?: string | number | undefined;
|
|
197
197
|
strokeDashoffset?: string | number | undefined;
|
|
198
|
-
strokeLinecap?: "inherit" | "
|
|
198
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
199
199
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
200
200
|
strokeMiterlimit?: string | number | undefined;
|
|
201
201
|
strokeOpacity?: string | number | undefined;
|
|
@@ -195,7 +195,7 @@ export declare const Background: import("styled-components").IStyledComponent<"w
|
|
|
195
195
|
stroke?: string | undefined;
|
|
196
196
|
strokeDasharray?: string | number | undefined;
|
|
197
197
|
strokeDashoffset?: string | number | undefined;
|
|
198
|
-
strokeLinecap?: "inherit" | "
|
|
198
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
199
199
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
200
200
|
strokeMiterlimit?: string | number | undefined;
|
|
201
201
|
strokeOpacity?: string | number | undefined;
|
|
@@ -677,7 +677,7 @@ export declare const Graticule: import("styled-components").IStyledComponent<"we
|
|
|
677
677
|
stroke?: string | undefined;
|
|
678
678
|
strokeDasharray?: string | number | undefined;
|
|
679
679
|
strokeDashoffset?: string | number | undefined;
|
|
680
|
-
strokeLinecap?: "inherit" | "
|
|
680
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
681
681
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
682
682
|
strokeMiterlimit?: string | number | undefined;
|
|
683
683
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1159,7 +1159,7 @@ export declare const Outline: import("styled-components").IStyledComponent<"web"
|
|
|
1159
1159
|
stroke?: string | undefined;
|
|
1160
1160
|
strokeDasharray?: string | number | undefined;
|
|
1161
1161
|
strokeDashoffset?: string | number | undefined;
|
|
1162
|
-
strokeLinecap?: "inherit" | "
|
|
1162
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1163
1163
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1164
1164
|
strokeMiterlimit?: string | number | undefined;
|
|
1165
1165
|
strokeOpacity?: string | number | undefined;
|
|
@@ -1641,7 +1641,7 @@ export declare const LatLabel: import("styled-components").IStyledComponent<"web
|
|
|
1641
1641
|
stroke?: string | undefined;
|
|
1642
1642
|
strokeDasharray?: string | number | undefined;
|
|
1643
1643
|
strokeDashoffset?: string | number | undefined;
|
|
1644
|
-
strokeLinecap?: "inherit" | "
|
|
1644
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
1645
1645
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
1646
1646
|
strokeMiterlimit?: string | number | undefined;
|
|
1647
1647
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2123,7 +2123,7 @@ export declare const LongLabel: import("styled-components").IStyledComponent<"we
|
|
|
2123
2123
|
stroke?: string | undefined;
|
|
2124
2124
|
strokeDasharray?: string | number | undefined;
|
|
2125
2125
|
strokeDashoffset?: string | number | undefined;
|
|
2126
|
-
strokeLinecap?: "inherit" | "
|
|
2126
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2127
2127
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2128
2128
|
strokeMiterlimit?: string | number | undefined;
|
|
2129
2129
|
strokeOpacity?: string | number | undefined;
|
|
@@ -2605,7 +2605,7 @@ export declare const ImageStackerWrapper: import("styled-components").IStyledCom
|
|
|
2605
2605
|
stroke?: string | undefined;
|
|
2606
2606
|
strokeDasharray?: string | number | undefined;
|
|
2607
2607
|
strokeDashoffset?: string | number | undefined;
|
|
2608
|
-
strokeLinecap?: "inherit" | "
|
|
2608
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
2609
2609
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
2610
2610
|
strokeMiterlimit?: string | number | undefined;
|
|
2611
2611
|
strokeOpacity?: string | number | undefined;
|
|
@@ -3087,7 +3087,7 @@ export declare const UserObject: import("styled-components").IStyledComponent<"w
|
|
|
3087
3087
|
stroke?: string | undefined;
|
|
3088
3088
|
strokeDasharray?: string | number | undefined;
|
|
3089
3089
|
strokeDashoffset?: string | number | undefined;
|
|
3090
|
-
strokeLinecap?: "inherit" | "
|
|
3090
|
+
strokeLinecap?: "inherit" | "square" | "butt" | "round" | undefined;
|
|
3091
3091
|
strokeLinejoin?: "inherit" | "round" | "miter" | "bevel" | undefined;
|
|
3092
3092
|
strokeMiterlimit?: string | number | undefined;
|
|
3093
3093
|
strokeOpacity?: string | number | undefined;
|
package/package.json
CHANGED