nexus-public 3.0.0 → 3.0.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.
- package/CHANGELOG.md +16 -0
- package/package.json +4 -3
- package/src/Styles/Nexus.Site.css +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable changes to `nexus-public`.
|
|
4
|
+
|
|
5
|
+
## 3.0.2
|
|
6
|
+
|
|
7
|
+
**One CSS line.** The site menu's sheet on a phone (`.nx-site__sheet`) is at most `100dvh` less the header where the
|
|
8
|
+
browser knows `dvh` (`100vh` stays for older ones), so its last items are no longer under the screen's edge while the
|
|
9
|
+
address bar shows. No export, class name or custom property changed; every other published file is as in `3.0.1`. The
|
|
10
|
+
`nexus-shared` range stays `^3.0.0 || ^4.0.0`, which takes `nexus-shared` `4.1.0`.
|
|
11
|
+
|
|
12
|
+
## 3.0.1
|
|
13
|
+
|
|
14
|
+
**No code change.** The `nexus-shared` range is `^3.0.0 || ^4.0.0` (was `^3.0.0`), so an app on `nexus-shared`
|
|
15
|
+
`4.0.0` keeps one copy of it instead of a second `3.x` under this package. This package imports only `cx` from
|
|
16
|
+
`nexus-shared`, which `4.0.0` exports unchanged, so an app on `nexus-shared` `3.x` is not moved either.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-public",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Public site building blocks for Nexus apps: the client layout and menu, built on nexus-shared.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
|
-
"src/Styles"
|
|
36
|
+
"src/Styles",
|
|
37
|
+
"CHANGELOG.md"
|
|
37
38
|
],
|
|
38
39
|
"scripts": {
|
|
39
40
|
"build": "tsc -p tsconfig.build.json",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"nexus-icons": "^1.1.0",
|
|
44
|
-
"nexus-shared": "^3.0.0"
|
|
45
|
+
"nexus-shared": "^3.0.0 || ^4.0.0"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"next": ">=16",
|
|
@@ -247,6 +247,7 @@
|
|
|
247
247
|
.nx-site__sheet {
|
|
248
248
|
display: none;
|
|
249
249
|
max-height: calc(100vh - var(--nx-site-header));
|
|
250
|
+
max-height: calc(100dvh - var(--nx-site-header));
|
|
250
251
|
overflow-y: auto;
|
|
251
252
|
padding: var(--nx-space-3) var(--nx-site-gutter) var(--nx-space-4);
|
|
252
253
|
border-top: 1px solid var(--nx-border);
|