mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 00:21:18 +00:00
chore: add search UI
This commit is contained in:
@@ -6,4 +6,6 @@ stats.html
|
||||
/packages/**/test-node/**/snapshots
|
||||
/packages/demoing-storybook/storybook-static/**/*
|
||||
/packages/**/demo/**/*
|
||||
/packages/dev-server-hmr/src/patches/**/*
|
||||
/packages/dev-server-hmr/src/patches/**/*
|
||||
_site/
|
||||
_site-dev
|
||||
|
||||
@@ -11,3 +11,5 @@ packages/**/test-node/**/snapshots
|
||||
/packages/rollup-plugin-html/dist/**/*
|
||||
CHANGELOG.md
|
||||
__snapshots__/
|
||||
_site/
|
||||
_site-dev/
|
||||
|
||||
@@ -124,6 +124,10 @@ rocket-navigation > ul > li > a {
|
||||
#mobile-menu-trigger svg {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
rocket-search svg {
|
||||
fill: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
|
||||
@@ -51,6 +51,10 @@ html {
|
||||
--button-two: black;
|
||||
--button-two-hover: rgb(36, 36, 36);
|
||||
|
||||
--rocket-search-background-color: #4a4d52;
|
||||
--rocket-search-highlight-color: #41ffb0;
|
||||
--rocket-search-hover-background-color: #6b717a;
|
||||
--rocket-search-fill-color: #fff;
|
||||
|
||||
/* Markdown */
|
||||
--markdown-octicon-link: var(--primary-text-color);
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Building ||40
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Demoing ||30
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Development ||10
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Experimental ||60
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Legacy ||50
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Linting >> EsLint Plugin Lit A11y || 10
|
||||
|
||||
sse
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Linting ||45
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Testing || 20
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Community ||40
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Developing Components ||10
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Knowledge ||50
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Knowledge >> LitElement ||20
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Knowledge >> Styling ||30
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Knowledge >> Testing ||50
|
||||
|
||||
Please see a sub page
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
excludeFromSearch: true
|
||||
---
|
||||
|
||||
# Tools ||30
|
||||
|
||||
Please see a sub page
|
||||
|
||||
11
package.json
11
package.json
@@ -13,6 +13,7 @@
|
||||
"lint:types": "npm run types",
|
||||
"postinstall": "npm run setup",
|
||||
"release": "changeset publish && yarn format",
|
||||
"search": "rocket search",
|
||||
"setup": "npm run setup:ts-configs",
|
||||
"setup:ts-configs": "node scripts/generate-ts-configs.mjs",
|
||||
"site:build": "node scripts/workspaces-scripts-bin.mjs site:build && npm run codelabs:build && rocket build",
|
||||
@@ -28,16 +29,14 @@
|
||||
"update-dependency": "node scripts/update-dependency.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@d4kmor/cli": "^0.7.0",
|
||||
"@d4kmor/blog": "^0.1.0",
|
||||
"@d4kmor/cli": "^0.10.1",
|
||||
"@d4kmor/core": "^0.1.3",
|
||||
"@d4kmor/launch": "^0.6.0",
|
||||
"@d4kmor/search": "^0.1.2"
|
||||
"@d4kmor/launch": "^0.9.0",
|
||||
"@d4kmor/search": "^0.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^0.11.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.1",
|
||||
"@changesets/cli": "^2.11.1",
|
||||
"@github/clipboard-copy-element": "^1.1.1",
|
||||
"@types/aria-query": "^4.2.0",
|
||||
"@types/chai": "^4.2.11",
|
||||
"@types/chai-fs": "^2.0.2",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { rocketLaunch } from '@d4kmor/launch';
|
||||
import { rocketBlog } from '@d4kmor/blog';
|
||||
import { rocketSearch } from '@d4kmor/search';
|
||||
import { absoluteBaseUrlNetlify } from '@d4kmor/core/helpers';
|
||||
|
||||
export default {
|
||||
themes: [rocketLaunch(), rocketSearch()],
|
||||
themes: [rocketLaunch(), rocketBlog(), rocketSearch()],
|
||||
build: {
|
||||
emptyOutputDir: false,
|
||||
absoluteBaseUrl: absoluteBaseUrlNetlify('http://localhost:8080'),
|
||||
|
||||
Reference in New Issue
Block a user