@selfdecode/sd-component-library 4.0.78 → 4.0.80

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 (396) hide show
  1. package/README.md +17 -15
  2. package/lib/components/accordions/base-accordion/base-accordian.stories.d.ts +7 -0
  3. package/lib/components/accordions/sublist-accordion/sublist-accordian.stories.d.ts +8 -0
  4. package/lib/components/badges/primary-badge/primary-badge.stories.d.ts +6 -0
  5. package/lib/components/badges/secondary-badge/secondary-badge.stories.d.ts +6 -0
  6. package/lib/components/boolean-feedback/thumbs-feedback/thumbs-feedback.stories.d.ts +7 -0
  7. package/lib/components/boxes/outside-click-box/outside-click-box.stories.d.ts +7 -0
  8. package/lib/components/breadcrumbs/primary-breadcrumb/primary-breadcrumb.stories.d.ts +6 -0
  9. package/lib/components/breadcrumbs/secondary-breadcrumb/secondary-breadcrumb.stories.d.ts +6 -0
  10. package/lib/components/buttons/cta/primary-blue-button/primary-blue-button.stories.d.ts +6 -0
  11. package/lib/components/buttons/cta/primary-orange-button/primary-orange-button.stories.d.ts +7 -0
  12. package/lib/components/buttons/cta/secondary-blue-button/secondary-blue-button.stories.d.ts +9 -0
  13. package/lib/components/buttons/cta/secondary-orange-button/secondary-orange-button.stories.d.ts +6 -0
  14. package/lib/components/buttons/cta/text-cta-button/text-cta-button.stories.d.ts +6 -0
  15. package/lib/components/buttons/logos/powered-by-grey-logo/powered-by-grey-logo.stories.d.ts +6 -0
  16. package/lib/components/buttons/logos/powered-by-white-logo/powered-by-grey-logo.stories.d.ts +6 -0
  17. package/lib/components/buttons/logos/sd-white-logo/sd-white-logo.stories.d.ts +6 -0
  18. package/lib/components/buttons/partials/circle-button/circle-button.stories.d.ts +6 -0
  19. package/lib/components/buttons/partials/icon-button/icon-button.stories.d.ts +9 -0
  20. package/lib/components/buttons/partials/square-button/square-button.stories.d.ts +6 -0
  21. package/lib/components/cards/round-card/round-card.stories.d.ts +6 -0
  22. package/lib/components/checkboxes/checkbox/checkbox.stories.d.ts +9 -0
  23. package/lib/components/checkboxes/checkbox-v2/checkbox.stories.d.ts +10 -0
  24. package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +1 -0
  25. package/lib/components/checkboxes/partial-checkbox/partial-checkbox.stories.d.ts +9 -0
  26. package/lib/components/checkboxes/partial-checkbox-v2/partial-checkbox-v2.stories.d.ts +10 -0
  27. package/lib/components/containers/layout-independend-max-width-container/layout-independend-max-width-container.stories.d.ts +6 -0
  28. package/lib/components/containers/section-container/section-container.stories.d.ts +6 -0
  29. package/lib/components/custom-scrollbar-box/custom-scrollbar-box.stories.d.ts +7 -0
  30. package/lib/components/dividers/horizontal-divider/horizontal-divider.stories.d.ts +6 -0
  31. package/lib/components/dividers/vertical-divider/vertical-divider.stories.d.ts +6 -0
  32. package/lib/components/feature-explanation/feature-explanation.stories.d.ts +6 -0
  33. package/lib/components/feedback/multiple-options-feedback/multiple-options-feedback.stories.d.ts +7 -0
  34. package/lib/components/feedback/yes-no-feedback-block/yes-no-feedback-block.stories.d.ts +7 -0
  35. package/lib/components/icons/bordered-plain-warning-circle-icon/bordered-plain-warning-circle-icon.stories.d.ts +8 -0
  36. package/lib/components/icons/round-bordered-star/round-bordered-star.stories.d.ts +9 -0
  37. package/lib/components/icons/triangular-pointer-icon/triangular-pointer-icon.stories.d.ts +6 -0
  38. package/lib/components/inputs/autocomplete-input/autocomplete-input.stories.d.ts +7 -0
  39. package/lib/components/inputs/autocomplete-input/interfaces.d.ts +1 -1
  40. package/lib/components/inputs/client-portal-input/client-portal-input.stories.d.ts +8 -0
  41. package/lib/components/inputs/date-inputs/outlined-date-input/outlined-date-input.stories.d.ts +7 -0
  42. package/lib/components/inputs/date-inputs/outlined-date-range-input/outlined-date-range-input.stories.d.ts +8 -0
  43. package/lib/components/inputs/date-inputs/primary-date-input/primary-date-input.stories.d.ts +9 -0
  44. package/lib/components/inputs/date-inputs/primary-date-range-input/primary-date-range-input.stories.d.ts +7 -0
  45. package/lib/components/inputs/decody-question-input/decody-question-input.stories.d.ts +6 -0
  46. package/lib/components/inputs/input/interfaces.d.ts +1 -14
  47. package/lib/components/inputs/multi-row-secondary-text-input/multi-row-secondary-text-input.stories.d.ts +7 -0
  48. package/lib/components/inputs/primary-number-input/primary-number-input.stories.d.ts +6 -0
  49. package/lib/components/inputs/primary-text-input/interfaces.d.ts +1 -1
  50. package/lib/components/inputs/primary-text-input/primary-number-input.stories.d.ts +7 -0
  51. package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.stories.d.ts +7 -0
  52. package/lib/components/inputs/search-input/search-input.stories.d.ts +6 -0
  53. package/lib/components/inputs/search-input-v2/search-input-v2.stories.d.ts +6 -0
  54. package/lib/components/inputs/secondary-number-input/secondary-number-input.stories.d.ts +10 -0
  55. package/lib/components/inputs/secondary-text-input/interfaces.d.ts +1 -1
  56. package/lib/components/inputs/secondary-text-input/secondary-text-input.stories.d.ts +8 -0
  57. package/lib/components/inputs/text-input/interfaces.d.ts +1 -6
  58. package/lib/components/links/primary-link/primary-link.stories.d.ts +7 -0
  59. package/lib/components/lists/primary-list/primary-list.stories.d.ts +6 -0
  60. package/lib/components/menus/actions-menu/actions-menu.stories.d.ts +6 -0
  61. package/lib/components/meters/bars-meter/bars-meter.stories.d.ts +8 -0
  62. package/lib/components/meters/compact-donut-gauge/compact-donut-gauge.stories.d.ts +7 -0
  63. package/lib/components/meters/dashed-meter/dashed-meter.stories.d.ts +7 -0
  64. package/lib/components/meters/donut-diagram/donut-diagram.stories.d.ts +9 -0
  65. package/lib/components/meters/gradient-outline-meter/gradient-outline-meter.stories.d.ts +9 -0
  66. package/lib/components/meters/gradient-outline-meter/small-gradient-outline-meter.stories.d.ts +9 -0
  67. package/lib/components/meters/linear-discrete-gauge-meter/linear-discrete-gauge-meter.stories.d.ts +6 -0
  68. package/lib/components/meters/linear-numeric-gauge-meter/linear-numeric-gauge-meter.stories.d.ts +6 -0
  69. package/lib/components/meters/multi-option-discrete-outline-meter/multi-option-discrete-outline-meter.stories.d.ts +6 -0
  70. package/lib/components/meters/multi-option-discrete-outline-meter/small-multi-option-discrete-outline-meter.stories.d.ts +6 -0
  71. package/lib/components/meters/outline-meter/outline-meter.stories.d.ts +9 -0
  72. package/lib/components/meters/outline-meter/small-outline-meter.stories.d.ts +9 -0
  73. package/lib/components/meters/people-meter/people-meter.stories.d.ts +6 -0
  74. package/lib/components/meters/smiley-meter-v2/small-smiley-meter-v2.stories.d.ts +7 -0
  75. package/lib/components/meters/smiley-meter-v2/smiley-meter-v2.stories.d.ts +7 -0
  76. package/lib/components/modals/primary-modal/primary-modal.stories.d.ts +8 -0
  77. package/lib/components/page-selectors/page-selector/page-selector.stories.d.ts +6 -0
  78. package/lib/components/pagination-bars/pagination-bar/pagination-bar.stories.d.ts +6 -0
  79. package/lib/components/pagination-bars/pagination-bar-mobile/pagination-bar-mobile.stories.d.ts +7 -0
  80. package/lib/components/progress-bars/line-progress-bar/line-progress-bar.stories.d.ts +6 -0
  81. package/lib/components/progress-bars/rounded-progress-bar/rounded-progress-bar.stories.d.ts +6 -0
  82. package/lib/components/progress-bars/striped-line-progress-bar/striped-line-progress-bar.stories.d.ts +6 -0
  83. package/lib/components/progress-steps/progress-steps.stories.d.ts +7 -0
  84. package/lib/components/selectors/combined-secondary-custom-selector/combined-secondary-custom-selector.stories.d.ts +7 -0
  85. package/lib/components/selectors/combined-secondary-selector-v2/combined-secondary-selector-v2.stories.d.ts +7 -0
  86. package/lib/components/selectors/compact-primary-selector/compact-primary-selector.stories.d.ts +6 -0
  87. package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.stories.d.ts +7 -0
  88. package/lib/components/selectors/custom-selector/custom-selector.stories.d.ts +7 -0
  89. package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.stories.d.ts +8 -0
  90. package/lib/components/selectors/primary-selector/primary-selector.stories.d.ts +7 -0
  91. package/lib/components/selectors/primary-selector-v2/primary-selector-v2.stories.d.ts +7 -0
  92. package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.stories.d.ts +7 -0
  93. package/lib/components/selectors/secondary-selector/interfaces.d.ts +1 -1
  94. package/lib/components/selectors/secondary-selector/secondary-selector.stories.d.ts +9 -0
  95. package/lib/components/selectors/secondary-selector-v2/secondary-selector-v2.stories.d.ts +7 -0
  96. package/lib/components/selectors/selector/interfaces.d.ts +2 -1
  97. package/lib/components/selectors/selector/selector.stories.d.ts +6 -0
  98. package/lib/components/selectors/selector-v2/selector-v2.stories.d.ts +10 -0
  99. package/lib/components/selectors/tertiary-custom-selector/tertiary-custom-selector.stories.d.ts +7 -0
  100. package/lib/components/selectors/tertiary-selector/interfaces.d.ts +1 -1
  101. package/lib/components/selectors/tertiary-selector/tertiary-selector.stories.d.ts +8 -0
  102. package/lib/components/selectors/tertiary-selector-v2/tertiary-selector-v2.stories.d.ts +7 -0
  103. package/lib/components/selectors/updated-secondary-selector-v2/updated-secondary-selector-v2.stories.d.ts +7 -0
  104. package/lib/components/switches/carousel-switch/carousel-switch.stories.d.ts +7 -0
  105. package/lib/components/switches/text-switch/text-switch.stories.d.ts +7 -0
  106. package/lib/components/switches/toggle-switch/toggle-switch.stories.d.ts +6 -0
  107. package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
  108. package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
  109. package/lib/components/tabs/tab-bar/tab-bar.stories.d.ts +17 -0
  110. package/lib/components/tabs/tab-bar-v2/tab-bar-v2.stories.d.ts +9 -0
  111. package/lib/components/tabs/tabbed-view-v2/tab-bar-v2.stories.d.ts +7 -0
  112. package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
  113. package/lib/components/tabs/tabs-menu/tabs-menu.stories.d.ts +29 -0
  114. package/lib/components/texts/base-text-v2/base-text-v2.stories.d.ts +6 -0
  115. package/lib/components/texts/eighteen-bold/eighteen-bold.stories.d.ts +6 -0
  116. package/lib/components/texts/eighteen-regular/eighteen-regular.stories.d.ts +6 -0
  117. package/lib/components/texts/fifty-five-sb/fifty-five-sb.stories.d.ts +6 -0
  118. package/lib/components/texts/fourteen-regular/fourteen-regular.stories.d.ts +6 -0
  119. package/lib/components/texts/fourteen-sb/fourteen-sb.stories.d.ts +6 -0
  120. package/lib/components/texts/fourty-bold/fourty-bold.stories.d.ts +6 -0
  121. package/lib/components/texts/no-translate/no-translate.stories.d.ts +6 -0
  122. package/lib/components/texts/responsive-text/responsive-text.stories.d.ts +6 -0
  123. package/lib/components/texts/responsive-text-v2/responsive-text-v2.stories.d.ts +6 -0
  124. package/lib/components/texts/sixteen-regular/sixteen-regular.stories.d.ts +6 -0
  125. package/lib/components/texts/sixteen-sb/sixteen-sb.stories.d.ts +6 -0
  126. package/lib/components/texts/ten-sb/ten-sb.stories.d.ts +6 -0
  127. package/lib/components/texts/thirteen-bold/thirteen-bold.stories.d.ts +6 -0
  128. package/lib/components/texts/thirteen-regular/thirteen-regular.stories.d.ts +6 -0
  129. package/lib/components/texts/thirteen-sb/thirteen-sb.stories.d.ts +6 -0
  130. package/lib/components/texts/thirty-two-bold/thirty-two-bold.stories.d.ts +6 -0
  131. package/lib/components/texts/thirty-two-regular/thirty-two-regular.stories.d.ts +6 -0
  132. package/lib/components/texts/twelve-regular/twelve-regular.stories.d.ts +6 -0
  133. package/lib/components/texts/twelve-sb/twelve-regular.stories.d.ts +6 -0
  134. package/lib/components/texts/twenty-four-bold/twenty-four-bold.stories.d.ts +6 -0
  135. package/lib/components/texts/twenty-four-regular/twenty-four-regular.stories.d.ts +6 -0
  136. package/lib/components/tooltips/actions-tooltip/actions-tooltip.stories.d.ts +6 -0
  137. package/lib/components/tooltips/primary-info-tooltip/primary-info-tooltip.stories.d.ts +6 -0
  138. package/lib/components/tooltips/react-element-tooltip/react-element-tooltip.stories.d.ts +6 -0
  139. package/lib/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.stories.d.ts +8 -0
  140. package/lib/sd-component-library101.js +4 -4
  141. package/lib/sd-component-library106.js +1 -1
  142. package/lib/sd-component-library107.js +37 -38
  143. package/lib/sd-component-library107.js.map +1 -1
  144. package/lib/sd-component-library108.js +7 -8
  145. package/lib/sd-component-library108.js.map +1 -1
  146. package/lib/sd-component-library112.js +1 -1
  147. package/lib/sd-component-library113.js +1 -1
  148. package/lib/sd-component-library115.js +1 -1
  149. package/lib/sd-component-library116.js +1 -1
  150. package/lib/sd-component-library121.js +1 -1
  151. package/lib/sd-component-library122.js +1 -1
  152. package/lib/sd-component-library124.js +1 -1
  153. package/lib/sd-component-library127.js +3 -3
  154. package/lib/sd-component-library128.js +1 -1
  155. package/lib/sd-component-library130.js +2 -2
  156. package/lib/sd-component-library161.js +1 -1
  157. package/lib/sd-component-library162.js +1 -1
  158. package/lib/sd-component-library165.js +1 -1
  159. package/lib/sd-component-library166.js +4 -4
  160. package/lib/sd-component-library167.js +1 -1
  161. package/lib/sd-component-library190.js +3 -3
  162. package/lib/sd-component-library193.js +2 -60
  163. package/lib/sd-component-library193.js.map +1 -1
  164. package/lib/sd-component-library194.js +30 -3
  165. package/lib/sd-component-library194.js.map +1 -1
  166. package/lib/sd-component-library195.js +599 -2
  167. package/lib/sd-component-library195.js.map +1 -1
  168. package/lib/sd-component-library196.js +60 -30
  169. package/lib/sd-component-library196.js.map +1 -1
  170. package/lib/sd-component-library197.js +3 -599
  171. package/lib/sd-component-library197.js.map +1 -1
  172. package/lib/sd-component-library203.js +65 -18
  173. package/lib/sd-component-library203.js.map +1 -1
  174. package/lib/sd-component-library204.js +18 -64
  175. package/lib/sd-component-library204.js.map +1 -1
  176. package/lib/sd-component-library210.js +1 -1
  177. package/lib/sd-component-library211.js +128 -13
  178. package/lib/sd-component-library211.js.map +1 -1
  179. package/lib/sd-component-library212.js +13 -3
  180. package/lib/sd-component-library212.js.map +1 -1
  181. package/lib/sd-component-library213.js +14 -3
  182. package/lib/sd-component-library213.js.map +1 -1
  183. package/lib/sd-component-library214.js +3 -129
  184. package/lib/sd-component-library214.js.map +1 -1
  185. package/lib/sd-component-library215.js +3 -13
  186. package/lib/sd-component-library215.js.map +1 -1
  187. package/lib/sd-component-library216.js +3 -65
  188. package/lib/sd-component-library216.js.map +1 -1
  189. package/lib/sd-component-library217.js +52 -3
  190. package/lib/sd-component-library217.js.map +1 -1
  191. package/lib/sd-component-library218.js +65 -3
  192. package/lib/sd-component-library218.js.map +1 -1
  193. package/lib/sd-component-library219.js +3 -52
  194. package/lib/sd-component-library219.js.map +1 -1
  195. package/lib/sd-component-library222.js +26 -3
  196. package/lib/sd-component-library222.js.map +1 -1
  197. package/lib/sd-component-library223.js +3 -31
  198. package/lib/sd-component-library223.js.map +1 -1
  199. package/lib/sd-component-library224.js +31 -19
  200. package/lib/sd-component-library224.js.map +1 -1
  201. package/lib/sd-component-library225.js +19 -20
  202. package/lib/sd-component-library225.js.map +1 -1
  203. package/lib/sd-component-library226.js +20 -28
  204. package/lib/sd-component-library226.js.map +1 -1
  205. package/lib/sd-component-library227.js +27 -32
  206. package/lib/sd-component-library227.js.map +1 -1
  207. package/lib/sd-component-library228.js +33 -3
  208. package/lib/sd-component-library228.js.map +1 -1
  209. package/lib/sd-component-library229.js +3 -129
  210. package/lib/sd-component-library229.js.map +1 -1
  211. package/lib/sd-component-library230.js +129 -43
  212. package/lib/sd-component-library230.js.map +1 -1
  213. package/lib/sd-component-library231.js +41 -45
  214. package/lib/sd-component-library231.js.map +1 -1
  215. package/lib/sd-component-library232.js +46 -7
  216. package/lib/sd-component-library232.js.map +1 -1
  217. package/lib/sd-component-library233.js +8 -64
  218. package/lib/sd-component-library233.js.map +1 -1
  219. package/lib/sd-component-library234.js +62 -41
  220. package/lib/sd-component-library234.js.map +1 -1
  221. package/lib/sd-component-library235.js +43 -13
  222. package/lib/sd-component-library235.js.map +1 -1
  223. package/lib/sd-component-library236.js +13 -21
  224. package/lib/sd-component-library236.js.map +1 -1
  225. package/lib/sd-component-library237.js +2 -109
  226. package/lib/sd-component-library237.js.map +1 -1
  227. package/lib/sd-component-library238.js +2 -47
  228. package/lib/sd-component-library238.js.map +1 -1
  229. package/lib/sd-component-library239.js +21 -24
  230. package/lib/sd-component-library239.js.map +1 -1
  231. package/lib/sd-component-library240.js +103 -47
  232. package/lib/sd-component-library240.js.map +1 -1
  233. package/lib/sd-component-library241.js +45 -46
  234. package/lib/sd-component-library241.js.map +1 -1
  235. package/lib/sd-component-library242.js +23 -74
  236. package/lib/sd-component-library242.js.map +1 -1
  237. package/lib/sd-component-library243.js +52 -40
  238. package/lib/sd-component-library243.js.map +1 -1
  239. package/lib/sd-component-library244.js +47 -26
  240. package/lib/sd-component-library244.js.map +1 -1
  241. package/lib/sd-component-library245.js +72 -18
  242. package/lib/sd-component-library245.js.map +1 -1
  243. package/lib/sd-component-library246.js +41 -20
  244. package/lib/sd-component-library246.js.map +1 -1
  245. package/lib/sd-component-library247.js +27 -2
  246. package/lib/sd-component-library247.js.map +1 -1
  247. package/lib/sd-component-library248.js +19 -323
  248. package/lib/sd-component-library248.js.map +1 -1
  249. package/lib/sd-component-library249.js +20 -5
  250. package/lib/sd-component-library249.js.map +1 -1
  251. package/lib/sd-component-library250.js +2 -26
  252. package/lib/sd-component-library250.js.map +1 -1
  253. package/lib/sd-component-library251.js +323 -27
  254. package/lib/sd-component-library251.js.map +1 -1
  255. package/lib/sd-component-library252.js +5 -3
  256. package/lib/sd-component-library252.js.map +1 -1
  257. package/lib/sd-component-library253.js +25 -20
  258. package/lib/sd-component-library253.js.map +1 -1
  259. package/lib/sd-component-library254.js +1 -1
  260. package/lib/sd-component-library254.js.map +1 -1
  261. package/lib/sd-component-library255.js +17 -18
  262. package/lib/sd-component-library255.js.map +1 -1
  263. package/lib/sd-component-library256.js +3 -22
  264. package/lib/sd-component-library256.js.map +1 -1
  265. package/lib/sd-component-library257.js +25 -30
  266. package/lib/sd-component-library257.js.map +1 -1
  267. package/lib/sd-component-library258.js +21 -50
  268. package/lib/sd-component-library258.js.map +1 -1
  269. package/lib/sd-component-library259.js +30 -131
  270. package/lib/sd-component-library259.js.map +1 -1
  271. package/lib/sd-component-library260.js +39 -62
  272. package/lib/sd-component-library260.js.map +1 -1
  273. package/lib/sd-component-library261.js +117 -62
  274. package/lib/sd-component-library261.js.map +1 -1
  275. package/lib/sd-component-library262.js +74 -30
  276. package/lib/sd-component-library262.js.map +1 -1
  277. package/lib/sd-component-library263.js +70 -15
  278. package/lib/sd-component-library263.js.map +1 -1
  279. package/lib/sd-component-library264.js +25 -120
  280. package/lib/sd-component-library264.js.map +1 -1
  281. package/lib/sd-component-library265.js +16 -117
  282. package/lib/sd-component-library265.js.map +1 -1
  283. package/lib/sd-component-library266.js +125 -10
  284. package/lib/sd-component-library266.js.map +1 -1
  285. package/lib/sd-component-library267.js +111 -39
  286. package/lib/sd-component-library267.js.map +1 -1
  287. package/lib/sd-component-library268.js +10 -9
  288. package/lib/sd-component-library268.js.map +1 -1
  289. package/lib/sd-component-library269.js +48 -49
  290. package/lib/sd-component-library269.js.map +1 -1
  291. package/lib/sd-component-library270.js +8 -89
  292. package/lib/sd-component-library270.js.map +1 -1
  293. package/lib/sd-component-library271.js +48 -89
  294. package/lib/sd-component-library271.js.map +1 -1
  295. package/lib/sd-component-library272.js +89 -48
  296. package/lib/sd-component-library272.js.map +1 -1
  297. package/lib/sd-component-library273.js +92 -2
  298. package/lib/sd-component-library273.js.map +1 -1
  299. package/lib/sd-component-library274.js +49 -2
  300. package/lib/sd-component-library274.js.map +1 -1
  301. package/lib/sd-component-library278.js +2 -2
  302. package/lib/sd-component-library279.js +2 -2
  303. package/lib/sd-component-library289.js +3 -3
  304. package/lib/sd-component-library290.js +4 -4
  305. package/lib/sd-component-library291.js +1 -1
  306. package/lib/sd-component-library292.js +58 -2
  307. package/lib/sd-component-library292.js.map +1 -1
  308. package/lib/sd-component-library293.js +25 -76
  309. package/lib/sd-component-library293.js.map +1 -1
  310. package/lib/sd-component-library294.js +50 -92
  311. package/lib/sd-component-library294.js.map +1 -1
  312. package/lib/sd-component-library295.js +90 -50
  313. package/lib/sd-component-library295.js.map +1 -1
  314. package/lib/sd-component-library296.js +25 -9
  315. package/lib/sd-component-library296.js.map +1 -1
  316. package/lib/sd-component-library297.js +35 -5
  317. package/lib/sd-component-library297.js.map +1 -1
  318. package/lib/sd-component-library298.js +5 -53
  319. package/lib/sd-component-library298.js.map +1 -1
  320. package/lib/sd-component-library299.js +4 -2
  321. package/lib/sd-component-library299.js.map +1 -1
  322. package/lib/sd-component-library300.js +9 -2
  323. package/lib/sd-component-library300.js.map +1 -1
  324. package/lib/sd-component-library301.js +4 -8
  325. package/lib/sd-component-library301.js.map +1 -1
  326. package/lib/sd-component-library302.js +4 -5
  327. package/lib/sd-component-library302.js.map +1 -1
  328. package/lib/sd-component-library303.js +19 -4
  329. package/lib/sd-component-library303.js.map +1 -1
  330. package/lib/sd-component-library304.js +3 -19
  331. package/lib/sd-component-library304.js.map +1 -1
  332. package/lib/sd-component-library305.js +34 -3
  333. package/lib/sd-component-library305.js.map +1 -1
  334. package/lib/sd-component-library306.js +2 -6
  335. package/lib/sd-component-library306.js.map +1 -1
  336. package/lib/sd-component-library307.js +75 -56
  337. package/lib/sd-component-library307.js.map +1 -1
  338. package/lib/sd-component-library308.js +91 -24
  339. package/lib/sd-component-library308.js.map +1 -1
  340. package/lib/sd-component-library309.js +52 -50
  341. package/lib/sd-component-library309.js.map +1 -1
  342. package/lib/sd-component-library310.js +9 -93
  343. package/lib/sd-component-library310.js.map +1 -1
  344. package/lib/sd-component-library311.js +5 -35
  345. package/lib/sd-component-library311.js.map +1 -1
  346. package/lib/sd-component-library312.js +52 -24
  347. package/lib/sd-component-library312.js.map +1 -1
  348. package/lib/sd-component-library313.js +28 -4
  349. package/lib/sd-component-library313.js.map +1 -1
  350. package/lib/sd-component-library314.js +21 -4
  351. package/lib/sd-component-library314.js.map +1 -1
  352. package/lib/sd-component-library315.js +6 -34
  353. package/lib/sd-component-library315.js.map +1 -1
  354. package/lib/sd-component-library316.js +89 -28
  355. package/lib/sd-component-library316.js.map +1 -1
  356. package/lib/sd-component-library317.js +32 -21
  357. package/lib/sd-component-library317.js.map +1 -1
  358. package/lib/sd-component-library318.js +2 -90
  359. package/lib/sd-component-library318.js.map +1 -1
  360. package/lib/sd-component-library319.js +2 -32
  361. package/lib/sd-component-library319.js.map +1 -1
  362. package/lib/sd-component-library32.js +1 -1
  363. package/lib/sd-component-library33.js +1 -1
  364. package/lib/sd-component-library49.js +1 -1
  365. package/lib/sd-component-library5.js +1 -1
  366. package/lib/sd-component-library50.js +1 -1
  367. package/lib/sd-component-library55.js +23 -23
  368. package/lib/sd-component-library55.js.map +1 -1
  369. package/lib/sd-component-library6.js +1 -1
  370. package/lib/sd-component-library65.js +28 -28
  371. package/lib/sd-component-library65.js.map +1 -1
  372. package/lib/sd-component-library67.js +3 -3
  373. package/lib/sd-component-library68.js +15 -19
  374. package/lib/sd-component-library68.js.map +1 -1
  375. package/lib/sd-component-library69.js +2 -2
  376. package/lib/sd-component-library70.js +3 -3
  377. package/lib/sd-component-library73.js +16 -15
  378. package/lib/sd-component-library73.js.map +1 -1
  379. package/lib/sd-component-library74.js +1 -1
  380. package/lib/sd-component-library80.js +1 -1
  381. package/lib/sd-component-library81.js +6 -6
  382. package/lib/sd-component-library82.js +2 -2
  383. package/lib/sd-component-library83.js +1 -1
  384. package/lib/sd-component-library84.js +5 -5
  385. package/lib/sd-component-library85.js +1 -1
  386. package/lib/sd-component-library87.js +6 -6
  387. package/lib/sd-component-library88.js +1 -1
  388. package/lib/sd-component-library89.js +7 -7
  389. package/lib/sd-component-library90.js +1 -1
  390. package/lib/sd-component-library93.js +2 -2
  391. package/lib/sd-component-library94.js +3 -3
  392. package/lib/sd-component-library95.js +2 -2
  393. package/lib/sd-component-library96.js +3 -3
  394. package/lib/sd-component-library97.js +2 -2
  395. package/lib/sd-component-library99.js +4 -4
  396. package/package.json +20 -6
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library293.js","sources":["../node_modules/react-is/cjs/react-is.production.min.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n"],"names":["b","c","d","e","f","g","h","k","l","m","n","p","q","r","t","v","w","x","y","z","a","u","A","reactIs_production_min"],"mappings":";;;;;;;;;;;;;;AASa,MAAIA,IAAe,OAAO,UAApB,cAA4B,OAAO,KAAIC,IAAED,IAAE,OAAO,IAAI,eAAe,IAAE,OAAME,IAAEF,IAAE,OAAO,IAAI,cAAc,IAAE,OAAMG,IAAEH,IAAE,OAAO,IAAI,gBAAgB,IAAE,OAAMI,IAAEJ,IAAE,OAAO,IAAI,mBAAmB,IAAE,OAAMK,IAAEL,IAAE,OAAO,IAAI,gBAAgB,IAAE,OAAMM,IAAEN,IAAE,OAAO,IAAI,gBAAgB,IAAE,OAAMO,IAAEP,IAAE,OAAO,IAAI,eAAe,IAAE,OAAMQ,IAAER,IAAE,OAAO,IAAI,kBAAkB,IAAE,OAAMS,IAAET,IAAE,OAAO,IAAI,uBAAuB,IAAE,OAAMU,IAAEV,IAAE,OAAO,IAAI,mBAAmB,IAAE,OAAMW,IAAEX,IAAE,OAAO,IAAI,gBAAgB,IAAE,OAAMY,IAAEZ,IACpf,OAAO,IAAI,qBAAqB,IAAE,OAAMa,IAAEb,IAAE,OAAO,IAAI,YAAY,IAAE,OAAMc,IAAEd,IAAE,OAAO,IAAI,YAAY,IAAE,OAAMe,IAAEf,IAAE,OAAO,IAAI,aAAa,IAAE,OAAMgB,IAAEhB,IAAE,OAAO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AGG,EAAE,aAAWF,KAAGE,EAAE,aAAWL;AAAA,EAAE,GAAEQ,EAAc,SAACJ;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library293.js","sources":["../src/components/inputs/search-autocomplete-input/partials/search-autocomplete-row/search-autocomplete-row.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ResponsiveTextV2 } from \"../../../../texts/responsive-text-v2\";\nimport { SearchAutocompleteRowProps as Props } from \"./interfaces\";\n\nexport const SearchAutocompleteRow = <\n T extends { id: string } = { id: string }\n>(\n props: Props<T>\n) => {\n const { onClick, title, height } = props;\n\n return (\n <ResponsiveTextV2\n fontSizeWeight={[[16, \"regular\"]]}\n sx={{\n position: \"relative\",\n height: `${height}px`,\n px: \"15px\",\n display: \"flex\",\n justifyContent: \"flex-start\",\n alignItems: \"center\",\n opacity: 0.8,\n \":hover\": {\n opacity: 1,\n },\n }}\n onClick={onClick}\n >\n {title}\n </ResponsiveTextV2>\n );\n};\n"],"names":["SearchAutocompleteRow","props","onClick","title","height","jsx","ResponsiveTextV2"],"mappings":";;AAKa,MAAAA,IAAwB,CAGnCC,MACG;AACH,QAAM,EAAE,SAAAC,GAAS,OAAAC,GAAO,QAAAC,EAAA,IAAWH;AAGjC,SAAAI,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,gBAAgB,CAAC,CAAC,IAAI,SAAS,CAAC;AAAA,MAChC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,QAAQ,GAAGF,CAAM;AAAA,QACjB,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,UAAU;AAAA,UACR,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,SAAAF;AAAA,MAEC,UAAAC;AAAA,IAAA;AAAA,EAAA;AAGP;"}
@@ -1,96 +1,54 @@
1
- import { __exports as r } from "./sd-component-library300.js";
2
- /** @license React v16.13.1
3
- * react-is.development.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- var A;
11
- function re() {
12
- return A ? r : (A = 1, process.env.NODE_ENV !== "production" && function() {
13
- var o = typeof Symbol == "function" && Symbol.for, _ = o ? Symbol.for("react.element") : 60103, T = o ? Symbol.for("react.portal") : 60106, t = o ? Symbol.for("react.fragment") : 60107, n = o ? Symbol.for("react.strict_mode") : 60108, s = o ? Symbol.for("react.profiler") : 60114, c = o ? Symbol.for("react.provider") : 60109, i = o ? Symbol.for("react.context") : 60110, v = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, u = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, y = o ? Symbol.for("react.suspense_list") : 60120, d = o ? Symbol.for("react.memo") : 60115, l = o ? Symbol.for("react.lazy") : 60116, x = o ? Symbol.for("react.block") : 60121, M = o ? Symbol.for("react.fundamental") : 60117, b = o ? Symbol.for("react.responder") : 60118, p = o ? Symbol.for("react.scope") : 60119;
14
- function Y(e) {
15
- return typeof e == "string" || typeof e == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
16
- e === t || e === f || e === s || e === n || e === E || e === y || typeof e == "object" && e !== null && (e.$$typeof === l || e.$$typeof === d || e.$$typeof === c || e.$$typeof === i || e.$$typeof === u || e.$$typeof === M || e.$$typeof === b || e.$$typeof === p || e.$$typeof === x);
17
- }
18
- function a(e) {
19
- if (typeof e == "object" && e !== null) {
20
- var C = e.$$typeof;
21
- switch (C) {
22
- case _:
23
- var m = e.type;
24
- switch (m) {
25
- case v:
26
- case f:
27
- case t:
28
- case s:
29
- case n:
30
- case E:
31
- return m;
32
- default:
33
- var P = m && m.$$typeof;
34
- switch (P) {
35
- case i:
36
- case u:
37
- case l:
38
- case d:
39
- case c:
40
- return P;
41
- default:
42
- return C;
43
- }
44
- }
45
- case T:
46
- return C;
1
+ import { j as t } from "./sd-component-library190.js";
2
+ import x from "react";
3
+ import u from "./sd-component-library189.js";
4
+ import { getIsHorizontal as j, getRangeProperties as p } from "./sd-component-library226.js";
5
+ import { OutlineMeterRange as M } from "./sd-component-library230.js";
6
+ import { LabelPointer as b } from "./sd-component-library320.js";
7
+ const A = x.forwardRef(
8
+ (e, r) => {
9
+ const {
10
+ segmented: o,
11
+ diameter: n,
12
+ arc: a,
13
+ totalRanges: i,
14
+ distanceBetweenRanges: s,
15
+ start: m,
16
+ end: c,
17
+ idx: d,
18
+ hideLabels: l,
19
+ isMatchedRange: g
20
+ } = e, f = !o, R = n / 2, { rangeArcMiddle: h } = p(
21
+ a,
22
+ i,
23
+ s,
24
+ d,
25
+ m,
26
+ c
27
+ );
28
+ return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
29
+ /* @__PURE__ */ t.jsx(
30
+ M,
31
+ {
32
+ ...e,
33
+ hideLabels: !0,
34
+ connected: f,
35
+ ref: r
47
36
  }
48
- }
49
- }
50
- var $ = v, O = f, F = i, N = c, I = _, L = u, h = t, w = l, D = d, g = T, z = s, U = n, V = E, R = !1;
51
- function q(e) {
52
- return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), S(e) || a(e) === v;
53
- }
54
- function S(e) {
55
- return a(e) === f;
56
- }
57
- function W(e) {
58
- return a(e) === i;
59
- }
60
- function k(e) {
61
- return a(e) === c;
62
- }
63
- function B(e) {
64
- return typeof e == "object" && e !== null && e.$$typeof === _;
65
- }
66
- function G(e) {
67
- return a(e) === u;
68
- }
69
- function K(e) {
70
- return a(e) === t;
71
- }
72
- function X(e) {
73
- return a(e) === l;
74
- }
75
- function Z(e) {
76
- return a(e) === d;
77
- }
78
- function H(e) {
79
- return a(e) === T;
80
- }
81
- function J(e) {
82
- return a(e) === s;
83
- }
84
- function Q(e) {
85
- return a(e) === n;
86
- }
87
- function j(e) {
88
- return a(e) === E;
89
- }
90
- r.AsyncMode = $, r.ConcurrentMode = O, r.ContextConsumer = F, r.ContextProvider = N, r.Element = I, r.ForwardRef = L, r.Fragment = h, r.Lazy = w, r.Memo = D, r.Portal = g, r.Profiler = z, r.StrictMode = U, r.Suspense = V, r.isAsyncMode = q, r.isConcurrentMode = S, r.isContextConsumer = W, r.isContextProvider = k, r.isElement = B, r.isForwardRef = G, r.isFragment = K, r.isLazy = X, r.isMemo = Z, r.isPortal = H, r.isProfiler = J, r.isStrictMode = Q, r.isSuspense = j, r.isValidElementType = Y, r.typeOf = a;
91
- }(), r);
92
- }
37
+ ),
38
+ !l && !g && /* @__PURE__ */ t.jsx(
39
+ b,
40
+ {
41
+ ...e,
42
+ radius: R,
43
+ color: u.colors.cl_lightGrey,
44
+ alpha: h,
45
+ horizontal: j(e)
46
+ }
47
+ )
48
+ ] });
49
+ }
50
+ );
93
51
  export {
94
- re as __require
52
+ A as SmileyMeterRange
95
53
  };
