buckram 1.8.1 → 1.8.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.
@@ -0,0 +1,11 @@
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>
@@ -0,0 +1,8 @@
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 ADDED
@@ -0,0 +1,19 @@
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 ADDED
@@ -0,0 +1,6 @@
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>
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.8.2](https://github.com/pressbooks/buckram/compare/v1.8.1...v1.8.2) (2023-07-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * update release instructions ([#332](https://github.com/pressbooks/buckram/issues/332)) ([b60dda3](https://github.com/pressbooks/buckram/commit/b60dda36f6858f2bb55e4f536abdf1080194fac0))
9
+
3
10
  ## [1.8.1](https://github.com/pressbooks/buckram/compare/v1.8.0...v1.8.1) (2023-01-04)
4
11
 
5
12
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Buckram
2
2
 
3
- [![License](https://badgen.net/github/license/pressbooks/buckram)](https://github.com/pressbooks/buckram/blob/main/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) [![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)
4
4
 
5
5
  Opinionated SCSS components for books (web, EPUB and PDF).
6
6
 
@@ -23,8 +23,8 @@ npm test
23
23
 
24
24
  ## Releasing
25
25
 
26
- [release-please](https://github.com/googleapis/release-please) will generate release notes in a PR automatically based on commits to `dev`.
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`.
27
27
 
28
- Merging the PR to tag a new GitHub release and update [CHANGELOG.md](CHANGELOG.md).
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).
29
29
 
30
- Then, run `npm publish`.
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).
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Name: Buckram
3
3
  * x-release-please-start-version
4
- * Version: 1.8.1
4
+ * Version: 1.8.2
5
5
  * x-release-please-end
6
6
  * Description: Opinionated SCSS components for books (web, EPUB and PDF).
7
7
  */
@@ -62,7 +62,8 @@
62
62
  .pullquote--outside + p,
63
63
  .pullquote-inside + p,
64
64
  .pullquote--inside + p,
65
- .sidebar + p {
65
+ .sidebar + p,
66
+ .textbox--sidebar + p {
66
67
  margin-top: $para-margin-top;
67
68
  text-indent: $para-indent;
68
69
  }
@@ -199,23 +200,6 @@
199
200
  hyphens: none;
200
201
  }
201
202
 
202
- // When paragraphs follow a floated element, make sure indents work as expected.
203
- // NOTE: this should only happen when paragraph separators = indent.
204
-
205
- .wp-caption.alignleft + p,
206
- .wp-nocaption.alignleft + p,
207
- .wp-caption.alignright + p,
208
- .wp-nocaption.alignright + p,
209
- .float-top + p,
210
- .float-bottom + p,
211
- .pullquote + p,
212
- .pullquote-right + p,
213
- .pullquote-left + p,
214
- .pullquote-outside + p,
215
- .sidebar + p {
216
- margin-top: $para-margin-top;
217
- text-indent: $para-indent;
218
- }
219
203
 
220
204
  // Hanging Indents
221
205
  .hanging-indent {
@@ -212,7 +212,7 @@
212
212
  margin-inside: $textbox-sidebar-margin-inside;
213
213
  }
214
214
 
215
- max-width: 25%;
215
+ max-width: $textbox-sidebar-max-width;
216
216
  }
217
217
 
218
218
  @if $type == 'epub' {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buckram",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Opinionated SCSS components for books (web, EPUB and PDF).",
5
5
  "scripts": {
6
6
  "build": "composer install && composer test",
@@ -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": "^19.0.0",
32
+ "puppeteer": "^20.5.0",
33
33
  "sassdoc": "^2.7.1",
34
34
  "type-detect": "^4.0.8"
35
35
  },