@nsis/dent-ui 0.2.2 → 0.2.4

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,15 @@
1
1
  $ vite build
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
- vite v8.1.3 building client environment for production...
4
- 
2
+ 4:37:44 PM [vite-plugin-svelte] no Svelte config found at /home/runner/work/nsis-org/nsis-org/packages/dent-ui - using default configuration.
3
+ vite v8.1.5 building client environment for production...
4
+ 
5
5
  rendering chunks...
6
6
  computing gzip size...
7
- dist/index.html 0.30 kB │ gzip: 0.22 kB
8
- dist/assets/index-D2jIzksy.js 404.99 kB │ gzip: 133.27 kB
7
+ dist/index.html 0.32 kB │ gzip: 0.23 kB
8
+ dist/assets/index-BAbiV0A6.js 552.44 kB │ gzip: 180.23 kB
9
9
 
10
- ✓ built in 321ms
10
+ ✓ built in 366ms
11
+ [plugin builtin:vite-reporter]
12
+ (!) Some chunks are larger than 500 kB after minification. Consider:
13
+ - Using dynamic import() to code-split the application
14
+ - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
15
+ - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @nsis/dent-ui
2
2
 
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a93755e]
8
+ - @nsis/codemirror@0.14.3
9
+
10
+ ## 0.2.3
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [85bd3e3]
15
+ - @nsis/codemirror@0.14.2
16
+
3
17
  ## 0.2.2
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  ![License](https://img.shields.io/npm/l/%40nsis%2Fdent-ui?style=for-the-badge)
6
6
  [![Version](https://img.shields.io/npm/v/@nsis/dent-ui?style=for-the-badge)](https://www.npmjs.org/package/@nsis/dent-ui)
7
- [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/nsis-javascript-tools/ci.yml?style=for-the-badge)](https://github.com/idleberg/nsis-javascript-tools/actions)
7
+ [![Build](https://img.shields.io/github/actions/workflow/status/idleberg/nsis-org/ci.yml?style=for-the-badge)](https://github.com/idleberg/nsis-org/actions)
8
8
 
9
- [Demo Time](https://idleberg.github.io/nsis-javascript-tools/dent/) 🙌
9
+ [Demo Time](https://idleberg.github.io/nsis-org/dent/) 🙌
10
10
 
11
11
  ## Usage
12
12
 
package/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
6
6
  <title>Dent UI</title>
7
7
  </head>
8
8
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsis/dent-ui",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Web UI for the Dent NSIS code formatter",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/idleberg/nsis-javascript-tools.git"
16
+ "url": "git+https://github.com/idleberg/nsis-org.git"
17
17
  },
18
- "homepage": "https://github.com/idleberg/nsis-javascript-tools/tree/main/packages/dent-ui#readme",
18
+ "homepage": "https://github.com/idleberg/nsis-org/tree/main/packages/dent-ui#readme",
19
19
  "keywords": [
20
20
  "nsis",
21
21
  "formatter",
@@ -25,10 +25,10 @@
25
25
  "@codemirror/commands": "^6.10.4",
26
26
  "@codemirror/language": "^6.12.4",
27
27
  "@codemirror/state": "^6.7.1",
28
- "@codemirror/view": "^6.43.5",
28
+ "@codemirror/view": "^6.43.6",
29
29
  "@lezer/highlight": "^1.2.3",
30
- "svelte": "^5.56.4",
31
- "@nsis/codemirror": "0.14.1",
30
+ "svelte": "^5.56.6",
31
+ "@nsis/codemirror": "0.14.3",
32
32
  "@nsis/dent": "0.13.0"
33
33
  },
34
34
  "devDependencies": {
@@ -36,10 +36,10 @@
36
36
  "@vitest/browser": "^4.1.10",
37
37
  "@vitest/browser-playwright": "^4.1.10",
38
38
  "playwright": "^1.53.0",
39
- "svelte-check": "^4.7.2",
40
- "vite": "^8.1.3",
41
- "vitest": "^4.1.9",
42
- "vitest-browser-svelte": "^2.2.0"
39
+ "svelte-check": "^4.7.3",
40
+ "vite": "^8.1.5",
41
+ "vitest": "^4.1.10",
42
+ "vitest-browser-svelte": "^3.0.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "vite build",
package/src/App.svelte CHANGED
@@ -283,6 +283,7 @@ const outputExtensions = [EditorState.readOnly.of(true), EditorView.editable.of(
283
283
  background: var(--bg);
284
284
  color: var(--text);
285
285
  height: 100vh;
286
+ height: 100dvh;
286
287
  display: flex;
287
288
  flex-direction: column;
288
289
  overflow: hidden;
@@ -390,6 +391,7 @@ const outputExtensions = [EditorState.readOnly.of(true), EditorView.editable.of(
390
391
 
391
392
  footer {
392
393
  padding: 8px 16px;
394
+ padding-bottom: max(8px, env(safe-area-inset-bottom));
393
395
  display: flex;
394
396
  align-items: center;
395
397
  gap: 12px;
@@ -452,4 +454,11 @@ const outputExtensions = [EditorState.readOnly.of(true), EditorView.editable.of(
452
454
  opacity: 0.4;
453
455
  cursor: default;
454
456
  }
457
+
458
+ button:focus-visible,
459
+ select:focus-visible,
460
+ input:focus-visible {
461
+ outline: 2px solid var(--mauve);
462
+ outline-offset: 2px;
463
+ }
455
464
  </style>