@nsis/dent-ui 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  $ vite build
2
- 9:28:12 PM [vite-plugin-svelte] no Svelte config found at /home/runner/work/nsis-javascript-tools/nsis-javascript-tools/packages/dent-ui - using default configuration.
2
+ 10:30:39 PM [vite-plugin-svelte] no Svelte config found at /home/runner/work/nsis-javascript-tools/nsis-javascript-tools/packages/dent-ui - using default configuration.
3
3
  vite v8.1.3 building client environment for production...
4
4
  
5
5
  rendering chunks...
6
6
  computing gzip size...
7
7
  dist/index.html 0.30 kB │ gzip: 0.22 kB
8
- dist/assets/index-RxzOIm4G.js 404.08 kB │ gzip: 132.91 kB
8
+ dist/assets/index-D2jIzksy.js 404.99 kB │ gzip: 133.27 kB
9
9
 
10
- ✓ built in 320ms
10
+ ✓ built in 321ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @nsis/dent-ui
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - a3fc38e: fix intendation of block keywords
8
+ - Updated dependencies [a3fc38e]
9
+ - @nsis/codemirror@0.14.1
10
+
3
11
  ## 0.2.1
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsis/dent-ui",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Web UI for the Dent NSIS code formatter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "@codemirror/view": "^6.43.5",
29
29
  "@lezer/highlight": "^1.2.3",
30
30
  "svelte": "^5.56.4",
31
- "@nsis/codemirror": "0.14.0",
31
+ "@nsis/codemirror": "0.14.1",
32
32
  "@nsis/dent": "0.13.0"
33
33
  },
34
34
  "devDependencies": {
package/src/App.svelte CHANGED
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { defaultKeymap, history, historyKeymap } from '@codemirror/commands';
3
+ import { indentOnInput } from '@codemirror/language';
3
4
  import { EditorState } from '@codemirror/state';
4
5
  import { EditorView, keymap } from '@codemirror/view';
5
6
  import { createFormatter } from '@nsis/dent';
@@ -124,6 +125,7 @@ function clear() {
124
125
  const inputExtensions = [
125
126
  history(),
126
127
  keymap.of([...defaultKeymap, ...historyKeymap]),
128
+ indentOnInput(),
127
129
  EditorView.lineWrapping,
128
130
  EditorView.updateListener.of((update) => {
129
131
  if (update.docChanged) scheduleAutoFormat();