@brillout/docpress 0.4.10 → 0.4.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.
package/dist/index.css CHANGED
@@ -7,46 +7,6 @@ div.paragraph {
7
7
  margin-inline-end: 0px;
8
8
  }
9
9
 
10
- /* src/components/Note.css */
11
- blockquote {
12
- --color:
13
- 0,
14
- 0,
15
- 0;
16
- --color-strengh-bg: 0.7;
17
- --color-strengh-border: 1.5;
18
- border-left: 8px solid rgba(var(--color), calc(0.06 * var(--color-strengh-border)));
19
- background-color: rgba(var(--color), calc(0.03 * var(--color-strengh-bg)));
20
- margin-left: 0;
21
- margin-right: 0;
22
- padding: 4px 16px;
23
- }
24
- blockquote.error {
25
- --color-strengh-bg: 1.7;
26
- --color-strengh-border: 6;
27
- --color:
28
- 190,
29
- 25,
30
- 49;
31
- }
32
- blockquote.warning {
33
- --color-strengh-bg: 4;
34
- --color-strengh-border: 8;
35
- --color:
36
- 255,
37
- 204,
38
- 50;
39
- }
40
- blockquote.custom-icon > p:first-child {
41
- display: inline;
42
- }
43
- blockquote > p:first-child::before,
44
- blockquote > div.paragraph:first-child::before {
45
- font-family: emoji;
46
- content: "\2139\fe0f";
47
- margin-right: 4px;
48
- }
49
-
50
10
  /* src/components/features/FeatureList.css */
51
11
  @media screen and (min-width: 840px) {
52
12
  .features-row {
package/dist/index.js CHANGED
@@ -217,7 +217,9 @@ function Note({
217
217
  className
218
218
  }, /* @__PURE__ */ React5.createElement("div", {
219
219
  style: { marginBottom: 20 }
220
- }), icon, " ", children, /* @__PURE__ */ React5.createElement("div", {
220
+ }), icon, /* @__PURE__ */ React5.createElement("div", {
221
+ className: "blockquote-content"
222
+ }, children), /* @__PURE__ */ React5.createElement("div", {
221
223
  style: { marginTop: 20 }
222
224
  }));
223
225
  }
@@ -247,4 +247,44 @@ table th {
247
247
  }
248
248
  }
249
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 > .blockquote-content > :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
+
250
290
  /* src/css/index.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.4.10",
3
+ "version": "0.4.12",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",