@stealthscale/component-charts 0.2.1 → 0.2.3

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 (123) hide show
  1. package/dist/cyclonedx/bom.json +1 -1
  2. package/dist/index.js +1 -14710
  3. package/dist/pages/area-chart/area-chart.js +1151 -0
  4. package/dist/pages/area-chart/area-chart.props.js +3 -0
  5. package/dist/pages/bar-chart/bar-chart.js +990 -0
  6. package/dist/pages/bar-chart/bar-chart.props.js +3 -0
  7. package/dist/pages/box-plot/box-plot.js +1585 -0
  8. package/dist/pages/box-plot/box-plot.props.js +3 -0
  9. package/dist/pages/bubble-chart/bubble-chart.js +938 -0
  10. package/dist/pages/bubble-chart/bubble-chart.props.js +3 -0
  11. package/dist/pages/burndown-chart/burndown-chart.js +805 -0
  12. package/dist/pages/burndown-chart/burndown-chart.props.js +3 -0
  13. package/dist/pages/candlestick-chart/candlestick-chart.js +853 -0
  14. package/dist/pages/candlestick-chart/candlestick-chart.props.js +3 -0
  15. package/dist/pages/chart/chart.js +1190 -0
  16. package/dist/pages/chart/chart.props.js +3 -0
  17. package/dist/pages/chord-diagram/chord-diagram.js +891 -0
  18. package/dist/pages/chord-diagram/chord-diagram.props.js +3 -0
  19. package/dist/pages/combo-chart/combo-chart.js +873 -0
  20. package/dist/pages/combo-chart/combo-chart.props.js +3 -0
  21. package/dist/pages/distribution-chart/distribution-chart.js +1066 -0
  22. package/dist/pages/distribution-chart/distribution-chart.props.js +3 -0
  23. package/dist/pages/donut-chart/donut-chart.js +726 -0
  24. package/dist/pages/donut-chart/donut-chart.props.js +3 -0
  25. package/dist/pages/funnel-chart/funnel-chart.js +1094 -0
  26. package/dist/pages/funnel-chart/funnel-chart.props.js +3 -0
  27. package/dist/pages/gauge-chart/gauge-chart.js +767 -0
  28. package/dist/pages/gauge-chart/gauge-chart.props.js +3 -0
  29. package/dist/pages/heatmap/heatmap.js +1967 -0
  30. package/dist/pages/heatmap/heatmap.props.js +3 -0
  31. package/dist/pages/histogram-chart/histogram-chart.js +768 -0
  32. package/dist/pages/histogram-chart/histogram-chart.props.js +3 -0
  33. package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.js +701 -0
  34. package/dist/pages/horizontal-bar-chart/horizontal-bar-chart.props.js +3 -0
  35. package/dist/pages/line-chart/line-chart.js +1882 -0
  36. package/dist/pages/line-chart/line-chart.props.js +3 -0
  37. package/dist/pages/pages.json +393 -0
  38. package/dist/pages/pareto-chart/pareto-chart.js +669 -0
  39. package/dist/pages/pareto-chart/pareto-chart.props.js +3 -0
  40. package/dist/pages/percent-stacked-bar/percent-stacked-bar.js +662 -0
  41. package/dist/pages/percent-stacked-bar/percent-stacked-bar.props.js +3 -0
  42. package/dist/pages/pie-chart/pie-chart.js +1007 -0
  43. package/dist/pages/pie-chart/pie-chart.props.js +3 -0
  44. package/dist/pages/polar-area-chart/polar-area-chart.js +812 -0
  45. package/dist/pages/polar-area-chart/polar-area-chart.props.js +3 -0
  46. package/dist/pages/radar-chart/radar-chart.js +1101 -0
  47. package/dist/pages/radar-chart/radar-chart.props.js +3 -0
  48. package/dist/pages/radial-bar-chart/radial-bar-chart.js +766 -0
  49. package/dist/pages/radial-bar-chart/radial-bar-chart.props.js +3 -0
  50. package/dist/pages/range-chart/range-chart.js +914 -0
  51. package/dist/pages/range-chart/range-chart.props.js +3 -0
  52. package/dist/pages/regression-overlay/regression-overlay.js +494 -0
  53. package/dist/pages/regression-overlay/regression-overlay.props.js +3 -0
  54. package/dist/pages/sankey-chart/sankey-chart.js +700 -0
  55. package/dist/pages/sankey-chart/sankey-chart.props.js +3 -0
  56. package/dist/pages/scatter-plot/scatter-plot.js +1248 -0
  57. package/dist/pages/scatter-plot/scatter-plot.props.js +3 -0
  58. package/dist/pages/sparkbar/sparkbar.js +629 -0
  59. package/dist/pages/sparkbar/sparkbar.props.js +3 -0
  60. package/dist/pages/sparkline/sparkline.js +960 -0
  61. package/dist/pages/sparkline/sparkline.props.js +3 -0
  62. package/dist/pages/spend-5xQ76WSj.js +185 -0
  63. package/dist/pages/stacked-area-chart/stacked-area-chart.js +912 -0
  64. package/dist/pages/stacked-area-chart/stacked-area-chart.props.js +3 -0
  65. package/dist/pages/stacked-bar-chart/stacked-bar-chart.js +722 -0
  66. package/dist/pages/stacked-bar-chart/stacked-bar-chart.props.js +3 -0
  67. package/dist/pages/step-line-chart/step-line-chart.js +573 -0
  68. package/dist/pages/step-line-chart/step-line-chart.props.js +3 -0
  69. package/dist/pages/stream-graph/stream-graph.js +1662 -0
  70. package/dist/pages/stream-graph/stream-graph.props.js +3 -0
  71. package/dist/pages/sunburst-chart/sunburst-chart.js +1051 -0
  72. package/dist/pages/sunburst-chart/sunburst-chart.props.js +3 -0
  73. package/dist/pages/timeline-chart/timeline-chart.js +1124 -0
  74. package/dist/pages/timeline-chart/timeline-chart.props.js +3 -0
  75. package/dist/pages/treemap-chart/treemap-chart.js +904 -0
  76. package/dist/pages/treemap-chart/treemap-chart.props.js +3 -0
  77. package/dist/pages/violin-plot/violin-plot.js +1303 -0
  78. package/dist/pages/violin-plot/violin-plot.props.js +3 -0
  79. package/dist/pages/visitors-oFFVcbIZ.js +248 -0
  80. package/dist/pages/waterfall-chart/waterfall-chart.js +1195 -0
  81. package/dist/pages/waterfall-chart/waterfall-chart.props.js +3 -0
  82. package/dist/shared-DVZJ2nST.js +14711 -0
  83. package/dist/theme.js +29 -13
  84. package/locales/en/specimen/area-chart.json +56 -0
  85. package/locales/en/specimen/bar-chart.json +56 -0
  86. package/locales/en/specimen/box-plot.json +65 -0
  87. package/locales/en/specimen/bubble-chart.json +47 -0
  88. package/locales/en/specimen/burndown-chart.json +46 -0
  89. package/locales/en/specimen/candlestick-chart.json +42 -0
  90. package/locales/en/specimen/chart.json +53 -0
  91. package/locales/en/specimen/chord-diagram.json +69 -0
  92. package/locales/en/specimen/combo-chart.json +41 -0
  93. package/locales/en/specimen/distribution-chart.json +47 -0
  94. package/locales/en/specimen/donut-chart.json +63 -0
  95. package/locales/en/specimen/funnel-chart.json +84 -0
  96. package/locales/en/specimen/gauge-chart.json +68 -0
  97. package/locales/en/specimen/heatmap.json +187 -0
  98. package/locales/en/specimen/histogram-chart.json +48 -0
  99. package/locales/en/specimen/horizontal-bar-chart.json +54 -0
  100. package/locales/en/specimen/line-chart.json +106 -0
  101. package/locales/en/specimen/pareto-chart.json +43 -0
  102. package/locales/en/specimen/percent-stacked-bar.json +37 -0
  103. package/locales/en/specimen/pie-chart.json +80 -0
  104. package/locales/en/specimen/polar-area-chart.json +90 -0
  105. package/locales/en/specimen/radar-chart.json +82 -0
  106. package/locales/en/specimen/radial-bar-chart.json +62 -0
  107. package/locales/en/specimen/range-chart.json +42 -0
  108. package/locales/en/specimen/regression-overlay.json +36 -0
  109. package/locales/en/specimen/sankey-chart.json +89 -0
  110. package/locales/en/specimen/scatter-plot.json +88 -0
  111. package/locales/en/specimen/sparkbar.json +51 -0
  112. package/locales/en/specimen/sparkline.json +70 -0
  113. package/locales/en/specimen/stacked-area-chart.json +44 -0
  114. package/locales/en/specimen/stacked-bar-chart.json +34 -0
  115. package/locales/en/specimen/step-line-chart.json +33 -0
  116. package/locales/en/specimen/stream-graph.json +54 -0
  117. package/locales/en/specimen/sunburst-chart.json +110 -0
  118. package/locales/en/specimen/timeline-chart.json +77 -0
  119. package/locales/en/specimen/treemap-chart.json +107 -0
  120. package/locales/en/specimen/violin-plot.json +54 -0
  121. package/locales/en/specimen/waterfall-chart.json +71 -0
  122. package/package.json +9 -8
  123. /package/dist/{recipe-BbGw00ut.js → recipes-BbGw00ut.js} +0 -0
