@adyen/lume 1.9.5 → 1.10.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.
@@ -1 +1 @@
1
- {"version":3,"file":"lume-chart.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart/lume-chart.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,QAAQ,EAMT,MAAM,KAAK,CAAC;AAYb,OAAO,EAAW,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AAqBrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAgJtD,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,QAmBzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0zBD,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,YAAY,EAAE,CAAC,CAAC;KACf,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"lume-chart.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart/lume-chart.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,QAAQ,EAMT,MAAM,KAAK,CAAC;AAYb,OAAO,EAAW,KAAK,EAAiB,MAAM,sBAAsB,CAAC;AAqBrE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAgJtD,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,QAqBzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0zBD,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,YAAY,EAAE,CAAC,CAAC;KACf,CAAA;CAAE,CAAC"}
package/dist/index.js CHANGED
@@ -306,7 +306,7 @@ const Nt = {
306
306
  /** Formatting string/function for the tick label. */
307
307
  tickFormat: null,
308
308
  /** Space between the tick label and the axis line. */
309
- tickPadding: 8
309
+ tickPadding: 12
310
310
  }, xn = {
311
311
  ...Nt,
312
312
  withTitle: !1,
@@ -811,7 +811,7 @@ var Un = function() {
811
811
  return r("div", { staticClass: "lume-chart-legend", attrs: { "data-j-chart-legend": "" }, on: { mouseleave: function(a) {
812
812
  return n.emit("mouseleave");
813
813
  } } }, e._l(e.data, function(a, o) {
814
- return r("div", { key: `legend-item-${o}`, staticClass: "lume-chart-legend__item lume-typography--body", attrs: { tabindex: "0", "data-j-chart-legend__symbol-wrapper": "" }, on: { click: function(l) {
814
+ return r("div", { key: `legend-item-${o}`, staticClass: "lume-chart-legend__item lume-typography--caption", attrs: { tabindex: "0", "data-j-chart-legend__symbol-wrapper": "" }, on: { click: function(l) {
815
815
  return n.emit("click", { index: o, dataset: a, event: l });
816
816
  }, mouseenter: function(l) {
817
817
  return n.emit("mouseenter", { index: o, dataset: a, event: l });
@@ -823,7 +823,7 @@ var Un = function() {
823
823
  Xn,
824
824
  !1,
825
825
  null,
826
- "3e2dc6fc",
826
+ "6f1d1c44",
827
827
  null,
828
828
  null
829
829
  );
@@ -1542,10 +1542,10 @@ const Zr = /* @__PURE__ */ H({
1542
1542
  });
1543
1543
  function be(b) {
1544
1544
  var V;
1545
- if (b === d.value)
1545
+ if (f.value.withHover === !1 || b === d.value)
1546
1546
  return;
1547
1547
  const P = d.value;
1548
- if (f.value.withHover !== !1 && (d.value = b), f.value.withTooltip !== !1) {
1548
+ if (d.value = b, f.value.withTooltip !== !1) {
1549
1549
  const Mt = (V = f.value.tooltipOptions) != null && V.targetElement ? f.value.tooltipOptions.targetElement === "self" ? _.value.$el : f.value.tooltipOptions.targetElement : s.value[b];
1550
1550
  ge(Mt);
1551
1551
  }
@@ -1603,7 +1603,7 @@ var Ur = function() {
1603
1603
  }, mouseenter: function(a) {
1604
1604
  return n.emit("chart-mouseenter", a);
1605
1605
  }, mouseleave: n.handleMouseleave }, scopedSlots: e._u([{ key: "header", fn: function() {
1606
- return [r("div", { staticClass: "lume-chart__header" }, [r("div", { staticClass: "lume-chart__header-section" }, [e.title ? r("h1", { staticClass: "lume-chart__title lume-chart-title lume-typography--display" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "lume-chart__controls" }, [e._t("controls")], 2)]), r("div", { staticClass: "lume-chart__header-section" }, [n.showYAxisTitle ? r("h3", { staticClass: "lume-chart__axis-title lume-axis-title lume-typography--body" }, [e._v(" " + e._s(n.yAxisTitle) + " ")]) : e._e(), e._t("legend", function() {
1606
+ return [r("div", { staticClass: "lume-chart__header" }, [r("div", { staticClass: "lume-chart__header-section" }, [e.title ? r("h1", { staticClass: "lume-chart__title lume-chart-title lume-typography--display" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "lume-chart__controls" }, [e._t("controls")], 2)]), r("div", { staticClass: "lume-chart__header-section" }, [n.showYAxisTitle ? r("h3", { staticClass: "lume-chart__axis-title lume-axis-title lume-typography--caption" }, [e._v(" " + e._s(n.yAxisTitle) + " ")]) : e._e(), e._t("legend", function() {
1607
1607
  return [n.allOptions.withLegend !== !1 && n.allOptions.legendPosition !== "bottom" ? r(n.LumeChartLegend, { staticClass: "lume-chart__legend", attrs: { data: n.internalData, "data-j-lume-chart__legend": "" }, on: { click: function(a) {
1608
1608
  return n.emit("legend-click", a);
1609
1609
  }, mouseenter: function(a) {
@@ -1659,7 +1659,7 @@ var Ur = function() {
1659
1659
  Xr,
1660
1660
  !1,
1661
1661
  null,
1662
- "f30a752f",
1662
+ "4eac6847",
1663
1663
  null,
1664
1664
  null
1665
1665
  );