buckram 1.8.7 → 1.8.8
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
|
-
|
|
1
|
+
22
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.8.8](https://github.com/pressbooks/buckram/compare/v1.8.7...v1.8.8) (2025-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* use .number class for chapter numbers ([#385](https://github.com/pressbooks/buckram/issues/385)) ([0da654b](https://github.com/pressbooks/buckram/commit/0da654bba6f57112e559be5996c3b982baf8bc52))
|
|
9
|
+
|
|
3
10
|
## [1.8.7](https://github.com/pressbooks/buckram/compare/v1.8.6...v1.8.7) (2025-09-30)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -28,9 +28,8 @@
|
|
|
28
28
|
text-align: $part-title-align;
|
|
29
29
|
text-transform: $part-title-text-transform;
|
|
30
30
|
|
|
31
|
-
span {
|
|
32
|
-
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type);
|
|
33
|
-
border-bottom-color: if-map-get($part-number-border-bottom-color, $type);
|
|
31
|
+
span.number {
|
|
32
|
+
border-bottom: $part-number-border-bottom-style if-map-get($part-number-border-bottom-width, $type) if-map-get($part-number-border-bottom-color, $type);
|
|
34
33
|
display: $part-number-display;
|
|
35
34
|
margin: if-map-get($part-number-margin-top, $type) if-map-get($part-number-margin-right, $type) if-map-get($part-number-margin-bottom, $type) if-map-get($part-number-margin-left, $type);
|
|
36
35
|
padding-bottom: if-map-get($part-number-padding-bottom, $type);
|
|
@@ -125,9 +124,8 @@
|
|
|
125
124
|
text-align: $chapter-title-align;
|
|
126
125
|
text-transform: $chapter-title-text-transform;
|
|
127
126
|
|
|
128
|
-
span {
|
|
129
|
-
border-bottom: $chapter-number-border-bottom-style if-map-get($chapter-number-border-bottom-width, $type);
|
|
130
|
-
border-bottom-color: if-map-get($chapter-number-border-bottom-color, $type);
|
|
127
|
+
span.number {
|
|
128
|
+
border-bottom: $chapter-number-border-bottom-style if-map-get($chapter-number-border-bottom-width, $type) if-map-get($chapter-number-border-bottom-color, $type);
|
|
131
129
|
display: $chapter-number-display;
|
|
132
130
|
margin: if-map-get($chapter-number-margin-top, $type) if-map-get($chapter-number-margin-right, $type) if-map-get($chapter-number-margin-bottom, $type) if-map-get($chapter-number-margin-left, $type);
|
|
133
131
|
padding-bottom: if-map-get($chapter-number-padding-bottom, $type);
|
|
@@ -151,7 +149,7 @@
|
|
|
151
149
|
}
|
|
152
150
|
|
|
153
151
|
.numberless & {
|
|
154
|
-
h1 span {
|
|
152
|
+
h1 span.number {
|
|
155
153
|
display: none;
|
|
156
154
|
content: '';
|
|
157
155
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buckram",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.8",
|
|
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": ">=
|
|
24
|
+
"node": ">= 22"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"chai": "^4.1.2",
|