@selfdecode/sd-component-library 4.0.145 → 4.0.146

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 (171) hide show
  1. package/lib/sd-component-library100.js +2 -2
  2. package/lib/sd-component-library101.js +3 -3
  3. package/lib/sd-component-library102.js +2 -2
  4. package/lib/sd-component-library104.js +4 -4
  5. package/lib/sd-component-library106.js +4 -4
  6. package/lib/sd-component-library111.js +1 -1
  7. package/lib/sd-component-library117.js +1 -1
  8. package/lib/sd-component-library118.js +1 -1
  9. package/lib/sd-component-library120.js +1 -1
  10. package/lib/sd-component-library121.js +1 -1
  11. package/lib/sd-component-library126.js +1 -1
  12. package/lib/sd-component-library127.js +1 -1
  13. package/lib/sd-component-library133.js +3 -3
  14. package/lib/sd-component-library134.js +1 -1
  15. package/lib/sd-component-library136.js +2 -2
  16. package/lib/sd-component-library16.js +1 -1
  17. package/lib/sd-component-library168.js +1 -1
  18. package/lib/sd-component-library171.js +1 -1
  19. package/lib/sd-component-library172.js +4 -4
  20. package/lib/sd-component-library197.js +3 -3
  21. package/lib/sd-component-library200.js +60 -2
  22. package/lib/sd-component-library200.js.map +1 -1
  23. package/lib/sd-component-library201.js +2 -30
  24. package/lib/sd-component-library201.js.map +1 -1
  25. package/lib/sd-component-library202.js +21 -590
  26. package/lib/sd-component-library202.js.map +1 -1
  27. package/lib/sd-component-library203.js +595 -56
  28. package/lib/sd-component-library203.js.map +1 -1
  29. package/lib/sd-component-library205.js +24 -55
  30. package/lib/sd-component-library205.js.map +1 -1
  31. package/lib/sd-component-library206.js +55 -24
  32. package/lib/sd-component-library206.js.map +1 -1
  33. package/lib/sd-component-library208.js +19 -62
  34. package/lib/sd-component-library208.js.map +1 -1
  35. package/lib/sd-component-library209.js +3 -23
  36. package/lib/sd-component-library209.js.map +1 -1
  37. package/lib/sd-component-library210.js +3 -40
  38. package/lib/sd-component-library210.js.map +1 -1
  39. package/lib/sd-component-library211.js +62 -19
  40. package/lib/sd-component-library211.js.map +1 -1
  41. package/lib/sd-component-library212.js +23 -3
  42. package/lib/sd-component-library212.js.map +1 -1
  43. package/lib/sd-component-library213.js +40 -3
  44. package/lib/sd-component-library213.js.map +1 -1
  45. package/lib/sd-component-library221.js +64 -45
  46. package/lib/sd-component-library221.js.map +1 -1
  47. package/lib/sd-component-library222.js +3 -65
  48. package/lib/sd-component-library222.js.map +1 -1
  49. package/lib/sd-component-library223.js +46 -3
  50. package/lib/sd-component-library223.js.map +1 -1
  51. package/lib/sd-component-library233.js +129 -64
  52. package/lib/sd-component-library233.js.map +1 -1
  53. package/lib/sd-component-library235.js +40 -36
  54. package/lib/sd-component-library235.js.map +1 -1
  55. package/lib/sd-component-library236.js +7 -12
  56. package/lib/sd-component-library236.js.map +1 -1
  57. package/lib/sd-component-library237.js +64 -21
  58. package/lib/sd-component-library237.js.map +1 -1
  59. package/lib/sd-component-library238.js +41 -107
  60. package/lib/sd-component-library238.js.map +1 -1
  61. package/lib/sd-component-library239.js +12 -46
  62. package/lib/sd-component-library239.js.map +1 -1
  63. package/lib/sd-component-library24.js +1 -1
  64. package/lib/sd-component-library240.js +21 -24
  65. package/lib/sd-component-library240.js.map +1 -1
  66. package/lib/sd-component-library241.js +103 -47
  67. package/lib/sd-component-library241.js.map +1 -1
  68. package/lib/sd-component-library242.js +43 -17
  69. package/lib/sd-component-library242.js.map +1 -1
  70. package/lib/sd-component-library243.js +24 -20
  71. package/lib/sd-component-library243.js.map +1 -1
  72. package/lib/sd-component-library244.js +52 -47
  73. package/lib/sd-component-library244.js.map +1 -1
  74. package/lib/sd-component-library245.js +46 -39
  75. package/lib/sd-component-library245.js.map +1 -1
  76. package/lib/sd-component-library246.js +74 -26
  77. package/lib/sd-component-library246.js.map +1 -1
  78. package/lib/sd-component-library247.js +21 -2
  79. package/lib/sd-component-library247.js.map +1 -1
  80. package/lib/sd-component-library248.js +20 -75
  81. package/lib/sd-component-library248.js.map +1 -1
  82. package/lib/sd-component-library249.js +2 -29
  83. package/lib/sd-component-library249.js.map +1 -1
  84. package/lib/sd-component-library250.js +41 -3
  85. package/lib/sd-component-library250.js.map +1 -1
  86. package/lib/sd-component-library251.js +26 -23
  87. package/lib/sd-component-library251.js.map +1 -1
  88. package/lib/sd-component-library252.js +325 -3
  89. package/lib/sd-component-library252.js.map +1 -1
  90. package/lib/sd-component-library253.js +5 -325
  91. package/lib/sd-component-library253.js.map +1 -1
  92. package/lib/sd-component-library254.js +29 -5
  93. package/lib/sd-component-library254.js.map +1 -1
  94. package/lib/sd-component-library255.js +3 -2
  95. package/lib/sd-component-library255.js.map +1 -1
  96. package/lib/sd-component-library256.js +24 -2
  97. package/lib/sd-component-library256.js.map +1 -1
  98. package/lib/sd-component-library257.js +3 -129
  99. package/lib/sd-component-library257.js.map +1 -1
  100. package/lib/sd-component-library258.js +21 -43
  101. package/lib/sd-component-library258.js.map +1 -1
  102. package/lib/sd-component-library259.js +22 -8
  103. package/lib/sd-component-library259.js.map +1 -1
  104. package/lib/sd-component-library260.js +30 -25
  105. package/lib/sd-component-library260.js.map +1 -1
  106. package/lib/sd-component-library261.js +50 -21
  107. package/lib/sd-component-library261.js.map +1 -1
  108. package/lib/sd-component-library262.js +134 -30
  109. package/lib/sd-component-library262.js.map +1 -1
  110. package/lib/sd-component-library263.js +59 -119
  111. package/lib/sd-component-library263.js.map +1 -1
  112. package/lib/sd-component-library264.js +63 -38
  113. package/lib/sd-component-library264.js.map +1 -1
  114. package/lib/sd-component-library265.js +30 -74
  115. package/lib/sd-component-library265.js.map +1 -1
  116. package/lib/sd-component-library266.js +15 -70
  117. package/lib/sd-component-library266.js.map +1 -1
  118. package/lib/sd-component-library267.js +120 -25
  119. package/lib/sd-component-library267.js.map +1 -1
  120. package/lib/sd-component-library268.js +117 -16
  121. package/lib/sd-component-library268.js.map +1 -1
  122. package/lib/sd-component-library269.js +10 -125
  123. package/lib/sd-component-library269.js.map +1 -1
  124. package/lib/sd-component-library270.js +39 -111
  125. package/lib/sd-component-library270.js.map +1 -1
  126. package/lib/sd-component-library271.js +9 -10
  127. package/lib/sd-component-library271.js.map +1 -1
  128. package/lib/sd-component-library272.js +49 -48
  129. package/lib/sd-component-library272.js.map +1 -1
  130. package/lib/sd-component-library273.js +89 -8
  131. package/lib/sd-component-library273.js.map +1 -1
  132. package/lib/sd-component-library274.js +89 -48
  133. package/lib/sd-component-library274.js.map +1 -1
  134. package/lib/sd-component-library275.js +2 -90
  135. package/lib/sd-component-library275.js.map +1 -1
  136. package/lib/sd-component-library276.js +2 -92
  137. package/lib/sd-component-library276.js.map +1 -1
  138. package/lib/sd-component-library297.js +1 -1
  139. package/lib/sd-component-library298.js +24 -4
  140. package/lib/sd-component-library298.js.map +1 -1
  141. package/lib/sd-component-library299.js +33 -23
  142. package/lib/sd-component-library299.js.map +1 -1
  143. package/lib/sd-component-library300.js +9 -4
  144. package/lib/sd-component-library300.js.map +1 -1
  145. package/lib/sd-component-library301.js +5 -35
  146. package/lib/sd-component-library301.js.map +1 -1
  147. package/lib/sd-component-library302.js +3 -8
  148. package/lib/sd-component-library302.js.map +1 -1
  149. package/lib/sd-component-library303.js +19 -5
  150. package/lib/sd-component-library303.js.map +1 -1
  151. package/lib/sd-component-library304.js +3 -4
  152. package/lib/sd-component-library304.js.map +1 -1
  153. package/lib/sd-component-library305.js +5 -19
  154. package/lib/sd-component-library305.js.map +1 -1
  155. package/lib/sd-component-library306.js +4 -3
  156. package/lib/sd-component-library306.js.map +1 -1
  157. package/lib/sd-component-library51.js +3 -3
  158. package/lib/sd-component-library52.js +2 -2
  159. package/lib/sd-component-library53.js +2 -2
  160. package/lib/sd-component-library60.js +1 -1
  161. package/lib/sd-component-library75.js +2 -2
  162. package/lib/sd-component-library76.js +1 -1
  163. package/lib/sd-component-library77.js +1 -1
  164. package/lib/sd-component-library81.js +1 -1
  165. package/lib/sd-component-library81.js.map +1 -1
  166. package/lib/sd-component-library89.js +3 -3
  167. package/lib/sd-component-library92.js +3 -3
  168. package/lib/sd-component-library94.js +5 -5
  169. package/lib/sd-component-library98.js +2 -2
  170. package/lib/sd-component-library99.js +3 -3
  171. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library274.js","sources":["../src/components/tooltips/tooltip-with-pointer/partials/tooltip-with-pointer-mobile/tooltip-with-pointer-mobile.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { FlexCenter } from \"../../../../containers\";\nimport { HorizontalDivider } from \"../../../../dividers\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { TooltipWithPointerProps } from \"../../interfaces\";\n\ntype Props = Pick<\n TooltipWithPointerProps,\n \"mobileTitle\" | \"tooltipText\" | \"tooltipWidth\" | \"zIndex\" | \"pointerColor\"\n>;\n\nexport const TooltipWithPointerMobile = React.forwardRef<HTMLDivElement, Props>(\n ({ mobileTitle, tooltipWidth, tooltipText, zIndex, pointerColor }, ref) => {\n return (\n <FlexCenter\n sx={{\n position: \"fixed\",\n top: 0,\n left: 0,\n width: \"100vw\",\n height: \"100vh\",\n bg: \"#262626AA\",\n zIndex,\n }}\n ref={ref}\n >\n <FlexCenter\n flexDirection=\"column\"\n sx={{\n width: tooltipWidth,\n maxWidth: \"min(500px, calc(100vw - 30px))\",\n bg: \"cl_white\",\n p: \"20px\",\n borderRadius: \"5px\",\n }}\n >\n {mobileTitle && (\n <>\n <ResponsiveTextV2 maxWidth=\"100%\" fontSizeWeight={[16, \"bold\"]}>\n {mobileTitle}\n </ResponsiveTextV2>\n\n <HorizontalDivider\n width=\"min(50px, calc(100% - 40px))\"\n color={pointerColor}\n height=\"2px\"\n m=\"10px 0\"\n />\n </>\n )}\n\n <ResponsiveTextV2 maxWidth=\"100%\" fontSizeWeight={[14, \"regular\"]}>\n {tooltipText}\n </ResponsiveTextV2>\n </FlexCenter>\n </FlexCenter>\n );\n }\n);\n"],"names":["TooltipWithPointerMobile","React","mobileTitle","tooltipWidth","tooltipText","zIndex","pointerColor","ref","jsx","FlexCenter","jsxs","Fragment","ResponsiveTextV2","HorizontalDivider"],"mappings":";;;;;AAYO,MAAMA,IAA2BC,EAAM;AAAA,EAC5C,CAAC,EAAE,aAAAC,GAAa,cAAAC,GAAc,aAAAC,GAAa,QAAAC,GAAQ,cAAAC,KAAgBC,MAE/DC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,IAAI;AAAA,QACJ,QAAAJ;AAAA,MACF;AAAA,MACA,KAAAE;AAAA,MAEA,UAAAG,gBAAAA,EAAA;AAAA,QAACD;AAAA,QAAA;AAAA,UACC,eAAc;AAAA,UACd,IAAI;AAAA,YACF,OAAON;AAAA,YACP,UAAU;AAAA,YACV,IAAI;AAAA,YACJ,GAAG;AAAA,YACH,cAAc;AAAA,UAChB;AAAA,UAEC,UAAA;AAAA,YAAAD,KAEGQ,gBAAAA,EAAA,KAAAC,YAAA,EAAA,UAAA;AAAA,cAACH,gBAAAA,EAAAA,IAAAI,GAAA,EAAiB,UAAS,QAAO,gBAAgB,CAAC,IAAI,MAAM,GAC1D,UACHV,EAAA,CAAA;AAAA,cAEAM,gBAAAA,EAAA;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,OAAM;AAAA,kBACN,OAAOP;AAAA,kBACP,QAAO;AAAA,kBACP,GAAE;AAAA,gBAAA;AAAA,cACJ;AAAA,YAAA,GACF;AAAA,YAGFE,gBAAAA,EAAAA,IAACI,KAAiB,UAAS,QAAO,gBAAgB,CAAC,IAAI,SAAS,GAC7D,UACHR,EAAA,CAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAIR;"}
