@strapi/plugin-documentation 4.11.0-beta.1 → 4.11.0-exp.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.
@@ -309,6 +309,11 @@ describe('Plugin | Documentation | PluginPage', () => {
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="2"
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="3"
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="4"
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="5"
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="6"
818
+ aria-labelledby=":ra:"
814
819
  class="c33 c34 c12 c35"
815
820
  tabindex="-1"
816
821
  type="button"
@@ -330,6 +330,11 @@ describe('Plugin | Documentation | SettingsPage', () => {
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="c19"
577
+ class="c20"
573
578
  >
574
579
  <div
575
- class="c20"
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="c4"
593
+ class="c24"
579
594
  >
580
- <label
581
- class="c5 c21 c22"
582
- for="1"
583
- >
584
- Restricted Access
585
- </label>
595
+ Restricted Access
586
596
  </div>
587
- <label
588
- class="c23"
597
+ <div
598
+ class="c25 c26"
599
+ display="flex"
589
600
  >
590
601
  <div
591
- class="c24"
602
+ aria-hidden="true"
603
+ class="c27 c28 c29"
592
604
  >
593
- Restricted Access
605
+ <span
606
+ class="c5 c30"
607
+ >
608
+ Off
609
+ </span>
594
610
  </div>
595
611
  <div
596
- class="c25 c26"
597
- display="flex"
612
+ aria-hidden="true"
613
+ class="c27 c28 c31"
598
614
  >
599
- <div
600
- aria-hidden="true"
601
- class="c27 c28 c29"
615
+ <span
616
+ class="c5 c32"
602
617
  >
603
- <span
604
- class="c5 c30"
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
- </label>
630
- <p
631
- class="c5 c34"
632
- id="1-hint"
633
- >
634
- Make the documentation endpoint private
635
- </p>
636
- </div>
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-beta.1",
3
+ "version": "4.11.0-exp.0",
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": "0.0.0-3cf3ff39",
34
- "@strapi/helper-plugin": "4.11.0-beta.1",
35
- "@strapi/icons": "0.0.0-3cf3ff39",
36
- "@strapi/utils": "4.11.0-beta.1",
33
+ "@strapi/design-system": "1.8.0",
34
+ "@strapi/helper-plugin": "4.11.0-exp.0",
35
+ "@strapi/icons": "1.8.0",
36
+ "@strapi/utils": "4.11.0-exp.0",
37
37
  "bcryptjs": "2.4.3",
38
38
  "cheerio": "^1.0.0-rc.12",
39
39
  "formik": "2.4.0",
@@ -49,24 +49,24 @@
49
49
  "react-redux": "8.0.5",
50
50
  "redux": "^4.2.1",
51
51
  "reselect": "^4.1.7",
52
- "swagger-ui-dist": "4.18.1",
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.2",
59
- "react-dom": "^17.0.2",
60
- "react-router-dom": "^5.3.4",
61
- "styled-components": "^5.3.3"
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": "12.1.4",
65
+ "@testing-library/react": "14.0.0",
66
66
  "history": "^4.9.0",
67
67
  "msw": "1.2.1",
68
- "react": "^17.0.2",
69
- "react-dom": "^17.0.2",
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": "a5fa3bd7e1c4680dd350580620d383612597d25d"
83
+ "gitHead": "8357aab46ebea3565c44744eb137ed36602a4306"
84
84
  }