@eventcatalog/core 3.18.5 → 3.19.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.
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/catalog-to-astro-content-directory.cjs +1 -1
- package/dist/{chunk-SSNGN2OB.js → chunk-7JIM3GZL.js} +1 -1
- package/dist/{chunk-5J4CB7HN.js → chunk-A4JKYK6M.js} +1 -1
- package/dist/{chunk-Z3BWXNQW.js → chunk-DME6DR6Z.js} +1 -1
- package/dist/{chunk-2IVWMV2T.js → chunk-NDGH67WK.js} +1 -1
- package/dist/{chunk-JEZODNLN.js → chunk-RPN42UQI.js} +3 -3
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +2 -2
- package/dist/eventcatalog.js +8 -8
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/astro.config.mjs +33 -2
- package/eventcatalog/src/components/ChatPanel/ChatPanel.tsx +3 -3
- package/eventcatalog/src/components/ChatPanel/ChatPanelButton.tsx +1 -1
- package/eventcatalog/src/components/CopyAsMarkdown.tsx +9 -9
- package/eventcatalog/src/components/EnvironmentDropdown.tsx +1 -1
- package/eventcatalog/src/components/Grids/DomainGrid.tsx +6 -6
- package/eventcatalog/src/components/Grids/MessageGrid.tsx +5 -5
- package/eventcatalog/src/components/Grids/components.tsx +3 -3
- package/eventcatalog/src/components/Header.astro +6 -6
- package/eventcatalog/src/components/MDX/Accordion/Accordion.tsx +1 -1
- package/eventcatalog/src/components/MDX/Accordion/AccordionGroup.astro +1 -1
- package/eventcatalog/src/components/MDX/Attachments.astro +1 -1
- package/eventcatalog/src/components/MDX/EntityPropertiesTable/EntityPropertiesTable.astro +1 -1
- package/eventcatalog/src/components/MDX/MessageTable/MessageTable.client.tsx +2 -2
- package/eventcatalog/src/components/MDX/NodeGraph/NodeGraphPortal.tsx +1 -1
- package/eventcatalog/src/components/MDX/RemoteFile.astro +1 -1
- package/eventcatalog/src/components/MDX/ResourceGroupTable/ResourceGroupTable.client.tsx +2 -2
- package/eventcatalog/src/components/MDX/SchemaViewer/SchemaViewerRoot.astro +1 -1
- package/eventcatalog/src/components/MDX/Tabs/Tabs.astro +1 -1
- package/eventcatalog/src/components/MDX/Tiles/Tile.astro +1 -1
- package/eventcatalog/src/components/SchemaExplorer/AvroSchemaViewer.tsx +6 -6
- package/eventcatalog/src/components/SchemaExplorer/JSONSchemaViewer.tsx +10 -10
- package/eventcatalog/src/components/SchemaExplorer/OwnersSection.tsx +1 -1
- package/eventcatalog/src/components/SchemaExplorer/ProducersConsumersSection.tsx +2 -2
- package/eventcatalog/src/components/SchemaExplorer/SchemaCodeModal.tsx +2 -2
- package/eventcatalog/src/components/SchemaExplorer/SchemaContentViewer.tsx +3 -3
- package/eventcatalog/src/components/SchemaExplorer/SchemaDetailsHeader.tsx +5 -5
- package/eventcatalog/src/components/SchemaExplorer/SchemaExplorer.tsx +3 -3
- package/eventcatalog/src/components/SchemaExplorer/SchemaViewerModal.tsx +2 -2
- package/eventcatalog/src/components/SchemaExplorer/VersionHistoryModal.tsx +2 -2
- package/eventcatalog/src/components/Search/Search.astro +1 -1
- package/eventcatalog/src/components/Search/SearchModal.tsx +1 -1
- package/eventcatalog/src/components/SideNav/NestedSideBar/SearchBar.tsx +1 -1
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +2 -2
- package/eventcatalog/src/components/Studio/StudioPageModal.tsx +2 -2
- package/eventcatalog/src/components/Tables/Discover/DiscoverTable.tsx +4 -4
- package/eventcatalog/src/components/Tables/Table.tsx +2 -2
- package/eventcatalog/src/enterprise/auth/error.astro +3 -2
- package/eventcatalog/src/enterprise/auth/login.astro +1 -0
- package/eventcatalog/src/enterprise/auth/unauthorized.astro +2 -2
- package/eventcatalog/src/enterprise/plans/index.astro +15 -15
- package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +3 -0
- package/eventcatalog/src/layouts/VisualiserLayout.astro +1 -1
- package/eventcatalog/src/pages/diagrams/[id]/[version]/index.astro +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/changelog/index.astro +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/graphql/[filename].astro +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +1 -1
- package/eventcatalog/src/pages/docs/[type]/[id]/language/[dictionaryId]/index.astro +1 -1
- package/eventcatalog/src/pages/docs/custom/feature.astro +6 -6
- package/eventcatalog/src/pages/docs/custom/index.astro +6 -6
- package/eventcatalog/src/pages/index.astro +1 -1
- package/eventcatalog/src/pages/schemas/explorer/index.astro +1 -1
- package/eventcatalog/src/pages/studio.astro +3 -3
- package/eventcatalog/src/remark-plugins/directives.ts +1 -1
- package/eventcatalog/src/styles/tailwind.css +84 -0
- package/eventcatalog/src/utils/icon-map.ts +76 -0
- package/package.json +7 -7
- package/eventcatalog/tailwind.config.mjs +0 -103
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import config from './eventcatalog.config.js';
|
|
2
|
-
import typography from '@tailwindcss/typography';
|
|
3
|
-
|
|
4
|
-
const HEADER_HEIGHT = '4rem';
|
|
5
|
-
const theme = config.theme || {};
|
|
6
|
-
|
|
7
|
-
/** @type {import('tailwindcss').Config} */
|
|
8
|
-
export default {
|
|
9
|
-
darkMode: ['selector', '[data-theme="dark"]'],
|
|
10
|
-
content: {
|
|
11
|
-
// Resolve globs relative to this config file, not process.cwd().
|
|
12
|
-
// This prevents production builds from missing utilities when Astro is launched from a different working directory.
|
|
13
|
-
relative: true,
|
|
14
|
-
files: [
|
|
15
|
-
'./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}',
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
theme: {
|
|
19
|
-
extend: {
|
|
20
|
-
fontFamily: {
|
|
21
|
-
sans: ['Inter', 'sans-serif'],
|
|
22
|
-
},
|
|
23
|
-
height: {
|
|
24
|
-
header: HEADER_HEIGHT,
|
|
25
|
-
content: `calc(100vh - ${HEADER_HEIGHT})`,
|
|
26
|
-
},
|
|
27
|
-
spacing: {
|
|
28
|
-
header: HEADER_HEIGHT,
|
|
29
|
-
content: `calc(100vh - ${HEADER_HEIGHT})`,
|
|
30
|
-
},
|
|
31
|
-
screens: {
|
|
32
|
-
xxl: '1990px',
|
|
33
|
-
},
|
|
34
|
-
colors: {
|
|
35
|
-
primary: {
|
|
36
|
-
DEFAULT: '#a855f7',
|
|
37
|
-
},
|
|
38
|
-
secondary: {
|
|
39
|
-
light: '#ff9980',
|
|
40
|
-
DEFAULT: '#ff6633',
|
|
41
|
-
dark: '#cc3300',
|
|
42
|
-
},
|
|
43
|
-
...theme,
|
|
44
|
-
},
|
|
45
|
-
keyframes: {
|
|
46
|
-
'progress-bar': {
|
|
47
|
-
'0%': { transform: 'translateX(-100%)' },
|
|
48
|
-
'100%': { transform: 'translateX(100%)' },
|
|
49
|
-
},
|
|
50
|
-
'progress-bar-reverse': {
|
|
51
|
-
'0%': { transform: 'translateX(100%)' },
|
|
52
|
-
'100%': { transform: 'translateX(-100%)' },
|
|
53
|
-
},
|
|
54
|
-
overlayShow: {
|
|
55
|
-
from: { opacity: '0' },
|
|
56
|
-
to: { opacity: '1' },
|
|
57
|
-
},
|
|
58
|
-
contentShow: {
|
|
59
|
-
from: { opacity: '0', transform: 'scale(0.96)' },
|
|
60
|
-
to: { opacity: '1', transform: 'scale(1)' },
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
animation: {
|
|
64
|
-
'progress-bar': 'progress-bar 2s linear infinite',
|
|
65
|
-
'progress-bar-reverse': 'progress-bar-reverse 2s linear infinite',
|
|
66
|
-
overlayShow: 'overlayShow 200ms ease-out',
|
|
67
|
-
contentShow: 'contentShow 200ms ease-out',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
safelist: [
|
|
72
|
-
{ pattern: /border-.*-(200|400|500)/, variants: ['dark', 'hover', 'dark:hover'] },
|
|
73
|
-
{ pattern: /bg-.*-(100|200|400|500)/, variants: ['dark'] },
|
|
74
|
-
{ pattern: /bg-.*-500\/(10|20)/, variants: ['dark'] },
|
|
75
|
-
{ pattern: /from-.*-(100|200|300|400|500|600|700)/ },
|
|
76
|
-
{ pattern: /to-.*-(100|200|300|400|500|600|700)/ },
|
|
77
|
-
{ pattern: /text-.*-(100|300|400|500|800)/, variants: ['dark', 'group-hover', 'dark:group-hover'] },
|
|
78
|
-
{ pattern: /ring-.*-500\/30/, variants: ['dark'] },
|
|
79
|
-
'border-blue-200',
|
|
80
|
-
'border-green-300',
|
|
81
|
-
'bg-blue-600',
|
|
82
|
-
'bg-orange-600',
|
|
83
|
-
'bg-red-50',
|
|
84
|
-
'bg-yellow-50',
|
|
85
|
-
'bg-pink-50',
|
|
86
|
-
'bg-green-50',
|
|
87
|
-
'bg-blue-50',
|
|
88
|
-
'bg-indigo-50',
|
|
89
|
-
'border-l-red-500',
|
|
90
|
-
'border-l-yellow-500',
|
|
91
|
-
'border-l-blue-500',
|
|
92
|
-
'bg-yellow-100',
|
|
93
|
-
'bg-pink-100',
|
|
94
|
-
'bg-green-100',
|
|
95
|
-
'bg-blue-100',
|
|
96
|
-
'bg-indigo-100',
|
|
97
|
-
'text-[5px]',
|
|
98
|
-
'text-[9px]',
|
|
99
|
-
'min-h-[100px]',
|
|
100
|
-
],
|
|
101
|
-
|
|
102
|
-
plugins: [typography],
|
|
103
|
-
};
|