@stacksjs/bunpress 0.1.6 → 0.1.7

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.
@@ -28,8 +28,8 @@ export declare const layoutCSS: `/**
28
28
  min-height: 100vh;
29
29
  }
30
30
 
31
- /* VPNav — top bar */
32
- .VPNav {
31
+ /* BPNav — top bar */
32
+ .BPNav {
33
33
  position: fixed;
34
34
  top: 0;
35
35
  left: 0;
@@ -41,7 +41,7 @@ export declare const layoutCSS: `/**
41
41
  backdrop-filter: saturate(50%) blur(8px);
42
42
  }
43
43
 
44
- .VPNavBar {
44
+ .BPNavBar {
45
45
  max-width: var(--bp-layout-max-width, 1440px);
46
46
  margin: 0 auto;
47
47
  width: 100%;
@@ -53,7 +53,7 @@ export declare const layoutCSS: `/**
53
53
  gap: 24px;
54
54
  }
55
55
 
56
- .VPNavBarStart {
56
+ .BPNavBarStart {
57
57
  display: flex;
58
58
  align-items: center;
59
59
  gap: 24px;
@@ -61,14 +61,14 @@ export declare const layoutCSS: `/**
61
61
  min-width: 0;
62
62
  }
63
63
 
64
- .VPNavBarEnd {
64
+ .BPNavBarEnd {
65
65
  display: flex;
66
66
  align-items: center;
67
67
  gap: 24px;
68
68
  flex-shrink: 0;
69
69
  }
70
70
 
71
- .VPNavBarTitle {
71
+ .BPNavBarTitle {
72
72
  font-size: 16px;
73
73
  font-weight: 600;
74
74
  color: var(--bp-c-text-1);
@@ -77,18 +77,18 @@ export declare const layoutCSS: `/**
77
77
  transition: color 0.25s;
78
78
  }
79
79
 
80
- .VPNavBarTitle:hover {
80
+ .BPNavBarTitle:hover {
81
81
  color: var(--bp-c-brand-1);
82
82
  }
83
83
 
84
- .VPNavBarMenu {
84
+ .BPNavBarMenu {
85
85
  display: flex;
86
86
  align-items: center;
87
87
  gap: 24px;
88
88
  }
89
89
 
90
- .VPNavBarMenu a,
91
- .VPNavBarMenu .VPNavBarMenu-link {
90
+ .BPNavBarMenu a,
91
+ .BPNavBarMenu .BPNavBarMenu-link {
92
92
  font-size: 14px;
93
93
  font-weight: 500;
94
94
  color: var(--bp-c-text-1);
@@ -97,17 +97,17 @@ export declare const layoutCSS: `/**
97
97
  cursor: pointer;
98
98
  }
99
99
 
100
- .VPNavBarMenu a:hover,
101
- .VPNavBarMenu .VPNavBarMenu-link:hover,
102
- .VPNavBarMenu a.is-active {
100
+ .BPNavBarMenu a:hover,
101
+ .BPNavBarMenu .BPNavBarMenu-link:hover,
102
+ .BPNavBarMenu a.is-active {
103
103
  color: var(--bp-c-brand-1);
104
104
  }
105
105
 
106
- .VPNavBarMenu-group {
106
+ .BPNavBarMenu-group {
107
107
  position: relative;
108
108
  }
109
109
 
110
- .VPNavBarMenu-group-button {
110
+ .BPNavBarMenu-group-button {
111
111
  display: inline-flex;
112
112
  align-items: center;
113
113
  gap: 4px;
@@ -122,22 +122,22 @@ export declare const layoutCSS: `/**
122
122
  transition: color 0.25s;
123
123
  }
124
124
 
125
- .VPNavBarMenu-group-button:hover {
125
+ .BPNavBarMenu-group-button:hover {
126
126
  color: var(--bp-c-brand-1);
127
127
  }
128
128
 
129
- .VPNavBarMenu-group-button .chevron {
129
+ .BPNavBarMenu-group-button .chevron {
130
130
  width: 12px;
131
131
  height: 12px;
132
132
  flex-shrink: 0;
133
133
  transition: transform 0.25s;
134
134
  }
135
135
 
136
- .VPNavBarMenu-group:hover > .VPNavBarMenu-group-button .chevron {
136
+ .BPNavBarMenu-group:hover > .BPNavBarMenu-group-button .chevron {
137
137
  transform: rotate(180deg);
138
138
  }
139
139
 
140
- .VPNavBarMenu-group-items {
140
+ .BPNavBarMenu-group-items {
141
141
  display: none;
142
142
  position: absolute;
143
143
  right: 0;
@@ -152,11 +152,11 @@ export declare const layoutCSS: `/**
152
152
  z-index: 10;
153
153
  }
154
154
 
155
- .VPNavBarMenu-group:hover > .VPNavBarMenu-group-items {
155
+ .BPNavBarMenu-group:hover > .BPNavBarMenu-group-items {
156
156
  display: block;
157
157
  }
158
158
 
159
- .VPNavBarMenu-group-items a {
159
+ .BPNavBarMenu-group-items a {
160
160
  display: block;
161
161
  padding: 6px 16px;
162
162
  font-size: 13px;
@@ -165,13 +165,13 @@ export declare const layoutCSS: `/**
165
165
  transition: color 0.25s, background-color 0.25s;
166
166
  }
167
167
 
168
- .VPNavBarMenu-group-items a:hover {
168
+ .BPNavBarMenu-group-items a:hover {
169
169
  color: var(--bp-c-brand-1);
170
170
  background-color: var(--bp-c-bg-soft);
171
171
  }
172
172
 
173
173
  /* Search */