1
+ {"version":3,"file":"sd-component-library274.js","sources":["../src/components/tooltips/tooltip-with-pointer/partials/tooltip-with-pointer-vertical/tooltip-with-pointer-vertical.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { TriangularPointerIcon } from \"../../../../icons\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { TooltipWithPointerPartialProps as Props } from \"../interfaces\";\n\nexport const TooltipWithPointerVertical = React.forwardRef<\n HTMLDivElement,\n Props\n>(\n (\n {\n pointerSx,\n tooltipPx,\n tooltipText,\n tooltipSx,\n tooltipPy,\n tooltipOffset,\n pointerSize,\n tooltipWidth,\n placement,\n state,\n containerSx,\n animationDuration,\n pointerColor,\n },\n ref\n ) => {\n const tooltipContainerProps =\n placement === \"bottom\"\n ? {\n top: \"100%\",\n }\n : {\n bottom: \"100%\",\n };\n\n const pointerCommonProps = {\n size: `${pointerSize}px`,\n color: pointerColor,\n sx: {\n my: \"auto\",\n ...pointerSx,\n },\n };\n\n return (\n <Flex\n flexDirection=\"column\"\n sx={{\n position: \"absolute\",\n left: \"50%\",\n transform: \"translateX(-50%)\",\n cursor: \"default\",\n alignItems: \"center\",\n opacity: state === \"entered\" ? 1 : 0,\n transition: `opacity ${animationDuration}ms`,\n zIndex: 1,\n ...tooltipContainerProps,\n ...tooltipSx,\n }}\n ref={ref}\n data-test=\"tooltip-content\"\n >\n {placement === \"bottom\" && (\n <>\n <Box height={`${tooltipOffset}px`} />\n <TriangularPointerIcon direction=\"top\" {...pointerCommonProps} />\n </>\n )}\n\n <ResponsiveTextV2\n fontSizeWeight={[14, \"regular\"]}\n sx={{\n width: tooltipWidth,\n lineHeight: \"16px\",\n bg: \"cl_white\",\n px: tooltipPx,\n py: tooltipPy,\n borderColor: \"cl_lightGrey\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n ...(placement === \"top\"\n ? {\n borderBottomWidth: \"2px\",\n borderBottomColor: pointerColor,\n borderRadius: \"3px 3px 0 0\",\n }\n : {\n borderTopWidth: \"2px\",\n borderTopColor: pointerColor,\n borderRadius: \"0 0 3px 3px\",\n }),\n }}\n >\n {tooltipText}\n </ResponsiveTextV2>\n\n {placement === \"top\" && (\n <>\n <TriangularPointerIcon direction=\"bottom\" {...pointerCommonProps} />\n <Box height={`${tooltipOffset}px`} />\n </>\n )}\n </Flex>\n );\n }\n);\n"],"names":["TooltipWithPointerVertical","React","pointerSx","tooltipPx","tooltipText","tooltipSx","tooltipPy","tooltipOffset","pointerSize","tooltipWidth","placement","state","containerSx","animationDuration","pointerColor","ref","tooltipContainerProps","pointerCommonProps","jsxs","Flex","Fragment","jsx","Box","TriangularPointerIcon","ResponsiveTextV2"],"mappings":";;;;;AAQO,MAAMA,IAA6BC,EAAM;AAAA,EAI9C,CACE;AAAA,IACE,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,cAAAC;AAAA,KAEFC,MACG;AACG,UAAAC,IACJN,MAAc,WACV;AAAA,MACE,KAAK;AAAA,IAAA,IAEP;AAAA,MACE,QAAQ;AAAA,IAAA,GAGVO,IAAqB;AAAA,MACzB,MAAM,GAAGT,CAAW;AAAA,MACpB,OAAOM;AAAA,MACP,IAAI;AAAA,QACF,IAAI;AAAA,QACJ,GAAGZ;AAAA,MACL;AAAA,IAAA;AAIA,WAAAgB,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,eAAc;AAAA,QACd,IAAI;AAAA,UACF,UAAU;AAAA,UACV,MAAM;AAAA,UACN,WAAW;AAAA,UACX,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,SAASR,MAAU,YAAY,IAAI;AAAA,UACnC,YAAY,WAAWE,CAAiB;AAAA,UACxC,QAAQ;AAAA,UACR,GAAGG;AAAA,UACH,GAAGX;AAAA,QACL;AAAA,QACA,KAAAU;AAAA,QACA,aAAU;AAAA,QAET,UAAA;AAAA,UAAAL,MAAc,YAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACC,GAAI,EAAA,QAAQ,GAAGf,CAAa,MAAM;AAAA,YAClCc,gBAAAA,EAAA,IAAAE,GAAA,EAAsB,WAAU,OAAO,GAAGN,EAAoB,CAAA;AAAA,UAAA,GACjE;AAAA,UAGFI,gBAAAA,EAAA;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,cAC9B,IAAI;AAAA,gBACF,OAAOf;AAAA,gBACP,YAAY;AAAA,gBACZ,IAAI;AAAA,gBACJ,IAAIN;AAAA,gBACJ,IAAIG;AAAA,gBACJ,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,GAAII,MAAc,QACd;AAAA,kBACE,mBAAmB;AAAA,kBACnB,mBAAmBI;AAAA,kBACnB,cAAc;AAAA,gBAAA,IAEhB;AAAA,kBACE,gBAAgB;AAAA,kBAChB,gBAAgBA;AAAA,kBAChB,cAAc;AAAA,gBAChB;AAAA,cACN;AAAA,cAEC,UAAAV;AAAA,YAAA;AAAA,UACH;AAAA,UAECM,MAAc,SAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACE,GAAsB,EAAA,WAAU,UAAU,GAAGN,EAAoB,CAAA;AAAA,YACjEI,gBAAAA,EAAA,IAAAC,GAAA,EAAI,QAAQ,GAAGf,CAAa,MAAM;AAAA,UAAA,GACrC;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;"}
@@ -1,93 +1,5 @@
1
- import { j as r } from "./sd-component-library197.js";
2
- import u from "react";
3
- import { Flex as j, Box as s } from "rebass";
4
- import { TriangularPointerIcon as x } from "./sd-component-library191.js";
5
- import { ResponsiveTextV2 as R } from "./sd-component-library150.js";
6
- const $ = u.forwardRef(
7
- ({
8
- pointerSx: n,
9
- tooltipSx: d,
10
- tooltipText: p,
11
- tooltipWidth: l,
12
- tooltipPy: a,
13
- tooltipPx: h,
14
- pointerSize: c,
15
- tooltipOffset: i,
16
- placement: t,
17
- containerSx: y,
18
- animationDuration: g,
19
- state: m,
20
- pointerColor: o
21
- }, f) => {
22
- const b = t === "right" ? {
23
- left: "100%"
24
- } : {
25
- right: "100%"
26
- }, e = {
27
- size: `${c}px`,
28
- color: o,
29
- sx: {
30
- my: "auto",
31
- ...n
32
- }
33
- };
34
- return /* @__PURE__ */ r.jsxs(
35
- j,
36
- {
37
- sx: {
38
- position: "absolute",
39
- top: "calc(50% - 14px)",
40
- cursor: "default",
41
- alignItems: "center",
42
- opacity: m === "entered" ? 1 : 0,
43
- transition: `opacity ${g}ms`,
44
- zIndex: 1,
45
- ...b,
46
- ...d
47
- },
48
- ref: f,
49
- "data-test": "tooltip-content",
50
- children: [
51
- t === "right" && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
52
- /* @__PURE__ */ r.jsx(s, { width: `${i}px` }),
53
- /* @__PURE__ */ r.jsx(x, { direction: "left", ...e })
54
- ] }),
55
- /* @__PURE__ */ r.jsx(
56
- R,
57
- {
58
- fontSizeWeight: [14, "regular"],
59
- sx: {
60
- width: l,
61
- lineHeight: "16px",
62
- bg: "cl_white",
63
- px: h,
64
- py: a,
65
- borderColor: "cl_lightGrey",
66
- borderWidth: "1px",
67
- borderStyle: "solid",
68
- ...t === "left" ? {
69
- borderRightWidth: "2px",
70
- borderRightColor: o,
71
- borderRadius: "3px 0 0 3px"
72
- } : {
73
- borderLeftWidth: "2px",
74
- borderLeftColor: o,
75
- borderRadius: "0 3px 3px 0"
76
- }
77
- },
78
- children: p
79
- }
80
- ),
81
- t === "left" && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
82
- /* @__PURE__ */ r.jsx(x, { direction: "right", ...e }),
83
- /* @__PURE__ */ r.jsx(s, { width: `${i}px` })
84
- ] })
85
- ]
86
- }
87
- );
88
- }
89
- );
1
+ var r = {};
90
2
  export {
91
- $ as TooltipWithPointerHorizontal
3
+ r as __exports
92
4
  };
