@coinbase/cds-common 8.13.1 → 8.13.2

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 (302) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dts/accordion/AccordionProvider.d.ts +23 -17
  3. package/dts/animation/accordion.d.ts +1 -1
  4. package/dts/animation/border.d.ts +9 -3
  5. package/dts/animation/carousel.d.ts +1 -1
  6. package/dts/animation/collapsible.d.ts +4 -4
  7. package/dts/animation/dot.d.ts +1 -1
  8. package/dts/animation/drawer.d.ts +8 -8
  9. package/dts/animation/dropdown.d.ts +19 -19
  10. package/dts/animation/fullscreenModal.d.ts +1 -1
  11. package/dts/animation/likeButton.d.ts +1 -1
  12. package/dts/animation/menu.d.ts +21 -21
  13. package/dts/animation/modal.d.ts +1 -1
  14. package/dts/animation/overlay.d.ts +1 -1
  15. package/dts/animation/paddle.d.ts +1 -1
  16. package/dts/animation/progress.d.ts +1 -1
  17. package/dts/animation/rotate.d.ts +1 -1
  18. package/dts/animation/select.d.ts +1 -1
  19. package/dts/animation/sparkline.d.ts +3 -3
  20. package/dts/animation/tabs.d.ts +1 -1
  21. package/dts/animation/toast.d.ts +1 -1
  22. package/dts/animation/tooltip.d.ts +7 -4
  23. package/dts/cards/getCardBodySpacingProps.d.ts +16 -4
  24. package/dts/color/blendColors.d.ts +12 -9
  25. package/dts/color/colorToHex.d.ts +1 -1
  26. package/dts/color/darkenColor.d.ts +1 -1
  27. package/dts/color/getAccessibleForegroundGradient.d.ts +13 -8
  28. package/dts/color/getBlendedColor.d.ts +61 -54
  29. package/dts/color/getContrastRatio.d.ts +1 -1
  30. package/dts/color/getLuminance.d.ts +1 -1
  31. package/dts/color/isAccessibleColor.d.ts +11 -6
  32. package/dts/color/isLightOrDarkColor.d.ts +2 -2
  33. package/dts/color/overrideAlpha.d.ts +1 -1
  34. package/dts/core/theme.d.ts +251 -252
  35. package/dts/dates/DateInputValidationError.d.ts +3 -3
  36. package/dts/dates/IntlDateFormat.d.ts +29 -32
  37. package/dts/dates/generateCalendarMonth.d.ts +1 -1
  38. package/dts/dates/getISOStringLocal.d.ts +1 -1
  39. package/dts/dates/getMidnightDate.d.ts +1 -1
  40. package/dts/dates/getTimesFromDatesAndRanges.d.ts +4 -2
  41. package/dts/dates/useDateInput.d.ts +33 -17
  42. package/dts/dates/useDateInputValidation.d.ts +48 -39
  43. package/dts/hooks/useEventHandler.d.ts +12 -3
  44. package/dts/hooks/useFallbackShape.d.ts +10 -6
  45. package/dts/hooks/useGroupToggler.d.ts +9 -6
  46. package/dts/hooks/useHasMounted.d.ts +1 -1
  47. package/dts/hooks/useIndexCounter.d.ts +21 -14
  48. package/dts/hooks/useInputVariant.d.ts +1 -1
  49. package/dts/hooks/useLogo.d.ts +17 -17
  50. package/dts/hooks/useMergeRefs.d.ts +4 -2
  51. package/dts/hooks/usePrefixedId.d.ts +9 -3
  52. package/dts/hooks/usePreviousValue.d.ts +1 -1
  53. package/dts/hooks/usePreviousValues.d.ts +3 -3
  54. package/dts/hooks/useRefMap.d.ts +9 -7
  55. package/dts/hooks/useSort.d.ts +14 -14
  56. package/dts/hooks/useSubBrandLogo.d.ts +53 -45
  57. package/dts/hooks/useTimer.d.ts +5 -5
  58. package/dts/hooks/useToggler.d.ts +7 -7
  59. package/dts/hooks/useValueChanges.d.ts +6 -6
  60. package/dts/index.d.ts +1 -1
  61. package/dts/internal/data/accounts.d.ts +220 -210
  62. package/dts/internal/data/announcementCards.d.ts +7 -7
  63. package/dts/internal/data/asset.d.ts +162 -162
  64. package/dts/internal/data/assets.d.ts +73 -70
  65. package/dts/internal/data/avatars.d.ts +6 -3
  66. package/dts/internal/data/dataCards.d.ts +25 -21
  67. package/dts/internal/data/featureEntryCards.d.ts +19 -16
  68. package/dts/internal/data/feedImages.d.ts +1 -1
  69. package/dts/internal/data/iconData.d.ts +2 -2
  70. package/dts/internal/data/loremIpsum.d.ts +3 -2
  71. package/dts/internal/data/navigation.d.ts +5 -5
  72. package/dts/internal/data/prices.d.ts +3 -3
  73. package/dts/internal/data/product.d.ts +31 -23
  74. package/dts/internal/data/tabs.d.ts +16 -13
  75. package/dts/internal/data/users.d.ts +13 -10
  76. package/dts/internal/utils/storyBuilder.d.ts +136 -95
  77. package/dts/internal/visualizations/SparklineInteractiveData.d.ts +8 -8
  78. package/dts/jest/timeTravel.d.ts +1 -1
  79. package/dts/lottie/lottieUtils.d.ts +7 -4
  80. package/dts/lottie/useStatusAnimationPoller.d.ts +29 -6
  81. package/dts/media/getAvatarFallbackColor.d.ts +4 -2
  82. package/dts/media/remoteImageFallbackSrc.d.ts +5 -3
  83. package/dts/motion/animatedCaret.d.ts +1 -1
  84. package/dts/motion/checkbox.d.ts +85 -77
  85. package/dts/motion/dot.d.ts +85 -77
  86. package/dts/motion/hint.d.ts +46 -42
  87. package/dts/motion/switch.d.ts +1 -1
  88. package/dts/motion/tokens.d.ts +896 -414
  89. package/dts/motion/utils.d.ts +30 -12
  90. package/dts/numbers/IntlNumberFormat.d.ts +101 -103
  91. package/dts/numbers/subscript.d.ts +1 -1
  92. package/dts/overlays/ModalContext.d.ts +22 -22
  93. package/dts/overlays/OverlayContentContext.d.ts +10 -10
  94. package/dts/overlays/PortalContext.d.ts +5 -5
  95. package/dts/overlays/ToastProvider.d.ts +44 -35
  96. package/dts/overlays/useAlert.d.ts +3 -3
  97. package/dts/overlays/useModal.d.ts +3 -3
  98. package/dts/overlays/useOverlay.d.ts +3 -3
  99. package/dts/overlays/usePortal.d.ts +2 -2
  100. package/dts/overlays/usePortalState.d.ts +12 -12
  101. package/dts/overlays/useToastQueue.d.ts +8 -8
  102. package/dts/stepper/useStepper.d.ts +27 -23
  103. package/dts/stepper/utils.d.ts +15 -8
  104. package/dts/system/EventHandlerProvider.d.ts +13 -11
  105. package/dts/system/LocaleProvider.d.ts +8 -5
  106. package/dts/system/RefMapContext.d.ts +3 -3
  107. package/dts/tabs/TabsContext.d.ts +2 -2
  108. package/dts/tabs/useTabs.d.ts +27 -22
  109. package/dts/tokens/accordion.d.ts +4 -4
  110. package/dts/tokens/appSwitcher.d.ts +1 -1
  111. package/dts/tokens/avatar.d.ts +12 -12
  112. package/dts/tokens/banner.d.ts +8 -8
  113. package/dts/tokens/borderRadius.d.ts +1 -1
  114. package/dts/tokens/button.d.ts +61 -61
  115. package/dts/tokens/card.d.ts +16 -16
  116. package/dts/tokens/cell.d.ts +17 -14
  117. package/dts/tokens/chip.d.ts +1 -1
  118. package/dts/tokens/dot.d.ts +4 -4
  119. package/dts/tokens/drawer.d.ts +1 -1
  120. package/dts/tokens/illustrations.d.ts +21 -21
  121. package/dts/tokens/input.d.ts +1 -1
  122. package/dts/tokens/interactable.d.ts +1 -1
  123. package/dts/tokens/interactableHeight.d.ts +3 -3
  124. package/dts/tokens/menu.d.ts +1 -1
  125. package/dts/tokens/multiContentModule.d.ts +1 -1
  126. package/dts/tokens/navigation.d.ts +1 -1
  127. package/dts/tokens/overlays.d.ts +3 -2
  128. package/dts/tokens/page.d.ts +1 -1
  129. package/dts/tokens/select.d.ts +1 -1
  130. package/dts/tokens/sidebar.d.ts +1 -1
  131. package/dts/tokens/sizing.d.ts +1 -1
  132. package/dts/tokens/sparkline.d.ts +1 -1
  133. package/dts/tokens/tags.d.ts +11 -5
  134. package/dts/tokens/tile.d.ts +1 -1
  135. package/dts/tokens/toast.d.ts +1 -1
  136. package/dts/tokens/tooltip.d.ts +1 -1
  137. package/dts/tokens/zIndex.d.ts +12 -12
  138. package/dts/tour/TourContext.d.ts +1 -1
  139. package/dts/tour/useTour.d.ts +83 -77
  140. package/dts/types/AvatarBaseProps.d.ts +1 -1
  141. package/dts/types/AvatarSize.d.ts +1 -1
  142. package/dts/types/BannerBaseProps.d.ts +1 -1
  143. package/dts/types/BoxBaseProps.d.ts +61 -48
  144. package/dts/types/ButtonBaseProps.d.ts +8 -2
  145. package/dts/types/CardHeaderProps.d.ts +9 -9
  146. package/dts/types/CardMediaProps.d.ts +28 -22
  147. package/dts/types/CardRemoteImageProps.d.ts +18 -14
  148. package/dts/types/CdsPlatform.d.ts +1 -1
  149. package/dts/types/CellBaseProps.d.ts +3 -3
  150. package/dts/types/Chart.d.ts +18 -16
  151. package/dts/types/CollapsibleBaseProps.d.ts +1 -1
  152. package/dts/types/Color.d.ts +3 -3
  153. package/dts/types/ComponentEventHandlerProps.d.ts +3 -3
  154. package/dts/types/DimensionStyles.d.ts +18 -18
  155. package/dts/types/Display.d.ts +9 -2
  156. package/dts/types/DotBaseProps.d.ts +1 -1
  157. package/dts/types/DotCountBaseProps.d.ts +1 -1
  158. package/dts/types/ElevationLevels.d.ts +3 -3
  159. package/dts/types/FallbackBaseProps.d.ts +8 -8
  160. package/dts/types/Grid.d.ts +1 -1
  161. package/dts/types/Helpers.d.ts +6 -2
  162. package/dts/types/IconButtonBaseProps.d.ts +1 -1
  163. package/dts/types/IconName.d.ts +1 -1
  164. package/dts/types/IconSize.d.ts +1 -1
  165. package/dts/types/IllustrationNames.d.ts +14 -3
  166. package/dts/types/IllustrationProps.d.ts +15 -3
  167. package/dts/types/InputBaseProps.d.ts +23 -17
  168. package/dts/types/LottiePlayer.d.ts +9 -6
  169. package/dts/types/LottieSource.d.ts +19 -19
  170. package/dts/types/LottieStatusAnimationProps.d.ts +21 -15
  171. package/dts/types/Motion.d.ts +58 -21
  172. package/dts/types/OverlayLifecycleProps.d.ts +17 -17
  173. package/dts/types/Palette.d.ts +1 -1
  174. package/dts/types/Placement.d.ts +1 -1
  175. package/dts/types/Position.d.ts +1 -1
  176. package/dts/types/ProgressContainerWithButtonsProps.d.ts +5 -5
  177. package/dts/types/PulseBaseProps.d.ts +1 -1
  178. package/dts/types/React.d.ts +1 -1
  179. package/dts/types/Rect.d.ts +5 -5
  180. package/dts/types/Responsive.d.ts +9 -2
  181. package/dts/types/ResponsiveProps.d.ts +13 -6
  182. package/dts/types/SectionHeaderProps.d.ts +15 -13
  183. package/dts/types/Shape.d.ts +1 -1
  184. package/dts/types/SharedAccessibilityProps.d.ts +32 -32
  185. package/dts/types/SharedProps.d.ts +7 -7
  186. package/dts/types/SpacingProps.d.ts +37 -37
  187. package/dts/types/SparklineInteractiveHeaderBaseProps.d.ts +7 -2
  188. package/dts/types/SpreadPropsSafely.d.ts +2 -2
  189. package/dts/types/StickyFooterProps.d.ts +17 -15
  190. package/dts/types/TagBaseProps.d.ts +5 -2
  191. package/dts/types/TextBaseProps.d.ts +7 -7
  192. package/dts/types/TooltipBaseProps.d.ts +1 -1
  193. package/dts/types/TypeOrNumber.d.ts +1 -1
  194. package/dts/types/Visibility.d.ts +2 -2
  195. package/dts/types/Weight.d.ts +1 -1
  196. package/dts/types/index.d.ts +1 -1
  197. package/dts/utils/cell.d.ts +5 -2
  198. package/dts/utils/chart.d.ts +1 -1
  199. package/dts/utils/circle.d.ts +1 -1
  200. package/dts/utils/convertDimensionToAspectRatio.d.ts +12 -2
  201. package/dts/utils/convertDimensionToSize.d.ts +3 -3
  202. package/dts/utils/convertSizeWithMultiplier.d.ts +8 -5
  203. package/dts/utils/debounce.d.ts +5 -2
  204. package/dts/utils/delay.d.ts +1 -1
  205. package/dts/utils/flattenNodes.d.ts +6 -2
  206. package/dts/utils/formatCount.d.ts +1 -1
  207. package/dts/utils/getAccessibleColor.d.ts +16 -11
  208. package/dts/utils/getButtonSpacingProps.d.ts +12 -9
  209. package/dts/utils/getDefaultAspectRatioForIllustration.d.ts +9 -2
  210. package/dts/utils/getDefaultSizeObjectForIllustration.d.ts +4 -2
  211. package/dts/utils/getRectWidthVariant.d.ts +5 -2
  212. package/dts/utils/getWidthInEm.d.ts +1 -1
  213. package/dts/utils/join.d.ts +5 -2
  214. package/dts/utils/mergeProps.d.ts +1 -1
  215. package/dts/utils/mockUtils.d.ts +1 -1
  216. package/dts/utils/modulate.d.ts +8 -5
  217. package/dts/utils/parseDotCountMaxOverflow.d.ts +1 -1
  218. package/dts/visualizations/getProgressCircleParams.d.ts +15 -11
  219. package/dts/visualizations/getSparklineRange.d.ts +11 -7
  220. package/dts/visualizations/getSparklineTransform.d.ts +7 -3
  221. package/dts/visualizations/largestTriangleThreeBucket.d.ts +1 -1
  222. package/dts/visualizations/useCounter.d.ts +9 -5
  223. package/dts/visualizations/useDateLookup.d.ts +9 -5
  224. package/dts/visualizations/useProgressSize.d.ts +1 -1
  225. package/dts/visualizations/useSparklineArea.d.ts +1 -1
  226. package/dts/visualizations/useSparklineAreaOpacity.d.ts +1 -1
  227. package/dts/visualizations/useSparklineCoordinates.d.ts +19 -12
  228. package/dts/visualizations/useSparklinePath.d.ts +1 -1
  229. package/dts/visualizations/useSparklinePathGenerator.d.ts +16 -10
  230. package/dts/visualizations/useTimeseriesPaths.d.ts +6 -6
  231. package/dts/visualizations/useVisualizationDimensions.d.ts +15 -10
  232. package/package.json +7 -7
  233. package/dts/accordion/__tests__/AccordionProvider.test.d.ts +0 -2
  234. package/dts/accordion/__tests__/AccordionProvider.test.d.ts.map +0 -1
  235. package/dts/color/__tests__/blendColors.test.d.ts +0 -2
  236. package/dts/color/__tests__/blendColors.test.d.ts.map +0 -1
  237. package/dts/color/__tests__/isLightOrDarkColor.test.d.ts +0 -2
  238. package/dts/color/__tests__/isLightOrDarkColor.test.d.ts.map +0 -1
  239. package/dts/color/__tests__/overrideAlpha.test.d.ts +0 -2
  240. package/dts/color/__tests__/overrideAlpha.test.d.ts.map +0 -1
  241. package/dts/dates/__tests__/IntlDateFormat.test.d.ts +0 -2
  242. package/dts/dates/__tests__/IntlDateFormat.test.d.ts.map +0 -1
  243. package/dts/dates/__tests__/useDateInput.test.d.ts +0 -2
  244. package/dts/dates/__tests__/useDateInput.test.d.ts.map +0 -1
  245. package/dts/hooks/__tests__/useFallbackShape.test.d.ts +0 -2
  246. package/dts/hooks/__tests__/useFallbackShape.test.d.ts.map +0 -1
  247. package/dts/hooks/__tests__/usePrefixedId.test.d.ts +0 -2
  248. package/dts/hooks/__tests__/usePrefixedId.test.d.ts.map +0 -1
  249. package/dts/hooks/__tests__/usePreviousValue.test.d.ts +0 -2
  250. package/dts/hooks/__tests__/usePreviousValue.test.d.ts.map +0 -1
  251. package/dts/hooks/__tests__/useRefMap.test.d.ts +0 -2
  252. package/dts/hooks/__tests__/useRefMap.test.d.ts.map +0 -1
  253. package/dts/hooks/__tests__/useSort.test.d.ts +0 -2
  254. package/dts/hooks/__tests__/useSort.test.d.ts.map +0 -1
  255. package/dts/hooks/__tests__/useTimer.test.d.ts +0 -2
  256. package/dts/hooks/__tests__/useTimer.test.d.ts.map +0 -1
  257. package/dts/lottie/lottieUtils.test.d.ts +0 -2
  258. package/dts/lottie/lottieUtils.test.d.ts.map +0 -1
  259. package/dts/numbers/__tests__/formatToParts.test.d.ts +0 -2
  260. package/dts/numbers/__tests__/formatToParts.test.d.ts.map +0 -1
  261. package/dts/numbers/__tests__/subscript.test.d.ts +0 -2
  262. package/dts/numbers/__tests__/subscript.test.d.ts.map +0 -1
  263. package/dts/overlays/__tests__/useOverlay.test.d.ts +0 -2
  264. package/dts/overlays/__tests__/useOverlay.test.d.ts.map +0 -1
  265. package/dts/overlays/__tests__/useToastQueue.test.d.ts +0 -2
  266. package/dts/overlays/__tests__/useToastQueue.test.d.ts.map +0 -1
  267. package/dts/stepper/__tests__/useStepper.test.d.ts +0 -2
  268. package/dts/stepper/__tests__/useStepper.test.d.ts.map +0 -1
  269. package/dts/stepper/__tests__/utils.test.d.ts +0 -2
  270. package/dts/stepper/__tests__/utils.test.d.ts.map +0 -1
  271. package/dts/system/__tests__/EventHandlerProvider.test.d.ts +0 -2
  272. package/dts/system/__tests__/EventHandlerProvider.test.d.ts.map +0 -1
  273. package/dts/tabs/__tests__/TabsContext.test.d.ts +0 -2
  274. package/dts/tabs/__tests__/TabsContext.test.d.ts.map +0 -1
  275. package/dts/tabs/__tests__/useTabs.test.d.ts +0 -2
  276. package/dts/tabs/__tests__/useTabs.test.d.ts.map +0 -1
  277. package/dts/tour/__tests__/TourContext.test.d.ts +0 -2
  278. package/dts/tour/__tests__/TourContext.test.d.ts.map +0 -1
  279. package/dts/tour/__tests__/useTour.test.d.ts +0 -2
  280. package/dts/tour/__tests__/useTour.test.d.ts.map +0 -1
  281. package/dts/utils/__tests__/cell.test.d.ts +0 -2
  282. package/dts/utils/__tests__/cell.test.d.ts.map +0 -1
  283. package/dts/utils/__tests__/chart.test.d.ts +0 -2
  284. package/dts/utils/__tests__/chart.test.d.ts.map +0 -1
  285. package/dts/utils/__tests__/flattenNodes.test.d.ts +0 -2
  286. package/dts/utils/__tests__/flattenNodes.test.d.ts.map +0 -1
  287. package/dts/utils/__tests__/formatCount.test.d.ts +0 -2
  288. package/dts/utils/__tests__/formatCount.test.d.ts.map +0 -1
  289. package/dts/utils/__tests__/getRectWidthVariant.test.d.ts +0 -2
  290. package/dts/utils/__tests__/getRectWidthVariant.test.d.ts.map +0 -1
  291. package/dts/visualizations/__tests__/getSparklineRange.test.d.ts +0 -2
  292. package/dts/visualizations/__tests__/getSparklineRange.test.d.ts.map +0 -1
  293. package/dts/visualizations/__tests__/largestTriangleThreeBucket.test.d.ts +0 -2
  294. package/dts/visualizations/__tests__/largestTriangleThreeBucket.test.d.ts.map +0 -1
  295. package/dts/visualizations/__tests__/useCounter.test.d.ts +0 -2
  296. package/dts/visualizations/__tests__/useCounter.test.d.ts.map +0 -1
  297. package/dts/visualizations/__tests__/useSparklineArea.test.d.ts +0 -2
  298. package/dts/visualizations/__tests__/useSparklineArea.test.d.ts.map +0 -1
  299. package/dts/visualizations/__tests__/useSparklineCoordinates.test.d.ts +0 -2
  300. package/dts/visualizations/__tests__/useSparklineCoordinates.test.d.ts.map +0 -1
  301. package/dts/visualizations/__tests__/useSparklinePath.test.d.ts +0 -2
  302. package/dts/visualizations/__tests__/useSparklinePath.test.d.ts.map +0 -1
