Compare commits

..

No commits in common. "10eef5e4a88dfb4bc14cb153533c5df56b849280" and "728ddcfe31717f697213229626e590fd0f5ef284" have entirely different histories.

5 changed files with 28 additions and 53 deletions

View file

@ -26,12 +26,11 @@
"prosemirror-state": "~1.4.2", "prosemirror-state": "~1.4.2",
"prosemirror-transform": "~1.7.1", "prosemirror-transform": "~1.7.1",
"prosemirror-view": "~1.29.2", "prosemirror-view": "~1.29.2",
"prosemirror-history": "^1.3.0",
"svelte": "^3.58.0", "svelte": "^3.58.0",
"svelte-check": "^2.10.3", "svelte-check": "^2.10.3",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"vite": "^4.2.2" "vite": "^4.2.1"
}, },
"dependencies": { "dependencies": {
"bootstrap-icons": "^1.10.4", "bootstrap-icons": "^1.10.4",

View file

@ -10,9 +10,6 @@ dependencies:
navaid: navaid:
specifier: ^1.2.0 specifier: ^1.2.0
version: 1.2.0 version: 1.2.0
prosemirror-history:
specifier: ^1.3.0
version: 1.3.0
regexparam: regexparam:
specifier: ^2.0.1 specifier: ^2.0.1
version: 2.0.1 version: 2.0.1
@ -35,16 +32,16 @@ dependencies:
devDependencies: devDependencies:
'@poppanator/sveltekit-svg': '@poppanator/sveltekit-svg':
specifier: ^2.1.2 specifier: ^2.1.2
version: 2.1.2(svelte@3.58.0)(vite@4.2.2) version: 2.1.2(svelte@3.58.0)(vite@4.2.1)
'@sveltejs/vite-plugin-svelte': '@sveltejs/vite-plugin-svelte':
specifier: ^2.0.4 specifier: ^2.0.4
version: 2.0.4(svelte@3.58.0)(vite@4.2.2) version: 2.0.4(svelte@3.58.0)(vite@4.2.1)
'@tsconfig/svelte': '@tsconfig/svelte':
specifier: ^3.0.0 specifier: ^3.0.0
version: 3.0.0 version: 3.0.0
'@vitejs/plugin-basic-ssl': '@vitejs/plugin-basic-ssl':
specifier: ^1.0.1 specifier: ^1.0.1
version: 1.0.1(vite@4.2.2) version: 1.0.1(vite@4.2.1)
prosemirror-commands: prosemirror-commands:
specifier: ~1.3.1 specifier: ~1.3.1
version: 1.3.1 version: 1.3.1
@ -91,8 +88,8 @@ devDependencies:
specifier: ^4.9.5 specifier: ^4.9.5
version: 4.9.5 version: 4.9.5
vite: vite:
specifier: ^4.2.2 specifier: ^4.2.1
version: 4.2.2 version: 4.2.1
packages: packages:
@ -335,7 +332,7 @@ packages:
fastq: 1.15.0 fastq: 1.15.0
dev: true dev: true
/@poppanator/sveltekit-svg@2.1.2(svelte@3.58.0)(vite@4.2.2): /@poppanator/sveltekit-svg@2.1.2(svelte@3.58.0)(vite@4.2.1):
resolution: {integrity: sha512-d3s+Irf4vIrn1yHj6PffSRZT8Wo/Unt4QdGxZmLZWLT9eG6tHznJjQRAau1DEphjTeRohYHQSk6mM/KyMmQhEQ==} resolution: {integrity: sha512-d3s+Irf4vIrn1yHj6PffSRZT8Wo/Unt4QdGxZmLZWLT9eG6tHznJjQRAau1DEphjTeRohYHQSk6mM/KyMmQhEQ==}
peerDependencies: peerDependencies:
svelte: 3.x svelte: 3.x
@ -343,10 +340,10 @@ packages:
dependencies: dependencies:
svelte: 3.58.0 svelte: 3.58.0
svgo: 2.8.0 svgo: 2.8.0
vite: 4.2.2 vite: 4.2.1
dev: true dev: true
/@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.2): /@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.1):
resolution: {integrity: sha512-pjqhW00KwK2uzDGEr+yJBwut+D+4XfJO/+bHHdHzPRXn9+1Jeq5JcFHyrUiYaXgHtyhX0RsllCTm4ssAx4ZY7Q==} resolution: {integrity: sha512-pjqhW00KwK2uzDGEr+yJBwut+D+4XfJO/+bHHdHzPRXn9+1Jeq5JcFHyrUiYaXgHtyhX0RsllCTm4ssAx4ZY7Q==}
engines: {node: ^14.18.0 || >= 16} engines: {node: ^14.18.0 || >= 16}
peerDependencies: peerDependencies:
@ -359,8 +356,8 @@ packages:
magic-string: 0.30.0 magic-string: 0.30.0
svelte: 3.58.0 svelte: 3.58.0
svelte-hmr: 0.15.1(svelte@3.58.0) svelte-hmr: 0.15.1(svelte@3.58.0)
vite: 4.2.2 vite: 4.2.1
vitefu: 0.2.4(vite@4.2.2) vitefu: 0.2.4(vite@4.2.1)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
@ -385,13 +382,13 @@ packages:
sass: 1.62.0 sass: 1.62.0
dev: true dev: true
/@vitejs/plugin-basic-ssl@1.0.1(vite@4.2.2): /@vitejs/plugin-basic-ssl@1.0.1(vite@4.2.1):
resolution: {integrity: sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==} resolution: {integrity: sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==}
engines: {node: '>=14.6.0'} engines: {node: '>=14.6.0'}
peerDependencies: peerDependencies:
vite: ^3.0.0 || ^4.0.0 vite: ^3.0.0 || ^4.0.0
dependencies: dependencies:
vite: 4.2.2 vite: 4.2.1
dev: true dev: true
/anymatch@3.1.3: /anymatch@3.1.3:
@ -931,14 +928,6 @@ packages:
prosemirror-view: 1.29.2 prosemirror-view: 1.29.2
dev: true dev: true
/prosemirror-history@1.3.0:
resolution: {integrity: sha512-qo/9Wn4B/Bq89/YD+eNWFbAytu6dmIM85EhID+fz9Jcl9+DfGEo8TTSrRhP15+fFEoaPqpHSxlvSzSEbmlxlUA==}
dependencies:
prosemirror-state: 1.4.2
prosemirror-transform: 1.7.1
rope-sequence: 1.3.3
dev: false
/prosemirror-keymap@1.2.1: /prosemirror-keymap@1.2.1:
resolution: {integrity: sha512-kVK6WGC+83LZwuSJnuCb9PsADQnFZllt94qPP3Rx/vLcOUV65+IbBeH2nS5cFggPyEVJhGkGrgYFRrG250WhHQ==} resolution: {integrity: sha512-kVK6WGC+83LZwuSJnuCb9PsADQnFZllt94qPP3Rx/vLcOUV65+IbBeH2nS5cFggPyEVJhGkGrgYFRrG250WhHQ==}
dependencies: dependencies:
@ -1058,18 +1047,14 @@ packages:
glob: 7.2.3 glob: 7.2.3
dev: true dev: true
/rollup@3.20.6: /rollup@3.20.4:
resolution: {integrity: sha512-2yEB3nQXp/tBQDN0hJScJQheXdvU2wFhh6ld7K/aiZ1vYcak6N/BKjY1QrU6BvO2JWYS8bEs14FRaxXosxy2zw==} resolution: {integrity: sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'} engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true hasBin: true
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
/rope-sequence@1.3.3:
resolution: {integrity: sha512-85aZYCxweiD5J8yTEbw+E6A27zSnLPNDL0WfPdw3YYodq7WjnTKo0q4dtyQ2gz23iPT8Q9CUyJtAaUNcTxRf5Q==}
dev: false
/run-parallel@1.2.0: /run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
dependencies: dependencies:
@ -1300,8 +1285,8 @@ packages:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
dev: false dev: false
/vite@4.2.2: /vite@4.2.1:
resolution: {integrity: sha512-PcNtT5HeDxb3QaSqFYkEum8f5sCVe0R3WK20qxgIvNBZPXU/Obxs/+ubBMeE7nLWeCo2LDzv+8hRYSlcaSehig==} resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -1328,12 +1313,12 @@ packages:
esbuild: 0.17.17 esbuild: 0.17.17
postcss: 8.4.22 postcss: 8.4.22
resolve: 1.22.2 resolve: 1.22.2
rollup: 3.20.6 rollup: 3.20.4
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
/vitefu@0.2.4(vite@4.2.2): /vitefu@0.2.4(vite@4.2.1):
resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==}
peerDependencies: peerDependencies:
vite: ^3.0.0 || ^4.0.0 vite: ^3.0.0 || ^4.0.0
@ -1341,7 +1326,7 @@ packages:
vite: vite:
optional: true optional: true
dependencies: dependencies:
vite: 4.2.2 vite: 4.2.1
dev: true dev: true
/w3c-keyname@2.2.6: /w3c-keyname@2.2.6:

View file

@ -46,7 +46,3 @@ a {
--accent-fg: #94a3b8; --accent-fg: #94a3b8;
} }
} }
button {
padding: 0.5em 1em;
}

View file

@ -21,16 +21,3 @@
<ListItem {view} {state} kind={ListKind.Ordered} /> <ListItem {view} {state} kind={ListKind.Ordered} />
<BlockQuoteItem {view} {state} /> <BlockQuoteItem {view} {state} />
</div> </div>
<style>
.menubar {
position: sticky;
top: 0px;
z-index: 69;
display: flex;
background: var(--background, white);
border-bottom: 1px solid var(--accent-bg);
}
</style>

View file

@ -9,6 +9,14 @@
box-sizing: border-box; box-sizing: border-box;
} }
.editor .menubar {
position: sticky;
top: 0px;
z-index: 69;
background: var(--background, white);
border-bottom: 1px solid var(--accent-bg);
}
.editor .menubar button { .editor .menubar button {
appearance: none; appearance: none;
background: none; background: none;