93
5
  //# sourceMappingURL=sd-component-library275.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library275.js","sources":["../src/components/tooltips/tooltip-with-pointer/partials/tooltip-with-pointer-horizontal/tooltip-with-pointer-horizontal.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { TriangularPointerIcon } from \"../../../../icons\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { TooltipWithPointerPartialProps as Props } from \"../interfaces\";\n\nexport const TooltipWithPointerHorizontal = React.forwardRef<\n HTMLDivElement,\n Props\n>(\n (\n {\n pointerSx,\n tooltipSx,\n tooltipText,\n tooltipWidth,\n tooltipPy,\n tooltipPx,\n pointerSize,\n tooltipOffset,\n placement,\n containerSx,\n animationDuration,\n state,\n pointerColor,\n },\n ref\n ) => {\n const tooltipContainerProps =\n placement === \"right\"\n ? {\n left: \"100%\",\n }\n : {\n right: \"100%\",\n };\n\n const pointerCommonProps = {\n size: `${pointerSize}px`,\n color: pointerColor,\n sx: {\n my: \"auto\",\n ...pointerSx,\n },\n };\n\n return (\n <Flex\n sx={{\n position: \"absolute\",\n top: \"calc(50% - 14px)\",\n cursor: \"default\",\n alignItems: \"center\",\n opacity: state === \"entered\" ? 1 : 0,\n transition: `opacity ${animationDuration}ms`,\n zIndex: 1,\n ...tooltipContainerProps,\n ...tooltipSx,\n }}\n ref={ref}\n data-test=\"tooltip-content\"\n >\n {placement === \"right\" && (\n <>\n <Box width={`${tooltipOffset}px`} />\n <TriangularPointerIcon direction=\"left\" {...pointerCommonProps} />\n </>\n )}\n\n <ResponsiveTextV2\n fontSizeWeight={[14, \"regular\"]}\n sx={{\n width: tooltipWidth,\n lineHeight: \"16px\",\n bg: \"cl_white\",\n px: tooltipPx,\n py: tooltipPy,\n borderColor: \"cl_lightGrey\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n ...(placement === \"left\"\n ? {\n borderRightWidth: \"2px\",\n borderRightColor: pointerColor,\n borderRadius: \"3px 0 0 3px\",\n }\n : {\n borderLeftWidth: \"2px\",\n borderLeftColor: pointerColor,\n borderRadius: \"0 3px 3px 0\",\n }),\n }}\n >\n {tooltipText}\n </ResponsiveTextV2>\n\n {placement === \"left\" && (\n <>\n <TriangularPointerIcon direction=\"right\" {...pointerCommonProps} />\n <Box width={`${tooltipOffset}px`} />\n </>\n )}\n </Flex>\n );\n }\n);\n"],"names":["TooltipWithPointerHorizontal","React","pointerSx","tooltipSx","tooltipText","tooltipWidth","tooltipPy","tooltipPx","pointerSize","tooltipOffset","placement","containerSx","animationDuration","state","pointerColor","ref","tooltipContainerProps","pointerCommonProps","jsxs","Flex","Fragment","jsx","Box","TriangularPointerIcon","ResponsiveTextV2"],"mappings":";;;;;AAQO,MAAMA,IAA+BC,EAAM;AAAA,EAIhD,CACE;AAAA,IACE,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,eAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,OAAAC;AAAA,IACA,cAAAC;AAAA,KAEFC,MACG;AACG,UAAAC,IACJN,MAAc,UACV;AAAA,MACE,MAAM;AAAA,IAAA,IAER;AAAA,MACE,OAAO;AAAA,IAAA,GAGTO,IAAqB;AAAA,MACzB,MAAM,GAAGT,CAAW;AAAA,MACpB,OAAOM;AAAA,MACP,IAAI;AAAA,QACF,IAAI;AAAA,QACJ,GAAGZ;AAAA,MACL;AAAA,IAAA;AAIA,WAAAgB,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,IAAI;AAAA,UACF,UAAU;AAAA,UACV,KAAK;AAAA,UACL,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,SAASN,MAAU,YAAY,IAAI;AAAA,UACnC,YAAY,WAAWD,CAAiB;AAAA,UACxC,QAAQ;AAAA,UACR,GAAGI;AAAA,UACH,GAAGb;AAAA,QACL;AAAA,QACA,KAAAY;AAAA,QACA,aAAU;AAAA,QAET,UAAA;AAAA,UAAAL,MAAc,WAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACC,GAAI,EAAA,OAAO,GAAGb,CAAa,MAAM;AAAA,YACjCY,gBAAAA,EAAA,IAAAE,GAAA,EAAsB,WAAU,QAAQ,GAAGN,EAAoB,CAAA;AAAA,UAAA,GAClE;AAAA,UAGFI,gBAAAA,EAAA;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,cAC9B,IAAI;AAAA,gBACF,OAAOnB;AAAA,gBACP,YAAY;AAAA,gBACZ,IAAI;AAAA,gBACJ,IAAIE;AAAA,gBACJ,IAAID;AAAA,gBACJ,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,GAAII,MAAc,SACd;AAAA,kBACE,kBAAkB;AAAA,kBAClB,kBAAkBI;AAAA,kBAClB,cAAc;AAAA,gBAAA,IAEhB;AAAA,kBACE,iBAAiB;AAAA,kBACjB,iBAAiBA;AAAA,kBACjB,cAAc;AAAA,gBAChB;AAAA,cACN;AAAA,cAEC,UAAAV;AAAA,YAAA;AAAA,UACH;AAAA,UAECM,MAAc,UAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACE,GAAsB,EAAA,WAAU,SAAS,GAAGN,EAAoB,CAAA;AAAA,YAChEI,gBAAAA,EAAA,IAAAC,GAAA,EAAI,OAAO,GAAGb,CAAa,MAAM;AAAA,UAAA,GACpC;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;"}