174
- .VPNavBarSearch {
174
+ .BPNavBarSearch {
175
175
  position: relative;
176
176
  display: flex;
177
177
  align-items: center;
@@ -179,7 +179,7 @@ export declare const layoutCSS: `/**
179
179
  width: 100%;
180
180
  }
181
181
 
182
- .VPNavBarSearch-icon {
182
+ .BPNavBarSearch-icon {
183
183
  position: absolute;
184
184
  left: 12px;
185
185
  width: 16px;
@@ -188,7 +188,7 @@ export declare const layoutCSS: `/**
188
188
  pointer-events: none;
189
189
  }
190
190
 
191
- .VPNavBarSearch-input {
191
+ .BPNavBarSearch-input {
192
192
  width: 100%;
193
193
  height: 32px;
194
194
  padding: 0 48px 0 36px;
@@ -202,17 +202,17 @@ export declare const layoutCSS: `/**
202
202
  transition: border-color 0.25s, background-color 0.25s;
203
203
  }
204
204
 
205
- .VPNavBarSearch-input::placeholder {
205
+ .BPNavBarSearch-input::placeholder {
206
206
  color: var(--bp-c-text-3);
207
207
  }
208
208
 
209
- .VPNavBarSearch-input:hover,
210
- .VPNavBarSearch-input:focus {
209
+ .BPNavBarSearch-input:hover,
210
+ .BPNavBarSearch-input:focus {
211
211
  border-color: var(--bp-c-brand-1);
212
212
  background-color: var(--bp-c-bg);
213
213
  }
214
214
 
215
- .VPNavBarSearch-kbd {
215
+ .BPNavBarSearch-kbd {
216
216
  position: absolute;
217
217
  right: 8px;
218
218
  padding: 2px 6px;
@@ -227,7 +227,7 @@ export declare const layoutCSS: `/**
227
227
  }
228
228
 
229
229
  /* Social/icon links cluster */
230
- .VPSocialLinks {
230
+ .BPSocialLinks {
231
231
  display: flex;
232
232
  align-items: center;
233
233
  gap: 12px;
@@ -235,7 +235,7 @@ export declare const layoutCSS: `/**
235
235
  border-left: 1px solid var(--bp-c-divider);
236
236
  }
237
237
 
238
- .VPSocialLinks > a {
238
+ .BPSocialLinks > a {
239
239
  display: inline-flex;
240
240
  align-items: center;
241
241
  justify-content: center;
@@ -246,22 +246,22 @@ export declare const layoutCSS: `/**
246
246
  transition: color 0.25s, background-color 0.25s;
247
247
  }
248
248
 
249
- .VPSocialLinks > a:hover {
249
+ .BPSocialLinks > a:hover {
250
250
  color: var(--bp-c-text-1);
251
251
  background-color: var(--bp-c-bg-soft);
252
252
  }
253
253
 
254
- .VPSocialLinks > a svg {
254
+ .BPSocialLinks > a svg {
255
255
  width: 20px;
256
256
  height: 20px;
257
257
  }
258
258
 
259
259
  /* Content area */
260
- .VPContent {
260
+ .BPContent {
261
261
  flex: 1;
262
262
  }
263
263
 
264
- .VPContent--doc {
264
+ .BPContent--doc {
265
265
  position: fixed;
266
266
  top: var(--bp-nav-height, 64px);
267
267
  bottom: 0;
@@ -270,48 +270,48 @@ export declare const layoutCSS: `/**
270
270
  right: max(0px, calc((100vw - var(--bp-layout-max-width, 1440px)) / 2));
271
271
  }
272
272
 
273
- .VPContent--page {
273
+ .BPContent--page {
274
274
  padding-top: var(--bp-nav-height, 64px);
275
275
  }
276
276
 
277
- .VPDoc {
277
+ .BPDoc {
278
278
  padding: 32px 24px;
279
279
  padding-right: 32px;
280
280
  }
281
281
 
282
282
  @media (min-width: 1280px) {
283
- .VPDoc {
283
+ .BPDoc {
284
284
  padding: 48px 32px 128px;
285
285
  }
286
286
  }
287
287
 
288
- .VPDocContent {
288
+ .BPDocContent {
289
289
  max-width: 768px;
290
290
  margin: 0;
291
291
  }
292
292
 
293
- .VPPage {
293
+ .BPPage {
294
294
  padding: 48px 24px;
295
295
  max-width: 768px;
296
296
  margin: 0 auto;
297
297
  }
298
298
 
299
299
  @media (min-width: 1280px) {
300
- .VPPage {
300
+ .BPPage {
301
301
  padding: 64px 32px;
302
302
  }
303
303
  }
304
304
 
305
305
  /* Mobile sidebar drawer behaviour */
306
306
  @media (max-width: 959px) {
307
- .VPNavBarSearch {
307
+ .BPNavBarSearch {
308
308
  display: none;
309
309
  }
310
- .VPSocialLinks {
310
+ .BPSocialLinks {
311
311
  padding-left: 12px;
312
312
  gap: 8px;
313
313
  }
314
- .VPNavBarMenu {
314
+ .BPNavBarMenu {
315
315
  display: none;
316
316
  }
317
317
  }
@@ -320,7 +320,7 @@ export declare const layoutCSS: `/**
320
320
  * Hero (home layout) — used by hero.stx + serve.ts generateHero
321
321
  * -------------------------------------------------------------------------- */
322
322
 
323
- .VPHero-name {
323
+ .BPHero-name {
324
324
  font-size: 20px;
325
325
  font-weight: 700;
326
326
  letter-spacing: -0.02em;
@@ -332,7 +332,7 @@ export declare const layoutCSS: `/**
332
332
  background-clip: text;
333
333
  }
334
334
 
335
- .VPHero-text {
335
+ .BPHero-text {
336
336
  font-size: 40px;
337
337
  font-weight: 800;
338
338
  letter-spacing: -0.02em;
@@ -341,7 +341,7 @@ export declare const layoutCSS: `/**
341
341
  margin: 0 0 8px;
342
342
  }
343
343
 
344
- .VPHero-tagline {
344
+ .BPHero-tagline {
345
345
  font-size: 18px;
346
346
  font-weight: 400;
347
347
  line-height: 1.6;
@@ -350,25 +350,25 @@ export declare const layoutCSS: `/**
350
350
  }
351
351
 
352
352
  @media (min-width: 960px) {
353
- .VPHero-name {
353
+ .BPHero-name {
354
354
  font-size: 24px;
355
355
  }
356
- .VPHero-text {
356
+ .BPHero-text {
357
357
  font-size: 56px;
358
358
  }
359
- .VPHero-tagline {
359
+ .BPHero-tagline {
360
360
  font-size: 20px;
361
361
  }
362
362
  }
363
363
 
364
- .VPHero-actions {
364
+ .BPHero-actions {
365
365
  display: flex;
366
366
  flex-wrap: wrap;
367
367
  gap: 12px;
368
368
  margin-top: 28px;
369
369
  }
370
370
 
371
- .VPButton {
371
+ .BPButton {
372
372
  display: inline-flex;
373
373
  align-items: center;
374
374
  justify-content: center;
@@ -384,24 +384,24 @@ export declare const layoutCSS: `/**
384
384
  cursor: pointer;
385
385
  }
386
386
 
387
- .VPButton-brand {
387
+ .BPButton-brand {
388
388
  color: var(--bp-button-brand-text, #fff);
389
389
  background-color: var(--bp-c-brand-1);
390
390
  border-color: var(--bp-c-brand-1);
391
391
  }
392
392
 
393
- .VPButton-brand:hover {
393
+ .BPButton-brand:hover {
394
394
  background-color: var(--bp-c-brand-2);
395
395
  border-color: var(--bp-c-brand-2);
396
396
  }
397
397
 
398
- .VPButton-alt {
398
+ .BPButton-alt {
399
399
  color: var(--bp-c-text-1);
400
400
  background-color: transparent;
401
401
  border-color: var(--bp-c-divider);
402
402
  }
403
403
 
404
- .VPButton-alt:hover {
404
+ .BPButton-alt:hover {
405
405
  border-color: var(--bp-c-text-2);
406
406
  color: var(--bp-c-brand-1);
407
407
  }
@@ -410,39 +410,39 @@ export declare const layoutCSS: `/**
410
410
  * Features grid — used by features.stx + serve.ts generateFeatures
411
411
  * -------------------------------------------------------------------------- */
412
412
 
413
- .VPHomeFeatures {
413
+ .BPHomeFeatures {
414
414
  padding: 48px 24px;
415
415
  border-top: 1px solid var(--bp-c-divider);
416
416
  }
417
417
 
418
- .VPHomeFeatures-inner {
418
+ .BPHomeFeatures-inner {
419
419
  max-width: 1152px;
420
420
  margin: 0 auto;
421
421
  }
422
422
 
423
- .VPFeatures {
423
+ .BPFeatures {
424
424
  display: grid;
425
425
  grid-template-columns: repeat(1, 1fr);
426
426
  gap: 16px;
427
427
  }
428
428
 
429
429
  @media (min-width: 640px) {
430
- .VPFeatures {
430
+ .BPFeatures {
431
431
  grid-template-columns: repeat(2, 1fr);
432
432
  gap: 24px;
433
433
  }
434
434
  }
435
435
 
436
436
  @media (min-width: 960px) {
437
- .VPHomeFeatures {
437
+ .BPHomeFeatures {
438
438
  padding: 64px 32px;
439
439
  }
440
- .VPFeatures {
440
+ .BPFeatures {
441
441
  grid-template-columns: repeat(3, 1fr);
442
442
  }
443
443
  }
444
444
 
445
- .VPFeature {
445
+ .BPFeature {
446
446
  display: block;
447
447
  padding: 24px;
448
448
  background-color: var(--bp-c-bg-soft, var(--bp-c-bg-alt));
@@ -453,12 +453,12 @@ export declare const layoutCSS: `/**
453
453
  color: inherit;
454
454
  }
455
455
 
456
- .VPFeature:hover {
456
+ .BPFeature:hover {
457
457
  border-color: var(--bp-c-brand-1);
458
458
  box-shadow: 0 2px 12px rgba(86, 114, 205, 0.08);
459
459
  }
460
460
 
461
- .VPFeature-icon {
461
+ .BPFeature-icon {
462
462
  width: 40px;
463
463
  height: 40px;
464
464
  display: flex;
@@ -470,17 +470,17 @@ export declare const layoutCSS: `/**
470
470
  margin-bottom: 12px;
471
471
  }
472
472
 
473
- .VPFeature-icon svg {
473
+ .BPFeature-icon svg {
474
474
  width: 24px;
475
475
  height: 24px;
476
476
  }
477
477
 
478
- .VPFeature-icon-text {
478
+ .BPFeature-icon-text {
479
479
  font-size: 24px;
480
480
  font-weight: 700;
481
481
  }
482
482
 
483
- .VPFeature-title {
483
+ .BPFeature-title {
484
484
  margin: 0 0 8px;
485
485
  font-size: 16px;
486
486
  font-weight: 600;
@@ -488,7 +488,7 @@ export declare const layoutCSS: `/**
488
488
  color: var(--bp-c-text-1);
489
489
  }
490
490
 
491
- .VPFeature-details {
491
+ .BPFeature-details {
492
492
  margin: 0;
493
493
  font-size: 14px;
494
494
  line-height: 1.6;
@@ -593,7 +593,7 @@ export declare const layoutCSS: `/**
593
593
  * Mobile nav / sidebar drawer
594
594
  * -------------------------------------------------------------------------- */
595
595
 
596
- .VPNavBarHamburger {
596
+ .BPNavBarHamburger {
597
597
  display: none;
598
598
  width: 32px;
599
599
  height: 32px;
@@ -608,22 +608,22 @@ export declare const layoutCSS: `/**
608
608
  margin-left: -4px;
609
609
  }
610
610
 
611
- .VPNavBarHamburger:hover {
611
+ .BPNavBarHamburger:hover {
612
612
  color: var(--bp-c-text-1);
613
613
  background-color: var(--bp-c-bg-soft);
614
614
  }
615
615
 
616
- .VPNavBarHamburger svg {
616
+ .BPNavBarHamburger svg {
617
617
  width: 20px;
618
618
  height: 20px;
619
619
  }
620
620
 
621
621
  @media (max-width: 959px) {
622
- .VPNavBarHamburger {
622
+ .BPNavBarHamburger {
623
623
  display: inline-flex;
624
624
  }
625
625
 
626
- .VPSidebar {
626
+ .BPSidebar {
627
627
  transform: translateX(-100%);
628
628
  transition: transform 0.25s ease, box-shadow 0.25s ease;
629
629
  z-index: var(--bp-z-index-sidebar, 25);
@@ -631,12 +631,12 @@ export declare const layoutCSS: `/**
631
631
  box-shadow: none;
632
632
  }
633
633
 
634
- .VPSidebar.is-open {
634
+ .BPSidebar.is-open {
635
635
  transform: translateX(0);
636
636
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
637
637
  }
638
638
 
639
- .VPSidebar-backdrop {
639
+ .BPSidebar-backdrop {
640
640
  position: fixed;
641
641
  inset: 0;
642
642
  background-color: rgba(0, 0, 0, 0.32);
@@ -646,12 +646,12 @@ export declare const layoutCSS: `/**
646
646
  z-index: calc(var(--bp-z-index-sidebar, 25) - 1);
647
647
  }
648
648
 
649
- .VPSidebar-backdrop.is-open {
649
+ .BPSidebar-backdrop.is-open {
650
650
  opacity: 1;
651
651
  pointer-events: auto;
652
652
  }
653
653
 
654
- .VPContent--doc {
654
+ .BPContent--doc {
655
655
  left: 0;
656
656
  }
657
657
  }