@ukic/web-components 3.22.0 → 3.23.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.
@@ -666,6 +666,7 @@ const IcTooltipStyle0 = icTooltipCss;
666
666
  const Tooltip = class {
667
667
  constructor(hostRef) {
668
668
  index.registerInstance(this, hostRef);
669
+ this.icTooltipShow = index.createEvent(this, "icTooltipShow", 7);
669
670
  this.delayedHideEvents = ["mouseleave"];
670
671
  this.instantHideEvents = ["focusout"];
671
672
  this.mouseOverTool = false;
@@ -741,6 +742,7 @@ const Tooltip = class {
741
742
  ]
742
743
  : []),
743
744
  ] }, this.popperProps));
745
+ this.icTooltipShow.emit();
744
746
  }
745
747
  else {
746
748
  console.warn(`Tooltip can't display without prop 'label' set`);
@@ -877,10 +879,10 @@ const Tooltip = class {
877
879
  }
878
880
  render() {
879
881
  const { label, maxLines, silent, theme } = this;
880
- return (index.h(index.Host, { key: '3a57831b80c59ddef6785c1f840ecfd974081de9', class: {
882
+ return (index.h(index.Host, { key: '61c01b4710b1fb71a42044c7e4b7675497952575', class: {
881
883
  "ic-tooltip": true,
882
884
  [`ic-theme-${theme}`]: theme !== "inherit",
883
- }, "aria-label": helpers.isSafari && label }, index.h("div", { key: '03a49bde1864792bc994c18fbc7c05d1f872746b', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, index.h("ic-typography", { key: '5188c9d83e230efc0d78df9abd1951597b3a108a', maxLines: maxLines, variant: "caption" }, label), index.h("div", { key: '8f94c1568e3635817f7079f105ae7e38b65960aa', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), index.h("slot", { key: '242ee30597606f704984b8ee9f7445406849b964' })));
885
+ }, "aria-label": helpers.isSafari && label }, index.h("div", { key: '5b7e00e8164b7a95ca17523d11b4bd02bc4eefbb', ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, index.h("ic-typography", { key: 'a118c99c30c776f39ed25c630a4231cb637fdcd2', maxLines: maxLines, variant: "caption" }, label), index.h("div", { key: '2ee6065bc691893170591e43aba77973e6387141', ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), index.h("slot", { key: 'd76275c08c93ee6d4b39b0ab6be9093a8d5e6de1' })));
884
886
  }
885
887
  get el() { return index.getElement(this); }
886
888
  static get watchers() { return {