@@ -0,0 +1,904 @@
1
+ import { t as __exportAll } from "../../rolldown-runtime-D7D4PA-g.js";
2
+ import { I as hierarchyLeaves, i as TreemapChart } from "../../shared-DVZJ2nST.js";
3
+ import { a as labelled, i as TAIL, n as SPEND, r as STORAGE, t as CREDITED } from "../spend-5xQ76WSj.js";
4
+ import { c } from "react/compiler-runtime";
5
+ import { useState } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { Room, specimen, useWords } from "@stealthscale/specimen";
8
+ import { RotateCcwIcon } from "lucide-react";
9
+ import { Button } from "@stealthscale/component-actions";
10
+ import { Stack } from "@stealthscale/component-layout";
11
+ //#region src/treemap-chart/examples/credit.example.tsx
12
+ var credit_example_exports = /* @__PURE__ */ __exportAll({
13
+ Credit: () => Credit,
14
+ source: () => source$8
15
+ });
16
+ function Credit() {
17
+ const $ = c(21);
18
+ const { t } = useWords("treemap-chart");
19
+ let T0;
20
+ let nodes;
21
+ let t0;
22
+ if ($[0] !== t) {
23
+ nodes = labelled(CREDITED, (key) => t(`names.${key}`));
24
+ const below = hierarchyLeaves(nodes).filter(_temp$1);
25
+ T0 = TreemapChart;
26
+ t0 = t("credit.caption", {
27
+ count: below.length,
28
+ names: below.map((leaf_0) => t(`names.${leaf_0.key}`)).join(", ")
29
+ });
30
+ $[0] = t;
31
+ $[1] = T0;
32
+ $[2] = nodes;
33
+ $[3] = t0;
34
+ } else {
35
+ T0 = $[1];
36
+ nodes = $[2];
37
+ t0 = $[3];
38
+ }
39
+ let t1;
40
+ if ($[4] !== t) {
41
+ t1 = t("spend.label");
42
+ $[4] = t;
43
+ $[5] = t1;
44
+ } else t1 = $[5];
45
+ let t2;
46
+ if ($[6] !== t) {
47
+ t2 = t("teams");
48
+ $[6] = t;
49
+ $[7] = t2;
50
+ } else t2 = $[7];
51
+ let t3;
52
+ if ($[8] !== t) {
53
+ t3 = t("share");
54
+ $[8] = t;
55
+ $[9] = t3;
56
+ } else t3 = $[9];
57
+ let t4;
58
+ if ($[10] !== t) {
59
+ t4 = t("value");
60
+ $[10] = t;
61
+ $[11] = t4;
62
+ } else t4 = $[11];
63
+ let t5;
64
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
65
+ t5 = {
66
+ currency: "EUR",
67
+ maximumFractionDigits: 0,
68
+ style: "currency"
69
+ };
70
+ $[12] = t5;
71
+ } else t5 = $[12];
72
+ let t6;
73
+ if ($[13] !== T0 || $[14] !== nodes || $[15] !== t0 || $[16] !== t1 || $[17] !== t2 || $[18] !== t3 || $[19] !== t4) {
74
+ t6 = /* @__PURE__ */ jsx(T0, {
75
+ caption: t0,
76
+ label: t1,
77
+ legendLabel: t2,
78
+ nodes,
79
+ shareLabel: t3,
80
+ valueLabel: t4,
81
+ valueOptions: t5
82
+ });
83
+ $[13] = T0;
84
+ $[14] = nodes;
85
+ $[15] = t0;
86
+ $[16] = t1;
87
+ $[17] = t2;
88
+ $[18] = t3;
89
+ $[19] = t4;
90
+ $[20] = t6;
91
+ } else t6 = $[20];
92
+ return t6;
93
+ }
94
+ function _temp$1(leaf) {
95
+ return leaf.value < 0;
96
+ }
97
+ const source$8 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart, hierarchyLeaves } from \"@stealthscale/component-charts\";\n\nimport { CREDITED, labelled } from \"./spend.ts\";\n\nexport function Credit(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n const nodes = labelled(CREDITED, (key) => t(`names.${key}`));\n const below = hierarchyLeaves(nodes).filter((leaf) => leaf.value < 0);\n\n return (\n <TreemapChart\n caption={t(\"credit.caption\", {\n count: below.length,\n names: below.map((leaf) => t(`names.${leaf.key}`)).join(\", \"),\n })}\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={nodes}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n );\n}\n";
98
+ //#endregion
99
+ //#region src/treemap-chart/examples/hidden.example.tsx
100
+ var hidden_example_exports = /* @__PURE__ */ __exportAll({
101
+ Hidden: () => Hidden,
102
+ source: () => source$7
103
+ });
104
+ function Hidden() {
105
+ const $ = c(21);
106
+ const { t } = useWords("treemap-chart");
107
+ let t0;
108
+ if ($[0] !== t) {
109
+ t0 = t("hidden.caption");
110
+ $[0] = t;
111
+ $[1] = t0;
112
+ } else t0 = $[1];
113
+ let t1;
114
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
115
+ t1 = ["platform"];
116
+ $[2] = t1;
117
+ } else t1 = $[2];
118
+ let t2;
119
+ if ($[3] !== t) {
120
+ t2 = t("spend.label");
121
+ $[3] = t;
122
+ $[4] = t2;
123
+ } else t2 = $[4];
124
+ let t3;
125
+ if ($[5] !== t) {
126
+ t3 = t("teams");
127
+ $[5] = t;
128
+ $[6] = t3;
129
+ } else t3 = $[6];
130
+ let t4;
131
+ if ($[7] !== t) {
132
+ t4 = labelled(SPEND, (key) => t(`names.${key}`));
133
+ $[7] = t;
134
+ $[8] = t4;
135
+ } else t4 = $[8];
136
+ let t5;
137
+ if ($[9] !== t) {
138
+ t5 = t("share");
139
+ $[9] = t;
140
+ $[10] = t5;
141
+ } else t5 = $[10];
142
+ let t6;
143
+ if ($[11] !== t) {
144
+ t6 = t("value");
145
+ $[11] = t;
146
+ $[12] = t6;
147
+ } else t6 = $[12];
148
+ let t7;
149
+ if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
150
+ t7 = {
151
+ currency: "EUR",
152
+ maximumFractionDigits: 0,
153
+ style: "currency"
154
+ };
155
+ $[13] = t7;
156
+ } else t7 = $[13];
157
+ let t8;
158
+ if ($[14] !== t0 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 || $[19] !== t6) {
159
+ t8 = /* @__PURE__ */ jsx(TreemapChart, {
160
+ caption: t0,
161
+ defaultHiddenKeys: t1,
162
+ label: t2,
163
+ legendLabel: t3,
164
+ nodes: t4,
165
+ shareLabel: t5,
166
+ valueLabel: t6,
167
+ valueOptions: t7
168
+ });
169
+ $[14] = t0;
170
+ $[15] = t2;
171
+ $[16] = t3;
172
+ $[17] = t4;
173
+ $[18] = t5;
174
+ $[19] = t6;
175
+ $[20] = t8;
176
+ } else t8 = $[20];
177
+ return t8;
178
+ }
179
+ const source$7 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, SPEND } from \"./spend.ts\";\n\nexport function Hidden(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"hidden.caption\")}\n defaultHiddenKeys={[\"platform\"]}\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={labelled(SPEND, (key) => t(`names.${key}`))}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n );\n}\n";
180
+ //#endregion
181
+ //#region src/treemap-chart/examples/largest.example.tsx
182
+ var largest_example_exports = /* @__PURE__ */ __exportAll({
183
+ Largest: () => Largest,
184
+ source: () => source$6
185
+ });
186
+ function Largest() {
187
+ const $ = c(20);
188
+ const { t } = useWords("treemap-chart");
189
+ let t0;
190
+ if ($[0] !== t) {
191
+ t0 = t("largest.caption");
192
+ $[0] = t;
193
+ $[1] = t0;
194
+ } else t0 = $[1];
195
+ let t1;
196
+ if ($[2] !== t) {
197
+ t1 = t("spend.label");
198
+ $[2] = t;
199
+ $[3] = t1;
200
+ } else t1 = $[3];
201
+ let t2;
202
+ if ($[4] !== t) {
203
+ t2 = t("teams");
204
+ $[4] = t;
205
+ $[5] = t2;
206
+ } else t2 = $[5];
207
+ let t3;
208
+ if ($[6] !== t) {
209
+ t3 = labelled(SPEND, (key) => t(`names.${key}`));
210
+ $[6] = t;
211
+ $[7] = t3;
212
+ } else t3 = $[7];
213
+ let t4;
214
+ if ($[8] !== t) {
215
+ t4 = t("share");
216
+ $[8] = t;
217
+ $[9] = t4;
218
+ } else t4 = $[9];
219
+ let t5;
220
+ if ($[10] !== t) {
221
+ t5 = t("value");
222
+ $[10] = t;
223
+ $[11] = t5;
224
+ } else t5 = $[11];
225
+ let t6;
226
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
227
+ t6 = {
228
+ currency: "EUR",
229
+ maximumFractionDigits: 0,
230
+ style: "currency"
231
+ };
232
+ $[12] = t6;
233
+ } else t6 = $[12];
234
+ let t7;
235
+ if ($[13] !== t0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
236
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
237
+ caption: t0,
238
+ defaultIndex: 6,
239
+ label: t1,
240
+ legendLabel: t2,
241
+ nodes: t3,
242
+ shareLabel: t4,
243
+ valueLabel: t5,
244
+ valueOptions: t6
245
+ });
246
+ $[13] = t0;
247
+ $[14] = t1;
248
+ $[15] = t2;
249
+ $[16] = t3;
250
+ $[17] = t4;
251
+ $[18] = t5;
252
+ $[19] = t7;
253
+ } else t7 = $[19];
254
+ return t7;
255
+ }
256
+ const source$6 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, SPEND } from \"./spend.ts\";\n\nexport function Largest(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"largest.caption\")}\n defaultIndex={6}\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={labelled(SPEND, (key) => t(`names.${key}`))}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n );\n}\n";
257
+ //#endregion
258
+ //#region src/treemap-chart/examples/palette.example.tsx
259
+ var palette_example_exports = /* @__PURE__ */ __exportAll({
260
+ Palette: () => Palette,
261
+ source: () => source$5
262
+ });
263
+ function Palette() {
264
+ const $ = c(20);
265
+ const { t } = useWords("treemap-chart");
266
+ let t0;
267
+ if ($[0] !== t) {
268
+ t0 = t("palette.caption");
269
+ $[0] = t;
270
+ $[1] = t0;
271
+ } else t0 = $[1];
272
+ let t1;
273
+ if ($[2] !== t) {
274
+ t1 = t("spend.label");
275
+ $[2] = t;
276
+ $[3] = t1;
277
+ } else t1 = $[3];
278
+ let t2;
279
+ if ($[4] !== t) {
280
+ t2 = t("teams");
281
+ $[4] = t;
282
+ $[5] = t2;
283
+ } else t2 = $[5];
284
+ let t3;
285
+ if ($[6] !== t) {
286
+ t3 = labelled(SPEND, (key) => t(`names.${key}`), {
287
+ data: "teal",
288
+ platform: "purple",
289
+ product: "orange"
290
+ });
291
+ $[6] = t;
292
+ $[7] = t3;
293
+ } else t3 = $[7];
294
+ let t4;
295
+ if ($[8] !== t) {
296
+ t4 = t("share");
297
+ $[8] = t;
298
+ $[9] = t4;
299
+ } else t4 = $[9];
300
+ let t5;
301
+ if ($[10] !== t) {
302
+ t5 = t("value");
303
+ $[10] = t;
304
+ $[11] = t5;
305
+ } else t5 = $[11];
306
+ let t6;
307
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
308
+ t6 = {
309
+ currency: "EUR",
310
+ maximumFractionDigits: 0,
311
+ style: "currency"
312
+ };
313
+ $[12] = t6;
314
+ } else t6 = $[12];
315
+ let t7;
316
+ if ($[13] !== t0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
317
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
318
+ caption: t0,
319
+ label: t1,
320
+ legendLabel: t2,
321
+ nodes: t3,
322
+ shareLabel: t4,
323
+ valueLabel: t5,
324
+ valueOptions: t6,
325
+ values: false
326
+ });
327
+ $[13] = t0;
328
+ $[14] = t1;
329
+ $[15] = t2;
330
+ $[16] = t3;
331
+ $[17] = t4;
332
+ $[18] = t5;
333
+ $[19] = t7;
334
+ } else t7 = $[19];
335
+ return t7;
336
+ }
337
+ const source$5 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, SPEND } from \"./spend.ts\";\n\nexport function Palette(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"palette.caption\")}\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={labelled(SPEND, (key) => t(`names.${key}`), {\n data: \"teal\",\n platform: \"purple\",\n product: \"orange\",\n })}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n values={false}\n />\n );\n}\n";
338
+ //#endregion
339
+ //#region src/treemap-chart/examples/quiet.example.tsx
340
+ var quiet_example_exports = /* @__PURE__ */ __exportAll({
341
+ Quiet: () => Quiet,
342
+ source: () => source$4
343
+ });
344
+ function Quiet() {
345
+ const $ = c(11);
346
+ const { t } = useWords("treemap-chart");
347
+ let t0;
348
+ if ($[0] !== t) {
349
+ t0 = t("quiet.caption");
350
+ $[0] = t;
351
+ $[1] = t0;
352
+ } else t0 = $[1];
353
+ let t1;
354
+ if ($[2] !== t) {
355
+ t1 = t("quiet.empty");
356
+ $[2] = t;
357
+ $[3] = t1;
358
+ } else t1 = $[3];
359
+ let t2;
360
+ if ($[4] !== t) {
361
+ t2 = t("spend.label");
362
+ $[4] = t;
363
+ $[5] = t2;
364
+ } else t2 = $[5];
365
+ let t3;
366
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
367
+ t3 = [];
368
+ $[6] = t3;
369
+ } else t3 = $[6];
370
+ let t4;
371
+ if ($[7] !== t0 || $[8] !== t1 || $[9] !== t2) {
372
+ t4 = /* @__PURE__ */ jsx(TreemapChart, {
373
+ caption: t0,
374
+ empty: t1,
375
+ label: t2,
376
+ nodes: t3
377
+ });
378
+ $[7] = t0;
379
+ $[8] = t1;
380
+ $[9] = t2;
381
+ $[10] = t4;
382
+ } else t4 = $[10];
383
+ return t4;
384
+ }
385
+ const source$4 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nexport function Quiet(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"quiet.caption\")}\n empty={t(\"quiet.empty\")}\n label={t(\"spend.label\")}\n nodes={[]}\n />\n );\n}\n";
386
+ //#endregion
387
+ //#region src/treemap-chart/examples/replay.example.tsx
388
+ var replay_example_exports = /* @__PURE__ */ __exportAll({
389
+ Replay: () => Replay,
390
+ source: () => source$3
391
+ });
392
+ function Replay() {
393
+ const $ = c(32);
394
+ const { t } = useWords("treemap-chart");
395
+ const [run, setRun] = useState(0);
396
+ let t0;
397
+ if ($[0] !== t) {
398
+ t0 = t("replay.caption");
399
+ $[0] = t;
400
+ $[1] = t0;
401
+ } else t0 = $[1];
402
+ let t1;
403
+ if ($[2] !== t) {
404
+ t1 = t("spend.label");
405
+ $[2] = t;
406
+ $[3] = t1;
407
+ } else t1 = $[3];
408
+ let t2;
409
+ if ($[4] !== t) {
410
+ t2 = t("teams");
411
+ $[4] = t;
412
+ $[5] = t2;
413
+ } else t2 = $[5];
414
+ let t3;
415
+ if ($[6] !== t) {
416
+ t3 = labelled(SPEND, (key) => t(`names.${key}`));
417
+ $[6] = t;
418
+ $[7] = t3;
419
+ } else t3 = $[7];
420
+ let t4;
421
+ if ($[8] !== t) {
422
+ t4 = t("share");
423
+ $[8] = t;
424
+ $[9] = t4;
425
+ } else t4 = $[9];
426
+ let t5;
427
+ if ($[10] !== t) {
428
+ t5 = t("value");
429
+ $[10] = t;
430
+ $[11] = t5;
431
+ } else t5 = $[11];
432
+ let t6;
433
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
434
+ t6 = {
435
+ currency: "EUR",
436
+ maximumFractionDigits: 0,
437
+ style: "currency"
438
+ };
439
+ $[12] = t6;
440
+ } else t6 = $[12];
441
+ let t7;
442
+ if ($[13] !== run || $[14] !== t0 || $[15] !== t1 || $[16] !== t2 || $[17] !== t3 || $[18] !== t4 || $[19] !== t5) {
443
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
444
+ animate: true,
445
+ caption: t0,
446
+ label: t1,
447
+ legendLabel: t2,
448
+ nodes: t3,
449
+ shareLabel: t4,
450
+ valueLabel: t5,
451
+ valueOptions: t6
452
+ }, run);
453
+ $[13] = run;
454
+ $[14] = t0;
455
+ $[15] = t1;
456
+ $[16] = t2;
457
+ $[17] = t3;
458
+ $[18] = t4;
459
+ $[19] = t5;
460
+ $[20] = t7;
461
+ } else t7 = $[20];
462
+ let t8;
463
+ if ($[21] !== run) {
464
+ t8 = () => {
465
+ setRun(run + 1);
466
+ };
467
+ $[21] = run;
468
+ $[22] = t8;
469
+ } else t8 = $[22];
470
+ let t9;
471
+ if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
472
+ t9 = /* @__PURE__ */ jsx(RotateCcwIcon, {});
473
+ $[23] = t9;
474
+ } else t9 = $[23];
475
+ let t10;
476
+ if ($[24] !== t) {
477
+ t10 = t("replay.replay");
478
+ $[24] = t;
479
+ $[25] = t10;
480
+ } else t10 = $[25];
481
+ let t11;
482
+ if ($[26] !== t10 || $[27] !== t8) {
483
+ t11 = /* @__PURE__ */ jsxs(Button, {
484
+ onClick: t8,
485
+ size: "sm",
486
+ variant: "outline",
487
+ children: [t9, t10]
488
+ });
489
+ $[26] = t10;
490
+ $[27] = t8;
491
+ $[28] = t11;
492
+ } else t11 = $[28];
493
+ let t12;
494
+ if ($[29] !== t11 || $[30] !== t7) {
495
+ t12 = /* @__PURE__ */ jsxs(Stack, {
496
+ align: "flex-start",
497
+ children: [t7, t11]
498
+ });
499
+ $[29] = t11;
500
+ $[30] = t7;
501
+ $[31] = t12;
502
+ } else t12 = $[31];
503
+ return t12;
504
+ }
505
+ const source$3 = "import { type ReactElement, useState } from \"react\";\n\nimport { RotateCcwIcon } from \"lucide-react\";\n\nimport { Button } from \"@stealthscale/component-actions\";\nimport { Stack } from \"@stealthscale/component-layout\";\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, SPEND } from \"./spend.ts\";\n\nexport function Replay(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n const [run, setRun] = useState(0);\n\n return (\n <Stack align=\"flex-start\">\n <TreemapChart\n animate\n caption={t(\"replay.caption\")}\n key={run}\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={labelled(SPEND, (key) => t(`names.${key}`))}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n <Button\n onClick={() => {\n setRun(run + 1);\n }}\n size=\"sm\"\n variant=\"outline\"\n >\n <RotateCcwIcon />\n {t(\"replay.replay\")}\n </Button>\n </Stack>\n );\n}\n";
506
+ //#endregion
507
+ //#region src/treemap-chart/examples/spend.example.tsx
508
+ var spend_example_exports = /* @__PURE__ */ __exportAll({
509
+ Spend: () => Spend,
510
+ source: () => source$2
511
+ });
512
+ function Spend() {
513
+ const $ = c(23);
514
+ const { t } = useWords("treemap-chart");
515
+ let nodes;
516
+ let t0;
517
+ if ($[0] !== t) {
518
+ nodes = labelled(SPEND, (key) => t(`names.${key}`));
519
+ t0 = hierarchyLeaves(nodes).toSorted(_temp);
520
+ $[0] = t;
521
+ $[1] = nodes;
522
+ $[2] = t0;
523
+ } else {
524
+ nodes = $[1];
525
+ t0 = $[2];
526
+ }
527
+ const [first, second] = t0;
528
+ let t1;
529
+ if ($[3] !== first || $[4] !== second || $[5] !== t) {
530
+ t1 = first && second && t("spend.caption", {
531
+ first: t(`names.${first.key}`),
532
+ second: t(`names.${second.key}`),
533
+ share: Math.round((first.share + second.share) * 100)
534
+ });
535
+ $[3] = first;
536
+ $[4] = second;
537
+ $[5] = t;
538
+ $[6] = t1;
539
+ } else t1 = $[6];
540
+ let t2;
541
+ if ($[7] !== t) {
542
+ t2 = t("spend.label");
543
+ $[7] = t;
544
+ $[8] = t2;
545
+ } else t2 = $[8];
546
+ let t3;
547
+ if ($[9] !== t) {
548
+ t3 = t("teams");
549
+ $[9] = t;
550
+ $[10] = t3;
551
+ } else t3 = $[10];
552
+ let t4;
553
+ if ($[11] !== t) {
554
+ t4 = t("share");
555
+ $[11] = t;
556
+ $[12] = t4;
557
+ } else t4 = $[12];
558
+ let t5;
559
+ if ($[13] !== t) {
560
+ t5 = t("value");
561
+ $[13] = t;
562
+ $[14] = t5;
563
+ } else t5 = $[14];
564
+ let t6;
565
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
566
+ t6 = {
567
+ currency: "EUR",
568
+ maximumFractionDigits: 0,
569
+ style: "currency"
570
+ };
571
+ $[15] = t6;
572
+ } else t6 = $[15];
573
+ let t7;
574
+ if ($[16] !== nodes || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5) {
575
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
576
+ caption: t1,
577
+ label: t2,
578
+ legendLabel: t3,
579
+ nodes,
580
+ shareLabel: t4,
581
+ valueLabel: t5,
582
+ valueOptions: t6
583
+ });
584
+ $[16] = nodes;
585
+ $[17] = t1;
586
+ $[18] = t2;
587
+ $[19] = t3;
588
+ $[20] = t4;
589
+ $[21] = t5;
590
+ $[22] = t7;
591
+ } else t7 = $[22];
592
+ return t7;
593
+ }
594
+ function _temp(a, b) {
595
+ return b.value - a.value;
596
+ }
597
+ const source$2 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart, hierarchyLeaves } from \"@stealthscale/component-charts\";\n\nimport { labelled, SPEND } from \"./spend.ts\";\n\nexport function Spend(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n const nodes = labelled(SPEND, (key) => t(`names.${key}`));\n const [first, second] = hierarchyLeaves(nodes).toSorted((a, b) => b.value - a.value);\n\n return (\n <TreemapChart\n caption={\n first &&\n second &&\n t(\"spend.caption\", {\n first: t(`names.${first.key}`),\n second: t(`names.${second.key}`),\n share: Math.round((first.share + second.share) * 100),\n })\n }\n label={t(\"spend.label\")}\n legendLabel={t(\"teams\")}\n nodes={nodes}\n shareLabel={t(\"share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n );\n}\n";
598
+ //#endregion
599
+ //#region src/treemap-chart/examples/storage.example.tsx
600
+ var storage_example_exports = /* @__PURE__ */ __exportAll({
601
+ Storage: () => Storage,
602
+ source: () => source$1
603
+ });
604
+ function Storage() {
605
+ const $ = c(20);
606
+ const { t } = useWords("treemap-chart");
607
+ let t0;
608
+ if ($[0] !== t) {
609
+ t0 = t("storage.caption");
610
+ $[0] = t;
611
+ $[1] = t0;
612
+ } else t0 = $[1];
613
+ let t1;
614
+ if ($[2] !== t) {
615
+ t1 = t("storage.label");
616
+ $[2] = t;
617
+ $[3] = t1;
618
+ } else t1 = $[3];
619
+ let t2;
620
+ if ($[4] !== t) {
621
+ t2 = t("folders");
622
+ $[4] = t;
623
+ $[5] = t2;
624
+ } else t2 = $[5];
625
+ let t3;
626
+ if ($[6] !== t) {
627
+ t3 = labelled(STORAGE, (key) => t(`names.${key}`));
628
+ $[6] = t;
629
+ $[7] = t3;
630
+ } else t3 = $[7];
631
+ let t4;
632
+ if ($[8] !== t) {
633
+ t4 = t("storage.share");
634
+ $[8] = t;
635
+ $[9] = t4;
636
+ } else t4 = $[9];
637
+ let t5;
638
+ if ($[10] !== t) {
639
+ t5 = t("storage.value");
640
+ $[10] = t;
641
+ $[11] = t5;
642
+ } else t5 = $[11];
643
+ let t6;
644
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
645
+ t6 = {
646
+ maximumFractionDigits: 0,
647
+ style: "unit",
648
+ unit: "gigabyte"
649
+ };
650
+ $[12] = t6;
651
+ } else t6 = $[12];
652
+ let t7;
653
+ if ($[13] !== t0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
654
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
655
+ caption: t0,
656
+ label: t1,
657
+ legendLabel: t2,
658
+ nodes: t3,
659
+ shareLabel: t4,
660
+ valueLabel: t5,
661
+ valueOptions: t6
662
+ });
663
+ $[13] = t0;
664
+ $[14] = t1;
665
+ $[15] = t2;
666
+ $[16] = t3;
667
+ $[17] = t4;
668
+ $[18] = t5;
669
+ $[19] = t7;
670
+ } else t7 = $[19];
671
+ return t7;
672
+ }
673
+ const source$1 = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, STORAGE } from \"./spend.ts\";\n\nexport function Storage(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"storage.caption\")}\n label={t(\"storage.label\")}\n legendLabel={t(\"folders\")}\n nodes={labelled(STORAGE, (key) => t(`names.${key}`))}\n shareLabel={t(\"storage.share\")}\n valueLabel={t(\"storage.value\")}\n valueOptions={{ maximumFractionDigits: 0, style: \"unit\", unit: \"gigabyte\" }}\n />\n );\n}\n";
674
+ //#endregion
675
+ //#region src/treemap-chart/examples/tail.example.tsx
676
+ var tail_example_exports = /* @__PURE__ */ __exportAll({
677
+ Tail: () => Tail,
678
+ source: () => source
679
+ });
680
+ function Tail() {
681
+ const $ = c(20);
682
+ const { t } = useWords("treemap-chart");
683
+ let t0;
684
+ if ($[0] !== t) {
685
+ t0 = t("tail.caption");
686
+ $[0] = t;
687
+ $[1] = t0;
688
+ } else t0 = $[1];
689
+ let t1;
690
+ if ($[2] !== t) {
691
+ t1 = t("tail.label");
692
+ $[2] = t;
693
+ $[3] = t1;
694
+ } else t1 = $[3];
695
+ let t2;
696
+ if ($[4] !== t) {
697
+ t2 = t("teams");
698
+ $[4] = t;
699
+ $[5] = t2;
700
+ } else t2 = $[5];
701
+ let t3;
702
+ if ($[6] !== t) {
703
+ t3 = labelled(TAIL, (key) => t(`names.${key}`));
704
+ $[6] = t;
705
+ $[7] = t3;
706
+ } else t3 = $[7];
707
+ let t4;
708
+ if ($[8] !== t) {
709
+ t4 = t("tail.share");
710
+ $[8] = t;
711
+ $[9] = t4;
712
+ } else t4 = $[9];
713
+ let t5;
714
+ if ($[10] !== t) {
715
+ t5 = t("value");
716
+ $[10] = t;
717
+ $[11] = t5;
718
+ } else t5 = $[11];
719
+ let t6;
720
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
721
+ t6 = {
722
+ currency: "EUR",
723
+ maximumFractionDigits: 0,
724
+ style: "currency"
725
+ };
726
+ $[12] = t6;
727
+ } else t6 = $[12];
728
+ let t7;
729
+ if ($[13] !== t0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
730
+ t7 = /* @__PURE__ */ jsx(TreemapChart, {
731
+ caption: t0,
732
+ label: t1,
733
+ legendLabel: t2,
734
+ nodes: t3,
735
+ shareLabel: t4,
736
+ valueLabel: t5,
737
+ valueOptions: t6
738
+ });
739
+ $[13] = t0;
740
+ $[14] = t1;
741
+ $[15] = t2;
742
+ $[16] = t3;
743
+ $[17] = t4;
744
+ $[18] = t5;
745
+ $[19] = t7;
746
+ } else t7 = $[19];
747
+ return t7;
748
+ }
749
+ const source = "import { type ReactElement } from \"react\";\n\nimport { useWords } from \"@stealthscale/specimen\";\n\nimport { TreemapChart } from \"@stealthscale/component-charts\";\n\nimport { labelled, TAIL } from \"./spend.ts\";\n\nexport function Tail(): ReactElement {\n const { t } = useWords(\"treemap-chart\");\n\n return (\n <TreemapChart\n caption={t(\"tail.caption\")}\n label={t(\"tail.label\")}\n legendLabel={t(\"teams\")}\n nodes={labelled(TAIL, (key) => t(`names.${key}`))}\n shareLabel={t(\"tail.share\")}\n valueLabel={t(\"value\")}\n valueOptions={{ currency: \"EUR\", maximumFractionDigits: 0, style: \"currency\" }}\n />\n );\n}\n";
750
+ //#endregion
751
+ //#region src/treemap-chart/treemap-chart.specimen.tsx
752
+ /**
753
+ * Catalogue page for the treemap chart.
754
+ *
755
+ * @remarks
756
+ * The treemap chart has no recipe of its own: the chart's recipe styles its figure, so every
757
+ * scene is hand-written. The scenes render a month's cloud bill by team and service with its two
758
+ * largest services in the caption, the tooltip at the largest service, a file server's folders in
759
+ * one level, a team with a long tail of small services, the bill with one team hidden, the teams
760
+ * in stated palettes without values, the bill with a credit below zero, the bill at a phone's
761
+ * width, the tiles animated in with a replay, and a treemap without nodes. Every scene renders a
762
+ * component from `examples/` and shows that file as its source. The words are keys under
763
+ * `treemap-chart` in `locales/en/specimen/treemap-chart.json`.
764
+ */
765
+ /**
766
+ * Hand-written scene for a month's cloud bill, its two largest services named in the caption.
767
+ */
768
+ const billed = {
769
+ about: "treemap-chart.spend.about",
770
+ draw: () => /* @__PURE__ */ jsx(Room, {
771
+ size: "lg",
772
+ children: /* @__PURE__ */ jsx(Spend, {})
773
+ }),
774
+ example: spend_example_exports,
775
+ title: "treemap-chart.spend.title"
776
+ };
777
+ /**
778
+ * Hand-written scene for the tooltip at the largest service.
779
+ */
780
+ const pointed = {
781
+ about: "treemap-chart.largest.about",
782
+ draw: () => /* @__PURE__ */ jsx(Room, {
783
+ size: "lg",
784
+ children: /* @__PURE__ */ jsx(Largest, {})
785
+ }),
786
+ example: largest_example_exports,
787
+ title: "treemap-chart.largest.title"
788
+ };
789
+ /**
790
+ * Hand-written scene for a file server's folders in one level.
791
+ */
792
+ const flat = {
793
+ about: "treemap-chart.storage.about",
794
+ draw: () => /* @__PURE__ */ jsx(Room, {
795
+ size: "lg",
796
+ children: /* @__PURE__ */ jsx(Storage, {})
797
+ }),
798
+ example: storage_example_exports,
799
+ title: "treemap-chart.storage.title"
800
+ };
801
+ /**
802
+ * Hand-written scene for a team with a long tail of small services.
803
+ */
804
+ const tailed = {
805
+ about: "treemap-chart.tail.about",
806
+ draw: () => /* @__PURE__ */ jsx(Room, {
807
+ size: "lg",
808
+ children: /* @__PURE__ */ jsx(Tail, {})
809
+ }),
810
+ example: tail_example_exports,
811
+ title: "treemap-chart.tail.title"
812
+ };
813
+ /**
814
+ * Hand-written scene for the bill with the platform team hidden.
815
+ */
816
+ const hid = {
817
+ about: "treemap-chart.hidden.about",
818
+ draw: () => /* @__PURE__ */ jsx(Room, {
819
+ size: "lg",
820
+ children: /* @__PURE__ */ jsx(Hidden, {})
821
+ }),
822
+ example: hidden_example_exports,
823
+ title: "treemap-chart.hidden.title"
824
+ };
825
+ /**
826
+ * Hand-written scene for the teams in stated palettes, without values.
827
+ */
828
+ const tinted = {
829
+ about: "treemap-chart.palette.about",
830
+ draw: () => /* @__PURE__ */ jsx(Room, {
831
+ size: "lg",
832
+ children: /* @__PURE__ */ jsx(Palette, {})
833
+ }),
834
+ example: palette_example_exports,
835
+ title: "treemap-chart.palette.title"
836
+ };
837
+ /**
838
+ * Hand-written scene for the bill with a credit below zero, named in the caption.
839
+ */
840
+ const credited = {
841
+ about: "treemap-chart.credit.about",
842
+ draw: () => /* @__PURE__ */ jsx(Room, {
843
+ size: "lg",
844
+ children: /* @__PURE__ */ jsx(Credit, {})
845
+ }),
846
+ example: credit_example_exports,
847
+ title: "treemap-chart.credit.title"
848
+ };
849
+ /**
850
+ * Hand-written scene for the bill at a phone's width.
851
+ */
852
+ const narrow = {
853
+ about: "treemap-chart.narrow.about",
854
+ draw: () => /* @__PURE__ */ jsx(Room, {
855
+ size: "xs",
856
+ children: /* @__PURE__ */ jsx(Spend, {})
857
+ }),
858
+ example: spend_example_exports,
859
+ title: "treemap-chart.narrow.title"
860
+ };
861
+ /**
862
+ * Hand-written scene for the tiles animated in, with a replay.
863
+ */
864
+ const animated = {
865
+ about: "treemap-chart.replay.about",
866
+ draw: () => /* @__PURE__ */ jsx(Room, {
867
+ size: "lg",
868
+ children: /* @__PURE__ */ jsx(Replay, {})
869
+ }),
870
+ example: replay_example_exports,
871
+ title: "treemap-chart.replay.title"
872
+ };
873
+ /**
874
+ * Hand-written scene for a treemap without nodes.
875
+ */
876
+ const empty = {
877
+ about: "treemap-chart.quiet.about",
878
+ draw: () => /* @__PURE__ */ jsx(Room, {
879
+ size: "lg",
880
+ children: /* @__PURE__ */ jsx(Quiet, {})
881
+ }),
882
+ example: quiet_example_exports,
883
+ title: "treemap-chart.quiet.title"
884
+ };
885
+ var treemap_chart_specimen_default = specimen({
886
+ about: "treemap-chart.about",
887
+ id: "components/charts/treemap-chart",
888
+ imports: "import { TreemapChart } from \"@stealthscale/component-charts\";",
889
+ scenes: [
890
+ billed,
891
+ pointed,
892
+ flat,
893
+ tailed,
894
+ hid,
895
+ tinted,
896
+ credited,
897
+ narrow,
898
+ animated,
899
+ empty
900
+ ],
901
+ title: "treemap-chart.title"
902
+ });
903
+ //#endregion
904
+ export { animated, billed, credited, treemap_chart_specimen_default as default, empty, flat, hid, narrow, pointed, tailed, tinted };