@selfdecode/sd-component-library 4.0.137 → 4.0.138
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-library112.js +1 -1
- package/lib/sd-component-library117.js +1 -1
- package/lib/sd-component-library118.js +2 -2
- package/lib/sd-component-library120.js +1 -1
- package/lib/sd-component-library126.js +1 -1
- package/lib/sd-component-library127.js +1 -1
- package/lib/sd-component-library167.js +1 -1
- package/lib/sd-component-library172.js +3 -3
- package/lib/sd-component-library202.js +1 -1
- package/lib/sd-component-library203.js +1 -1
- package/lib/sd-component-library206.js +25 -17
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +18 -21
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +64 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +23 -3
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +31 -55
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +127 -21
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +13 -26
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +14 -40
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -26
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +3 -129
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +65 -13
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +3 -14
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +2 -2
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +52 -3
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +46 -3
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +16 -51
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +20 -64
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +2 -2
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +3 -46
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +26 -17
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library233.js +1 -1
- package/lib/sd-component-library235.js +1 -1
- package/lib/sd-component-library237.js +1 -1
- package/lib/sd-component-library238.js +1 -1
- package/lib/sd-component-library24.js +66 -64
- package/lib/sd-component-library24.js.map +1 -1
- package/lib/sd-component-library241.js +1 -1
- package/lib/sd-component-library242.js +1 -1
- package/lib/sd-component-library249.js +21 -2
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +19 -20
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +2 -20
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library254.js +25 -21
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library256.js +24 -22
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library258.js +21 -25
- package/lib/sd-component-library258.js.map +1 -1
- package/lib/sd-component-library259.js +22 -24
- package/lib/sd-component-library259.js.map +1 -1
- package/lib/sd-component-library260.js +30 -51
- package/lib/sd-component-library260.js.map +1 -1
- package/lib/sd-component-library261.js +51 -30
- package/lib/sd-component-library261.js.map +1 -1
- package/lib/sd-component-library262.js +1 -1
- package/lib/sd-component-library272.js +51 -2
- package/lib/sd-component-library272.js.map +1 -1
- package/lib/sd-component-library273.js +90 -2
- package/lib/sd-component-library273.js.map +1 -1
- package/lib/sd-component-library274.js +89 -48
- package/lib/sd-component-library274.js.map +1 -1
- package/lib/sd-component-library275.js +2 -90
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -92
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +2 -6
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +2 -2
- package/lib/sd-component-library279.js +70 -2
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +101 -69
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +95 -91
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +10 -106
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +6 -10
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library286.js +1 -1
- package/lib/sd-component-library313.js +23 -33
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +33 -23
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library318.js +1 -1
- package/lib/sd-component-library48.js +1 -1
- package/lib/sd-component-library49.js +1 -1
- package/lib/sd-component-library51.js +3 -3
- package/lib/sd-component-library52.js +2 -2
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library61.js +1 -1
- package/lib/sd-component-library62.js +4 -4
- package/lib/sd-component-library63.js +1 -1
- package/lib/sd-component-library64.js +2 -2
- package/lib/sd-component-library65.js +1 -1
- package/lib/sd-component-library70.js +2 -2
- package/lib/sd-component-library72.js +3 -3
- package/lib/sd-component-library74.js +2 -2
- package/lib/sd-component-library75.js +3 -3
- package/lib/sd-component-library76.js +1 -1
- package/lib/sd-component-library77.js +1 -1
- package/lib/sd-component-library79.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library216.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library216.js","sources":["../src/components/inputs/search-input/search-box.tsx"],"sourcesContent":["import React from \"react\";\nimport { Link } from \"react-router-dom\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { PrimaryBadge } from \"../../badges\";\nimport { HorizontalDivider } from \"../../dividers\";\nimport { RegularText } from \"../../texts\";\nimport { SearchInputProps, SearchResult } from \"./index\";\n\ntype Props = Required<Pick<SearchInputProps, \"searchResults\">> &\n Pick<SearchInputProps, \"useRouterLinks\" | \"onResultClick\">;\n\nexport const SearchBox: React.FC<Props> = ({\n searchResults,\n useRouterLinks,\n onResultClick,\n}) => (\n <Box\n sx={{\n position: \"absolute\",\n top: \"100%\",\n bg: \"white\",\n width: \"100%\",\n borderRadius: [\"0\", \"0px 0px 3px 3px\"],\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderTopStyle: \"none\",\n borderColor: \"#C8CCE5\",\n boxShadow: \"2px 3px 10px rgba(211,223,255,0.25)\",\n }}\n >\n {searchResults.map((result, index) => (\n <React.Fragment key={`${index}-${result.url}`}>\n {useRouterLinks ? (\n <Link to={result.url} style={{ textDecoration: \"none\" }}>\n <ResultContent {...result} onResultClick={onResultClick} />\n </Link>\n ) : (\n <ResultContent\n {...result}\n onResultClick={onResultClick}\n onClick={() =>\n (window.location.href = `https://www.selfdecode.com${result.url}`)\n }\n />\n )}\n {index + 1 !== searchResults.length && (\n <HorizontalDivider color=\"cl_lightGrey\" />\n )}\n </React.Fragment>\n ))}\n </Box>\n);\n\ntype ContentProps = SearchResult & { onClick?: () => void } & Pick<\n Props,\n \"onResultClick\"\n >;\nconst ResultContent: React.FC<ContentProps> = ({\n onResultClick,\n onClick: onClickExternal,\n ...result\n}) => {\n const onClick = () => {\n onResultClick?.(result);\n onClickExternal?.();\n };\n\n return (\n <Flex\n flexDirection={[\"column-reverse\", \"row\"]}\n justifyContent={\"space-between\"}\n sx={{\n p: \"10px 16px\",\n cursor: \"pointer\",\n \":hover\": { bg: \"#eff4ff\" },\n }}\n onClick={onClick}\n >\n <RegularText fontSize={16}>{result.text}</RegularText>\n\n {!!result.type && (\n <Box width={\"max-content\"} mb={[\"8px\", \"0\"]}>\n <PrimaryBadge>{result.type}</PrimaryBadge>\n </Box>\n )}\n </Flex>\n );\n};\n"],"names":["SearchBox","searchResults","useRouterLinks","onResultClick","jsx","Box","result","index","jsxs","React","Link","ResultContent","HorizontalDivider","onClickExternal","onClick","Flex","RegularText","PrimaryBadge"],"mappings":";;;;;;;AAaO,MAAMA,IAA6B,CAAC;AAAA,EACzC,eAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,eAAAC;AACF,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,IAAI;AAAA,MACF,UAAU;AAAA,MACV,KAAK;AAAA,MACL,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,cAAc,CAAC,KAAK,iBAAiB;AAAA,MACrC,aAAa;AAAA,MACb,aAAa;AAAA,MACb,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,WAAW;AAAA,IACb;AAAA,IAEC,UAAAJ,EAAc,IAAI,CAACK,GAAQC,MACzBC,gBAAAA,EAAAA,KAAAC,EAAM,UAAN,EACE,UAAA;AAAA,MAAAP,0BACEQ,GAAK,EAAA,IAAIJ,EAAO,KAAK,OAAO,EAAE,gBAAgB,OAAO,GACpD,gCAACK,GAAe,EAAA,GAAGL,GAAQ,eAAAH,EAAA,CAA8B,EAC3D,CAAA,IAEAC,gBAAAA,EAAA;AAAA,QAACO;AAAA,QAAA;AAAA,UACE,GAAGL;AAAA,UACJ,eAAAH;AAAA,UACA,SAAS,MACN,OAAO,SAAS,OAAO,6BAA6BG,EAAO,GAAG;AAAA,QAAA;AAAA,MAEnE;AAAA,MAEDC,IAAQ,MAAMN,EAAc,UAC1BG,gBAAAA,EAAA,IAAAQ,GAAA,EAAkB,OAAM,gBAAe;AAAA,IAAA,EAAA,GAfvB,GAAGL,CAAK,IAAID,EAAO,GAAG,EAiB3C,CACD;AAAA,EAAA;AACH,GAOIK,IAAwC,CAAC;AAAA,EAC7C,eAAAR;AAAA,EACA,SAASU;AAAA,EACT,GAAGP;AACL,MAAM;AACJ,QAAMQ,IAAU,MAAM;AACpB,IAAAX,KAAA,QAAAA,EAAgBG,IACEO,KAAA,QAAAA;AAAA,EAAA;AAIlB,SAAAL,gBAAAA,EAAA;AAAA,IAACO;AAAA,IAAA;AAAA,MACC,eAAe,CAAC,kBAAkB,KAAK;AAAA,MACvC,gBAAgB;AAAA,MAChB,IAAI;AAAA,QACF,GAAG;AAAA,QACH,QAAQ;AAAA,QACR,UAAU,EAAE,IAAI,UAAU;AAAA,MAC5B;AAAA,MACA,SAAAD;AAAA,MAEA,UAAA;AAAA,QAAAV,gBAAAA,EAAA,IAACY,GAAY,EAAA,UAAU,IAAK,UAAAV,EAAO,MAAK;AAAA,QAEvC,CAAC,CAACA,EAAO,QACRF,gBAAAA,EAAA,IAACC,KAAI,OAAO,eAAe,IAAI,CAAC,OAAO,GAAG,GACxC,gCAACY,GAAc,EAAA,UAAAX,EAAO,KAAK,CAAA,GAC7B;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR;"}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const n = (t) => /* @__PURE__ */ i.jsx(
|
|
4
|
-
e,
|
|
5
|
-
{
|
|
6
|
-
...t,
|
|
7
|
-
variant: "_circle",
|
|
8
|
-
width: [`${t.diameter}px`],
|
|
9
|
-
height: [`${t.diameter}px`],
|
|
10
|
-
"data-testid": "circle-button",
|
|
11
|
-
children: t.children
|
|
12
|
-
}
|
|
13
|
-
);
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
const a = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 22 22.94", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M2494.01,1419.91l-5.42-5.67a9.187,9.187,0,1,0-7.04,3.3,9.042,9.042,0,0,0,5.27-1.67l5.46,5.71a1.2,1.2,0,0,0,.87.37A1.2,1.2,0,0,0,2494.01,1419.91Zm-12.46-18.46a6.84,6.84,0,1,1-6.8,6.84A6.829,6.829,0,0,1,2481.55,1401.45Z", transform: "translate(-2472.34 -1399.03)" }));
|
|
14
3
|
export {
|
|
15
|
-
|
|
4
|
+
a as ReactComponent
|
|
16
5
|
};
|
|
17
6
|
//# sourceMappingURL=sd-component-library217.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library217.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library217.js","sources":["../src/components/inputs/search-input/assets/search.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMi45NCI+CiAgPHBhdGggZD0iTTI0OTQuMDEsMTQxOS45MWwtNS40Mi01LjY3YTkuMTg3LDkuMTg3LDAsMSwwLTcuMDQsMy4zLDkuMDQyLDkuMDQyLDAsMCwwLDUuMjctMS42N2w1LjQ2LDUuNzFhMS4yLDEuMiwwLDAsMCwuODcuMzdBMS4yLDEuMiwwLDAsMCwyNDk0LjAxLDE0MTkuOTFabS0xMi40Ni0xOC40NmE2Ljg0LDYuODQsMCwxLDEtNi44LDYuODRBNi44MjksNi44MjksMCwwLDEsMjQ4MS41NSwxNDAxLjQ1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI0NzIuMzQgLTEzOTkuMDMpIi8+Cjwvc3ZnPgo=\""],"names":["SvgSearch","props","React"],"mappings":";AACK,MAACA,IAAY,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,gBAAgB,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,6NAA6N,WAAW,gCAAgC,CAAC;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
const
|
|
2
|
+
const a = (e) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 10 10", ...e }, /* @__PURE__ */ t.createElement("path", { d: "M10037.5,1055.48l-1,1.02-4-3.97-4,3.97-1-1.02,4-3.98-4-3.98,1-1.02,4,3.97,4-3.97,1,1.02-4,3.98Z", transform: "translate(-10027.5 -1046.5)" }));
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
a as ReactComponent
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=sd-component-library218.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library218.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library218.js","sources":["../src/components/inputs/search-input/assets/x.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAxMCI+CiAgPHBhdGggZD0iTTEwMDM3LjUsMTA1NS40OGwtMSwxLjAyLTQtMy45Ny00LDMuOTctMS0xLjAyLDQtMy45OC00LTMuOTgsMS0xLjAyLDQsMy45Nyw0LTMuOTcsMSwxLjAyLTQsMy45OFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDAyNy41IC0xMDQ2LjUpIi8+Cjwvc3ZnPgo=\""],"names":["SvgX","props","React"],"mappings":";AACK,MAACA,IAAO,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,SAAS,aAAa,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,GAAG,mGAAmG,WAAW,+BAA+B,CAAC;"}
|
|
@@ -1,6 +1,55 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as o } from "./sd-component-library197.js";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import { Box as t } from "rebass";
|
|
4
|
+
import { HorizontalDivider as i } from "./sd-component-library48.js";
|
|
5
|
+
import { SearchAutocompleteRow as a } from "./sd-component-library310.js";
|
|
6
|
+
const g = (l) => {
|
|
7
|
+
const { results: p, onSelect: s, rowHeight: e, rowsDisplayed: x } = l, c = (r) => () => s(r);
|
|
8
|
+
return /* @__PURE__ */ o.jsxs(
|
|
9
|
+
t,
|
|
10
|
+
{
|
|
11
|
+
sx: {
|
|
12
|
+
top: "calc(100% - 2px)",
|
|
13
|
+
left: 0,
|
|
14
|
+
position: "absolute",
|
|
15
|
+
width: "100%",
|
|
16
|
+
cursor: "pointer",
|
|
17
|
+
zIndex: 1
|
|
18
|
+
},
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ o.jsx(i, { color: "cl_purple", height: "2px" }),
|
|
21
|
+
/* @__PURE__ */ o.jsx(
|
|
22
|
+
t,
|
|
23
|
+
{
|
|
24
|
+
sx: {
|
|
25
|
+
overflowY: "auto",
|
|
26
|
+
maxHeight: `${x * (e + 1) - 1}px`,
|
|
27
|
+
borderWidth: "1px",
|
|
28
|
+
borderStyle: "solid",
|
|
29
|
+
borderColor: "cl_lightGrey",
|
|
30
|
+
borderRadius: "0 0 3px 3px",
|
|
31
|
+
borderTopStyle: "none",
|
|
32
|
+
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)",
|
|
33
|
+
bg: "cl_white"
|
|
34
|
+
},
|
|
35
|
+
children: p.map((r, d) => /* @__PURE__ */ o.jsxs(n.Fragment, { children: [
|
|
36
|
+
d !== 0 && /* @__PURE__ */ o.jsx(i, { color: "cl_headerLine" }),
|
|
37
|
+
/* @__PURE__ */ o.jsx(
|
|
38
|
+
a,
|
|
39
|
+
{
|
|
40
|
+
...r,
|
|
41
|
+
onClick: c(r),
|
|
42
|
+
height: e
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] }, r.id))
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
};
|
|
3
52
|
export {
|
|
4
|
-
|
|
53
|
+
g as SearchAutocompleteResultsBox
|
|
5
54
|
};
|
|
6
55
|
//# sourceMappingURL=sd-component-library219.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library219.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library219.js","sources":["../src/components/inputs/search-autocomplete-input/partials/search-autocomplete-results-box/search-autocomplete-results-box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { HorizontalDivider } from \"../../../../dividers/horizontal-divider\";\nimport { SearchAutocompleteOption } from \"../../interfaces\";\nimport { SearchAutocompleteRow } from \"../search-autocomplete-row\";\nimport { SearchAutocompleteResultsBoxProps as Props } from \"./interfaces\";\n\nexport const SearchAutocompleteResultsBox = <\n T extends { id: string } = { id: string }\n>(\n props: Props<T>\n) => {\n const { results, onSelect, rowHeight, rowsDisplayed } = props;\n\n const onClick = (result: SearchAutocompleteOption<T>) => () =>\n onSelect(result);\n\n return (\n <Box\n sx={{\n top: \"calc(100% - 2px)\",\n left: 0,\n position: \"absolute\",\n width: \"100%\",\n cursor: \"pointer\",\n zIndex: 1,\n }}\n >\n <HorizontalDivider color=\"cl_purple\" height=\"2px\" />\n\n <Box\n sx={{\n overflowY: \"auto\",\n maxHeight: `${rowsDisplayed * (rowHeight + 1) - 1}px`,\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"cl_lightGrey\",\n borderRadius: \"0 0 3px 3px\",\n borderTopStyle: \"none\",\n boxShadow: \"2px 3px 10px rgba(211,223,255,0.25)\",\n bg: \"cl_white\",\n }}\n >\n {results.map((result, idx) => (\n <React.Fragment key={result.id}>\n {idx !== 0 && <HorizontalDivider color=\"cl_headerLine\" />}\n\n <SearchAutocompleteRow\n {...result}\n onClick={onClick(result)}\n height={rowHeight}\n />\n </React.Fragment>\n ))}\n </Box>\n </Box>\n );\n};\n"],"names":["SearchAutocompleteResultsBox","props","results","onSelect","rowHeight","rowsDisplayed","onClick","result","jsxs","Box","jsx","HorizontalDivider","idx","React","SearchAutocompleteRow"],"mappings":";;;;;AASa,MAAAA,IAA+B,CAG1CC,MACG;AACH,QAAM,EAAE,SAAAC,GAAS,UAAAC,GAAU,WAAAC,GAAW,eAAAC,MAAkBJ,GAElDK,IAAU,CAACC,MAAwC,MACvDJ,EAASI,CAAM;AAGf,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,KAAK;AAAA,QACL,MAAM;AAAA,QACN,UAAU;AAAA,QACV,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,QAAQ;AAAA,MACV;AAAA,MAEA,UAAA;AAAA,QAAAC,gBAAAA,EAAA,IAACC,GAAkB,EAAA,OAAM,aAAY,QAAO,OAAM;AAAA,QAElDD,gBAAAA,EAAA;AAAA,UAACD;AAAA,UAAA;AAAA,YACC,IAAI;AAAA,cACF,WAAW;AAAA,cACX,WAAW,GAAGJ,KAAiBD,IAAY,KAAK,CAAC;AAAA,cACjD,aAAa;AAAA,cACb,aAAa;AAAA,cACb,aAAa;AAAA,cACb,cAAc;AAAA,cACd,gBAAgB;AAAA,cAChB,WAAW;AAAA,cACX,IAAI;AAAA,YACN;AAAA,YAEC,UAAAF,EAAQ,IAAI,CAACK,GAAQK,MACnBJ,gBAAAA,EAAAA,KAAAK,EAAM,UAAN,EACE,UAAA;AAAA,cAAAD,MAAQ,KAAKF,gBAAAA,EAAA,IAACC,GAAkB,EAAA,OAAM,iBAAgB;AAAA,cAEvDD,gBAAAA,EAAA;AAAA,gBAACI;AAAA,gBAAA;AAAA,kBACE,GAAGP;AAAA,kBACJ,SAASD,EAAQC,CAAM;AAAA,kBACvB,QAAQH;AAAA,gBAAA;AAAA,cACV;AAAA,YAAA,KAPmBG,EAAO,EAQ5B,CACD;AAAA,UAAA;AAAA,QACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,6 +1,49 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library197.js";
|
|
2
|
+
import { Flex as c } from "rebass";
|
|
3
|
+
import { BaseTextV2 as m } from "./sd-component-library138.js";
|
|
4
|
+
import { ResponsiveTextV2 as p } from "./sd-component-library150.js";
|
|
5
|
+
const u = (t) => {
|
|
6
|
+
const {
|
|
7
|
+
label: o,
|
|
8
|
+
errorMessage: l,
|
|
9
|
+
labelMargin: s,
|
|
10
|
+
secondLabel: e,
|
|
11
|
+
secondLabelTextTransform: n,
|
|
12
|
+
labelSx: a,
|
|
13
|
+
labelColor: i = "cl_darkGrey",
|
|
14
|
+
...x
|
|
15
|
+
} = t;
|
|
16
|
+
return o ? /* @__PURE__ */ r.jsxs(c, { sx: { cursor: "default" }, ...x, children: [
|
|
17
|
+
/* @__PURE__ */ r.jsx(
|
|
18
|
+
m,
|
|
19
|
+
{
|
|
20
|
+
color: l ? "cl_red" : i,
|
|
21
|
+
sx: {
|
|
22
|
+
fontSize: 12,
|
|
23
|
+
fontWeight: 600,
|
|
24
|
+
m: s,
|
|
25
|
+
letterSpacing: "1px",
|
|
26
|
+
textTransform: "uppercase",
|
|
27
|
+
...a
|
|
28
|
+
},
|
|
29
|
+
children: o
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
e && /* @__PURE__ */ r.jsx(
|
|
33
|
+
p,
|
|
34
|
+
{
|
|
35
|
+
letterSpacing: "1px",
|
|
36
|
+
ml: e.ml || "3px",
|
|
37
|
+
color: e.color || "cl_grey",
|
|
38
|
+
fontSizeWeight: e.fontSizeWeight || [[10, "semi-bold"]],
|
|
39
|
+
textTransform: n,
|
|
40
|
+
...e,
|
|
41
|
+
children: e.text
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }) : null;
|
|
45
|
+
};
|
|
3
46
|
export {
|
|
4
|
-
|
|
47
|
+
u as SecondaryInputLabels
|
|
5
48
|
};
|
|
6
49
|
//# sourceMappingURL=sd-component-library220.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library220.js","sources":["../src/components/inputs/
|
|
1
|
+
{"version":3,"file":"sd-component-library220.js","sources":["../src/components/inputs/secondary-text-input/partials/secondary-input-labels/secondary-input-labels.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Flex } from \"rebass\";\n\nimport { BaseTextV2, ResponsiveTextV2 } from \"../../../../texts\";\nimport { SecondaryInputLabelsProps as Props } from \"./interfaces\";\n\nexport const SecondaryInputLabels: React.FC<Props> = (props) => {\n const {\n label,\n errorMessage,\n labelMargin,\n secondLabel,\n secondLabelTextTransform,\n labelSx,\n labelColor = \"cl_darkGrey\",\n ...restOfProps\n } = props;\n\n if (!label) return null;\n\n return (\n <Flex sx={{ cursor: \"default\" }} {...restOfProps}>\n <BaseTextV2\n color={errorMessage ? \"cl_red\" : labelColor}\n sx={{\n fontSize: 12,\n fontWeight: 600,\n m: labelMargin,\n letterSpacing: \"1px\",\n textTransform: \"uppercase\",\n ...labelSx,\n }}\n >\n {label}\n </BaseTextV2>\n\n {secondLabel && (\n <ResponsiveTextV2\n letterSpacing=\"1px\"\n ml={secondLabel.ml || \"3px\"}\n color={secondLabel.color || \"cl_grey\"}\n fontSizeWeight={secondLabel.fontSizeWeight || [[10, \"semi-bold\"]]}\n textTransform={secondLabelTextTransform}\n {...secondLabel}\n >\n {secondLabel.text}\n </ResponsiveTextV2>\n )}\n </Flex>\n );\n};\n"],"names":["SecondaryInputLabels","props","label","errorMessage","labelMargin","secondLabel","secondLabelTextTransform","labelSx","labelColor","restOfProps","jsxs","Flex","jsx","BaseTextV2","ResponsiveTextV2"],"mappings":";;;;AAOa,MAAAA,IAAwC,CAACC,MAAU;AACxD,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,cAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,0BAAAC;AAAA,IACA,SAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,GAAGC;AAAA,EACD,IAAAR;AAEJ,SAAKC,IAGHQ,gBAAAA,EAAA,KAACC,KAAK,IAAI,EAAE,QAAQ,UAAU,GAAI,GAAGF,GACnC,UAAA;AAAA,IAAAG,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,OAAOV,IAAe,WAAWK;AAAA,QACjC,IAAI;AAAA,UACF,UAAU;AAAA,UACV,YAAY;AAAA,UACZ,GAAGJ;AAAA,UACH,eAAe;AAAA,UACf,eAAe;AAAA,UACf,GAAGG;AAAA,QACL;AAAA,QAEC,UAAAL;AAAA,MAAA;AAAA,IACH;AAAA,IAECG,KACCO,gBAAAA,EAAA;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,eAAc;AAAA,QACd,IAAIT,EAAY,MAAM;AAAA,QACtB,OAAOA,EAAY,SAAS;AAAA,QAC5B,gBAAgBA,EAAY,kBAAkB,CAAC,CAAC,IAAI,WAAW,CAAC;AAAA,QAChE,eAAeC;AAAA,QACd,GAAGD;AAAA,QAEH,UAAYA,EAAA;AAAA,MAAA;AAAA,IACf;AAAA,EAEJ,EAAA,CAAA,IA9BiB;AAgCrB;"}
|
|
@@ -1,55 +1,20 @@
|
|
|
1
1
|
import { j as o } from "./sd-component-library197.js";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
zIndex: 1
|
|
18
|
-
},
|
|
19
|
-
children: [
|
|
20
|
-
/* @__PURE__ */ o.jsx(i, { color: "cl_purple", height: "2px" }),
|
|
21
|
-
/* @__PURE__ */ o.jsx(
|
|
22
|
-
t,
|
|
23
|
-
{
|
|
24
|
-
sx: {
|
|
25
|
-
overflowY: "auto",
|
|
26
|
-
maxHeight: `${x * (e + 1) - 1}px`,
|
|
27
|
-
borderWidth: "1px",
|
|
28
|
-
borderStyle: "solid",
|
|
29
|
-
borderColor: "cl_lightGrey",
|
|
30
|
-
borderRadius: "0 0 3px 3px",
|
|
31
|
-
borderTopStyle: "none",
|
|
32
|
-
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)",
|
|
33
|
-
bg: "cl_white"
|
|
34
|
-
},
|
|
35
|
-
children: p.map((r, d) => /* @__PURE__ */ o.jsxs(n.Fragment, { children: [
|
|
36
|
-
d !== 0 && /* @__PURE__ */ o.jsx(i, { color: "cl_headerLine" }),
|
|
37
|
-
/* @__PURE__ */ o.jsx(
|
|
38
|
-
a,
|
|
39
|
-
{
|
|
40
|
-
...r,
|
|
41
|
-
onClick: c(r),
|
|
42
|
-
height: e
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
] }, r.id))
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
);
|
|
51
|
-
};
|
|
2
|
+
import { Label as s } from "@rebass/forms";
|
|
3
|
+
const l = ({
|
|
4
|
+
variant: a,
|
|
5
|
+
label: t,
|
|
6
|
+
...e
|
|
7
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
8
|
+
s,
|
|
9
|
+
{
|
|
10
|
+
"data-testid": "base-label",
|
|
11
|
+
...e,
|
|
12
|
+
sx: { fontFamily: "proxima-nova" },
|
|
13
|
+
variant: `_labels.${a}`,
|
|
14
|
+
children: t
|
|
15
|
+
}
|
|
16
|
+
);
|
|
52
17
|
export {
|
|
53
|
-
|
|
18
|
+
l as BaseLabel
|
|
54
19
|
};
|
|
55
20
|
//# sourceMappingURL=sd-component-library221.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library221.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library221.js","sources":["../src/components/labels/base-label/base-label.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Label } from \"@rebass/forms\";\n\nimport { BaseLabelProps } from \"./interfaces\";\n\nexport const BaseLabel: React.FC<BaseLabelProps> = ({\n variant,\n label,\n ...props\n}) => (\n <Label\n data-testid=\"base-label\"\n {...props}\n sx={{ fontFamily: \"proxima-nova\" }}\n variant={`_labels.${variant}`}\n >\n {label}\n </Label>\n);\n"],"names":["BaseLabel","variant","label","props","jsx","Label"],"mappings":";;AAMO,MAAMA,IAAsC,CAAC;AAAA,EAClD,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,GAAGC;AACL,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,eAAY;AAAA,IACX,GAAGF;AAAA,IACJ,IAAI,EAAE,YAAY,eAAe;AAAA,IACjC,SAAS,WAAWF,CAAO;AAAA,IAE1B,UAAAC;AAAA,EAAA;AACH;"}
|
|
@@ -1,68 +1,24 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
borderRadius: ["0", "0px 0px 3px 3px"],
|
|
21
|
-
borderWidth: "1px",
|
|
22
|
-
borderStyle: "solid",
|
|
23
|
-
borderTopStyle: "none",
|
|
24
|
-
borderColor: "#C8CCE5",
|
|
25
|
-
boxShadow: "2px 3px 10px rgba(211,223,255,0.25)"
|
|
26
|
-
},
|
|
27
|
-
children: t.map((e, p) => /* @__PURE__ */ o.jsxs(d.Fragment, { children: [
|
|
28
|
-
i ? /* @__PURE__ */ o.jsx(m, { to: e.url, style: { textDecoration: "none" }, children: /* @__PURE__ */ o.jsx(x, { ...e, onResultClick: r }) }) : /* @__PURE__ */ o.jsx(
|
|
29
|
-
x,
|
|
30
|
-
{
|
|
31
|
-
...e,
|
|
32
|
-
onResultClick: r,
|
|
33
|
-
onClick: () => window.location.href = `https://www.selfdecode.com${e.url}`
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
p + 1 !== t.length && /* @__PURE__ */ o.jsx(c, { color: "cl_lightGrey" })
|
|
37
|
-
] }, `${p}-${e.url}`))
|
|
38
|
-
}
|
|
39
|
-
), x = ({
|
|
40
|
-
onResultClick: t,
|
|
41
|
-
onClick: i,
|
|
42
|
-
...r
|
|
43
|
-
}) => {
|
|
44
|
-
const e = () => {
|
|
45
|
-
t == null || t(r), i == null || i();
|
|
46
|
-
};
|
|
47
|
-
return /* @__PURE__ */ o.jsxs(
|
|
48
|
-
f,
|
|
49
|
-
{
|
|
50
|
-
flexDirection: ["column-reverse", "row"],
|
|
51
|
-
justifyContent: "space-between",
|
|
52
|
-
sx: {
|
|
53
|
-
p: "10px 16px",
|
|
54
|
-
cursor: "pointer",
|
|
55
|
-
":hover": { bg: "#eff4ff" }
|
|
56
|
-
},
|
|
57
|
-
onClick: e,
|
|
58
|
-
children: [
|
|
59
|
-
/* @__PURE__ */ o.jsx(h, { fontSize: 16, children: r.text }),
|
|
60
|
-
!!r.type && /* @__PURE__ */ o.jsx(n, { width: "max-content", mb: ["8px", "0"], children: /* @__PURE__ */ o.jsx(s, { children: r.type }) })
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
);
|
|
1
|
+
import { j as e } from "./sd-component-library197.js";
|
|
2
|
+
import { Box as t } from "rebass";
|
|
3
|
+
import { TwentyFourBold as s } from "./sd-component-library161.js";
|
|
4
|
+
import { MaxMaxContainer as c } from "./sd-component-library40.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
|
+
] });
|
|
64
20
|
};
|
|
65
21
|
export {
|
|
66
|
-
|
|
22
|
+
b as BaseBooleanFeedback
|
|
67
23
|
};
|
|
68
24
|
//# sourceMappingURL=sd-component-library222.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library222.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library222.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,6 +1,6 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
const
|
|
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)" }));
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
e as ReactComponent
|
|
5
5
|
};
|
|
6
6
|
//# 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/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,49 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { BaseTextV2 as m } from "./sd-component-library138.js";
|
|
4
|
-
import { ResponsiveTextV2 as p } from "./sd-component-library150.js";
|
|
5
|
-
const u = (t) => {
|
|
6
|
-
const {
|
|
7
|
-
label: o,
|
|
8
|
-
errorMessage: l,
|
|
9
|
-
labelMargin: s,
|
|
10
|
-
secondLabel: e,
|
|
11
|
-
secondLabelTextTransform: n,
|
|
12
|
-
labelSx: a,
|
|
13
|
-
labelColor: i = "cl_darkGrey",
|
|
14
|
-
...x
|
|
15
|
-
} = t;
|
|
16
|
-
return o ? /* @__PURE__ */ r.jsxs(c, { sx: { cursor: "default" }, ...x, children: [
|
|
17
|
-
/* @__PURE__ */ r.jsx(
|
|
18
|
-
m,
|
|
19
|
-
{
|
|
20
|
-
color: l ? "cl_red" : i,
|
|
21
|
-
sx: {
|
|
22
|
-
fontSize: 12,
|
|
23
|
-
fontWeight: 600,
|
|
24
|
-
m: s,
|
|
25
|
-
letterSpacing: "1px",
|
|
26
|
-
textTransform: "uppercase",
|
|
27
|
-
...a
|
|
28
|
-
},
|
|
29
|
-
children: o
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
e && /* @__PURE__ */ r.jsx(
|
|
33
|
-
p,
|
|
34
|
-
{
|
|
35
|
-
letterSpacing: "1px",
|
|
36
|
-
ml: e.ml || "3px",
|
|
37
|
-
color: e.color || "cl_grey",
|
|
38
|
-
fontSizeWeight: e.fontSizeWeight || [[10, "semi-bold"]],
|
|
39
|
-
textTransform: n,
|
|
40
|
-
...e,
|
|
41
|
-
children: e.text
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
] }) : null;
|
|
45
|
-
};
|
|
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)" }));
|
|
46
3
|
export {
|
|
47
|
-
|
|
4
|
+
e as ReactComponent
|
|
48
5
|
};
|
|
49
6
|
//# sourceMappingURL=sd-component-library224.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library224.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library224.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,20 +1,29 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { j as n } from "./sd-component-library197.js";
|
|
2
|
+
import { ResponsiveTextV2 as p } from "./sd-component-library150.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
|
+
};
|
|
17
26
|
export {
|
|
18
|
-
|
|
27
|
+
c as ActionBox
|
|
19
28
|
};
|
|
20
29
|
//# sourceMappingURL=sd-component-library225.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library225.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library225.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,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./sd-component-library197.js";
|
|
2
2
|
import U from "react";
|
|
3
3
|
import { isValueInRange as Z, inValueHigherThanRange as F, getCoordinateForArc as d, getInnerX as $, getInnerY as tt, degToRad as L } from "./sd-component-library91.js";
|
|
4
|
-
import { BaseOutlineArc as X } from "./sd-component-
|
|
4
|
+
import { BaseOutlineArc as X } from "./sd-component-library313.js";
|
|
5
5
|
import { OutlineMeterLabelPointer as O } from "./sd-component-library243.js";
|
|
6
6
|
const st = U.forwardRef(
|
|
7
7
|
(D, M) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as k } from "./sd-component-library197.js";
|
|
2
2
|
import { isValueInRange as w, getInnerX as E, getInnerY as O, degToRad as r, getCoordinateForArc as V } from "./sd-component-library91.js";
|
|
3
|
-
import { BaseNeedle as b } from "./sd-component-
|
|
3
|
+
import { BaseNeedle as b } from "./sd-component-library314.js";
|
|
4
4
|
const G = (x) => {
|
|
5
5
|
const {
|
|
6
6
|
diameter: f,
|
|
@@ -2,7 +2,7 @@ import { j as a } from "./sd-component-library197.js";
|
|
|
2
2
|
import { getCoordinateForArc as i } from "./sd-component-library91.js";
|
|
3
3
|
import { defaultTextBottomMargin as X } from "./sd-component-library226.js";
|
|
4
4
|
import { getRangeProperties as Y } from "./sd-component-library315.js";
|
|
5
|
-
import { BaseOutlineArc as b } from "./sd-component-
|
|
5
|
+
import { BaseOutlineArc as b } from "./sd-component-library313.js";
|
|
6
6
|
import { DiscreteMeterLabelPointer as w } from "./sd-component-library316.js";
|
|
7
7
|
function z(s) {
|
|
8
8
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as M } from "./sd-component-library197.js";
|
|
2
2
|
import { getInnerX as T, getInnerY as W, degToRad as r, getCoordinateForArc as y } from "./sd-component-library91.js";
|
|
3
|
-
import { BaseNeedle as B } from "./sd-component-
|
|
3
|
+
import { BaseNeedle as B } from "./sd-component-library314.js";
|
|
4
4
|
function E(p) {
|
|
5
5
|
const {
|
|
6
6
|
needleColor: u,
|