@automattic/charts 0.56.6 → 0.57.0

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 (177) hide show
  1. package/AGENTS.md +65 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +2 -1
  4. package/dist/charts/bar-chart/index.cjs +5 -6
  5. package/dist/charts/bar-chart/index.cjs.map +1 -1
  6. package/dist/charts/bar-chart/index.d.cts +3 -3
  7. package/dist/charts/bar-chart/index.d.ts +3 -3
  8. package/dist/charts/bar-chart/index.js +4 -5
  9. package/dist/charts/bar-list-chart/index.cjs +6 -7
  10. package/dist/charts/bar-list-chart/index.cjs.map +1 -1
  11. package/dist/charts/bar-list-chart/index.d.cts +3 -3
  12. package/dist/charts/bar-list-chart/index.d.ts +3 -3
  13. package/dist/charts/bar-list-chart/index.js +5 -6
  14. package/dist/charts/conversion-funnel-chart/index.cjs +5 -6
  15. package/dist/charts/conversion-funnel-chart/index.cjs.map +1 -1
  16. package/dist/charts/conversion-funnel-chart/index.d.cts +1 -1
  17. package/dist/charts/conversion-funnel-chart/index.d.ts +1 -1
  18. package/dist/charts/conversion-funnel-chart/index.js +4 -5
  19. package/dist/charts/geo-chart/index.cjs +4 -4
  20. package/dist/charts/geo-chart/index.d.cts +1 -1
  21. package/dist/charts/geo-chart/index.d.ts +1 -1
  22. package/dist/charts/geo-chart/index.js +3 -3
  23. package/dist/charts/leaderboard-chart/index.cjs +5 -5
  24. package/dist/charts/leaderboard-chart/index.css +8 -9
  25. package/dist/charts/leaderboard-chart/index.css.map +1 -1
  26. package/dist/charts/leaderboard-chart/index.d.cts +3 -3
  27. package/dist/charts/leaderboard-chart/index.d.ts +3 -3
  28. package/dist/charts/leaderboard-chart/index.js +4 -4
  29. package/dist/charts/line-chart/index.cjs +5 -6
  30. package/dist/charts/line-chart/index.cjs.map +1 -1
  31. package/dist/charts/line-chart/index.d.cts +3 -3
  32. package/dist/charts/line-chart/index.d.ts +3 -3
  33. package/dist/charts/line-chart/index.js +4 -5
  34. package/dist/charts/pie-chart/index.cjs +5 -6
  35. package/dist/charts/pie-chart/index.cjs.map +1 -1
  36. package/dist/charts/pie-chart/index.d.cts +4 -4
  37. package/dist/charts/pie-chart/index.d.ts +4 -4
  38. package/dist/charts/pie-chart/index.js +4 -5
  39. package/dist/charts/pie-semi-circle-chart/index.cjs +5 -6
  40. package/dist/charts/pie-semi-circle-chart/index.cjs.map +1 -1
  41. package/dist/charts/pie-semi-circle-chart/index.d.cts +4 -4
  42. package/dist/charts/pie-semi-circle-chart/index.d.ts +4 -4
  43. package/dist/charts/pie-semi-circle-chart/index.js +4 -5
  44. package/dist/charts/sparkline/index.cjs +6 -7
  45. package/dist/charts/sparkline/index.cjs.map +1 -1
  46. package/dist/charts/sparkline/index.js +5 -6
  47. package/dist/{chunk-XD2HV7M5.js → chunk-2NCY7R4G.js} +127 -762
  48. package/dist/chunk-2NCY7R4G.js.map +1 -0
  49. package/dist/{chunk-RFSHE3HL.js → chunk-32DH6JDF.js} +64 -43
  50. package/dist/chunk-32DH6JDF.js.map +1 -0
  51. package/dist/{chunk-SSFFCBCF.js → chunk-4OPFE4RM.js} +11 -8
  52. package/dist/chunk-4OPFE4RM.js.map +1 -0
  53. package/dist/{chunk-CAFJRZPZ.cjs → chunk-77OKCVQN.cjs} +17 -17
  54. package/dist/{chunk-CAFJRZPZ.cjs.map → chunk-77OKCVQN.cjs.map} +1 -1
  55. package/dist/{chunk-K6TGILHX.cjs → chunk-7FQX4ALL.cjs} +6 -6
  56. package/dist/{chunk-K6TGILHX.cjs.map → chunk-7FQX4ALL.cjs.map} +1 -1
  57. package/dist/{chunk-7FDQGBY7.js → chunk-BCX5THDQ.js} +9 -7
  58. package/dist/chunk-BCX5THDQ.js.map +1 -0
  59. package/dist/{chunk-KHQPN77E.js → chunk-CZGYJKG6.js} +4 -4
  60. package/dist/{chunk-3EXJP67N.cjs → chunk-D2UH4CFE.cjs} +9 -9
  61. package/dist/{chunk-3EXJP67N.cjs.map → chunk-D2UH4CFE.cjs.map} +1 -1
  62. package/dist/{chunk-TE63Y5PX.js → chunk-DAU3HNEG.js} +2 -2
  63. package/dist/chunk-DAU3HNEG.js.map +1 -0
  64. package/dist/{chunk-MDRCAGKZ.js → chunk-H2V4JMSA.js} +3 -3
  65. package/dist/{chunk-UFRBUT2D.cjs → chunk-I35UYJJR.cjs} +49 -6
  66. package/dist/chunk-I35UYJJR.cjs.map +1 -0
  67. package/dist/{chunk-GWBS65VC.js → chunk-IU4DYUAV.js} +3 -3
  68. package/dist/{chunk-E62LCBGD.js → chunk-PXLEMUGJ.js} +3 -3
  69. package/dist/{chunk-YDVHT7GS.cjs → chunk-RHHVEJHJ.cjs} +83 -62
  70. package/dist/chunk-RHHVEJHJ.cjs.map +1 -0
  71. package/dist/{chunk-YAXY5L7I.cjs → chunk-TO3OQBXG.cjs} +5 -5
  72. package/dist/{chunk-YAXY5L7I.cjs.map → chunk-TO3OQBXG.cjs.map} +1 -1
  73. package/dist/{chunk-VPAEBI2F.js → chunk-V36ERY7Y.js} +9 -7
  74. package/dist/chunk-V36ERY7Y.js.map +1 -0
  75. package/dist/{chunk-X7JL2NYJ.cjs → chunk-VJM5XCB4.cjs} +33 -30
  76. package/dist/chunk-VJM5XCB4.cjs.map +1 -0
  77. package/dist/{chunk-ZVGEDXDP.cjs → chunk-VTS3PNMS.cjs} +2 -2
  78. package/dist/{chunk-ZVGEDXDP.cjs.map → chunk-VTS3PNMS.cjs.map} +1 -1
  79. package/dist/{chunk-OMS5QIJN.js → chunk-WLODYNLB.js} +9 -7
  80. package/dist/chunk-WLODYNLB.js.map +1 -0
  81. package/dist/{chunk-NQJE2CC7.cjs → chunk-XKRJL2QT.cjs} +25 -23
  82. package/dist/chunk-XKRJL2QT.cjs.map +1 -0
  83. package/dist/{chunk-O2JIANHK.cjs → chunk-YE2T52VZ.cjs} +33 -31
  84. package/dist/chunk-YE2T52VZ.cjs.map +1 -0
  85. package/dist/{chunk-IS5YYLTV.js → chunk-Z26M4V2M.js} +46 -3
  86. package/dist/chunk-Z26M4V2M.js.map +1 -0
  87. package/dist/{chunk-55ZCOYDF.cjs → chunk-Z45KX47P.cjs} +153 -788
  88. package/dist/chunk-Z45KX47P.cjs.map +1 -0
  89. package/dist/{chunk-BXFD7JIG.cjs → chunk-ZH4F5RMG.cjs} +26 -24
  90. package/dist/chunk-ZH4F5RMG.cjs.map +1 -0
  91. package/dist/components/legend/index.cjs +3 -3
  92. package/dist/components/legend/index.d.cts +4 -4
  93. package/dist/components/legend/index.d.ts +4 -4
  94. package/dist/components/legend/index.js +2 -2
  95. package/dist/components/tooltip/index.d.cts +1 -1
  96. package/dist/components/tooltip/index.d.ts +1 -1
  97. package/dist/hooks/index.cjs +3 -3
  98. package/dist/hooks/index.d.cts +7 -3
  99. package/dist/hooks/index.d.ts +7 -3
  100. package/dist/hooks/index.js +2 -2
  101. package/dist/index.cjs +13 -14
  102. package/dist/index.cjs.map +1 -1
  103. package/dist/index.css +8 -9
  104. package/dist/index.css.map +1 -1
  105. package/dist/index.d.cts +7 -7
  106. package/dist/index.d.ts +7 -7
  107. package/dist/index.js +12 -13
  108. package/dist/{leaderboard-chart-BSgEw_Um.d.ts → leaderboard-chart-BKYYXcg2.d.ts} +5 -9
  109. package/dist/{leaderboard-chart-COtgamhe.d.cts → leaderboard-chart-DR7CGb0L.d.cts} +5 -9
  110. package/dist/{legend-C9ahiwOt.d.cts → legend-C2grwnWk.d.cts} +1 -1
  111. package/dist/{legend-jjMmhSg3.d.ts → legend-Cj0xM5dU.d.ts} +1 -1
  112. package/dist/providers/index.cjs +3 -3
  113. package/dist/providers/index.d.cts +3 -3
  114. package/dist/providers/index.d.ts +3 -3
  115. package/dist/providers/index.js +2 -2
  116. package/dist/{themes-DQzmaSze.d.ts → themes-BmVGrYnF.d.ts} +2 -2
  117. package/dist/{themes-CVR5rmIs.d.cts → themes-CyjKm-P_.d.cts} +2 -2
  118. package/dist/{types-DQNnq5Fr.d.ts → types-CuUEszrM.d.ts} +1 -1
  119. package/dist/{types-CzdN7rUe.d.cts → types-DZordNiO.d.cts} +11 -7
  120. package/dist/{types-CzdN7rUe.d.ts → types-DZordNiO.d.ts} +11 -7
  121. package/dist/types-I67mddpr.d.cts +78 -0
  122. package/dist/types-I67mddpr.d.ts +78 -0
  123. package/dist/{types-BBwg4Evw.d.cts → types-KtOPPzPX.d.cts} +1 -1
  124. package/dist/utils/index.cjs +2 -2
  125. package/dist/utils/index.d.cts +1 -1
  126. package/dist/utils/index.d.ts +1 -1
  127. package/dist/utils/index.js +1 -1
  128. package/package.json +6 -4
  129. package/src/charts/bar-chart/bar-chart.tsx +4 -3
  130. package/src/charts/bar-chart/test/bar-chart.test.tsx +30 -0
  131. package/src/charts/conversion-funnel-chart/test/conversion-funnel-chart.test.tsx +2 -2
  132. package/src/charts/leaderboard-chart/hooks/use-leaderboard-legend-items.ts +0 -2
  133. package/src/charts/leaderboard-chart/leaderboard-chart.module.scss +9 -10
  134. package/src/charts/leaderboard-chart/leaderboard-chart.tsx +95 -70
  135. package/src/charts/leaderboard-chart/test/leaderboard-chart.test.tsx +58 -29
  136. package/src/charts/leaderboard-chart/test/use-leaderboard-legend-items.test.tsx +2 -5
  137. package/src/charts/leaderboard-chart/types.ts +4 -7
  138. package/src/charts/line-chart/line-chart.tsx +2 -3
  139. package/src/charts/pie-chart/pie-chart.tsx +2 -3
  140. package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.tsx +2 -3
  141. package/src/components/legend/index.ts +8 -1
  142. package/src/components/legend/private/base-legend.tsx +32 -22
  143. package/src/components/legend/test/legend.test.tsx +148 -52
  144. package/src/components/legend/types.ts +42 -16
  145. package/src/hooks/test/use-zero-value-display.test.tsx +206 -0
  146. package/src/hooks/use-zero-value-display.ts +52 -23
  147. package/src/index.ts +7 -1
  148. package/src/providers/chart-context/test/chart-context.test.tsx +12 -6
  149. package/src/providers/chart-context/themes.ts +6 -4
  150. package/src/types.ts +11 -7
  151. package/src/utils/get-styles.ts +1 -1
  152. package/src/utils/test/get-styles.test.ts +12 -10
  153. package/dist/chunk-55ZCOYDF.cjs.map +0 -1
  154. package/dist/chunk-7FDQGBY7.js.map +0 -1
  155. package/dist/chunk-BXFD7JIG.cjs.map +0 -1
  156. package/dist/chunk-IS5YYLTV.js.map +0 -1
  157. package/dist/chunk-KNIMXN6Z.js +0 -51
  158. package/dist/chunk-KNIMXN6Z.js.map +0 -1
  159. package/dist/chunk-NQJE2CC7.cjs.map +0 -1
  160. package/dist/chunk-O2JIANHK.cjs.map +0 -1
  161. package/dist/chunk-OMS5QIJN.js.map +0 -1
  162. package/dist/chunk-RFSHE3HL.js.map +0 -1
  163. package/dist/chunk-SSFFCBCF.js.map +0 -1
  164. package/dist/chunk-SUDERBUA.cjs +0 -51
  165. package/dist/chunk-SUDERBUA.cjs.map +0 -1
  166. package/dist/chunk-TE63Y5PX.js.map +0 -1
  167. package/dist/chunk-UFRBUT2D.cjs.map +0 -1
  168. package/dist/chunk-VPAEBI2F.js.map +0 -1
  169. package/dist/chunk-X7JL2NYJ.cjs.map +0 -1
  170. package/dist/chunk-XD2HV7M5.js.map +0 -1
  171. package/dist/chunk-YDVHT7GS.cjs.map +0 -1
  172. package/dist/types-C05PdDJa.d.cts +0 -57
  173. package/dist/types-C05PdDJa.d.ts +0 -57
  174. /package/dist/{chunk-KHQPN77E.js.map → chunk-CZGYJKG6.js.map} +0 -0
  175. /package/dist/{chunk-MDRCAGKZ.js.map → chunk-H2V4JMSA.js.map} +0 -0
  176. /package/dist/{chunk-GWBS65VC.js.map → chunk-IU4DYUAV.js.map} +0 -0
  177. /package/dist/{chunk-E62LCBGD.js.map → chunk-PXLEMUGJ.js.map} +0 -0
