@seanyeh77/ui-cli 0.53.0 → 0.54.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/dist/cli.js +1 -0
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -191,6 +191,7 @@ function measure() {
|
|
|
191
191
|
for (const el of document.body.querySelectorAll("*")) {
|
|
192
192
|
if (out.nested.length >= 6) break;
|
|
193
193
|
if (!cardLike(el) || !visible(el)) continue;
|
|
194
|
+
if (el.matches("[role=tooltip], [popover], .ui-chart-tip, .ui-fp-tip")) continue;
|
|
194
195
|
for (let a = el.parentElement; a && a !== document.body; a = a.parentElement) {
|
|
195
196
|
if (getComputedStyle(a).position === "fixed") break;
|
|
196
197
|
if (cardLike(a)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seanyeh77/ui-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.1",
|
|
4
4
|
"description": "Checks a page against SeanYeh's design system, compares its screenshots with baselines and prints component docs: ui check, ui shots, ui docs, ui list.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Hsiu-An Yeh",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"pixelmatch": "^8.0.0",
|
|
22
22
|
"playwright": "1.65.0",
|
|
23
23
|
"pngjs": "^7.0.0",
|
|
24
|
-
"@seanyeh77/ui": "^0.
|
|
24
|
+
"@seanyeh77/ui": "^0.54.1"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=22"
|