1
+ {"version":3,"file":"sd-component-library275.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,95 +1,5 @@
1
- import { j as o } from "./sd-component-library197.js";
2
- import g from "react";
3
- import { Flex as j, Box as s } from "rebass";
4
- import { TriangularPointerIcon as n } from "./sd-component-library191.js";
5
- import { ResponsiveTextV2 as y } from "./sd-component-library150.js";
6
- const w = g.forwardRef(
7
- ({
8
- pointerSx: x,
9
- tooltipPx: p,
10
- tooltipText: d,
11
- tooltipSx: a,
12
- tooltipPy: l,
13
- tooltipOffset: e,
14
- pointerSize: m,
15
- tooltipWidth: c,
16
- placement: t,
17
- state: h,
18
- containerSx: R,
19
- animationDuration: b,
20
- pointerColor: r
21
- }, u) => {
22
- const f = t === "bottom" ? {
23
- top: "100%"
24
- } : {
25
- bottom: "100%"
26
- }, i = {
27
- size: `${m}px`,
28
- color: r,
29
- sx: {
30
- my: "auto",
31
- ...x
32
- }
33
- };
34
- return /* @__PURE__ */ o.jsxs(
35
- j,
36
- {
37
- flexDirection: "column",
38
- sx: {
39
- position: "absolute",
40
- left: "50%",
41
- transform: "translateX(-50%)",
42
- cursor: "default",
43
- alignItems: "center",
44
- opacity: h === "entered" ? 1 : 0,
45
- transition: `opacity ${b}ms`,
46
- zIndex: 1,
47
- ...f,
48
- ...a
49
- },
50
- ref: u,
51
- "data-test": "tooltip-content",
52
- children: [
53
- t === "bottom" && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
54
- /* @__PURE__ */ o.jsx(s, { height: `${e}px` }),
55
- /* @__PURE__ */ o.jsx(n, { direction: "top", ...i })
56
- ] }),
57
- /* @__PURE__ */ o.jsx(
58
- y,
59
- {
60
- fontSizeWeight: [14, "regular"],
61
- sx: {
62
- width: c,
63
- lineHeight: "16px",
64
- bg: "cl_white",
65
- px: p,
66
- py: l,
67
- borderColor: "cl_lightGrey",
68
- borderWidth: "1px",
69
- borderStyle: "solid",
70
- ...t === "top" ? {
71
- borderBottomWidth: "2px",
72
- borderBottomColor: r,
73
- borderRadius: "3px 3px 0 0"
74
- } : {
75
- borderTopWidth: "2px",
76
- borderTopColor: r,
77
- borderRadius: "0 0 3px 3px"
78
- }
79
- },
80
- children: d
81
- }
82
- ),
83
- t === "top" && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
84
- /* @__PURE__ */ o.jsx(n, { direction: "bottom", ...i }),
85
- /* @__PURE__ */ o.jsx(s, { height: `${e}px` })
86
- ] })
87
- ]
88
- }
89
- );
90
- }
91
- );
1
+ var e = {};
92
2
  export {
93
- w as TooltipWithPointerVertical
3
+ e as __exports
94
4
  };
