@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.
Files changed (245) hide show
  1. package/lib/components/buttons/button/interfaces.d.ts +2 -2
  2. package/lib/sd-component-library100.js +4 -4
  3. package/lib/sd-component-library104.js +1 -1
  4. package/lib/sd-component-library105.js +1 -1
  5. package/lib/sd-component-library110.js +1 -1
  6. package/lib/sd-component-library111.js +2 -2
  7. package/lib/sd-component-library113.js +1 -1
  8. package/lib/sd-component-library114.js +1 -1
  9. package/lib/sd-component-library119.js +2 -2
  10. package/lib/sd-component-library120.js +2 -2
  11. package/lib/sd-component-library122.js +1 -1
  12. package/lib/sd-component-library125.js +3 -3
  13. package/lib/sd-component-library126.js +1 -1
  14. package/lib/sd-component-library140.js +1 -1
  15. package/lib/sd-component-library141.js +1 -1
  16. package/lib/sd-component-library144.js +1 -1
  17. package/lib/sd-component-library145.js +4 -4
  18. package/lib/sd-component-library169.js +3 -3
  19. package/lib/sd-component-library172.js +2 -60
  20. package/lib/sd-component-library172.js.map +1 -1
  21. package/lib/sd-component-library173.js +30 -3
  22. package/lib/sd-component-library173.js.map +1 -1
  23. package/lib/sd-component-library174.js +599 -2
  24. package/lib/sd-component-library174.js.map +1 -1
  25. package/lib/sd-component-library175.js +60 -30
  26. package/lib/sd-component-library175.js.map +1 -1
  27. package/lib/sd-component-library176.js +3 -599
  28. package/lib/sd-component-library176.js.map +1 -1
  29. package/lib/sd-component-library177.js +25 -17
  30. package/lib/sd-component-library177.js.map +1 -1
  31. package/lib/sd-component-library179.js +17 -63
  32. package/lib/sd-component-library179.js.map +1 -1
  33. package/lib/sd-component-library180.js +37 -20
  34. package/lib/sd-component-library180.js.map +1 -1
  35. package/lib/sd-component-library181.js +127 -38
  36. package/lib/sd-component-library181.js.map +1 -1
  37. package/lib/sd-component-library182.js +13 -129
  38. package/lib/sd-component-library182.js.map +1 -1
  39. package/lib/sd-component-library183.js +14 -13
  40. package/lib/sd-component-library183.js.map +1 -1
  41. package/lib/sd-component-library184.js +3 -14
  42. package/lib/sd-component-library184.js.map +1 -1
  43. package/lib/sd-component-library185.js +2 -2
  44. package/lib/sd-component-library185.js.map +1 -1
  45. package/lib/sd-component-library186.js +2 -2
  46. package/lib/sd-component-library186.js.map +1 -1
  47. package/lib/sd-component-library187.js +52 -3
  48. package/lib/sd-component-library187.js.map +1 -1
  49. package/lib/sd-component-library188.js +45 -51
  50. package/lib/sd-component-library188.js.map +1 -1
  51. package/lib/sd-component-library191.js +17 -46
  52. package/lib/sd-component-library191.js.map +1 -1
  53. package/lib/sd-component-library192.js +64 -3
  54. package/lib/sd-component-library192.js.map +1 -1
  55. package/lib/sd-component-library193.js +23 -31
  56. package/lib/sd-component-library193.js.map +1 -1
  57. package/lib/sd-component-library194.js +29 -19
  58. package/lib/sd-component-library194.js.map +1 -1
  59. package/lib/sd-component-library195.js +3 -20
  60. package/lib/sd-component-library195.js.map +1 -1
  61. package/lib/sd-component-library196.js +24 -28
  62. package/lib/sd-component-library196.js.map +1 -1
  63. package/lib/sd-component-library197.js +3 -33
  64. package/lib/sd-component-library197.js.map +1 -1
  65. package/lib/sd-component-library198.js +324 -16
  66. package/lib/sd-component-library198.js.map +1 -1
  67. package/lib/sd-component-library199.js +3 -1
  68. package/lib/sd-component-library199.js.map +1 -1
  69. package/lib/sd-component-library200.js +25 -128
  70. package/lib/sd-component-library200.js.map +1 -1
  71. package/lib/sd-component-library201.js +3 -43
  72. package/lib/sd-component-library201.js.map +1 -1
  73. package/lib/sd-component-library202.js +31 -47
  74. package/lib/sd-component-library202.js.map +1 -1
  75. package/lib/sd-component-library203.js +19 -8
  76. package/lib/sd-component-library203.js.map +1 -1
  77. package/lib/sd-component-library204.js +20 -64
  78. package/lib/sd-component-library204.js.map +1 -1
  79. package/lib/sd-component-library205.js +28 -43
  80. package/lib/sd-component-library205.js.map +1 -1
  81. package/lib/sd-component-library206.js +30 -10
  82. package/lib/sd-component-library206.js.map +1 -1
  83. package/lib/sd-component-library207.js +3 -48
  84. package/lib/sd-component-library207.js.map +1 -1
  85. package/lib/sd-component-library208.js +128 -74
  86. package/lib/sd-component-library208.js.map +1 -1
  87. package/lib/sd-component-library209.js +43 -21
  88. package/lib/sd-component-library209.js.map +1 -1
  89. package/lib/sd-component-library21.js +28 -26
  90. package/lib/sd-component-library21.js.map +1 -1
  91. package/lib/sd-component-library210.js +44 -106
  92. package/lib/sd-component-library210.js.map +1 -1
  93. package/lib/sd-component-library211.js +7 -46
  94. package/lib/sd-component-library211.js.map +1 -1
  95. package/lib/sd-component-library212.js +64 -24
  96. package/lib/sd-component-library212.js.map +1 -1
  97. package/lib/sd-component-library213.js +40 -50
  98. package/lib/sd-component-library213.js.map +1 -1
  99. package/lib/sd-component-library214.js +11 -19
  100. package/lib/sd-component-library214.js.map +1 -1
  101. package/lib/sd-component-library215.js +20 -19
  102. package/lib/sd-component-library215.js.map +1 -1
  103. package/lib/sd-component-library216.js +103 -35
  104. package/lib/sd-component-library216.js.map +1 -1
  105. package/lib/sd-component-library217.js +47 -27
  106. package/lib/sd-component-library217.js.map +1 -1
  107. package/lib/sd-component-library218.js +24 -2
  108. package/lib/sd-component-library218.js.map +1 -1
  109. package/lib/sd-component-library219.js +47 -20
  110. package/lib/sd-component-library219.js.map +1 -1
  111. package/lib/sd-component-library220.js +45 -322
  112. package/lib/sd-component-library220.js.map +1 -1
  113. package/lib/sd-component-library221.js +75 -5
  114. package/lib/sd-component-library221.js.map +1 -1
  115. package/lib/sd-component-library222.js +39 -23
  116. package/lib/sd-component-library222.js.map +1 -1
  117. package/lib/sd-component-library223.js +27 -3
  118. package/lib/sd-component-library223.js.map +1 -1
  119. package/lib/sd-component-library224.js +2 -22
  120. package/lib/sd-component-library224.js.map +1 -1
  121. package/lib/sd-component-library225.js +2 -3
  122. package/lib/sd-component-library225.js.map +1 -1
  123. package/lib/sd-component-library226.js +17 -25
  124. package/lib/sd-component-library226.js.map +1 -1
  125. package/lib/sd-component-library227.js +20 -24
  126. package/lib/sd-component-library227.js.map +1 -1
  127. package/lib/sd-component-library228.js +2 -26
  128. package/lib/sd-component-library228.js.map +1 -1
  129. package/lib/sd-component-library229.js +25 -30
  130. package/lib/sd-component-library229.js.map +1 -1
  131. package/lib/sd-component-library230.js +21 -50
  132. package/lib/sd-component-library230.js.map +1 -1
  133. package/lib/sd-component-library231.js +30 -134
  134. package/lib/sd-component-library231.js.map +1 -1
  135. package/lib/sd-component-library232.js +39 -62
  136. package/lib/sd-component-library232.js.map +1 -1
  137. package/lib/sd-component-library233.js +120 -62
  138. package/lib/sd-component-library233.js.map +1 -1
  139. package/lib/sd-component-library234.js +74 -9
  140. package/lib/sd-component-library234.js.map +1 -1
  141. package/lib/sd-component-library235.js +72 -47
  142. package/lib/sd-component-library235.js.map +1 -1
  143. package/lib/sd-component-library236.js +25 -85
  144. package/lib/sd-component-library236.js.map +1 -1
  145. package/lib/sd-component-library237.js +19 -90
  146. package/lib/sd-component-library237.js.map +1 -1
  147. package/lib/sd-component-library238.js +120 -25
  148. package/lib/sd-component-library238.js.map +1 -1
  149. package/lib/sd-component-library239.js +117 -16
  150. package/lib/sd-component-library239.js.map +1 -1
  151. package/lib/sd-component-library240.js +9 -125
  152. package/lib/sd-component-library240.js.map +1 -1
  153. package/lib/sd-component-library241.js +46 -117
  154. package/lib/sd-component-library241.js.map +1 -1
  155. package/lib/sd-component-library242.js +90 -2
  156. package/lib/sd-component-library242.js.map +1 -1
  157. package/lib/sd-component-library243.js +92 -2
  158. package/lib/sd-component-library243.js.map +1 -1
  159. package/lib/sd-component-library247.js +2 -2
  160. package/lib/sd-component-library248.js +2 -2
  161. package/lib/sd-component-library259.js +3 -3
  162. package/lib/sd-component-library260.js +4 -4
  163. package/lib/sd-component-library261.js +1 -1
  164. package/lib/sd-component-library262.js +12 -25
  165. package/lib/sd-component-library262.js.map +1 -1
  166. package/lib/sd-component-library263.js +5 -93
  167. package/lib/sd-component-library263.js.map +1 -1
  168. package/lib/sd-component-library264.js +4 -51
  169. package/lib/sd-component-library264.js.map +1 -1
  170. package/lib/sd-component-library265.js +19 -35
  171. package/lib/sd-component-library265.js.map +1 -1
  172. package/lib/sd-component-library266.js +3 -25
  173. package/lib/sd-component-library266.js.map +1 -1
  174. package/lib/sd-component-library267.js +25 -4
  175. package/lib/sd-component-library267.js.map +1 -1
  176. package/lib/sd-component-library268.js +93 -4
  177. package/lib/sd-component-library268.js.map +1 -1
  178. package/lib/sd-component-library269.js +51 -9
  179. package/lib/sd-component-library269.js.map +1 -1
  180. package/lib/sd-component-library270.js +35 -5
  181. package/lib/sd-component-library270.js.map +1 -1
  182. package/lib/sd-component-library271.js +24 -3
  183. package/lib/sd-component-library271.js.map +1 -1
  184. package/lib/sd-component-library272.js +5 -19
  185. package/lib/sd-component-library272.js.map +1 -1
  186. package/lib/sd-component-library273.js +4 -3
  187. package/lib/sd-component-library273.js.map +1 -1
  188. package/lib/sd-component-library275.js +28 -2
  189. package/lib/sd-component-library275.js.map +1 -1
  190. package/lib/sd-component-library276.js +20 -76
  191. package/lib/sd-component-library276.js.map +1 -1
  192. package/lib/sd-component-library277.js +2 -93
  193. package/lib/sd-component-library277.js.map +1 -1
  194. package/lib/sd-component-library278.js +74 -50
  195. package/lib/sd-component-library278.js.map +1 -1
  196. package/lib/sd-component-library279.js +92 -8
  197. package/lib/sd-component-library279.js.map +1 -1
  198. package/lib/sd-component-library280.js +52 -4
  199. package/lib/sd-component-library280.js.map +1 -1
  200. package/lib/sd-component-library281.js +8 -52
  201. package/lib/sd-component-library281.js.map +1 -1
  202. package/lib/sd-component-library282.js +5 -28
  203. package/lib/sd-component-library282.js.map +1 -1
  204. package/lib/sd-component-library283.js +51 -19
  205. package/lib/sd-component-library283.js.map +1 -1
  206. package/lib/sd-component-library284.js +6 -90
  207. package/lib/sd-component-library284.js.map +1 -1
  208. package/lib/sd-component-library285.js +90 -6
  209. package/lib/sd-component-library285.js.map +1 -1
  210. package/lib/sd-component-library44.js +1 -1
  211. package/lib/sd-component-library45.js +1 -1
  212. package/lib/sd-component-library47.js +2 -2
  213. package/lib/sd-component-library48.js +2 -2
  214. package/lib/sd-component-library53.js +39 -39
  215. package/lib/sd-component-library53.js.map +1 -1
  216. package/lib/sd-component-library55.js +1 -1
  217. package/lib/sd-component-library59.js +1 -1
  218. package/lib/sd-component-library6.js +1 -1
  219. package/lib/sd-component-library60.js +1 -1
  220. package/lib/sd-component-library65.js +2 -2
  221. package/lib/sd-component-library67.js +3 -3
  222. package/lib/sd-component-library69.js +2 -2
  223. package/lib/sd-component-library7.js +1 -1
  224. package/lib/sd-component-library70.js +1 -1
  225. package/lib/sd-component-library71.js +1 -1
  226. package/lib/sd-component-library72.js +1 -1
  227. package/lib/sd-component-library74.js +1 -1
  228. package/lib/sd-component-library75.js +1 -1
  229. package/lib/sd-component-library80.js +1 -1
  230. package/lib/sd-component-library81.js +6 -6
  231. package/lib/sd-component-library82.js +2 -2
  232. package/lib/sd-component-library83.js +1 -1
  233. package/lib/sd-component-library84.js +5 -5
  234. package/lib/sd-component-library85.js +1 -1
  235. package/lib/sd-component-library87.js +6 -6
  236. package/lib/sd-component-library88.js +1 -1
  237. package/lib/sd-component-library89.js +7 -7
  238. package/lib/sd-component-library90.js +1 -1
  239. package/lib/sd-component-library93.js +2 -2
  240. package/lib/sd-component-library94.js +3 -3
  241. package/lib/sd-component-library95.js +2 -2
  242. package/lib/sd-component-library96.js +3 -3
  243. package/lib/sd-component-library97.js +2 -2
  244. package/lib/sd-component-library98.js +4 -4
  245. package/package.json +1 -1