@@ -1,34 +1,34 @@
1
1
  export type SharedAccessibilityProps = {
2
- /**
3
- * On web, maps to `aria-label` and defines a string value that labels an interactive element.
4
- * On mobile, VoiceOver will read this string when a user selects the associated element.
5
- * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
6
- * @link https://reactnative.dev/docs/accessibility#accessibilitylabel
7
- */
8
- accessibilityLabel?: string;
9
- /**
10
- * On web, maps to `aria-describedby` and lists the id(s) of the element(s) that describe the element on which the attribute is set.
11
- * On mobile, a string that helps users understand what will happen when they perform an action on the accessibility element
12
- * when that result is not clear from the accessibility label.
13
- * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby
14
- * @link https://reactnative.dev/docs/accessibility#accessibilityhint
15
- */
16
- accessibilityHint?: string;
17
- /**
18
- * On web, maps to `aria-labelledby` and lists the id(s) of the element(s) that label the element on which the attribute is set.
19
- * On mobile (Android only), a reference to another element `nativeID` used to build complex forms.
20
- * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby
21
- * @link https://reactnative.dev/docs/accessibility#accessibilitylabelledby-android
22
- */
23
- accessibilityLabelledBy?: string;
24
- /**
25
- * Used for a11y to indicate the relationship between a controlled element and its controller
26
- * eg: a Button that controls the visibility of a Modal
27
- */
28
- id?: string;
29
- /** Used to associate a label with an input for accessibility */
30
- accessibilityLabelId?: string;
31
- /** Used to associate descriptive text to an input for accessibility */
32
- accessibilityDescriptionId?: string;
2
+ /**
3
+ * On web, maps to `aria-label` and defines a string value that labels an interactive element.
4
+ * On mobile, VoiceOver will read this string when a user selects the associated element.
5
+ * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
6
+ * @link https://reactnative.dev/docs/accessibility#accessibilitylabel
7
+ */
8
+ accessibilityLabel?: string;
9
+ /**
10
+ * On web, maps to `aria-describedby` and lists the id(s) of the element(s) that describe the element on which the attribute is set.
11
+ * On mobile, a string that helps users understand what will happen when they perform an action on the accessibility element
12
+ * when that result is not clear from the accessibility label.
13
+ * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby
14
+ * @link https://reactnative.dev/docs/accessibility#accessibilityhint
15
+ */
16
+ accessibilityHint?: string;
17
+ /**
18
+ * On web, maps to `aria-labelledby` and lists the id(s) of the element(s) that label the element on which the attribute is set.
19
+ * On mobile (Android only), a reference to another element `nativeID` used to build complex forms.
20
+ * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby
21
+ * @link https://reactnative.dev/docs/accessibility#accessibilitylabelledby-android
22
+ */
23
+ accessibilityLabelledBy?: string;
24
+ /**
25
+ * Used for a11y to indicate the relationship between a controlled element and its controller
26
+ * eg: a Button that controls the visibility of a Modal
27
+ */
28
+ id?: string;
29
+ /** Used to associate a label with an input for accessibility */
30
+ accessibilityLabelId?: string;
31
+ /** Used to associate descriptive text to an input for accessibility */
32
+ accessibilityDescriptionId?: string;
33
33
  };
