@lrnwebcomponents/absolute-position-behavior
Advanced tools
Comparing version 2.5.0 to 2.6.3
@@ -12,3 +12,3 @@ /** | ||
* @demo ./demo/index.html | ||
* @customElement absolute-position-behavior | ||
* @element absolute-position-behavior | ||
*/ | ||
@@ -15,0 +15,0 @@ class AbsolutePositionBehavior extends LitElement { |
@@ -12,3 +12,3 @@ /** | ||
* @demo ./demo/index.html | ||
* @customElement absolute-position-behavior | ||
* @element absolute-position-behavior | ||
*/ | ||
@@ -15,0 +15,0 @@ class AbsolutePositionBehavior extends LitElement { |
{ | ||
"schema_version": "1.0.0", | ||
"elements": [ | ||
"classes": [ | ||
{ | ||
@@ -8,67 +8,3 @@ "description": "`absolute-position-state-manager`\nmanages state of multiple absolute-positioned elements on a page", | ||
"path": "lib/absolute-position-state-manager.js", | ||
"properties": [ | ||
{ | ||
"name": "elements", | ||
"type": "Array | null | undefined", | ||
"description": "Stores an array of all elements using manager.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 43, | ||
"column": 6 | ||
}, | ||
"end": { | ||
"line": 45, | ||
"column": 7 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Array" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "__observer", | ||
"type": "Object | null | undefined", | ||
"description": "mutation observer", | ||
"privacy": "private", | ||
"sourceRange": { | ||
"start": { | ||
"line": 49, | ||
"column": 6 | ||
}, | ||
"end": { | ||
"line": 51, | ||
"column": 7 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Object" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "__timeout", | ||
"type": "Object | null | undefined", | ||
"description": "resize timeout", | ||
"privacy": "private", | ||
"sourceRange": { | ||
"start": { | ||
"line": 55, | ||
"column": 6 | ||
}, | ||
"end": { | ||
"line": 57, | ||
"column": 7 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Object" | ||
} | ||
} | ||
} | ||
], | ||
"properties": [], | ||
"methods": [ | ||
@@ -313,28 +249,3 @@ { | ||
"superclass": "LitElement", | ||
"name": "AbsolutePositionStateManager", | ||
"attributes": [ | ||
{ | ||
"name": "elements", | ||
"description": "Stores an array of all elements using manager.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 43, | ||
"column": 6 | ||
}, | ||
"end": { | ||
"line": 45, | ||
"column": 7 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "Array | null | undefined" | ||
} | ||
], | ||
"events": [], | ||
"styling": { | ||
"cssVariables": [], | ||
"selectors": [] | ||
}, | ||
"slots": [], | ||
"tagname": "absolute-position-state-manager" | ||
"name": "AbsolutePositionStateManager" | ||
}, | ||
@@ -345,193 +256,3 @@ { | ||
"path": "absolute-position-behavior.js", | ||
"properties": [ | ||
{ | ||
"name": "auto", | ||
"type": "boolean | null | undefined", | ||
"description": "Element is positioned from connected to disconnected?\nOtherwise setPosition and unsetPosition must be called manually.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 49, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 52, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Boolean" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "fitToVisibleBounds", | ||
"type": "boolean | null | undefined", | ||
"description": "If true, no parts of the tooltip will ever be shown offscreen.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 56, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 59, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Boolean" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "hidden", | ||
"type": "boolean | null | undefined", | ||
"description": "If true, no parts of the tooltip will ever be shown offscreen.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 63, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 66, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Boolean" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "for", | ||
"type": "string | null | undefined", | ||
"description": "The id of the element that the tooltip is anchored to. This element\nmust be a sibling of the tooltip. If this property is not set,\nthen the tooltip will be centered to the parent node containing it.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 72, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 76, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "String" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "offset", | ||
"type": "number | null | undefined", | ||
"description": "The spacing between the top of the tooltip and the element it is\nanchored to.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 81, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 84, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Number" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "position", | ||
"type": "string | null | undefined", | ||
"description": "Positions the tooltip to the top, right, bottom, left of its content.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 88, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 92, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "String" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "positionAlign", | ||
"type": "string | null | undefined", | ||
"description": "Aligns at the start, or end fo target. Default is centered.", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 96, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 100, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "String" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "target", | ||
"type": "Object | null | undefined", | ||
"description": "The actual target element", | ||
"privacy": "public", | ||
"sourceRange": { | ||
"start": { | ||
"line": 104, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 106, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Object" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "__positions", | ||
"type": "Object | null | undefined", | ||
"description": "The element's style", | ||
"privacy": "private", | ||
"sourceRange": { | ||
"start": { | ||
"line": 110, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 112, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": { | ||
"polymer": { | ||
"attributeType": "Object" | ||
} | ||
} | ||
} | ||
], | ||
"properties": [], | ||
"methods": [ | ||
@@ -665,2 +386,6 @@ { | ||
"description": "" | ||
}, | ||
{ | ||
"url": "./demo/index.html", | ||
"description": "" | ||
} | ||
@@ -681,142 +406,5 @@ ], | ||
"superclass": "LitElement", | ||
"name": "AbsolutePositionBehavior", | ||
"attributes": [ | ||
{ | ||
"name": "auto", | ||
"description": "Element is positioned from connected to disconnected?\nOtherwise setPosition and unsetPosition must be called manually.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 49, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 52, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "boolean | null | undefined" | ||
}, | ||
{ | ||
"name": "fit-to-visible-bounds", | ||
"description": "If true, no parts of the tooltip will ever be shown offscreen.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 56, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 59, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "boolean | null | undefined" | ||
}, | ||
{ | ||
"name": "hidden", | ||
"description": "If true, no parts of the tooltip will ever be shown offscreen.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 63, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 66, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "boolean | null | undefined" | ||
}, | ||
{ | ||
"name": "for", | ||
"description": "The id of the element that the tooltip is anchored to. This element\nmust be a sibling of the tooltip. If this property is not set,\nthen the tooltip will be centered to the parent node containing it.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 72, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 76, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "string | null | undefined" | ||
}, | ||
{ | ||
"name": "offset", | ||
"description": "The spacing between the top of the tooltip and the element it is\nanchored to.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 81, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 84, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "number | null | undefined" | ||
}, | ||
{ | ||
"name": "position", | ||
"description": "Positions the tooltip to the top, right, bottom, left of its content.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 88, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 92, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "string | null | undefined" | ||
}, | ||
{ | ||
"name": "position-align", | ||
"description": "Aligns at the start, or end fo target. Default is centered.", | ||
"sourceRange": { | ||
"start": { | ||
"line": 96, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 100, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "string | null | undefined" | ||
}, | ||
{ | ||
"name": "target", | ||
"description": "The actual target element", | ||
"sourceRange": { | ||
"start": { | ||
"line": 104, | ||
"column": 2 | ||
}, | ||
"end": { | ||
"line": 106, | ||
"column": 3 | ||
} | ||
}, | ||
"metadata": {}, | ||
"type": "Object | null | undefined" | ||
} | ||
], | ||
"events": [], | ||
"styling": { | ||
"cssVariables": [], | ||
"selectors": [] | ||
}, | ||
"slots": [], | ||
"tagname": "absolute-position-behavior" | ||
"name": "AbsolutePositionBehavior" | ||
} | ||
] | ||
} |
@@ -26,3 +26,3 @@ /** | ||
* | ||
* @customElement absolute-position-state-manager | ||
* @element absolute-position-state-manager | ||
*/ | ||
@@ -29,0 +29,0 @@ class AbsolutePositionStateManager extends LitElement { |
@@ -20,3 +20,3 @@ { | ||
}, | ||
"version": "2.5.0", | ||
"version": "2.6.3", | ||
"description": "Abstracting the positioning behavior from paper-tooltip to be resusable in other elements", | ||
@@ -69,3 +69,3 @@ "repository": { | ||
], | ||
"gitHead": "3f7a6e3d9f51b13c9b2abaa53b1f75f3acb46f70" | ||
"gitHead": "5b87417e138250dc7da2de0d3c7fb0b0a696a199" | ||
} |
@@ -12,3 +12,3 @@ /** | ||
* @demo ./demo/index.html | ||
* @customElement absolute-position-behavior | ||
* @element absolute-position-behavior | ||
*/ | ||
@@ -15,0 +15,0 @@ class AbsolutePositionBehavior extends LitElement { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103967
1791