@carbon/charts 1.14.7 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{_baseEach-HYEdUZwo.mjs → _baseEach-FYvKsL62.mjs} +2 -2
  3. package/dist/{_baseEach-HYEdUZwo.mjs.map → _baseEach-FYvKsL62.mjs.map} +1 -1
  4. package/dist/{angle-utils-OmWRg48c.mjs → angle-utils-f1TpgqMV.mjs} +12 -3
  5. package/dist/{angle-utils-OmWRg48c.mjs.map → angle-utils-f1TpgqMV.mjs.map} +1 -1
  6. package/dist/{choropleth-3h8ShsdZ.mjs → choropleth-o3sAu5GZ.mjs} +1390 -1323
  7. package/dist/choropleth-o3sAu5GZ.mjs.map +1 -0
  8. package/dist/{color-scale-utils-JIM28DuF.mjs → color-scale-utils-ePX_zGmy.mjs} +74 -62
  9. package/dist/color-scale-utils-ePX_zGmy.mjs.map +1 -0
  10. package/dist/components/axes/toolbar.d.ts +1 -1
  11. package/dist/components/essentials/tooltip.d.ts +2 -0
  12. package/dist/components/graphs/pie.d.ts +1 -0
  13. package/dist/components/index.mjs +1 -1
  14. package/dist/configuration-non-customizable.d.ts +4 -0
  15. package/dist/demo/index.mjs +5 -5
  16. package/dist/demo/styles.css +3 -0
  17. package/dist/demo/styles.css.map +1 -1
  18. package/dist/enums-sKf02OL8.mjs +89 -0
  19. package/dist/enums-sKf02OL8.mjs.map +1 -0
  20. package/dist/{index-2XiCVv0D.mjs → index-937eoUHH.mjs} +2 -2
  21. package/dist/index-937eoUHH.mjs.map +1 -0
  22. package/dist/index.mjs +11 -11
  23. package/dist/interfaces/components.d.ts +7 -0
  24. package/dist/interfaces/events.d.ts +3 -1
  25. package/dist/interfaces/index.mjs +1 -1
  26. package/dist/model/index.mjs +1 -1
  27. package/dist/services/essentials/dom-utils.d.ts +4 -0
  28. package/dist/services/index.mjs +3 -3
  29. package/dist/styles.css +3 -0
  30. package/dist/styles.css.map +1 -1
  31. package/dist/styles.min.css +1 -1
  32. package/dist/styles.min.css.map +1 -1
  33. package/dist/umd/bundle.umd.js +16 -16
  34. package/dist/umd/bundle.umd.js.map +1 -1
  35. package/dist/{wordcloud-SYB4uocC.mjs → wordcloud-w4x7neZf.mjs} +4 -4
  36. package/dist/{wordcloud-SYB4uocC.mjs.map → wordcloud-w4x7neZf.mjs.map} +1 -1
  37. package/dist/{zoom-97HkNhv7.mjs → zoom-gdS20wKV.mjs} +4 -4
  38. package/dist/{zoom-97HkNhv7.mjs.map → zoom-gdS20wKV.mjs.map} +1 -1
  39. package/package.json +2 -2
  40. package/scss/components/_tooltip.scss +4 -0
  41. package/styles.css +3 -0
  42. package/styles.min.css +1 -1
  43. package/dist/choropleth-3h8ShsdZ.mjs.map +0 -1
  44. package/dist/color-scale-utils-JIM28DuF.mjs.map +0 -1
  45. package/dist/enums-lWSDG4ik.mjs +0 -89
  46. package/dist/enums-lWSDG4ik.mjs.map +0 -1
  47. package/dist/index-2XiCVv0D.mjs.map +0 -1