34
- //# sourceMappingURL=SharedAccessibilityProps.d.ts.map
34
+ //# sourceMappingURL=SharedAccessibilityProps.d.ts.map
@@ -1,9 +1,9 @@
1
1
  export type SharedProps = {
2
- /**
3
- * Used to locate this element in unit and end-to-end tests.
4
- * Under the hood, testID translates to data-testid on Web. On Mobile, testID
5
- * stays the same - testID
6
- */
7
- testID?: string;
2
+ /**
3
+ * Used to locate this element in unit and end-to-end tests.
4
+ * Under the hood, testID translates to data-testid on Web. On Mobile, testID
5
+ * stays the same - testID
6
+ */
7
+ testID?: string;
8
8
  };
9
- //# sourceMappingURL=SharedProps.d.ts.map
9
+ //# sourceMappingURL=SharedProps.d.ts.map
@@ -2,45 +2,45 @@ import type { ThemeVars } from '../core/theme';
2
2
  import type { TypeOrNumber } from './TypeOrNumber';
3
3
  export type NegativeSpace = TypeOrNumber<'0' | `-${Exclude<ThemeVars.Space, 0>}`>;
4
4
  export type MarginProps = {
5
- /** Apply margin on all sides. */
6
- margin?: NegativeSpace;
7
- /** Apply margin on the start and end sides. */
8
- marginX?: NegativeSpace;
9
- /** Apply margin on the top and bottom sides. */
10
- marginY?: NegativeSpace;
11
- /** Apply margin on the top side. */
12
- marginTop?: NegativeSpace;
13
- /** Apply margin on the end side. */
14
- marginEnd?: NegativeSpace;
15
- /** Apply margin on the bottom side. */
16
- marginBottom?: NegativeSpace;
17
- /** Apply margin on the start side. */
18
- marginStart?: NegativeSpace;
5
+ /** Apply margin on all sides. */
6
+ margin?: NegativeSpace;
7
+ /** Apply margin on the start and end sides. */
8
+ marginX?: NegativeSpace;
9
+ /** Apply margin on the top and bottom sides. */
10
+ marginY?: NegativeSpace;
11
+ /** Apply margin on the top side. */
12
+ marginTop?: NegativeSpace;
13
+ /** Apply margin on the end side. */
14
+ marginEnd?: NegativeSpace;
15
+ /** Apply margin on the bottom side. */
16
+ marginBottom?: NegativeSpace;
17
+ /** Apply margin on the start side. */
18
+ marginStart?: NegativeSpace;
19
19
  };
