Expose a reflected clampToContainer boolean that, when set, makes fit() clamp the popup against its nearest containing-block rect instead of the viewport. Required for popups under an ancestor with transform/filter/ contain:layout|paint, where position: fixed resolves against that ancestor. Bumps @tp/helpers dependency to ^2.13.0 for the matching _posFixed support.
21 lines
443 B
JSON
21 lines
443 B
JSON
{
|
|
"name": "@tp/tp-popup",
|
|
"version": "1.4.0",
|
|
"description": "",
|
|
"main": "tp-popup.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.codeblob.work/tp-elements/tp-popup.git"
|
|
},
|
|
"author": "trading_peter",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@tp/helpers": "^2.13.0",
|
|
"@tp/tp-icon": "^1.0.1",
|
|
"lit": "^3.0.0"
|
|
}
|
|
}
|