nextblogkit 0.6.0
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/LICENSE +21 -0
- package/README.md +951 -0
- package/dist/admin/index.cjs +2465 -0
- package/dist/admin/index.cjs.map +1 -0
- package/dist/admin/index.d.cts +44 -0
- package/dist/admin/index.d.ts +44 -0
- package/dist/admin/index.js +2438 -0
- package/dist/admin/index.js.map +1 -0
- package/dist/api/categories.cjs +82 -0
- package/dist/api/categories.cjs.map +1 -0
- package/dist/api/categories.d.cts +27 -0
- package/dist/api/categories.d.ts +27 -0
- package/dist/api/categories.js +77 -0
- package/dist/api/categories.js.map +1 -0
- package/dist/api/media.cjs +113 -0
- package/dist/api/media.cjs.map +1 -0
- package/dist/api/media.d.cts +22 -0
- package/dist/api/media.d.ts +22 -0
- package/dist/api/media.js +109 -0
- package/dist/api/media.js.map +1 -0
- package/dist/api/posts.cjs +103 -0
- package/dist/api/posts.cjs.map +1 -0
- package/dist/api/posts.d.cts +27 -0
- package/dist/api/posts.d.ts +27 -0
- package/dist/api/posts.js +98 -0
- package/dist/api/posts.js.map +1 -0
- package/dist/api/rss.cjs +25 -0
- package/dist/api/rss.cjs.map +1 -0
- package/dist/api/rss.d.cts +5 -0
- package/dist/api/rss.d.ts +5 -0
- package/dist/api/rss.js +23 -0
- package/dist/api/rss.js.map +1 -0
- package/dist/api/settings.cjs +40 -0
- package/dist/api/settings.cjs.map +1 -0
- package/dist/api/settings.d.cts +17 -0
- package/dist/api/settings.d.ts +17 -0
- package/dist/api/settings.js +37 -0
- package/dist/api/settings.js.map +1 -0
- package/dist/api/sitemap.cjs +25 -0
- package/dist/api/sitemap.cjs.map +1 -0
- package/dist/api/sitemap.d.cts +5 -0
- package/dist/api/sitemap.d.ts +5 -0
- package/dist/api/sitemap.js +23 -0
- package/dist/api/sitemap.js.map +1 -0
- package/dist/chunk-4NKOJYWJ.js +68 -0
- package/dist/chunk-4NKOJYWJ.js.map +1 -0
- package/dist/chunk-4PY224XM.js +103 -0
- package/dist/chunk-4PY224XM.js.map +1 -0
- package/dist/chunk-64HUVJOZ.js +446 -0
- package/dist/chunk-64HUVJOZ.js.map +1 -0
- package/dist/chunk-6HKMZOI4.cjs +48 -0
- package/dist/chunk-6HKMZOI4.cjs.map +1 -0
- package/dist/chunk-A2S32RZN.js +138 -0
- package/dist/chunk-A2S32RZN.js.map +1 -0
- package/dist/chunk-E2QLTHKN.cjs +70 -0
- package/dist/chunk-E2QLTHKN.cjs.map +1 -0
- package/dist/chunk-JLPJKNRZ.js +37 -0
- package/dist/chunk-JLPJKNRZ.js.map +1 -0
- package/dist/chunk-JM7QRXXK.js +330 -0
- package/dist/chunk-JM7QRXXK.js.map +1 -0
- package/dist/chunk-KDZER3PU.cjs +43 -0
- package/dist/chunk-KDZER3PU.cjs.map +1 -0
- package/dist/chunk-N5MKAD7J.cjs +109 -0
- package/dist/chunk-N5MKAD7J.cjs.map +1 -0
- package/dist/chunk-QE4VLQYN.cjs +337 -0
- package/dist/chunk-QE4VLQYN.cjs.map +1 -0
- package/dist/chunk-R6MO3QIP.js +46 -0
- package/dist/chunk-R6MO3QIP.js.map +1 -0
- package/dist/chunk-U2ROR6AY.cjs +476 -0
- package/dist/chunk-U2ROR6AY.cjs.map +1 -0
- package/dist/chunk-ZP5XRVVH.cjs +141 -0
- package/dist/chunk-ZP5XRVVH.cjs.map +1 -0
- package/dist/cli/index.cjs +1308 -0
- package/dist/components/index.cjs +541 -0
- package/dist/components/index.cjs.map +1 -0
- package/dist/components/index.d.cts +165 -0
- package/dist/components/index.d.ts +165 -0
- package/dist/components/index.js +527 -0
- package/dist/components/index.js.map +1 -0
- package/dist/editor/index.cjs +1083 -0
- package/dist/editor/index.cjs.map +1 -0
- package/dist/editor/index.d.cts +133 -0
- package/dist/editor/index.d.ts +133 -0
- package/dist/editor/index.js +1051 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/index-Cgzphklp.d.ts +266 -0
- package/dist/index-vjlZDWNr.d.cts +266 -0
- package/dist/index.cjs +368 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +208 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.cjs +120 -0
- package/dist/lib/index.cjs.map +1 -0
- package/dist/lib/index.d.cts +4 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +7 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/styles/admin.css +657 -0
- package/dist/styles/blog.css +851 -0
- package/dist/styles/editor.css +452 -0
- package/dist/styles/globals.css +270 -0
- package/dist/styles/prose.css +299 -0
- package/dist/types-CBEEBR4A.d.cts +732 -0
- package/dist/types-CBEEBR4A.d.ts +732 -0
- package/package.json +134 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
/* NextBlogKit — Blog Content Typography (Prose) */
|
|
2
|
+
|
|
3
|
+
.nbk-post-content {
|
|
4
|
+
font-family: var(--nbk-font-body);
|
|
5
|
+
color: #374151;
|
|
6
|
+
line-height: 1.9;
|
|
7
|
+
font-size: 1.25rem;
|
|
8
|
+
letter-spacing: 0.025em;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.nbk-post-content > * + * {
|
|
12
|
+
margin-top: 1.5rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Headings */
|
|
16
|
+
.nbk-post-content h2 {
|
|
17
|
+
font-family: var(--nbk-font-heading);
|
|
18
|
+
font-size: 1.875rem;
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
line-height: 1.3;
|
|
21
|
+
margin-top: 3.5rem;
|
|
22
|
+
margin-bottom: 1.5rem;
|
|
23
|
+
letter-spacing: -0.025em;
|
|
24
|
+
color: var(--nbk-text);
|
|
25
|
+
scroll-margin-top: 8rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nbk-post-content h3 {
|
|
29
|
+
font-family: var(--nbk-font-heading);
|
|
30
|
+
font-size: 1.5rem;
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
line-height: 1.4;
|
|
33
|
+
margin-top: 2.5rem;
|
|
34
|
+
margin-bottom: 1.25rem;
|
|
35
|
+
color: var(--nbk-text);
|
|
36
|
+
scroll-margin-top: 8rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.nbk-post-content h4 {
|
|
40
|
+
font-family: var(--nbk-font-heading);
|
|
41
|
+
font-size: 1.25rem;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
margin-top: 2rem;
|
|
45
|
+
margin-bottom: 0.75rem;
|
|
46
|
+
color: var(--nbk-text);
|
|
47
|
+
scroll-margin-top: 8rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Paragraphs */
|
|
51
|
+
.nbk-post-content p {
|
|
52
|
+
margin: 0 0 2rem;
|
|
53
|
+
text-align: justify;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Drop cap — first paragraph only */
|
|
57
|
+
.nbk-post-content > p:first-of-type::first-letter {
|
|
58
|
+
font-size: 3.5em;
|
|
59
|
+
float: left;
|
|
60
|
+
line-height: 0.8;
|
|
61
|
+
color: var(--nbk-primary);
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
margin-right: 0.1em;
|
|
64
|
+
margin-top: 0.05em;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Links */
|
|
68
|
+
.nbk-post-content a {
|
|
69
|
+
color: var(--nbk-primary);
|
|
70
|
+
text-decoration: none;
|
|
71
|
+
border-bottom: 1px solid transparent;
|
|
72
|
+
transition: border-color 0.2s var(--nbk-transition);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.nbk-post-content a:hover {
|
|
76
|
+
color: var(--nbk-primary-hover);
|
|
77
|
+
border-bottom-color: var(--nbk-primary);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.nbk-post-content strong {
|
|
81
|
+
font-weight: 600;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Inline code */
|
|
85
|
+
.nbk-post-content code {
|
|
86
|
+
font-family: var(--nbk-font-code);
|
|
87
|
+
font-size: 0.875em;
|
|
88
|
+
background: #f3f4f6;
|
|
89
|
+
color: #e11d48;
|
|
90
|
+
padding: 0.125em 0.375em;
|
|
91
|
+
border-radius: 0.25rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Code blocks */
|
|
95
|
+
.nbk-post-content pre {
|
|
96
|
+
background: #0f172a;
|
|
97
|
+
color: #86efac;
|
|
98
|
+
padding: 1.5rem;
|
|
99
|
+
border-radius: 0.75rem;
|
|
100
|
+
overflow-x: auto;
|
|
101
|
+
font-family: var(--nbk-font-code);
|
|
102
|
+
font-size: 0.875rem;
|
|
103
|
+
line-height: 1.6;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.nbk-post-content pre code {
|
|
107
|
+
background: transparent;
|
|
108
|
+
color: inherit;
|
|
109
|
+
padding: 0;
|
|
110
|
+
font-size: inherit;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Blockquotes */
|
|
114
|
+
.nbk-post-content blockquote {
|
|
115
|
+
border-left: 4px solid var(--nbk-primary);
|
|
116
|
+
padding: 1rem 2rem;
|
|
117
|
+
margin-left: 0;
|
|
118
|
+
margin-right: 0;
|
|
119
|
+
color: var(--nbk-text-muted);
|
|
120
|
+
background: rgba(37, 99, 235, 0.03);
|
|
121
|
+
border-radius: 0 0.75rem 0.75rem 0;
|
|
122
|
+
font-style: italic;
|
|
123
|
+
font-size: 1.5rem;
|
|
124
|
+
line-height: 1.7;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.nbk-post-content blockquote p {
|
|
128
|
+
margin-bottom: 0;
|
|
129
|
+
text-align: left;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Lists */
|
|
133
|
+
.nbk-post-content ul,
|
|
134
|
+
.nbk-post-content ol {
|
|
135
|
+
padding-left: 1.75rem;
|
|
136
|
+
font-size: 1.25rem;
|
|
137
|
+
line-height: 1.8;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.nbk-post-content li {
|
|
141
|
+
margin-top: 0.75rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.nbk-post-content li::marker {
|
|
145
|
+
color: var(--nbk-text-muted);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Images */
|
|
149
|
+
.nbk-post-content img {
|
|
150
|
+
max-width: 100%;
|
|
151
|
+
height: auto;
|
|
152
|
+
border-radius: 0.75rem;
|
|
153
|
+
cursor: zoom-in;
|
|
154
|
+
transition: box-shadow 0.3s var(--nbk-transition);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.nbk-post-content img:hover {
|
|
158
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.nbk-post-content figure {
|
|
162
|
+
margin: 2rem 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.nbk-post-content figcaption {
|
|
166
|
+
text-align: center;
|
|
167
|
+
font-size: 0.875rem;
|
|
168
|
+
color: var(--nbk-text-muted);
|
|
169
|
+
margin-top: 0.75rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.nbk-post-content hr {
|
|
173
|
+
border: none;
|
|
174
|
+
border-top: 1px solid var(--nbk-border);
|
|
175
|
+
margin: 2.5rem 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Tables */
|
|
179
|
+
.nbk-post-content table {
|
|
180
|
+
width: 100%;
|
|
181
|
+
border-collapse: separate;
|
|
182
|
+
border-spacing: 0;
|
|
183
|
+
font-size: 0.9375rem;
|
|
184
|
+
border: 1px solid var(--nbk-border);
|
|
185
|
+
border-radius: 0.75rem;
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.nbk-post-content th,
|
|
190
|
+
.nbk-post-content td {
|
|
191
|
+
padding: 0.75rem 1rem;
|
|
192
|
+
text-align: left;
|
|
193
|
+
border-bottom: 1px solid var(--nbk-border);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.nbk-post-content th {
|
|
197
|
+
background: #f9fafb;
|
|
198
|
+
font-weight: 600;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.nbk-post-content tr:hover td {
|
|
202
|
+
background: #f9fafb;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.nbk-post-content tr:nth-child(even) td {
|
|
206
|
+
background: rgba(249, 250, 251, 0.5);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.nbk-post-content tr:last-child td {
|
|
210
|
+
border-bottom: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.nbk-post-content mark {
|
|
214
|
+
background: #fef08a;
|
|
215
|
+
padding: 0 0.125rem;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* Callouts in rendered content */
|
|
219
|
+
.nbk-post-content .nbk-callout {
|
|
220
|
+
display: flex;
|
|
221
|
+
gap: 0.75rem;
|
|
222
|
+
padding: 1rem;
|
|
223
|
+
border-radius: 0.75rem;
|
|
224
|
+
margin: 1.5rem 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.nbk-post-content .nbk-callout-info { background: #eff6ff; border-left: 4px solid #3b82f6; }
|
|
228
|
+
.nbk-post-content .nbk-callout-warning { background: #fffbeb; border-left: 4px solid #f59e0b; }
|
|
229
|
+
.nbk-post-content .nbk-callout-tip { background: #f0fdf4; border-left: 4px solid #22c55e; }
|
|
230
|
+
.nbk-post-content .nbk-callout-danger { background: #fef2f2; border-left: 4px solid #ef4444; }
|
|
231
|
+
|
|
232
|
+
/* FAQ in rendered content */
|
|
233
|
+
.nbk-post-content .nbk-faq-item {
|
|
234
|
+
border: 1px solid var(--nbk-border);
|
|
235
|
+
border-radius: 0.75rem;
|
|
236
|
+
margin-bottom: 0.75rem;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.nbk-post-content .nbk-faq-item h3 {
|
|
240
|
+
margin: 0;
|
|
241
|
+
padding: 0.75rem 1rem;
|
|
242
|
+
background: var(--nbk-bg-secondary);
|
|
243
|
+
font-size: 1rem;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
scroll-margin-top: 8rem;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.nbk-post-content .nbk-faq-item [itemprop="text"] {
|
|
249
|
+
padding: 0.75rem 1rem;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Task list in rendered content */
|
|
253
|
+
.nbk-post-content .nbk-task-list {
|
|
254
|
+
list-style: none;
|
|
255
|
+
padding-left: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.nbk-post-content .nbk-task-item {
|
|
259
|
+
display: flex;
|
|
260
|
+
align-items: flex-start;
|
|
261
|
+
gap: 0.5rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.nbk-post-content .nbk-task-item input[type="checkbox"] {
|
|
265
|
+
margin-top: 0.375rem;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* Embed */
|
|
269
|
+
.nbk-post-content .nbk-embed {
|
|
270
|
+
position: relative;
|
|
271
|
+
padding-bottom: 56.25%;
|
|
272
|
+
height: 0;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
border-radius: 0.75rem;
|
|
275
|
+
margin: 1.5rem 0;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.nbk-post-content .nbk-embed iframe {
|
|
279
|
+
position: absolute;
|
|
280
|
+
top: 0;
|
|
281
|
+
left: 0;
|
|
282
|
+
width: 100%;
|
|
283
|
+
height: 100%;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* Code block header */
|
|
287
|
+
.nbk-post-content .nbk-code-header {
|
|
288
|
+
background: #0f172a;
|
|
289
|
+
color: #94a3b8;
|
|
290
|
+
padding: 0.5rem 1rem;
|
|
291
|
+
font-size: 0.75rem;
|
|
292
|
+
font-family: var(--nbk-font-code);
|
|
293
|
+
border-radius: 0.75rem 0.75rem 0 0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.nbk-post-content .nbk-code-header + pre {
|
|
297
|
+
border-radius: 0 0 0.75rem 0.75rem;
|
|
298
|
+
margin-top: 0;
|
|
299
|
+
}
|