@lukso/web-components 1.70.1 → 1.71.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/dist/components/lukso-tooltip/index.cjs +5 -1
- package/dist/components/lukso-tooltip/index.d.ts +1 -0
- package/dist/components/lukso-tooltip/index.d.ts.map +1 -1
- package/dist/components/lukso-tooltip/index.js +5 -1
- package/dist/components/lukso-tooltip/lukso-tooltip.stories.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3475,6 +3475,7 @@ exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.T
|
|
|
3475
3475
|
this.copyValue = "";
|
|
3476
3476
|
this.offset = 10;
|
|
3477
3477
|
this.options = "";
|
|
3478
|
+
this.showArrow = true;
|
|
3478
3479
|
this.showCopy = false;
|
|
3479
3480
|
this.optionsParsed = [];
|
|
3480
3481
|
this.tooltipInstance = void 0;
|
|
@@ -3510,7 +3511,7 @@ exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.T
|
|
|
3510
3511
|
this.tooltipInstance = tippy(trigger, {
|
|
3511
3512
|
content: tooltip.innerHTML,
|
|
3512
3513
|
allowHTML: true,
|
|
3513
|
-
arrow:
|
|
3514
|
+
arrow: this.showArrow,
|
|
3514
3515
|
animation: "fade",
|
|
3515
3516
|
interactive: true,
|
|
3516
3517
|
appendTo: () => document.body,
|
|
@@ -3637,6 +3638,9 @@ __decorateClass([
|
|
|
3637
3638
|
__decorateClass([
|
|
3638
3639
|
queryAssignedElements.n({ type: String })
|
|
3639
3640
|
], exports.LuksoTooltip.prototype, "options", 2);
|
|
3641
|
+
__decorateClass([
|
|
3642
|
+
queryAssignedElements.n({ type: Boolean, attribute: "show-arrow" })
|
|
3643
|
+
], exports.LuksoTooltip.prototype, "showArrow", 2);
|
|
3640
3644
|
__decorateClass([
|
|
3641
3645
|
state.t()
|
|
3642
3646
|
], exports.LuksoTooltip.prototype, "showCopy", 2);
|
|
@@ -1 +1 @@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AAK;IAGX,OAAO,SAAK;IAGZ,SAAS,UAAO;IAGhB,QAAQ,UAAQ;IAGhB,aAAa,EAAE,aAAa,EAAE,CAAK;IAEnC,OAAO,CAAC,eAAe,CAAY;IAEnC,OAAO,CAAC,aAAa,CAMnB;IAEF,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,WAAW;IA8BnB,OAAO,CAAC,WAAW;IAab,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAyBxD,oBAAoB;IAKpB,OAAO,CAAC,eAAe;IAqBvB,MAAM;CA2BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,YAAY,CAAA;KAC9B;CACF"}
|
|
@@ -3471,6 +3471,7 @@ let LuksoTooltip = class extends TailwindStyledElement(style) {
|
|
|
3471
3471
|
this.copyValue = "";
|
|
3472
3472
|
this.offset = 10;
|
|
3473
3473
|
this.options = "";
|
|
3474
|
+
this.showArrow = true;
|
|
3474
3475
|
this.showCopy = false;
|
|
3475
3476
|
this.optionsParsed = [];
|
|
3476
3477
|
this.tooltipInstance = void 0;
|
|
@@ -3506,7 +3507,7 @@ let LuksoTooltip = class extends TailwindStyledElement(style) {
|
|
|
3506
3507
|
this.tooltipInstance = tippy(trigger, {
|
|
3507
3508
|
content: tooltip.innerHTML,
|
|
3508
3509
|
allowHTML: true,
|
|
3509
|
-
arrow:
|
|
3510
|
+
arrow: this.showArrow,
|
|
3510
3511
|
animation: "fade",
|
|
3511
3512
|
interactive: true,
|
|
3512
3513
|
appendTo: () => document.body,
|
|
@@ -3633,6 +3634,9 @@ __decorateClass([
|
|
|
3633
3634
|
__decorateClass([
|
|
3634
3635
|
n({ type: String })
|
|
3635
3636
|
], LuksoTooltip.prototype, "options", 2);
|
|
3637
|
+
__decorateClass([
|
|
3638
|
+
n({ type: Boolean, attribute: "show-arrow" })
|
|
3639
|
+
], LuksoTooltip.prototype, "showArrow", 2);
|
|
3636
3640
|
__decorateClass([
|
|
3637
3641
|
t()
|
|
3638
3642
|
], LuksoTooltip.prototype, "showCopy", 2);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lukso-tooltip.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-tooltip/lukso-tooltip.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,SAAS,CAAA;AAChB,OAAO,uBAAuB,CAAA;AAE9B,gEAAgE;AAChE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"lukso-tooltip.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-tooltip/lukso-tooltip.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,SAAS,CAAA;AAChB,OAAO,uBAAuB,CAAA;AAE9B,gEAAgE;AAChE,QAAA,MAAM,IAAI,EAAE,IAmMX,CAAA;AAED,eAAe,IAAI,CAAA;AAyCnB,8CAA8C;AAC9C,eAAO,MAAM,cAAc,KAA2B,CAAA;AAMtD,4CAA4C;AAC5C,eAAO,MAAM,YAAY,KAA2B,CAAA;AAOpD,sEAAsE;AACtE,eAAO,MAAM,QAAQ,KAA2B,CAAA;AAUhD,gCAAgC;AAChC,eAAO,MAAM,SAAS,KAA2B,CAAA;AASjD,mCAAmC;AACnC,eAAO,MAAM,YAAY,KAA2B,CAAA;AASpD,qCAAqC;AACrC,eAAO,MAAM,cAAc,KAA2B,CAAA;AAStD,oCAAoC;AACpC,eAAO,MAAM,aAAa,KAA2B,CAAA;AASrD,oEAAoE;AACpE,eAAO,MAAM,cAAc,KAA2B,CAAA;AAOtD,eAAO,MAAM,aAAa,KAA2B,CAAA;AAQrD,eAAO,MAAM,eAAe,KAA2B,CAAA;AASvD,8DAA8D;AAC9D,eAAO,MAAM,MAAM,KAA2B,CAAA;AAS9C,qIAAqI;AACrI,eAAO,MAAM,aAAa,KAA2B,CAAA;AAUrD,qDAAqD;AACrD,eAAO,MAAM,cAAc,KAA2B,CAAA"}
|