lion/packages/tooltip/custom-elements.json
2021-02-15 18:07:33 +01:00

134 lines
3.3 KiB
JSON

{
"schemaVersion": "experimental",
"readme": "",
"modules": [
{
"kind": "javascript-module",
"path": "./index.js",
"declarations": [],
"exports": [
{
"kind": "js",
"name": "LionTooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./lion-tooltip.js",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "lion-tooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "./src/LionTooltip.js",
"declarations": [
{
"kind": "class",
"name": "LionTooltip",
"mixins": [
{
"name": "ArrowMixin",
"package": "@lion/overlays"
},
{
"name": "OverlayMixin",
"package": "@lion/overlays"
}
],
"superclass": {
"name": "LitElement",
"package": "@lion/core"
},
"attributes": [
{
"name": "invoker-relation",
"fieldName": "invokerRelation"
}
],
"members": [
{
"kind": "field",
"name": "invokerRelation",
"privacy": "public",
"type": {
"type": "'label'|'description'"
},
"description": "Decides whether the tooltip invoker text should be considered a description\n(sets aria-describedby) or a label (sets aria-labelledby).",
"default": "'description'"
},
{
"kind": "method",
"name": "_defineOverlayConfig",
"privacy": "public"
},
{
"kind": "method",
"name": "_hasDisabledInvoker",
"privacy": "public"
},
{
"kind": "method",
"name": "_setupOpenCloseListeners",
"privacy": "public"
},
{
"kind": "method",
"name": "_teardownOpenCloseListeners",
"privacy": "public"
},
{
"kind": "method",
"name": "__resetActive",
"privacy": "public"
},
{
"kind": "method",
"name": "_showMouse",
"privacy": "public"
},
{
"kind": "method",
"name": "_hideMouse",
"privacy": "public"
},
{
"kind": "method",
"name": "_showKey",
"privacy": "public"
},
{
"kind": "method",
"name": "_hideKey",
"privacy": "public"
}
],
"tagName": "lion-tooltip"
}
],
"exports": [
{
"kind": "js",
"name": "LionTooltip",
"declaration": {
"name": "LionTooltip",
"module": "./src/LionTooltip.js"
}
}
]
}
]
}