@marlinjai/clearify 1.6.6 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marlinjai/clearify",
3
- "version": "1.6.6",
3
+ "version": "1.7.0",
4
4
  "description": "An open-source documentation site generator. Turn markdown into beautiful docs.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -63,9 +63,11 @@
63
63
  }
64
64
  },
65
65
  "devDependencies": {
66
+ "@types/mdast": "^4.0.4",
66
67
  "@types/node": "^25.2.2",
67
68
  "@types/react": "^18.3.18",
68
69
  "@types/react-dom": "^18.3.5",
70
+ "esbuild": "^0.27.3",
69
71
  "puppeteer": "^24.37.2",
70
72
  "tsup": "^8.3.6",
71
73
  "typescript": "^5.7.3"
@@ -97,6 +97,36 @@ export function Header({ name, links, logo, onMenuToggle }: HeaderProps) {
97
97
  <div style={{ display: 'flex', alignItems: 'center', gap: '0.375rem' }}>
98
98
  <Search />
99
99
 
100
+ {links?.app && (
101
+ <a
102
+ href={links.app}
103
+ target="_blank"
104
+ rel="noopener noreferrer"
105
+ style={{
106
+ display: 'inline-flex',
107
+ alignItems: 'center',
108
+ gap: '0.375rem',
109
+ padding: '0.375rem 0.75rem',
110
+ borderRadius: 'var(--clearify-radius-sm)',
111
+ background: 'var(--clearify-gradient)',
112
+ color: '#fff',
113
+ fontSize: '0.8125rem',
114
+ fontWeight: 600,
115
+ textDecoration: 'none',
116
+ transition: 'opacity 0.15s',
117
+ }}
118
+ onMouseEnter={(e) => (e.currentTarget.style.opacity = '0.85')}
119
+ onMouseLeave={(e) => (e.currentTarget.style.opacity = '1')}
120
+ >
121
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
122
+ <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
123
+ <polyline points="15 3 21 3 21 9" />
124
+ <line x1="10" y1="14" x2="21" y2="3" />
125
+ </svg>
126
+ Open App
127
+ </a>
128
+ )}
129
+
100
130
  {links?.github && (
101
131
  <a
102
132
  href={links.github}