@selfdecode/sd-component-library 4.0.87 → 4.0.89
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/sd-component-library100.js +2 -2
- package/lib/sd-component-library101.js +3 -3
- package/lib/sd-component-library104.js +2 -2
- package/lib/sd-component-library106.js +2 -2
- package/lib/sd-component-library117.js +1 -1
- package/lib/sd-component-library118.js +1 -1
- package/lib/sd-component-library120.js +1 -1
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- package/lib/sd-component-library129.js +1 -1
- package/lib/sd-component-library132.js +3 -3
- package/lib/sd-component-library133.js +1 -1
- package/lib/sd-component-library135.js +2 -2
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library166.js +1 -1
- package/lib/sd-component-library195.js +3 -3
- package/lib/sd-component-library199.js +2 -57
- package/lib/sd-component-library199.js.map +1 -1
- package/lib/sd-component-library200.js +30 -3
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +599 -2
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +3 -30
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +24 -598
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library204.js +55 -63
- package/lib/sd-component-library204.js.map +1 -1
- package/lib/sd-component-library205.js +14 -20
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +5 -19
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library208.js +65 -5
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +18 -21
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +64 -3
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +23 -3
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +31 -55
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +20 -22
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -18
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +3 -40
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library227.js +26 -3
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +3 -31
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +31 -19
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library23.js +1 -1
- package/lib/sd-component-library230.js +19 -20
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +20 -28
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +27 -32
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +33 -3
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +2 -2
- package/lib/sd-component-library236.js +1 -1
- package/lib/sd-component-library237.js +1 -1
- package/lib/sd-component-library238.js +3 -64
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +21 -43
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +2 -2
- package/lib/sd-component-library240.js +107 -11
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +47 -21
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +23 -108
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +49 -43
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +46 -22
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +73 -51
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +62 -46
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +41 -73
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +12 -40
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +41 -27
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library25.js +1 -1
- package/lib/sd-component-library250.js +27 -21
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +20 -19
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +20 -2
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +2 -26
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library256.js +21 -25
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library258.js +22 -24
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library260.js +25 -21
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +24 -22
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +27 -27
- package/lib/sd-component-library262.js.map +1 -1
- package/lib/sd-component-library263.js +13 -43
- package/lib/sd-component-library263.js.map +1 -1
- package/lib/sd-component-library264.js +112 -118
- package/lib/sd-component-library264.js.map +1 -1
- package/lib/sd-component-library265.js +105 -57
- package/lib/sd-component-library265.js.map +1 -1
- package/lib/sd-component-library266.js +9 -75
- package/lib/sd-component-library266.js.map +1 -1
- package/lib/sd-component-library267.js +50 -30
- package/lib/sd-component-library267.js.map +1 -1
- package/lib/sd-component-library268.js +29 -20
- package/lib/sd-component-library268.js.map +1 -1
- package/lib/sd-component-library269.js +44 -118
- package/lib/sd-component-library269.js.map +1 -1
- package/lib/sd-component-library270.js +113 -104
- package/lib/sd-component-library270.js.map +1 -1
- package/lib/sd-component-library271.js +73 -9
- package/lib/sd-component-library271.js.map +1 -1
- package/lib/sd-component-library272.js +68 -42
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library291.js +3 -3
- package/lib/sd-component-library292.js +4 -4
- package/lib/sd-component-library293.js +1 -1
- package/lib/sd-component-library294.js +2 -3
- package/lib/sd-component-library294.js.map +1 -1
- package/lib/sd-component-library295.js +77 -3
- package/lib/sd-component-library295.js.map +1 -1
- package/lib/sd-component-library296.js +93 -3
- package/lib/sd-component-library296.js.map +1 -1
- package/lib/sd-component-library297.js +53 -2
- package/lib/sd-component-library297.js.map +1 -1
- package/lib/sd-component-library298.js +8 -76
- package/lib/sd-component-library298.js.map +1 -1
- package/lib/sd-component-library299.js +4 -92
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +48 -48
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +3 -9
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +3 -5
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +3 -53
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library314.js +34 -50
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library315.js +20 -88
- package/lib/sd-component-library315.js.map +1 -1
- package/lib/sd-component-library316.js +91 -33
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +51 -25
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library32.js +1 -1
- package/lib/sd-component-library33.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library50.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library57.js +61 -61
- package/lib/sd-component-library57.js.map +1 -1
- package/lib/sd-component-library58.js +33 -28
- package/lib/sd-component-library58.js.map +1 -1
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library86.js +6 -6
- package/lib/sd-component-library87.js +2 -2
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +1 -1
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library92.js +5 -5
- package/lib/sd-component-library93.js +1 -1
- package/lib/sd-component-library94.js +6 -6
- package/lib/sd-component-library95.js +1 -1
- package/lib/sd-component-library98.js +2 -2
- package/lib/sd-component-library99.js +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library209.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library209.js","sources":["../src/components/dividers/divider/divider.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { DividerProps as Props } from \"./interfaces\";\n\n/**\n * Base divider component. Other divider components should be built from this.\n */\nexport const Divider: React.FC<Props> = ({\n color = \"cl_lightGrey\",\n sx,\n ...props\n}) => {\n return (\n <Box\n sx={{\n bg: color,\n ...props,\n ...sx,\n }}\n data-test=\"divider\"\n />\n );\n};\n"],"names":["Divider","color","sx","props","jsx","Box"],"mappings":";;AASO,MAAMA,IAA2B,CAAC;AAAA,EACvC,OAAAC,IAAQ;AAAA,EACR,IAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,IAAI;AAAA,MACF,IAAIJ;AAAA,MACJ,GAAGE;AAAA,MACH,GAAGD;AAAA,IACL;AAAA,IACA,aAAU;AAAA,EAAA;AAAA;"}
|
|
@@ -1,6 +1,67 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as o } from "./sd-component-library195.js";
|
|
2
|
+
import { Box as d } from "rebass";
|
|
3
|
+
import { BoldText as t } from "./sd-component-library162.js";
|
|
4
|
+
import { FlexCenter as h } from "./sd-component-library35.js";
|
|
5
|
+
const m = "80px", B = (i) => {
|
|
6
|
+
const {
|
|
7
|
+
questionText: n,
|
|
8
|
+
children: r,
|
|
9
|
+
containerSx: x,
|
|
10
|
+
iconContainerSx: p,
|
|
11
|
+
questionTextFontSize: s = 24,
|
|
12
|
+
iconFontSize: a = 40,
|
|
13
|
+
questionMarginBottom: c = "30px",
|
|
14
|
+
showIcon: e = !1,
|
|
15
|
+
...l
|
|
16
|
+
} = i;
|
|
17
|
+
return /* @__PURE__ */ o.jsxs(
|
|
18
|
+
d,
|
|
19
|
+
{
|
|
20
|
+
sx: {
|
|
21
|
+
width: "270px",
|
|
22
|
+
position: "relative",
|
|
23
|
+
borderRadius: "5px",
|
|
24
|
+
boxShadow: "0px 0px 10px #9BA2B433",
|
|
25
|
+
px: "40px",
|
|
26
|
+
pb: "40px",
|
|
27
|
+
pt: e ? "70px" : "40px",
|
|
28
|
+
bg: "cl_white",
|
|
29
|
+
...x
|
|
30
|
+
},
|
|
31
|
+
...l,
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ o.jsx(
|
|
34
|
+
t,
|
|
35
|
+
{
|
|
36
|
+
fontSize: s,
|
|
37
|
+
textAlign: "center",
|
|
38
|
+
mb: c,
|
|
39
|
+
children: n
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
r,
|
|
43
|
+
e && /* @__PURE__ */ o.jsx(
|
|
44
|
+
h,
|
|
45
|
+
{
|
|
46
|
+
size: m,
|
|
47
|
+
bg: "white",
|
|
48
|
+
sx: {
|
|
49
|
+
position: "absolute",
|
|
50
|
+
left: "50%",
|
|
51
|
+
top: 0,
|
|
52
|
+
boxShadow: "0px 0px 10px #9BA2B433",
|
|
53
|
+
borderRadius: "50%",
|
|
54
|
+
transform: "translate(-50%, -50%)",
|
|
55
|
+
...p
|
|
56
|
+
},
|
|
57
|
+
children: /* @__PURE__ */ o.jsx(t, { fontSize: a, color: "cl_purple", children: "?" })
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
};
|
|
3
64
|
export {
|
|
4
|
-
|
|
65
|
+
B as BaseFeedbackContainer
|
|
5
66
|
};
|
|
6
67
|
//# sourceMappingURL=sd-component-library210.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library210.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library210.js","sources":["../src/components/feedback/base-feedback-container/base-feedback-container.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { FlexCenter } from \"../../containers\";\nimport { BoldText } from \"../../texts\";\nimport { BaseFeedbackBlockProps as Props } from \"./interfaces\";\n\nconst iconSize = \"80px\";\n\nexport const BaseFeedbackContainer: React.FC<Props> = (props) => {\n const {\n questionText,\n children,\n containerSx,\n iconContainerSx,\n questionTextFontSize = 24,\n iconFontSize = 40,\n questionMarginBottom = \"30px\",\n showIcon = false,\n ...hoverCallbacks\n } = props;\n\n return (\n <Box\n sx={{\n width: \"270px\",\n position: \"relative\",\n borderRadius: \"5px\",\n boxShadow: \"0px 0px 10px #9BA2B433\",\n px: \"40px\",\n pb: \"40px\",\n pt: showIcon ? \"70px\" : \"40px\",\n bg: \"cl_white\",\n ...containerSx,\n }}\n {...hoverCallbacks}\n >\n <BoldText\n fontSize={questionTextFontSize}\n textAlign=\"center\"\n mb={questionMarginBottom}\n >\n {questionText}\n </BoldText>\n\n {children}\n\n {showIcon && (\n <FlexCenter\n size={iconSize}\n bg=\"white\"\n sx={{\n position: \"absolute\",\n left: \"50%\",\n top: 0,\n boxShadow: \"0px 0px 10px #9BA2B433\",\n borderRadius: \"50%\",\n transform: \"translate(-50%, -50%)\",\n ...iconContainerSx,\n }}\n >\n <BoldText fontSize={iconFontSize} color=\"cl_purple\">\n ?\n </BoldText>\n </FlexCenter>\n )}\n </Box>\n );\n};\n"],"names":["iconSize","BaseFeedbackContainer","props","questionText","children","containerSx","iconContainerSx","questionTextFontSize","iconFontSize","questionMarginBottom","showIcon","hoverCallbacks","jsxs","Box","jsx","BoldText","FlexCenter"],"mappings":";;;;AAQA,MAAMA,IAAW,QAEJC,IAAyC,CAACC,MAAU;AACzD,QAAA;AAAA,IACJ,cAAAC;AAAA,IACA,UAAAC;AAAA,IACA,aAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,sBAAAC,IAAuB;AAAA,IACvB,cAAAC,IAAe;AAAA,IACf,sBAAAC,IAAuB;AAAA,IACvB,UAAAC,IAAW;AAAA,IACX,GAAGC;AAAA,EACD,IAAAT;AAGF,SAAAU,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAO;AAAA,QACP,UAAU;AAAA,QACV,cAAc;AAAA,QACd,WAAW;AAAA,QACX,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAIH,IAAW,SAAS;AAAA,QACxB,IAAI;AAAA,QACJ,GAAGL;AAAA,MACL;AAAA,MACC,GAAGM;AAAA,MAEJ,UAAA;AAAA,QAAAG,gBAAAA,EAAA;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,UAAUR;AAAA,YACV,WAAU;AAAA,YACV,IAAIE;AAAA,YAEH,UAAAN;AAAA,UAAA;AAAA,QACH;AAAA,QAECC;AAAA,QAEAM,KACCI,gBAAAA,EAAA;AAAA,UAACE;AAAA,UAAA;AAAA,YACC,MAAMhB;AAAA,YACN,IAAG;AAAA,YACH,IAAI;AAAA,cACF,UAAU;AAAA,cACV,MAAM;AAAA,cACN,KAAK;AAAA,cACL,WAAW;AAAA,cACX,cAAc;AAAA,cACd,WAAW;AAAA,cACX,GAAGM;AAAA,YACL;AAAA,YAEA,gCAACS,GAAS,EAAA,UAAUP,GAAc,OAAM,aAAY,UAEpD,KAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library195.js";
|
|
2
|
+
import { Button as c } from "./sd-component-library25.js";
|
|
3
|
+
const _ = (o) => {
|
|
4
|
+
const { active: e, disabled: l } = o;
|
|
5
|
+
return /* @__PURE__ */ r.jsx(
|
|
6
|
+
c,
|
|
7
|
+
{
|
|
8
|
+
width: ["100%"],
|
|
9
|
+
variant: "_booleanAction",
|
|
10
|
+
bg: e ? "cl_purple" : void 0,
|
|
11
|
+
color: e ? "cl_white" : l ? "cl_grey" : void 0,
|
|
12
|
+
hoverBg: l ? e ? "cl_purple" : "cl_white" : "cl_blue",
|
|
13
|
+
borderColor: l ? "cl_grey" : e ? "cl_purple" : void 0,
|
|
14
|
+
hoverBorderColor: e ? "cl_blue" : void 0,
|
|
15
|
+
hoverColor: l && !e ? "cl_grey" : "cl_white",
|
|
16
|
+
fill: e ? "cl_white" : l ? "cl_grey" : "cl_blue",
|
|
17
|
+
hoverFill: l && !e ? "cl_grey" : "cl_white",
|
|
18
|
+
borderWidth: "2px",
|
|
19
|
+
...o
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
};
|
|
3
23
|
export {
|
|
4
|
-
|
|
24
|
+
_ as BaseFeedbackButton
|
|
5
25
|
};
|
|
6
26
|
//# sourceMappingURL=sd-component-library211.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library211.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library211.js","sources":["../src/components/feedback/base-feedback-button/base-feedback-button.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Button } from \"../../buttons\";\nimport { BaseFeedbackButtonProps as Props } from \"./interfaces\";\n\nexport const BaseFeedbackButton: React.FC<Props> = (props) => {\n const { active, disabled } = props;\n return (\n <Button\n width={[\"100%\"]}\n variant=\"_booleanAction\"\n bg={active ? \"cl_purple\" : undefined}\n color={active ? \"cl_white\" : disabled ? \"cl_grey\" : undefined}\n hoverBg={disabled ? (active ? \"cl_purple\" : \"cl_white\") : \"cl_blue\"}\n borderColor={disabled ? \"cl_grey\" : active ? \"cl_purple\" : undefined}\n hoverBorderColor={active ? \"cl_blue\" : undefined}\n hoverColor={disabled && !active ? \"cl_grey\" : \"cl_white\"}\n fill={active ? \"cl_white\" : disabled ? \"cl_grey\" : \"cl_blue\"}\n hoverFill={disabled && !active ? \"cl_grey\" : \"cl_white\"}\n borderWidth=\"2px\"\n {...props}\n />\n );\n};\n"],"names":["BaseFeedbackButton","props","active","disabled","jsx","Button"],"mappings":";;AAKa,MAAAA,IAAsC,CAACC,MAAU;AACtD,QAAA,EAAE,QAAAC,GAAQ,UAAAC,EAAa,IAAAF;AAE3B,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAO,CAAC,MAAM;AAAA,MACd,SAAQ;AAAA,MACR,IAAIH,IAAS,cAAc;AAAA,MAC3B,OAAOA,IAAS,aAAaC,IAAW,YAAY;AAAA,MACpD,SAASA,IAAYD,IAAS,cAAc,aAAc;AAAA,MAC1D,aAAaC,IAAW,YAAYD,IAAS,cAAc;AAAA,MAC3D,kBAAkBA,IAAS,YAAY;AAAA,MACvC,YAAYC,KAAY,CAACD,IAAS,YAAY;AAAA,MAC9C,MAAMA,IAAS,aAAaC,IAAW,YAAY;AAAA,MACnD,WAAWA,KAAY,CAACD,IAAS,YAAY;AAAA,MAC7C,aAAY;AAAA,MACX,GAAGD;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
|
@@ -1,67 +1,43 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library195.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
iconContainerSx: p,
|
|
11
|
-
questionTextFontSize: s = 24,
|
|
12
|
-
iconFontSize: a = 40,
|
|
13
|
-
questionMarginBottom: c = "30px",
|
|
14
|
-
showIcon: e = !1,
|
|
15
|
-
...l
|
|
16
|
-
} = i;
|
|
17
|
-
return /* @__PURE__ */ o.jsxs(
|
|
18
|
-
d,
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { Box as a } from "rebass";
|
|
4
|
+
import { AutocompleteOptionBox as n } from "./sd-component-library312.js";
|
|
5
|
+
import { HorizontalDivider as d } from "./sd-component-library49.js";
|
|
6
|
+
function f(s) {
|
|
7
|
+
const { results: t, value: i, onSelect: l, translateContent: x = !0 } = s;
|
|
8
|
+
return /* @__PURE__ */ o.jsx(
|
|
9
|
+
a,
|
|
19
10
|
{
|
|
20
11
|
sx: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
12
|
+
position: "absolute",
|
|
13
|
+
top: "100%",
|
|
14
|
+
bg: "white",
|
|
15
|
+
width: "100%",
|
|
16
|
+
borderRadius: "0px 0px 3px 3px",
|
|
17
|
+
borderWidth: "1px",
|
|
18
|
+
borderStyle: "solid",
|
|
19
|
+
borderColor: "#C8CCE5",
|
|
20
|
+
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)",
|
|
21
|
+
zIndex: 100
|
|
30
22
|
},
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
className: x ? void 0 : "no-translate",
|
|
24
|
+
"data-test": "results-box",
|
|
25
|
+
children: t.map(({ synonyms: r }, e) => /* @__PURE__ */ o.jsxs(p.Fragment, { children: [
|
|
33
26
|
/* @__PURE__ */ o.jsx(
|
|
34
|
-
|
|
27
|
+
n,
|
|
35
28
|
{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
value: i,
|
|
30
|
+
synonyms: r,
|
|
31
|
+
onSelect: l
|
|
32
|
+
},
|
|
33
|
+
r.join()
|
|
41
34
|
),
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
h,
|
|
45
|
-
{
|
|
46
|
-
size: m,
|
|
47
|
-
bg: "white",
|
|
48
|
-
sx: {
|
|
49
|
-
position: "absolute",
|
|
50
|
-
left: "50%",
|
|
51
|
-
top: 0,
|
|
52
|
-
boxShadow: "0px 0px 10px #9BA2B433",
|
|
53
|
-
borderRadius: "50%",
|
|
54
|
-
transform: "translate(-50%, -50%)",
|
|
55
|
-
...p
|
|
56
|
-
},
|
|
57
|
-
children: /* @__PURE__ */ o.jsx(t, { fontSize: a, color: "cl_purple", children: "?" })
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
]
|
|
35
|
+
e !== t.length - 1 && /* @__PURE__ */ o.jsx(d, { color: "cl_lightGrey" })
|
|
36
|
+
] }, e))
|
|
61
37
|
}
|
|
62
38
|
);
|
|
63
|
-
}
|
|
39
|
+
}
|
|
64
40
|
export {
|
|
65
|
-
|
|
41
|
+
f as ResultsBox
|
|
66
42
|
};
|
|
67
43
|
//# sourceMappingURL=sd-component-library212.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library212.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library212.js","sources":["../src/components/inputs/autocomplete-input/partials/results-box/results-box.tsx"],"sourcesContent":["import React, { PropsWithChildren } from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { HorizontalDivider } from \"../../../../dividers/horizontal-divider\";\nimport { AutocompleteOptionBox } from \"../autocomplete-option-box\";\nimport { ResultsBoxProps as Props } from \"./interfaces\";\n\nexport function ResultsBox<T>(props: PropsWithChildren<Props<T>>) {\n const { results, value, onSelect, translateContent = true } = props;\n\n return (\n <Box\n sx={{\n position: \"absolute\",\n top: \"100%\",\n bg: \"white\",\n width: \"100%\",\n borderRadius: \"0px 0px 3px 3px\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"#C8CCE5\",\n boxShadow: \"2px 3px 10px rgba(211,223,255,0.25)\",\n zIndex: 100,\n }}\n className={!translateContent ? \"no-translate\" : undefined}\n data-test=\"results-box\"\n >\n {results.map(({ synonyms }, idx) => (\n <React.Fragment key={idx}>\n <AutocompleteOptionBox\n value={value}\n synonyms={synonyms}\n key={synonyms.join()}\n onSelect={onSelect}\n />\n {idx !== results.length - 1 && (\n <HorizontalDivider color=\"cl_lightGrey\" />\n )}\n </React.Fragment>\n ))}\n </Box>\n );\n}\n"],"names":["ResultsBox","props","results","value","onSelect","translateContent","jsx","Box","synonyms","idx","jsxs","React","AutocompleteOptionBox","HorizontalDivider"],"mappings":";;;;;AAQO,SAASA,EAAcC,GAAoC;AAChE,QAAM,EAAE,SAAAC,GAAS,OAAAC,GAAO,UAAAC,GAAU,kBAAAC,IAAmB,GAAS,IAAAJ;AAG5D,SAAAK,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,IAAI;AAAA,QACJ,OAAO;AAAA,QACP,cAAc;AAAA,QACd,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,WAAW;AAAA,QACX,QAAQ;AAAA,MACV;AAAA,MACA,WAAYF,IAAoC,SAAjB;AAAA,MAC/B,aAAU;AAAA,MAET,UAAAH,EAAQ,IAAI,CAAC,EAAE,UAAAM,EAAA,GAAYC,MAC1BC,gBAAAA,OAACC,EAAM,UAAN,EACC,UAAA;AAAA,QAAAL,gBAAAA,EAAA;AAAA,UAACM;AAAA,UAAA;AAAA,YACC,OAAAT;AAAA,YACA,UAAAK;AAAA,YAEA,UAAAJ;AAAA,UAAA;AAAA,UADKI,EAAS,KAAK;AAAA,QAErB;AAAA,QACCC,MAAQP,EAAQ,SAAS,KACvBI,gBAAAA,EAAA,IAAAO,GAAA,EAAkB,OAAM,gBAAe;AAAA,MAAA,EAAA,GARvBJ,CAUrB,CACD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,26 +1,24 @@
|
|
|
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
|
-
);
|
|
1
|
+
import { j as e } from "./sd-component-library195.js";
|
|
2
|
+
import { Box as t } from "rebass";
|
|
3
|
+
import { TwentyFourBold as s } from "./sd-component-library160.js";
|
|
4
|
+
import { MaxMaxContainer as c } from "./sd-component-library41.js";
|
|
5
|
+
const b = (o) => {
|
|
6
|
+
const {
|
|
7
|
+
title: i,
|
|
8
|
+
renderNegativeOption: a,
|
|
9
|
+
renderPositiveOption: n,
|
|
10
|
+
onPositiveFeedback: r,
|
|
11
|
+
onNegativeFeedback: d
|
|
12
|
+
} = o;
|
|
13
|
+
return /* @__PURE__ */ e.jsxs(t, { "data-testid": "base-boolean-feedback", children: [
|
|
14
|
+
/* @__PURE__ */ e.jsx(s, { "data-testid": "feedback-title", children: i }),
|
|
15
|
+
/* @__PURE__ */ e.jsxs(c, { mt: ["20px"], gap: ["20px"], children: [
|
|
16
|
+
/* @__PURE__ */ e.jsx(t, { "data-testid": "positive-option-container", children: n(r) }),
|
|
17
|
+
/* @__PURE__ */ e.jsx(t, { "data-testid": "negative-option-container", children: a(d) })
|
|
18
|
+
] })
|
|
19
|
+
] });
|
|
22
20
|
};
|
|
23
21
|
export {
|
|
24
|
-
|
|
22
|
+
b as BaseBooleanFeedback
|
|
25
23
|
};
|
|
26
24
|
//# sourceMappingURL=sd-component-library213.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library213.js","sources":["../src/components/feedback/base-feedback
|
|
1
|
+
{"version":3,"file":"sd-component-library213.js","sources":["../src/components/boolean-feedback/base-boolean-feedback/base-boolean-feedback.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { MaxMaxContainer } from \"../../containers\";\nimport { TwentyFourBold } from \"../../texts\";\nimport { BaseBooleanFeedbackProps } from \"./interfaces\";\n\n/**\n * BaseBooleanFeedback component.\n */\nexport const BaseBooleanFeedback: React.FC<BaseBooleanFeedbackProps> = (\n props\n) => {\n const {\n title,\n renderNegativeOption,\n renderPositiveOption,\n onPositiveFeedback,\n onNegativeFeedback,\n } = props;\n\n return (\n <Box data-testid=\"base-boolean-feedback\">\n <TwentyFourBold data-testid=\"feedback-title\">{title}</TwentyFourBold>\n <MaxMaxContainer mt={[\"20px\"]} gap={[\"20px\"]}>\n <Box data-testid=\"positive-option-container\">\n {renderPositiveOption(onPositiveFeedback)}\n </Box>\n <Box data-testid=\"negative-option-container\">\n {renderNegativeOption(onNegativeFeedback)}\n </Box>\n </MaxMaxContainer>\n </Box>\n );\n};\n"],"names":["BaseBooleanFeedback","props","title","renderNegativeOption","renderPositiveOption","onPositiveFeedback","onNegativeFeedback","jsxs","Box","jsx","TwentyFourBold","MaxMaxContainer"],"mappings":";;;;AAWa,MAAAA,IAA0D,CACrEC,MACG;AACG,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAL;AAGF,SAAAM,gBAAAA,EAAA,KAACC,GAAI,EAAA,eAAY,yBACf,UAAA;AAAA,IAACC,gBAAAA,EAAA,IAAAC,GAAA,EAAe,eAAY,kBAAkB,UAAMR,GAAA;AAAA,IACpDK,gBAAAA,OAACI,KAAgB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,GACzC,UAAA;AAAA,MAAAF,gBAAAA,MAACD,GAAI,EAAA,eAAY,6BACd,UAAAJ,EAAqBC,CAAkB,GAC1C;AAAA,4BACCG,GAAI,EAAA,eAAY,6BACd,UAAAL,EAAqBG,CAAkB,GAC1C;AAAA,IAAA,GACF;AAAA,EACF,EAAA,CAAA;AAEJ;"}
|
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const m = ({
|
|
4
|
-
color: r = "cl_lightGrey",
|
|
5
|
-
sx: t,
|
|
6
|
-
...i
|
|
7
|
-
}) => /* @__PURE__ */ o.jsx(
|
|
8
|
-
e,
|
|
9
|
-
{
|
|
10
|
-
sx: {
|
|
11
|
-
bg: r,
|
|
12
|
-
...i,
|
|
13
|
-
...t
|
|
14
|
-
},
|
|
15
|
-
"data-test": "divider"
|
|
16
|
-
}
|
|
17
|
-
);
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = (a) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32.531 33", ...a }, /* @__PURE__ */ t.createElement("path", { d: "M21,13.5v-6A4.5,4.5,0,0,0,16.5,3l-6,13.5V33H27.42a3,3,0,0,0,3-2.55l2.07-13.5a3,3,0,0,0-3-3.45ZM10.5,33H6a3,3,0,0,1-3-3V19.5a3,3,0,0,1,3-3h4.5", transform: "translate(-1.5 -1.5)" }));
|
|
18
3
|
export {
|
|
19
|
-
|
|
4
|
+
e as ReactComponent
|
|
20
5
|
};
|
|
21
6
|
//# sourceMappingURL=sd-component-library214.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library214.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library214.js","sources":["../src/components/boolean-feedback/thumbs-feedback/assets/thumbs-up.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMi41MzEgMzMiPgogICAgPHBhdGgKICAgICAgICBkPSJNMjEsMTMuNXYtNkE0LjUsNC41LDAsMCwwLDE2LjUsM2wtNiwxMy41VjMzSDI3LjQyYTMsMywwLDAsMCwzLTIuNTVsMi4wNy0xMy41YTMsMywwLDAsMC0zLTMuNDVaTTEwLjUsMzNINmEzLDMsMCwwLDEtMy0zVjE5LjVhMywzLDAsMCwxLDMtM2g0LjUiCiAgICAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuNSAtMS41KSIgLz4KPC9zdmc+Cg==\""],"names":["SvgThumbsUp","props","React"],"mappings":";AACK,MAACA,IAAc,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,iBAAiB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,iJAAiJ,WAAW,wBAAwB,CAAC;"}
|
|
@@ -1,43 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { Box as a } from "rebass";
|
|
4
|
-
import { AutocompleteOptionBox as n } from "./sd-component-library312.js";
|
|
5
|
-
import { HorizontalDivider as d } from "./sd-component-library49.js";
|
|
6
|
-
function f(s) {
|
|
7
|
-
const { results: t, value: i, onSelect: l, translateContent: x = !0 } = s;
|
|
8
|
-
return /* @__PURE__ */ o.jsx(
|
|
9
|
-
a,
|
|
10
|
-
{
|
|
11
|
-
sx: {
|
|
12
|
-
position: "absolute",
|
|
13
|
-
top: "100%",
|
|
14
|
-
bg: "white",
|
|
15
|
-
width: "100%",
|
|
16
|
-
borderRadius: "0px 0px 3px 3px",
|
|
17
|
-
borderWidth: "1px",
|
|
18
|
-
borderStyle: "solid",
|
|
19
|
-
borderColor: "#C8CCE5",
|
|
20
|
-
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)",
|
|
21
|
-
zIndex: 100
|
|
22
|
-
},
|
|
23
|
-
className: x ? void 0 : "no-translate",
|
|
24
|
-
"data-test": "results-box",
|
|
25
|
-
children: t.map(({ synonyms: r }, e) => /* @__PURE__ */ o.jsxs(p.Fragment, { children: [
|
|
26
|
-
/* @__PURE__ */ o.jsx(
|
|
27
|
-
n,
|
|
28
|
-
{
|
|
29
|
-
value: i,
|
|
30
|
-
synonyms: r,
|
|
31
|
-
onSelect: l
|
|
32
|
-
},
|
|
33
|
-
r.join()
|
|
34
|
-
),
|
|
35
|
-
e !== t.length - 1 && /* @__PURE__ */ o.jsx(d, { color: "cl_lightGrey" })
|
|
36
|
-
] }, e))
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const e = (a) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32.531 33", ...a }, /* @__PURE__ */ t.createElement("path", { d: "M14.524,22.5v6a4.5,4.5,0,0,0,4.5,4.5l6-13.5V3H8.1a3,3,0,0,0-3,2.55l-2.07,13.5a3,3,0,0,0,3,3.45ZM25.024,3h4.5a3,3,0,0,1,3,3V16.5a3,3,0,0,1-3,3h-4.5", transform: "translate(-1.493 -1.5)" }));
|
|
40
3
|
export {
|
|
41
|
-
|
|
4
|
+
e as ReactComponent
|
|
42
5
|
};
|
|
43
6
|
//# sourceMappingURL=sd-component-library215.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library215.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library215.js","sources":["../src/components/boolean-feedback/thumbs-feedback/assets/thumbs-down.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMi41MzEgMzMiPgogICAgPHBhdGgKICAgICAgICBkPSJNMTQuNTI0LDIyLjV2NmE0LjUsNC41LDAsMCwwLDQuNSw0LjVsNi0xMy41VjNIOC4xYTMsMywwLDAsMC0zLDIuNTVsLTIuMDcsMTMuNWEzLDMsMCwwLDAsMywzLjQ1Wk0yNS4wMjQsM2g0LjVhMywzLDAsMCwxLDMsM1YxNi41YTMsMywwLDAsMS0zLDNoLTQuNSIKICAgICAgICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS40OTMgLTEuNSkiIC8+Cjwvc3ZnPgo=\""],"names":["SvgThumbsDown","props","React"],"mappings":";AACK,MAACA,IAAgB,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,iBAAiB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,sJAAsJ,WAAW,0BAA0B,CAAC;"}
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
import { j as n } from "./sd-component-library195.js";
|
|
2
|
+
import { ResponsiveTextV2 as p } from "./sd-component-library149.js";
|
|
3
|
+
const c = (t) => {
|
|
4
|
+
const { text: o, onClick: e, px: r = "10px", py: i = "15px" } = t;
|
|
5
|
+
return /* @__PURE__ */ n.jsx(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
fontSizeWeight: [[16, "regular"]],
|
|
9
|
+
sx: {
|
|
10
|
+
display: "flex",
|
|
11
|
+
justifyContent: "end",
|
|
12
|
+
px: r,
|
|
13
|
+
py: i,
|
|
14
|
+
cursor: "pointer",
|
|
15
|
+
textTransform: "capitalize",
|
|
16
|
+
opacity: 0.7,
|
|
17
|
+
":hover": {
|
|
18
|
+
opacity: 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
onClick: e,
|
|
22
|
+
children: o
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
2
26
|
export {
|
|
3
|
-
|
|
4
|
-
o as defaultTextBottomMargin
|
|
27
|
+
c as ActionBox
|
|
5
28
|
};
|
|
6
29
|
//# 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/tooltips/actions-tooltip/partials/action-box/action-box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts/responsive-text-v2\";\nimport { ActionBoxProps as Props } from \"./interfaces\";\n\nexport const ActionBox: React.FC<Props> = (props) => {\n const { text, onClick, px = \"10px\", py = \"15px\" } = props;\n\n return (\n <ResponsiveTextV2\n fontSizeWeight={[[16, \"regular\"]]}\n sx={{\n display: \"flex\",\n justifyContent: \"end\",\n px,\n py,\n cursor: \"pointer\",\n textTransform: \"capitalize\",\n opacity: 0.7,\n \":hover\": {\n opacity: 1,\n },\n }}\n onClick={onClick}\n >\n {text}\n </ResponsiveTextV2>\n );\n};\n"],"names":["ActionBox","props","text","onClick","px","py","jsx","ResponsiveTextV2"],"mappings":";;AAOa,MAAAA,IAA6B,CAACC,MAAU;AACnD,QAAM,EAAE,MAAAC,GAAM,SAAAC,GAAS,IAAAC,IAAK,QAAQ,IAAAC,IAAK,OAAW,IAAAJ;AAGlD,SAAAK,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,gBAAgB,CAAC,CAAC,IAAI,SAAS,CAAC;AAAA,MAChC,IAAI;AAAA,QACF,SAAS;AAAA,QACT,gBAAgB;AAAA,QAChB,IAAAH;AAAA,QACA,IAAAC;AAAA,QACA,QAAQ;AAAA,QACR,eAAe;AAAA,QACf,SAAS;AAAA,QACT,UAAU;AAAA,UACR,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,SAAAF;AAAA,MAEC,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = 1, o = 13;
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
h as defaultDashWidth,
|
|
6
|
-
n as defaultDistanceBetweenRanges,
|
|
7
|
-
M as defaultDistanceFromLabelToRanges,
|
|
8
|
-
d as defaultDistanceFromRangesToNeedle,
|
|
9
|
-
m as defaultDistanceFromRangesToScale,
|
|
10
|
-
a as defaultGaugeWidth,
|
|
11
|
-
t as defaultHeight,
|
|
12
|
-
i as defaultInnerCircleRadius,
|
|
13
|
-
c as defaultInnerCircleStrokeWidth,
|
|
14
|
-
o as defaultInnerPointRadius,
|
|
15
|
-
W as defaultMaskBorderRadius,
|
|
16
|
-
r as defaultNeedleWidth,
|
|
17
|
-
u as defaultNumberOfDashes,
|
|
18
|
-
l as defaultPointStrokeWidth,
|
|
19
|
-
e as defaultWidth,
|
|
20
|
-
R as labelPaddingX,
|
|
21
|
-
g as labelWidth,
|
|
22
|
-
B as smallMeterDistanceBetweenRanges,
|
|
23
|
-
C as smallMeterDistanceFromRangesToNeedle,
|
|
24
|
-
P as smallMeterGaugeWidth,
|
|
25
|
-
k as smallMeterHeight,
|
|
26
|
-
S as smallMeterInnerCircleRadius,
|
|
27
|
-
b as smallMeterInnerCircleStrokeWidth,
|
|
28
|
-
T as smallMeterMaskBorderRadius,
|
|
29
|
-
F as smallMeterNeedleWidth,
|
|
30
|
-
N as smallMeterPointRadius,
|
|
31
|
-
I as smallMeterPointStrokeWidth,
|
|
32
|
-
D as smallMeterWidth
|
|
3
|
+
t as defaultPointerWidth,
|
|
4
|
+
o as defaultTextBottomMargin
|
|
33
5
|
};
|
|
34
6
|
//# sourceMappingURL=sd-component-library228.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library228.js","sources":["../src/components/meters/outline-meter/
|
|
1
|
+
{"version":3,"file":"sd-component-library228.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/constants.ts"],"sourcesContent":["export const defaultPointerWidth = 1;\nexport const defaultTextBottomMargin = 13;\n"],"names":["defaultPointerWidth","defaultTextBottomMargin"],"mappings":"AAAO,MAAMA,IAAsB,GACtBC,IAA0B;"}
|
|
@@ -1,22 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
import { SmileyGaugeColor as e } from "./sd-component-library230.js";
|
|
3
|
-
import { ReactComponent as o } from "./sd-component-library294.js";
|
|
4
|
-
import { ReactComponent as m } from "./sd-component-library295.js";
|
|
5
|
-
import { ReactComponent as i } from "./sd-component-library296.js";
|
|
6
|
-
const S = 10, c = 80, p = 100, y = 87, R = 30, d = 3, f = 2, g = 4, u = /* @__PURE__ */ new Map([
|
|
7
|
-
[e.GREEN, /* @__PURE__ */ t.jsx(o, {})],
|
|
8
|
-
[e.ORANGE, /* @__PURE__ */ t.jsx(m, {})],
|
|
9
|
-
[e.RED, /* @__PURE__ */ t.jsx(i, {})]
|
|
10
|
-
]);
|
|
1
|
+
const e = 250, t = 220, s = 270, n = 10, a = 6, l = 4.5, o = 1.5, d = 18, c = 4, i = 6.5, r = 8, u = 40, f = 6, h = 1.5, m = 32, M = 20, g = 100, R = 14, W = 100, D = 100, k = 87, I = 3, N = 1.5, P = 4, S = 6, b = 3, B = 10, C = 18, F = 7, T = 100;
|
|
11
2
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
d as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
s as defaultArc,
|
|
4
|
+
f as defaultDashHeight,
|
|
5
|
+
h as defaultDashWidth,
|
|
6
|
+
n as defaultDistanceBetweenRanges,
|
|
7
|
+
M as defaultDistanceFromLabelToRanges,
|
|
8
|
+
d as defaultDistanceFromRangesToNeedle,
|
|
9
|
+
m as defaultDistanceFromRangesToScale,
|
|
10
|
+
a as defaultGaugeWidth,
|
|
11
|
+
t as defaultHeight,
|
|
12
|
+
i as defaultInnerCircleRadius,
|
|
13
|
+
c as defaultInnerCircleStrokeWidth,
|
|
14
|
+
o as defaultInnerPointRadius,
|
|
15
|
+
W as defaultMaskBorderRadius,
|
|
16
|
+
r as defaultNeedleWidth,
|
|
17
|
+
u as defaultNumberOfDashes,
|
|
18
|
+
l as defaultPointStrokeWidth,
|
|
19
|
+
e as defaultWidth,
|
|
20
|
+
R as labelPaddingX,
|
|
21
|
+
g as labelWidth,
|
|
22
|
+
B as smallMeterDistanceBetweenRanges,
|
|
23
|
+
C as smallMeterDistanceFromRangesToNeedle,
|
|
24
|
+
P as smallMeterGaugeWidth,
|
|
25
|
+
k as smallMeterHeight,
|
|
26
|
+
S as smallMeterInnerCircleRadius,
|
|
27
|
+
b as smallMeterInnerCircleStrokeWidth,
|
|
28
|
+
T as smallMeterMaskBorderRadius,
|
|
29
|
+
F as smallMeterNeedleWidth,
|
|
30
|
+
N as smallMeterPointRadius,
|
|
31
|
+
I as smallMeterPointStrokeWidth,
|
|
32
|
+
D as smallMeterWidth
|
|
21
33
|
};
|
|
22
34
|
//# sourceMappingURL=sd-component-library229.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library229.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library229.js","sources":["../src/components/meters/outline-meter/contants.ts"],"sourcesContent":["/**\n * Default values for outline meters\n */\nexport const defaultWidth = 250;\nexport const defaultHeight = 220;\nexport const defaultArc = 270;\nexport const defaultDistanceBetweenRanges = 10;\nexport const defaultGaugeWidth = 6;\nexport const defaultPointStrokeWidth = 4.5;\nexport const defaultInnerPointRadius = 1.5;\nexport const defaultDistanceFromRangesToNeedle = 18;\nexport const defaultInnerCircleStrokeWidth = 4;\nexport const defaultInnerCircleRadius = 6.5;\nexport const defaultNeedleWidth = 8;\nexport const defaultNumberOfDashes = 40;\nexport const defaultDashHeight = 6;\nexport const defaultDashWidth = 1.5;\nexport const defaultDistanceFromRangesToScale = 32;\nexport const defaultDistanceFromLabelToRanges = 20;\nexport const labelWidth = 100;\nexport const labelPaddingX = 14;\nexport const defaultMaskBorderRadius = 100;\n\n/**\n * Small Outline meter default values\n */\nexport const smallMeterWidth = 100;\nexport const smallMeterHeight = 87;\nexport const smallMeterPointStrokeWidth = 3;\nexport const smallMeterPointRadius = 1.5;\nexport const smallMeterGaugeWidth = 4;\nexport const smallMeterInnerCircleRadius = 6;\nexport const smallMeterInnerCircleStrokeWidth = 3;\nexport const smallMeterDistanceBetweenRanges = 10;\nexport const smallMeterDistanceFromRangesToNeedle = 18;\nexport const smallMeterNeedleWidth = 7;\nexport const smallMeterMaskBorderRadius = 100;\n"],"names":["defaultWidth","defaultHeight","defaultArc","defaultDistanceBetweenRanges","defaultGaugeWidth","defaultPointStrokeWidth","defaultInnerPointRadius","defaultDistanceFromRangesToNeedle","defaultInnerCircleStrokeWidth","defaultInnerCircleRadius","defaultNeedleWidth","defaultNumberOfDashes","defaultDashHeight","defaultDashWidth","defaultDistanceFromRangesToScale","defaultDistanceFromLabelToRanges","labelWidth","labelPaddingX","defaultMaskBorderRadius","smallMeterWidth","smallMeterHeight","smallMeterPointStrokeWidth","smallMeterPointRadius","smallMeterGaugeWidth","smallMeterInnerCircleRadius","smallMeterInnerCircleStrokeWidth","smallMeterDistanceBetweenRanges","smallMeterDistanceFromRangesToNeedle","smallMeterNeedleWidth","smallMeterMaskBorderRadius"],"mappings":"AAGO,MAAMA,IAAe,KACfC,IAAgB,KAChBC,IAAa,KACbC,IAA+B,IAC/BC,IAAoB,GACpBC,IAA0B,KAC1BC,IAA0B,KAC1BC,IAAoC,IACpCC,IAAgC,GAChCC,IAA2B,KAC3BC,IAAqB,GACrBC,IAAwB,IACxBC,IAAoB,GACpBC,IAAmB,KACnBC,IAAmC,IACnCC,IAAmC,IACnCC,IAAa,KACbC,IAAgB,IAChBC,IAA0B,KAK1BC,IAAkB,KAClBC,IAAmB,IACnBC,IAA6B,GAC7BC,IAAwB,KACxBC,IAAuB,GACvBC,IAA8B,GAC9BC,IAAmC,GACnCC,IAAkC,IAClCC,IAAuC,IACvCC,IAAwB,GACxBC,IAA6B;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library195.js";
|
|
2
|
-
import { LogoButton as e } from "./sd-component-
|
|
2
|
+
import { LogoButton as e } from "./sd-component-library205.js";
|
|
3
3
|
import { ReactComponent as r } from "./sd-component-library207.js";
|
|
4
4
|
const s = (t) => /* @__PURE__ */ o.jsx(
|
|
5
5
|
e,
|