95
5
  //# sourceMappingURL=sd-component-library276.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library276.js","sources":["../src/components/tooltips/tooltip-with-pointer/partials/tooltip-with-pointer-vertical/tooltip-with-pointer-vertical.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { Box, Flex } from \"rebass\";\n\nimport { TriangularPointerIcon } from \"../../../../icons\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { TooltipWithPointerPartialProps as Props } from \"../interfaces\";\n\nexport const TooltipWithPointerVertical = React.forwardRef<\n HTMLDivElement,\n Props\n>(\n (\n {\n pointerSx,\n tooltipPx,\n tooltipText,\n tooltipSx,\n tooltipPy,\n tooltipOffset,\n pointerSize,\n tooltipWidth,\n placement,\n state,\n containerSx,\n animationDuration,\n pointerColor,\n },\n ref\n ) => {\n const tooltipContainerProps =\n placement === \"bottom\"\n ? {\n top: \"100%\",\n }\n : {\n bottom: \"100%\",\n };\n\n const pointerCommonProps = {\n size: `${pointerSize}px`,\n color: pointerColor,\n sx: {\n my: \"auto\",\n ...pointerSx,\n },\n };\n\n return (\n <Flex\n flexDirection=\"column\"\n sx={{\n position: \"absolute\",\n left: \"50%\",\n transform: \"translateX(-50%)\",\n cursor: \"default\",\n alignItems: \"center\",\n opacity: state === \"entered\" ? 1 : 0,\n transition: `opacity ${animationDuration}ms`,\n zIndex: 1,\n ...tooltipContainerProps,\n ...tooltipSx,\n }}\n ref={ref}\n data-test=\"tooltip-content\"\n >\n {placement === \"bottom\" && (\n <>\n <Box height={`${tooltipOffset}px`} />\n <TriangularPointerIcon direction=\"top\" {...pointerCommonProps} />\n </>\n )}\n\n <ResponsiveTextV2\n fontSizeWeight={[14, \"regular\"]}\n sx={{\n width: tooltipWidth,\n lineHeight: \"16px\",\n bg: \"cl_white\",\n px: tooltipPx,\n py: tooltipPy,\n borderColor: \"cl_lightGrey\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n ...(placement === \"top\"\n ? {\n borderBottomWidth: \"2px\",\n borderBottomColor: pointerColor,\n borderRadius: \"3px 3px 0 0\",\n }\n : {\n borderTopWidth: \"2px\",\n borderTopColor: pointerColor,\n borderRadius: \"0 0 3px 3px\",\n }),\n }}\n >\n {tooltipText}\n </ResponsiveTextV2>\n\n {placement === \"top\" && (\n <>\n <TriangularPointerIcon direction=\"bottom\" {...pointerCommonProps} />\n <Box height={`${tooltipOffset}px`} />\n </>\n )}\n </Flex>\n );\n }\n);\n"],"names":["TooltipWithPointerVertical","React","pointerSx","tooltipPx","tooltipText","tooltipSx","tooltipPy","tooltipOffset","pointerSize","tooltipWidth","placement","state","containerSx","animationDuration","pointerColor","ref","tooltipContainerProps","pointerCommonProps","jsxs","Flex","Fragment","jsx","Box","TriangularPointerIcon","ResponsiveTextV2"],"mappings":";;;;;AAQO,MAAMA,IAA6BC,EAAM;AAAA,EAI9C,CACE;AAAA,IACE,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAAC;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,cAAAC;AAAA,KAEFC,MACG;AACG,UAAAC,IACJN,MAAc,WACV;AAAA,MACE,KAAK;AAAA,IAAA,IAEP;AAAA,MACE,QAAQ;AAAA,IAAA,GAGVO,IAAqB;AAAA,MACzB,MAAM,GAAGT,CAAW;AAAA,MACpB,OAAOM;AAAA,MACP,IAAI;AAAA,QACF,IAAI;AAAA,QACJ,GAAGZ;AAAA,MACL;AAAA,IAAA;AAIA,WAAAgB,gBAAAA,EAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,eAAc;AAAA,QACd,IAAI;AAAA,UACF,UAAU;AAAA,UACV,MAAM;AAAA,UACN,WAAW;AAAA,UACX,QAAQ;AAAA,UACR,YAAY;AAAA,UACZ,SAASR,MAAU,YAAY,IAAI;AAAA,UACnC,YAAY,WAAWE,CAAiB;AAAA,UACxC,QAAQ;AAAA,UACR,GAAGG;AAAA,UACH,GAAGX;AAAA,QACL;AAAA,QACA,KAAAU;AAAA,QACA,aAAU;AAAA,QAET,UAAA;AAAA,UAAAL,MAAc,YAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACC,GAAI,EAAA,QAAQ,GAAGf,CAAa,MAAM;AAAA,YAClCc,gBAAAA,EAAA,IAAAE,GAAA,EAAsB,WAAU,OAAO,GAAGN,EAAoB,CAAA;AAAA,UAAA,GACjE;AAAA,UAGFI,gBAAAA,EAAA;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,IAAI,SAAS;AAAA,cAC9B,IAAI;AAAA,gBACF,OAAOf;AAAA,gBACP,YAAY;AAAA,gBACZ,IAAI;AAAA,gBACJ,IAAIN;AAAA,gBACJ,IAAIG;AAAA,gBACJ,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,aAAa;AAAA,gBACb,GAAII,MAAc,QACd;AAAA,kBACE,mBAAmB;AAAA,kBACnB,mBAAmBI;AAAA,kBACnB,cAAc;AAAA,gBAAA,IAEhB;AAAA,kBACE,gBAAgB;AAAA,kBAChB,gBAAgBA;AAAA,kBAChB,cAAc;AAAA,gBAChB;AAAA,cACN;AAAA,cAEC,UAAAV;AAAA,YAAA;AAAA,UACH;AAAA,UAECM,MAAc,SAEXQ,gBAAAA,EAAAA,KAAAE,EAAA,UAAA,EAAA,UAAA;AAAA,YAAAC,gBAAAA,EAAA,IAACE,GAAsB,EAAA,WAAU,UAAU,GAAGN,EAAoB,CAAA;AAAA,YACjEI,gBAAAA,EAAA,IAAAC,GAAA,EAAI,QAAQ,GAAGf,CAAa,MAAM;AAAA,UAAA,GACrC;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF;"}