package/AGENTS.md ADDED
@@ -0,0 +1,65 @@
1
+ # AGENTS.md
2
+
3
+ Package-specific guidance for AI agents working in `projects/js-packages/charts`.
4
+
5
+ ## CRITICAL Rules
6
+
7
+ - Do not invent behavior in docs. If unsure, verify implementation and stories first.
8
+ - Do not assume wildcard exports like `./*` or `./providers/*` — they don't exist. Check the explicit exports in `package.json`.
9
+
10
+ ## Changelog
11
+
12
+ Run from monorepo root:
13
+
14
+ ```bash
15
+ jp changelog add js-packages/charts -s patch -t changed -e "Charts: <user-facing change>."
16
+ ```
17
+
18
+ ## Architecture Decisions (Do Not "Fix" These)
19
+
20
+ - Accessibility behavior (keyboard navigation, accessible tooltips) is core chart behavior, not optional polish.
21
+ - Charts are responsive by default — do not add external responsive wrappers that conflict with built-in sizing semantics.
22
+
23
+ ## Documentation Workflow
24
+
25
+ - For docs tasks agents should use the skill at `.agents/skills/charts-docs.md`.
26
+ - For public chart/component docs, maintain the standard set when applicable: `[feature-name].stories.tsx` + `.docs.mdx` + `.api.mdx`. Some docs are intentionally guide-only and skip the full triplet.
27
+ - Only include animation docs when the component actually supports an `animation` prop.
28
+
29
+ ## Conventions
30
+
31
+ - Preserve backward compatibility for existing public APIs unless a breaking change is explicitly requested.
32
+ - Prefer extending existing chart components/patterns over introducing new surface area.
33
+ - Reuse existing hooks/providers/utilities before adding new abstractions.
34
+ - Avoid `!important` unless there is no viable alternative and the rationale is documented.
35
+ - Add focused behavioral tests for changed behavior; avoid speculative tests for unimplemented behavior.
36
+ - Verify behavior/UI changes in Storybook using browser automation, not only unit tests.
37
+ - Prefer charts-scoped PR titles (e.g. `Charts: ...`, `CHARTS-###: ...`).
38
+ - Include test steps and visual evidence (screenshots/GIFs) in PR descriptions for UI changes.
39
+
40
+ ## Common Pitfalls
41
+
42
+ - Claiming Rollup is used for builds (it's tsup).
43
+ - Documenting props or behavior not present in stories and implementation.
44
+ - Refactoring core composition/provider patterns as if they are accidental complexity.
45
+ - Defining new chart prop interfaces that diverge from established base chart contracts (for example, not aligning with `BaseChartProps` when appropriate).
46
+ - Using ad-hoc flexbox layouts where established layout primitives (e.g. `Stack`) should be preferred.
47
+ - Accessing colors/styles directly from `theme` rather than using `getElementStyles` from `GlobalChartsProvider`.
48
+ - Responsive wrappers that conflict with component sizing semantics (fixed-height charts, resize behavior, aspect-ratio assumptions).
49
+ - Updating `.docs.mdx` without the corresponding `.api.mdx` when API docs are affected.
50
+ - Not checking CSF file references in `.docs.mdx` when changing or removing stories.
51
+ - Stories that don't visibly demonstrate documented behavior/props, or render clipped due to container sizing.
52
+ - Breaking MDX `<Source code={\`...\` } />` rendering by malformed/flattened indentation inside template literals.
53
+ - Tooltip styles/positioning that only work on default backgrounds or fail at chart edges.
54
+ - Using mock/placeholder series data in production code.
55
+ - Avoidable multi-pass data transformations in render paths when a single pass suffices.
56
+ - CSS layout/overflow workarounds without documenting why they're needed.
57
+
58
+ ## Definition of Done
59
+
60
+ - Behavior verified in Storybook and/or tests, not only by static checks.
61
+ - Edits remain in package boundaries; avoid unrelated refactors.
62
+
63
+ ## References
64
+
65
+ - Published Storybook: `https://automattic.github.io/jetpack-storybook/?path=/docs/js-packages-charts-library`
package/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.57.0] - 2026-03-09
9
+ ### Added
10
+ - Add identity-obj-proxy to enable CSS module class assertions in tests. [#47476]
11
+
12
+ ### Changed
13
+ - BREAKING: Legend: Replace individual visx styling props with itemStyles, labelStyles, shapeStyles objects, rename legendItemClassName to itemClassName, add labelClassName, and move maxWidth/textOverflow into labelStyles. LeaderboardChart: replace legendShapeWidth/legendShapeHeight with legendShapeStyles. [#47454]
14
+ - Breaking: Legend theme properties (`legendShapeStyles`, `legendLabelStyles`, `legendContainerStyles`) are now nested under a `legend` object (`legend.shapeStyles`, `legend.labelStyles`, `legend.containerStyles`) in `ChartTheme`. [#47439]
15
+ - Switch to Native TypeScript compiler based on Go. [#47375]
16
+ - Update package dependencies. [#47496]
17
+
18
+ ### Fixed
19
+ - Charts: Fix leaderboard chart height calculation to include legend layout and keep responsive sizing by default. [#47369]
20
+ - Charts: Fix zero-value bars not visible in small chart heights by ensuring minimum pixel-based value. [#47477]
21
+ - Legend: Fix value rendering for falsy values (e.g. 0), guard against empty string spans, make value optional in types, and use index-based lookup for better performance. [#47459]
22
+
23
+ ## [0.56.7] - 2026-03-02
24
+ ### Changed
25
+ - Improve AI agent documentation and validation workflow for chart development. [#47334]
26
+ - Standardize chart documentation structure: add Responsive Behavior and Legends as standard sections, remove Browser Compatibility and Performance Considerations sections, and align all chart docs to established template. [#47363]
27
+
8
28
  ## [0.56.6] - 2026-02-26
9
29
  ### Changed
10
30
  - Simplify relocated portal positioning with CSS inset shorthand. [#47220]
@@ -708,6 +728,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
708
728
  - Fixed lints following ESLint rule changes for TS [#40584]
709
729
  - Fixing a bug in Chart storybook data. [#40640]
710
730
 
731
+ [0.57.0]: https://github.com/Automattic/charts/compare/v0.56.7...v0.57.0
732
+ [0.56.7]: https://github.com/Automattic/charts/compare/v0.56.6...v0.56.7
711
733
  [0.56.6]: https://github.com/Automattic/charts/compare/v0.56.5...v0.56.6
712
734
  [0.56.5]: https://github.com/Automattic/charts/compare/v0.56.4...v0.56.5
713
735
  [0.56.4]: https://github.com/Automattic/charts/compare/v0.56.3...v0.56.4
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A comprehensive charting library for displaying interactive data visualizations within Automattic products. Built on top of modern libraries like `@visx/xychart` and designed for accessibility, responsiveness, and ease of use.
4
4
 
5
- Explore the available charts and their documentation in [Storybook](https://automattic.github.io/jetpack-storybook/?path=/docs/js-packages-charts).
5
+ Explore the available charts and their documentation in [Storybook](https://automattic.github.io/jetpack-storybook/?path=/docs/js-packages-charts-library-introduction--docs).
6
6
 
7
7
  ## Requirements
8
8
 
@@ -72,6 +72,7 @@ The following components can be imported individually:
72
72
  - `@automattic/charts/trend-indicator` - Trend Indicator component
73
73
  - `@automattic/charts/hooks` - React hooks
74
74
  - `@automattic/charts/providers` - Context providers
75
+ - `@automattic/charts/utils` - Shared chart utility functions
75
76
  - `@automattic/charts/visx/group` - Visx group utilities
76
77
  - `@automattic/charts/visx/legend` - Visx legend utilities
77
78
  - `@automattic/charts/visx/text` - Visx text utilities
@@ -1,16 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkX7JL2NYJcjs = require('../../chunk-X7JL2NYJ.cjs');
4
+ var _chunkVJM5XCB4cjs = require('../../chunk-VJM5XCB4.cjs');
5
5
  require('../../chunk-Y3NNQMAX.cjs');
6
- require('../../chunk-UFRBUT2D.cjs');
7
- require('../../chunk-SUDERBUA.cjs');
6
+ require('../../chunk-I35UYJJR.cjs');
8
7
  require('../../chunk-ASLARV7L.cjs');
9
- require('../../chunk-YDVHT7GS.cjs');
10
- require('../../chunk-ZVGEDXDP.cjs');
8
+ require('../../chunk-RHHVEJHJ.cjs');
9
+ require('../../chunk-VTS3PNMS.cjs');
11
10
  require('../../chunk-EMMSS5I5.cjs');
12
11
 
13
12
 
14
13
 
15
- exports.BarChart = _chunkX7JL2NYJcjs.BarChartResponsive; exports.BarChartUnresponsive = _chunkX7JL2NYJcjs.BarChart;
14
+ exports.BarChart = _chunkVJM5XCB4cjs.BarChartResponsive; exports.BarChartUnresponsive = _chunkVJM5XCB4cjs.BarChart;
16
15
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,mHAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-chart/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,mHAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-chart/index.cjs"}
@@ -1,9 +1,9 @@
1
- import { L as Legend } from '../../legend-C9ahiwOt.cjs';
2
- import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-CzdN7rUe.cjs';
1
+ import { L as Legend } from '../../legend-C2grwnWk.cjs';
2
+ import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-DZordNiO.cjs';
3
3
  import { FC, ReactNode, ComponentType } from 'react';
4
4
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.cjs';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
6
- import '../../types-C05PdDJa.cjs';
6
+ import '../../types-I67mddpr.cjs';
7
7
  import '@visx/legend';
8
8
  import '@visx/xychart';
9
9
  import '@visx/annotation/lib/components/CircleSubject';
@@ -1,9 +1,9 @@
1
- import { L as Legend } from '../../legend-jjMmhSg3.js';
2
- import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-CzdN7rUe.js';
1
+ import { L as Legend } from '../../legend-Cj0xM5dU.js';
2
+ import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-DZordNiO.js';
3
3
  import { FC, ReactNode, ComponentType } from 'react';
4
4
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.js';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
6
- import '../../types-C05PdDJa.js';
6
+ import '../../types-I67mddpr.js';
7
7
  import '@visx/legend';
8
8
  import '@visx/xychart';
9
9
  import '@visx/annotation/lib/components/CircleSubject';
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  BarChart,
3
3
  BarChartResponsive
4
- } from "../../chunk-SSFFCBCF.js";
4
+ } from "../../chunk-4OPFE4RM.js";
5
5
  import "../../chunk-BPYKWMI7.js";
6
- import "../../chunk-IS5YYLTV.js";
7
- import "../../chunk-KNIMXN6Z.js";
6
+ import "../../chunk-Z26M4V2M.js";
8
7
  import "../../chunk-OP6PHB2U.js";
9
- import "../../chunk-RFSHE3HL.js";
10
- import "../../chunk-TE63Y5PX.js";
8
+ import "../../chunk-32DH6JDF.js";
9
+ import "../../chunk-DAU3HNEG.js";
11
10
  import "../../chunk-G3PMV62Z.js";
12
11
  export {
13
12
  BarChartResponsive as BarChart,
@@ -1,17 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkK6TGILHXcjs = require('../../chunk-K6TGILHX.cjs');
5
- require('../../chunk-X7JL2NYJ.cjs');
4
+ var _chunk7FQX4ALLcjs = require('../../chunk-7FQX4ALL.cjs');
5
+ require('../../chunk-VJM5XCB4.cjs');
6
6
  require('../../chunk-Y3NNQMAX.cjs');
7
- require('../../chunk-UFRBUT2D.cjs');
8
- require('../../chunk-SUDERBUA.cjs');
7
+ require('../../chunk-I35UYJJR.cjs');
9
8
  require('../../chunk-ASLARV7L.cjs');
10
- require('../../chunk-YDVHT7GS.cjs');
11
- require('../../chunk-ZVGEDXDP.cjs');
9
+ require('../../chunk-RHHVEJHJ.cjs');
10
+ require('../../chunk-VTS3PNMS.cjs');
12
11
  require('../../chunk-EMMSS5I5.cjs');
13
12
 
14
13
 
15
14
 
16
- exports.BarListChart = _chunkK6TGILHXcjs.BarListChartResponsive; exports.BarListChartUnresponsive = _chunkK6TGILHXcjs.BarListChart;
15
+ exports.BarListChart = _chunk7FQX4ALLcjs.BarListChartResponsive; exports.BarListChartUnresponsive = _chunk7FQX4ALLcjs.BarListChart;
17
16
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-list-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,mIAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-list-chart/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-list-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,mIAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-list-chart/index.cjs"}
@@ -2,10 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.cjs';
3
3
  import { TextProps } from '@visx/text';
4
4
  import { BarChartProps } from '../bar-chart/index.cjs';
5
- import { S as ScaleOptions, j as SeriesData } from '../../types-CzdN7rUe.cjs';
5
+ import { S as ScaleOptions, j as SeriesData } from '../../types-DZordNiO.cjs';
6
6
  import { ComponentType, FC } from 'react';
7
- import '../../legend-C9ahiwOt.cjs';
8
- import '../../types-C05PdDJa.cjs';
7
+ import '../../legend-C2grwnWk.cjs';
8
+ import '../../types-I67mddpr.cjs';
9
9
  import '@visx/legend';
10
10
  import '@visx/xychart';
11
11
  import '@visx/xychart/lib/components/Tooltip';
@@ -2,10 +2,10 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.js';
3
3
  import { TextProps } from '@visx/text';
4
4
  import { BarChartProps } from '../bar-chart/index.js';
5
- import { S as ScaleOptions, j as SeriesData } from '../../types-CzdN7rUe.js';
5
+ import { S as ScaleOptions, j as SeriesData } from '../../types-DZordNiO.js';
6
6
  import { ComponentType, FC } from 'react';
7
- import '../../legend-jjMmhSg3.js';
8
- import '../../types-C05PdDJa.js';
7
+ import '../../legend-Cj0xM5dU.js';
8
+ import '../../types-I67mddpr.js';
9
9
  import '@visx/legend';
10
10
  import '@visx/xychart';
11
11
  import '@visx/xychart/lib/components/Tooltip';
@@ -1,14 +1,13 @@
1
1
  import {
2
2
  BarListChart,
3
3
  BarListChartResponsive
4
- } from "../../chunk-MDRCAGKZ.js";
5
- import "../../chunk-SSFFCBCF.js";
4
+ } from "../../chunk-H2V4JMSA.js";
5
+ import "../../chunk-4OPFE4RM.js";
6
6
  import "../../chunk-BPYKWMI7.js";
7
- import "../../chunk-IS5YYLTV.js";
8
- import "../../chunk-KNIMXN6Z.js";
7
+ import "../../chunk-Z26M4V2M.js";
9
8
  import "../../chunk-OP6PHB2U.js";
10
- import "../../chunk-RFSHE3HL.js";
11
- import "../../chunk-TE63Y5PX.js";
9
+ import "../../chunk-32DH6JDF.js";
10
+ import "../../chunk-DAU3HNEG.js";
12
11
  import "../../chunk-G3PMV62Z.js";
13
12
  export {
14
13
  BarListChartResponsive as BarListChart,
@@ -1,12 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCAFJRZPZcjs = require('../../chunk-CAFJRZPZ.cjs');
4
- require('../../chunk-UFRBUT2D.cjs');
5
- require('../../chunk-SUDERBUA.cjs');
6
- require('../../chunk-YDVHT7GS.cjs');
7
- require('../../chunk-ZVGEDXDP.cjs');
3
+ var _chunk77OKCVQNcjs = require('../../chunk-77OKCVQN.cjs');
4
+ require('../../chunk-I35UYJJR.cjs');
5
+ require('../../chunk-RHHVEJHJ.cjs');
6
+ require('../../chunk-VTS3PNMS.cjs');
8
7
  require('../../chunk-EMMSS5I5.cjs');
9
8
 
10
9
 
11
- exports.ConversionFunnelChart = _chunkCAFJRZPZcjs.ConversionFunnelChartWithProvider;
10
+ exports.ConversionFunnelChart = _chunk77OKCVQNcjs.ConversionFunnelChartWithProvider;
12
11
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/conversion-funnel-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,oFAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/conversion-funnel-chart/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/conversion-funnel-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,oFAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/conversion-funnel-chart/index.cjs"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { B as BaseChartProps } from '../../types-CzdN7rUe.cjs';
2
+ import { B as BaseChartProps } from '../../types-DZordNiO.cjs';
3
3
  import '@visx/annotation/lib/components/CircleSubject';
4
4
  import '@visx/annotation/lib/components/Connector';
5
5
  import '@visx/annotation/lib/components/Label';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { B as BaseChartProps } from '../../types-CzdN7rUe.js';
2
+ import { B as BaseChartProps } from '../../types-DZordNiO.js';
3
3
  import '@visx/annotation/lib/components/CircleSubject';
4
4
  import '@visx/annotation/lib/components/Connector';
5
5
  import '@visx/annotation/lib/components/Label';
@@ -1,10 +1,9 @@
1
1
  import {
2
2
  ConversionFunnelChartWithProvider
3
- } from "../../chunk-KHQPN77E.js";
4
- import "../../chunk-IS5YYLTV.js";
5
- import "../../chunk-KNIMXN6Z.js";
6
- import "../../chunk-RFSHE3HL.js";
7
- import "../../chunk-TE63Y5PX.js";
3
+ } from "../../chunk-CZGYJKG6.js";
4
+ import "../../chunk-Z26M4V2M.js";
5
+ import "../../chunk-32DH6JDF.js";
6
+ import "../../chunk-DAU3HNEG.js";
8
7
  import "../../chunk-G3PMV62Z.js";
9
8
  export {
10
9
  ConversionFunnelChartWithProvider as ConversionFunnelChart
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3EXJP67Ncjs = require('../../chunk-3EXJP67N.cjs');
4
+ var _chunkD2UH4CFEcjs = require('../../chunk-D2UH4CFE.cjs');
5
5
  require('../../chunk-ASLARV7L.cjs');
6
- require('../../chunk-YDVHT7GS.cjs');
7
- require('../../chunk-ZVGEDXDP.cjs');
6
+ require('../../chunk-RHHVEJHJ.cjs');
7
+ require('../../chunk-VTS3PNMS.cjs');
8
8
  require('../../chunk-EMMSS5I5.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.GeoChart = _chunk3EXJP67Ncjs.GeoChartResponsive; exports.GeoChartUnresponsive = _chunk3EXJP67Ncjs.GeoChartWithProvider;
12
+ exports.GeoChart = _chunkD2UH4CFEcjs.GeoChartResponsive; exports.GeoChartUnresponsive = _chunkD2UH4CFEcjs.GeoChartWithProvider;
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.cjs';
3
3
  import { FC } from 'react';
4
- import { B as BaseChartProps, G as GeoData } from '../../types-CzdN7rUe.cjs';
4
+ import { B as BaseChartProps, G as GeoData } from '../../types-DZordNiO.cjs';
5
5
  import '@visx/annotation/lib/components/CircleSubject';
6
6
  import '@visx/annotation/lib/components/Connector';
7
7
  import '@visx/annotation/lib/components/Label';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.js';
3
3
  import { FC } from 'react';
4
- import { B as BaseChartProps, G as GeoData } from '../../types-CzdN7rUe.js';
4
+ import { B as BaseChartProps, G as GeoData } from '../../types-DZordNiO.js';
5
5
  import '@visx/annotation/lib/components/CircleSubject';
6
6
  import '@visx/annotation/lib/components/Connector';
7
7
  import '@visx/annotation/lib/components/Label';
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  GeoChartResponsive,
3
3
  GeoChartWithProvider
4
- } from "../../chunk-GWBS65VC.js";
4
+ } from "../../chunk-IU4DYUAV.js";
5
5
  import "../../chunk-OP6PHB2U.js";
6
- import "../../chunk-RFSHE3HL.js";
7
- import "../../chunk-TE63Y5PX.js";
6
+ import "../../chunk-32DH6JDF.js";
7
+ import "../../chunk-DAU3HNEG.js";
8
8
  import "../../chunk-G3PMV62Z.js";
9
9
  export {
10
10
  GeoChartResponsive as GeoChart,
@@ -2,19 +2,19 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk55ZCOYDFcjs = require('../../chunk-55ZCOYDF.cjs');
5
+ var _chunkZ45KX47Pcjs = require('../../chunk-Z45KX47P.cjs');
6
6
  require('../../chunk-RCY6XLGU.cjs');
7
- require('../../chunk-SUDERBUA.cjs');
7
+ require('../../chunk-I35UYJJR.cjs');
8
8
  require('../../chunk-ASLARV7L.cjs');
9
- require('../../chunk-YDVHT7GS.cjs');
9
+ require('../../chunk-RHHVEJHJ.cjs');
10
10
 
11
11
 
12
- var _chunkZVGEDXDPcjs = require('../../chunk-ZVGEDXDP.cjs');
12
+ var _chunkVTS3PNMScjs = require('../../chunk-VTS3PNMS.cjs');
13
13
  require('../../chunk-EMMSS5I5.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
- exports.LeaderboardChart = _chunk55ZCOYDFcjs.LeaderboardChartResponsive; exports.LeaderboardChartUnresponsive = _chunk55ZCOYDFcjs.LeaderboardChart; exports.formatMetricValue = _chunkZVGEDXDPcjs.formatMetricValue; exports.useLeaderboardLegendItems = _chunk55ZCOYDFcjs.useLeaderboardLegendItems;
19
+ exports.LeaderboardChart = _chunkZ45KX47Pcjs.LeaderboardChartResponsive; exports.LeaderboardChartUnresponsive = _chunkZ45KX47Pcjs.LeaderboardChart; exports.formatMetricValue = _chunkVTS3PNMScjs.formatMetricValue; exports.useLeaderboardLegendItems = _chunkZ45KX47Pcjs.useLeaderboardLegendItems;
20
20
  //# sourceMappingURL=index.cjs.map
@@ -109,19 +109,20 @@
109
109
 
110
110
  /* esbuild-sass-plugin:css-chunk:src/charts/leaderboard-chart/leaderboard-chart.module.scss */
111
111
  .a8ccharts-V3NYDq {
112
- display: flex;
113
- flex-direction: column;
114
112
  transition: opacity 0.3s ease-in-out;
115
113
  }
116
- .a8ccharts-9sUdJT {
117
- flex-direction: column-reverse;
118
- }
119
- .a8ccharts-768THZ {
120
- gap: 16px;
114
+ .a8ccharts-WHNERS {
115
+ height: 100%;
116
+ width: 100%;
121
117
  }
122
118
  .a8ccharts-JQbl6A {
123
119
  opacity: 0.5;
124
120
  }
121
+ .a8ccharts-Ml1kKc {
122
+ flex: 1;
123
+ min-height: 0;
124
+ overflow: auto;
125
+ }
125
126
  .a8ccharts-ETItHW {
126
127
  display: grid;
127
128
  align-items: center;
@@ -156,8 +157,6 @@
156
157
  }
157
158
  }
158
159
  .a8ccharts-B6VcRn {
159
- display: flex;
160
- gap: 4px;
161
160
  justify-content: flex-end;
162
161
  }
163
162
  .a8ccharts-GB7tyM {
@@ -1 +1 @@
1
- {"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/hooks/use-tooltip-portal-relocator.module.scss","esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/charts/private/with-responsive/with-responsive.module.scss","esbuild-sass-plugin:css-chunk:src/charts/leaderboard-chart/leaderboard-chart.module.scss"],"sourcesContent":[".a8ccharts-jCw5dQ {\n position: fixed;\n inset: 0;\n overflow: visible;\n z-index: 1;\n pointer-events: none;\n}",".a8ccharts-AELBvX {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 16px;\n}\n.a8ccharts-fX8uQe {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.a8ccharts-fX8uQe.a8ccharts-DEe0wg {\n align-items: flex-start;\n}\n.a8ccharts-fX8uQe.a8ccharts-WBKF9I {\n align-items: center;\n}\n.a8ccharts-fX8uQe.a8ccharts-JfwMng {\n align-items: flex-end;\n}\n.a8ccharts-8Y73Kh {\n position: relative;\n}\n.a8ccharts-8Y73Kh.a8ccharts-DEe0wg {\n justify-content: flex-start;\n}\n.a8ccharts-8Y73Kh.a8ccharts-WBKF9I {\n justify-content: center;\n}\n.a8ccharts-8Y73Kh.a8ccharts-JfwMng {\n justify-content: flex-end;\n}\n.a8ccharts-TVM-IY {\n position: relative;\n}\n.a8ccharts-TVM-IY.a8ccharts-DEe0wg {\n justify-content: flex-start;\n}\n.a8ccharts-TVM-IY.a8ccharts-WBKF9I {\n justify-content: center;\n}\n.a8ccharts-TVM-IY.a8ccharts-JfwMng {\n justify-content: flex-end;\n}\n\n.a8ccharts-Vflwq8 {\n display: flex;\n align-items: center;\n font-size: 0.875rem;\n}\n.a8ccharts-qGsavM {\n cursor: pointer;\n user-select: none;\n transition: opacity 0.2s ease;\n}\n.a8ccharts-qGsavM:hover {\n opacity: 0.8;\n}\n.a8ccharts-qGsavM:focus {\n outline: 2px solid currentColor;\n outline-offset: 2px;\n border-radius: 4px;\n}\n.a8ccharts-qGsavM:focus:not(:focus-visible) {\n outline: none;\n}\n.a8ccharts-ZtDY-Q {\n opacity: 0.4;\n}\n.a8ccharts-ZtDY-Q .a8ccharts-2H65Kr {\n text-decoration: line-through;\n}\n\n.a8ccharts-2H65Kr {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n /* Text wrapping is handled at the text level, not the label container */\n}\n\n.a8ccharts-faSDBI {\n overflow-wrap: break-word;\n white-space: normal;\n hyphens: auto;\n}\n.a8ccharts-FISUIO {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-shrink: 1;\n min-width: 0;\n}\n\n.a8ccharts-DTZlT- {\n font-weight: 500;\n flex-shrink: 0;\n}",".a8ccharts-GSKfBD {\n min-width: 0;\n min-height: 0;\n}",".a8ccharts-V3NYDq {\n display: flex;\n flex-direction: column;\n transition: opacity 0.3s ease-in-out;\n}\n.a8ccharts-9sUdJT {\n flex-direction: column-reverse;\n}\n.a8ccharts-768THZ {\n gap: 16px;\n}\n.a8ccharts-JQbl6A {\n opacity: 0.5;\n}\n\n.a8ccharts-ETItHW {\n display: grid;\n align-items: center;\n grid-template-columns: 1fr;\n row-gap: 6px;\n isolation: isolate;\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH {\n grid-template: \"overlap\" 1fr/1fr;\n /* contains a single cell callded 'overlap' */\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH > * {\n grid-area: overlap;\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH .a8ccharts-UciQnF {\n padding-left: 8px;\n}\n.a8ccharts-ETItHW .a8ccharts-np8f0T {\n height: 100%;\n min-height: 6px;\n border-radius: var(--a8c--charts--leaderboard--bar--border-radius, 9999px);\n z-index: -1; /* places it behind the label */\n}\n.a8ccharts-ETItHW .a8ccharts-zq3CmS {\n transform-origin: left;\n transform-box: fill-box;\n transform: scaleX(0);\n animation: a8ccharts-D0Q3w1 1s ease-out forwards;\n}\n@keyframes a8ccharts-D0Q3w1 {\n to {\n transform: scaleX(1);\n }\n}\n\n.a8ccharts-B6VcRn {\n display: flex;\n gap: 4px;\n justify-content: flex-end;\n}\n\n.a8ccharts-GB7tyM {\n align-items: center;\n}\n\n.a8ccharts-E0K4Hr {\n padding: 32px 16px;\n text-align: center;\n color: #666;\n font-size: 14px;\n font-style: italic;\n}"],"mappings":";AAAA,CAAC;AACC,YAAU;AACV,SAAO;AACP,YAAU;AACV,WAAS;AACT,kBAAgB;AAClB;;;ACNA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,aAAW;AACX,OAAK;AACP;AACA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,OAAK;AACP;AACA,CALC,gBAKgB,CAAC;AAChB,eAAa;AACf;AACA,CARC,gBAQgB,CAAC;AAChB,eAAa;AACf;AACA,CAXC,gBAWgB,CAAC;AAChB,eAAa;AACf;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAHC,gBAGgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CANC,gBAMgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CATC,gBASgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAHC,gBAGgB,CAxBC;AAyBhB,mBAAiB;AACnB;AACA,CANC,gBAMgB,CAxBC;AAyBhB,mBAAiB;AACnB;AACA,CATC,gBASgB,CAxBC;AAyBhB,mBAAiB;AACnB;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,aAAW;AACb;AACA,CAAC;AACC,UAAQ;AACR,eAAa;AACb,cAAY,QAAQ,KAAK;AAC3B;AACA,CALC,gBAKgB;AACf,WAAS;AACX;AACA,CARC,gBAQgB;AACf,WAAS,IAAI,MAAM;AACnB,kBAAgB;AAChB,iBAAe;AACjB;AACA,CAbC,gBAagB,MAAM,KAAK;AAC1B,WAAS;AACX;AACA,CAAC;AACC,WAAS;AACX;AACA,CAHC,iBAGiB,CAAC;AACjB,mBAAiB;AACnB;AAEA,CAJmB;AAKjB,WAAS;AACT,eAAa;AACb,OAAK;AAEP;AAEA,CAAC;AACC,iBAAe;AACf,eAAa;AACb,WAAS;AACX;AACA,CAAC;AACC,eAAa;AACb,YAAU;AACV,iBAAe;AACf,eAAa;AACb,aAAW;AACb;AAEA,CAAC;AACC,eAAa;AACb,eAAa;AACf;;;AChGA,CAAC;AACC,aAAW;AACX,cAAY;AACd;;;ACHA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,cAAY,QAAQ,KAAK;AAC3B;AACA,CAAC;AACC,kBAAgB;AAClB;AACA,CAAC;AACC,OAAK;AACP;AACA,CAAC;AACC,WAAS;AACX;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,yBAAuB;AACvB,WAAS;AACT,aAAW;AACb;AACA,CAPC,gBAOgB,CAAC;AAChB,iBAAe,UAAU,GAAG,CAAC;AAE/B;AACA,CAXC,gBAWgB,CAJC,iBAIiB,EAAE;AACnC,aAAW;AACb;AACA,CAdC,gBAcgB,CAPC,iBAOiB,CAAC;AAClC,gBAAc;AAChB;AACA,CAjBC,iBAiBiB,CAAC;AACjB,UAAQ;AACR,cAAY;AACZ,iBAAe,IAAI,8CAA8C,EAAE;AACnE,WAAS;AACX;AACA,CAvBC,iBAuBiB,CAAC;AACjB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;AAEA,CAAC;AACC,WAAS;AACT,OAAK;AACL,mBAAiB;AACnB;AAEA,CAAC;AACC,eAAa;AACf;AAEA,CAAC;AACC,WAAS,KAAK;AACd,cAAY;AACZ,SAAO;AACP,aAAW;AACX,cAAY;AACd;","names":[]}
1
+ {"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/hooks/use-tooltip-portal-relocator.module.scss","esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/charts/private/with-responsive/with-responsive.module.scss","esbuild-sass-plugin:css-chunk:src/charts/leaderboard-chart/leaderboard-chart.module.scss"],"sourcesContent":[".a8ccharts-jCw5dQ {\n position: fixed;\n inset: 0;\n overflow: visible;\n z-index: 1;\n pointer-events: none;\n}",".a8ccharts-AELBvX {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 16px;\n}\n.a8ccharts-fX8uQe {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.a8ccharts-fX8uQe.a8ccharts-DEe0wg {\n align-items: flex-start;\n}\n.a8ccharts-fX8uQe.a8ccharts-WBKF9I {\n align-items: center;\n}\n.a8ccharts-fX8uQe.a8ccharts-JfwMng {\n align-items: flex-end;\n}\n.a8ccharts-8Y73Kh {\n position: relative;\n}\n.a8ccharts-8Y73Kh.a8ccharts-DEe0wg {\n justify-content: flex-start;\n}\n.a8ccharts-8Y73Kh.a8ccharts-WBKF9I {\n justify-content: center;\n}\n.a8ccharts-8Y73Kh.a8ccharts-JfwMng {\n justify-content: flex-end;\n}\n.a8ccharts-TVM-IY {\n position: relative;\n}\n.a8ccharts-TVM-IY.a8ccharts-DEe0wg {\n justify-content: flex-start;\n}\n.a8ccharts-TVM-IY.a8ccharts-WBKF9I {\n justify-content: center;\n}\n.a8ccharts-TVM-IY.a8ccharts-JfwMng {\n justify-content: flex-end;\n}\n\n.a8ccharts-Vflwq8 {\n display: flex;\n align-items: center;\n font-size: 0.875rem;\n}\n.a8ccharts-qGsavM {\n cursor: pointer;\n user-select: none;\n transition: opacity 0.2s ease;\n}\n.a8ccharts-qGsavM:hover {\n opacity: 0.8;\n}\n.a8ccharts-qGsavM:focus {\n outline: 2px solid currentColor;\n outline-offset: 2px;\n border-radius: 4px;\n}\n.a8ccharts-qGsavM:focus:not(:focus-visible) {\n outline: none;\n}\n.a8ccharts-ZtDY-Q {\n opacity: 0.4;\n}\n.a8ccharts-ZtDY-Q .a8ccharts-2H65Kr {\n text-decoration: line-through;\n}\n\n.a8ccharts-2H65Kr {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n /* Text wrapping is handled at the text level, not the label container */\n}\n\n.a8ccharts-faSDBI {\n overflow-wrap: break-word;\n white-space: normal;\n hyphens: auto;\n}\n.a8ccharts-FISUIO {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-shrink: 1;\n min-width: 0;\n}\n\n.a8ccharts-DTZlT- {\n font-weight: 500;\n flex-shrink: 0;\n}",".a8ccharts-GSKfBD {\n min-width: 0;\n min-height: 0;\n}",".a8ccharts-V3NYDq {\n transition: opacity 0.3s ease-in-out;\n}\n.a8ccharts-WHNERS {\n height: 100%;\n width: 100%;\n}\n.a8ccharts-JQbl6A {\n opacity: 0.5;\n}\n.a8ccharts-Ml1kKc {\n flex: 1;\n min-height: 0;\n overflow: auto;\n}\n\n.a8ccharts-ETItHW {\n display: grid;\n align-items: center;\n grid-template-columns: 1fr;\n row-gap: 6px;\n isolation: isolate;\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH {\n grid-template: \"overlap\" 1fr/1fr;\n /* contains a single cell callded 'overlap' */\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH > * {\n grid-area: overlap;\n}\n.a8ccharts-ETItHW.a8ccharts-oA4hdH .a8ccharts-UciQnF {\n padding-left: 8px;\n}\n.a8ccharts-ETItHW .a8ccharts-np8f0T {\n height: 100%;\n min-height: 6px;\n border-radius: var(--a8c--charts--leaderboard--bar--border-radius, 9999px);\n z-index: -1; /* places it behind the label */\n}\n.a8ccharts-ETItHW .a8ccharts-zq3CmS {\n transform-origin: left;\n transform-box: fill-box;\n transform: scaleX(0);\n animation: a8ccharts-D0Q3w1 1s ease-out forwards;\n}\n@keyframes a8ccharts-D0Q3w1 {\n to {\n transform: scaleX(1);\n }\n}\n\n.a8ccharts-B6VcRn {\n justify-content: flex-end;\n}\n\n.a8ccharts-GB7tyM {\n align-items: center;\n}\n\n.a8ccharts-E0K4Hr {\n padding: 32px 16px;\n text-align: center;\n color: #666;\n font-size: 14px;\n font-style: italic;\n}"],"mappings":";AAAA,CAAC;AACC,YAAU;AACV,SAAO;AACP,YAAU;AACV,WAAS;AACT,kBAAgB;AAClB;;;ACNA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,aAAW;AACX,OAAK;AACP;AACA,CAAC;AACC,WAAS;AACT,kBAAgB;AAChB,OAAK;AACP;AACA,CALC,gBAKgB,CAAC;AAChB,eAAa;AACf;AACA,CARC,gBAQgB,CAAC;AAChB,eAAa;AACf;AACA,CAXC,gBAWgB,CAAC;AAChB,eAAa;AACf;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAHC,gBAGgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CANC,gBAMgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CATC,gBASgB,CAZC;AAahB,mBAAiB;AACnB;AACA,CAAC;AACC,YAAU;AACZ;AACA,CAHC,gBAGgB,CAxBC;AAyBhB,mBAAiB;AACnB;AACA,CANC,gBAMgB,CAxBC;AAyBhB,mBAAiB;AACnB;AACA,CATC,gBASgB,CAxBC;AAyBhB,mBAAiB;AACnB;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,aAAW;AACb;AACA,CAAC;AACC,UAAQ;AACR,eAAa;AACb,cAAY,QAAQ,KAAK;AAC3B;AACA,CALC,gBAKgB;AACf,WAAS;AACX;AACA,CARC,gBAQgB;AACf,WAAS,IAAI,MAAM;AACnB,kBAAgB;AAChB,iBAAe;AACjB;AACA,CAbC,gBAagB,MAAM,KAAK;AAC1B,WAAS;AACX;AACA,CAAC;AACC,WAAS;AACX;AACA,CAHC,iBAGiB,CAAC;AACjB,mBAAiB;AACnB;AAEA,CAJmB;AAKjB,WAAS;AACT,eAAa;AACb,OAAK;AAEP;AAEA,CAAC;AACC,iBAAe;AACf,eAAa;AACb,WAAS;AACX;AACA,CAAC;AACC,eAAa;AACb,YAAU;AACV,iBAAe;AACf,eAAa;AACb,aAAW;AACb;AAEA,CAAC;AACC,eAAa;AACb,eAAa;AACf;;;AChGA,CAAC;AACC,aAAW;AACX,cAAY;AACd;;;ACHA,CAAC;AACC,cAAY,QAAQ,KAAK;AAC3B;AACA,CAAC;AACC,UAAQ;AACR,SAAO;AACT;AACA,CAAC;AACC,WAAS;AACX;AACA,CAAC;AACC,QAAM;AACN,cAAY;AACZ,YAAU;AACZ;AAEA,CAAC;AACC,WAAS;AACT,eAAa;AACb,yBAAuB;AACvB,WAAS;AACT,aAAW;AACb;AACA,CAPC,gBAOgB,CAAC;AAChB,iBAAe,UAAU,GAAG,CAAC;AAE/B;AACA,CAXC,gBAWgB,CAJC,iBAIiB,EAAE;AACnC,aAAW;AACb;AACA,CAdC,gBAcgB,CAPC,iBAOiB,CAAC;AAClC,gBAAc;AAChB;AACA,CAjBC,iBAiBiB,CAAC;AACjB,UAAQ;AACR,cAAY;AACZ,iBAAe,IAAI,8CAA8C,EAAE;AACnE,WAAS;AACX;AACA,CAvBC,iBAuBiB,CAAC;AACjB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;AAEA,CAAC;AACC,mBAAiB;AACnB;AAEA,CAAC;AACC,eAAa;AACf;AAEA,CAAC;AACC,WAAS,KAAK;AACd,cAAY;AACZ,SAAO;AACP,aAAW;AACX,cAAY;AACd;","names":[]}
@@ -1,7 +1,7 @@
1
- export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-COtgamhe.cjs';
2
- import { L as LeaderboardEntry } from '../../types-CzdN7rUe.cjs';
1
+ export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-DR7CGb0L.cjs';
2
+ import { L as LeaderboardEntry } from '../../types-DZordNiO.cjs';
3
3
  export { M as MetricValueType, f as formatMetricValue } from '../../format-metric-value-MXm5DtQ_.cjs';
4
- import { B as BaseLegendItem } from '../../types-C05PdDJa.cjs';
4
+ import { B as BaseLegendItem } from '../../types-I67mddpr.cjs';
5
5
  import 'react/jsx-runtime';
6
6
  import '../../with-responsive-CNfhzAUu.cjs';
7
7
  import 'react';
@@ -1,7 +1,7 @@
1
- export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-BSgEw_Um.js';
2
- import { L as LeaderboardEntry } from '../../types-CzdN7rUe.js';
1
+ export { L as LeaderboardChart, b as LeaderboardChartProps, a as LeaderboardChartUnresponsive } from '../../leaderboard-chart-BKYYXcg2.js';
2
+ import { L as LeaderboardEntry } from '../../types-DZordNiO.js';
3
3
  export { M as MetricValueType, f as formatMetricValue } from '../../format-metric-value-MXm5DtQ_.js';
4
- import { B as BaseLegendItem } from '../../types-C05PdDJa.js';
4
+ import { B as BaseLegendItem } from '../../types-I67mddpr.js';
5
5
  import 'react/jsx-runtime';
6
6
  import '../../with-responsive-CNfhzAUu.js';
7
7
  import 'react';
@@ -2,14 +2,14 @@ import {
2
2
  LeaderboardChart,
3
3
  LeaderboardChartResponsive,
4
4
  useLeaderboardLegendItems
5
- } from "../../chunk-XD2HV7M5.js";
5
+ } from "../../chunk-2NCY7R4G.js";
6
6
  import "../../chunk-6CCZL2JJ.js";
7
- import "../../chunk-KNIMXN6Z.js";
7
+ import "../../chunk-Z26M4V2M.js";
8
8
  import "../../chunk-OP6PHB2U.js";
9
- import "../../chunk-RFSHE3HL.js";
9
+ import "../../chunk-32DH6JDF.js";
10
10
  import {
11
11
  formatMetricValue
12
- } from "../../chunk-TE63Y5PX.js";
12
+ } from "../../chunk-DAU3HNEG.js";
13
13
  import "../../chunk-G3PMV62Z.js";
14
14
  export {
15
15
  LeaderboardChartResponsive as LeaderboardChart,
@@ -1,16 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkO2JIANHKcjs = require('../../chunk-O2JIANHK.cjs');
4
+ var _chunkYE2T52VZcjs = require('../../chunk-YE2T52VZ.cjs');
5
5
  require('../../chunk-Y3NNQMAX.cjs');
6
- require('../../chunk-UFRBUT2D.cjs');
7
- require('../../chunk-SUDERBUA.cjs');
6
+ require('../../chunk-I35UYJJR.cjs');
8
7
  require('../../chunk-ASLARV7L.cjs');
9
- require('../../chunk-YDVHT7GS.cjs');
10
- require('../../chunk-ZVGEDXDP.cjs');
8
+ require('../../chunk-RHHVEJHJ.cjs');
9
+ require('../../chunk-VTS3PNMS.cjs');
11
10
  require('../../chunk-EMMSS5I5.cjs');
12
11
 
13
12
 
14
13
 
15
- exports.LineChart = _chunkO2JIANHKcjs.LineChartResponsive; exports.LineChartUnresponsive = _chunkO2JIANHKcjs.LineChart;
14
+ exports.LineChart = _chunkYE2T52VZcjs.LineChartResponsive; exports.LineChartUnresponsive = _chunkYE2T52VZcjs.LineChart;
16
15
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/line-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,uHAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/line-chart/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/line-chart/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACF,uHAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/line-chart/index.cjs"}
@@ -1,10 +1,10 @@
1
- import { L as Legend } from '../../legend-C9ahiwOt.cjs';
2
- import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-CzdN7rUe.cjs';
1
+ import { L as Legend } from '../../legend-C2grwnWk.cjs';
2
+ import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-DZordNiO.cjs';
3
3
  import { FC, ReactNode, SVGProps } from 'react';
4
4
  import { GlyphProps } from '@visx/xychart';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
6
6
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.cjs';
7
- import '../../types-C05PdDJa.cjs';
7
+ import '../../types-I67mddpr.cjs';
8
8
  import '@visx/legend';
9
9
  import '@visx/annotation/lib/components/CircleSubject';
10
10
  import '@visx/annotation/lib/components/Connector';
@@ -1,10 +1,10 @@
1
- import { L as Legend } from '../../legend-jjMmhSg3.js';
2
- import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-CzdN7rUe.js';
1
+ import { L as Legend } from '../../legend-Cj0xM5dU.js';
2
+ import { B as BaseChartProps, j as SeriesData, c as DataPointDate, A as AnnotationStyles, O as Optional } from '../../types-DZordNiO.js';
3
3
  import { FC, ReactNode, SVGProps } from 'react';
4
4
  import { GlyphProps } from '@visx/xychart';
5
5
  import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
6
6
  import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.js';
7
- import '../../types-C05PdDJa.js';
7
+ import '../../types-I67mddpr.js';
8
8
  import '@visx/legend';
9
9
  import '@visx/annotation/lib/components/CircleSubject';
10
10
  import '@visx/annotation/lib/components/Connector';
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  LineChart,
3
3
  LineChartResponsive
4
- } from "../../chunk-OMS5QIJN.js";
4
+ } from "../../chunk-WLODYNLB.js";
5
5
  import "../../chunk-BPYKWMI7.js";
6
- import "../../chunk-IS5YYLTV.js";
7
- import "../../chunk-KNIMXN6Z.js";
6
+ import "../../chunk-Z26M4V2M.js";
8
7
  import "../../chunk-OP6PHB2U.js";
9
- import "../../chunk-RFSHE3HL.js";
10
- import "../../chunk-TE63Y5PX.js";
8
+ import "../../chunk-32DH6JDF.js";
9
+ import "../../chunk-DAU3HNEG.js";
11
10
  import "../../chunk-G3PMV62Z.js";
12
11
  export {
13
12
  LineChartResponsive as LineChart,