@dominikcz/greg 0.9.46 → 0.9.48

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.
package/README.md CHANGED
@@ -423,7 +423,6 @@ the later entry in the `srcDir` array overrides the earlier one.
423
423
 
424
424
  ## TODO
425
425
 
426
- - [ ] AI search integration
427
426
  - [ ] edit mode
428
427
  - [ ] comments
429
428
  - [ ] code cleanup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dominikcz/greg",
3
- "version": "0.9.46",
3
+ "version": "0.9.48",
4
4
  "type": "module",
5
5
  "types": "./types/index.d.ts",
6
6
  "bin": {
@@ -47,17 +47,17 @@
47
47
  "@sveltejs/vite-plugin-svelte": "^7.0.0",
48
48
  "@types/better-sqlite3": "^7.6.13",
49
49
  "@types/js-yaml": "^4.0.9",
50
- "better-sqlite3": "^12.8.0",
50
+ "better-sqlite3": "^12.9.0",
51
51
  "sqlite-vec": "^0.1.9",
52
- "svelte": "^5.55.1",
53
- "vite": "^8.0.3",
54
- "vitest": "^4.1.2"
52
+ "svelte": "^5.55.5",
53
+ "vite": "^8.0.10",
54
+ "vitest": "^4.1.5"
55
55
  },
56
56
  "dependencies": {
57
- "@clack/prompts": "^1.2.0",
58
- "@lucide/svelte": "^1.7.0",
59
- "esbuild": "^0.27.7",
60
- "fuse.js": "^7.2.0",
57
+ "@clack/prompts": "^1.3.0",
58
+ "@lucide/svelte": "^1.14.0",
59
+ "esbuild": "^0.28.0",
60
+ "fuse.js": "^7.3.0",
61
61
  "js-yaml": "^4.1.1",
62
62
  "mdsvex": "^0.12.7",
63
63
  "mermaid": "^11.14.0",
@@ -103,7 +103,7 @@
103
103
  }
104
104
 
105
105
  .greg-steps :global(ol > li:last-child::after) {
106
- display: none;
106
+ bottom: 0;
107
107
  }
108
108
 
109
109
  /* ── first-child vertical alignment with circle centre ──────────────── */
@@ -67,7 +67,7 @@
67
67
 
68
68
  .markdown-body .greg-steps > ol > li:last-child::after,
69
69
  .markdown-body steps > ol > li:last-child::after {
70
- display: none;
70
+ bottom: 0;
71
71
  }
72
72
 
73
73
  .markdown-body .greg-steps > ol > li > :first-child,
@@ -30,7 +30,7 @@
30
30
  --greg-toc-link-color: #4a4a6a;
31
31
  --greg-toc-link-hover: #646cff;
32
32
 
33
- /* ������ Semantic status colors (light) ��������������������������������� */
33
+ /* ������ Semantic status colors (light) ��������������������������������� */
34
34
  --greg-info-border: rgba(100, 108, 255, 0.45);
35
35
  --greg-info-text: #646cff;
36
36
  --greg-info-bg: rgba(100, 108, 255, 0.08);
@@ -56,7 +56,7 @@
56
56
 
57
57
  --greg-code-inline-color: #e4004a;
58
58
 
59
- /* ������ Mermaid diagram CSS-variable tokens (light) ������������������������������ */
59
+ /* ������ Mermaid diagram CSS-variable tokens (light) ������������������������������ */
60
60
  --mmd-canvas: #ffffff;
61
61
  --mmd-node-bg: #ffffff;
62
62
  --mmd-text: rgba(0, 0, 0, 0.87);
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  @mixin greg-dark-vars {
83
- /* Dark theme ��� warm ember palette */
83
+ /* Dark theme ��� warm ember palette */
84
84
  --greg-background: #1c1c1c;
85
85
  --greg-main-background: #1c1c1c;
86
86
  --greg-menu-background: #141414;
@@ -119,7 +119,7 @@
119
119
  --greg-toc-link-color: #d9c9b5;
120
120
  --greg-toc-link-hover: #ff6f61;
121
121
 
122
- /* ������ Semantic status colors (dark) ������������������������ */
122
+ /* ������ Semantic status colors (dark) ������������������������ */
123
123
  --greg-info-border: rgba(255, 111, 97, 0.45);
124
124
  --greg-info-text: #ff6f61;
125
125
  --greg-info-bg: rgba(255, 111, 97, 0.08);
@@ -145,7 +145,7 @@
145
145
 
146
146
  --greg-code-inline-color: #daa520;
147
147
 
148
- /* ������ Mermaid diagram CSS-variable tokens (dark) ��������������������������������� */
148
+ /* ������ Mermaid diagram CSS-variable tokens (dark) ��������������������������������� */
149
149
  --mmd-canvas: #1e1e2e;
150
150
  --mmd-node-bg: #2d2d44;
151
151
  --mmd-text: rgba(255, 255, 255, 0.87);
@@ -172,10 +172,12 @@
172
172
 
173
173
  .greg[data-theme="dark"] {
174
174
  @include greg-dark-vars;
175
+ color-scheme: dark;
175
176
  }
176
177
 
177
178
  .greg[data-theme="light"] {
178
179
  @include greg-light-vars;
180
+ color-scheme: light;
179
181
  }
180
182
 
181
183
  @mixin greg-dark-markdown-vars {