gatsby-core-theme 30.0.68 → 30.0.70
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [30.0.70](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.69...v30.0.70) (2024-02-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* make style for progress bar ([e18644a](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/e18644aa004f1b9840b13a091d490cbd6c1ae165))
|
|
7
|
+
|
|
8
|
+
## [30.0.69](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.68...v30.0.69) (2024-02-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* anchor default showbuttons false ([a88dbec](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/commit/a88dbecf570d18c456a26f9b8bd67cc2828cb585))
|
|
14
|
+
|
|
1
15
|
## [30.0.68](https://git.ilcd.rocks/team-floyd/themes/gatsby-themes/compare/v30.0.67...v30.0.68) (2024-02-01)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
top: var(--nav-height);
|
|
25
25
|
@include flex-direction(row);
|
|
26
26
|
@include flex-align(center, center);
|
|
27
|
+
padding-bottom: 0.5rem;
|
|
27
28
|
|
|
28
29
|
&.usingExclOperator {
|
|
29
30
|
top: calc(var(--nav-height) + var(--exc-operator-height));
|
|
@@ -35,6 +36,9 @@
|
|
|
35
36
|
width: 100px;
|
|
36
37
|
background-color: var(--progress-bar-color, #1c1a28);
|
|
37
38
|
transition: width 1s;
|
|
39
|
+
position: absolute;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
left: 0;
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
.defaultConatiner {
|
|
@@ -27,7 +27,7 @@ function Anchor({
|
|
|
27
27
|
exclOperator = false,
|
|
28
28
|
isScrollable = true,
|
|
29
29
|
minCharactersForButtons = 86,
|
|
30
|
-
setShowButtons =
|
|
30
|
+
setShowButtons = false,
|
|
31
31
|
buttonScroll = 200,
|
|
32
32
|
leftButtonIcon = <IoIosArrowBack />,
|
|
33
33
|
rightButtonIcon = <IoIosArrowForward />,
|
|
@@ -192,9 +192,8 @@ function Anchor({
|
|
|
192
192
|
{rightButtonIcon}
|
|
193
193
|
</button>
|
|
194
194
|
)}
|
|
195
|
+
{sticky && <div ref={progressBar} className={styles.progressBar || ''} />}
|
|
195
196
|
</div>
|
|
196
|
-
|
|
197
|
-
{sticky && <div ref={progressBar} className={styles.progressBar || ''} />}
|
|
198
197
|
</div>
|
|
199
198
|
);
|
|
200
199
|
}
|