add official Chrome feature demos

This commit is contained in:
2026-06-14 15:22:32 +08:00
parent 500217f2fd
commit de690f85fa
32 changed files with 2376 additions and 567 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
QUERY=${1:-"animate a dialog modal backdrop"}
GUIDE_ID=${2:-"animate-to-from-top-layer"}
echo "== Modern Web Guidance: search =="
echo "npx modern-web-guidance@latest search \"$QUERY\""
npx modern-web-guidance@latest search "$QUERY"
echo
echo "== Modern Web Guidance: retrieve =="
echo "npx modern-web-guidance@latest retrieve \"$GUIDE_ID\""
npx modern-web-guidance@latest retrieve "$GUIDE_ID"