96
54
  //# sourceMappingURL=sd-component-library294.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library294.js","sources":["../node_modules/react-is/cjs/react-is.development.js"],"sourcesContent":["/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n"],"names":["hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","type","typeOf","object","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development"],"mappings":";;;;;;;;;;;yBAaI,QAAQ,IAAI,aAAa,gBAC1B,WAAW;AAKd,QAAIA,IAAY,OAAO,UAAW,cAAc,OAAO,KACnDC,IAAqBD,IAAY,OAAO,IAAI,eAAe,IAAI,OAC/DE,IAAoBF,IAAY,OAAO,IAAI,cAAc,IAAI,OAC7DG,IAAsBH,IAAY,OAAO,IAAI,gBAAgB,IAAI,OACjEI,IAAyBJ,IAAY,OAAO,IAAI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ley-meter-v2/partials/smiley-meter-range/smiley-meter-range.tsx"],"sourcesContent":["import React from \"react\";\n\nimport theme from \"../../../../../core/theme\";\nimport { LabelPointer } from \"../../../common-outline-meter-partials\";\nimport { OutlineMeterRange } from \"../../../outline-meter/partials/outline-meter-range\";\nimport { getIsHorizontal, getRangeProperties } from \"../../utils\";\nimport { SmileyMeterRangeProps as Props } from \"./interfaces\";\n\nexport const SmileyMeterRange = React.forwardRef<SVGCircleElement, Props>(\n (props, pointRef) => {\n const {\n segmented,\n diameter,\n arc,\n totalRanges,\n distanceBetweenRanges,\n start,\n end,\n idx,\n hideLabels,\n isMatchedRange,\n } = props;\n\n const needConnection = !segmented;\n\n const radius = diameter / 2;\n\n const { rangeArcMiddle: alpha } = getRangeProperties(\n arc,\n totalRanges,\n distanceBetweenRanges,\n idx,\n start,\n end\n );\n\n return (\n <>\n <OutlineMeterRange\n {...props}\n hideLabels\n connected={needConnection}\n ref={pointRef}\n />\n\n {!hideLabels && !isMatchedRange && (\n <LabelPointer\n {...props}\n radius={radius}\n color={theme.colors.cl_lightGrey}\n alpha={alpha}\n horizontal={getIsHorizontal(props)}\n />\n )}\n </>\n );\n }\n);\n"],"names":["SmileyMeterRange","React","props","pointRef","segmented","diameter","arc","totalRanges","distanceBetweenRanges","start","end","idx","hideLabels","isMatchedRange","needConnection","radius","alpha","getRangeProperties","jsxs","Fragment","jsx","OutlineMeterRange","LabelPointer","theme","getIsHorizontal"],"mappings":";;;;;;AAQO,MAAMA,IAAmBC,EAAM;AAAA,EACpC,CAACC,GAAOC,MAAa;AACb,UAAA;AAAA,MACJ,WAAAC;AAAA,MACA,UAAAC;AAAA,MACA,KAAAC;AAAA,MACA,aAAAC;AAAA,MACA,uBAAAC;AAAA,MACA,OAAAC;AAAA,MACA,KAAAC;AAAA,MACA,KAAAC;AAAA,MACA,YAAAC;AAAA,MACA,gBAAAC;AAAA,IACE,IAAAX,GAEEY,IAAiB,CAACV,GAElBW,IAASV,IAAW,GAEpB,EAAE,gBAAgBW,EAAA,IAAUC;AAAA,MAChCX;AAAA,MACAC;AAAA,MACAC;AAAA,MACAG;AAAA,MACAF;AAAA,MACAC;AAAA,IAAA;AAGF,WAEIQ,gBAAAA,EAAA,KAAAC,YAAA,EAAA,UAAA;AAAA,MAAAC,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACE,GAAGnB;AAAA,UACJ,YAAU;AAAA,UACV,WAAWY;AAAA,UACX,KAAKX;AAAA,QAAA;AAAA,MACP;AAAA,MAEC,CAACS,KAAc,CAACC,KACfO,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACE,GAAGpB;AAAA,UACJ,QAAAa;AAAA,UACA,OAAOQ,EAAM,OAAO;AAAA,UACpB,OAAAP;AAAA,UACA,YAAYQ,EAAgBtB,CAAK;AAAA,QAAA;AAAA,MACnC;AAAA,IAEJ,EAAA,CAAA;AAAA,EAEJ;AACF;"}
