diff --git a/package.json b/package.json index 1a46b84ec..ed9d85101 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .", "test": "vitest run", "test:ui": "vitest --ui", - "test:watch": "vitetest watch", + "test:watch": "vitest watch", "e2e": "playwright test tests/e2e" }, "dependencies": { diff --git a/src/lib/components/gridItem1.svelte b/src/lib/components/gridItem1.svelte index 8220f6429..e5041f9da 100644 --- a/src/lib/components/gridItem1.svelte +++ b/src/lib/components/gridItem1.svelte @@ -1,4 +1,5 @@ @@ -6,7 +7,7 @@
-

+
diff --git a/src/lib/components/heading.svelte b/src/lib/components/heading.svelte new file mode 100644 index 000000000..2fe797c81 --- /dev/null +++ b/src/lib/components/heading.svelte @@ -0,0 +1,8 @@ + + + + + diff --git a/src/lib/components/index.ts b/src/lib/components/index.ts index 6898f1b71..a354d53da 100644 --- a/src/lib/components/index.ts +++ b/src/lib/components/index.ts @@ -36,3 +36,4 @@ export { default as Secret } from './secret.svelte'; export { default as Trim } from './trim.svelte'; export { default as Tabs } from './tabs.svelte'; export { default as Tab } from './tab.svelte'; +export { default as Heading } from './heading.svelte'; diff --git a/src/lib/components/modal.svelte b/src/lib/components/modal.svelte index d2ff5b89c..4a42b7533 100644 --- a/src/lib/components/modal.svelte +++ b/src/lib/components/modal.svelte @@ -2,7 +2,7 @@ import { browser } from '$app/environment'; import { createEventDispatcher } from 'svelte'; import { fade, fly, type FadeParams, type FlyParams } from 'svelte/transition'; - import { Alert } from '$lib/components'; + import { Alert, Heading } from '$lib/components'; import { clickOnEnter } from '$lib/helpers/a11y'; export let show = false; @@ -76,9 +76,9 @@
{/if} -

+ -

+ {#if closable} {#each $titleDropdown as org} @@ -147,9 +148,9 @@
{:else} -

+ {$title ? $title : '-'} -

+ {/if} {#if $page.url.pathname.includes('/console/account')}
diff --git a/src/lib/layout/usage.svelte b/src/lib/layout/usage.svelte index 7f3b15f66..979f70e2b 100644 --- a/src/lib/layout/usage.svelte +++ b/src/lib/layout/usage.svelte @@ -5,7 +5,7 @@
-

+ -

+ {#if $$slots.subtitle}

diff --git a/src/routes/console/account/+page.svelte b/src/routes/console/account/+page.svelte index d4d0ab560..2baf8035c 100644 --- a/src/routes/console/account/+page.svelte +++ b/src/routes/console/account/+page.svelte @@ -1,6 +1,6 @@ -

Update Data
+ Update Data

Update document data based on the attributes created earlier.

diff --git a/src/routes/console/project-[project]/databases/database/[database]/collection/[collection]/settings/+page.svelte b/src/routes/console/project-[project]/databases/database/[database]/collection/[collection]/settings/+page.svelte index e7991b3a0..352eb14ea 100644 --- a/src/routes/console/project-[project]/databases/database/[database]/collection/[collection]/settings/+page.svelte +++ b/src/routes/console/project-[project]/databases/database/[database]/collection/[collection]/settings/+page.svelte @@ -1,5 +1,5 @@
-

API Keys

+ API Keys