@strapi/plugin-documentation 4.12.0-beta.0 → 4.12.0-beta.3

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.
@@ -58,18 +58,6 @@ describe('Plugin | Documentation | SettingsPage', () => {
58
58
  });
59
59
 
60
60
  expect(firstChild).toMatchInlineSnapshot(`
61
- .c24 {
62
- border: 0;
63
- -webkit-clip: rect(0 0 0 0);
64
- clip: rect(0 0 0 0);
65
- height: 1px;
66
- margin: -1px;
67
- overflow: hidden;
68
- padding: 0;
69
- position: absolute;
70
- width: 1px;
71
- }
72
-
73
61
  .c6 {
74
62
  font-weight: 600;
75
63
  font-size: 2rem;
@@ -104,7 +92,7 @@ describe('Plugin | Documentation | SettingsPage', () => {
104
92
  color: #32324d;
105
93
  }
106
94
 
107
- .c30 {
95
+ .c29 {
108
96
  font-size: 0.75rem;
109
97
  line-height: 1.33;
110
98
  font-weight: 600;
@@ -112,7 +100,7 @@ describe('Plugin | Documentation | SettingsPage', () => {
112
100
  text-transform: uppercase;
113
101
  }
114
102
 
115
- .c32 {
103
+ .c31 {
116
104
  font-size: 0.75rem;
117
105
  line-height: 1.33;
118
106
  font-weight: 600;
@@ -120,7 +108,7 @@ describe('Plugin | Documentation | SettingsPage', () => {
120
108
  text-transform: uppercase;
121
109
  }
122
110
 
123
- .c34 {
111
+ .c33 {
124
112
  font-size: 0.75rem;
125
113
  line-height: 1.33;
126
114
  color: #666687;
@@ -164,23 +152,45 @@ describe('Plugin | Documentation | SettingsPage', () => {
164
152
  box-shadow: 0px 1px 4px rgba(33,33,52,0.1);
165
153
  }
166
154
 
167
- .c25 {
155
+ .c19 {
156
+ max-width: 320px;
157
+ }
158
+
159
+ .c23 {
168
160
  background: #f6f6f9;
169
161
  padding: 4px;
170
162
  border-radius: 4px;
171
163
  border-style: solid;
172
164
  border-width: 1px;
173
165
  border-color: #dcdce4;
174
- display: -webkit-box;
175
- display: -webkit-flex;
176
- display: -ms-flexbox;
177
- display: flex;
166
+ position: relative;
167
+ cursor: pointer;
178
168
  }
179
169
 
180
- .c27 {
170
+ .c26 {
171
+ background: #ffffff;
172
+ padding-top: 8px;
181
173
  padding-right: 12px;
174
+ padding-bottom: 8px;
182
175
  padding-left: 12px;
183
176
  border-radius: 4px;
177
+ border-color: #dcdce4;
178
+ border: 1px solid #dcdce4;
179
+ -webkit-flex: 1 1 50%;
180
+ -ms-flex: 1 1 50%;
181
+ flex: 1 1 50%;
182
+ }
183
+
184
+ .c30 {
185
+ background: transparent;
186
+ padding-right: 12px;
187
+ padding-left: 12px;
188
+ border-radius: 4px;
189
+ border-color: #f6f6f9;
190
+ border: 1px solid #f6f6f9;
191
+ -webkit-flex: 1 1 50%;
192
+ -ms-flex: 1 1 50%;
193
+ flex: 1 1 50%;
184
194
  }
185
195
 
186
196
  .c2 {
@@ -260,7 +270,24 @@ describe('Plugin | Documentation | SettingsPage', () => {
260
270
  gap: 4px;
261
271
  }
262
272
 
263
- .c28 {
273
+ .c24 {
274
+ -webkit-align-items: center;
275
+ -webkit-box-align: center;
276
+ -ms-flex-align: center;
277
+ align-items: center;
278
+ display: -webkit-box;
279
+ display: -webkit-flex;
280
+ display: -ms-flexbox;
281
+ display: flex;
282
+ -webkit-flex-direction: row;
283
+ -ms-flex-direction: row;
284
+ flex-direction: row;
285
+ -webkit-flex-wrap: wrap;
286
+ -ms-flex-wrap: wrap;
287
+ flex-wrap: wrap;
288
+ }
289
+
290
+ .c27 {
264
291
  -webkit-align-items: center;
265
292
  -webkit-box-align: center;
266
293
  -ms-flex-align: center;
@@ -403,18 +430,7 @@ describe('Plugin | Documentation | SettingsPage', () => {
403
430
  outline: none;
404
431
  }
405
432
 
406
- .c23 {
407
- position: relative;
408
- display: inline-block;
409
- z-index: 0;
410
- width: 100%;
411
- }
412
-
413
- .c26 {
414
- overflow: hidden;
415
- -webkit-flex-wrap: wrap;
416
- -ms-flex-wrap: wrap;
417
- flex-wrap: wrap;
433
+ .c25 {
418
434
  outline: none;
419
435
  box-shadow: 0;
420
436
  -webkit-transition-property: border-color,box-shadow,fill;
@@ -423,57 +439,26 @@ describe('Plugin | Documentation | SettingsPage', () => {
423
439
  transition-duration: 0.2s;
424
440
  }
425
441
 
426
- .c26:focus-within {
442
+ .c25:focus-within {
427
443
  border: 1px solid #4945ff;
428
444
  box-shadow: #4945ff 0px 0px 0px 2px;
429
445
  }
430
446
 
431
- .c29 {
432
- background-color: #ffffff;
433
- border: 1px solid #dcdce4;
434
- position: relative;
435
- -webkit-user-select: none;
436
- -moz-user-select: none;
437
- -ms-user-select: none;
438
- user-select: none;
439
- z-index: 2;
440
- -webkit-flex: 1 1 50%;
441
- -ms-flex: 1 1 50%;
442
- flex: 1 1 50%;
443
- padding-top: 6px;
444
- padding-bottom: 6px;
445
- }
446
-
447
- .c31 {
448
- background-color: transparent;
449
- border: 1px solid #f6f6f9;
450
- position: relative;
451
- -webkit-user-select: none;
452
- -moz-user-select: none;
453
- -ms-user-select: none;
454
- user-select: none;
455
- z-index: 2;
456
- -webkit-flex: 1 1 50%;
457
- -ms-flex: 1 1 50%;
458
- flex: 1 1 50%;
447
+ .c28 {
459
448
  padding-top: 6px;
460
449
  padding-bottom: 6px;
461
450
  }
462
451
 
463
- .c33 {
452
+ .c32 {
464
453
  height: 100%;
465
454
  left: 0;
466
455
  opacity: 0;
467
456
  position: absolute;
468
457
  top: 0;
469
- z-index: 1;
458
+ z-index: 0;
470
459
  width: 100%;
471
460
  }
472
461
 
473
- .c19 {
474
- max-width: 320px;
475
- }
476
-
477
462
  @media (max-width:68.75rem) {
478
463
  .c18 {
479
464
  grid-column: span 12;
@@ -588,51 +573,40 @@ describe('Plugin | Documentation | SettingsPage', () => {
588
573
  Restricted Access
589
574
  </label>
590
575
  </div>
591
- <label
592
- class="c23"
576
+ <div
577
+ class="c23 c24 c25"
578
+ wrap="wrap"
593
579
  >
594
580
  <div
595
- class="c24"
581
+ class="c26 c27 c28"
596
582
  >
597
- Restricted Access
583
+ <span
584
+ class="c5 c29"
585
+ >
586
+ Off
587
+ </span>
598
588
  </div>
599
589
  <div
600
- class="c25 c26"
601
- display="flex"
590
+ class="c30 c27 c28"
602
591
  >
603
- <div
604
- aria-hidden="true"
605
- class="c27 c28 c29"
606
- >
607
- <span
608
- class="c5 c30"
609
- >
610
- Off
611
- </span>
612
- </div>
613
- <div
614
- aria-hidden="true"
615
- class="c27 c28 c31"
592
+ <span
593
+ class="c5 c31"
616
594
  >
617
- <span
618
- class="c5 c32"
619
- >
620
- On
621
- </span>
622
- </div>
623
- <input
624
- aria-describedby=":r0:-hint"
625
- aria-disabled="false"
626
- aria-required="false"
627
- class="c33"
628
- id=":r0:"
629
- name="restrictedAccess"
630
- type="checkbox"
631
- />
595
+ On
596
+ </span>
632
597
  </div>
633
- </label>
598
+ <input
599
+ aria-describedby=":r0:-hint :r0:-error"
600
+ aria-disabled="false"
601
+ aria-required="false"
602
+ class="c32"
603
+ id=":r0:"
604
+ name="restrictedAccess"
605
+ type="checkbox"
606
+ />
607
+ </div>
634
608
  <p
635
- class="c5 c34"
609
+ class="c5 c33"
636
610
  id=":r0:-hint"
637
611
  >
638
612
  Make the documentation endpoint private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/plugin-documentation",
3
- "version": "4.12.0-beta.0",
3
+ "version": "4.12.0-beta.3",
4
4
  "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,10 +30,10 @@
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.8.1",
34
- "@strapi/helper-plugin": "4.12.0-beta.0",
35
- "@strapi/icons": "1.8.1",
36
- "@strapi/utils": "4.12.0-beta.0",
33
+ "@strapi/design-system": "1.8.2",
34
+ "@strapi/helper-plugin": "4.12.0-beta.3",
35
+ "@strapi/icons": "1.8.2",
36
+ "@strapi/utils": "4.12.0-beta.3",
37
37
  "bcryptjs": "2.4.3",
38
38
  "cheerio": "^1.0.0-rc.12",
39
39
  "formik": "2.4.0",
@@ -46,7 +46,7 @@
46
46
  "react-helmet": "^6.1.0",
47
47
  "react-intl": "6.4.1",
48
48
  "react-query": "3.39.3",
49
- "react-redux": "8.0.5",
49
+ "react-redux": "8.1.1",
50
50
  "redux": "^4.2.1",
51
51
  "reselect": "^4.1.7",
52
52
  "swagger-ui-dist": "4.19.0",
@@ -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": "b965b428a445bdbc81fb4b70120237f2d48e7647"
83
+ "gitHead": "e8f4408751727a0104775a23cfa96d4741b1f21b"
84
84
  }