@stacksjs/bunpress 0.1.11 → 0.1.12

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.
Files changed (36) hide show
  1. package/dist/bin/cli.d.ts +26 -0
  2. package/dist/bin/cli.js +1 -1
  3. package/dist/bin/commands/clean.d.ts +9 -0
  4. package/dist/bin/commands/config.d.ts +15 -0
  5. package/dist/bin/commands/doctor.d.ts +7 -0
  6. package/dist/bin/commands/init.d.ts +9 -0
  7. package/dist/bin/commands/new.d.ts +9 -0
  8. package/dist/bin/commands/preview.d.ts +11 -0
  9. package/dist/bin/commands/seo.d.ts +7 -0
  10. package/dist/bin/commands/stats.d.ts +8 -0
  11. package/dist/bin/utils.d.ts +83 -0
  12. package/dist/{chunk-0sfpwr5e.js → chunk-b99gqcxe.js} +1 -1
  13. package/dist/{chunk-sregzvcv.js → chunk-jxdbykx2.js} +5 -5
  14. package/dist/chunk-mch0qmg4.js +688 -0
  15. package/dist/{chunk-zdvnysqn.js → chunk-w17epehd.js} +2 -2
  16. package/dist/{chunk-semwkmam.js → chunk-z0v4c8zz.js} +1 -1
  17. package/dist/src/index.js +1 -1
  18. package/dist/{themes → src/themes}/bun/index.d.ts +1 -0
  19. package/dist/{themes → src/themes}/index.d.ts +3 -6
  20. package/dist/src/themes/vitepress/index.d.ts +33 -0
  21. package/dist/{types.d.ts → src/types.d.ts} +10 -0
  22. package/dist/templates/sidebar-section.stx +1 -1
  23. package/package.json +4 -4
  24. package/dist/chunk-rfaz4x5j.js +0 -658
  25. package/dist/themes/vitepress/index.d.ts +0 -210
  26. /package/dist/{config.d.ts → src/config.d.ts} +0 -0
  27. /package/dist/{data-loader.d.ts → src/data-loader.d.ts} +0 -0
  28. /package/dist/{highlighter.d.ts → src/highlighter.d.ts} +0 -0
  29. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  30. /package/dist/{robots.d.ts → src/robots.d.ts} +0 -0
  31. /package/dist/{rss.d.ts → src/rss.d.ts} +0 -0
  32. /package/dist/{serve.d.ts → src/serve.d.ts} +0 -0
  33. /package/dist/{sitemap.d.ts → src/sitemap.d.ts} +0 -0
  34. /package/dist/{stx-components.d.ts → src/stx-components.d.ts} +0 -0
  35. /package/dist/{template-loader.d.ts → src/template-loader.d.ts} +0 -0
  36. /package/dist/{toc.d.ts → src/toc.d.ts} +0 -0