@@ -1,56 +1,96 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
- var f, i;
7
- function p() {
8
- if (i)
9
- return f;
10
- i = 1;
11
- var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
12
- function O(n) {
13
- if (n == null)
14
- throw new TypeError("Object.assign cannot be called with null or undefined");
15
- return Object(n);
16
- }
17
- function j() {
18
- try {
19
- if (!Object.assign)
20
- return !1;
21
- var n = new String("abc");
22
- if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
23
- return !1;
24
- for (var s = {}, r = 0; r < 10; r++)
25
- s["_" + String.fromCharCode(r)] = r;
26
- var a = Object.getOwnPropertyNames(s).map(function(e) {
27
- return s[e];
28
- });
29
- if (a.join("") !== "0123456789")
30
- return !1;
31
- var t = {};
32
- return "abcdefghijklmnopqrst".split("").forEach(function(e) {
33
- t[e] = e;
34
- }), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
35
- } catch {
36
- return !1;
1
+ import { j as a } from "./sd-component-library190.js";
2
+ import { useState as S, useCallback as B } from "react";
3
+ import { Box as Y } from "rebass";
4
+ import { labelPaddingX as c, labelWidth as W } from "./sd-component-library224.js";
5
+ import { getCoordinateForArc as $ } from "./sd-component-library86.js";
6
+ import { ResponsiveTextV2 as z } from "./sd-component-library144.js";
7
+ const D = (j) => {
8
+ const {
9
+ label: d,
10
+ color: p,
11
+ alpha: e,
12
+ radius: r,
13
+ horizontal: v,
14
+ pointerLength: m,
15
+ round: y,
16
+ pointY: i
17
+ } = j, [h, C] = S(0), [f, R] = S(0), T = B((t) => {
18
+ if (t) {
19
+ const { height: o, y: l } = t.getBoundingClientRect();
20
+ C(o), R(l);
37
21
  }
22
+ }, []);
23
+ let { x: b, y: g } = $(
24
+ r + m,
25
+ e,
26
+ r
27
+ );
28
+ const s = e === 180, n = e < 180, u = e > 180;
29
+ if (v) {
30
+ const { x: t, y: o } = $(
31
+ r,
32
+ e,
33
+ r
34
+ );
35
+ b = t + m * (n ? -1 : 1), g = o;
36
+ }
37
+ if (!d)
38
+ return null;
39
+ let x = y || s ? `${c}px` : void 0;
40
+ if (!x && i) {
41
+ const t = f - h, o = f;
42
+ x = [
43
+ n || i > t,
44
+ u || i > t,
45
+ u || i < o,
46
+ n || i < o
47
+ ].map((l) => l ? `${c}px` : "0").join(" ");
38
48
  }
39
- return f = j() ? Object.assign : function(n, s) {
40
- for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
41
- r = Object(arguments[e]);
42
- for (var c in r)
43
- b.call(r, c) && (a[c] = r[c]);
44
- if (u) {
45
- t = u(r);
46
- for (var o = 0; o < t.length; o++)
47
- l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
48
- }
49
+ return /* @__PURE__ */ a.jsx(
50
+ Y,
51
+ {
52
+ sx: {
53
+ position: "absolute",
54
+ left: `${b}px`,
55
+ top: `${g}px`
56
+ },
57
+ children: /* @__PURE__ */ a.jsx(
58
+ Y,
59
+ {
60
+ sx: {
61
+ boxSizing: "content-box",
62
+ position: "relative",
63
+ top: `calc(-${h}px)`,
64
+ left: s ? "-50%" : n ? "-100%" : void 0,
65
+ py: "7px",
66
+ px: `${c}px`,
67
+ borderColor: p,
68
+ borderWidth: "2px",
69
+ borderStyle: "solid",
70
+ borderRadius: x,
71
+ bg: "cl_white",
72
+ "& > div": {
73
+ maxWidth: s ? void 0 : `${W}px`
74
+ }
75
+ },
76
+ ref: T,
77
+ children: /* @__PURE__ */ a.jsx(
78
+ z,
79
+ {
80
+ fontSizeWeight: [[12, "semi-bold"]],
81
+ width: "max-content",
82
+ color: p !== "#CCD0DB" ? p : "cl_darkGrey",
83
+ textTransform: "uppercase",
84
+ letterSpacing: "1.8px",
85
+ children: d
86
+ }
87
+ )
88
+ }
89
+ )
49
90
  }
50
- return a;
51
- }, f;
52
- }
91
+ );
92
+ };
53
93
  export {
54
- p as __require
94
+ D as MatchedRangeLabelBox
55
95
  };
56
96
  //# sourceMappingURL=sd-component-library295.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library295.js","sources":["../node_modules/object-assign/index.js"],"sourcesContent":["/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"],"names":["getOwnPropertySymbols","hasOwnProperty","propIsEnumerable","toObject","val","shouldUseNative","test1","test2","i","order2","n","test3","letter","objectAssign","target","source","from","to","symbols","s","key"],"mappings":";;;;;;;;;;AAQA,MAAIA,IAAwB,OAAO,uBAC/BC,IAAiB,OAAO,UAAU,gBACl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AsBgB,CAAI;AACpC,iBAASR,IAAI,GAAGA,IAAIU,EAAQ,QAAQV;AACnC,UAAIN,EAAiB,KAAKc,GAAME,EAAQV,CAAC,CAAC,MACzCS,EAAGC,EAAQV,CAAC,CAAC,IAAIQ,EAAKE,EAAQV,CAAC,CAAC;AAAA,MAGlC;AAAA,IACD;AAED,WAAOS;AAAA;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library295.js","sources":["../src/components/meters/common-outline-meter-partials/matched-range-label-box/matched-range-label-box.tsx"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { ResponsiveTextV2 } from \"../../../texts/responsive-text-v2\";\nimport { labelPaddingX, labelWidth } from \"../../outline-meter/contants\";\nimport { getCoordinateForArc } from \"../../outline-meter/utils\";\nimport { MatchedRangeLabelBoxProps as Props } from \"./interfaces\";\n\nexport const MatchedRangeLabelBox: React.FC<Props> = (props) => {\n const {\n label,\n color,\n alpha,\n radius,\n horizontal,\n pointerLength,\n round,\n pointY,\n } = props;\n\n const [textHeight, setTextHeight] = useState(0);\n const [textY, setTextY] = useState(0);\n\n const ref = useCallback((node: HTMLElement) => {\n if (node) {\n const { height, y } = node.getBoundingClientRect();\n setTextHeight(height);\n setTextY(y);\n }\n }, []);\n\n let { x: pointerEndX, y: pointerEndY } = getCoordinateForArc(\n radius + pointerLength,\n alpha,\n radius\n );\n\n const isOnTop = alpha === 180;\n const isOnLeft = alpha < 180;\n const isOnRight = alpha > 180;\n\n if (horizontal) {\n const { x: pointerStartX, y: pointerStartY } = getCoordinateForArc(\n radius,\n alpha,\n radius\n );\n\n pointerEndX = pointerStartX + pointerLength * (isOnLeft ? -1 : 1);\n pointerEndY = pointerStartY;\n }\n\n if (!label) return null;\n\n let borderRadius = round || isOnTop ? `${labelPaddingX}px` : undefined;\n if (!borderRadius && pointY) {\n const textTopY = textY - textHeight;\n const textBottomY = textY;\n\n borderRadius = [\n isOnLeft || pointY > textTopY,\n isOnRight || pointY > textTopY,\n isOnRight || pointY < textBottomY,\n isOnLeft || pointY < textBottomY,\n ]\n .map((flag) => (flag ? `${labelPaddingX}px` : \"0\"))\n .join(\" \");\n }\n\n return (\n <Box\n sx={{\n position: \"absolute\",\n left: `${pointerEndX}px`,\n top: `${pointerEndY}px`,\n }}\n >\n <Box\n sx={{\n boxSizing: \"content-box\",\n position: \"relative\",\n top: `calc(-${textHeight}px)`,\n left: isOnTop ? \"-50%\" : isOnLeft ? \"-100%\" : undefined,\n py: \"7px\",\n px: `${labelPaddingX}px`,\n borderColor: color,\n borderWidth: \"2px\",\n borderStyle: \"solid\",\n borderRadius,\n bg: \"cl_white\",\n \"& > div\": {\n maxWidth: isOnTop ? undefined : `${labelWidth}px`,\n },\n }}\n ref={ref}\n >\n <ResponsiveTextV2\n fontSizeWeight={[[12, \"semi-bold\"]]}\n width=\"max-content\"\n color={color !== \"#CCD0DB\" ? color : \"cl_darkGrey\"}\n textTransform=\"uppercase\"\n letterSpacing=\"1.8px\"\n >\n {label}\n </ResponsiveTextV2>\n </Box>\n </Box>\n );\n};\n"],"names":["MatchedRangeLabelBox","props","label","color","alpha","radius","horizontal","pointerLength","round","pointY","textHeight","setTextHeight","useState","textY","setTextY","ref","useCallback","node","height","y","pointerEndX","pointerEndY","getCoordinateForArc","isOnTop","isOnLeft","isOnRight","pointerStartX","pointerStartY","borderRadius","labelPaddingX","textTopY","textBottomY","flag","jsx","Box","labelWidth","ResponsiveTextV2"],"mappings":";;;;;;AASa,MAAAA,IAAwC,CAACC,MAAU;AACxD,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,EACE,IAAAR,GAEE,CAACS,GAAYC,CAAa,IAAIC,EAAS,CAAC,GACxC,CAACC,GAAOC,CAAQ,IAAIF,EAAS,CAAC,GAE9BG,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W;AAAA,YACX,UAAU;AAAA,YACV,KAAK,SAASxB,CAAU;AAAA,YACxB,MAAMa,IAAU,SAASC,IAAW,UAAU;AAAA,YAC9C,IAAI;AAAA,YACJ,IAAI,GAAGK,CAAa;AAAA,YACpB,aAAa1B;AAAA,YACb,aAAa;AAAA,YACb,aAAa;AAAA,YACb,cAAAyB;AAAA,YACA,IAAI;AAAA,YACJ,WAAW;AAAA,cACT,UAAUL,IAAU,SAAY,GAAGY,CAAU;AAAA,YAC/C;AAAA,UACF;AAAA,UACA,KAAApB;AAAA,UAEA,UAAAkB,gBAAAA,EAAA;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,CAAC,IAAI,WAAW,CAAC;AAAA,cAClC,OAAM;AAAA,cACN,OAAOjC,MAAU,YAAYA,IAAQ;AAAA,cACrC,eAAc;AAAA,cACd,eAAc;AAAA,cAEb,UAAAD;AAAA,YAAA;AAAA,UACH;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
@@ -1,12 +1,28 @@
1
- var e, r;
2
- function _() {
3
- if (r)
4
- return e;
5
- r = 1;
6
- var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
7
- return e = t, e;
8
- }
1
+ import { j as x } from "./sd-component-library190.js";
2
+ import { getInnerX as u, degToRad as r, getInnerY as i } from "./sd-component-library86.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
+ );
24
+ };
9
25
  export {
10
- _ as __require
26
+ j as BaseOutlineArc
11
27
  };