@@ -28,7 +28,7 @@ export declare class Toolbar extends Component {
28
28
  getOverflowMenuItems(): any[];
29
29
  getOverflowButtonConfig(): {
30
30
  id: string;
31
- title: string;
31
+ title: any;
32
32
  shouldBeDisabled: () => boolean;
33
33
  iconSVG: {
34
34
  content: string;
@@ -6,6 +6,7 @@ export declare class Tooltip extends Component {
6
6
  type: string;
7
7
  renderType: RenderTypes;
8
8
  isEventListenerAdded: boolean;
9
+ lastTriggeredEventType: string;
9
10
  tooltip: any;
10
11
  positionService: Position;
11
12
  constructor(model: ChartModel, services: any, configs?: any);
@@ -18,5 +19,6 @@ export declare class Tooltip extends Component {
18
19
  getTooltipHTML(formattedItems: any): string;
19
20
  valueFormatter(value: any, label: string): any;
20
21
  render(animate?: boolean): void;
22
+ addOffsetByPlacement(position: any, placement: string, offset: number): any;
21
23
  positionTooltip(e: CustomEvent): void;
22
24
  }
@@ -3,6 +3,7 @@ import { RenderTypes } from '../../interfaces/enums';
3
3
  export declare class Pie extends Component {
4
4
  type: string;
5
5
  renderType: RenderTypes;
6
+ isRendering: boolean;
6
7
  arc: any;
7
8
  hoverArc: any;
8
9
  init(): void;
@@ -1,4 +1,4 @@
1
- import { v as e, w as r, A as o, k as t, x as i, B as l, y as n, z as d, D as h, l as p, a as u, C as S, E as c, F as C, m as g, a8 as B, I as m, J as T, n as L, G as b, K as k, N as A, o as x, O as P, H as R, a6 as w, L as G, P as H, Q as v, U as M, M as f, p as D, V as Z, W as j, R as q, X as y, Y as z, _ as E, $ as W, a7 as F, a0 as I, a1 as J, S as K, a2 as N, q as O, r as Q, T as U, u as V, a3 as X, a4 as Y, b as _, a5 as $, Z as aa, c as sa, d as ea, e as ra, f as oa, g as ta, h as ia, i as la, j as na, s as da, t as ha } from "../choropleth-3h8ShsdZ.mjs";
1
+ import { v as e, w as r, A as o, k as t, x as i, B as l, y as n, z as d, D as h, l as p, a as u, C as S, E as c, F as C, m as g, a8 as B, I as m, J as T, n as L, G as b, K as k, N as A, o as x, O as P, H as R, a6 as w, L as G, P as H, Q as v, U as M, M as f, p as D, V as Z, W as j, R as q, X as y, Y as z, _ as E, $ as W, a7 as F, a0 as I, a1 as J, S as K, a2 as N, q as O, r as Q, T as U, u as V, a3 as X, a4 as Y, b as _, a5 as $, Z as aa, c as sa, d as ea, e as ra, f as oa, g as ta, h as ia, i as la, j as na, s as da, t as ha } from "../choropleth-o3sAu5GZ.mjs";
2
2
  export {
3
3
  e as Alluvial,
4
4
  r as Area,
@@ -218,6 +218,7 @@ export declare const spacers: {
218
218
  };
219
219
  };
220
220
  export declare const tooltips: {
221
+ defaultOffset: number;
221
222
  horizontalOffset: number;
222
223
  };
223
224
  /**
@@ -230,6 +231,9 @@ export declare const transitions: {
230
231
  pie_slice_mouseover: {
231
232
  duration: number;
232
233
  };
234
+ pie_slice_mouseout: {
235
+ duration: number;
236
+ };
233
237
  pie_chart_titles: {
234
238
  duration: number;
235
239
  };
@@ -1,4 +1,4 @@
1
- import { S as _, A as i, u as QM, t as jM } from "../enums-lWSDG4ik.mjs";
1
+ import { S as _, A as i, u as QM, t as jM } from "../enums-sKf02OL8.mjs";
2
2
  const UA = [
3
3
  { group: "Dataset 1", date: new Date(2019, 0, 1), value: 0 },
4
4
  { group: "Dataset 1", date: new Date(2019, 0, 6), value: 57312 },
@@ -48823,7 +48823,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
48823
48823
  heatmapPositiveNegativeData: JM,
48824
48824
  heatmapPositiveNegativeOptions: wM,
48825
48825
  heatmapQuantizeLegendOption: ZM
48826
- }, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.14.7", DE = "Carbon Charts component library", oE = "module", rE = "./dist/index.mjs", nE = "./dist/umd/bundle.umd.js", iE = "./dist/index.d.ts", CE = {
48826
+ }, Symbol.toStringTag, { value: "Module" })), tE = "@carbon/charts", LE = "1.15.0", DE = "Carbon Charts component library", oE = "module", rE = "./dist/index.mjs", nE = "./dist/umd/bundle.umd.js", iE = "./dist/index.d.ts", CE = {
48827
48827
  "./package.json": "./package.json",
48828
48828
  "./styles.min.css": "./dist/styles.min.css",
48829
48829
  "./styles.css": "./dist/styles.css",
@@ -49004,7 +49004,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49004
49004
  maintainers: dE,
49005
49005
  contributors: pE,
49006
49006
  gitHead: mE
49007
- }, UE = "@carbon/charts-react", GE = "1.14.7", gE = "Carbon Charts component library for React", KE = "module", vE = "./dist/index.js", yE = "./dist/index.mjs", HE = "./dist/index.d.ts", hE = {
49007
+ }, UE = "@carbon/charts-react", GE = "1.15.0", gE = "Carbon Charts component library for React", KE = "module", vE = "./dist/index.js", yE = "./dist/index.mjs", HE = "./dist/index.d.ts", hE = {
49008
49008
  "./package.json": "./package.json",
49009
49009
  ".": {
49010
49010
  types: "./dist/index.d.ts",
@@ -49131,7 +49131,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49131
49131
  maintainers: QE,
49132
49132
  contributors: jE,
49133
49133
  gitHead: qE
49134
- }, AN = "@carbon/charts-svelte", _N = "1.14.7", eN = "Carbon Charts component library for Svelte", aN = {
49134
+ }, AN = "@carbon/charts-svelte", _N = "1.15.0", eN = "Carbon Charts component library for Svelte", aN = {
49135
49135
  postinstall: "ibmtelemetry --config=telemetry.yml",
49136
49136
  "file:styles": "cp ../core/dist/styles.* dist",
49137
49137
  "build:package": "svelte-kit sync && svelte-package && yarn file:styles",
@@ -49254,7 +49254,7 @@ const u3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
49254
49254
  author: sN,
49255
49255
  keywords: lN,
49256
49256
  gitHead: uN
49257
- }, TN = "@carbon/charts-vue", PN = "1.14.7", BN = "Carbon Charts component library for Vue", cN = "module", dN = "./dist/index.mjs", pN = "./dist/index.d.ts", mN = {
49257
+ }, TN = "@carbon/charts-vue", PN = "1.15.0", BN = "Carbon Charts component library for Vue", cN = "module", dN = "./dist/index.mjs", pN = "./dist/index.d.ts", mN = {
49258
49258
  "./styles.min.css": "./dist/styles.min.css",
49259
49259
  "./styles.css": "./dist/styles.css",
49260
49260
  ".": {
@@ -4713,6 +4713,9 @@ div.cds--cc--legend.clickable div.legend-item:not(.additional):hover div.checkbo
4713
4713
  .cds--cc--tooltip .content-box {
4714
4714
  color: var(--cds-text-primary, #161616);
4715
4715
  }
4716
+ .cds--cc--tooltip .content-box .title-tooltip.title-tooltip-nowrap {
4717
+ width: max-content;
4718
+ }
4716
4719
  .cds--cc--tooltip .content-box .title-tooltip {
4717
4720
  width: auto;
4718
4721
  padding: 4px;