@payloadcms/next 3.0.0-beta.64 → 3.0.0-beta.66

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.
Files changed (57) hide show
  1. package/package.json +7 -7
  2. package/dist/elements/DocumentHeader/Tabs/Tab/index.scss +0 -91
  3. package/dist/elements/DocumentHeader/Tabs/index.scss +0 -53
  4. package/dist/elements/DocumentHeader/index.scss +0 -51
  5. package/dist/elements/LeaveWithoutSaving/index.scss +0 -36
  6. package/dist/elements/Nav/NavWrapper/index.scss +0 -17
  7. package/dist/elements/Nav/index.scss +0 -150
  8. package/dist/prod/styles.css +0 -1
  9. package/dist/routes/rest/og/roboto-regular.woff +0 -0
  10. package/dist/scss/app.scss +0 -208
  11. package/dist/scss/colors.scss +0 -269
  12. package/dist/scss/custom.css +0 -1
  13. package/dist/scss/queries.scss +0 -27
  14. package/dist/scss/resets.scss +0 -17
  15. package/dist/scss/styles.scss +0 -11
  16. package/dist/scss/svg.scss +0 -10
  17. package/dist/scss/toasts.scss +0 -111
  18. package/dist/scss/type.scss +0 -117
  19. package/dist/scss/vars.scss +0 -213
  20. package/dist/scss/z-index.scss +0 -9
  21. package/dist/templates/Default/Wrapper/index.scss +0 -25
  22. package/dist/templates/Default/index.scss +0 -67
  23. package/dist/templates/Minimal/index.scss +0 -28
  24. package/dist/views/API/RenderJSON/index.scss +0 -90
  25. package/dist/views/API/index.scss +0 -124
  26. package/dist/views/Account/Settings/index.scss +0 -46
  27. package/dist/views/CreateFirstUser/index.scss +0 -5
  28. package/dist/views/Dashboard/Default/index.scss +0 -58
  29. package/dist/views/Edit/Default/Auth/index.scss +0 -76
  30. package/dist/views/Edit/Default/index.scss +0 -21
  31. package/dist/views/List/Default/index.scss +0 -195
  32. package/dist/views/LivePreview/IFrame/index.scss +0 -7
  33. package/dist/views/LivePreview/Preview/index.scss +0 -41
  34. package/dist/views/LivePreview/Toolbar/Controls/index.scss +0 -59
  35. package/dist/views/LivePreview/Toolbar/SizeInput/index.scss +0 -10
  36. package/dist/views/LivePreview/Toolbar/index.scss +0 -41
  37. package/dist/views/LivePreview/ToolbarArea/index.scss +0 -4
  38. package/dist/views/LivePreview/index.scss +0 -66
  39. package/dist/views/Login/LoginForm/index.scss +0 -8
  40. package/dist/views/Login/index.scss +0 -8
  41. package/dist/views/Logout/index.scss +0 -20
  42. package/dist/views/NotFound/index.scss +0 -37
  43. package/dist/views/ResetPassword/index.scss +0 -5
  44. package/dist/views/Unauthorized/index.scss +0 -36
  45. package/dist/views/Verify/index.scss +0 -14
  46. package/dist/views/Version/Default/index.scss +0 -70
  47. package/dist/views/Version/RenderFieldsToDiff/Label/index.scss +0 -4
  48. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.scss +0 -34
  49. package/dist/views/Version/RenderFieldsToDiff/fields/Nested/index.scss +0 -12
  50. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.scss +0 -13
  51. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.scss +0 -13
  52. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.scss +0 -13
  53. package/dist/views/Version/RenderFieldsToDiff/index.scss +0 -18
  54. package/dist/views/Version/Restore/index.scss +0 -30
  55. package/dist/views/Version/SelectComparison/index.scss +0 -13
  56. package/dist/views/Version/SelectLocales/index.scss +0 -7
  57. package/dist/views/Versions/index.scss +0 -108
