@fluid-topics/ft-tooltip 0.2.3 → 0.2.4
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.
|
@@ -242,7 +242,7 @@ const ut=t=>({_$litStatic$:t}),dt=new Map,yt=(t=>(i,...e)=>{var o;const n=e.leng
|
|
|
242
242
|
* Copyright 2017 Google LLC
|
|
243
243
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
244
244
|
*/
|
|
245
|
-
function(t,i,e){let n,s=t;return"object"==typeof t?(s=t.slot,n=t):n={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return o({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),a=null!=s?r(s,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:s,flatten:i,selector:e}):o({descriptor:t=>({get(){var t,i;const e="slot"+(s?`[name=${s}]`:":not([name])"),o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==o?void 0:o.assignedNodes(n))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Ki.prototype,"slotNodes",void 0),Pi([n(".ft-tooltip--container")],Ki.prototype,"container",void 0),Pi([n("slot")],Ki.prototype,"target",void 0),Pi([n(".ft-tooltip")],Ki.prototype,"tooltip",void 0),Pi([n(".ft-tooltip--content")],Ki.prototype,"tooltipContent",void 0),Pi([function(t){return e({...t,state:!0})}()],Ki.prototype,"visible",void 0),a("ft-tooltip")(function t(i){var e;let o;if("elementDefinitions"in i){o={};const e=i.elementDefinitions;for(let i in e)o[i]=t(e[i])}return e=class extends i{
|
|
245
|
+
function(t,i,e){let n,s=t;return"object"==typeof t?(s=t.slot,n=t):n={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return o({descriptor:o=>({get(){var o;const n="slot"+(i?`[name=${i}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),a=null!=s?r(s,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:s,flatten:i,selector:e}):o({descriptor:t=>({get(){var t,i;const e="slot"+(s?`[name=${s}]`:":not([name])"),o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==o?void 0:o.assignedNodes(n))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Ki.prototype,"slotNodes",void 0),Pi([n(".ft-tooltip--container")],Ki.prototype,"container",void 0),Pi([n("slot")],Ki.prototype,"target",void 0),Pi([n(".ft-tooltip")],Ki.prototype,"tooltip",void 0),Pi([n(".ft-tooltip--content")],Ki.prototype,"tooltipContent",void 0),Pi([function(t){return e({...t,state:!0})}()],Ki.prototype,"visible",void 0),a("ft-tooltip")(function t(i){var e;let o;if("elementDefinitions"in i){o={};const e=i.elementDefinitions;for(let i in e)o[i]=t(e[i])}return e=class extends i{render(){var t;let e=null!==(t=i.styles)&&void 0!==t?t:[];return Array.isArray(e)||(e=[e]),D`
|
|
246
246
|
${e.map((t=>D`
|
|
247
247
|
<style>${t}</style>
|
|
248
248
|
`))}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-tooltip",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "A simple tooltip component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-typography": "^0.2.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "^0.2.
|
|
22
|
+
"@fluid-topics/ft-typography": "^0.2.4",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "^0.2.4",
|
|
24
24
|
"lit": "2.1.3"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "dd34b0ce95457dbe65b23250e49804ee883096d9"
|
|
27
27
|
}
|