Skip to content

Commit f1539d7

Browse files
committed
Merge branch 'release/2.0.0-beta.10'
2 parents d0ca9a5 + 158b3ea commit f1539d7

File tree

17 files changed

+597
-26
lines changed

17 files changed

+597
-26
lines changed

package-lock.json

Lines changed: 215 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/js-toolkit-workspace",
3-
"version": "2.0.0-beta.9",
3+
"version": "2.0.0-beta.10",
44
"private": true,
55
"workspaces": [
66
"packages/*"
@@ -9,7 +9,7 @@
99
"demo:dev": "npm run dev --workspace=@studiometa/js-toolkit-demo",
1010
"demo:build": "npm run build --workspace=@studiometa/js-toolkit-demo",
1111
"docs:dev": "npm run dev --workspace=@studiometa/js-toolkit-docs",
12-
"docs:build": "npm run build --workspace=@studiometa/js-toolkit-docs",
12+
"docs:build": "cd packages/docs && npm install && npm run build",
1313
"test": "npm run test --workspace=@studiometa/js-toolkit-tests",
1414
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:docs",
1515
"lint:eslint": "eslint packages/js-toolkit",

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/js-toolkit-demo",
3-
"version": "2.0.0-beta.9",
3+
"version": "2.0.0-beta.10",
44
"private": true,
55
"type": "commonjs",
66
"scripts": {
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<script setup>
2+
import Theme from 'vitepress/dist/client/theme-default';
3+
import { useKBarHandler } from '@bytebase/vue-kbar';
4+
5+
const { Layout } = Theme;
6+
const handler = useKBarHandler();
7+
</script>
8+
9+
<template>
10+
<Layout>
11+
<template #navbar-search>
12+
<button
13+
class="ml-6 px-6 py-2 text-gray-500 text-sm font-medium cursor-pointer rounded-full bg-gray-100 hover:bg-white border-0 ring-2 ring-inset ring-brand ring-opacity-0 hover:ring-opacity-1 focus:ring-opacity-1 focus:outline-none transition"
14+
@click="handler.show"
15+
>
16+
<span class="whitespace-nowrap">Search (⌘+K)</span>
17+
</button>
18+
</template>
19+
</Layout>
20+
</template>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script setup>
2+
import Search from './Search.vue';
3+
import App from './App.vue';
4+
5+
</script>
6+
7+
<template>
8+
<Search>
9+
<App />
10+
</Search>
11+
</template>

0 commit comments

Comments
 (0)