20
20
  export type PaddingProps = {
21
- /** Apply padding on all sides. */
22
- padding?: ThemeVars.Space;
23
- /** Apply padding on the start and end sides. */
24
- paddingX?: ThemeVars.Space;
25
- /** Apply padding on the top and bottom sides. */
26
- paddingY?: ThemeVars.Space;
27
- /** Apply padding on the top side. */
28
- paddingTop?: ThemeVars.Space;
29
- /** Apply padding on the end side. */
30
- paddingEnd?: ThemeVars.Space;
31
- /** Apply padding on the bottom side. */
32
- paddingBottom?: ThemeVars.Space;
33
- /** Apply padding on the start side. */
34
- paddingStart?: ThemeVars.Space;
21
+ /** Apply padding on all sides. */
22
+ padding?: ThemeVars.Space;
23
+ /** Apply padding on the start and end sides. */
24
+ paddingX?: ThemeVars.Space;
25
+ /** Apply padding on the top and bottom sides. */
26
+ paddingY?: ThemeVars.Space;
27
+ /** Apply padding on the top side. */
28
+ paddingTop?: ThemeVars.Space;
29
+ /** Apply padding on the end side. */
30
+ paddingEnd?: ThemeVars.Space;
31
+ /** Apply padding on the bottom side. */
32
+ paddingBottom?: ThemeVars.Space;
33
+ /** Apply padding on the start side. */
34
+ paddingStart?: ThemeVars.Space;
35
35
  };
