@selfdecode/sd-component-library 4.0.148 → 4.0.150
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/lib/components/buttons/button/interfaces.d.ts +2 -2
- package/lib/sd-component-library100.js +4 -4
- package/lib/sd-component-library104.js +1 -1
- package/lib/sd-component-library105.js +1 -1
- package/lib/sd-component-library110.js +1 -1
- package/lib/sd-component-library111.js +2 -2
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library114.js +1 -1
- package/lib/sd-component-library119.js +2 -2
- package/lib/sd-component-library120.js +2 -2
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library125.js +3 -3
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library140.js +1 -1
- package/lib/sd-component-library141.js +1 -1
- package/lib/sd-component-library144.js +1 -1
- package/lib/sd-component-library145.js +4 -4
- package/lib/sd-component-library169.js +3 -3
- package/lib/sd-component-library172.js +2 -60
- package/lib/sd-component-library172.js.map +1 -1
- package/lib/sd-component-library173.js +30 -3
- package/lib/sd-component-library173.js.map +1 -1
- package/lib/sd-component-library174.js +599 -2
- package/lib/sd-component-library174.js.map +1 -1
- package/lib/sd-component-library175.js +60 -30
- package/lib/sd-component-library175.js.map +1 -1
- package/lib/sd-component-library176.js +3 -599
- package/lib/sd-component-library176.js.map +1 -1
- package/lib/sd-component-library177.js +25 -17
- package/lib/sd-component-library177.js.map +1 -1
- package/lib/sd-component-library179.js +17 -63
- package/lib/sd-component-library179.js.map +1 -1
- package/lib/sd-component-library180.js +37 -20
- package/lib/sd-component-library180.js.map +1 -1
- package/lib/sd-component-library181.js +127 -38
- package/lib/sd-component-library181.js.map +1 -1
- package/lib/sd-component-library182.js +13 -129
- package/lib/sd-component-library182.js.map +1 -1
- package/lib/sd-component-library183.js +14 -13
- package/lib/sd-component-library183.js.map +1 -1
- package/lib/sd-component-library184.js +3 -14
- package/lib/sd-component-library184.js.map +1 -1
- package/lib/sd-component-library185.js +2 -2
- package/lib/sd-component-library185.js.map +1 -1
- package/lib/sd-component-library186.js +2 -2
- package/lib/sd-component-library186.js.map +1 -1
- package/lib/sd-component-library187.js +52 -3
- package/lib/sd-component-library187.js.map +1 -1
- package/lib/sd-component-library188.js +45 -51
- package/lib/sd-component-library188.js.map +1 -1
- package/lib/sd-component-library191.js +17 -46
- package/lib/sd-component-library191.js.map +1 -1
- package/lib/sd-component-library192.js +64 -3
- package/lib/sd-component-library192.js.map +1 -1
- package/lib/sd-component-library193.js +23 -31
- package/lib/sd-component-library193.js.map +1 -1
- package/lib/sd-component-library194.js +29 -19
- package/lib/sd-component-library194.js.map +1 -1
- package/lib/sd-component-library195.js +3 -20
- package/lib/sd-component-library195.js.map +1 -1
- package/lib/sd-component-library196.js +24 -28
- package/lib/sd-component-library196.js.map +1 -1
- package/lib/sd-component-library197.js +3 -33
- package/lib/sd-component-library197.js.map +1 -1
- package/lib/sd-component-library198.js +324 -16
- package/lib/sd-component-library198.js.map +1 -1
- package/lib/sd-component-library199.js +3 -1
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +25 -128
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +3 -43
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +31 -47
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +19 -8
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +20 -64
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +28 -43
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +30 -10
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +3 -48
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +128 -74
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +43 -21
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library21.js +28 -26
- package/lib/sd-component-library21.js.map +1 -1
- package/lib/sd-component-library210.js +44 -106
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +7 -46
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +64 -24
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +40 -50
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +11 -19
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +20 -19
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +103 -35
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +47 -27
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +24 -2
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +47 -20
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +45 -322
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +75 -5
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +39 -23
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +27 -3
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +2 -22
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +2 -3
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +17 -25
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +20 -24
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +2 -26
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +25 -30
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library230.js +21 -50
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +30 -134
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +39 -62
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +120 -62
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +74 -9
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +72 -47
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +25 -85
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +19 -90
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +120 -25
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +117 -16
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library240.js +9 -125
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +46 -117
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +90 -2
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +92 -2
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library247.js +2 -2
- package/lib/sd-component-library248.js +2 -2
- package/lib/sd-component-library259.js +3 -3
- package/lib/sd-component-library260.js +4 -4
- package/lib/sd-component-library261.js +1 -1
- package/lib/sd-component-library262.js +12 -25
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +5 -93
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +4 -51
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +19 -35
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +3 -25
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +25 -4
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +93 -4
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +51 -9
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +35 -5
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +24 -3
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +5 -19
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +4 -3
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library275.js +28 -2
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +20 -76
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +2 -93
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +74 -50
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +92 -8
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +52 -4
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +8 -52
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +5 -28
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +51 -19
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +6 -90
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +90 -6
- package/lib/sd-component-library285.js.map +1 -1
- package/lib/sd-component-library44.js +1 -1
- package/lib/sd-component-library45.js +1 -1
- package/lib/sd-component-library47.js +2 -2
- package/lib/sd-component-library48.js +2 -2
- package/lib/sd-component-library53.js +39 -39
- package/lib/sd-component-library53.js.map +1 -1
- package/lib/sd-component-library55.js +1 -1
- package/lib/sd-component-library59.js +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library65.js +2 -2
- package/lib/sd-component-library67.js +3 -3
- package/lib/sd-component-library69.js +2 -2
- package/lib/sd-component-library7.js +1 -1
- package/lib/sd-component-library70.js +1 -1
- package/lib/sd-component-library71.js +1 -1
- package/lib/sd-component-library72.js +1 -1
- package/lib/sd-component-library74.js +1 -1
- package/lib/sd-component-library75.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +6 -6
- package/lib/sd-component-library82.js +2 -2
- package/lib/sd-component-library83.js +1 -1
- package/lib/sd-component-library84.js +5 -5
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library87.js +6 -6
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +7 -7
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library93.js +2 -2
- package/lib/sd-component-library94.js +3 -3
- package/lib/sd-component-library95.js +2 -2
- package/lib/sd-component-library96.js +3 -3
- package/lib/sd-component-library97.js +2 -2
- package/lib/sd-component-library98.js +4 -4
- package/package.json +1 -1
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as t } from "./sd-component-library169.js";
|
|
2
|
+
import { FlexCenter as s } from "./sd-component-library30.js";
|
|
3
|
+
import { ResponsiveTextV2 as i } from "./sd-component-library135.js";
|
|
4
|
+
const l = ({
|
|
5
|
+
segment: { start: n, end: r, color: e },
|
|
6
|
+
size: o
|
|
7
|
+
}) => /* @__PURE__ */ t.jsx("foreignObject", { x: 0, y: 0, width: o, height: o, children: /* @__PURE__ */ t.jsx(s, { height: "100%", children: /* @__PURE__ */ t.jsxs(
|
|
8
|
+
i,
|
|
9
|
+
{
|
|
10
|
+
fontSizeWeight: [20, "bold"],
|
|
11
|
+
color: e,
|
|
12
|
+
sx: { position: "relative" },
|
|
13
|
+
children: [
|
|
14
|
+
Math.round((r - n) * 100),
|
|
15
|
+
/* @__PURE__ */ t.jsx(
|
|
16
|
+
i,
|
|
17
|
+
{
|
|
18
|
+
fontSizeWeight: [10, "bold"],
|
|
19
|
+
color: e,
|
|
20
|
+
sx: { position: "absolute", top: "4px", left: "100%" },
|
|
21
|
+
children: "%"
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
) }) });
|
|
3
27
|
export {
|
|
4
|
-
|
|
28
|
+
l as CompactDonutGaugeValueIndicator
|
|
5
29
|
};
|
|
6
30
|
//# sourceMappingURL=sd-component-library223.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library223.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library223.js","sources":["../src/components/meters/compact-donut-gauge/partials/compact-donut-gauge-value-indicator/compact-donut-gauge-value-indicator.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Flex } from \"rebass\";\n\nimport { FlexCenter } from \"../../../../containers\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { CompactDonutGaugeValueIndicatorProps as Props } from \"./interfaces\";\n\nexport const CompactDonutGaugeValueIndicator: React.FC<Props> = ({\n segment: { start, end, color },\n size,\n}) => {\n return (\n <foreignObject x={0} y={0} width={size} height={size}>\n <FlexCenter height=\"100%\">\n <ResponsiveTextV2\n fontSizeWeight={[20, \"bold\"]}\n color={color}\n sx={{ position: \"relative\" }}\n >\n {Math.round((end - start) * 100)}\n\n <ResponsiveTextV2\n fontSizeWeight={[10, \"bold\"]}\n color={color}\n sx={{ position: \"absolute\", top: \"4px\", left: \"100%\" }}\n >\n %\n </ResponsiveTextV2>\n </ResponsiveTextV2>\n </FlexCenter>\n </foreignObject>\n );\n};\n"],"names":["CompactDonutGaugeValueIndicator","start","end","color","size","jsx","FlexCenter","jsxs","ResponsiveTextV2"],"mappings":";;;AAQO,MAAMA,IAAmD,CAAC;AAAA,EAC/D,SAAS,EAAE,OAAAC,GAAO,KAAAC,GAAK,OAAAC,EAAM;AAAA,EAC7B,MAAAC;AACF,MAEKC,gBAAAA,EAAAA,IAAA,iBAAA,EAAc,GAAG,GAAG,GAAG,GAAG,OAAOD,GAAM,QAAQA,GAC9C,UAACC,gBAAAA,MAAAC,GAAA,EAAW,QAAO,QACjB,UAAAC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,gBAAgB,CAAC,IAAI,MAAM;AAAA,IAC3B,OAAAL;AAAA,IACA,IAAI,EAAE,UAAU,WAAW;AAAA,IAE1B,UAAA;AAAA,MAAK,KAAA,OAAOD,IAAMD,KAAS,GAAG;AAAA,MAE/BI,gBAAAA,EAAA;AAAA,QAACG;AAAA,QAAA;AAAA,UACC,gBAAgB,CAAC,IAAI,MAAM;AAAA,UAC3B,OAAAL;AAAA,UACA,IAAI,EAAE,UAAU,YAAY,KAAK,OAAO,MAAM,OAAO;AAAA,UACtD,UAAA;AAAA,QAAA;AAAA,MAED;AAAA,IAAA;AAAA,EAAA;AAAA,EAEJ,CAAA,EACF,CAAA;"}
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { ResponsiveTextV2 as t } from "./sd-component-library135.js";
|
|
3
|
-
const n = ({
|
|
4
|
-
children: e
|
|
5
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
6
|
-
t,
|
|
7
|
-
{
|
|
8
|
-
fontSizeWeight: [18, "regular"],
|
|
9
|
-
sx: {
|
|
10
|
-
display: "flex",
|
|
11
|
-
alignItems: "center",
|
|
12
|
-
justifyContent: "center",
|
|
13
|
-
height: "100%",
|
|
14
|
-
borderRadius: "5px",
|
|
15
|
-
borderWidth: "1px",
|
|
16
|
-
borderColor: "cl_lightGrey",
|
|
17
|
-
borderStyle: "solid"
|
|
18
|
-
},
|
|
19
|
-
children: e
|
|
20
|
-
}
|
|
21
|
-
);
|
|
1
|
+
var r = {};
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
r as __exports
|
|
24
4
|
};
|
|
25
5
|
//# sourceMappingURL=sd-component-library224.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library224.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library224.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const e = (t) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 7, height: 13, viewBox: "0 0 7 13", ...t }, /* @__PURE__ */ a.createElement("path", { id: "Forma_1_copy_3", "data-name": "Forma 1 copy 3", d: "M8105.27,5251.88l5.6-6.08a0.435,0.435,0,0,0,0-.6l-5.6-6.08a0.349,0.349,0,0,0-.27-0.13,0.354,0.354,0,0,0-.28.13l-0.6.65a0.435,0.435,0,0,0,0,.6l4.72,5.13-4.72,5.13a0.423,0.423,0,0,0-.12.3,0.441,0.441,0,0,0,.12.3l0.6,0.65a0.354,0.354,0,0,0,.28.13A0.349,0.349,0,0,0,8105.27,5251.88Z", transform: "translate(-8104 -5239)" }));
|
|
1
|
+
var e = {};
|
|
3
2
|
export {
|
|
4
|
-
e as
|
|
3
|
+
e as __exports
|
|
5
4
|
};
|
|
6
5
|
//# sourceMappingURL=sd-component-library225.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library225.js","sources":[
|
|
1
|
+
{"version":3,"file":"sd-component-library225.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} = r;
|
|
13
|
-
return /* @__PURE__ */ n.jsx(
|
|
14
|
-
a,
|
|
1
|
+
import { j as x } from "./sd-component-library169.js";
|
|
2
|
+
import { Box as n } from "rebass";
|
|
3
|
+
const $ = ({
|
|
4
|
+
idx: o,
|
|
5
|
+
color: t,
|
|
6
|
+
total: i,
|
|
7
|
+
segmentHeight: r
|
|
8
|
+
}) => {
|
|
9
|
+
const s = `${o === 0 ? r / 2 : 0}px`, a = `${o === i - 1 ? r / 2 : 0}px`;
|
|
10
|
+
return /* @__PURE__ */ x.jsx(
|
|
11
|
+
n,
|
|
15
12
|
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
borderWidth: i || "2px",
|
|
22
|
-
fill: t ? "cl_lightGrey" : d || "#4668F8",
|
|
23
|
-
"data-testid": "square-button",
|
|
24
|
-
variant: "_square",
|
|
25
|
-
children: r.children
|
|
13
|
+
bg: t,
|
|
14
|
+
height: r,
|
|
15
|
+
sx: {
|
|
16
|
+
borderRadius: `${s} ${[...Array(2)].fill(a).join(" ")} ${s}`
|
|
17
|
+
}
|
|
26
18
|
}
|
|
27
19
|
);
|
|
28
20
|
};
|
|
29
21
|
export {
|
|
30
|
-
|
|
22
|
+
$ as LinearGaugeSegment
|
|
31
23
|
};
|
|
32
24
|
//# sourceMappingURL=sd-component-library226.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library226.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library226.js","sources":["../src/components/meters/linear-gauge-meter-partials/linear-gauge-segment/linear-gauge-segment.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { LinearGaugeSegmentProps as Props } from \"./interfaces\";\n\nexport const LinearGaugeSegment: React.FC<Props> = ({\n idx,\n color,\n total,\n segmentHeight,\n}) => {\n const leftRadius = `${idx === 0 ? segmentHeight / 2 : 0}px`;\n const rightRadius = `${idx === total - 1 ? segmentHeight / 2 : 0}px`;\n\n return (\n <Box\n bg={color}\n height={segmentHeight}\n sx={{\n borderRadius: `${leftRadius} ${[...Array(2)]\n .fill(rightRadius)\n .join(\" \")} ${leftRadius}`,\n }}\n />\n );\n};\n"],"names":["LinearGaugeSegment","idx","color","total","segmentHeight","leftRadius","rightRadius","jsx","Box"],"mappings":";;AAMO,MAAMA,IAAsC,CAAC;AAAA,EAClD,KAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC;AACF,MAAM;AACJ,QAAMC,IAAa,GAAGJ,MAAQ,IAAIG,IAAgB,IAAI,CAAC,MACjDE,IAAc,GAAGL,MAAQE,IAAQ,IAAIC,IAAgB,IAAI,CAAC;AAG9D,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAIN;AAAA,MACJ,QAAQE;AAAA,MACR,IAAI;AAAA,QACF,cAAc,GAAGC,CAAU,IAAI,CAAC,GAAG,MAAM,CAAC,CAAC,EACxC,KAAKC,CAAW,EAChB,KAAK,GAAG,CAAC,IAAID,CAAU;AAAA,MAC5B;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { ResponsiveTextV2 as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
children: r
|
|
21
|
-
}
|
|
22
|
-
);
|
|
23
|
-
};
|
|
1
|
+
import { j as o } from "./sd-component-library169.js";
|
|
2
|
+
import { ResponsiveTextV2 as r } from "./sd-component-library135.js";
|
|
3
|
+
const m = ({
|
|
4
|
+
text: e,
|
|
5
|
+
color: t,
|
|
6
|
+
...i
|
|
7
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
8
|
+
r,
|
|
9
|
+
{
|
|
10
|
+
height: "12px",
|
|
11
|
+
fontSizeWeight: [10, "semi-bold"],
|
|
12
|
+
color: t,
|
|
13
|
+
mx: "auto",
|
|
14
|
+
maxWidth: "100%",
|
|
15
|
+
textAlign: "center",
|
|
16
|
+
...i,
|
|
17
|
+
children: e
|
|
18
|
+
}
|
|
19
|
+
);
|
|
24
20
|
export {
|
|
25
|
-
|
|
21
|
+
m as LinearGaugeLabel
|
|
26
22
|
};
|
|
27
23
|
//# sourceMappingURL=sd-component-library227.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library227.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library227.js","sources":["../src/components/meters/linear-gauge-meter-partials/linear-gauge-label/linear-gauge-label.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../texts\";\nimport { LinearGaugeLabelProps as Props } from \"./interfaces\";\n\nexport const LinearGaugeLabel: React.FC<Props> = ({\n text,\n color,\n ...restOfProps\n}) => {\n return (\n <ResponsiveTextV2\n height=\"12px\"\n fontSizeWeight={[10, \"semi-bold\"]}\n color={color}\n mx=\"auto\"\n maxWidth=\"100%\"\n textAlign=\"center\"\n {...restOfProps}\n >\n {text}\n </ResponsiveTextV2>\n );\n};\n"],"names":["LinearGaugeLabel","text","color","restOfProps","jsx","ResponsiveTextV2"],"mappings":";;AAKO,MAAMA,IAAoC,CAAC;AAAA,EAChD,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,QAAO;AAAA,IACP,gBAAgB,CAAC,IAAI,WAAW;AAAA,IAChC,OAAAH;AAAA,IACA,IAAG;AAAA,IACH,UAAS;AAAA,IACT,WAAU;AAAA,IACT,GAAGC;AAAA,IAEH,UAAAF;AAAA,EAAA;AAAA;"}
|
|
@@ -1,29 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { Box as m } from "rebass";
|
|
3
|
-
import { generateTestLocator as c } from "./sd-component-library4.js";
|
|
4
|
-
import { ReactComponent as f } from "./sd-component-library154.js";
|
|
5
|
-
const h = (t) => {
|
|
6
|
-
const { width: n, height: r, fill: e, stroke: i, icon: s } = t, a = s || f;
|
|
7
|
-
return /* @__PURE__ */ o.jsx(
|
|
8
|
-
m,
|
|
9
|
-
{
|
|
10
|
-
sx: {
|
|
11
|
-
width: n || 25,
|
|
12
|
-
height: r || 25,
|
|
13
|
-
fill: e || "currentColor",
|
|
14
|
-
stroke: i || "none",
|
|
15
|
-
animation: "rotation 2s infinite linear",
|
|
16
|
-
"@keyframes rotation ": {
|
|
17
|
-
from: { transform: "rotate(0deg)" },
|
|
18
|
-
to: { transform: "rotate(359deg)" }
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
...c("loading-spinner"),
|
|
22
|
-
children: /* @__PURE__ */ o.jsx(a, {})
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
1
|
+
const i = ({ start: g, end: t }, c) => c >= g && (t === 1 ? c <= t : c < t);
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
i as isMatchingRange
|
|
28
4
|
};
|
|
29
5
|
//# sourceMappingURL=sd-component-library228.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library228.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library228.js","sources":["../src/components/meters/linear-numeric-gauge-meter/utils.ts"],"sourcesContent":["import { LinearNumericGaugeMeterSegment } from \"./interfaces\";\n\nexport const isMatchingRange = (\n { start, end }: Pick<LinearNumericGaugeMeterSegment, \"start\" | \"end\">,\n value: number\n) => value >= start && (end === 1 ? value <= end : value < end);\n"],"names":["isMatchingRange","start","end","value"],"mappings":"AAEO,MAAMA,IAAkB,CAC7B,EAAE,OAAAC,GAAO,KAAAC,EAAI,GACbC,MACGA,KAASF,MAAUC,MAAQ,IAAIC,KAASD,IAAMC,IAAQD;"}
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
),
|
|
26
|
-
r && /* @__PURE__ */ e.jsx(t, { fontSizeWeight: [14, "regular"], children: r })
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
);
|
|
1
|
+
import { j as i } from "./sd-component-library169.js";
|
|
2
|
+
import { FlexCenter as l } from "./sd-component-library30.js";
|
|
3
|
+
const x = ({
|
|
4
|
+
children: t,
|
|
5
|
+
disabled: o,
|
|
6
|
+
onClick: e
|
|
7
|
+
}) => {
|
|
8
|
+
const r = o ? "cl_lightGrey" : "cl_blue";
|
|
9
|
+
return /* @__PURE__ */ i.jsx(
|
|
10
|
+
l,
|
|
11
|
+
{
|
|
12
|
+
height: "100%",
|
|
13
|
+
sx: {
|
|
14
|
+
borderWidth: "2px",
|
|
15
|
+
borderColor: r,
|
|
16
|
+
borderStyle: "solid",
|
|
17
|
+
borderRadius: "5px",
|
|
18
|
+
fill: r
|
|
19
|
+
},
|
|
20
|
+
onClick: o ? void 0 : e,
|
|
21
|
+
children: t
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
30
25
|
export {
|
|
31
|
-
|
|
26
|
+
x as PaginationBarButton
|
|
32
27
|
};
|
|
33
28
|
//# sourceMappingURL=sd-component-library229.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library229.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library229.js","sources":["../src/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-button/pagination-bar-button.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { FlexCenter } from \"../../../../containers\";\nimport { PaginationBarButtonProps as Props } from \"./interfaces\";\n\nexport const PaginationBarButton: React.FC<PropsWithChildren<Props>> = ({\n children,\n disabled,\n onClick,\n}) => {\n const color = disabled ? \"cl_lightGrey\" : \"cl_blue\";\n return (\n <FlexCenter\n height=\"100%\"\n sx={{\n borderWidth: \"2px\",\n borderColor: color,\n borderStyle: \"solid\",\n borderRadius: \"5px\",\n fill: color,\n }}\n onClick={disabled ? undefined : onClick}\n >\n {children}\n </FlexCenter>\n );\n};\n"],"names":["PaginationBarButton","children","disabled","onClick","color","jsx","FlexCenter"],"mappings":";;AAKO,MAAMA,IAA0D,CAAC;AAAA,EACtE,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AACF,MAAM;AACE,QAAAC,IAAQF,IAAW,iBAAiB;AAExC,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAO;AAAA,MACP,IAAI;AAAA,QACF,aAAa;AAAA,QACb,aAAaF;AAAA,QACb,aAAa;AAAA,QACb,cAAc;AAAA,QACd,MAAMA;AAAA,MACR;AAAA,MACA,SAASF,IAAW,SAAYC;AAAA,MAE/B,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,54 +1,25 @@
|
|
|
1
1
|
import { j as r } from "./sd-component-library169.js";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ r.jsx(m, { direction: "top", mr: "15px", ml: "auto" }),
|
|
24
|
-
/* @__PURE__ */ r.jsx(i, { height: "2px", color: "cl_purple" }),
|
|
25
|
-
t.map((o, e) => /* @__PURE__ */ r.jsxs(s.Fragment, { children: [
|
|
26
|
-
e !== 0 && /* @__PURE__ */ r.jsx(
|
|
27
|
-
i,
|
|
28
|
-
{
|
|
29
|
-
color: "cl_headerLine",
|
|
30
|
-
sx: {
|
|
31
|
-
borderStyle: "none solid",
|
|
32
|
-
borderColor: "cl_lightGrey",
|
|
33
|
-
borderWidth: "1px"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ r.jsx(
|
|
38
|
-
x,
|
|
39
|
-
{
|
|
40
|
-
title: o.title,
|
|
41
|
-
onClick: c(o),
|
|
42
|
-
isLast: e === t.length - 1
|
|
43
|
-
},
|
|
44
|
-
o.id
|
|
45
|
-
)
|
|
46
|
-
] }, o.id))
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
};
|
|
2
|
+
import { ResponsiveTextV2 as t } from "./sd-component-library135.js";
|
|
3
|
+
const n = ({
|
|
4
|
+
children: e
|
|
5
|
+
}) => /* @__PURE__ */ r.jsx(
|
|
6
|
+
t,
|
|
7
|
+
{
|
|
8
|
+
fontSizeWeight: [18, "regular"],
|
|
9
|
+
sx: {
|
|
10
|
+
display: "flex",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
justifyContent: "center",
|
|
13
|
+
height: "100%",
|
|
14
|
+
borderRadius: "5px",
|
|
15
|
+
borderWidth: "1px",
|
|
16
|
+
borderColor: "cl_lightGrey",
|
|
17
|
+
borderStyle: "solid"
|
|
18
|
+
},
|
|
19
|
+
children: e
|
|
20
|
+
}
|
|
21
|
+
);
|
|
51
22
|
export {
|
|
52
|
-
|
|
23
|
+
n as PaginationBarCurrentPage
|
|
53
24
|
};
|
|
54
25
|
//# sourceMappingURL=sd-component-library230.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library230.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library230.js","sources":["../src/components/pagination-bars/pagination-bar-mobile/partials/pagination-bar-current-page/pagination-bar-current-page.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts\";\n\nexport const PaginationBarCurrentPage: React.FC<PropsWithChildren<{}>> = ({\n children,\n}) => {\n return (\n <ResponsiveTextV2\n fontSizeWeight={[18, \"regular\"]}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n height: \"100%\",\n borderRadius: \"5px\",\n borderWidth: \"1px\",\n borderColor: \"cl_lightGrey\",\n borderStyle: \"solid\",\n }}\n >\n {children}\n </ResponsiveTextV2>\n );\n};\n"],"names":["PaginationBarCurrentPage","children","jsx","ResponsiveTextV2"],"mappings":";;AAIO,MAAMA,IAA4D,CAAC;AAAA,EACxE,UAAAC;AACF,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,IAC9B,IAAI;AAAA,MACF,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,aAAa;AAAA,MACb,aAAa;AAAA,MACb,aAAa;AAAA,IACf;AAAA,IAEC,UAAAF;AAAA,EAAA;AAAA;"}
|
|
@@ -1,137 +1,33 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
name: a,
|
|
31
|
-
selection: l,
|
|
32
|
-
hasDefaultValue: B,
|
|
33
|
-
onFocus: E,
|
|
34
|
-
errorBackground: M,
|
|
35
|
-
labelContainerAlignItems: V,
|
|
36
|
-
translateSelect: d = !0,
|
|
37
|
-
translateDefaultOption: x,
|
|
38
|
-
containerVariant: _,
|
|
39
|
-
disabled: z,
|
|
40
|
-
pl: I,
|
|
41
|
-
testLocatorId: R
|
|
42
|
-
}) => {
|
|
43
|
-
const T = !r || !["compact", "tertiary", "secondaryV2", "updatedSecondary"].includes(
|
|
44
|
-
r
|
|
45
|
-
), W = navigator.userAgent.toLowerCase().indexOf("firefox") > -1, k = p(
|
|
46
|
-
x !== !0 && !d || x === !1
|
|
47
|
-
), w = p(!d);
|
|
48
|
-
return /* @__PURE__ */ t.jsxs(
|
|
49
|
-
Z,
|
|
50
|
-
{
|
|
51
|
-
variant: `_containers.selectors.${_ || r}`,
|
|
52
|
-
sx: {
|
|
53
|
-
width: f,
|
|
54
|
-
m: g,
|
|
55
|
-
mt: h,
|
|
56
|
-
mr: C,
|
|
57
|
-
mb: j,
|
|
58
|
-
ml: v,
|
|
59
|
-
position: "relative",
|
|
60
|
-
...T ? {
|
|
61
|
-
svg: {
|
|
62
|
-
transform: `translate(-2px,${W ? 0 : 5}px) scale(.78)`,
|
|
63
|
-
fill: "#4568F8"
|
|
64
|
-
}
|
|
65
|
-
} : {},
|
|
66
|
-
path: {
|
|
67
|
-
d: "path('M12,8.6L6.72,3.29C6.32,2.9,5.68,2.9,5.29,3.29C4.90,3.69,4.9,4.33,5.29,4.73L11.23,10.7C11.44,10.91,11.72,11.01,12,11C12.27,11.01,12.55,10.91,12.76,10.7L18.7,4.73C19.09,4.33,19.09,3.69,18.7,3.29C18.31,2.9,17.67,2.9,17.27,3.29Z M12,8.6')"
|
|
68
|
-
},
|
|
69
|
-
gap: $
|
|
70
|
-
},
|
|
71
|
-
"data-testid": "base-selector-v2",
|
|
72
|
-
children: [
|
|
73
|
-
i && /* @__PURE__ */ t.jsxs(G, { gap: "0px", alignItems: V, children: [
|
|
74
|
-
/* @__PURE__ */ t.jsx(
|
|
75
|
-
D,
|
|
76
|
-
{
|
|
77
|
-
htmlFor: a,
|
|
78
|
-
variant: `selectors.${r}${m ? "Error" : ""}`,
|
|
79
|
-
label: i,
|
|
80
|
-
m: b,
|
|
81
|
-
"data-testid": "selector-label"
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
e && /* @__PURE__ */ t.jsx(
|
|
85
|
-
H,
|
|
86
|
-
{
|
|
87
|
-
letterSpacing: "1px",
|
|
88
|
-
textTransform: "uppercase",
|
|
89
|
-
mt: e.mt,
|
|
90
|
-
ml: e.ml || "3px",
|
|
91
|
-
color: e.color || "cl_grey",
|
|
92
|
-
fontSizeWeight: e.fontSizeWeight || [10, "semi-bold"],
|
|
93
|
-
"data-testid": "second-label",
|
|
94
|
-
children: e.text
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] }),
|
|
98
|
-
/* @__PURE__ */ t.jsx(
|
|
99
|
-
A,
|
|
100
|
-
{
|
|
101
|
-
id: a,
|
|
102
|
-
name: a,
|
|
103
|
-
height: F,
|
|
104
|
-
value: o ? n : l.title.trim(),
|
|
105
|
-
variant: `_selectors.${r}${m ? "Error" : ""}`,
|
|
106
|
-
onChange: (s) => S(s.target.value),
|
|
107
|
-
onFocus: E,
|
|
108
|
-
backgroundColor: M ? "rgba(255, 0, 0, 0.05)" : "",
|
|
109
|
-
sx: {
|
|
110
|
-
textTransform: N,
|
|
111
|
-
...c && l.value === null ? { color: c } : {},
|
|
112
|
-
pl: I
|
|
113
|
-
},
|
|
114
|
-
disabled: z || o,
|
|
115
|
-
...q(R),
|
|
116
|
-
children: o ? /* @__PURE__ */ t.jsx("option", { "data-test": "disabled-option", children: n }, "disabledTextValue") : /* @__PURE__ */ t.jsx(t.Fragment, { children: u.slice(
|
|
117
|
-
// should default option be hidden?
|
|
118
|
-
B && y && l.value !== null ? 1 : 0
|
|
119
|
-
).map((s) => /* @__PURE__ */ t.jsx(
|
|
120
|
-
"option",
|
|
121
|
-
{
|
|
122
|
-
"data-testid": "selector-option",
|
|
123
|
-
className: s.value === null ? k : w,
|
|
124
|
-
children: s.title
|
|
125
|
-
},
|
|
126
|
-
s.id
|
|
127
|
-
)) })
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
);
|
|
133
|
-
};
|
|
1
|
+
import { j as e } from "./sd-component-library169.js";
|
|
2
|
+
import { FlexCenterSpaceBetween as p } from "./sd-component-library30.js";
|
|
3
|
+
import { ResponsiveTextV2 as t } from "./sd-component-library135.js";
|
|
4
|
+
const h = ({
|
|
5
|
+
title: i,
|
|
6
|
+
secondaryText: r,
|
|
7
|
+
textTransform: o,
|
|
8
|
+
...n
|
|
9
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
10
|
+
p,
|
|
11
|
+
{
|
|
12
|
+
width: "100%",
|
|
13
|
+
p: "12px 16px",
|
|
14
|
+
bg: "white",
|
|
15
|
+
sx: { cursor: "pointer" },
|
|
16
|
+
...n,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ e.jsx(
|
|
19
|
+
t,
|
|
20
|
+
{
|
|
21
|
+
fontSizeWeight: [16, "regular"],
|
|
22
|
+
textTransform: o,
|
|
23
|
+
children: i
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
r && /* @__PURE__ */ e.jsx(t, { fontSizeWeight: [14, "regular"], children: r })
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
134
30
|
export {
|
|
135
|
-
|
|
31
|
+
h as CustomOptionBox
|
|
136
32
|
};
|
|
137
33
|
//# sourceMappingURL=sd-component-library231.js.map
|