@eventcatalog/core 2.6.3 → 2.6.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 0459eec: chore(core): fixed styled for openapi pages
8
+
3
9
  ## 2.6.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.6.3",
4
+ "version": "2.6.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -53,16 +53,24 @@ const fileExists = fs.existsSync(pathOnDisk);
53
53
  ) : (
54
54
  <rapi-doc
55
55
  spec-url={buildUrl(pathToSpec, true)}
56
- render-style="table"
57
56
  show-header="false"
58
- allow-authentication="false"
59
- allow-try="false"
60
- style={{ height: '100vh', width: '100%' }}
61
- class="py-4"
62
- nav-bg-color="#fff"
57
+ allow-authentication="true"
58
+ allow-try="true"
59
+ class="relative top-0"
60
+ style={{ height: '100vh', width: '100%', zIndex: 100 }}
61
+ regular-font="ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji"
63
62
  schema-style="table"
64
- primary-color="#e0baff"
65
- bg-color="#fff"
63
+ default-schema-tab="schema"
64
+ bg-color="#ffffff"
65
+ text-color=""
66
+ nav-bg-color="#fff"
67
+ nav-text-color=""
68
+ nav-hover-bg-color="#fff"
69
+ nav-hover-text-color="#6b21a8"
70
+ nav-accent-color=""
71
+ primary-color="#6b21a8"
72
+ theme="light"
73
+ render-style="read"
66
74
  />
67
75
  )
68
76
  }
@@ -76,13 +84,44 @@ const fileExists = fs.existsSync(pathOnDisk);
76
84
  <style>
77
85
  rapi-doc::part(section-servers) {
78
86
  /* <<< targets the server div */
79
- background: #6b5b95;
80
- color: #d1c2e4;
87
+ /* background: #6b5b95; */
88
+ border: 2px solid #f1edff;
89
+ color: black;
81
90
  margin: 0 24px 0 24px;
82
91
  border-radius: 5px;
83
92
  }
84
93
  rapi-doc::part(label-selected-server) {
85
94
  /* <<< targets selected server label */
86
- color: #fff;
95
+ color: black;
96
+ }
97
+
98
+ rapi-doc::part(section-navbar-search) {
99
+ margin: 0;
100
+ padding: 0;
101
+ margin-bottom: 1em;
102
+ }
103
+ rapi-doc::part(section-overview) {
104
+ margin: 0 2em 0 2em;
105
+ padding: 1em 0 1em;
106
+ }
107
+ rapi-doc::part(section-auth) {
108
+ margin: 2em 2em;
109
+ padding: 0;
110
+ }
111
+ rapi-doc::part(section-tag) {
112
+ margin: 2em 2em;
113
+ padding: 0;
114
+ }
115
+ rapi-doc::part(section-tag-title) {
116
+ margin: 0.5em 0 0;
117
+ padding: 0;
118
+ }
119
+ rapi-doc::part(section-operations-in-tag) {
120
+ margin: 1em 2em;
121
+ padding: 0;
122
+ }
123
+ rapi-doc::part(section-navbar) {
124
+ border-right: 1px solid #f1edff;
125
+ padding: 1em 1em 0 0;
87
126
  }
88
127
  </style>