buckram 1.8.2 → 1.8.4

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/.nvmrc CHANGED
@@ -1 +1 @@
1
- 14
1
+ 18
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.8.4"
3
+ }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.8.4](https://github.com/pressbooks/buckram/compare/v1.8.3...v1.8.4) (2024-10-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * mathjax class scope ([#367](https://github.com/pressbooks/buckram/issues/367)) ([711a842](https://github.com/pressbooks/buckram/commit/711a8428fd844ae79d0bcc27f0035de11d634c5f))
9
+
10
+ ## [1.8.3](https://github.com/pressbooks/buckram/compare/v1.8.2...v1.8.3) (2024-10-07)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * mathjax footnote support ([#364](https://github.com/pressbooks/buckram/issues/364)) ([6560bf7](https://github.com/pressbooks/buckram/commit/6560bf7aa05b32b78bb4891398870e3bade3dadc))
16
+
3
17
  ## [1.8.2](https://github.com/pressbooks/buckram/compare/v1.8.1...v1.8.2) (2023-07-16)
4
18
 
5
19
 
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Buckram
2
2
 
3
- [![License](https://badgen.net/github/license/pressbooks/buckram)](https://github.com/pressbooks/buckram/blob/production/LICENSE) [![Build Status](https://badgen.net/github/status/pressbooks/buckram)](https://github.com/pressbooks/buckram/actions) [![Latest Release](https://badgen.net/npm/v/buckram)](https://www.npmjs.com/package/buckram)
3
+ [![License](https://badgen.net/github/license/pressbooks/buckram)](https://github.com/pressbooks/buckram/blob/production/LICENSE)
4
+ [![Build Status](https://badgen.net/github/checks/pressbooks/buckram)](https://github.com/pressbooks/buckram/actions)
5
+ [![Latest Release](https://badgen.net/npm/v/buckram)](https://www.npmjs.com/package/buckram)
4
6
 
5
7
  Opinionated SCSS components for books (web, EPUB and PDF).
6
8
 
@@ -23,8 +25,12 @@ npm test
23
25
 
24
26
  ## Releasing
25
27
 
26
- Buckram uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), enforced with [commitlint](https://commitlint.js.org/). This facilitates releasing new versions of the package via [Release Please](https://github.com/googleapis/release-please). Release notes will be automatically added to a PR based on commits to `dev`.
28
+ Buckram uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), enforced with [commitlint](https://commitlint.js.org/).
29
+ This facilitates releasing new versions of the package via [Release Please](https://github.com/googleapis/release-please).
30
+ Release notes will be automatically added to a PR based on commits to `dev`.
27
31
 
28
- To cut a release, merge the current [release pull request](https://github.com/google-github-actions/release-please-action#whats-a-release-pr). This will tag a new GitHub release and update [CHANGELOG.md](CHANGELOG.md).
32
+ To cut a release, merge the current [release pull request](https://github.com/google-github-actions/release-please-action#whats-a-release-pr).
33
+ This will tag a new GitHub release and update [CHANGELOG.md](CHANGELOG.md).
29
34
 
30
- Then, run `npm publish` from the root of the package and enter your one-time password when prompted. For more information on publishing to npm, see the [npm publish documentation](https://docs.npmjs.com/cli/publish).
35
+ Then, run `npm publish` from the root of the package and enter your one-time password when prompted. For more
36
+ information on publishing to npm, see the [npm publish documentation](https://docs.npmjs.com/cli/publish).
@@ -41,6 +41,12 @@
41
41
  footnote-style-position: outside;
42
42
  }
43
43
 
44
+ .footnotes {
45
+ .mathjax {
46
+ padding-bottom: $footnote-mathjax-padding-bottom;
47
+ }
48
+ }
49
+
44
50
  // Footnote & Endnote number markers (in body text)
45
51
 
46
52
  .endnote::footnote-call,
@@ -73,6 +79,10 @@
73
79
 
74
80
  .footnotes {
75
81
  font-size: if-map-get($footnote-font-size, $type);
82
+
83
+ .mathjax {
84
+ padding-bottom: $footnote-mathjax-padding-bottom;
85
+ }
76
86
  }
77
87
  }
78
88
 
@@ -164,6 +164,7 @@ $footnote-blockquote-font-size: 0.95em !default;
164
164
  /// @type String
165
165
  $footnote-number-marker-font-size: $sup-sub-font-size !default;
166
166
  $footnote-number-marker-line-height: $sup-sub-line-height !default;
167
+ $footnote-mathjax-padding-bottom: 0.4em !default;
167
168
 
168
169
  // Endnotes
169
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buckram",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "Opinionated SCSS components for books (web, EPUB and PDF).",
5
5
  "scripts": {
6
6
  "build": "composer install && composer test",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "homepage": "https://github.com/pressbooks/buckram#readme",
23
23
  "engines": {
24
- "node": ">= 14"
24
+ "node": ">= 18"
25
25
  },
26
26
  "devDependencies": {
27
27
  "chai": "^4.1.2",
@@ -29,7 +29,7 @@
29
29
  "pixelmatch": "^5.2.1",
30
30
  "polyserve": "^0.27.15",
31
31
  "pressbooks-build-tools": "^4.0.0",
32
- "puppeteer": "^20.5.0",
32
+ "puppeteer": "^21.1.1",
33
33
  "sassdoc": "^2.7.1",
34
34
  "type-detect": "^4.0.8"
35
35
  },
@@ -0,0 +1,17 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "changelog-path": "CHANGELOG.md",
5
+ "release-type": "node",
6
+ "bump-minor-pre-major": false,
7
+ "bump-patch-for-minor-pre-major": false,
8
+ "draft": false,
9
+ "prerelease": false,
10
+ "package-name": "buckram",
11
+ "extra-files": [
12
+ "assets/styles/buckram.scss"
13
+ ]
14
+ }
15
+ },
16
+ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
17
+ }
package/.idea/buckram.iml DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
6
- <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
7
- </content>
8
- <orderEntry type="inheritedJdk" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- </component>
11
- </module>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/buckram.iml" filepath="$PROJECT_DIR$/.idea/buckram.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/php.xml DELETED
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="MessDetectorOptionsConfiguration">
4
- <option name="transferred" value="true" />
5
- </component>
6
- <component name="PHPCSFixerOptionsConfiguration">
7
- <option name="transferred" value="true" />
8
- </component>
9
- <component name="PHPCodeSnifferOptionsConfiguration">
10
- <option name="highlightLevel" value="WARNING" />
11
- <option name="transferred" value="true" />
12
- </component>
13
- <component name="PhpStanOptionsConfiguration">
14
- <option name="transferred" value="true" />
15
- </component>
16
- <component name="PsalmOptionsConfiguration">
17
- <option name="transferred" value="true" />
18
- </component>
19
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>