@strapi/plugin-documentation 4.11.0-exp.push-transfer-push-stuck → 4.11.0
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.
|
@@ -64,6 +64,53 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
64
64
|
await waitFor(() => expect(screen.getByText('1.0.0')).toBeInTheDocument());
|
|
65
65
|
|
|
66
66
|
expect(firstChild).toMatchInlineSnapshot(`
|
|
67
|
+
.c36 {
|
|
68
|
+
border: 0;
|
|
69
|
+
-webkit-clip: rect(0 0 0 0);
|
|
70
|
+
clip: rect(0 0 0 0);
|
|
71
|
+
height: 1px;
|
|
72
|
+
margin: -1px;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
padding: 0;
|
|
75
|
+
position: absolute;
|
|
76
|
+
width: 1px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.c9 {
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
font-size: 2rem;
|
|
82
|
+
line-height: 1.25;
|
|
83
|
+
color: #32324d;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.c14 {
|
|
87
|
+
font-size: 0.75rem;
|
|
88
|
+
line-height: 1.33;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
line-height: 0;
|
|
91
|
+
color: #ffffff;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.c15 {
|
|
95
|
+
font-size: 1rem;
|
|
96
|
+
line-height: 1.5;
|
|
97
|
+
color: #666687;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.c27 {
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
font-size: 0.6875rem;
|
|
103
|
+
line-height: 1.45;
|
|
104
|
+
text-transform: uppercase;
|
|
105
|
+
color: #666687;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.c31 {
|
|
109
|
+
font-size: 0.875rem;
|
|
110
|
+
line-height: 1.43;
|
|
111
|
+
color: #32324d;
|
|
112
|
+
}
|
|
113
|
+
|
|
67
114
|
.c1 {
|
|
68
115
|
padding-bottom: 56px;
|
|
69
116
|
}
|
|
@@ -126,41 +173,6 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
126
173
|
cursor: pointer;
|
|
127
174
|
}
|
|
128
175
|
|
|
129
|
-
.c9 {
|
|
130
|
-
font-weight: 600;
|
|
131
|
-
font-size: 2rem;
|
|
132
|
-
line-height: 1.25;
|
|
133
|
-
color: #32324d;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.c14 {
|
|
137
|
-
font-size: 0.75rem;
|
|
138
|
-
line-height: 1.33;
|
|
139
|
-
font-weight: 600;
|
|
140
|
-
line-height: 0;
|
|
141
|
-
color: #ffffff;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.c15 {
|
|
145
|
-
font-size: 1rem;
|
|
146
|
-
line-height: 1.5;
|
|
147
|
-
color: #666687;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.c27 {
|
|
151
|
-
font-weight: 600;
|
|
152
|
-
font-size: 0.6875rem;
|
|
153
|
-
line-height: 1.45;
|
|
154
|
-
text-transform: uppercase;
|
|
155
|
-
color: #666687;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.c31 {
|
|
159
|
-
font-size: 0.875rem;
|
|
160
|
-
line-height: 1.43;
|
|
161
|
-
color: #32324d;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
176
|
.c5 {
|
|
165
177
|
-webkit-align-items: center;
|
|
166
178
|
-webkit-box-align: center;
|
|
@@ -293,22 +305,15 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
293
305
|
border: 2px solid #4945ff;
|
|
294
306
|
}
|
|
295
307
|
|
|
296
|
-
.c36 {
|
|
297
|
-
border: 0;
|
|
298
|
-
-webkit-clip: rect(0 0 0 0);
|
|
299
|
-
clip: rect(0 0 0 0);
|
|
300
|
-
height: 1px;
|
|
301
|
-
margin: -1px;
|
|
302
|
-
overflow: hidden;
|
|
303
|
-
padding: 0;
|
|
304
|
-
position: absolute;
|
|
305
|
-
width: 1px;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
308
|
.c13 {
|
|
309
309
|
height: 2rem;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
+
.c13 svg {
|
|
313
|
+
height: 0.75rem;
|
|
314
|
+
width: auto;
|
|
315
|
+
}
|
|
316
|
+
|
|
312
317
|
.c13[aria-disabled='true'] {
|
|
313
318
|
border: 1px solid #dcdce4;
|
|
314
319
|
background: #eaeaef;
|
|
@@ -641,7 +646,7 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
641
646
|
<span>
|
|
642
647
|
<button
|
|
643
648
|
aria-disabled="false"
|
|
644
|
-
aria-labelledby="
|
|
649
|
+
aria-labelledby=":r2:"
|
|
645
650
|
class="c33 c34 c12 c35"
|
|
646
651
|
tabindex="-1"
|
|
647
652
|
type="button"
|
|
@@ -676,7 +681,7 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
676
681
|
<span>
|
|
677
682
|
<button
|
|
678
683
|
aria-disabled="false"
|
|
679
|
-
aria-labelledby="
|
|
684
|
+
aria-labelledby=":r4:"
|
|
680
685
|
class="c33 c34 c12 c35"
|
|
681
686
|
tabindex="-1"
|
|
682
687
|
type="button"
|
|
@@ -707,7 +712,7 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
707
712
|
<span>
|
|
708
713
|
<button
|
|
709
714
|
aria-disabled="false"
|
|
710
|
-
aria-labelledby="
|
|
715
|
+
aria-labelledby=":r6:"
|
|
711
716
|
class="c33 c34 c12 c35"
|
|
712
717
|
tabindex="-1"
|
|
713
718
|
type="button"
|
|
@@ -775,7 +780,7 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
775
780
|
<span>
|
|
776
781
|
<button
|
|
777
782
|
aria-disabled="false"
|
|
778
|
-
aria-labelledby="
|
|
783
|
+
aria-labelledby=":r8:"
|
|
779
784
|
class="c33 c34 c12 c35"
|
|
780
785
|
tabindex="-1"
|
|
781
786
|
type="button"
|
|
@@ -810,7 +815,7 @@ describe('Plugin | Documentation | PluginPage', () => {
|
|
|
810
815
|
<span>
|
|
811
816
|
<button
|
|
812
817
|
aria-disabled="false"
|
|
813
|
-
aria-labelledby="
|
|
818
|
+
aria-labelledby=":ra:"
|
|
814
819
|
class="c33 c34 c12 c35"
|
|
815
820
|
tabindex="-1"
|
|
816
821
|
type="button"
|
|
@@ -56,61 +56,16 @@ describe('Plugin | Documentation | SettingsPage', () => {
|
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
expect(firstChild).toMatchInlineSnapshot(`
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.c7 {
|
|
72
|
-
background: #4945ff;
|
|
73
|
-
padding: 8px;
|
|
74
|
-
padding-right: 16px;
|
|
75
|
-
padding-left: 16px;
|
|
76
|
-
border-radius: 4px;
|
|
77
|
-
border-color: #4945ff;
|
|
78
|
-
border: 1px solid #4945ff;
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.c13 {
|
|
83
|
-
padding-right: 56px;
|
|
84
|
-
padding-left: 56px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.c14 {
|
|
88
|
-
background: #ffffff;
|
|
89
|
-
padding-top: 24px;
|
|
90
|
-
padding-right: 32px;
|
|
91
|
-
padding-bottom: 24px;
|
|
92
|
-
padding-left: 32px;
|
|
93
|
-
border-radius: 4px;
|
|
94
|
-
box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.c25 {
|
|
98
|
-
background: #f6f6f9;
|
|
99
|
-
padding: 4px;
|
|
100
|
-
border-radius: 4px;
|
|
101
|
-
border-style: solid;
|
|
102
|
-
border-width: 1px;
|
|
103
|
-
border-color: #dcdce4;
|
|
104
|
-
display: -webkit-box;
|
|
105
|
-
display: -webkit-flex;
|
|
106
|
-
display: -ms-flexbox;
|
|
107
|
-
display: flex;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.c27 {
|
|
111
|
-
padding-right: 12px;
|
|
112
|
-
padding-left: 12px;
|
|
113
|
-
border-radius: 4px;
|
|
59
|
+
.c24 {
|
|
60
|
+
border: 0;
|
|
61
|
+
-webkit-clip: rect(0 0 0 0);
|
|
62
|
+
clip: rect(0 0 0 0);
|
|
63
|
+
height: 1px;
|
|
64
|
+
margin: -1px;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
padding: 0;
|
|
67
|
+
position: absolute;
|
|
68
|
+
width: 1px;
|
|
114
69
|
}
|
|
115
70
|
|
|
116
71
|
.c6 {
|
|
@@ -170,6 +125,63 @@ describe('Plugin | Documentation | SettingsPage', () => {
|
|
|
170
125
|
color: #666687;
|
|
171
126
|
}
|
|
172
127
|
|
|
128
|
+
.c1 {
|
|
129
|
+
background: #f6f6f9;
|
|
130
|
+
padding-top: 40px;
|
|
131
|
+
padding-right: 56px;
|
|
132
|
+
padding-bottom: 40px;
|
|
133
|
+
padding-left: 56px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.c3 {
|
|
137
|
+
min-width: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.c7 {
|
|
141
|
+
background: #4945ff;
|
|
142
|
+
padding: 8px;
|
|
143
|
+
padding-right: 16px;
|
|
144
|
+
padding-left: 16px;
|
|
145
|
+
border-radius: 4px;
|
|
146
|
+
border-color: #4945ff;
|
|
147
|
+
border: 1px solid #4945ff;
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.c13 {
|
|
152
|
+
padding-right: 56px;
|
|
153
|
+
padding-left: 56px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.c14 {
|
|
157
|
+
background: #ffffff;
|
|
158
|
+
padding-top: 24px;
|
|
159
|
+
padding-right: 32px;
|
|
160
|
+
padding-bottom: 24px;
|
|
161
|
+
padding-left: 32px;
|
|
162
|
+
border-radius: 4px;
|
|
163
|
+
box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.c25 {
|
|
167
|
+
background: #f6f6f9;
|
|
168
|
+
padding: 4px;
|
|
169
|
+
border-radius: 4px;
|
|
170
|
+
border-style: solid;
|
|
171
|
+
border-width: 1px;
|
|
172
|
+
border-color: #dcdce4;
|
|
173
|
+
display: -webkit-box;
|
|
174
|
+
display: -webkit-flex;
|
|
175
|
+
display: -ms-flexbox;
|
|
176
|
+
display: flex;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.c27 {
|
|
180
|
+
padding-right: 12px;
|
|
181
|
+
padding-left: 12px;
|
|
182
|
+
border-radius: 4px;
|
|
183
|
+
}
|
|
184
|
+
|
|
173
185
|
.c2 {
|
|
174
186
|
-webkit-align-items: center;
|
|
175
187
|
-webkit-box-align: center;
|
|
@@ -314,22 +326,15 @@ describe('Plugin | Documentation | SettingsPage', () => {
|
|
|
314
326
|
border: 2px solid #4945ff;
|
|
315
327
|
}
|
|
316
328
|
|
|
317
|
-
.c24 {
|
|
318
|
-
border: 0;
|
|
319
|
-
-webkit-clip: rect(0 0 0 0);
|
|
320
|
-
clip: rect(0 0 0 0);
|
|
321
|
-
height: 1px;
|
|
322
|
-
margin: -1px;
|
|
323
|
-
overflow: hidden;
|
|
324
|
-
padding: 0;
|
|
325
|
-
position: absolute;
|
|
326
|
-
width: 1px;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
329
|
.c10 {
|
|
330
330
|
height: 2rem;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
+
.c10 svg {
|
|
334
|
+
height: 0.75rem;
|
|
335
|
+
width: auto;
|
|
336
|
+
}
|
|
337
|
+
|
|
333
338
|
.c10[aria-disabled='true'] {
|
|
334
339
|
border: 1px solid #dcdce4;
|
|
335
340
|
background: #eaeaef;
|
|
@@ -566,74 +571,70 @@ describe('Plugin | Documentation | SettingsPage', () => {
|
|
|
566
571
|
class="c18"
|
|
567
572
|
>
|
|
568
573
|
<div
|
|
569
|
-
class=""
|
|
574
|
+
class="c19"
|
|
570
575
|
>
|
|
571
576
|
<div
|
|
572
|
-
class="
|
|
577
|
+
class="c20"
|
|
573
578
|
>
|
|
574
579
|
<div
|
|
575
|
-
class="
|
|
580
|
+
class="c4"
|
|
581
|
+
>
|
|
582
|
+
<label
|
|
583
|
+
class="c5 c21 c22"
|
|
584
|
+
for=":r0:"
|
|
585
|
+
>
|
|
586
|
+
Restricted Access
|
|
587
|
+
</label>
|
|
588
|
+
</div>
|
|
589
|
+
<label
|
|
590
|
+
class="c23"
|
|
576
591
|
>
|
|
577
592
|
<div
|
|
578
|
-
class="
|
|
593
|
+
class="c24"
|
|
579
594
|
>
|
|
580
|
-
|
|
581
|
-
class="c5 c21 c22"
|
|
582
|
-
for="1"
|
|
583
|
-
>
|
|
584
|
-
Restricted Access
|
|
585
|
-
</label>
|
|
595
|
+
Restricted Access
|
|
586
596
|
</div>
|
|
587
|
-
<
|
|
588
|
-
class="
|
|
597
|
+
<div
|
|
598
|
+
class="c25 c26"
|
|
599
|
+
display="flex"
|
|
589
600
|
>
|
|
590
601
|
<div
|
|
591
|
-
|
|
602
|
+
aria-hidden="true"
|
|
603
|
+
class="c27 c28 c29"
|
|
592
604
|
>
|
|
593
|
-
|
|
605
|
+
<span
|
|
606
|
+
class="c5 c30"
|
|
607
|
+
>
|
|
608
|
+
Off
|
|
609
|
+
</span>
|
|
594
610
|
</div>
|
|
595
611
|
<div
|
|
596
|
-
|
|
597
|
-
|
|
612
|
+
aria-hidden="true"
|
|
613
|
+
class="c27 c28 c31"
|
|
598
614
|
>
|
|
599
|
-
<
|
|
600
|
-
|
|
601
|
-
class="c27 c28 c29"
|
|
615
|
+
<span
|
|
616
|
+
class="c5 c32"
|
|
602
617
|
>
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
>
|
|
606
|
-
Off
|
|
607
|
-
</span>
|
|
608
|
-
</div>
|
|
609
|
-
<div
|
|
610
|
-
aria-hidden="true"
|
|
611
|
-
class="c27 c28 c31"
|
|
612
|
-
>
|
|
613
|
-
<span
|
|
614
|
-
class="c5 c32"
|
|
615
|
-
>
|
|
616
|
-
On
|
|
617
|
-
</span>
|
|
618
|
-
</div>
|
|
619
|
-
<input
|
|
620
|
-
aria-describedby="1-hint"
|
|
621
|
-
aria-disabled="false"
|
|
622
|
-
aria-required="false"
|
|
623
|
-
class="c33"
|
|
624
|
-
id="1"
|
|
625
|
-
name="restrictedAccess"
|
|
626
|
-
type="checkbox"
|
|
627
|
-
/>
|
|
618
|
+
On
|
|
619
|
+
</span>
|
|
628
620
|
</div>
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
621
|
+
<input
|
|
622
|
+
aria-describedby=":r0:-hint"
|
|
623
|
+
aria-disabled="false"
|
|
624
|
+
aria-required="false"
|
|
625
|
+
class="c33"
|
|
626
|
+
id=":r0:"
|
|
627
|
+
name="restrictedAccess"
|
|
628
|
+
type="checkbox"
|
|
629
|
+
/>
|
|
630
|
+
</div>
|
|
631
|
+
</label>
|
|
632
|
+
<p
|
|
633
|
+
class="c5 c34"
|
|
634
|
+
id=":r0:-hint"
|
|
635
|
+
>
|
|
636
|
+
Make the documentation endpoint private
|
|
637
|
+
</p>
|
|
637
638
|
</div>
|
|
638
639
|
</div>
|
|
639
640
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-documentation",
|
|
3
|
-
"version": "4.11.0
|
|
3
|
+
"version": "4.11.0",
|
|
4
4
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"test:front:watch:ce": "run -T cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@strapi/design-system": "1.
|
|
34
|
-
"@strapi/helper-plugin": "4.11.0
|
|
35
|
-
"@strapi/icons": "1.
|
|
36
|
-
"@strapi/utils": "4.11.0
|
|
33
|
+
"@strapi/design-system": "1.8.0",
|
|
34
|
+
"@strapi/helper-plugin": "4.11.0",
|
|
35
|
+
"@strapi/icons": "1.8.0",
|
|
36
|
+
"@strapi/utils": "4.11.0",
|
|
37
37
|
"bcryptjs": "2.4.3",
|
|
38
38
|
"cheerio": "^1.0.0-rc.12",
|
|
39
|
-
"formik": "2.
|
|
39
|
+
"formik": "2.4.0",
|
|
40
40
|
"fs-extra": "10.0.0",
|
|
41
41
|
"immer": "9.0.19",
|
|
42
42
|
"koa-static": "^5.0.0",
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
"pluralize": "8.0.0",
|
|
46
46
|
"react-helmet": "^6.1.0",
|
|
47
47
|
"react-intl": "6.4.1",
|
|
48
|
-
"react-query": "3.
|
|
48
|
+
"react-query": "3.39.3",
|
|
49
49
|
"react-redux": "8.0.5",
|
|
50
50
|
"redux": "^4.2.1",
|
|
51
51
|
"reselect": "^4.1.7",
|
|
52
|
-
"swagger-ui-dist": "4.
|
|
52
|
+
"swagger-ui-dist": "4.19.0",
|
|
53
53
|
"yaml": "1.10.2",
|
|
54
54
|
"yup": "^0.32.9"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@strapi/strapi": "^4.0.0",
|
|
58
|
-
"react": "^17.0.
|
|
59
|
-
"react-dom": "^17.0.
|
|
60
|
-
"react-router-dom": "
|
|
61
|
-
"styled-components": "
|
|
58
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
59
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
60
|
+
"react-router-dom": "5.3.4",
|
|
61
|
+
"styled-components": "5.3.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
65
|
-
"@testing-library/react": "
|
|
65
|
+
"@testing-library/react": "14.0.0",
|
|
66
66
|
"history": "^4.9.0",
|
|
67
67
|
"msw": "1.2.1",
|
|
68
|
-
"react": "^
|
|
69
|
-
"react-dom": "^
|
|
68
|
+
"react": "^18.2.0",
|
|
69
|
+
"react-dom": "^18.2.0",
|
|
70
70
|
"react-router-dom": "5.3.4",
|
|
71
71
|
"styled-components": "5.3.3"
|
|
72
72
|
},
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
|
81
81
|
"kind": "plugin"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "0de06a008d1dfbe67ebfee3562cc8ca0603d2255"
|
|
84
84
|
}
|