@@ -1,6 +1,30 @@
1
- import * as a from "react";
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: "M8009.72,5251.88l-5.6-6.08a0.435,0.435,0,0,1,0-.6l5.6-6.08a0.354,0.354,0,0,1,.28-0.13,0.349,0.349,0,0,1,.27.13l0.61,0.65a0.435,0.435,0,0,1,0,.6l-4.73,5.13,4.73,5.13a0.423,0.423,0,0,1,.12.3,0.441,0.441,0,0,1-.12.3l-0.61.65a0.349,0.349,0,0,1-.27.13A0.354,0.354,0,0,1,8009.72,5251.88Z", transform: "translate(-8004 -5239)" }));
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
- e as ReactComponent
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/page-selectors/page-selector/assets/previous.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjEzIiB2aWV3Qm94PSIwIDAgNyAxMyI+CiAgPHBhdGggaWQ9IkZvcm1hXzFfY29weV8zIiBkYXRhLW5hbWU9IkZvcm1hIDEgY29weSAzIiBkPSJNODAwOS43Miw1MjUxLjg4bC01LjYtNi4wOGEwLjQzNSwwLjQzNSwwLDAsMSwwLS42bDUuNi02LjA4YTAuMzU0LDAuMzU0LDAsMCwxLC4yOC0wLjEzLDAuMzQ5LDAuMzQ5LDAsMCwxLC4yNy4xM2wwLjYxLDAuNjVhMC40MzUsMC40MzUsMCwwLDEsMCwuNmwtNC43Myw1LjEzLDQuNzMsNS4xM2EwLjQyMywwLjQyMywwLDAsMSwuMTIuMywwLjQ0MSwwLjQ0MSwwLDAsMS0uMTIuM2wtMC42MS42NWEwLjM0OSwwLjM0OSwwLDAsMS0uMjcuMTNBMC4zNTQsMC4zNTQsMCwwLDEsODAwOS43Miw1MjUxLjg4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgwMDQgLTUyMzkpIi8+Cjwvc3ZnPgo=\""],"names":["SvgPrevious","props","React"],"mappings":";AACK,MAACA,IAAc,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,IAAI,SAAS,YAAY,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,kBAAkB,aAAa,kBAAkB,GAAG,6RAA6R,WAAW,yBAAwB,CAAE,CAAC;"}
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
- import { j as r } from "./sd-component-library169.js";
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
- n as PaginationBarCurrentPage
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":["../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
+ {"version":3,"file":"sd-component-library224.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +1,5 @@
1
- import * as a from "react";
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 ReactComponent
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":["../src/components/page-selectors/page-selector/assets/next.svg"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjEzIiB2aWV3Qm94PSIwIDAgNyAxMyI+CiAgPHBhdGggaWQ9IkZvcm1hXzFfY29weV8zIiBkYXRhLW5hbWU9IkZvcm1hIDEgY29weSAzIiBkPSJNODEwNS4yNyw1MjUxLjg4bDUuNi02LjA4YTAuNDM1LDAuNDM1LDAsMCwwLDAtLjZsLTUuNi02LjA4YTAuMzQ5LDAuMzQ5LDAsMCwwLS4yNy0wLjEzLDAuMzU0LDAuMzU0LDAsMCwwLS4yOC4xM2wtMC42LjY1YTAuNDM1LDAuNDM1LDAsMCwwLDAsLjZsNC43Miw1LjEzLTQuNzIsNS4xM2EwLjQyMywwLjQyMywwLDAsMC0uMTIuMywwLjQ0MSwwLjQ0MSwwLDAsMCwuMTIuM2wwLjYsMC42NWEwLjM1NCwwLjM1NCwwLDAsMCwuMjguMTNBMC4zNDksMC4zNDksMCwwLDAsODEwNS4yNyw1MjUxLjg4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgxMDQgLTUyMzkpIi8+Cjwvc3ZnPgo=\""],"names":["SvgNext","props","React"],"mappings":";AACK,MAACA,IAAU,CAACC,MAA0B,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,GAAG,QAAQ,IAAI,SAAS,YAAY,GAAGD,EAAO,GAAkB,gBAAAC,EAAM,cAAc,QAAQ,EAAE,IAAI,kBAAkB,aAAa,kBAAkB,GAAG,0RAA0R,WAAW,yBAAwB,CAAE,CAAC;"}
1
+ {"version":3,"file":"sd-component-library225.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,32 +1,24 @@
1
- import { j as n } from "./sd-component-library169.js";
2
- import { Button as a } from "./sd-component-library21.js";
3
- const u = (r) => {
4
- const {
5
- borderColor: e,
6
- borderStyle: o,
7
- borderWidth: i,
8
- fill: d,
9
- width: l,
10
- height: h,
11
- disabled: t
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
- ...r,
17
- width: l || ["30px"],
18
- height: h || ["30px"],
19
- borderColor: t ? "cl_lightGrey" : e || "#4668F8",
20
- borderStyle: o || "solid",
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
- u as SquareButton
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/buttons/partials/square-button/square-button.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Button } from \"../../button\";\nimport { SquareButtonProps } from \"./interfaces\";\n\n/**\n * The circle button.\n */\nexport const SquareButton: React.FC<SquareButtonProps> = (props) => {\n const {\n borderColor,\n borderStyle,\n borderWidth,\n fill,\n width,\n height,\n disabled,\n } = props;\n return (\n <Button\n {...props}\n width={width || [\"30px\"]}\n height={height || [\"30px\"]}\n borderColor={!disabled ? borderColor || \"#4668F8\" : \"cl_lightGrey\"}\n borderStyle={borderStyle || \"solid\"}\n borderWidth={borderWidth || \"2px\"}\n fill={!disabled ? fill || \"#4668F8\" : \"cl_lightGrey\"}\n data-testid=\"square-button\"\n variant=\"_square\"\n >\n {props.children}\n </Button>\n );\n};\n"],"names":["SquareButton","props","borderColor","borderStyle","borderWidth","fill","width","height","disabled","jsx","Button"],"mappings":";;AAQa,MAAAA,IAA4C,CAACC,MAAU;AAC5D,QAAA;AAAA,IACJ,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,MAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,UAAAC;AAAA,EACE,IAAAP;AAEF,SAAAQ,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACE,GAAGT;AAAA,MACJ,OAAOK,KAAS,CAAC,MAAM;AAAA,MACvB,QAAQC,KAAU,CAAC,MAAM;AAAA,MACzB,aAAcC,IAAsC,iBAA3BN,KAAe;AAAA,MACxC,aAAaC,KAAe;AAAA,MAC5B,aAAaC,KAAe;AAAA,MAC5B,MAAOI,IAA+B,iBAApBH,KAAQ;AAAA,MAC1B,eAAY;AAAA,MACZ,SAAQ;AAAA,MAEP,UAAMJ,EAAA;AAAA,IAAA;AAAA,EAAA;AAGb;"}
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 t } from "./sd-component-library169.js";
2
- import { ResponsiveTextV2 as o } from "./sd-component-library135.js";
3
- const s = (e) => {
4
- const { currentPage: r } = e;
5
- return /* @__PURE__ */ t.jsx(
6
- o,
7
- {
8
- fontSizeWeight: [14, "regular"],
9
- sx: {
10
- display: "flex",
11
- alignItems: "center",
12
- justifyContent: "center",
13
- borderColor: "cl_lightGrey",
14
- borderWidth: 1,
15
- borderStyle: "solid",
16
- borderRadius: "3px",
17
- height: "30px",
18
- minWidth: "30px"
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
- s as CurrentPage
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/page-selectors/page-selector/partials/current-page/current-page.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { CurrentPageProps as Props } from \"./interfaces\";\n\nexport const CurrentPage: React.FC<Props> = (props) => {\n const { currentPage } = props;\n\n return (\n <ResponsiveTextV2\n fontSizeWeight={[14, \"regular\"]}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderColor: \"cl_lightGrey\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderRadius: \"3px\",\n height: \"30px\",\n minWidth: \"30px\",\n }}\n >\n {currentPage}\n </ResponsiveTextV2>\n );\n};\n"],"names":["CurrentPage","props","currentPage","jsx","ResponsiveTextV2"],"mappings":";;AAKa,MAAAA,IAA+B,CAACC,MAAU;AAC/C,QAAA,EAAE,aAAAC,EAAgB,IAAAD;AAGtB,SAAAE,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,MAC9B,IAAI;AAAA,QACF,SAAS;AAAA,QACT,YAAY;AAAA,QACZ,gBAAgB;AAAA,QAChB,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,UAAU;AAAA,MACZ;AAAA,MAEC,UAAAF;AAAA,IAAA;AAAA,EAAA;AAGP;"}
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
- import { j as o } from "./sd-component-library169.js";
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
- h as LoadingSpinner
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/animations/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { generateTestLocator } from \"../../../core/functions\";\nimport { RescanIcon } from \"../../icons\";\nimport { LoadingSpinnerProps as Props } from \"./interfaces\";\n\nexport const LoadingSpinner: React.FC<Props> = (props) => {\n const { width, height, fill, stroke, icon } = props;\n\n const IconComponent = icon || RescanIcon;\n\n return (\n <Box\n sx={{\n width: width || 25,\n height: height || 25,\n fill: fill || \"currentColor\",\n stroke: stroke || \"none\",\n animation: \"rotation 2s infinite linear\",\n\n \"@keyframes rotation \": {\n from: { transform: \"rotate(0deg)\" },\n to: { transform: \"rotate(359deg)\" },\n },\n }}\n {...generateTestLocator(\"loading-spinner\")}\n >\n <IconComponent />\n </Box>\n );\n};\n"],"names":["LoadingSpinner","props","width","height","fill","stroke","icon","IconComponent","RescanIcon","jsx","Box","generateTestLocator"],"mappings":";;;;AAQa,MAAAA,IAAkC,CAACC,MAAU;AACxD,QAAM,EAAE,OAAAC,GAAO,QAAAC,GAAQ,MAAAC,GAAM,QAAAC,GAAQ,MAAAC,EAAS,IAAAL,GAExCM,IAAgBD,KAAQE;AAG5B,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAOR,KAAS;AAAA,QAChB,QAAQC,KAAU;AAAA,QAClB,MAAMC,KAAQ;AAAA,QACd,QAAQC,KAAU;AAAA,QAClB,WAAW;AAAA,QAEX,wBAAwB;AAAA,UACtB,MAAM,EAAE,WAAW,eAAe;AAAA,UAClC,IAAI,EAAE,WAAW,iBAAiB;AAAA,QACpC;AAAA,MACF;AAAA,MACC,GAAGM,EAAoB,iBAAiB;AAAA,MAEzC,gCAACJ,GAAc,EAAA;AAAA,IAAA;AAAA,EAAA;AAGrB;"}
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 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
- );
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
- h as CustomOptionBox
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/selectors/custom-selector/partials/custom-option-box/custom-option-box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FlexCenterSpaceBetween } from \"../../../../containers\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { CustomOptionBoxProps as Props } from \"./interfaces\";\n\nexport const CustomOptionBox: React.FC<Props> = ({\n title,\n secondaryText,\n textTransform,\n ...props\n}) => {\n return (\n <FlexCenterSpaceBetween\n width=\"100%\"\n p=\"12px 16px\"\n bg=\"white\"\n sx={{ cursor: \"pointer\" }}\n {...props}\n >\n <ResponsiveTextV2\n fontSizeWeight={[16, \"regular\"]}\n textTransform={textTransform}\n >\n {title}\n </ResponsiveTextV2>\n\n {secondaryText && (\n <ResponsiveTextV2 fontSizeWeight={[14, \"regular\"]}>\n {secondaryText}\n </ResponsiveTextV2>\n )}\n </FlexCenterSpaceBetween>\n );\n};\n"],"names":["CustomOptionBox","title","secondaryText","textTransform","props","jsxs","FlexCenterSpaceBetween","jsx","ResponsiveTextV2"],"mappings":";;;AAMO,MAAMA,IAAmC,CAAC;AAAA,EAC/C,OAAAC;AAAA,EACA,eAAAC;AAAA,EACA,eAAAC;AAAA,EACA,GAAGC;AACL,MAEIC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,OAAM;AAAA,IACN,GAAE;AAAA,IACF,IAAG;AAAA,IACH,IAAI,EAAE,QAAQ,UAAU;AAAA,IACvB,GAAGF;AAAA,IAEJ,UAAA;AAAA,MAAAG,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,UAC9B,eAAAL;AAAA,UAEC,UAAAF;AAAA,QAAA;AAAA,MACH;AAAA,MAECC,2BACEM,GAAiB,EAAA,gBAAgB,CAAC,IAAI,SAAS,GAC7C,UACHN,GAAA;AAAA,IAAA;AAAA,EAAA;AAAA;"}
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 s from "react";
3
- import { Box as n } from "rebass";
4
- import { TriangularPointerIcon as m } from "./sd-component-library163.js";
5
- import { SecondaryCustomSelectorOptionRow as x } from "./sd-component-library286.js";
6
- import { HorizontalDivider as i } from "./sd-component-library44.js";
7
- const f = ({
8
- options: t,
9
- onSelect: l
10
- }) => {
11
- const c = (o) => () => l(o);
12
- return /* @__PURE__ */ r.jsxs(
13
- n,
14
- {
15
- sx: {
16
- position: "absolute",
17
- right: "-16px",
18
- top: "calc(100% - 12px)",
19
- minWidth: "calc(100% + 16px)",
20
- zIndex: 1
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
- f as SecondaryCustomSelectorOptionsBox
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/selectors/secondary-custom-selector/partials/secondary-custom-selector-options-box/secondary-custom-selector-options-box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { HorizontalDivider } from \"../../../../dividers\";\nimport { TriangularPointerIcon } from \"../../../../icons\";\nimport { SelectorOptionV2 } from \"../../../selector-v2\";\nimport { SecondaryCustomSelectorOptionRow } from \"../secondary-custom-selector-option-row\";\nimport { SecondaryCustomSelectorOptionsBoxProps as Props } from \"./interfaces\";\n\nexport const SecondaryCustomSelectorOptionsBox = <T extends string = string>({\n options,\n onSelect,\n}: Props<T>) => {\n const onClick = (option: SelectorOptionV2<T>) => () => onSelect(option);\n\n return (\n <Box\n sx={{\n position: \"absolute\",\n right: \"-16px\",\n top: \"calc(100% - 12px)\",\n minWidth: \"calc(100% + 16px)\",\n zIndex: 1,\n }}\n >\n <TriangularPointerIcon direction=\"top\" mr=\"15px\" ml=\"auto\" />\n\n <HorizontalDivider height=\"2px\" color=\"cl_purple\" />\n\n {options.map((option, idx) => (\n <React.Fragment key={option.id}>\n {idx !== 0 && (\n <HorizontalDivider\n color=\"cl_headerLine\"\n sx={{\n borderStyle: \"none solid\",\n borderColor: \"cl_lightGrey\",\n borderWidth: \"1px\",\n }}\n />\n )}\n\n <SecondaryCustomSelectorOptionRow\n key={option.id}\n title={option.title}\n onClick={onClick(option)}\n isLast={idx === options.length - 1}\n />\n </React.Fragment>\n ))}\n </Box>\n );\n};\n"],"names":["SecondaryCustomSelectorOptionsBox","options","onSelect","onClick","option","jsxs","Box","jsx","TriangularPointerIcon","HorizontalDivider","idx","React","SecondaryCustomSelectorOptionRow"],"mappings":";;;;;;AAUO,MAAMA,IAAoC,CAA4B;AAAA,EAC3E,SAAAC;AAAA,EACA,UAAAC;AACF,MAAgB;AACd,QAAMC,IAAU,CAACC,MAAgC,MAAMF,EAASE,CAAM;AAGpE,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,OAAO;AAAA,QACP,KAAK;AAAA,QACL,UAAU;AAAA,QACV,QAAQ;AAAA,MACV;AAAA,MAEA,UAAA;AAAA,QAAAC,gBAAAA,MAACC,KAAsB,WAAU,OAAM,IAAG,QAAO,IAAG,QAAO;AAAA,QAE1DD,gBAAAA,EAAA,IAAAE,GAAA,EAAkB,QAAO,OAAM,OAAM,aAAY;AAAA,QAEjDR,EAAQ,IAAI,CAACG,GAAQM,MACnBL,gBAAAA,EAAAA,KAAAM,EAAM,UAAN,EACE,UAAA;AAAA,UAAAD,MAAQ,KACPH,gBAAAA,EAAA;AAAA,YAACE;AAAA,YAAA;AAAA,cACC,OAAM;AAAA,cACN,IAAI;AAAA,gBACF,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,aAAa;AAAA,cACf;AAAA,YAAA;AAAA,UACF;AAAA,UAGFF,gBAAAA,EAAA;AAAA,YAACK;AAAA,YAAA;AAAA,cAEC,OAAOR,EAAO;AAAA,cACd,SAASD,EAAQC,CAAM;AAAA,cACvB,QAAQM,MAAQT,EAAQ,SAAS;AAAA,YAAA;AAAA,YAH5BG,EAAO;AAAA,UAId;AAAA,QAAA,KAjBmBA,EAAO,EAkB5B,CACD;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGP;"}
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 t } from "./sd-component-library169.js";
2
- import { Select as A } from "@rebass/forms";
3
- import { Box as Z } from "rebass";
4
- import { generateTestLocator as q } from "./sd-component-library4.js";
5
- import { getNoTranslateClass as p } from "./sd-component-library105.js";
6
- import { BaseLabel as D } from "./sd-component-library198.js";
7
- import { MaxMaxContainer as G } from "./sd-component-library36.js";
8
- import { ResponsiveTextV2 as H } from "./sd-component-library135.js";
9
- const O = ({
10
- variant: r,
11
- options: u,
12
- width: f,
13
- m: g,
14
- mt: h,
15
- mr: C,
16
- mb: j,
17
- ml: v,
18
- gap: $,
19
- selectorLabel: i,
20
- secondLabel: e,
21
- errorMessage: m,
22
- disabledTextValue: n,
23
- hideDefaultOnSelect: y,
24
- labelMargin: b,
25
- selectElementHeight: F,
26
- defaultOptionColor: c,
27
- textTransform: N,
28
- onSelect: S,
29
- noOptionsToSelect: o,
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
- O as BaseSelectorV2
31
+ h as CustomOptionBox
136
32
  };
137
33
  //# sourceMappingURL=sd-component-library231.js.map