1
+ {"version":3,"file":"sd-component-library276.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -2,7 +2,7 @@ import { j as t } from "./sd-component-library197.js";
2
2
  import x from "react";
3
3
  import u from "./sd-component-library196.js";
4
4
  import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-library229.js";
5
- import { OutlineMeterRange as M } from "./sd-component-library257.js";
5
+ import { OutlineMeterRange as M } from "./sd-component-library233.js";
6
6
  import { LabelPointer as b } from "./sd-component-library322.js";
7
7
  const A = x.forwardRef(
8
8
  (e, r) => {
@@ -1,8 +1,28 @@
1
- const p = (c, r, n, t) => {
2
- const o = c - (r - 1) * n, s = t / r, e = (t + 1) / r, a = (360 - c) / 2 + n * t + o * s, S = a + o * (e - s);
3
- return { rangeArcStart: a, rangeArcEnd: S };
1
+ import { j as x } from "./sd-component-library197.js";
2
+ import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library91.js";
3
+ const j = (p) => {
4
+ const {
5
+ startX: $,
6
+ startY: e,
7
+ endX: a,
8
+ endY: d,
9
+ radius: n,
10
+ color: A,
11
+ width: t,
12
+ roundStart: l = !0,
13
+ roundEnd: I = !0,
14
+ startAlpha: o,
15
+ endAlpha: s
16
+ } = p, c = s - o, m = u($, r(o), t), X = i(e, r(o), t), Y = u(a, r(s), t), h = i(d, r(s), t);
17
+ return /* @__PURE__ */ x.jsx(
18
+ "path",
19
+ {
20
+ d: `M${$},${e} A${n},${n} 0 ${c > 180 ? "1" : "0"},1 ${a},${d} ${I ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${Y},${h} A${n - t},${n - t} 0 ${c > 180 ? "1" : "0"},0 ${m},${X} ${l ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${$},${e}`,
21
+ fill: A
22
+ }
23
+ );
4
24
  };
5
25
  export {
6
- p as getRangeProperties
26
+ j as BaseOutlineArc
7
27
  };
8
28
  //# sourceMappingURL=sd-component-library298.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library298.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/utils.ts"],"sourcesContent":["export const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n\n const start = idx / totalRanges;\n const end = (idx + 1) / totalRanges;\n\n const arcStart = (360 - arc) / 2; // deg\n\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n return { rangeArcStart, rangeArcEnd };\n};\n"],"names":["getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","arcForRanges","start","end","rangeArcStart","rangeArcEnd"],"mappings":"AAAO,MAAMA,IAAqB,CAChCC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeJ,KAAOC,IAAc,KAAKC,GAEzCG,IAAQF,IAAMF,GACdK,KAAOH,IAAM,KAAKF,GAIlBM,KAFY,MAAMP,KAAO,IAGlBE,IAAwBC,IAAMC,IAAeC,GAEpDG,IAAcD,IAAgBH,KAAgBE,IAAMD;AAEnD,SAAA,EAAE,eAAAE,GAAe,aAAAC;AAC1B;"}
1
+ {"version":3,"file":"sd-component-library298.js","sources":["../src/components/meters/outline-meter/partials/base-outline-arc/base-outline-arc.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { degToRad, getInnerX, getInnerY } from \"../../utils\";\nimport { BaseOutlineArcProps as Props } from \"./interfaces\";\n\nexport const BaseOutlineArc: React.FC<Props> = (props) => {\n const {\n startX,\n startY,\n endX,\n endY,\n radius,\n color,\n width,\n roundStart = true,\n roundEnd = true,\n startAlpha,\n endAlpha,\n } = props;\n\n const arc = endAlpha - startAlpha;\n\n const startInnerX = getInnerX(startX, degToRad(startAlpha), width);\n const startInnerY = getInnerY(startY, degToRad(startAlpha), width);\n\n const endInnerX = getInnerX(endX, degToRad(endAlpha), width);\n const endInnerY = getInnerY(endY, degToRad(endAlpha), width);\n\n return (\n <path\n d={`M${startX},${startY} A${radius},${radius} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },1 ${endX},${endY} ${\n roundEnd ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${endInnerX},${endInnerY} A${radius - width},${radius - width} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },0 ${startInnerX},${startInnerY} ${\n roundStart ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${startX},${startY}`}\n fill={color}\n />\n );\n};\n"],"names":["BaseOutlineArc","props","startX","startY","endX","endY","radius","color","width","roundStart","roundEnd","startAlpha","endAlpha","arc","startInnerX","getInnerX","degToRad","startInnerY","getInnerY","endInnerX","endInnerY","jsx"],"mappings":";;AAKa,MAAAA,IAAkC,CAACC,MAAU;AAClD,QAAA;AAAA,IACJ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,UAAAC,IAAW;AAAA,IACX,YAAAC;AAAA,IACA,UAAAC;AAAA,EACE,IAAAX,GAEEY,IAAMD,IAAWD,GAEjBG,IAAcC,EAAUb,GAAQc,EAASL,CAAU,GAAGH,CAAK,GAC3DS,IAAcC,EAAUf,GAAQa,EAASL,CAAU,GAAGH,CAAK,GAE3DW,IAAYJ,EAAUX,GAAMY,EAASJ,CAAQ,GAAGJ,CAAK,GACrDY,IAAYF,EAAUb,GAAMW,EAASJ,CAAQ,GAAGJ,CAAK;AAGzD,SAAAa,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAG,IAAInB,CAAM,IAAIC,CAAM,KAAKG,CAAM,IAAIA,CAAM,MAC1CO,IAAM,MAAM,MAAM,GACpB,MAAMT,CAAI,IAAIC,CAAI,IAChBK,IAAW,IAAIF,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACnD,GAAGW,CAAS,IAAIC,CAAS,KAAKd,IAASE,CAAK,IAAIF,IAASE,CAAK,MAC5DK,IAAM,MAAM,MAAM,GACpB,MAAMC,CAAW,IAAIG,CAAW,IAC9BR,IAAa,IAAID,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACrD,GAAGN,CAAM,IAAIC,CAAM;AAAA,MACnB,MAAMI;AAAA,IAAA;AAAA,EAAA;AAGZ;"}
@@ -1,28 +1,38 @@
1
- import { j as x } from "./sd-component-library197.js";
2
- import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library91.js";
3
- const j = (p) => {
1
+ import { j as t } from "./sd-component-library197.js";
2
+ const h = (n) => {
4
3
  const {
5
- startX: $,
6
- startY: e,
7
- endX: a,
8
- endY: d,
9
- radius: n,
10
- color: A,
11
- width: t,
12
- roundStart: l = !0,
13
- roundEnd: I = !0,
14
- startAlpha: o,
15
- endAlpha: s
16
- } = p, c = s - o, m = u($, r(o), t), X = i(e, r(o), t), Y = u(a, r(s), t), h = i(d, r(s), t);
17
- return /* @__PURE__ */ x.jsx(
18
- "path",
19
- {
20
- d: `M${$},${e} A${n},${n} 0 ${c > 180 ? "1" : "0"},1 ${a},${d} ${I ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${Y},${h} A${n - t},${n - t} 0 ${c > 180 ? "1" : "0"},0 ${m},${X} ${l ? `A${t / 2},${t / 2} 0 0,1 ` : "L"}${$},${e}`,
21
- fill: A
22
- }
23
- );
4
+ color: s,
5
+ innerCircleRadius: $,
6
+ innerCircleStrokeWidth: d,
7
+ dx: i,
8
+ dy: r,
9
+ radius: e,
10
+ tipX: l,
11
+ tipY: o,
12
+ needleWidth: c
13
+ } = n;
14
+ return /* @__PURE__ */ t.jsxs("g", { children: [
15
+ /* @__PURE__ */ t.jsx(
16
+ "path",
17
+ {
18
+ d: `M${l - i},${o - r} A${c / 2},${c / 2} 0 0,0 ${l + i},${o + r} L${e + i},${e + r} L${e - i},${e - r} Z`,
19
+ fill: s
20
+ }
21
+ ),
22
+ /* @__PURE__ */ t.jsx(
23
+ "circle",
24
+ {
25
+ cx: e,
26
+ cy: e,
27
+ r: $ + d,
28
+ strokeWidth: d,
29
+ stroke: s,
30
+ fill: "white"
31
+ }
32
+ )
33
+ ] });
24
34
  };
25
35
  export {
26
- j as BaseOutlineArc
36
+ h as BaseNeedle
27
37
  };
28
38
  //# sourceMappingURL=sd-component-library299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library299.js","sources":["../src/components/meters/outline-meter/partials/base-outline-arc/base-outline-arc.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { degToRad, getInnerX, getInnerY } from \"../../utils\";\nimport { BaseOutlineArcProps as Props } from \"./interfaces\";\n\nexport const BaseOutlineArc: React.FC<Props> = (props) => {\n const {\n startX,\n startY,\n endX,\n endY,\n radius,\n color,\n width,\n roundStart = true,\n roundEnd = true,\n startAlpha,\n endAlpha,\n } = props;\n\n const arc = endAlpha - startAlpha;\n\n const startInnerX = getInnerX(startX, degToRad(startAlpha), width);\n const startInnerY = getInnerY(startY, degToRad(startAlpha), width);\n\n const endInnerX = getInnerX(endX, degToRad(endAlpha), width);\n const endInnerY = getInnerY(endY, degToRad(endAlpha), width);\n\n return (\n <path\n d={`M${startX},${startY} A${radius},${radius} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },1 ${endX},${endY} ${\n roundEnd ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${endInnerX},${endInnerY} A${radius - width},${radius - width} 0 ${\n arc > 180 ? \"1\" : \"0\"\n },0 ${startInnerX},${startInnerY} ${\n roundStart ? `A${width / 2},${width / 2} 0 0,1 ` : \"L\"\n }${startX},${startY}`}\n fill={color}\n />\n );\n};\n"],"names":["BaseOutlineArc","props","startX","startY","endX","endY","radius","color","width","roundStart","roundEnd","startAlpha","endAlpha","arc","startInnerX","getInnerX","degToRad","startInnerY","getInnerY","endInnerX","endInnerY","jsx"],"mappings":";;AAKa,MAAAA,IAAkC,CAACC,MAAU;AAClD,QAAA;AAAA,IACJ,QAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC,IAAa;AAAA,IACb,UAAAC,IAAW;AAAA,IACX,YAAAC;AAAA,IACA,UAAAC;AAAA,EACE,IAAAX,GAEEY,IAAMD,IAAWD,GAEjBG,IAAcC,EAAUb,GAAQc,EAASL,CAAU,GAAGH,CAAK,GAC3DS,IAAcC,EAAUf,GAAQa,EAASL,CAAU,GAAGH,CAAK,GAE3DW,IAAYJ,EAAUX,GAAMY,EAASJ,CAAQ,GAAGJ,CAAK,GACrDY,IAAYF,EAAUb,GAAMW,EAASJ,CAAQ,GAAGJ,CAAK;AAGzD,SAAAa,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,GAAG,IAAInB,CAAM,IAAIC,CAAM,KAAKG,CAAM,IAAIA,CAAM,MAC1CO,IAAM,MAAM,MAAM,GACpB,MAAMT,CAAI,IAAIC,CAAI,IAChBK,IAAW,IAAIF,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACnD,GAAGW,CAAS,IAAIC,CAAS,KAAKd,IAASE,CAAK,IAAIF,IAASE,CAAK,MAC5DK,IAAM,MAAM,MAAM,GACpB,MAAMC,CAAW,IAAIG,CAAW,IAC9BR,IAAa,IAAID,IAAQ,CAAC,IAAIA,IAAQ,CAAC,YAAY,GACrD,GAAGN,CAAM,IAAIC,CAAM;AAAA,MACnB,MAAMI;AAAA,IAAA;AAAA,EAAA;AAGZ;"}
1
+ {"version":3,"file":"sd-component-library299.js","sources":["../src/components/meters/outline-meter/partials/base-needle/base-needle.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { BaseNeedleProps as Props } from \"./interfaces\";\n\nexport const BaseNeedle: React.FC<Props> = (props) => {\n const {\n color,\n innerCircleRadius,\n innerCircleStrokeWidth,\n dx,\n dy,\n radius,\n tipX,\n tipY,\n needleWidth,\n } = props;\n\n return (\n <g>\n <path\n d={`M${tipX - dx},${tipY - dy} A${needleWidth / 2},${\n needleWidth / 2\n } 0 0,0 ${tipX + dx},${tipY + dy} L${radius + dx},${radius + dy} L${\n radius - dx\n },${radius - dy} Z`}\n fill={color}\n />\n <circle\n cx={radius}\n cy={radius}\n r={innerCircleRadius + innerCircleStrokeWidth}\n strokeWidth={innerCircleStrokeWidth}\n stroke={color}\n fill=\"white\"\n />\n </g>\n );\n};\n"],"names":["BaseNeedle","props","color","innerCircleRadius","innerCircleStrokeWidth","dx","dy","radius","tipX","tipY","needleWidth","jsx"],"mappings":";AAIa,MAAAA,IAA8B,CAACC,MAAU;AAC9C,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,aAAAC;AAAA,EACE,IAAAT;AAEJ,gCACG,KACC,EAAA,UAAA;AAAA,IAAAU,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAG,IAAIH,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKI,IAAc,CAAC,IAC/CA,IAAc,CAChB,UAAUF,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKC,IAASF,CAAE,IAAIE,IAASD,CAAE,KAC7DC,IAASF,CACX,IAAIE,IAASD,CAAE;AAAA,QACf,MAAMJ;AAAA,MAAA;AAAA,IACR;AAAA,IACAS,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAIJ;AAAA,QACJ,IAAIA;AAAA,QACJ,GAAGJ,IAAoBC;AAAA,QACvB,aAAaA;AAAA,QACb,QAAQF;AAAA,QACR,MAAK;AAAA,MAAA;AAAA,IACP;AAAA,EACF,EAAA,CAAA;AAEJ;"}
@@ -1,7 +1,12 @@
1
- import { j as e } from "./sd-component-library197.js";
2
- import { LabelPointer as t } from "./sd-component-library322.js";
3
- const s = (r) => /* @__PURE__ */ e.jsx(t, { ...r });
1
+ function a(r, o) {
2
+ if (r == null)
3
+ return {};
4
+ var n = {}, i = Object.keys(r), e, t;
5
+ for (t = 0; t < i.length; t++)
6
+ e = i[t], !(o.indexOf(e) >= 0) && (n[e] = r[e]);
7
+ return n;
8
+ }
4
9
  export {
5
- s as DiscreteMeterLabelPointer
10
+ a as default
6
11
  };
7
12
  //# sourceMappingURL=sd-component-library300.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library300.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-label-pointer/discrete-meter-label-pointer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { LabelPointer } from \"../../../common-outline-meter-partials\";\nimport { DiscreteMeterLabelPointerProps as Props } from \"./interfaces\";\n\nexport const DiscreteMeterLabelPointer: React.FC<Props> = (props) => {\n return <LabelPointer {...props} />;\n};\n"],"names":["DiscreteMeterLabelPointer","props","jsx","LabelPointer"],"mappings":";;AAKa,MAAAA,IAA6C,CAACC,MAClDC,gBAAAA,EAAA,IAACC,GAAc,EAAA,GAAGF,EAAO,CAAA;"}
1
+ {"version":3,"file":"sd-component-library300.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","key","i"],"mappings":"AAAe,SAASA,EAA8BC,GAAQC,GAAU;AACtE,MAAID,KAAU;AAAM,WAAO;AAC3B,MAAIE,IAAS,CAAA,GACTC,IAAa,OAAO,KAAKH,CAAM,GAC/BI,GAAKC;AACT,OAAKA,IAAI,GAAGA,IAAIF,EAAW,QAAQE;AAEjC,IADAD,IAAMD,EAAWE,CAAC,GACd,EAAAJ,EAAS,QAAQG,CAAG,KAAK,OAC7BF,EAAOE,CAAG,IAAIJ,EAAOI,CAAG;AAE1B,SAAOF;AACT;","x_google_ignoreList":[0]}
@@ -1,38 +1,8 @@
1
- import { j as t } from "./sd-component-library197.js";
2
- const h = (n) => {
3
- const {
4
- color: s,
5
- innerCircleRadius: $,
6
- innerCircleStrokeWidth: d,
7
- dx: i,
8
- dy: r,
9
- radius: e,
10
- tipX: l,
11
- tipY: o,
12
- needleWidth: c
13
- } = n;
14
- return /* @__PURE__ */ t.jsxs("g", { children: [
15
- /* @__PURE__ */ t.jsx(
16
- "path",
17
- {
18
- d: `M${l - i},${o - r} A${c / 2},${c / 2} 0 0,0 ${l + i},${o + r} L${e + i},${e + r} L${e - i},${e - r} Z`,
19
- fill: s
20
- }
21
- ),
22
- /* @__PURE__ */ t.jsx(
23
- "circle",
24
- {
25
- cx: e,
26
- cy: e,
27
- r: $ + d,
28
- strokeWidth: d,
29
- stroke: s,
30
- fill: "white"
31
- }
32
- )
33
- ] });
34
- };
1
+ import e from "./sd-component-library317.js";
2
+ function p(t, o) {
3
+ t.prototype = Object.create(o.prototype), t.prototype.constructor = t, e(t, o);
4
+ }
35
5
  export {
36
- h as BaseNeedle
6
+ p as default
37
7
  };
38
8
  //# sourceMappingURL=sd-component-library301.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library301.js","sources":["../src/components/meters/outline-meter/partials/base-needle/base-needle.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { BaseNeedleProps as Props } from \"./interfaces\";\n\nexport const BaseNeedle: React.FC<Props> = (props) => {\n const {\n color,\n innerCircleRadius,\n innerCircleStrokeWidth,\n dx,\n dy,\n radius,\n tipX,\n tipY,\n needleWidth,\n } = props;\n\n return (\n <g>\n <path\n d={`M${tipX - dx},${tipY - dy} A${needleWidth / 2},${\n needleWidth / 2\n } 0 0,0 ${tipX + dx},${tipY + dy} L${radius + dx},${radius + dy} L${\n radius - dx\n },${radius - dy} Z`}\n fill={color}\n />\n <circle\n cx={radius}\n cy={radius}\n r={innerCircleRadius + innerCircleStrokeWidth}\n strokeWidth={innerCircleStrokeWidth}\n stroke={color}\n fill=\"white\"\n />\n </g>\n );\n};\n"],"names":["BaseNeedle","props","color","innerCircleRadius","innerCircleStrokeWidth","dx","dy","radius","tipX","tipY","needleWidth","jsx"],"mappings":";AAIa,MAAAA,IAA8B,CAACC,MAAU;AAC9C,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,wBAAAC;AAAA,IACA,IAAAC;AAAA,IACA,IAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,aAAAC;AAAA,EACE,IAAAT;AAEJ,gCACG,KACC,EAAA,UAAA;AAAA,IAAAU,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,GAAG,IAAIH,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKI,IAAc,CAAC,IAC/CA,IAAc,CAChB,UAAUF,IAAOH,CAAE,IAAII,IAAOH,CAAE,KAAKC,IAASF,CAAE,IAAIE,IAASD,CAAE,KAC7DC,IAASF,CACX,IAAIE,IAASD,CAAE;AAAA,QACf,MAAMJ;AAAA,MAAA;AAAA,IACR;AAAA,IACAS,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAIJ;AAAA,QACJ,IAAIA;AAAA,QACJ,GAAGJ,IAAoBC;AAAA,QACvB,aAAaA;AAAA,QACb,QAAQF;AAAA,QACR,MAAK;AAAA,MAAA;AAAA,IACP;AAAA,EACF,EAAA,CAAA;AAEJ;"}
1
+ {"version":3,"file":"sd-component-library301.js","sources":["../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}"],"names":["_inheritsLoose","subClass","superClass","setPrototypeOf"],"mappings":";AACe,SAASA,EAAeC,GAAUC,GAAY;AAC3D,EAAAD,EAAS,YAAY,OAAO,OAAOC,EAAW,SAAS,GACvDD,EAAS,UAAU,cAAcA,GACjCE,EAAeF,GAAUC,CAAU;AACrC;","x_google_ignoreList":[0]}
@@ -1,11 +1,6 @@
1
- function a(r, o) {
2
- if (r == null)
3
- return {};
4
- var n = {}, i = Object.keys(r), e, t;
5
- for (t = 0; t < i.length; t++)
6
- e = i[t], !(o.indexOf(e) >= 0) && (n[e] = r[e]);
7
- return n;
8
- }
1
+ const a = {
2
+ disabled: !1
3
+ };
9
4
  export {
10
5
  a as default
11
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library302.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["_objectWithoutPropertiesLoose","source","excluded","target","sourceKeys","key","i"],"mappings":"AAAe,SAASA,EAA8BC,GAAQC,GAAU;AACtE,MAAID,KAAU;AAAM,WAAO;AAC3B,MAAIE,IAAS,CAAA,GACTC,IAAa,OAAO,KAAKH,CAAM,GAC/BI,GAAKC;AACT,OAAKA,IAAI,GAAGA,IAAIF,EAAW,QAAQE;AAEjC,IADAD,IAAMD,EAAWE,CAAC,GACd,EAAAJ,EAAS,QAAQG,CAAG,KAAK,OAC7BF,EAAOE,CAAG,IAAIJ,EAAOI,CAAG;AAE1B,SAAOF;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library302.js","sources":["../node_modules/react-transition-group/esm/config.js"],"sourcesContent":["export default {\n disabled: false\n};"],"names":["config"],"mappings":"AAAA,MAAeA,IAAA;AAAA,EACb,UAAU;AACZ;","x_google_ignoreList":[0]}
@@ -1,8 +1,22 @@
1
- import e from "./sd-component-library317.js";
2
- function p(t, o) {
3
- t.prototype = Object.create(o.prototype), t.prototype.constructor = t, e(t, o);
4
- }
1
+ import e from "./sd-component-library286.js";
2
+ var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
+ enter: e.number,
4
+ exit: e.number,
5
+ appear: e.number
6
+ }).isRequired]) : null;
7
+ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
8
+ enter: e.string,
9
+ exit: e.string,
10
+ active: e.string
11
+ }), e.shape({
12
+ enter: e.string,
13
+ enterDone: e.string,
14
+ enterActive: e.string,
15
+ exit: e.string,
16
+ exitDone: e.string,
17
+ exitActive: e.string
18
+ })]);
5
19
  export {
6
- p as default
20
+ n as timeoutsShape
7
21
  };