36
36
  export type InternalSpacingProps = {
37
- all?: ThemeVars.Space;
38
- top?: ThemeVars.Space;
39
- bottom?: ThemeVars.Space;
40
- start?: ThemeVars.Space;
41
- end?: ThemeVars.Space;
42
- horizontal?: ThemeVars.Space;
43
- vertical?: ThemeVars.Space;
44
- isInverted?: boolean;
37
+ all?: ThemeVars.Space;
38
+ top?: ThemeVars.Space;
39
+ bottom?: ThemeVars.Space;
40
+ start?: ThemeVars.Space;
41
+ end?: ThemeVars.Space;
42
+ horizontal?: ThemeVars.Space;
43
+ vertical?: ThemeVars.Space;
44
+ isInverted?: boolean;
45
45
  };
46
- //# sourceMappingURL=SpacingProps.d.ts.map
46
+ //# sourceMappingURL=SpacingProps.d.ts.map
@@ -1,3 +1,8 @@
1
1
  export type SparklineInteractiveHeaderVariant = 'foregroundMuted' | 'positive' | 'negative';
2
- export type SparklineInteractiveHeaderSignVariant = 'positive' | 'negative' | 'upwardTrend' | 'downwardTrend' | '';
3
- //# sourceMappingURL=SparklineInteractiveHeaderBaseProps.d.ts.map
2
+ export type SparklineInteractiveHeaderSignVariant =
3
+ | 'positive'
4
+ | 'negative'
5
+ | 'upwardTrend'
6
+ | 'downwardTrend'
7
+ | '';
8
+ //# sourceMappingURL=SparklineInteractiveHeaderBaseProps.d.ts.map
@@ -23,6 +23,6 @@
23
23
  * ```
24
24
  */
25
25
  export type ValidateProps<ActualPropType, ExpectedPropType> = {
26
- [key in keyof ActualPropType]: key extends keyof ExpectedPropType ? never : ActualPropType[key];
26
+ [key in keyof ActualPropType]: key extends keyof ExpectedPropType ? never : ActualPropType[key];
27
27
  };
28
- //# sourceMappingURL=SpreadPropsSafely.d.ts.map
28
+ //# sourceMappingURL=SpreadPropsSafely.d.ts.map
@@ -5,18 +5,20 @@ import type { PaddingProps } from './SpacingProps';
5
5
  * @deprecated Use StickyFooterProps from @coinbase/cds-mobile instead.
6
6
  */
7
7
  export type StickyFooterProps = {
8
- /**
9
- * React children to be rendered inside the StickyFooter.
10
- */
11
- children?: React.ReactNode;
12
- /**
13
- * Whether to apply a top border and shadow to the StickyFooter.
14
- */
15
- elevated?: boolean;
16
- /**
17
- * The WAI-ARIA role for the StickyFooter element.
18
- * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
19
- */
20
- role?: React.AriaRole;
21
- } & SharedProps & PaddingProps & Pick<SharedAccessibilityProps, 'accessibilityLabel'>;
22
- //# sourceMappingURL=StickyFooterProps.d.ts.map
8
+ /**
9
+ * React children to be rendered inside the StickyFooter.
10
+ */
11
+ children?: React.ReactNode;
12
+ /**
13
+ * Whether to apply a top border and shadow to the StickyFooter.
14
+ */
15
+ elevated?: boolean;
16
+ /**
17
+ * The WAI-ARIA role for the StickyFooter element.
18
+ * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles
19
+ */
20
+ role?: React.AriaRole;
21
+ } & SharedProps &
22
+ PaddingProps &
23
+ Pick<SharedAccessibilityProps, 'accessibilityLabel'>;
24
+ //# sourceMappingURL=StickyFooterProps.d.ts.map
@@ -1,4 +1,7 @@
1
1
  import type { ThemeVars } from '../core/theme';
2
2
  export type TagIntent = 'informational' | 'promotional';
3
- export type TagColorScheme = Extract<ThemeVars.SpectrumHue, 'green' | 'purple' | 'blue' | 'yellow' | 'red' | 'gray'>;
4
- //# sourceMappingURL=TagBaseProps.d.ts.map
3
+ export type TagColorScheme = Extract<
4
+ ThemeVars.SpectrumHue,
5
+ 'green' | 'purple' | 'blue' | 'yellow' | 'red' | 'gray'
6
+ >;
7
+ //# sourceMappingURL=TagBaseProps.d.ts.map
@@ -1,10 +1,10 @@
1
1
  export type TextTransform = 'uppercase' | 'lowercase' | 'capitalize' | 'none';
2
2
  export type TextAlignProps = {
3
- /**
4
- * Specifies text alignment. On mobile, the value `justify` is only supported on iOS and fallbacks to `start` on Android.
5
- * @link [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) | [React Native docs](https://reactnative.dev/docs/text-style-props#textalign)
6
- * @default start
7
- */
8
- align?: 'start' | 'end' | 'center' | 'justify';
3
+ /**
4
+ * Specifies text alignment. On mobile, the value `justify` is only supported on iOS and fallbacks to `start` on Android.
5
+ * @link [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) | [React Native docs](https://reactnative.dev/docs/text-style-props#textalign)
6
+ * @default start
7
+ */
8
+ align?: 'start' | 'end' | 'center' | 'justify';
9
9
  };
10
- //# sourceMappingURL=TextBaseProps.d.ts.map
10
+ //# sourceMappingURL=TextBaseProps.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export type BaseTooltipPlacement = 'top' | 'bottom' | 'right' | 'left';
2
- //# sourceMappingURL=TooltipBaseProps.d.ts.map
2
+ //# sourceMappingURL=TooltipBaseProps.d.ts.map
@@ -1,3 +1,3 @@
1
1
  /** Returns number if the type T extends number, e.g. if T is a number or a number string like '2' or '5.5'. Allows for converting object keys that are numbers (such as the `space` scale vars) from string type to number type. */
2
2
  export type TypeOrNumber<T> = T extends `${infer N extends number}` ? N : T;
3
- //# sourceMappingURL=TypeOrNumber.d.ts.map
3
+ //# sourceMappingURL=TypeOrNumber.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export type Visibility = 'hidden' | 'visible';
2
2
  export type VisibilityProps = {
3
- visibility: 'hidden' | 'visible';
3
+ visibility: 'hidden' | 'visible';
4
4
  };
5
- //# sourceMappingURL=Visibility.d.ts.map
5
+ //# sourceMappingURL=Visibility.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export type Weight = 'thin' | 'normal' | 'semiheavy' | 'heavy';
2
- //# sourceMappingURL=Weight.d.ts.map
2
+ //# sourceMappingURL=Weight.d.ts.map
@@ -54,4 +54,4 @@ export * from './TooltipBaseProps';
54
54
  export * from './TypeOrNumber';
55
55
  export * from './Visibility';
56
56
  export * from './Weight';
57
- //# sourceMappingURL=index.d.ts.map
57
+ //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,6 @@
1
1
  import type { CellPriority } from '../types';
2
- export declare const hasCellPriority: (priorityToMatch: CellPriority, priority?: CellPriority | CellPriority[]) => boolean;
3
- //# sourceMappingURL=cell.d.ts.map
2
+ export declare const hasCellPriority: (
3
+ priorityToMatch: CellPriority,
4
+ priority?: CellPriority | CellPriority[],
5
+ ) => boolean;
6
+ //# sourceMappingURL=cell.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export declare const minMax: <T>(data: T[], dataToNumFn: (data: T) => number) => (T | undefined)[];
2
- //# sourceMappingURL=chart.d.ts.map
2
+ //# sourceMappingURL=chart.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export declare function getRadius(containerSize: number, strokeWidth?: number): number;
2
2
  export declare function getCircumference(radius: number): number;
3
3
  export declare function getCenter(containerSize: number): number;
4
- //# sourceMappingURL=circle.d.ts.map
4
+ //# sourceMappingURL=circle.d.ts.map
@@ -1,4 +1,14 @@
1
1
  import type { IllustrationDimension } from '../types';
2
2
  /** Returns the aspect ratio tuple for a given dimension */
3
- export declare function convertDimensionToAspectRatio(dimension: IllustrationDimension): readonly [24, 24] | readonly [32, 32] | readonly [48, 48] | readonly [64, 64] | readonly [96, 96] | readonly [200, 200] | readonly [240, 120] | readonly [240, 240];
4
- //# sourceMappingURL=convertDimensionToAspectRatio.d.ts.map
3
+ export declare function convertDimensionToAspectRatio(
4
+ dimension: IllustrationDimension,
5
+ ):
6
+ | readonly [24, 24]
7
+ | readonly [32, 32]
8
+ | readonly [48, 48]
9
+ | readonly [64, 64]
10
+ | readonly [96, 96]
11
+ | readonly [200, 200]
12
+ | readonly [240, 120]
13
+ | readonly [240, 240];
14
+ //# sourceMappingURL=convertDimensionToAspectRatio.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import type { IllustrationDimension } from '../types';
2
2
  export type SizeObject = {
3
- width: number;
4
- height: number;
3
+ width: number;
4
+ height: number;
5
5
  };
6
6
  /** Statically lookup a dimension string such as "24x24" and return it's size object { width: 24, height: 24 } */
7
7
  export declare function convertDimensionToSize(dimension: IllustrationDimension): SizeObject;
8
- //# sourceMappingURL=convertDimensionToSize.d.ts.map
8
+ //# sourceMappingURL=convertDimensionToSize.d.ts.map
@@ -1,9 +1,12 @@
1
1
  /** Take a width, height object return the same object with a multiplier applied. */
2
- export declare function convertSizeWithMultiplier(size: {
3
- width: number;
4
- height: number;
5
- }, multiplier: number): {
2
+ export declare function convertSizeWithMultiplier(
3
+ size: {
6
4
  width: number;
7
5
  height: number;
6
+ },
7
+ multiplier: number,
8
+ ): {
9
+ width: number;
10
+ height: number;
8
11
  };
9
- //# sourceMappingURL=convertSizeWithMultiplier.d.ts.map
12
+ //# sourceMappingURL=convertSizeWithMultiplier.d.ts.map
@@ -1,2 +1,5 @@
1
- export declare function debounce<Params extends unknown[]>(func: (...args: Params) => unknown, timeout: number): (...args: Params) => void;
2
- //# sourceMappingURL=debounce.d.ts.map
1
+ export declare function debounce<Params extends unknown[]>(
2
+ func: (...args: Params) => unknown,
3
+ timeout: number,
4
+ ): (...args: Params) => void;
5
+ //# sourceMappingURL=debounce.d.ts.map
@@ -2,4 +2,4 @@
2
2
  * @example await delay(200);
3
3
  */
4
4
  export declare const delay: (milliseconds: number) => Promise<unknown>;
5
- //# sourceMappingURL=delay.d.ts.map
5
+ //# sourceMappingURL=delay.d.ts.map
@@ -1,5 +1,9 @@
1
1
  type Child = string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>>;
2
2
  export declare function hasProps(child: Child): child is React.ReactElement;
3
- export default function flattenNodes(children: React.ReactNode, depth?: number, keys?: (string | number)[]): Child[];
3
+ export default function flattenNodes(
4
+ children: React.ReactNode,
5
+ depth?: number,
6
+ keys?: (string | number)[],
7
+ ): Child[];
4
8
  export {};
5
- //# sourceMappingURL=flattenNodes.d.ts.map
9
+ //# sourceMappingURL=flattenNodes.d.ts.map
@@ -23,4 +23,4 @@
23
23
  * formatCount(1500000000000)
24
24
  */
25
25
  export declare const formatCount: (count: number) => string;
26
- //# sourceMappingURL=formatCount.d.ts.map
26
+ //# sourceMappingURL=formatCount.d.ts.map
@@ -1,14 +1,14 @@
1
1
  import { type A11yColorUsage } from '../types/Color';
2
2
  type GetAccessibleColorParams = {
3
- background: string;
4
- foreground?: 'auto';
5
- /**
6
- * Where the foreground color is being applied.
7
- * @default 'normalText'
8
- */
9
- usage?: A11yColorUsage;
10
- /** Use higher contrast ratio. */
11
- enhanced?: boolean;
3
+ background: string;
4
+ foreground?: 'auto';
5
+ /**
6
+ * Where the foreground color is being applied.
7
+ * @default 'normalText'
8
+ */
9
+ usage?: A11yColorUsage;
10
+ /** Use higher contrast ratio. */
11
+ enhanced?: boolean;
12
12
  };
13
13
  /**
14
14
  * People with low vision often have difficulty reading text that does not contrast with its background.
@@ -23,6 +23,11 @@ type GetAccessibleColorParams = {
23
23
  * 1. Check background color contrast ratios with white and black
24
24
  * 2. Return the color with higher contrast.
25
25
  */
26
- export declare const getAccessibleColor: ({ background, foreground, usage, enhanced, }: GetAccessibleColorParams) => "rgb(255,255,255)" | "rgb(0,0,0)" | "#ffffff" | "#000000";
26
+ export declare const getAccessibleColor: ({
27
+ background,
28
+ foreground,
29
+ usage,
30
+ enhanced,
31
+ }: GetAccessibleColorParams) => 'rgb(255,255,255)' | 'rgb(0,0,0)' | '#ffffff' | '#000000';
27
32
  export {};
28
- //# sourceMappingURL=getAccessibleColor.d.ts.map
33
+ //# sourceMappingURL=getAccessibleColor.d.ts.map
@@ -1,16 +1,19 @@
1
1
  import type { ThemeVars } from '../core/theme';
2
2
  import type { NegativeSpace } from '../types';
3
3
  export type GetButtonSpacingParams = {
4
- compact?: boolean;
5
- /** If present decrease horizontal padding */
6
- flush?: 'start' | 'end' | boolean;
4
+ compact?: boolean;
5
+ /** If present decrease horizontal padding */
6
+ flush?: 'start' | 'end' | boolean;
7
7
  };
8
8
  type ButtonSpacingValue = {
9
- paddingX?: ThemeVars.Space;
10
- paddingY?: ThemeVars.Space;
11
- marginEnd?: NegativeSpace;
12
- marginStart?: NegativeSpace;
9
+ paddingX?: ThemeVars.Space;
10
+ paddingY?: ThemeVars.Space;
11
+ marginEnd?: NegativeSpace;
12
+ marginStart?: NegativeSpace;
13
13
  };
14
- export declare const getButtonSpacingProps: ({ compact, flush, }: GetButtonSpacingParams) => ButtonSpacingValue;
14
+ export declare const getButtonSpacingProps: ({
15
+ compact,
16
+ flush,
17
+ }: GetButtonSpacingParams) => ButtonSpacingValue;
15
18
  export {};
16
- //# sourceMappingURL=getButtonSpacingProps.d.ts.map
19
+ //# sourceMappingURL=getButtonSpacingProps.d.ts.map
@@ -1,4 +1,11 @@
1
1
  import type { IllustrationVariant } from '../types';
2
2
  /** Returns the default aspect ratio tuple for an illustration variant */
3
- export declare function getDefaultAspectRatioForIllustration(variant: IllustrationVariant): readonly [32, 32] | readonly [48, 48] | readonly [96, 96] | readonly [240, 120] | readonly [240, 240];
4
- //# sourceMappingURL=getDefaultAspectRatioForIllustration.d.ts.map
3
+ export declare function getDefaultAspectRatioForIllustration(
4
+ variant: IllustrationVariant,
5
+ ):
6
+ | readonly [32, 32]
7
+ | readonly [48, 48]
8
+ | readonly [96, 96]
9
+ | readonly [240, 120]
10
+ | readonly [240, 240];
11
+ //# sourceMappingURL=getDefaultAspectRatioForIllustration.d.ts.map
@@ -1,4 +1,6 @@
1
1
  import type { IllustrationVariant } from '../types';
2
2
  /** Returns the default size object for an illustration variant */
3
- export declare function getDefaultSizeObjectForIllustration(variant?: IllustrationVariant): import("./convertDimensionToSize").SizeObject;
4
- //# sourceMappingURL=getDefaultSizeObjectForIllustration.d.ts.map
3
+ export declare function getDefaultSizeObjectForIllustration(
4
+ variant?: IllustrationVariant,
5
+ ): import('./convertDimensionToSize').SizeObject;
6
+ //# sourceMappingURL=getDefaultSizeObjectForIllustration.d.ts.map
@@ -1,2 +1,5 @@
1
- export declare const getRectWidthVariant: (variant: number | undefined, increment: number) => number | undefined;
2
- //# sourceMappingURL=getRectWidthVariant.d.ts.map
1
+ export declare const getRectWidthVariant: (
2
+ variant: number | undefined,
3
+ increment: number,
4
+ ) => number | undefined;
5
+ //# sourceMappingURL=getRectWidthVariant.d.ts.map
@@ -3,4 +3,4 @@
3
3
  * Useful for animating width across font-size changes without hardcoding pixels.
4
4
  */
5
5
  export declare const getWidthInEm: (element: HTMLElement) => string;
6
- //# sourceMappingURL=getWidthInEm.d.ts.map
6
+ //# sourceMappingURL=getWidthInEm.d.ts.map
@@ -2,5 +2,8 @@ import React from 'react';
2
2
  /**
3
3
  * Util for adding a separator element between react components excluding the last item
4
4
  */
5
- export declare const join: (arr: unknown[], node: React.ReactNode) => import("react/jsx-runtime").JSX.Element[];
6
- //# sourceMappingURL=join.d.ts.map
5
+ export declare const join: (
6
+ arr: unknown[],
7
+ node: React.ReactNode,
8
+ ) => import('react/jsx-runtime').JSX.Element[];
9
+ //# sourceMappingURL=join.d.ts.map
@@ -1,3 +1,3 @@
1
1
  export type UnknownProps = Record<string, unknown>;
2
2
  export declare function mergeProps<T>(prev: UnknownProps, next: UnknownProps): T;
3
- //# sourceMappingURL=mergeProps.d.ts.map
3
+ //# sourceMappingURL=mergeProps.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export declare const NoopFn: () => void;
2
- //# sourceMappingURL=mockUtils.d.ts.map
2
+ //# sourceMappingURL=mockUtils.d.ts.map
@@ -1,9 +1,12 @@
1
1
  type ModulateRange = {
2
- inputRange: [number, number];
3
- outputRange: [number, number];
4
- clamp: boolean;
2
+ inputRange: [number, number];
3
+ outputRange: [number, number];
4
+ clamp: boolean;
5
5
  };
6
6
  /** create incremental transformations based on user interaction */
7
- export declare const modulate: (value: number, { inputRange, outputRange, clamp }: ModulateRange) => number;
7
+ export declare const modulate: (
8
+ value: number,
9
+ { inputRange, outputRange, clamp }: ModulateRange,
10
+ ) => number;
8
11
  export {};
9
- //# sourceMappingURL=modulate.d.ts.map
12
+ //# sourceMappingURL=modulate.d.ts.map
@@ -1,3 +1,3 @@
1
1
  export declare const MAX_OVERFLOW_COUNT = 99;
2
2
  export declare const parseDotCountMaxOverflow: (count: number, max?: number) => string | number;
3
- //# sourceMappingURL=parseDotCountMaxOverflow.d.ts.map
3
+ //# sourceMappingURL=parseDotCountMaxOverflow.d.ts.map
@@ -1,15 +1,19 @@
1
1
  type ProgressCircleParams = {
2
- size: number;
3
- strokeWidth: number;
4
- stroke: string;
2
+ size: number;
3
+ strokeWidth: number;
4
+ stroke: string;
5
5
  };
6
- export declare const getProgressCircleParams: ({ size, strokeWidth, stroke }: ProgressCircleParams) => {
7
- stroke: string;
8
- cx: number;
9
- cy: number;
10
- r: number;
11
- strokeWidth: number;
12
- fill: string;
6
+ export declare const getProgressCircleParams: ({
7
+ size,
8
+ strokeWidth,
9
+ stroke,
10
+ }: ProgressCircleParams) => {
11
+ stroke: string;
12
+ cx: number;
13
+ cy: number;
14
+ r: number;
15
+ strokeWidth: number;
16
+ fill: string;
13
17
  };
14
18
  export {};
15
- //# sourceMappingURL=getProgressCircleParams.d.ts.map
19
+ //# sourceMappingURL=getProgressCircleParams.d.ts.map
@@ -1,9 +1,13 @@
1
- export declare const getSparklineRange: ({ height, width, yAxisScalingFactor, }: {
2
- height: number;
3
- width: number;
4
- yAxisScalingFactor?: number;
1
+ export declare const getSparklineRange: ({
2
+ height,
3
+ width,
4
+ yAxisScalingFactor,
5
+ }: {
6
+ height: number;
7
+ width: number;
8
+ yAxisScalingFactor?: number;
5
9
  }) => {
6
- xRange: number[];
7
- yRange: number[];
10
+ xRange: number[];
11
+ yRange: number[];
8
12
  };
9
- //# sourceMappingURL=getSparklineRange.d.ts.map
13
+ //# sourceMappingURL=getSparklineRange.d.ts.map
@@ -1,4 +1,8 @@
1
- export declare function getSparklineTransform(width: number, height: number, yAxisScalingFactor?: number): {
2
- transform?: string;
1
+ export declare function getSparklineTransform(
2
+ width: number,
3
+ height: number,
4
+ yAxisScalingFactor?: number,
5
+ ): {
6
+ transform?: string;
3
7
  };
4
- //# sourceMappingURL=getSparklineTransform.d.ts.map
8
+ //# sourceMappingURL=getSparklineTransform.d.ts.map