12
28
  //# sourceMappingURL=sd-component-library296.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library296.js","sources":["../node_modules/prop-types/lib/ReactPropTypesSecret.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n"],"names":["ReactPropTypesSecret","ReactPropTypesSecret_1"],"mappings":";;;;;AASA,MAAIA,IAAuB;AAE3B,SAAAC,IAAiBD;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library296.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,8 +1,38 @@
1
- var r, e;
2
- function a() {
3
- return e || (e = 1, r = Function.call.bind(Object.prototype.hasOwnProperty)), r;
4
- }
1
+ import { j as t } from "./sd-component-library190.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
+ };
5
35
  export {
6
- a as __require
36
+ h as BaseNeedle
7
37
  };
8
38
  //# sourceMappingURL=sd-component-library297.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library297.js","sources":["../node_modules/prop-types/lib/has.js"],"sourcesContent":["module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n"],"names":["has"],"mappings":";;sBAAAA,IAAiB,SAAS,KAAK,KAAK,OAAO,UAAU,cAAc;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"sd-component-library297.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,56 +1,8 @@
1
- import { __require as E } from "./sd-component-library296.js";
2
- import { __require as _ } from "./sd-component-library297.js";
3
- var f, v;
4
- function P() {
5
- if (v)
6
- return f;
7
- v = 1;
8
- var o = function() {
9
- };
10
- if (process.env.NODE_ENV !== "production") {
11
- var y = E(), t = {}, d = _();
12
- o = function(n) {
13
- var a = "Warning: " + n;
14
- typeof console < "u" && console.error(a);
15
- try {
16
- throw new Error(a);
17
- } catch {
18
- }
19
- };
20
- }
21
- function u(n, a, i, s, c) {
22
- if (process.env.NODE_ENV !== "production") {
23
- for (var e in n)
24
- if (d(n, e)) {
25
- var r;
26
- try {
27
- if (typeof n[e] != "function") {
28
- var h = Error(
29
- (s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
30
- );
31
- throw h.name = "Invariant Violation", h;
32
- }
33
- r = n[e](a, e, s, i, null, y);
34
- } catch (l) {
35
- r = l;
36
- }
37
- if (r && !(r instanceof Error) && o(
38
- (s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
39
- ), r instanceof Error && !(r.message in t)) {
40
- t[r.message] = !0;
41
- var p = c ? c() : "";
42
- o(
43
- "Failed " + i + " type: " + r.message + (p ?? "")
44
- );
45
- }
46
- }
47
- }
48
- }
49
- return u.resetWarningCache = function() {
50
- process.env.NODE_ENV !== "production" && (t = {});
51
- }, f = u, f;
52
- }
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
+ };
53
5
  export {
54
- P as __require
6
+ p as getRangeProperties
55
7
  };
56
8
  //# sourceMappingURL=sd-component-library298.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library298.js","sources":["../node_modules/prop-types/checkPropTypes.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n"],"names":["printWarning","ReactPropTypesSecret","require$$0","loggedTypeFailures","has","require$$1","text","message","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","error","err","ex","stack","checkPropTypes_1"],"mappings":";;;;;;;AASA,MAAIA,IAAe,WAAW;AAAA;AAE9B,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,QAAIC,IAAuBC,KACvBC,IAAqB,CAAA,GACrBC,IAAMC;AAEV,IAAAL,IAAe,SAASM,GAAM;AAC5B,UAAIC,IAAU,cAAcD;AAC5B,MAAI,OAAO,UAAY,OACrB,QAAQ,MAAMC,CAAO;AAEvB,UAAI;AAIF,cAAM,IAAI,MAAMA,CAAO;AAAA,MAC7B,QAAgB;AAAA,MAAQ;AAAA,IACxB;AAAA,EACC;AAaD,WAASC,EAAeC,GAAWC,GAAQC,GAAUC,GAAeC,GAAU;AAC5E,QAAI,QAAQ,IAAI,aAAa;AAC3B,eAASC,KAAgBL;AACvB,YAAIL,EAAIK,GAAWK,CAAY,GAAG;AAChC,cAAIC;AAIJ,cAAI;AAGF,gBAAI,OAAON,EAAUK,CAAY,KAAM,YAAY;AACjD,kBAAIE,IAAM;AAAA,iBACPJ,KAAiB,iBAAiB,OAAOD,IAAW,YAAYG,IAAe,+FACC,OAAOL,EAAUK,CAAY,IAAI;AAAA,cAEhI;AACY,oBAAAE,EAAI,OAAO,uBACLA;AAAA,YACP;AACD,YAAAD,IAAQN,EAAUK,CAAY,EAAEJ,GAAQI,GAAcF,GAAeD,GAAU,MAAMV,CAAoB;AAAA,UAC1G,SAAQgB,GAAI;AACX,YAAAF,IAAQE;AAAA,UACT;AAWD,cAVIF,KAAS,EAAEA,aAAiB,UAC9Bf;AAAA,aACGY,KAAiB,iBAAiB,6BACnCD,IAAW,OAAOG,IAAe,6FAC6B,OAAOC,IAAQ;AAAA,UAIzF,GAEYA,aAAiB,SAAS,EAAEA,EAAM,WAAWZ,IAAqB;AAGpE,YAAAA,EAAmBY,EAAM,OAAO,IAAI;AAEpC,gBAAIG,IAAQL,IAAWA,EAAQ,IAAK;AAEpC,YAAAb;AAAA,cACE,YAAYW,IAAW,YAAYI,EAAM,WAAWG,KAAwB;AAAA,YACxF;AAAA,UACS;AAAA,QACF;AAAA;AAAA,EAGN;AAOD,SAAAV,EAAe,oBAAoB,WAAW;AAC5C,IAAI,QAAQ,IAAI,aAAa,iBAC3BL,IAAqB,CAAA;AAAA,EAExB,GAEDgB,IAAiBX;;","x_google_ignoreList":[0]}
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,5 +1,7 @@
1
- var r = {};
1
+ import { j as e } from "./sd-component-library190.js";
2
+ import { LabelPointer as t } from "./sd-component-library320.js";
3
+ const s = (r) => /* @__PURE__ */ e.jsx(t, { ...r });
2
4
  export {
3
- r as __exports
5
+ s as DiscreteMeterLabelPointer
4
6
  };
5
7
  //# sourceMappingURL=sd-component-library299.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sd-component-library299.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"sd-component-library299.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;"}