@payloadcms/next 3.0.0-beta.114 → 3.0.0-beta.115
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/dist/elements/DocumentHeader/Tabs/Tab/index.scss +70 -68
- package/dist/elements/DocumentHeader/Tabs/index.scss +41 -39
- package/dist/elements/DocumentHeader/index.scss +44 -42
- package/dist/elements/DocumentLocked/index.scss +28 -26
- package/dist/elements/DocumentTakeOver/index.scss +28 -26
- package/dist/elements/FormHeader/index.scss +7 -5
- package/dist/elements/LeaveWithoutSaving/index.scss +28 -26
- package/dist/elements/Nav/NavWrapper/index.scss +20 -18
- package/dist/elements/Nav/index.scss +127 -125
- package/dist/prod/styles.css +1 -1
- package/dist/templates/Default/Wrapper/index.scss +38 -36
- package/dist/templates/Default/index.scss +60 -58
- package/dist/templates/Minimal/index.scss +22 -20
- package/dist/views/API/RenderJSON/index.scss +68 -66
- package/package.json +6 -6
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
@import '../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@media (prefers-reduced-motion) {
|
|
10
|
-
transition: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&--nav-animate {
|
|
14
|
-
transition: grid-template-columns var(--nav-trans-time) linear;
|
|
15
|
-
}
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.template-default {
|
|
5
|
+
min-height: 100vh;
|
|
6
|
+
display: grid;
|
|
7
|
+
position: relative;
|
|
8
|
+
isolation: isolate;
|
|
16
9
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&__nav-overlay {
|
|
20
|
-
transition: opacity var(--nav-trans-time) linear;
|
|
21
|
-
}
|
|
10
|
+
@media (prefers-reduced-motion) {
|
|
11
|
+
transition: none;
|
|
22
12
|
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
13
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
14
|
+
&--nav-animate {
|
|
15
|
+
transition: grid-template-columns var(--nav-trans-time) linear;
|
|
16
|
+
}
|
|
29
17
|
|
|
30
18
|
&--nav-open {
|
|
31
|
-
|
|
19
|
+
.template-default {
|
|
20
|
+
&__nav-overlay {
|
|
21
|
+
transition: opacity var(--nav-trans-time) linear;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
32
24
|
}
|
|
33
25
|
}
|
|
34
|
-
}
|
|
35
26
|
|
|
36
|
-
@media (
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
27
|
+
@media (min-width: 1441px) {
|
|
28
|
+
.template-default {
|
|
29
|
+
grid-template-columns: 0 auto;
|
|
40
30
|
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
&--nav-open {
|
|
32
|
+
grid-template-columns: var(--nav-width) auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
43
36
|
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
@media (max-width: 1440px) {
|
|
38
|
+
.template-default--nav-hydrated.template-default--nav-open {
|
|
39
|
+
grid-template-columns: var(--nav-width) auto;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
grid-template-columns:
|
|
42
|
+
.template-default {
|
|
43
|
+
grid-template-columns: 1fr auto;
|
|
50
44
|
|
|
51
45
|
.nav {
|
|
52
|
-
display:
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--nav-hydrated {
|
|
50
|
+
grid-template-columns: 0 auto;
|
|
51
|
+
|
|
52
|
+
.nav {
|
|
53
|
+
display: unset;
|
|
54
|
+
}
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
}
|
|
@@ -1,76 +1,78 @@
|
|
|
1
1
|
@import '../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.template-default {
|
|
5
|
+
background-color: var(--theme-bg);
|
|
6
|
+
color: var(--theme-text);
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
[dir='rtl'] &__nav-toggler-wrapper {
|
|
9
|
+
left: unset;
|
|
10
|
+
right: 0;
|
|
11
|
+
}
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
&__nav-toggler-wrapper {
|
|
14
|
+
position: sticky;
|
|
15
|
+
z-index: var(--z-modal);
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
height: 0;
|
|
19
|
+
width: var(--gutter-h);
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
&__nav-toggler-container {
|
|
25
|
+
height: var(--app-header-height);
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
&__nav-toggler {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
35
|
+
&__wrap {
|
|
36
|
+
min-width: 0;
|
|
37
|
+
width: 100%;
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
position: relative;
|
|
40
|
+
background-color: var(--theme-bg);
|
|
41
|
+
&:before {
|
|
42
|
+
content: '';
|
|
43
|
+
display: block;
|
|
44
|
+
position: absolute;
|
|
45
|
+
inset: 0;
|
|
46
|
+
background-color: inherit;
|
|
47
|
+
opacity: 0;
|
|
48
|
+
z-index: var(--z-status);
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
transition: all var(--nav-trans-time) linear;
|
|
51
|
+
}
|
|
50
52
|
}
|
|
51
|
-
}
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
@include mid-break {
|
|
55
|
+
&__nav-toggler-wrapper {
|
|
56
|
+
.hamburger {
|
|
57
|
+
left: unset;
|
|
58
|
+
}
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
|
-
}
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
@include small-break {
|
|
63
|
+
&__nav-toggler-wrapper {
|
|
64
|
+
width: unset;
|
|
65
|
+
justify-content: unset;
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
.hamburger {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
68
70
|
}
|
|
69
|
-
}
|
|
70
71
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
.template-default {
|
|
73
|
+
&__wrap {
|
|
74
|
+
min-width: 100%;
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
@import '../../scss/styles';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.template-minimal {
|
|
5
|
+
display: flex;
|
|
6
|
+
width: 100%;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
padding: base(3) $baseline;
|
|
10
|
+
margin-left: auto;
|
|
11
|
+
margin-right: auto;
|
|
12
|
+
min-height: 100%;
|
|
13
|
+
background-color: var(--theme-bg-color);
|
|
14
|
+
color: var(--theme-text);
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
&--width-normal {
|
|
17
|
+
.template-minimal__wrap {
|
|
18
|
+
max-width: base(24);
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
19
21
|
}
|
|
20
|
-
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
&--width-wide {
|
|
24
|
+
.template-minimal__wrap {
|
|
25
|
+
max-width: base(48);
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -1,90 +1,92 @@
|
|
|
1
1
|
@import '../../../scss/styles.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
@layer payload-default {
|
|
4
|
+
.query-inspector {
|
|
5
|
+
&__json-children {
|
|
6
|
+
position: relative;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
&:before {
|
|
9
|
+
content: '';
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 8px;
|
|
13
|
+
width: 1px;
|
|
14
|
+
height: 100%;
|
|
15
|
+
border-left: 1px dashed var(--theme-elevation-200);
|
|
16
|
+
}
|
|
15
17
|
}
|
|
16
|
-
}
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
&__list-wrap {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
&__list-toggle {
|
|
24
|
+
all: unset;
|
|
25
|
+
width: 100%;
|
|
26
|
+
text-align: left;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
border-radius: 3px;
|
|
29
|
+
border-top-right-radius: 0;
|
|
30
|
+
border-bottom-right-radius: 0;
|
|
31
|
+
position: relative;
|
|
32
|
+
display: flex;
|
|
33
|
+
gap: 10px;
|
|
34
|
+
align-items: center;
|
|
35
|
+
left: -3px;
|
|
36
|
+
width: calc(100% + 3px);
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
svg {
|
|
39
|
+
margin-left: 5px;
|
|
40
|
+
}
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
svg .stroke {
|
|
43
|
+
stroke: var(--theme-elevation-400);
|
|
44
|
+
}
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
&:hover {
|
|
47
|
+
background-color: var(--theme-elevation-100);
|
|
48
|
+
}
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
&--empty {
|
|
51
|
+
cursor: default;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
}
|
|
52
54
|
}
|
|
53
|
-
}
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
&__toggle-row-icon {
|
|
57
|
+
&--open {
|
|
58
|
+
transform: rotate(0deg);
|
|
59
|
+
}
|
|
60
|
+
&--closed {
|
|
61
|
+
transform: rotate(-90deg);
|
|
62
|
+
}
|
|
61
63
|
}
|
|
62
|
-
}
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
&__value-type {
|
|
66
|
+
&--number {
|
|
67
|
+
.query-inspector__value {
|
|
68
|
+
color: var(--number-color);
|
|
69
|
+
}
|
|
68
70
|
}
|
|
69
|
-
}
|
|
70
71
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
&--string {
|
|
73
|
+
.query-inspector__value {
|
|
74
|
+
color: var(--string-color);
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
|
-
}
|
|
77
78
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
&__row-line--nested {
|
|
80
|
+
margin-left: 25px;
|
|
81
|
+
}
|
|
81
82
|
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
&__bracket {
|
|
84
|
+
position: relative;
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
&--position-end {
|
|
87
|
+
left: 5px;
|
|
88
|
+
width: calc(100% - 5px);
|
|
89
|
+
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/next",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.115",
|
|
4
4
|
"homepage": "https://payloadcms.com",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"sonner": "^1.5.0",
|
|
72
72
|
"uuid": "10.0.0",
|
|
73
73
|
"ws": "^8.16.0",
|
|
74
|
-
"@payloadcms/
|
|
75
|
-
"@payloadcms/
|
|
76
|
-
"@payloadcms/ui": "3.0.0-beta.
|
|
74
|
+
"@payloadcms/graphql": "3.0.0-beta.115",
|
|
75
|
+
"@payloadcms/translations": "3.0.0-beta.115",
|
|
76
|
+
"@payloadcms/ui": "3.0.0-beta.115"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@babel/cli": "^7.24.5",
|
|
@@ -92,13 +92,13 @@
|
|
|
92
92
|
"esbuild-sass-plugin": "3.3.1",
|
|
93
93
|
"eslint-plugin-react-compiler": "0.0.0-experimental-7670337-20240918",
|
|
94
94
|
"swc-plugin-transform-remove-imports": "1.15.0",
|
|
95
|
-
"payload": "3.0.0-beta.
|
|
95
|
+
"payload": "3.0.0-beta.115",
|
|
96
96
|
"@payloadcms/eslint-config": "3.0.0-beta.112"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"graphql": "^16.8.1",
|
|
100
100
|
"next": "^15.0.0-canary.173",
|
|
101
|
-
"payload": "3.0.0-beta.
|
|
101
|
+
"payload": "3.0.0-beta.115"
|
|
102
102
|
},
|
|
103
103
|
"engines": {
|
|
104
104
|
"node": "^18.20.2 || >=20.9.0"
|