@payloadcms/next 3.51.0-canary.6 → 3.51.0-internal.62eeed3

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.
@@ -1,17 +1,15 @@
1
1
  @import '~@payloadcms/ui/scss';
2
2
 
3
- $tab-width: 24px;
3
+ $tab-width: 16px;
4
4
 
5
5
  @layer payload-default {
6
6
  .query-inspector {
7
- --tab-width: 24px;
8
-
9
7
  &__json-children {
10
8
  position: relative;
11
9
 
12
10
  &--nested {
13
11
  & li {
14
- padding-left: 8px;
12
+ padding-left: $tab-width;
15
13
  }
16
14
  }
17
15
 
@@ -25,14 +23,6 @@ $tab-width: 24px;
25
23
  }
26
24
  }
27
25
 
28
- &__row-line {
29
- &--nested {
30
- .query-inspector__json-children {
31
- padding-left: var(--tab-width);
32
- }
33
- }
34
- }
35
-
36
26
  &__list-wrap {
37
27
  position: relative;
38
28
  }
@@ -47,16 +37,10 @@ $tab-width: 24px;
47
37
  border-bottom-right-radius: 0;
48
38
  position: relative;
49
39
  display: flex;
50
- column-gap: 14px;
51
- row-gap: 10px;
40
+ gap: 10px;
52
41
  align-items: center;
53
- left: 0;
42
+ left: -3px;
54
43
  width: calc(100% + 3px);
55
- background-color: var(--theme-elevation-50);
56
-
57
- &:not(.query-inspector__list-toggle--empty) {
58
- margin-left: calc(var(--tab-width) * -1 - 10px);
59
- }
60
44
 
61
45
  svg .stroke {
62
46
  stroke: var(--theme-elevation-400);
@@ -98,31 +82,13 @@ $tab-width: 24px;
98
82
  &__bracket {
99
83
  position: relative;
100
84
 
101
- &--position-end {
102
- left: 2px;
103
- width: calc(100% - 5px);
85
+ &--nested {
86
+ margin-left: $tab-width;
104
87
  }
105
- }
106
-
107
- // Some specific rules targetting the very top of the nested JSON structure or very first items since they need slightly different styling
108
- &__results {
109
- & > .query-inspector__row-line--nested {
110
- & > .query-inspector__list-toggle {
111
- margin-left: 0;
112
- column-gap: 6px;
113
-
114
- .query-inspector__toggle-row-icon {
115
- margin-left: -4px;
116
- }
117
- }
118
88
 
119
- & > .query-inspector__json-children {
120
- padding-left: calc(var(--base) * 1);
121
- }
122
-
123
- & > .query-inspector__bracket--nested > .query-inspector__bracket--position-end {
124
- padding-left: 16px;
125
- }
89
+ &--position-end {
90
+ left: 1px;
91
+ width: calc(100% - 5px);
126
92
  }
127
93
  }
128
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/next",
3
- "version": "3.51.0-canary.6",
3
+ "version": "3.51.0-internal.62eeed3",
4
4
  "homepage": "https://payloadcms.com",
5
5
  "repository": {
6
6
  "type": "git",
@@ -87,9 +87,9 @@
87
87
  "qs-esm": "7.0.2",
88
88
  "sass": "1.77.4",
89
89
  "uuid": "10.0.0",
90
- "@payloadcms/graphql": "3.51.0-canary.6",
91
- "@payloadcms/translations": "3.51.0-canary.6",
92
- "@payloadcms/ui": "3.51.0-canary.6"
90
+ "@payloadcms/translations": "3.51.0-internal.62eeed3",
91
+ "@payloadcms/graphql": "3.51.0-internal.62eeed3",
92
+ "@payloadcms/ui": "3.51.0-internal.62eeed3"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@babel/cli": "7.27.2",
@@ -107,12 +107,12 @@
107
107
  "esbuild-sass-plugin": "3.3.1",
108
108
  "swc-plugin-transform-remove-imports": "4.0.4",
109
109
  "@payloadcms/eslint-config": "3.28.0",
110
- "payload": "3.51.0-canary.6"
110
+ "payload": "3.51.0-internal.62eeed3"
111
111
  },
112
112
  "peerDependencies": {
113
113
  "graphql": "^16.8.1",
114
114
  "next": "^15.2.3",
115
- "payload": "3.51.0-canary.6"
115
+ "payload": "3.51.0-internal.62eeed3"
116
116
  },
117
117
  "engines": {
118
118
  "node": "^18.20.2 || >=20.9.0"