hyperbook 0.57.0 → 0.57.2

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.
@@ -13,6 +13,11 @@ figure {
13
13
  color: var(--color-brand);
14
14
  }
15
15
 
16
+ .hyperbook-markdown hr {
17
+ clear: both;
18
+ border: none;
19
+ }
20
+
16
21
  /**
17
22
  * IE 8–11 and Prince don’t recognize the `wbr` element,
18
23
  * but a pseudo-element can achieve the same effect with IE 9+ and Prince.
@@ -8,6 +8,7 @@
8
8
  }
9
9
 
10
10
  .directive-alert {
11
+ display: flow-root;
11
12
  letter-spacing: 0;
12
13
  box-sizing: border-box;
13
14
  font-size: inherit;
@@ -1,4 +1,8 @@
1
- .directive-collapsible > button {
1
+ .directive-collapsible {
2
+ display: flow-root;
3
+ }
4
+
5
+ .directive-collapsible>button {
2
6
  width: 100%;
3
7
  text-align: left;
4
8
  border-style: solid;
@@ -11,13 +15,13 @@
11
15
  margin-bottom: 10px;
12
16
  }
13
17
 
14
- .directive-collapsible > button.expanded {
18
+ .directive-collapsible>button.expanded {
15
19
  border-bottom-left-radius: 0px;
16
20
  border-bottom-right-radius: 0px;
17
21
  margin-bottom: 0px;
18
22
  }
19
23
 
20
- .directive-collapsible > button:after {
24
+ .directive-collapsible>button:after {
21
25
  content: "\02795";
22
26
  /* Unicode character for "plus" sign (+) */
23
27
  font-size: 13px;
@@ -25,7 +29,7 @@
25
29
  margin-left: 5px;
26
30
  }
27
31
 
28
- .directive-collapsible > button.expanded:after {
32
+ .directive-collapsible>button.expanded:after {
29
33
  content: "\2796";
30
34
  /* Unicode character for "minus" sign (-) */
31
35
  }
@@ -39,7 +43,7 @@
39
43
  display: none;
40
44
  }
41
45
 
42
- .directive-collapsible > button.expanded+.collapsible-content {
46
+ .directive-collapsible>button.expanded+.collapsible-content {
43
47
  display: block;
44
48
  border-style: solid;
45
49
  border-width: 1px;
@@ -51,13 +55,13 @@
51
55
  border-bottom-right-radius: 4px;
52
56
  }
53
57
 
54
- .directive-collapsible > button {
58
+ .directive-collapsible>button {
55
59
  color: var(--color-text);
56
60
  border-color: var(--color-spacer);
57
61
  background-color: var(--color-nav);
58
62
  }
59
63
 
60
- .directive-collapsible > button:after {
64
+ .directive-collapsible>button:after {
61
65
  color: var(--color-text);
62
66
  }
63
67
 
@@ -529,6 +529,7 @@ header {
529
529
  max-width: var(--main-width);
530
530
  margin: 0 auto;
531
531
  margin-top: 40px;
532
+ clear: both;
532
533
  }
533
534
 
534
535
  .flex {
package/dist/index.js CHANGED
@@ -173515,8 +173515,6 @@ var remarkDirectiveAlert_default = (ctx) => () => {
173515
173515
  const content5 = node3.attributes?.label;
173516
173516
  const type = Object.keys(node3.attributes || {}).join(" ").trim();
173517
173517
  const icon = content5 || type;
173518
- delete node3.attributes?.color;
173519
- delete node3.attributes?.label;
173520
173518
  data.hName = "div";
173521
173519
  data.hProperties = {
173522
173520
  class: `directive-alert ${type} ${icon ? "icon" : ""}`.trim(),
@@ -188094,7 +188092,7 @@ pako/dist/pako.esm.mjs:
188094
188092
  //# sourceMappingURL=index.js.map
188095
188093
 
188096
188094
  ;// CONCATENATED MODULE: ./package.json
188097
- const package_namespaceObject = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.57.0","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=12.22.0"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register && node postbuild.mjs"},"devDependencies":{"@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
188095
+ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.57.2","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=12.22.0"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register && node postbuild.mjs"},"devDependencies":{"@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
188098
188096
  ;// CONCATENATED MODULE: ./build.ts
188099
188097
 
188100
188098
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperbook",
3
- "version": "0.57.0",
3
+ "version": "0.57.2",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",
@@ -54,8 +54,8 @@
54
54
  "update-check": "1.5.4",
55
55
  "ws": "^8.18.0",
56
56
  "@hyperbook/fs": "0.19.0",
57
- "@hyperbook/types": "0.15.2",
58
- "@hyperbook/markdown": "0.33.0"
57
+ "@hyperbook/markdown": "0.33.2",
58
+ "@hyperbook/types": "0.15.2"
59
59
  },
60
60
  "scripts": {
61
61
  "version": "pnpm build",