@@ -1,210 +0,0 @@
1
- /**
2
- * Get all VitePress theme CSS combined
3
- */
4
- export declare function getVitePressThemeCSS(): string;
5
- /**
6
- * Get VitePress theme CSS variables only
7
- */
8
- export declare function getVitePressVars(): string;
9
- /**
10
- * Get VitePress base styles only
11
- */
12
- export declare function getVitePressBase(): string;
13
- /**
14
- * Get VitePress custom block styles only
15
- */
16
- export declare function getVitePressCustomBlocks(): string;
17
- /**
18
- * Get VitePress code group styles only
19
- */
20
- export declare function getVitePressCodeGroups(): string;
21
- // Layout / chrome styles — classes referenced by layout-doc.stx, layout-page.stx, layout-home.stx,
22
- // and the nav/sidebar generators in serve.ts. Keeps templates declarative and dark-mode aware.
23
- export declare const layoutCSS: .BPHome-content > .bp-doc.vp-doc.container by markdownToHtml.
24
- * -------------------------------------------------------------------------- */
25
-
26
- .BPHome-content {
27
- padding: 48px 24px 96px;
28
- }
29
-
30
- .BPHome-content .container {
31
- margin: 0 auto;
32
- max-width: 1152px;
33
- }
34
-
35
- @media (min-width: 960px) {
36
- .BPHome-content {
37
- padding: 64px 32px 128px;
38
- }
39
- }
40
-
41
- /**
42
- * Inline content — badges, external link icons
43
- * -------------------------------------------------------------------------- */
44
-
45
- .badge {
46
- display: inline-block;
47
- padding: 2px 8px;
48
- font-size: 0.85em;
49
- font-weight: 600;
50
- border-radius: 4px;
51
- margin: 0 4px;
52
- vertical-align: middle;
53
- border: 1px solid transparent;
54
- line-height: 1.5;
55
- }
56
-
57
- .badge-tip {
58
- background: var(--bp-c-tip-soft, rgba(16, 185, 129, 0.14));
59
- color: var(--bp-c-tip-1, var(--bp-c-green-1));
60
- border-color: var(--bp-c-tip-2, var(--bp-c-green-2));
61
- }
62
-
63
- .badge-info {
64
- background: var(--bp-c-default-soft, var(--bp-c-gray-soft));
65
- color: var(--bp-c-text-1);
66
- border-color: var(--bp-c-divider);
67
- }
68
-
69
- .badge-warning {
70
- background: var(--bp-c-warning-soft, rgba(234, 179, 8, 0.14));
71
- color: var(--bp-c-warning-1, var(--bp-c-yellow-1));
72
- border-color: var(--bp-c-warning-2, var(--bp-c-yellow-2));
73
- }
74
-
75
- .badge-danger {
76
- background: var(--bp-c-danger-soft, rgba(244, 63, 94, 0.14));
77
- color: var(--bp-c-danger-1, var(--bp-c-red-1));
78
- border-color: var(--bp-c-danger-2, var(--bp-c-red-2));
79
- }
80
-
81
- .external-link-icon {
82
- display: inline-block;
83
- margin-left: 4px;
84
- vertical-align: middle;
85
- width: 12px;
86
- height: 12px;
87
- }
88
-
89
- /**
90
- * Polish: prose elements
91
- * -------------------------------------------------------------------------- */
92
-
93
- /* Subtle row hover on tables */
94
- .bp-doc tr:hover {
95
- background-color: var(--bp-c-bg-soft);
96
- }
97
-
98
- /* Mobile-safe table scroll */
99
- .bp-doc table {
100
- width: 100%;
101
- max-width: 100%;
102
- }
103
-
104
- /* Slightly stronger blockquote with brand-tinted accent */
105
- .bp-doc blockquote {
106
- border-left-color: var(--bp-c-brand-1);
107
- padding: 8px 0 8px 16px;
108
- }
109
-
110
- /* Code-block scrollbar */
111
- .bp-doc [class*='language-'] pre::-webkit-scrollbar,
112
- .bp-doc pre[data-lang]::-webkit-scrollbar {
113
- height: 6px;
114
- width: 6px;
115
- }
116
- .bp-doc [class*='language-'] pre::-webkit-scrollbar-thumb,
117
- .bp-doc pre[data-lang]::-webkit-scrollbar-thumb {
118
- background-color: var(--bp-c-divider);
119
- border-radius: 3px;
120
- }
121
- .bp-doc [class*='language-'] pre::-webkit-scrollbar-thumb:hover,
122
- .bp-doc pre[data-lang]::-webkit-scrollbar-thumb:hover {
123
- background-color: var(--bp-c-text-3);
124
- }
125
-
126
- /* Heading anchor: keep it subtle */
127
- .bp-doc .header-anchor {
128
- color: var(--bp-c-text-3);
129
- }
130
- .bp-doc .header-anchor:hover,
131
- .bp-doc .header-anchor:focus {
132
- color: var(--bp-c-brand-1);
133
- }
134
-
135
- /**
136
- * Mobile nav / sidebar drawer
137
- * -------------------------------------------------------------------------- */
138
-
139
- .BPNavBarHamburger {
140
- display: none;
141
- width: 32px;
142
- height: 32px;
143
- background: transparent;
144
- border: none;
145
- cursor: pointer;
146
- align-items: center;
147
- justify-content: center;
148
- color: var(--bp-c-text-2);
149
- border-radius: 4px;
150
- padding: 0;
151
- margin-left: -4px;
152
- }
153
-
154
- .BPNavBarHamburger:hover {
155
- color: var(--bp-c-text-1);
156
- background-color: var(--bp-c-bg-soft);
157
- }
158
-
159
- .BPNavBarHamburger svg {
160
- width: 20px;
161
- height: 20px;
162
- }
163
-
164
- @media (max-width: 959px) {
165
- .BPNavBarHamburger {
166
- display: inline-flex;
167
- }
168
-
169
- .BPSidebar {
170
- transform: translateX(-100%);
171
- transition: transform 0.25s ease, box-shadow 0.25s ease;
172
- z-index: var(--bp-z-index-sidebar, 25);
173
- background-color: var(--bp-c-bg-alt);
174
- box-shadow: none;
175
- }
176
-
177
- .BPSidebar.is-open {
178
- transform: translateX(0);
179
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
180
- }
181
-
182
- .BPSidebar-backdrop {
183
- position: fixed;
184
- inset: 0;
185
- background-color: rgba(0, 0, 0, 0.32);
186
- opacity: 0;
187
- pointer-events: none;
188
- transition: opacity 0.2s ease;
189
- z-index: calc(var(--bp-z-index-sidebar, 25) - 1);
190
- }
191
-
192
- .BPSidebar-backdrop.is-open {
193
- opacity: 1;
194
- pointer-events: auto;
195
- }
196
-
197
- .BPContent--doc {
198
- left: 0;
199
- }
200
- }
201
- `;
202
- export declare interface VitePressTheme {
203
- name: string
204
- getCSS: () => string
205
- getVars: () => string
206
- getBase: () => string
207
- getCustomBlocks: () => string
208
- getCodeGroups: () => string
209
- }
210
- export default vitePressTheme;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes