@eventcatalog/core 2.0.20 → 2.0.22

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,17 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 58a02a1: chore(core): removed console logs
8
+
9
+ ## 2.0.21
10
+
11
+ ### Patch Changes
12
+
13
+ - 22e4b6d: fix(core): fixed issues with styling
14
+
3
15
  ## 2.0.20
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.0.20",
4
+ "version": "2.0.22",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  import AccordionClient from './Accordion'
3
3
  const {...props } = Astro.props;
4
- console.log('props', props )
5
4
  ---
6
5
 
7
6
  <AccordionClient {...props} client:load>
@@ -1,7 +1,4 @@
1
1
  ---
2
- import AccordionClient from './Accordion';
3
- const { ...props } = Astro.props;
4
- console.log('props', props);
5
2
  ---
6
3
 
7
4
  <div class="accordian-group border border-gray-200 rounded-md shadow-sm accordion my-2">
@@ -2,7 +2,6 @@ import { useEffect, useState } from 'react';
2
2
 
3
3
  // @ts-ignore
4
4
  import { JsonSchemaViewer } from '@stoplight/json-schema-viewer';
5
- import styles from './SchemaViewer.module.css';
6
5
 
7
6
  import '@stoplight/mosaic/styles.css';
8
7
  import { createPortal } from 'react-dom';
@@ -49,7 +48,6 @@ const SchemaViewer = ({
49
48
  defaultExpandedDepth={defaultExpandedDepth}
50
49
  renderRootTreeLines={renderRootTreeLines}
51
50
  hideExamples={hideExamples}
52
- className={styles.schemaViewer}
53
51
  />
54
52
  </div>
55
53
  </section>,
@@ -31,8 +31,6 @@ export async function getStaticPaths() {
31
31
 
32
32
  const props = Astro.props;
33
33
 
34
- console.log('TEST');
35
-
36
34
  const {
37
35
  data: { id },
38
36
  collection,
@@ -11,8 +11,6 @@ import Layout from '../../layouts/VisualiserLayout.astro'
11
11
  // Find the total anchor links
12
12
  const totalAnchorLinks = document.getElementById('visualiser-navigation').querySelectorAll('a');
13
13
 
14
- console.log('totalAnchorLinks.length', totalAnchorLinks.length)
15
-
16
14
  // Show no-items if there are none
17
15
  if(totalAnchorLinks.length === 0) {
18
16
  document.querySelector('.no-items').classList.remove('hidden');
@@ -1,9 +0,0 @@
1
- /* Custom styling for the schema viewer */
2
- .schemaViewer :global(.svg-inline--fa) {
3
- width: 1.25em;
4
- height: 1em;
5
- }
6
-
7
- .schemaViewer p, span {
8
- color: rgb(111, 111, 111) !important;
9
- }