@automattic/charts 0.55.0 → 0.56.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.
- package/CHANGELOG.md +12 -0
- package/README.md +5 -0
- package/dist/charts/bar-chart/index.cjs +6 -5
- package/dist/charts/bar-chart/index.cjs.map +1 -1
- package/dist/charts/bar-chart/index.css +3 -9
- package/dist/charts/bar-chart/index.css.map +1 -1
- package/dist/charts/bar-chart/index.d.cts +8 -1
- package/dist/charts/bar-chart/index.d.ts +8 -1
- package/dist/charts/bar-chart/index.js +5 -4
- package/dist/charts/bar-list-chart/index.cjs +7 -6
- package/dist/charts/bar-list-chart/index.cjs.map +1 -1
- package/dist/charts/bar-list-chart/index.css +3 -9
- package/dist/charts/bar-list-chart/index.css.map +1 -1
- package/dist/charts/bar-list-chart/index.d.cts +7 -2
- package/dist/charts/bar-list-chart/index.d.ts +7 -2
- package/dist/charts/bar-list-chart/index.js +6 -5
- package/dist/charts/conversion-funnel-chart/index.cjs +3 -3
- package/dist/charts/conversion-funnel-chart/index.css +95 -0
- package/dist/charts/conversion-funnel-chart/index.css.map +1 -1
- package/dist/charts/conversion-funnel-chart/index.js +2 -2
- package/dist/charts/geo-chart/index.cjs +4 -4
- package/dist/charts/geo-chart/index.css +95 -0
- package/dist/charts/geo-chart/index.css.map +1 -1
- package/dist/charts/geo-chart/index.d.cts +6 -2
- package/dist/charts/geo-chart/index.d.ts +6 -2
- package/dist/charts/geo-chart/index.js +3 -3
- package/dist/charts/leaderboard-chart/index.cjs +5 -5
- package/dist/charts/leaderboard-chart/index.d.cts +2 -2
- package/dist/charts/leaderboard-chart/index.d.ts +2 -2
- package/dist/charts/leaderboard-chart/index.js +4 -4
- package/dist/charts/line-chart/index.cjs +6 -5
- package/dist/charts/line-chart/index.cjs.map +1 -1
- package/dist/charts/line-chart/index.css +4 -5
- package/dist/charts/line-chart/index.css.map +1 -1
- package/dist/charts/line-chart/index.d.cts +8 -1
- package/dist/charts/line-chart/index.d.ts +8 -1
- package/dist/charts/line-chart/index.js +5 -4
- package/dist/charts/pie-chart/index.cjs +4 -5
- package/dist/charts/pie-chart/index.cjs.map +1 -1
- package/dist/charts/pie-chart/index.d.cts +16 -2
- package/dist/charts/pie-chart/index.d.ts +16 -2
- package/dist/charts/pie-chart/index.js +3 -4
- package/dist/charts/pie-semi-circle-chart/index.cjs +4 -5
- package/dist/charts/pie-semi-circle-chart/index.cjs.map +1 -1
- package/dist/charts/pie-semi-circle-chart/index.d.cts +16 -2
- package/dist/charts/pie-semi-circle-chart/index.d.ts +16 -2
- package/dist/charts/pie-semi-circle-chart/index.js +3 -4
- package/dist/charts/sparkline/index.cjs +7 -6
- package/dist/charts/sparkline/index.cjs.map +1 -1
- package/dist/charts/sparkline/index.css +4 -5
- package/dist/charts/sparkline/index.css.map +1 -1
- package/dist/charts/sparkline/index.d.cts +6 -2
- package/dist/charts/sparkline/index.d.ts +6 -2
- package/dist/charts/sparkline/index.js +6 -5
- package/dist/{chunk-673BKWW6.js → chunk-272NNCPI.js} +4 -4
- package/dist/{chunk-2NRSBKV2.js → chunk-27SM4IQP.js} +6 -6
- package/dist/chunk-27SM4IQP.js.map +1 -0
- package/dist/{chunk-RDJ5PKC5.js → chunk-4GZN73UT.js} +3 -3
- package/dist/{chunk-Z34VYZGR.js → chunk-6MRFBHMH.js} +48 -38
- package/dist/chunk-6MRFBHMH.js.map +1 -0
- package/dist/{chunk-3OONWZ4Z.cjs → chunk-B3DFLK2K.cjs} +153 -133
- package/dist/chunk-B3DFLK2K.cjs.map +1 -0
- package/dist/{chunk-JWMWOBAX.cjs → chunk-CG33WKLC.cjs} +33 -33
- package/dist/chunk-CG33WKLC.cjs.map +1 -0
- package/dist/{chunk-R3MMQD6X.cjs → chunk-EKCJKLOF.cjs} +7 -7
- package/dist/{chunk-R3MMQD6X.cjs.map → chunk-EKCJKLOF.cjs.map} +1 -1
- package/dist/{chunk-EGGRTD4V.cjs → chunk-FLF337K7.cjs} +8 -8
- package/dist/chunk-FLF337K7.cjs.map +1 -0
- package/dist/{chunk-4KEE36W3.cjs → chunk-GRYNIPWH.cjs} +36 -30
- package/dist/chunk-GRYNIPWH.cjs.map +1 -0
- package/dist/{chunk-DYMJWNYM.js → chunk-H34CJSR6.js} +470 -10
- package/dist/chunk-H34CJSR6.js.map +1 -0
- package/dist/chunk-HOTYXYXV.cjs +80 -0
- package/dist/chunk-HOTYXYXV.cjs.map +1 -0
- package/dist/chunk-I5467ZJ5.cjs +51 -0
- package/dist/chunk-I5467ZJ5.cjs.map +1 -0
- package/dist/{chunk-UWAZGLHG.cjs → chunk-KCTWZVS7.cjs} +43 -33
- package/dist/chunk-KCTWZVS7.cjs.map +1 -0
- package/dist/{chunk-H6XRINJE.js → chunk-M6EUGS3O.js} +20 -20
- package/dist/chunk-M6EUGS3O.js.map +1 -0
- package/dist/chunk-MEIVKY4K.js +425 -0
- package/dist/chunk-MEIVKY4K.js.map +1 -0
- package/dist/{chunk-LNLHCZ6F.cjs → chunk-MHPM4VM6.cjs} +62 -52
- package/dist/chunk-MHPM4VM6.cjs.map +1 -0
- package/dist/{chunk-CLSMJQCO.cjs → chunk-MZIJOH7W.cjs} +7 -7
- package/dist/{chunk-CLSMJQCO.cjs.map → chunk-MZIJOH7W.cjs.map} +1 -1
- package/dist/{chunk-6RKPV3UP.js → chunk-PG2PMWB4.js} +31 -21
- package/dist/chunk-PG2PMWB4.js.map +1 -0
- package/dist/{chunk-JTMZ6WUW.js → chunk-QPSI3WAI.js} +40 -60
- package/dist/chunk-QPSI3WAI.js.map +1 -0
- package/dist/{chunk-PU2UO4EG.js → chunk-R2CNVHX4.js} +139 -119
- package/dist/chunk-R2CNVHX4.js.map +1 -0
- package/dist/chunk-SEKPIG5K.js +51 -0
- package/dist/chunk-SEKPIG5K.js.map +1 -0
- package/dist/chunk-SH32YSZO.cjs +425 -0
- package/dist/chunk-SH32YSZO.cjs.map +1 -0
- package/dist/{chunk-WKN6C4ZE.cjs → chunk-TVV7ZI7C.cjs} +474 -14
- package/dist/chunk-TVV7ZI7C.cjs.map +1 -0
- package/dist/chunk-VKXEGONO.js +80 -0
- package/dist/chunk-VKXEGONO.js.map +1 -0
- package/dist/{chunk-CNTVKN67.cjs → chunk-XYRHRIOW.cjs} +78 -98
- package/dist/chunk-XYRHRIOW.cjs.map +1 -0
- package/dist/{chunk-DCZ47KPZ.js → chunk-ZWBUEHKF.js} +29 -23
- package/dist/chunk-ZWBUEHKF.js.map +1 -0
- package/dist/components/legend/index.cjs +2 -3
- package/dist/components/legend/index.cjs.map +1 -1
- package/dist/components/legend/index.js +1 -2
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.css +95 -0
- package/dist/hooks/index.css.map +1 -0
- package/dist/hooks/index.d.cts +10 -2
- package/dist/hooks/index.d.ts +10 -2
- package/dist/hooks/index.js +3 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +7 -14
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +15 -15
- package/dist/{leaderboard-chart-B5wFjRli.d.ts → leaderboard-chart-B5gWcqe7.d.ts} +6 -2
- package/dist/{leaderboard-chart-Do-QxzwO.d.cts → leaderboard-chart-C_6QDcqj.d.cts} +6 -2
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.css +95 -0
- package/dist/providers/index.css.map +1 -0
- package/dist/providers/index.js +1 -1
- package/dist/{with-responsive-Cp2qnQPo.d.cts → with-responsive-CNfhzAUu.d.cts} +3 -1
- package/dist/{with-responsive-Cp2qnQPo.d.ts → with-responsive-CNfhzAUu.d.ts} +3 -1
- package/package.json +6 -1
- package/src/charts/bar-chart/bar-chart.module.scss +3 -8
- package/src/charts/bar-chart/bar-chart.tsx +153 -117
- package/src/charts/bar-chart/test/bar-chart.test.tsx +6 -0
- package/src/charts/bar-list-chart/bar-list-chart.tsx +2 -2
- package/src/charts/conversion-funnel-chart/conversion-funnel-chart.tsx +37 -21
- package/src/charts/line-chart/line-chart.module.scss +5 -6
- package/src/charts/line-chart/line-chart.tsx +184 -164
- package/src/charts/line-chart/test/line-chart.test.tsx +6 -0
- package/src/charts/line-chart/types.ts +7 -0
- package/src/charts/pie-chart/index.ts +1 -1
- package/src/charts/pie-chart/pie-chart.tsx +45 -16
- package/src/charts/pie-chart/test/pie-chart.test.tsx +37 -0
- package/src/charts/pie-semi-circle-chart/index.ts +5 -1
- package/src/charts/pie-semi-circle-chart/pie-semi-circle-chart.tsx +56 -16
- package/src/charts/pie-semi-circle-chart/test/pie-semi-circle-chart.test.tsx +44 -0
- package/src/charts/private/with-responsive/test/with-responsive.test.tsx +61 -29
- package/src/charts/private/with-responsive/with-responsive.tsx +49 -15
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-has-legend-child.ts +22 -0
- package/src/index.ts +5 -1
- package/tsup.config.ts +1 -0
- package/dist/chunk-2NRSBKV2.js.map +0 -1
- package/dist/chunk-3OONWZ4Z.cjs.map +0 -1
- package/dist/chunk-4KEE36W3.cjs.map +0 -1
- package/dist/chunk-6RKPV3UP.js.map +0 -1
- package/dist/chunk-ALDWCNLH.js +0 -455
- package/dist/chunk-ALDWCNLH.js.map +0 -1
- package/dist/chunk-CNTVKN67.cjs.map +0 -1
- package/dist/chunk-DCZ47KPZ.js.map +0 -1
- package/dist/chunk-DYMJWNYM.js.map +0 -1
- package/dist/chunk-EGGRTD4V.cjs.map +0 -1
- package/dist/chunk-H6XRINJE.js.map +0 -1
- package/dist/chunk-JTMZ6WUW.js.map +0 -1
- package/dist/chunk-JWMWOBAX.cjs.map +0 -1
- package/dist/chunk-LNLHCZ6F.cjs.map +0 -1
- package/dist/chunk-MUUSZ7J5.cjs +0 -58
- package/dist/chunk-MUUSZ7J5.cjs.map +0 -1
- package/dist/chunk-NONODB3K.js +0 -58
- package/dist/chunk-NONODB3K.js.map +0 -1
- package/dist/chunk-PU2UO4EG.js.map +0 -1
- package/dist/chunk-UWAZGLHG.cjs.map +0 -1
- package/dist/chunk-WKN6C4ZE.cjs.map +0 -1
- package/dist/chunk-Z34VYZGR.js.map +0 -1
- package/dist/chunk-ZPJHWKEK.cjs +0 -455
- package/dist/chunk-ZPJHWKEK.cjs.map +0 -1
- /package/dist/{chunk-673BKWW6.js.map → chunk-272NNCPI.js.map} +0 -0
- /package/dist/{chunk-RDJ5PKC5.js.map → chunk-4GZN73UT.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ 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.56.0] - 2026-02-10
|
|
9
|
+
### Added
|
|
10
|
+
- Add `renderTooltip` prop for custom tooltip rendering in pie charts. [#46971]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Responsive charts now fill parent container by default instead of using a fixed aspect ratio. [#46846]
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
- Bundle `@wordpress/ui` into dist output to prevent runtime errors in consumers using wp-build. [#47004]
|
|
17
|
+
- Fix tooltip positioning when container moves without triggering containerBounds refresh. [#46963]
|
|
18
|
+
|
|
8
19
|
## [0.55.0] - 2026-02-04
|
|
9
20
|
### Changed
|
|
10
21
|
- Update package dependencies. [#46933]
|
|
@@ -658,6 +669,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
658
669
|
- Fixed lints following ESLint rule changes for TS [#40584]
|
|
659
670
|
- Fixing a bug in Chart storybook data. [#40640]
|
|
660
671
|
|
|
672
|
+
[0.56.0]: https://github.com/Automattic/charts/compare/v0.55.0...v0.56.0
|
|
661
673
|
[0.55.0]: https://github.com/Automattic/charts/compare/v0.54.3...v0.55.0
|
|
662
674
|
[0.54.3]: https://github.com/Automattic/charts/compare/v0.54.2...v0.54.3
|
|
663
675
|
[0.54.2]: https://github.com/Automattic/charts/compare/v0.54.1...v0.54.2
|
package/README.md
CHANGED
|
@@ -4,6 +4,11 @@ A comprehensive charting library for displaying interactive data visualizations
|
|
|
4
4
|
|
|
5
5
|
Explore the available charts and their documentation in [Storybook](https://automattic.github.io/jetpack-storybook/?path=/docs/js-packages-charts).
|
|
6
6
|
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- **Node.js**: >= 20.10.0 (required by `@wordpress/ui` dependency)
|
|
10
|
+
- **React**: 17.x or 18.x
|
|
11
|
+
|
|
7
12
|
## Quick Start
|
|
8
13
|
|
|
9
14
|
### Installation
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var _chunkB3DFLK2Kcjs = require('../../chunk-B3DFLK2K.cjs');
|
|
5
|
+
require('../../chunk-SH32YSZO.cjs');
|
|
6
|
+
require('../../chunk-I5467ZJ5.cjs');
|
|
6
7
|
require('../../chunk-7HROSZRS.cjs');
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
8
|
+
require('../../chunk-HOTYXYXV.cjs');
|
|
9
|
+
require('../../chunk-TVV7ZI7C.cjs');
|
|
9
10
|
require('../../chunk-ZVGEDXDP.cjs');
|
|
10
11
|
require('../../chunk-EMMSS5I5.cjs');
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
exports.BarChart =
|
|
15
|
+
exports.BarChart = _chunkB3DFLK2Kcjs.BarChartResponsive; exports.BarChartUnresponsive = _chunkB3DFLK2Kcjs.BarChart;
|
|
15
16
|
//# 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;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,oCAAiC;AACjC;AACE;AACA;AACF,mHAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-chart/index.cjs"}
|
|
@@ -107,19 +107,13 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/* esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss */
|
|
110
|
-
.a8ccharts-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
.a8ccharts-8Vnz-c {
|
|
115
|
-
flex-direction: column-reverse;
|
|
110
|
+
.a8ccharts-9CsqC0 {
|
|
111
|
+
flex: 1;
|
|
112
|
+
min-height: 0;
|
|
116
113
|
}
|
|
117
114
|
.a8ccharts-3gflnB svg {
|
|
118
115
|
overflow: visible;
|
|
119
116
|
}
|
|
120
|
-
.a8ccharts-XhI9HR {
|
|
121
|
-
margin-top: 1rem;
|
|
122
|
-
}
|
|
123
117
|
.a8ccharts-98W-yu rect {
|
|
124
118
|
transform-origin: bottom;
|
|
125
119
|
transform-box: fill-box;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/components/tooltip/base-tooltip.module.scss","esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-OfX6nd {\n padding: 0.5rem;\n background-color: rgba(0, 0, 0, 0.85);\n color: #fff;\n border-radius: 4px;\n font-size: 14px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n position: absolute;\n pointer-events: none;\n transform: translate(-50%, -100%);\n}",".a8ccharts-
|
|
1
|
+
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/components/tooltip/base-tooltip.module.scss","esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-OfX6nd {\n padding: 0.5rem;\n background-color: rgba(0, 0, 0, 0.85);\n color: #fff;\n border-radius: 4px;\n font-size: 14px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n position: absolute;\n pointer-events: none;\n transform: translate(-50%, -100%);\n}",".a8ccharts-9CsqC0 {\n flex: 1;\n min-height: 0;\n}\n.a8ccharts-3gflnB svg {\n overflow: visible;\n}\n.a8ccharts-98W-yu rect {\n transform-origin: bottom;\n transform-box: fill-box;\n transform: scaleY(0);\n animation: a8ccharts-z6AsiQ 1s ease-out forwards;\n}\n@keyframes a8ccharts-z6AsiQ {\n to {\n transform: scaleY(1);\n }\n}\n.a8ccharts-HFA3FF rect {\n transform-origin: left;\n transform-box: fill-box;\n transform: scaleX(0);\n animation: a8ccharts-DQp37O 1s ease-out forwards;\n}\n@keyframes a8ccharts-DQp37O {\n to {\n transform: scaleX(1);\n }\n}"],"mappings":";AAAA,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,aAAW;AACX,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;;;ACjGA,CAAC;AACC,WAAS;AACT,oBAAkB,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAChC,SAAO;AACP,iBAAe;AACf,aAAW;AACX,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpC,YAAU;AACV,kBAAgB;AAChB,aAAW,UAAU,IAAI,EAAE;AAC7B;;;ACVA,CAAC;AACC,QAAM;AACN,cAAY;AACd;AACA,CAAC,iBAAiB;AAChB,YAAU;AACZ;AACA,CAAC,iBAAiB;AAChB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;AACA,CAAC,iBAAiB;AAChB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;","names":[]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { L as Legend } from '../../legend-C9ahiwOt.cjs';
|
|
2
2
|
import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-BCFQlzTM.cjs';
|
|
3
3
|
import { FC, ReactNode, ComponentType } from 'react';
|
|
4
|
-
import { R as ResponsiveConfig } from '../../with-responsive-
|
|
4
|
+
import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.cjs';
|
|
5
5
|
import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
|
|
6
|
+
import { GapSize } from '@wordpress/theme';
|
|
6
7
|
import '../../types-C05PdDJa.cjs';
|
|
7
8
|
import '@visx/legend';
|
|
8
9
|
import '@visx/xychart';
|
|
@@ -23,6 +24,12 @@ interface BarChartProps extends BaseChartProps<SeriesData[]> {
|
|
|
23
24
|
showZeroValues?: boolean;
|
|
24
25
|
legendInteractive?: boolean;
|
|
25
26
|
children?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Gap between chart elements (SVG, legend, children).
|
|
29
|
+
* Uses WordPress design system tokens.
|
|
30
|
+
* @default 'md'
|
|
31
|
+
*/
|
|
32
|
+
gap?: GapSize;
|
|
26
33
|
}
|
|
27
34
|
type BarChartBaseProps = Optional<BarChartProps, 'width' | 'height' | 'size'>;
|
|
28
35
|
interface BarChartSubComponents {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { L as Legend } from '../../legend-jjMmhSg3.js';
|
|
2
2
|
import { O as Optional, B as BaseChartProps, j as SeriesData, c as DataPointDate } from '../../types-BCFQlzTM.js';
|
|
3
3
|
import { FC, ReactNode, ComponentType } from 'react';
|
|
4
|
-
import { R as ResponsiveConfig } from '../../with-responsive-
|
|
4
|
+
import { R as ResponsiveConfig } from '../../with-responsive-CNfhzAUu.js';
|
|
5
5
|
import { RenderTooltipParams } from '@visx/xychart/lib/components/Tooltip';
|
|
6
|
+
import { GapSize } from '@wordpress/theme';
|
|
6
7
|
import '../../types-C05PdDJa.js';
|
|
7
8
|
import '@visx/legend';
|
|
8
9
|
import '@visx/xychart';
|
|
@@ -23,6 +24,12 @@ interface BarChartProps extends BaseChartProps<SeriesData[]> {
|
|
|
23
24
|
showZeroValues?: boolean;
|
|
24
25
|
legendInteractive?: boolean;
|
|
25
26
|
children?: ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Gap between chart elements (SVG, legend, children).
|
|
29
|
+
* Uses WordPress design system tokens.
|
|
30
|
+
* @default 'md'
|
|
31
|
+
*/
|
|
32
|
+
gap?: GapSize;
|
|
26
33
|
}
|
|
27
34
|
type BarChartBaseProps = Optional<BarChartProps, 'width' | 'height' | 'size'>;
|
|
28
35
|
interface BarChartSubComponents {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BarChart,
|
|
3
3
|
BarChartResponsive
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-R2CNVHX4.js";
|
|
5
|
+
import "../../chunk-MEIVKY4K.js";
|
|
6
|
+
import "../../chunk-SEKPIG5K.js";
|
|
6
7
|
import "../../chunk-5XI443YP.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-VKXEGONO.js";
|
|
9
|
+
import "../../chunk-H34CJSR6.js";
|
|
9
10
|
import "../../chunk-TE63Y5PX.js";
|
|
10
11
|
import "../../chunk-G3PMV62Z.js";
|
|
11
12
|
export {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
4
|
+
var _chunkFLF337K7cjs = require('../../chunk-FLF337K7.cjs');
|
|
5
|
+
require('../../chunk-B3DFLK2K.cjs');
|
|
6
|
+
require('../../chunk-SH32YSZO.cjs');
|
|
7
|
+
require('../../chunk-I5467ZJ5.cjs');
|
|
7
8
|
require('../../chunk-7HROSZRS.cjs');
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
9
|
+
require('../../chunk-HOTYXYXV.cjs');
|
|
10
|
+
require('../../chunk-TVV7ZI7C.cjs');
|
|
10
11
|
require('../../chunk-ZVGEDXDP.cjs');
|
|
11
12
|
require('../../chunk-EMMSS5I5.cjs');
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
exports.BarListChart =
|
|
16
|
+
exports.BarListChart = _chunkFLF337K7cjs.BarListChartResponsive; exports.BarListChartUnresponsive = _chunkFLF337K7cjs.BarListChart;
|
|
16
17
|
//# 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;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,oCAAiC;AACjC;AACE;AACA;AACF,mIAAC","file":"/home/runner/work/jetpack/jetpack/projects/js-packages/charts/dist/charts/bar-list-chart/index.cjs"}
|
|
@@ -107,19 +107,13 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
/* esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss */
|
|
110
|
-
.a8ccharts-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
.a8ccharts-8Vnz-c {
|
|
115
|
-
flex-direction: column-reverse;
|
|
110
|
+
.a8ccharts-9CsqC0 {
|
|
111
|
+
flex: 1;
|
|
112
|
+
min-height: 0;
|
|
116
113
|
}
|
|
117
114
|
.a8ccharts-3gflnB svg {
|
|
118
115
|
overflow: visible;
|
|
119
116
|
}
|
|
120
|
-
.a8ccharts-XhI9HR {
|
|
121
|
-
margin-top: 1rem;
|
|
122
|
-
}
|
|
123
117
|
.a8ccharts-98W-yu rect {
|
|
124
118
|
transform-origin: bottom;
|
|
125
119
|
transform-box: fill-box;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/components/tooltip/base-tooltip.module.scss","esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-OfX6nd {\n padding: 0.5rem;\n background-color: rgba(0, 0, 0, 0.85);\n color: #fff;\n border-radius: 4px;\n font-size: 14px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n position: absolute;\n pointer-events: none;\n transform: translate(-50%, -100%);\n}",".a8ccharts-
|
|
1
|
+
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/components/tooltip/base-tooltip.module.scss","esbuild-sass-plugin:css-chunk:src/charts/bar-chart/bar-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-OfX6nd {\n padding: 0.5rem;\n background-color: rgba(0, 0, 0, 0.85);\n color: #fff;\n border-radius: 4px;\n font-size: 14px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n position: absolute;\n pointer-events: none;\n transform: translate(-50%, -100%);\n}",".a8ccharts-9CsqC0 {\n flex: 1;\n min-height: 0;\n}\n.a8ccharts-3gflnB svg {\n overflow: visible;\n}\n.a8ccharts-98W-yu rect {\n transform-origin: bottom;\n transform-box: fill-box;\n transform: scaleY(0);\n animation: a8ccharts-z6AsiQ 1s ease-out forwards;\n}\n@keyframes a8ccharts-z6AsiQ {\n to {\n transform: scaleY(1);\n }\n}\n.a8ccharts-HFA3FF rect {\n transform-origin: left;\n transform-box: fill-box;\n transform: scaleX(0);\n animation: a8ccharts-DQp37O 1s ease-out forwards;\n}\n@keyframes a8ccharts-DQp37O {\n to {\n transform: scaleX(1);\n }\n}"],"mappings":";AAAA,CAAC;AACC,WAAS;AACT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ACX,cAAY,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACpC,YAAU;AACV,kBAAgB;AAChB,aAAW,UAAU,IAAI,EAAE;AAC7B;;;ACVA,CAAC;AACC,QAAM;AACN,cAAY;AACd;AACA,CAAC,iBAAiB;AAChB,YAAU;AACZ;AACA,CAAC,iBAAiB;AAChB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;AACA,CAAC,iBAAiB;AAChB,oBAAkB;AAClB,iBAAe;AACf,aAAW,OAAO;AAClB,aAAW,iBAAiB,GAAG,SAAS;AAC1C;AACA,WAFa;AAGX;AACE,eAAW,OAAO;AACpB;AACF;","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { R as ResponsiveConfig } from '../../with-responsive-
|
|
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
5
|
import { S as ScaleOptions, j as SeriesData } from '../../types-BCFQlzTM.cjs';
|
|
@@ -9,6 +9,7 @@ import '../../types-C05PdDJa.cjs';
|
|
|
9
9
|
import '@visx/legend';
|
|
10
10
|
import '@visx/xychart';
|
|
11
11
|
import '@visx/xychart/lib/components/Tooltip';
|
|
12
|
+
import '@wordpress/theme';
|
|
12
13
|
import '@visx/annotation/lib/components/CircleSubject';
|
|
13
14
|
import '@visx/annotation/lib/components/Connector';
|
|
14
15
|
import '@visx/annotation/lib/components/Label';
|
|
@@ -82,6 +83,10 @@ interface RenderValueProps {
|
|
|
82
83
|
formatter: (value: number) => string;
|
|
83
84
|
}
|
|
84
85
|
declare const BarListChart: FC<BarListChartProps>;
|
|
85
|
-
declare const BarListChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRatio,
|
|
86
|
+
declare const BarListChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRatio, size, width, height, ...chartProps }: Omit<BarListChartProps, "width" | "height" | "size"> & {
|
|
87
|
+
width?: number;
|
|
88
|
+
height?: number;
|
|
89
|
+
size?: number;
|
|
90
|
+
} & ResponsiveConfig) => react_jsx_runtime.JSX.Element;
|
|
86
91
|
|
|
87
92
|
export { BarListChartResponsive as BarListChart, type BarListChartProps, BarListChart as BarListChartUnresponsive, type RenderLabelProps, type RenderValueProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { R as ResponsiveConfig } from '../../with-responsive-
|
|
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
5
|
import { S as ScaleOptions, j as SeriesData } from '../../types-BCFQlzTM.js';
|
|
@@ -9,6 +9,7 @@ import '../../types-C05PdDJa.js';
|
|
|
9
9
|
import '@visx/legend';
|
|
10
10
|
import '@visx/xychart';
|
|
11
11
|
import '@visx/xychart/lib/components/Tooltip';
|
|
12
|
+
import '@wordpress/theme';
|
|
12
13
|
import '@visx/annotation/lib/components/CircleSubject';
|
|
13
14
|
import '@visx/annotation/lib/components/Connector';
|
|
14
15
|
import '@visx/annotation/lib/components/Label';
|
|
@@ -82,6 +83,10 @@ interface RenderValueProps {
|
|
|
82
83
|
formatter: (value: number) => string;
|
|
83
84
|
}
|
|
84
85
|
declare const BarListChart: FC<BarListChartProps>;
|
|
85
|
-
declare const BarListChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRatio,
|
|
86
|
+
declare const BarListChartResponsive: ({ resizeDebounceTime, maxWidth, aspectRatio, size, width, height, ...chartProps }: Omit<BarListChartProps, "width" | "height" | "size"> & {
|
|
87
|
+
width?: number;
|
|
88
|
+
height?: number;
|
|
89
|
+
size?: number;
|
|
90
|
+
} & ResponsiveConfig) => react_jsx_runtime.JSX.Element;
|
|
86
91
|
|
|
87
92
|
export { BarListChartResponsive as BarListChart, type BarListChartProps, BarListChart as BarListChartUnresponsive, type RenderLabelProps, type RenderValueProps };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BarListChart,
|
|
3
3
|
BarListChartResponsive
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-27SM4IQP.js";
|
|
5
|
+
import "../../chunk-R2CNVHX4.js";
|
|
6
|
+
import "../../chunk-MEIVKY4K.js";
|
|
7
|
+
import "../../chunk-SEKPIG5K.js";
|
|
7
8
|
import "../../chunk-5XI443YP.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-VKXEGONO.js";
|
|
10
|
+
import "../../chunk-H34CJSR6.js";
|
|
10
11
|
import "../../chunk-TE63Y5PX.js";
|
|
11
12
|
import "../../chunk-G3PMV62Z.js";
|
|
12
13
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkGRYNIPWHcjs = require('../../chunk-GRYNIPWH.cjs');
|
|
4
|
+
require('../../chunk-TVV7ZI7C.cjs');
|
|
5
5
|
require('../../chunk-ZVGEDXDP.cjs');
|
|
6
6
|
require('../../chunk-EMMSS5I5.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.ConversionFunnelChart =
|
|
9
|
+
exports.ConversionFunnelChart = _chunkGRYNIPWHcjs.ConversionFunnelChartWithProvider;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,98 @@
|
|
|
1
|
+
/* esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss */
|
|
2
|
+
.a8ccharts-AELBvX {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
gap: 16px;
|
|
7
|
+
}
|
|
8
|
+
.a8ccharts-fX8uQe {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
}
|
|
13
|
+
.a8ccharts-fX8uQe.a8ccharts-DEe0wg {
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
.a8ccharts-fX8uQe.a8ccharts-WBKF9I {
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
.a8ccharts-fX8uQe.a8ccharts-JfwMng {
|
|
20
|
+
align-items: flex-end;
|
|
21
|
+
}
|
|
22
|
+
.a8ccharts-8Y73Kh {
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
.a8ccharts-8Y73Kh.a8ccharts-DEe0wg {
|
|
26
|
+
justify-content: flex-start;
|
|
27
|
+
}
|
|
28
|
+
.a8ccharts-8Y73Kh.a8ccharts-WBKF9I {
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
.a8ccharts-8Y73Kh.a8ccharts-JfwMng {
|
|
32
|
+
justify-content: flex-end;
|
|
33
|
+
}
|
|
34
|
+
.a8ccharts-TVM-IY {
|
|
35
|
+
position: relative;
|
|
36
|
+
}
|
|
37
|
+
.a8ccharts-TVM-IY.a8ccharts-DEe0wg {
|
|
38
|
+
justify-content: flex-start;
|
|
39
|
+
}
|
|
40
|
+
.a8ccharts-TVM-IY.a8ccharts-WBKF9I {
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
.a8ccharts-TVM-IY.a8ccharts-JfwMng {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
}
|
|
46
|
+
.a8ccharts-Vflwq8 {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
font-size: 0.875rem;
|
|
50
|
+
}
|
|
51
|
+
.a8ccharts-qGsavM {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
user-select: none;
|
|
54
|
+
transition: opacity 0.2s ease;
|
|
55
|
+
}
|
|
56
|
+
.a8ccharts-qGsavM:hover {
|
|
57
|
+
opacity: 0.8;
|
|
58
|
+
}
|
|
59
|
+
.a8ccharts-qGsavM:focus {
|
|
60
|
+
outline: 2px solid currentColor;
|
|
61
|
+
outline-offset: 2px;
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
}
|
|
64
|
+
.a8ccharts-qGsavM:focus:not(:focus-visible) {
|
|
65
|
+
outline: none;
|
|
66
|
+
}
|
|
67
|
+
.a8ccharts-ZtDY-Q {
|
|
68
|
+
opacity: 0.4;
|
|
69
|
+
}
|
|
70
|
+
.a8ccharts-ZtDY-Q .a8ccharts-2H65Kr {
|
|
71
|
+
text-decoration: line-through;
|
|
72
|
+
}
|
|
73
|
+
.a8ccharts-2H65Kr {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 0.5rem;
|
|
77
|
+
}
|
|
78
|
+
.a8ccharts-faSDBI {
|
|
79
|
+
word-wrap: break-word;
|
|
80
|
+
overflow-wrap: break-word;
|
|
81
|
+
white-space: normal;
|
|
82
|
+
hyphens: auto;
|
|
83
|
+
}
|
|
84
|
+
.a8ccharts-FISUIO {
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
text-overflow: ellipsis;
|
|
88
|
+
flex-shrink: 1;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
}
|
|
91
|
+
.a8ccharts-DTZlT- {
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
flex-shrink: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
1
96
|
/* esbuild-sass-plugin:css-chunk:src/charts/conversion-funnel-chart/conversion-funnel-chart.module.scss */
|
|
2
97
|
.a8ccharts-lK-YNK {
|
|
3
98
|
font-family: var(--funnel-font-family, "SF Pro Text");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/charts/conversion-funnel-chart/conversion-funnel-chart.module.scss"],"sourcesContent":[".a8ccharts-lK-YNK {\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n}\n.a8ccharts-lK-YNK.a8ccharts-DbHKK5 {\n opacity: 0.6;\n pointer-events: none;\n}\n\n.a8ccharts-61WPYr {\n display: flex;\n align-items: baseline;\n gap: 8px;\n margin-bottom: 24px;\n height: 20px;\n}\n\n.a8ccharts-RRRI6x {\n overflow: hidden;\n color: #1e1e1e;\n text-overflow: ellipsis;\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n}\n\n.a8ccharts-661iwx {\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n}\n\n.a8ccharts-Z7EGnW {\n display: flex;\n gap: 16px;\n align-items: flex-end;\n height: 200px;\n width: 100%;\n}\n\n.a8ccharts-VqFY0l {\n flex: 1 1 0;\n min-width: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n transition: all 0.3s ease;\n}\n.a8ccharts-VqFY0l.a8ccharts-7dTRBs {\n opacity: 0.3;\n}\n\n.a8ccharts-2JsQiV {\n margin-bottom: 24px;\n}\n\n.a8ccharts-6OabC4 {\n color: #757575;\n font-family: var(--step-font-family, \"SF Pro\");\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n margin: 0 0 2px 0;\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.a8ccharts-9wSZ6n {\n color: #1e1e1e;\n font-family: var(--step-font-family, \"SF Pro\");\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n display: block;\n}\n\n.a8ccharts-sSmCTi {\n flex: 1;\n display: flex;\n align-items: flex-end;\n border-radius: 4px;\n position: relative;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n.a8ccharts-sSmCTi.a8ccharts-PLWVAW {\n cursor: pointer;\n}\n\n.a8ccharts-EzczI- {\n width: 100%;\n min-height: 4px;\n border-radius: 4px 4px 0 0;\n transition: all 0.3s ease;\n}\n.a8ccharts-EzczI-.a8ccharts-wNpZEu {\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);\n filter: brightness(1.1);\n}\n.a8ccharts-68HQJl {\n transform-origin: bottom;\n transform-box: fill-box;\n transform: scaleY(0);\n animation: a8ccharts-CmtieZ 1s ease-out forwards;\n}\n@keyframes a8ccharts-CmtieZ {\n to {\n transform: scaleY(1);\n }\n}\n\n.a8ccharts-2TeoCn {\n display: inline-flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n border-bottom: 1px solid var(--Gray-Gray-5, #dcdcde);\n background: var(--black-white-white, #fff);\n border-radius: 4px !important;\n padding: 12px !important;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 3px 9px 0 rgba(0, 0, 0, 0.12) !important;\n}\n\n.a8ccharts-jkRitH {\n color: #1e1e1e;\n font-family: \"SF Pro\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n}\n\n.a8ccharts-8jgT-3 {\n color: #1e1e1e;\n font-family: \"SF Pro\", sans-serif;\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n}\n\n.a8ccharts-Ml6MMr {\n text-align: center;\n padding: 48px 24px;\n color: #6b7280;\n font-size: 16px;\n}"],"mappings":";AAAA,CAAC;AACC,eAAa,IAAI,oBAAoB,EAAE;AACzC;AACA,CAHC,gBAGgB,CAAC;AAChB,WAAS;AACT,kBAAgB;AAClB;AAEA,CAAC;AACC,WAA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W;AACrB;AACA,CAAC;AACC,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,kBAAgB;AAChB,mBAAiB;AACjB,eAAa;AACb,OAAK;AACL,iBAAe,IAAI,MAAM,IAAI,aAAa,EAAE;AAC5C,cAAY,IAAI,mBAAmB,EAAE;AACrC,iBAAe;AACf,WAAS;AACT,cAAY,EAAE,IAAI,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AACzE;AAEA,CAAC;AACC,SAAO;AACP,eAAa,QAAQ,EAAE;AACvB,aAAW;AACX,cAAY;AACZ,eAAa;AACb,eAAa;AACf;AAEA,CAAC;AACC,SAAO;AACP,eAAa,QAAQ,EAAE;AACvB,aAAW;AACX,cAAY;AACZ,eAAa;AACb,eAAa;AACf;AAEA,CAAC;AACC,cAAY;AACZ,WAAS,KAAK;AACd,SAAO;AACP,aAAW;AACb;","names":[]}
|
|
1
|
+
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/charts/conversion-funnel-chart/conversion-funnel-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-lK-YNK {\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n}\n.a8ccharts-lK-YNK.a8ccharts-DbHKK5 {\n opacity: 0.6;\n pointer-events: none;\n}\n\n.a8ccharts-61WPYr {\n display: flex;\n align-items: baseline;\n gap: 8px;\n margin-bottom: 24px;\n height: 20px;\n}\n\n.a8ccharts-RRRI6x {\n overflow: hidden;\n color: #1e1e1e;\n text-overflow: ellipsis;\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n}\n\n.a8ccharts-661iwx {\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: var(--funnel-font-family, \"SF Pro Text\");\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n}\n\n.a8ccharts-Z7EGnW {\n display: flex;\n gap: 16px;\n align-items: flex-end;\n height: 200px;\n width: 100%;\n}\n\n.a8ccharts-VqFY0l {\n flex: 1 1 0;\n min-width: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n transition: all 0.3s ease;\n}\n.a8ccharts-VqFY0l.a8ccharts-7dTRBs {\n opacity: 0.3;\n}\n\n.a8ccharts-2JsQiV {\n margin-bottom: 24px;\n}\n\n.a8ccharts-6OabC4 {\n color: #757575;\n font-family: var(--step-font-family, \"SF Pro\");\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n margin: 0 0 2px 0;\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.a8ccharts-9wSZ6n {\n color: #1e1e1e;\n font-family: var(--step-font-family, \"SF Pro\");\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n margin: 0;\n display: block;\n}\n\n.a8ccharts-sSmCTi {\n flex: 1;\n display: flex;\n align-items: flex-end;\n border-radius: 4px;\n position: relative;\n cursor: pointer;\n transition: all 0.2s ease;\n}\n.a8ccharts-sSmCTi.a8ccharts-PLWVAW {\n cursor: pointer;\n}\n\n.a8ccharts-EzczI- {\n width: 100%;\n min-height: 4px;\n border-radius: 4px 4px 0 0;\n transition: all 0.3s ease;\n}\n.a8ccharts-EzczI-.a8ccharts-wNpZEu {\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);\n filter: brightness(1.1);\n}\n.a8ccharts-68HQJl {\n transform-origin: bottom;\n transform-box: fill-box;\n transform: scaleY(0);\n animation: a8ccharts-CmtieZ 1s ease-out forwards;\n}\n@keyframes a8ccharts-CmtieZ {\n to {\n transform: scaleY(1);\n }\n}\n\n.a8ccharts-2TeoCn {\n display: inline-flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 4px;\n border-bottom: 1px solid var(--Gray-Gray-5, #dcdcde);\n background: var(--black-white-white, #fff);\n border-radius: 4px !important;\n padding: 12px !important;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15), 0 3px 9px 0 rgba(0, 0, 0, 0.12) !important;\n}\n\n.a8ccharts-jkRitH {\n color: #1e1e1e;\n font-family: \"SF Pro\", sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n}\n\n.a8ccharts-8jgT-3 {\n color: #1e1e1e;\n font-family: \"SF Pro\", sans-serif;\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px;\n}\n\n.a8ccharts-Ml6MMr {\n text-align: center;\n padding: 48px 24px;\n color: #6b7280;\n font-size: 16px;\n}"],"mappings":";AAAA,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;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CAAC;AACC,SAAO;AACP,eAAa,QAAQ,EAAE;AACvB,aAAW;AACX,cAAY;AACZ,eAAa;AACb,eAAa;AACf;AAEA,CAAC;AACC,SAAO;AACP,eAAa,QAAQ,EAAE;AACvB,aAAW;AACX,cAAY;AACZ,eAAa;AACb,eAAa;AACf;AAEA,CAAC;AACC,cAAY;AACZ,WAAS,KAAK;AACd,SAAO;AACP,aAAW;AACb;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConversionFunnelChartWithProvider
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-ZWBUEHKF.js";
|
|
4
|
+
import "../../chunk-H34CJSR6.js";
|
|
5
5
|
import "../../chunk-TE63Y5PX.js";
|
|
6
6
|
import "../../chunk-G3PMV62Z.js";
|
|
7
7
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
4
|
+
var _chunkMZIJOH7Wcjs = require('../../chunk-MZIJOH7W.cjs');
|
|
5
|
+
require('../../chunk-HOTYXYXV.cjs');
|
|
6
|
+
require('../../chunk-TVV7ZI7C.cjs');
|
|
7
7
|
require('../../chunk-ZVGEDXDP.cjs');
|
|
8
8
|
require('../../chunk-EMMSS5I5.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.GeoChart =
|
|
12
|
+
exports.GeoChart = _chunkMZIJOH7Wcjs.GeoChartResponsive; exports.GeoChartUnresponsive = _chunkMZIJOH7Wcjs.GeoChartWithProvider;
|
|
13
13
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,98 @@
|
|
|
1
|
+
/* esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss */
|
|
2
|
+
.a8ccharts-AELBvX {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
gap: 16px;
|
|
7
|
+
}
|
|
8
|
+
.a8ccharts-fX8uQe {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
}
|
|
13
|
+
.a8ccharts-fX8uQe.a8ccharts-DEe0wg {
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
}
|
|
16
|
+
.a8ccharts-fX8uQe.a8ccharts-WBKF9I {
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
.a8ccharts-fX8uQe.a8ccharts-JfwMng {
|
|
20
|
+
align-items: flex-end;
|
|
21
|
+
}
|
|
22
|
+
.a8ccharts-8Y73Kh {
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
.a8ccharts-8Y73Kh.a8ccharts-DEe0wg {
|
|
26
|
+
justify-content: flex-start;
|
|
27
|
+
}
|
|
28
|
+
.a8ccharts-8Y73Kh.a8ccharts-WBKF9I {
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
.a8ccharts-8Y73Kh.a8ccharts-JfwMng {
|
|
32
|
+
justify-content: flex-end;
|
|
33
|
+
}
|
|
34
|
+
.a8ccharts-TVM-IY {
|
|
35
|
+
position: relative;
|
|
36
|
+
}
|
|
37
|
+
.a8ccharts-TVM-IY.a8ccharts-DEe0wg {
|
|
38
|
+
justify-content: flex-start;
|
|
39
|
+
}
|
|
40
|
+
.a8ccharts-TVM-IY.a8ccharts-WBKF9I {
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
.a8ccharts-TVM-IY.a8ccharts-JfwMng {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
}
|
|
46
|
+
.a8ccharts-Vflwq8 {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
font-size: 0.875rem;
|
|
50
|
+
}
|
|
51
|
+
.a8ccharts-qGsavM {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
user-select: none;
|
|
54
|
+
transition: opacity 0.2s ease;
|
|
55
|
+
}
|
|
56
|
+
.a8ccharts-qGsavM:hover {
|
|
57
|
+
opacity: 0.8;
|
|
58
|
+
}
|
|
59
|
+
.a8ccharts-qGsavM:focus {
|
|
60
|
+
outline: 2px solid currentColor;
|
|
61
|
+
outline-offset: 2px;
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
}
|
|
64
|
+
.a8ccharts-qGsavM:focus:not(:focus-visible) {
|
|
65
|
+
outline: none;
|
|
66
|
+
}
|
|
67
|
+
.a8ccharts-ZtDY-Q {
|
|
68
|
+
opacity: 0.4;
|
|
69
|
+
}
|
|
70
|
+
.a8ccharts-ZtDY-Q .a8ccharts-2H65Kr {
|
|
71
|
+
text-decoration: line-through;
|
|
72
|
+
}
|
|
73
|
+
.a8ccharts-2H65Kr {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
gap: 0.5rem;
|
|
77
|
+
}
|
|
78
|
+
.a8ccharts-faSDBI {
|
|
79
|
+
word-wrap: break-word;
|
|
80
|
+
overflow-wrap: break-word;
|
|
81
|
+
white-space: normal;
|
|
82
|
+
hyphens: auto;
|
|
83
|
+
}
|
|
84
|
+
.a8ccharts-FISUIO {
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
text-overflow: ellipsis;
|
|
88
|
+
flex-shrink: 1;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
}
|
|
91
|
+
.a8ccharts-DTZlT- {
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
flex-shrink: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
1
96
|
/* esbuild-sass-plugin:css-chunk:src/charts/geo-chart/geo-chart.module.scss */
|
|
2
97
|
.a8ccharts-JvcqOz {
|
|
3
98
|
position: relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/charts/geo-chart/geo-chart.module.scss"],"sourcesContent":[".a8ccharts-JvcqOz {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}"],"mappings":";AAAA,CAAC;AACC,YAAU;AACV,WAAS;AACT,mBAAiB;AACjB,eAAa;AACf;","names":[]}
|
|
1
|
+
{"version":3,"sources":["esbuild-sass-plugin:css-chunk:src/components/legend/private/base-legend.module.scss","esbuild-sass-plugin:css-chunk:src/charts/geo-chart/geo-chart.module.scss"],"sourcesContent":[".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 word-wrap: break-word;\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-JvcqOz {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}"],"mappings":";AAAA,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,aAAW;AACX,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;;;ACjGA,CAAC;AACC,YAAU;AACV,WAAS;AACT,mBAAiB;AACjB,eAAa;AACf;","names":[]}
|