8
22
  //# sourceMappingURL=sd-component-library303.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library303.js","sources":["../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}"],"names":["_inheritsLoose","subClass","superClass","setPrototypeOf"],"mappings":";AACe,SAASA,EAAeC,GAAUC,GAAY;AAC3D,EAAAD,EAAS,YAAY,OAAO,OAAOC,EAAW,SAAS,GACvDD,EAAS,UAAU,cAAcA,GACjCE,EAAeF,GAAUC,CAAU;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library303.js","sources":["../node_modules/react-transition-group/esm/utils/PropTypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;"],"names":["timeoutsShape","PropTypes"],"mappings":";AACU,IAACA,IAAgB,QAAQ,IAAI,aAAa,eAAeC,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EACxH,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,EAAE,UAAU,CAAC,IAAI;AACW,QAAQ,IAAI,aAAa,gBAAeA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EAC1H,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,GAAGA,EAAU,MAAM;AAAA,EAClB,OAAOA,EAAU;AAAA,EACjB,WAAWA,EAAU;AAAA,EACrB,aAAaA,EAAU;AAAA,EACvB,MAAMA,EAAU;AAAA,EAChB,UAAUA,EAAU;AAAA,EACpB,YAAYA,EAAU;AACxB,CAAC,CAAC,CAAC;","x_google_ignoreList":[0]}
