mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-19 07:29:14 +00:00
Compare commits
20 Commits
konnorroge
...
current
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e6e0368a4 | ||
|
|
409ac96ddf | ||
|
|
1bf09f20aa | ||
|
|
ba642a0886 | ||
|
|
c37c71d8fd | ||
|
|
05b1212657 | ||
|
|
62b4525321 | ||
|
|
44628889fe | ||
|
|
3168a1acf8 | ||
|
|
17160e3bed | ||
|
|
fe2e2d6df5 | ||
|
|
6e2856db5f | ||
|
|
6d1eb71d8e | ||
|
|
a334e53a5d | ||
|
|
0d50749ec8 | ||
|
|
316d8b52b6 | ||
|
|
b7b2d9265a | ||
|
|
b797803a2b | ||
|
|
bcb4f2267b | ||
|
|
c951661b58 |
@@ -373,12 +373,4 @@
|
||||
hide();
|
||||
}
|
||||
});
|
||||
|
||||
// We're using Turbo, so when a user searches for something, visits a result, and presses the back button, the search
|
||||
// UI will still be visible but not interactive. This removes the search UI when Turbo renders a page so they don't
|
||||
// get trapped.
|
||||
window.addEventListener('turbo:render', () => {
|
||||
document.body.classList.remove('search-visible');
|
||||
document.querySelectorAll('.search__overlay, .search__dialog').forEach(el => el.remove());
|
||||
});
|
||||
})();
|
||||
|
||||
16
package.json
16
package.json
@@ -25,8 +25,15 @@
|
||||
"./dist/react/*": "./dist/react/*",
|
||||
"./dist/translations/*": "./dist/translations/*"
|
||||
},
|
||||
"files": ["dist", "cdn"],
|
||||
"keywords": ["web components", "custom elements", "components"],
|
||||
"files": [
|
||||
"dist",
|
||||
"cdn"
|
||||
],
|
||||
"keywords": [
|
||||
"web components",
|
||||
"custom elements",
|
||||
"components"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/shoelace-style/shoelace.git"
|
||||
@@ -133,6 +140,9 @@
|
||||
"user-agent-data-types": "^0.3.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,js}": ["eslint --max-warnings 0 --cache --fix", "prettier --write"]
|
||||
"*.{ts,js}": [
|
||||
"eslint --max-warnings 0 --cache --fix",
|
||||
"prettier --write"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,10 +53,6 @@ async function buildTheDocs(watch = false) {
|
||||
output.push(data.toString());
|
||||
});
|
||||
|
||||
child.stderr.on('data', data => {
|
||||
output.push(data.toString());
|
||||
});
|
||||
|
||||
if (watch) {
|
||||
// The process doesn't terminate in watch mode so, before resolving, we listen for a known signal in stdout that
|
||||
// tells us when the first build completes.
|
||||
|
||||
Reference in New Issue
Block a user