@brillout/docpress 0.4.9 → 0.4.11

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/dist/index.js CHANGED
@@ -195,7 +195,7 @@ function Note({
195
195
  icon,
196
196
  children
197
197
  }) {
198
- let className;
198
+ let className = "";
199
199
  if (!icon) {
200
200
  if (type === "error") {
201
201
  icon = ":no_entry:";
@@ -210,6 +210,9 @@ function Note({
210
210
  className = "warning";
211
211
  }
212
212
  }
213
+ if (icon) {
214
+ className = `custom-icon ${className}`;
215
+ }
213
216
  return /* @__PURE__ */ React5.createElement("blockquote", {
214
217
  className
215
218
  }, /* @__PURE__ */ React5.createElement("div", {
@@ -284,112 +287,44 @@ var alignable_default = "/assets/alignable-B4QZV4X7.svg";
284
287
 
285
288
  // src/components/Sponsors/sponsorsList.ts
286
289
  var individuals = [
290
+ { username: "agalbenus" },
291
+ { username: "phiberber" },
287
292
  { username: "cookieplace" },
288
- {
289
- username: "JiangWeixian"
290
- },
291
- {
292
- username: "harrytran998"
293
- },
294
- {
295
- username: "royalswe"
296
- },
297
- {
298
- username: "alexturpin"
299
- },
300
- {
301
- username: "gu-stav"
302
- },
303
- {
304
- username: "YannBirba"
305
- },
306
- {
307
- username: "fi3ework"
308
- },
309
- {
310
- username: "EJM-Company"
311
- },
312
- {
313
- username: "Nelie-Taylor"
314
- },
315
- {
316
- username: "fortezhuo"
317
- },
318
- {
319
- username: "nshelia"
320
- },
321
- {
322
- username: "marcusway"
323
- },
324
- {
325
- username: "edikdeisling"
326
- },
327
- {
328
- username: "AurelienLourot"
329
- },
330
- {
331
- username: "jahredhope"
332
- },
333
- {
334
- username: "charlieforward9"
335
- },
336
- {
337
- username: "leonmondria"
338
- },
339
- {
340
- username: "jscottsf"
341
- },
342
- {
343
- username: "micah-redwood"
344
- },
345
- {
346
- username: "nicka-redwood"
347
- },
348
- {
349
- username: "ser1us"
350
- },
351
- {
352
- username: "nikitavoloboev"
353
- },
354
- {
355
- username: "samuelstroschein"
356
- },
357
- {
358
- username: "npacucci"
359
- },
360
- {
361
- username: "szarapka"
362
- },
363
- {
364
- username: "techniath"
365
- },
366
- {
367
- username: "DannyZB"
368
- },
369
- {
370
- username: "pieperz"
371
- },
372
- {
373
- username: "hemengke1997"
374
- },
375
- {
376
- username: "spacedawwwg"
377
- },
378
- {
379
- username: "arthurgailes"
380
- },
381
- {
382
- username: "stackblitz"
383
- },
384
- {
385
- username: "codthing"
386
- },
387
- {
388
- username: "Junaidhkn"
389
- },
390
- {
391
- username: "zgfdev"
392
- }
293
+ { username: "JiangWeixian" },
294
+ { username: "harrytran998" },
295
+ { username: "royalswe" },
296
+ { username: "alexturpin" },
297
+ { username: "gu-stav" },
298
+ { username: "YannBirba" },
299
+ { username: "fi3ework" },
300
+ { username: "EJM-Company" },
301
+ { username: "Nelie-Taylor" },
302
+ { username: "fortezhuo" },
303
+ { username: "nshelia" },
304
+ { username: "marcusway" },
305
+ { username: "edikdeisling" },
306
+ { username: "AurelienLourot" },
307
+ { username: "jahredhope" },
308
+ { username: "charlieforward9" },
309
+ { username: "leonmondria" },
310
+ { username: "jscottsf" },
311
+ { username: "micah-redwood" },
312
+ { username: "nicka-redwood" },
313
+ { username: "ser1us" },
314
+ { username: "nikitavoloboev" },
315
+ { username: "samuelstroschein" },
316
+ { username: "npacucci" },
317
+ { username: "szarapka" },
318
+ { username: "techniath" },
319
+ { username: "DannyZB" },
320
+ { username: "pieperz" },
321
+ { username: "hemengke1997" },
322
+ { username: "spacedawwwg" },
323
+ { username: "arthurgailes" },
324
+ { username: "stackblitz" },
325
+ { username: "codthing" },
326
+ { username: "Junaidhkn" },
327
+ { username: "zgfdev" }
393
328
  ];
394
329
  var companies = [
395
330
  {
@@ -173,43 +173,6 @@ pre > code {
173
173
  font-size: 1em;
174
174
  }
175
175
 
176
- /* src/css/note.css */
177
- blockquote {
178
- --color:
179
- 0,
180
- 0,
181
- 0;
182
- --color-strengh-bg: 0.7;
183
- --color-strengh-border: 1.5;
184
- border-left: 8px solid rgba(var(--color), calc(0.06 * var(--color-strengh-border)));
185
- background-color: rgba(var(--color), calc(0.03 * var(--color-strengh-bg)));
186
- margin-left: 0;
187
- margin-right: 0;
188
- padding: 4px 16px;
189
- }
190
- blockquote.error {
191
- --color-strengh-bg: 1.7;
192
- --color-strengh-border: 6;
193
- --color:
194
- 190,
195
- 25,
196
- 49;
197
- }
198
- blockquote.warning {
199
- --color-strengh-bg: 4;
200
- --color-strengh-border: 8;
201
- --color:
202
- 255,
203
- 204,
204
- 50;
205
- }
206
- blockquote > p:first-child::before,
207
- blockquote > div.paragraph:first-child::before {
208
- font-family: emoji;
209
- content: "\2139\fe0f";
210
- margin-right: 4px;
211
- }
212
-
213
176
  /* src/css/table.css */
214
177
  table th {
215
178
  background-color: #f7f7f7;
@@ -284,4 +247,44 @@ table th {
284
247
  }
285
248
  }
286
249
 
250
+ /* src/components/Note.css */
251
+ blockquote {
252
+ --color:
253
+ 0,
254
+ 0,
255
+ 0;
256
+ --color-strengh-bg: 0.7;
257
+ --color-strengh-border: 1.5;
258
+ border-left: 8px solid rgba(var(--color), calc(0.06 * var(--color-strengh-border)));
259
+ background-color: rgba(var(--color), calc(0.03 * var(--color-strengh-bg)));
260
+ margin-left: 0;
261
+ margin-right: 0;
262
+ padding: 4px 16px;
263
+ }
264
+ blockquote.error {
265
+ --color-strengh-bg: 1.7;
266
+ --color-strengh-border: 6;
267
+ --color:
268
+ 190,
269
+ 25,
270
+ 49;
271
+ }
272
+ blockquote.warning {
273
+ --color-strengh-bg: 4;
274
+ --color-strengh-border: 8;
275
+ --color:
276
+ 255,
277
+ 204,
278
+ 50;
279
+ }
280
+ blockquote.custom-icon > p:first-child {
281
+ display: inline;
282
+ }
283
+ blockquote > p:first-child::before,
284
+ blockquote > div.paragraph:first-child::before {
285
+ font-family: emoji;
286
+ content: "\2139\fe0f";
287
+ margin-right: 4px;
288
+ }
289
+
287
290
  /* src/css/index.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.4.9",
3
+ "version": "0.4.11",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",