@limetech/lime-elements 38.23.5 → 38.24.1
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/CHANGELOG.md +19 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +42 -0
- package/dist/cjs/limel-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-viewer.cjs.entry.js +24 -11
- package/dist/cjs/limel-file-viewer.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/{limel-portal_2.cjs.entry.js → limel-portal_3.cjs.entry.js} +107 -11
- package/dist/cjs/limel-portal_3.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-profile-picture.cjs.entry.js +536 -0
- package/dist/cjs/limel-profile-picture.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{translations-2746c4c6.js → translations-d2be6dd7.js} +41 -9
- package/dist/cjs/translations-d2be6dd7.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/file-viewer/file-viewer.css +4 -2
- package/dist/collection/components/file-viewer/file-viewer.js +22 -9
- package/dist/collection/components/file-viewer/file-viewer.js.map +1 -1
- package/dist/collection/components/profile-picture/profile-picture.css +255 -0
- package/dist/collection/components/profile-picture/profile-picture.js +554 -0
- package/dist/collection/components/profile-picture/profile-picture.js.map +1 -0
- package/dist/collection/translations/da.js +5 -1
- package/dist/collection/translations/da.js.map +1 -1
- package/dist/collection/translations/de.js +5 -1
- package/dist/collection/translations/de.js.map +1 -1
- package/dist/collection/translations/en.js +5 -1
- package/dist/collection/translations/en.js.map +1 -1
- package/dist/collection/translations/fi.js +5 -1
- package/dist/collection/translations/fi.js.map +1 -1
- package/dist/collection/translations/fr.js +5 -1
- package/dist/collection/translations/fr.js.map +1 -1
- package/dist/collection/translations/nl.js +5 -1
- package/dist/collection/translations/nl.js.map +1 -1
- package/dist/collection/translations/no.js +5 -1
- package/dist/collection/translations/no.js.map +1 -1
- package/dist/collection/translations/sv.js +5 -1
- package/dist/collection/translations/sv.js.map +1 -1
- package/dist/collection/util/image-resize.js +305 -0
- package/dist/collection/util/image-resize.js.map +1 -0
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-action-bar_2.entry.js +1 -1
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-badge.entry.js +38 -0
- package/dist/esm/limel-badge.entry.js.map +1 -0
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-chip_2.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-file-viewer.entry.js +24 -11
- package/dist/esm/limel-file-viewer.entry.js.map +1 -1
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/{limel-portal_2.entry.js → limel-portal_3.entry.js} +107 -12
- package/dist/esm/limel-portal_3.entry.js.map +1 -0
- package/dist/esm/limel-profile-picture.entry.js +532 -0
- package/dist/esm/limel-profile-picture.entry.js.map +1 -0
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-snackbar.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{translations-0c3c0779.js → translations-91c611da.js} +41 -9
- package/dist/esm/translations-91c611da.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -1
- package/dist/lime-elements/p-18a3c28a.entry.js +2 -0
- package/dist/lime-elements/p-18a3c28a.entry.js.map +1 -0
- package/dist/lime-elements/{p-244e13f5.entry.js → p-1b036add.entry.js} +2 -2
- package/dist/lime-elements/{p-9abbe61a.entry.js → p-2e22d9a1.entry.js} +2 -2
- package/dist/lime-elements/p-4c88e5d3.js +2 -0
- package/dist/lime-elements/p-4c88e5d3.js.map +1 -0
- package/dist/lime-elements/{p-208f87d2.entry.js → p-6466167d.entry.js} +2 -2
- package/dist/lime-elements/{p-5bf57c21.entry.js → p-8e3c4418.entry.js} +2 -2
- package/dist/lime-elements/p-92809b13.entry.js +2 -0
- package/dist/lime-elements/p-92809b13.entry.js.map +1 -0
- package/dist/lime-elements/{p-b957a3ca.entry.js → p-aeba4aa4.entry.js} +2 -2
- package/dist/lime-elements/p-b5a96409.entry.js +2 -0
- package/dist/lime-elements/p-b5a96409.entry.js.map +1 -0
- package/dist/lime-elements/{p-8a7bc823.entry.js → p-b5abf284.entry.js} +2 -2
- package/dist/lime-elements/{p-00aee6b6.entry.js → p-cc7f4c81.entry.js} +2 -2
- package/dist/lime-elements/{p-e4d64dd2.entry.js → p-e6bb4d1a.entry.js} +2 -2
- package/dist/lime-elements/{p-d7e93894.entry.js → p-e8520341.entry.js} +2 -2
- package/dist/lime-elements/p-ed04acfc.entry.js +2 -0
- package/dist/lime-elements/p-ed04acfc.entry.js.map +1 -0
- package/dist/lime-elements/{p-6edfe426.entry.js → p-ed8aa16c.entry.js} +2 -2
- package/dist/lime-elements/{p-2173d6d5.entry.js → p-ee0ed7ba.entry.js} +2 -2
- package/dist/lime-elements/{p-5018673b.entry.js → p-f83ebd28.entry.js} +2 -2
- package/dist/types/components/profile-picture/profile-picture.d.ts +126 -0
- package/dist/types/components.d.ts +203 -0
- package/dist/types/translations/da.d.ts +4 -0
- package/dist/types/translations/de.d.ts +4 -0
- package/dist/types/translations/en.d.ts +4 -0
- package/dist/types/translations/fi.d.ts +4 -0
- package/dist/types/translations/fr.d.ts +4 -0
- package/dist/types/translations/nl.d.ts +4 -0
- package/dist/types/translations/no.d.ts +4 -0
- package/dist/types/translations/sv.d.ts +4 -0
- package/dist/types/util/image-resize.d.ts +138 -0
- package/package.json +1 -1
- package/dist/cjs/limel-badge_2.cjs.entry.js +0 -138
- package/dist/cjs/limel-badge_2.cjs.entry.js.map +0 -1
- package/dist/cjs/limel-portal_2.cjs.entry.js.map +0 -1
- package/dist/cjs/translations-2746c4c6.js.map +0 -1
- package/dist/esm/limel-badge_2.entry.js +0 -133
- package/dist/esm/limel-badge_2.entry.js.map +0 -1
- package/dist/esm/limel-portal_2.entry.js.map +0 -1
- package/dist/esm/translations-0c3c0779.js.map +0 -1
- package/dist/lime-elements/p-29b1f083.entry.js +0 -2
- package/dist/lime-elements/p-29b1f083.entry.js.map +0 -1
- package/dist/lime-elements/p-65d5d2fb.entry.js +0 -2
- package/dist/lime-elements/p-65d5d2fb.entry.js.map +0 -1
- package/dist/lime-elements/p-c8825e88.js +0 -2
- package/dist/lime-elements/p-c8825e88.js.map +0 -1
- package/dist/lime-elements/p-fe7243c1.entry.js +0 -2
- package/dist/lime-elements/p-fe7243c1.entry.js.map +0 -1
- /package/dist/lime-elements/{p-244e13f5.entry.js.map → p-1b036add.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-9abbe61a.entry.js.map → p-2e22d9a1.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-208f87d2.entry.js.map → p-6466167d.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-5bf57c21.entry.js.map → p-8e3c4418.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-b957a3ca.entry.js.map → p-aeba4aa4.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-8a7bc823.entry.js.map → p-b5abf284.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-00aee6b6.entry.js.map → p-cc7f4c81.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-e4d64dd2.entry.js.map → p-e6bb4d1a.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-d7e93894.entry.js.map → p-e8520341.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-6edfe426.entry.js.map → p-ed8aa16c.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-2173d6d5.entry.js.map → p-ee0ed7ba.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-5018673b.entry.js.map → p-f83ebd28.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-2714248e.js';
|
|
2
|
-
import { t as translate } from './translations-
|
|
2
|
+
import { t as translate } from './translations-91c611da.js';
|
|
3
3
|
|
|
4
4
|
const linearProgressCss = ":host(limel-linear-progress){isolation:isolate;position:relative;overflow:hidden;display:flex;width:100%;height:0.25rem;border-radius:0.25rem;background-color:var(--background-color, rgb(var(--contrast-800), 0.5))}.progress{height:100%;width:var(--percentage, 0%);border-radius:0.25rem;background-color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host(limel-linear-progress[indeterminate]) .progress{background-color:transparent;width:100%}:host(limel-linear-progress[indeterminate]) .progress:before,:host(limel-linear-progress[indeterminate]) .progress:after{will-change:left, right, opacity;content:\"\";position:absolute;inset:0;height:100%;border-radius:0.25rem;opacity:0;background-color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host(limel-linear-progress[indeterminate]) .progress:before{animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite}:host(limel-linear-progress[indeterminate]) .progress:after{animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite 1.15s}@keyframes indeterminate{0%{left:-35%;right:100%;opacity:0}10%,80%{opacity:1}60%{left:100%;right:-90%}100%{left:100%;right:-90%;opacity:0}}@keyframes indeterminate-short{0%{left:-200%;right:100%;opacity:0}10%,80%{opacity:1}60%{left:107%;right:-8%}100%{left:107%;right:-8%;opacity:0}}";
|
|
5
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-2714248e.js';
|
|
2
|
+
import { c as createRandomString } from './random-string-355331d3.js';
|
|
2
3
|
|
|
3
4
|
var top = 'top';
|
|
4
5
|
var bottom = 'bottom';
|
|
@@ -262,7 +263,7 @@ function contains(parent, child) {
|
|
|
262
263
|
return false;
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
function getComputedStyle(element) {
|
|
266
|
+
function getComputedStyle$1(element) {
|
|
266
267
|
return getWindow(element).getComputedStyle(element);
|
|
267
268
|
}
|
|
268
269
|
|
|
@@ -295,7 +296,7 @@ function getParentNode(element) {
|
|
|
295
296
|
|
|
296
297
|
function getTrueOffsetParent(element) {
|
|
297
298
|
if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
|
|
298
|
-
getComputedStyle(element).position === 'fixed') {
|
|
299
|
+
getComputedStyle$1(element).position === 'fixed') {
|
|
299
300
|
return null;
|
|
300
301
|
}
|
|
301
302
|
|
|
@@ -310,7 +311,7 @@ function getContainingBlock(element) {
|
|
|
310
311
|
|
|
311
312
|
if (isIE && isHTMLElement(element)) {
|
|
312
313
|
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
313
|
-
var elementCss = getComputedStyle(element);
|
|
314
|
+
var elementCss = getComputedStyle$1(element);
|
|
314
315
|
|
|
315
316
|
if (elementCss.position === 'fixed') {
|
|
316
317
|
return null;
|
|
@@ -324,7 +325,7 @@ function getContainingBlock(element) {
|
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
327
|
-
var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
328
|
+
var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
328
329
|
// create a containing block.
|
|
329
330
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
330
331
|
|
|
@@ -344,11 +345,11 @@ function getOffsetParent(element) {
|
|
|
344
345
|
var window = getWindow(element);
|
|
345
346
|
var offsetParent = getTrueOffsetParent(element);
|
|
346
347
|
|
|
347
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
|
348
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
348
349
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
349
350
|
}
|
|
350
351
|
|
|
351
|
-
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
|
|
352
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) {
|
|
352
353
|
return window;
|
|
353
354
|
}
|
|
354
355
|
|
|
@@ -533,7 +534,7 @@ function mapToStyles(_ref2) {
|
|
|
533
534
|
if (offsetParent === getWindow(popper)) {
|
|
534
535
|
offsetParent = getDocumentElement(popper);
|
|
535
536
|
|
|
536
|
-
if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
|
|
537
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
537
538
|
heightProp = 'scrollHeight';
|
|
538
539
|
widthProp = 'scrollWidth';
|
|
539
540
|
}
|
|
@@ -765,7 +766,7 @@ function getDocumentRect(element) {
|
|
|
765
766
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
766
767
|
var y = -winScroll.scrollTop;
|
|
767
768
|
|
|
768
|
-
if (getComputedStyle(body || html).direction === 'rtl') {
|
|
769
|
+
if (getComputedStyle$1(body || html).direction === 'rtl') {
|
|
769
770
|
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
770
771
|
}
|
|
771
772
|
|
|
@@ -779,7 +780,7 @@ function getDocumentRect(element) {
|
|
|
779
780
|
|
|
780
781
|
function isScrollParent(element) {
|
|
781
782
|
// Firefox wants us to check `-x` and `-y` variations as well
|
|
782
|
-
var _getComputedStyle = getComputedStyle(element),
|
|
783
|
+
var _getComputedStyle = getComputedStyle$1(element),
|
|
783
784
|
overflow = _getComputedStyle.overflow,
|
|
784
785
|
overflowX = _getComputedStyle.overflowX,
|
|
785
786
|
overflowY = _getComputedStyle.overflowY;
|
|
@@ -854,7 +855,7 @@ function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
|
854
855
|
|
|
855
856
|
function getClippingParents(element) {
|
|
856
857
|
var clippingParents = listScrollParents(getParentNode(element));
|
|
857
|
-
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
|
|
858
|
+
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0;
|
|
858
859
|
var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
859
860
|
|
|
860
861
|
if (!isElement(clipperElement)) {
|
|
@@ -2045,6 +2046,100 @@ const Portal = class {
|
|
|
2045
2046
|
};
|
|
2046
2047
|
Portal.style = portalCss;
|
|
2047
2048
|
|
|
2049
|
+
/**
|
|
2050
|
+
*
|
|
2051
|
+
* @param id
|
|
2052
|
+
* @param startingPoint
|
|
2053
|
+
*/
|
|
2054
|
+
function getOwnerElement(id, startingPoint) {
|
|
2055
|
+
let element = startingPoint;
|
|
2056
|
+
do {
|
|
2057
|
+
element = element.parentNode;
|
|
2058
|
+
} while (element &&
|
|
2059
|
+
element.nodeType !== Node.DOCUMENT_FRAGMENT_NODE &&
|
|
2060
|
+
element.nodeType !== Node.DOCUMENT_NODE);
|
|
2061
|
+
return element === null || element === void 0 ? void 0 : element.getElementById(id);
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
const DEFAULT_DELAY_FOR_SHOWING = 500;
|
|
2065
|
+
class TooltipTimer {
|
|
2066
|
+
constructor(showCallback, hideCallback, delayForShowing = DEFAULT_DELAY_FOR_SHOWING) {
|
|
2067
|
+
this.timerHandle = null;
|
|
2068
|
+
this.showCallback = showCallback;
|
|
2069
|
+
this.hideCallback = hideCallback;
|
|
2070
|
+
this.delayForShowing = delayForShowing;
|
|
2071
|
+
}
|
|
2072
|
+
showAfterDelay() {
|
|
2073
|
+
if (!this.timerHandle) {
|
|
2074
|
+
this.timerHandle = setTimeout(this.showCallback, this.delayForShowing);
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
hide() {
|
|
2078
|
+
clearTimeout(this.timerHandle);
|
|
2079
|
+
this.timerHandle = null;
|
|
2080
|
+
this.hideCallback();
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
const tooltipCss = ":host(limel-tooltip){position:absolute;pointer-events:none}";
|
|
2085
|
+
|
|
2086
|
+
const DEFAULT_MAX_LENGTH = 50;
|
|
2087
|
+
const Tooltip = class {
|
|
2088
|
+
constructor(hostRef) {
|
|
2089
|
+
registerInstance(this, hostRef);
|
|
2090
|
+
this.showTooltip = () => {
|
|
2091
|
+
this.tooltipTimer.showAfterDelay();
|
|
2092
|
+
};
|
|
2093
|
+
this.hideTooltip = () => {
|
|
2094
|
+
this.tooltipTimer.hide();
|
|
2095
|
+
};
|
|
2096
|
+
this.elementId = undefined;
|
|
2097
|
+
this.label = undefined;
|
|
2098
|
+
this.helperLabel = undefined;
|
|
2099
|
+
this.maxlength = DEFAULT_MAX_LENGTH;
|
|
2100
|
+
this.openDirection = 'top';
|
|
2101
|
+
this.open = undefined;
|
|
2102
|
+
this.portalId = createRandomString();
|
|
2103
|
+
this.tooltipId = createRandomString();
|
|
2104
|
+
this.tooltipTimer = new TooltipTimer(() => (this.open = true), () => (this.open = false));
|
|
2105
|
+
}
|
|
2106
|
+
connectedCallback() {
|
|
2107
|
+
this.ownerElement = getOwnerElement(this.elementId, this.host);
|
|
2108
|
+
this.setOwnerAriaLabel();
|
|
2109
|
+
this.addListeners();
|
|
2110
|
+
}
|
|
2111
|
+
disconnectedCallback() {
|
|
2112
|
+
this.removeListeners();
|
|
2113
|
+
}
|
|
2114
|
+
render() {
|
|
2115
|
+
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
2116
|
+
return (h("div", { class: "trigger-anchor" }, h("limel-portal", { openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
|
|
2117
|
+
'z-index': tooltipZIndex,
|
|
2118
|
+
'pointer-events': 'none',
|
|
2119
|
+
}, anchor: this.ownerElement }, h("limel-tooltip-content", { label: this.label, helperLabel: this.helperLabel, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
2120
|
+
}
|
|
2121
|
+
setOwnerAriaLabel() {
|
|
2122
|
+
var _a;
|
|
2123
|
+
(_a = this.ownerElement) === null || _a === void 0 ? void 0 : _a.setAttribute('aria-describedby', this.tooltipId);
|
|
2124
|
+
}
|
|
2125
|
+
addListeners() {
|
|
2126
|
+
var _a, _b, _c, _d;
|
|
2127
|
+
(_a = this.ownerElement) === null || _a === void 0 ? void 0 : _a.addEventListener('mouseover', this.showTooltip);
|
|
2128
|
+
(_b = this.ownerElement) === null || _b === void 0 ? void 0 : _b.addEventListener('mouseout', this.hideTooltip);
|
|
2129
|
+
(_c = this.ownerElement) === null || _c === void 0 ? void 0 : _c.addEventListener('focus', this.showTooltip);
|
|
2130
|
+
(_d = this.ownerElement) === null || _d === void 0 ? void 0 : _d.addEventListener('blur', this.hideTooltip);
|
|
2131
|
+
}
|
|
2132
|
+
removeListeners() {
|
|
2133
|
+
var _a, _b, _c, _d;
|
|
2134
|
+
(_a = this.ownerElement) === null || _a === void 0 ? void 0 : _a.removeEventListener('mouseover', this.showTooltip);
|
|
2135
|
+
(_b = this.ownerElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseout', this.hideTooltip);
|
|
2136
|
+
(_c = this.ownerElement) === null || _c === void 0 ? void 0 : _c.removeEventListener('focus', this.showTooltip);
|
|
2137
|
+
(_d = this.ownerElement) === null || _d === void 0 ? void 0 : _d.removeEventListener('blur', this.hideTooltip);
|
|
2138
|
+
}
|
|
2139
|
+
get host() { return getElement(this); }
|
|
2140
|
+
};
|
|
2141
|
+
Tooltip.style = tooltipCss;
|
|
2142
|
+
|
|
2048
2143
|
const tooltipContentCss = ":host(limel-tooltip-content){display:flex;border-radius:0.25rem;padding:0.25rem 0.5rem;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16)}text{font-size:var(--limel-theme-default-font-size);line-height:1.25;display:flex;column-gap:1rem}text.has-column-layout{display:table-cell;width:fit-content;max-width:min(var(--tooltip-max-width-of-text), 80vw)}text.has-column-layout .label{padding-bottom:0.5rem}text.has-column-layout .helper-label{padding-bottom:0.25rem}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}.helper-label:empty{display:none}";
|
|
2049
2144
|
|
|
2050
2145
|
const TooltipContent = class {
|
|
@@ -2073,6 +2168,6 @@ const TooltipContent = class {
|
|
|
2073
2168
|
};
|
|
2074
2169
|
TooltipContent.style = tooltipContentCss;
|
|
2075
2170
|
|
|
2076
|
-
export { Portal as limel_portal, TooltipContent as limel_tooltip_content };
|
|
2171
|
+
export { Portal as limel_portal, Tooltip as limel_tooltip, TooltipContent as limel_tooltip_content };
|
|
2077
2172
|
|
|
2078
|
-
//# sourceMappingURL=limel-
|
|
2173
|
+
//# sourceMappingURL=limel-portal_3.entry.js.map
|