@@ -1,213 +0,0 @@
1
- @use 'sass:math';
2
-
3
- /////////////////////////////
4
- // BREAKPOINTS
5
- /////////////////////////////
6
-
7
- $breakpoint-xs-width: 400px !default;
8
- $breakpoint-s-width: 768px !default;
9
- $breakpoint-m-width: 1024px !default;
10
- $breakpoint-l-width: 1440px !default;
11
-
12
- //////////////////////////////
13
- // BASELINE GRID
14
- //////////////////////////////
15
-
16
- $baseline-px: 25px !default;
17
- $baseline-body-size: 13px !default;
18
- $baseline: math.div($baseline-px, $baseline-body-size) + rem;
19
-
20
- @function base($multiplier) {
21
- @return (math.div($baseline-px, $baseline-body-size) * $multiplier) + rem;
22
- }
23
-
24
- //////////////////////////////
25
- // COLORS (DEPRECATED. DO NOT USE. PREFER CSS VARIABLES)
26
- //////////////////////////////
27
-
28
- $color-dark-gray: #333333 !default;
29
- $color-gray: #9a9a9a !default;
30
- $color-light-gray: #dadada !default;
31
- $color-background-gray: #f3f3f3 !default;
32
- $color-red: #ff6f76 !default;
33
- $color-yellow: #fdffa4 !default;
34
- $color-green: #b2ffd6 !default;
35
- $color-purple: #f3ddf3 !default;
36
-
37
- //////////////////////////////
38
- // STYLES
39
- //////////////////////////////
40
-
41
- $style-radius-s: 3px !default;
42
- $style-radius-m: 4px !default;
43
- $style-radius-l: 9px !default;
44
- $style-stroke-width: 1px !default;
45
-
46
- $style-stroke-width-s: 1px !default;
47
- $style-stroke-width-m: 2px !default;
48
-
49
- //////////////////////////////
50
- // MISC
51
- //////////////////////////////
52
-
53
- $top-header-offset: calc(var(--base) - 1px);
54
- $top-header-offset-m: calc(var(--base) * 3);
55
- $focus-box-shadow: 0 0 0 $style-stroke-width-m var(--theme-success-500);
56
-
57
- //////////////////////////////
58
- // SHADOWS
59
- //////////////////////////////
60
-
61
- @mixin shadow-sm {
62
- box-shadow:
63
- 0 2px 3px 0 rgba(0, 2, 4, 0.05),
64
- 0 10px 4px -8px rgba(0, 2, 4, 0.02);
65
- }
66
-
67
- @mixin shadow-m {
68
- box-shadow:
69
- 0 0 30px 0 rgb(0 2 4 / 12%),
70
- 0 30px 25px -8px rgb(0 2 4 / 10%);
71
- }
72
-
73
- @mixin shadow-lg {
74
- box-shadow:
75
- 0 20px 35px -10px rgba(0, 2, 4, 0.2),
76
- 0 6px 4px -4px rgba(0, 2, 4, 0.02);
77
- }
78
-
79
- @mixin shadow-lg-top {
80
- box-shadow:
81
- 0 -20px 35px -10px rgba(0, 2, 4, 0.2),
82
- 0 -6px 4px -4px rgba(0, 2, 4, 0.02);
83
- }
84
-
85
- @mixin shadow {
86
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
87
-
88
- &:hover {
89
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
90
- }
91
- }
92
-
93
- @mixin inputShadowActive {
94
- box-shadow:
95
- 0 2px 3px 0 rgba(0, 2, 4, 0.16),
96
- 0 6px 4px -4px rgba(0, 2, 4, 0.13);
97
- }
98
-
99
- @mixin inputShadow {
100
- @include shadow-sm;
101
-
102
- &:not(:disabled) {
103
- &:hover {
104
- box-shadow:
105
- 0 2px 3px 0 rgba(0, 2, 4, 0.13),
106
- 0 6px 4px -4px rgba(0, 2, 4, 0.1);
107
- }
108
-
109
- &:active,
110
- &:focus-within,
111
- &:focus {
112
- @include inputShadowActive;
113
- }
114
- }
115
- }
116
-
117
- @mixin soft-shadow-bottom {
118
- box-shadow: 0 7px 14px 0px rgb(0 0 0 / 5%);
119
- }
120
-
121
- //////////////////////////////
122
- // STYLE MIXINS
123
- //////////////////////////////
124
-
125
- @mixin blur-bg($color: var(--theme-bg), $opacity: 0.75) {
126
- &:before,
127
- &:after {
128
- content: ' ';
129
- position: absolute;
130
- top: 0;
131
- right: 0;
132
- bottom: 0;
133
- left: 0;
134
- }
135
-
136
- &:before {
137
- background: $color;
138
- opacity: $opacity;
139
- }
140
-
141
- &:after {
142
- backdrop-filter: blur(8px);
143
- }
144
- }
145
-
146
- @mixin blur-bg-light {
147
- @include blur-bg(var(--theme-bg), 0.3);
148
- }
149
-
150
- @mixin formInput() {
151
- @include inputShadow;
152
- font-family: var(--font-body);
153
- width: 100%;
154
- border: 1px solid var(--theme-elevation-150);
155
- background: var(--theme-input-bg);
156
- color: var(--theme-elevation-800);
157
- border-radius: 0;
158
- font-size: 1rem;
159
- height: base(2);
160
- line-height: base(1);
161
- padding: base(0.5) base(0.75);
162
- -webkit-appearance: none;
163
-
164
- &[data-rtl='true'] {
165
- direction: rtl;
166
- }
167
-
168
- &::-webkit-input-placeholder {
169
- color: var(--theme-elevation-400);
170
- font-weight: normal;
171
- font-size: 1rem;
172
- }
173
-
174
- &::-moz-placeholder {
175
- color: var(--theme-elevation-400);
176
- font-weight: normal;
177
- font-size: 1rem;
178
- }
179
-
180
- &:hover {
181
- border-color: var(--theme-elevation-250);
182
- }
183
-
184
- &:focus,
185
- &:focus-within,
186
- &:active {
187
- border-color: var(--theme-elevation-400);
188
- outline: 0;
189
- }
190
-
191
- &:disabled {
192
- background: var(--theme-elevation-200);
193
- color: var(--theme-elevation-450);
194
-
195
- &:hover {
196
- border-color: var(--theme-elevation-150);
197
- }
198
- }
199
- }
200
-
201
- @mixin lightInputError {
202
- background-color: var(--theme-error-50);
203
- border: 1px solid var(--theme-error-500);
204
- }
205
-
206
- @mixin darkInputError {
207
- background-color: var(--theme-error-100);
208
- border: 1px solid var(--theme-error-400);
209
-
210
- &:hover {
211
- border-color: var(--theme-error-500);
212
- }
213
- }
@@ -1,9 +0,0 @@
1
- /////////////////////////////
2
- // Z-INDEX CHART (DEPRECATED. DO NOT USE. PREFER CSS VARIABLES)
3
- /////////////////////////////
4
-
5
- $z-page: 20;
6
- $z-page-content: 30;
7
- $z-nav: 40;
8
- $z-modal: 50;
9
- $z-status: 60;
@@ -1,25 +0,0 @@
1
- @import '../../../scss/styles.scss';
2
-
3
- .template-default {
4
- min-height: 100vh;
5
- display: grid;
6
- position: relative;
7
- grid-template-columns: 0 auto;
8
- transition: grid-template-columns var(--nav-trans-time) linear;
9
- isolation: isolate;
10
-
11
- @media (prefers-reduced-motion) {
12
- transition: none;
13
- }
14
-
15
- &--nav-open {
16
- width: 100%;
17
- grid-template-columns: var(--nav-width) auto;
18
-
19
- .template-default {
20
- &__nav-overlay {
21
- transition: opacity var(--nav-trans-time) linear;
22
- }
23
- }
24
- }
25
- }
@@ -1,67 +0,0 @@
1
- @import '../../scss/styles.scss';
2
-
3
- .template-default {
4
- background-color: var(--theme-bg);
5
- color: var(--theme-text);
6
-
7
- [dir='rtl'] &__nav-toggler-wrapper {
8
- left: unset;
9
- right: 0;
10
- }
11
-
12
- &__nav-toggler-wrapper {
13
- position: fixed;
14
- z-index: var(--z-modal);
15
- top: 0;
16
- left: 0;
17
- height: var(--app-header-height);
18
- width: var(--gutter-h);
19
- display: flex;
20
- align-items: center;
21
- justify-content: center;
22
- }
23
-
24
- &__wrap {
25
- min-width: 0;
26
- width: 100%;
27
- flex-grow: 1;
28
- position: relative;
29
- background-color: var(--theme-bg);
30
- &:before {
31
- content: '';
32
- display: block;
33
- position: absolute;
34
- inset: 0;
35
- background-color: inherit;
36
- opacity: 0;
37
- z-index: var(--z-status);
38
- visibility: hidden;
39
- transition: all var(--nav-trans-time) linear;
40
- }
41
- }
42
-
43
- @include mid-break {
44
- &__nav-toggler-wrapper {
45
- .hamburger {
46
- left: unset;
47
- }
48
- }
49
- }
50
-
51
- @include small-break {
52
- &__nav-toggler-wrapper {
53
- width: unset;
54
- justify-content: unset;
55
-
56
- .hamburger {
57
- display: none;
58
- }
59
- }
60
-
61
- .template-default {
62
- &__wrap {
63
- min-width: 100vw;
64
- }
65
- }
66
- }
67
- }
@@ -1,28 +0,0 @@
1
- @import '../../scss/styles';
2
-
3
- .template-minimal {
4
- display: flex;
5
- width: 100%;
6
- justify-content: center;
7
- align-items: center;
8
- padding: base(3) $baseline;
9
- margin-left: auto;
10
- margin-right: auto;
11
- min-height: 100%;
12
- background-color: var(--theme-bg-color);
13
- color: var(--theme-text);
14
-
15
- &--width-normal {
16
- .template-minimal__wrap {
17
- max-width: 500px;
18
- width: 100%;
19
- }
20
- }
21
-
22
- &--width-wide {
23
- .template-minimal__wrap {
24
- max-width: 1024px;
25
- width: 100%;
26
- }
27
- }
28
- }
@@ -1,90 +0,0 @@
1
- @import '../../../scss/styles.scss';
2
-
3
- .query-inspector {
4
- &__json-children {
5
- position: relative;
6
-
7
- &:before {
8
- content: '';
9
- position: absolute;
10
- top: 0;
11
- left: 8px;
12
- width: 1px;
13
- height: 100%;
14
- border-left: 1px dashed var(--theme-elevation-200);
15
- }
16
- }
17
-
18
- &__list-wrap {
19
- position: relative;
20
- }
21
-
22
- &__list-toggle {
23
- all: unset;
24
- width: 100%;
25
- text-align: left;
26
- cursor: pointer;
27
- border-radius: 3px;
28
- border-top-right-radius: 0;
29
- border-bottom-right-radius: 0;
30
- position: relative;
31
- display: flex;
32
- gap: 10px;
33
- align-items: center;
34
- left: -3px;
35
- width: calc(100% + 3px);
36
-
37
- svg {
38
- margin-left: 5px;
39
- }
40
-
41
- svg .stroke {
42
- stroke: var(--theme-elevation-400);
43
- }
44
-
45
- &:hover {
46
- background-color: var(--theme-elevation-100);
47
- }
48
-
49
- &--empty {
50
- cursor: default;
51
- pointer-events: none;
52
- }
53
- }
54
-
55
- &__toggle-row-icon {
56
- &--open {
57
- transform: rotate(0deg);
58
- }
59
- &--closed {
60
- transform: rotate(-90deg);
61
- }
62
- }
63
-
64
- &__value-type {
65
- &--number {
66
- .query-inspector__value {
67
- color: var(--number-color);
68
- }
69
- }
70
-
71
- &--string {
72
- .query-inspector__value {
73
- color: var(--string-color);
74
- }
75
- }
76
- }
77
-
78
- &__row-line--nested {
79
- margin-left: 25px;
80
- }
81
-
82
- &__bracket {
83
- position: relative;
84
-
85
- &--position-end {
86
- left: 5px;
87
- width: calc(100% - 5px);
88
- }
89
- }
90
- }
@@ -1,124 +0,0 @@
1
- @import '../../scss/styles.scss';
2
-
3
- .query-inspector {
4
- --string-color: #11b102;
5
- --number-color: #62c3f3;
6
- display: flex;
7
- gap: calc(var(--base) * 2);
8
- align-items: flex-start;
9
-
10
- ul {
11
- padding-left: calc(var(--base) * 1);
12
- }
13
-
14
- &--fullscreen {
15
- padding-left: 0;
16
- .query-inspector__configuration {
17
- display: none;
18
- }
19
- }
20
-
21
- &__configuration {
22
- margin-top: calc(var(--base) * 2);
23
- width: 60%;
24
- position: sticky;
25
- top: var(--base);
26
- }
27
-
28
- &__api-url {
29
- margin-bottom: calc(var(--base) * 1.5);
30
-
31
- a {
32
- display: block;
33
- overflow: hidden;
34
- text-overflow: ellipsis;
35
- text-decoration: none;
36
-
37
- &:hover,
38
- &:focus-visible {
39
- text-decoration: underline;
40
- }
41
- }
42
- }
43
-
44
- &__form-fields {
45
- display: flex;
46
- flex-direction: column;
47
- gap: var(--base);
48
- }
49
-
50
- &__label {
51
- color: var(--theme-elevation-400);
52
- }
53
-
54
- &__filter-query-checkboxes {
55
- display: flex;
56
- gap: var(--base);
57
- }
58
-
59
- &__results-wrapper {
60
- font-family: var(--font-mono);
61
- width: 100%;
62
- ul {
63
- margin: 0;
64
- }
65
- li {
66
- list-style: none;
67
- }
68
- }
69
-
70
- &__toggle-fullscreen-button-container {
71
- position: sticky;
72
- top: 0;
73
- z-index: 1;
74
-
75
- @include mid-break {
76
- display: none;
77
- }
78
- }
79
-
80
- &__toggle-fullscreen-button {
81
- position: absolute;
82
- right: calc(var(--base) * 0.5);
83
- top: calc(var(--base) * 0.5);
84
- padding: calc(var(--base) * 0.25);
85
- background-color: var(--theme-elevation-0);
86
- cursor: pointer;
87
- z-index: 1;
88
- margin: 0;
89
- border: 0;
90
- border-radius: 3px;
91
- color: var(--theme-elevation-300);
92
- &:hover {
93
- color: var(--theme-elevation-700);
94
- }
95
- }
96
-
97
- &__results {
98
- padding-top: calc(var(--base) * 0.5);
99
- padding-left: calc(var(--base) * 0.5);
100
- padding-bottom: calc(var(--base) * 0.5);
101
- background-color: var(--theme-elevation-50);
102
- overflow: auto;
103
- min-height: 100vh;
104
- }
105
-
106
- @include mid-break {
107
- flex-direction: column;
108
- padding-left: 0;
109
-
110
- .query-inspector__configuration {
111
- position: relative;
112
- width: 100%;
113
- top: 0;
114
- padding-right: var(--gutter-h);
115
- padding-left: var(--gutter-h);
116
- }
117
- }
118
- }
119
-
120
- html[data-theme='light'] {
121
- .query-inspector {
122
- --number-color: #2e9cd3;
123
- }
124
- }
@@ -1,46 +0,0 @@
1
- @import '../../../scss/styles.scss';
2
-
3
- .payload-settings {
4
- position: relative;
5
- margin-bottom: calc(var(--base) * 2);
6
-
7
- h3 {
8
- margin: 0;
9
- }
10
-
11
- &::before,
12
- &::after {
13
- content: '';
14
- display: block;
15
- height: 1px;
16
- background: var(--theme-elevation-100);
17
- width: calc(100% + calc(var(--base) * 5));
18
- left: calc(var(--gutter-h) * -1);
19
- top: 0;
20
- position: absolute;
21
- }
22
-
23
- &::after {
24
- display: none;
25
- bottom: 0;
26
- top: unset;
27
- }
28
-
29
- margin-top: calc(var(--base) * 3);
30
- padding-top: calc(var(--base) * 3);
31
- padding-bottom: calc(var(--base) * 3);
32
- display: flex;
33
- flex-direction: column;
34
- gap: var(--base);
35
-
36
- @include mid-break {
37
- margin-bottom: var(--base);
38
- padding-top: calc(var(--base) * 2);
39
- margin-top: calc(var(--base) * 2);
40
- padding-bottom: calc(var(--base) * 2);
41
-
42
- &::after {
43
- display: block;
44
- }
45
- }
46
- }
@@ -1,5 +0,0 @@
1
- .create-first-user {
2
- > form > .field-type {
3
- margin-bottom: var(--base);
4
- }
5
- }
@@ -1,58 +0,0 @@
1
- @import '../../../scss/styles.scss';
2
-
3
- .dashboard {
4
- width: 100%;
5
- --gap: var(--base);
6
- --cols: 5;
7
-
8
- &__wrap {
9
- padding-bottom: var(--spacing-view-bottom);
10
- display: flex;
11
- flex-direction: column;
12
- gap: var(--base);
13
- }
14
-
15
- &__group {
16
- display: flex;
17
- flex-direction: column;
18
- gap: var(--gap);
19
- }
20
-
21
- &__label {
22
- margin: 0;
23
- }
24
-
25
- &__card-list {
26
- padding: 0;
27
- margin: 0;
28
- list-style: none;
29
- display: flex;
30
- gap: var(--gap);
31
- flex-wrap: wrap;
32
-
33
- li {
34
- width: calc(100% / var(--cols) - var(--gap) / var(--cols) * (var(--cols) - 1));
35
- }
36
-
37
- .card {
38
- height: 100%;
39
- }
40
- }
41
-
42
- @include large-break {
43
- --cols: 4;
44
- }
45
-
46
- @include mid-break {
47
- --gap: var(--base);
48
- --cols: 2;
49
- }
50
-
51
- @include small-break {
52
- --cols: 1;
53
-
54
- &__wrap {
55
- gap: var(--base);
56
- }
57
- }
58
- }