@@ -1,7 +1,6 @@
1
- const a = {
2
- disabled: !1
3
- };
1
+ import t from "react";
2
+ const o = t.createContext(null);
4
3
  export {
5
- a as default
4
+ o as default
6
5
  };
7
6
  //# sourceMappingURL=sd-component-library304.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library304.js","sources":["../node_modules/react-transition-group/esm/config.js"],"sourcesContent":["export default {\n disabled: false\n};"],"names":["config"],"mappings":"AAAA,MAAeA,IAAA;AAAA,EACb,UAAU;AACZ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library304.js","sources":["../node_modules/react-transition-group/esm/TransitionGroupContext.js"],"sourcesContent":["import React from 'react';\nexport default React.createContext(null);"],"names":["TransitionGroupContext","React"],"mappings":";AACA,MAAAA,IAAeC,EAAM,cAAc,IAAI;","x_google_ignoreList":[0]}
@@ -1,22 +1,8 @@
1
- import e from "./sd-component-library286.js";
2
- var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
- enter: e.number,
4
- exit: e.number,
5
- appear: e.number
6
- }).isRequired]) : null;
7
- process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
8
- enter: e.string,
9
- exit: e.string,
10
- active: e.string
11
- }), e.shape({
12
- enter: e.string,
13
- enterDone: e.string,
14
- enterActive: e.string,
15
- exit: e.string,
16
- exitDone: e.string,
17
- exitActive: e.string
18
- })]);
1
+ const p = (c, r, n, t) => {
2
+ const o = c - (r - 1) * n, s = t / r, e = (t + 1) / r, a = (360 - c) / 2 + n * t + o * s, S = a + o * (e - s);
3
+ return { rangeArcStart: a, rangeArcEnd: S };
4
+ };
19
5
  export {
20
- n as timeoutsShape
6
+ p as getRangeProperties
21
7
  };
22
8
  //# sourceMappingURL=sd-component-library305.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library305.js","sources":["../node_modules/react-transition-group/esm/utils/PropTypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;"],"names":["timeoutsShape","PropTypes"],"mappings":";AACU,IAACA,IAAgB,QAAQ,IAAI,aAAa,eAAeC,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EACxH,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,EAAE,UAAU,CAAC,IAAI;AACW,QAAQ,IAAI,aAAa,gBAAeA,EAAU,UAAU,CAACA,EAAU,QAAQA,EAAU,MAAM;AAAA,EAC1H,OAAOA,EAAU;AAAA,EACjB,MAAMA,EAAU;AAAA,EAChB,QAAQA,EAAU;AACpB,CAAC,GAAGA,EAAU,MAAM;AAAA,EAClB,OAAOA,EAAU;AAAA,EACjB,WAAWA,EAAU;AAAA,EACrB,aAAaA,EAAU;AAAA,EACvB,MAAMA,EAAU;AAAA,EAChB,UAAUA,EAAU;AAAA,EACpB,YAAYA,EAAU;AACxB,CAAC,CAAC,CAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library305.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/utils.ts"],"sourcesContent":["export const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n\n const start = idx / totalRanges;\n const end = (idx + 1) / totalRanges;\n\n const arcStart = (360 - arc) / 2; // deg\n\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n return { rangeArcStart, rangeArcEnd };\n};\n"],"names":["getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","arcForRanges","start","end","rangeArcStart","rangeArcEnd"],"mappings":"AAAO,MAAMA,IAAqB,CAChCC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeJ,KAAOC,IAAc,KAAKC,GAEzCG,IAAQF,IAAMF,GACdK,KAAOH,IAAM,KAAKF,GAIlBM,KAFY,MAAMP,KAAO,IAGlBE,IAAwBC,IAAMC,IAAeC,GAEpDG,IAAcD,IAAgBH,KAAgBE,IAAMD;AAEnD,SAAA,EAAE,eAAAE,GAAe,aAAAC;AAC1B;"}
@@ -1,6 +1,7 @@
1
- import t from "react";
2
- const o = t.createContext(null);
1
+ import { j as e } from "./sd-component-library197.js";
2
+ import { LabelPointer as t } from "./sd-component-library322.js";
3
+ const s = (r) => /* @__PURE__ */ e.jsx(t, { ...r });
3
4
  export {
4
- o as default
5
+ s as DiscreteMeterLabelPointer
5
6
  };
6
7
  //# sourceMappingURL=sd-component-library306.js.map