auwla-markdown 0.0.2 → 0.0.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/dist/adapters/shiki.d.ts +10 -0
- package/dist/engine.d.ts +3 -0
- package/dist/features.d.ts +11 -0
- package/dist/frontmatter.d.ts +8 -0
- package/dist/headings.d.ts +9 -0
- package/dist/index.js +435 -0
- package/dist/types.d.ts +25 -0
- package/package.json +5 -2
- package/bun.lock +0 -131
- package/src/adapters/shiki.ts +0 -42
- package/src/engine.ts +0 -68
- package/src/features.ts +0 -412
- package/src/frontmatter.ts +0 -31
- package/src/headings.ts +0 -45
- package/src/types.ts +0 -32
- package/tests/engine.test.ts +0 -173
- package/tests/fixtures/sample.md +0 -159
- package/tests/live-test.ts +0 -239
- package/tests/output/sample.html +0 -233
- package/tests/output/sample.json +0 -55
- package/tsconfig.json +0 -30
- package/tsconfig.lib.json +0 -12
- /package/{src/index.ts → dist/index.d.ts} +0 -0
package/tests/output/sample.html
DELETED
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>Auwla Markdown Live Output</title>
|
|
7
|
-
<style>
|
|
8
|
-
body {
|
|
9
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
10
|
-
line-height: 1.6;
|
|
11
|
-
color: #e2e8f0;
|
|
12
|
-
background-color: #0f172a;
|
|
13
|
-
max-width: 800px;
|
|
14
|
-
margin: 2rem auto;
|
|
15
|
-
padding: 0 1rem;
|
|
16
|
-
}
|
|
17
|
-
h1, h2, h3 {
|
|
18
|
-
color: #f1f5f9;
|
|
19
|
-
border-bottom: 1px solid #334155;
|
|
20
|
-
padding-bottom: 0.3rem;
|
|
21
|
-
}
|
|
22
|
-
.header-anchor {
|
|
23
|
-
color: #64748b;
|
|
24
|
-
text-decoration: none;
|
|
25
|
-
margin-right: 0.5rem;
|
|
26
|
-
opacity: 0.5;
|
|
27
|
-
}
|
|
28
|
-
.header-anchor:hover {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
}
|
|
31
|
-
.callout {
|
|
32
|
-
margin: 1.5rem 0;
|
|
33
|
-
padding: 1rem;
|
|
34
|
-
border-left: 4px solid;
|
|
35
|
-
border-radius: 0.25rem;
|
|
36
|
-
background-color: #1e293b;
|
|
37
|
-
}
|
|
38
|
-
.callout-note { border-left-color: #3b82f6; }
|
|
39
|
-
.callout-tip { border-left-color: #10b981; }
|
|
40
|
-
.callout-warning { border-left-color: #f59e0b; }
|
|
41
|
-
.callout-title, details.callout summary {
|
|
42
|
-
font-weight: 700;
|
|
43
|
-
margin-bottom: 0.5rem;
|
|
44
|
-
font-size: 0.875rem;
|
|
45
|
-
letter-spacing: 0.05em;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
outline: none;
|
|
48
|
-
user-select: none;
|
|
49
|
-
}
|
|
50
|
-
details.callout summary:hover {
|
|
51
|
-
color: #3b82f6;
|
|
52
|
-
}
|
|
53
|
-
.tabs-container {
|
|
54
|
-
margin: 1.5rem 0;
|
|
55
|
-
border: 1px solid #334155;
|
|
56
|
-
border-radius: 0.5rem;
|
|
57
|
-
background-color: #24292e;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
}
|
|
60
|
-
.tabs-header {
|
|
61
|
-
display: flex;
|
|
62
|
-
background-color: #1b1f23;
|
|
63
|
-
border-bottom: 1px solid #334155;
|
|
64
|
-
}
|
|
65
|
-
.tab-btn {
|
|
66
|
-
padding: 0.75rem 1.25rem;
|
|
67
|
-
border: none;
|
|
68
|
-
background: none;
|
|
69
|
-
color: #94a3b8;
|
|
70
|
-
font-weight: 500;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
border-bottom: 2px solid transparent;
|
|
73
|
-
transition: all 0.2s;
|
|
74
|
-
}
|
|
75
|
-
.tab-btn:hover {
|
|
76
|
-
color: #f1f5f9;
|
|
77
|
-
background-color: #24292e;
|
|
78
|
-
}
|
|
79
|
-
.tab-btn.active {
|
|
80
|
-
color: #3b82f6;
|
|
81
|
-
border-bottom-color: #3b82f6;
|
|
82
|
-
background-color: #24292e;
|
|
83
|
-
}
|
|
84
|
-
.tab-panel {
|
|
85
|
-
padding: 0;
|
|
86
|
-
}
|
|
87
|
-
.tab-panel .code-block-wrapper pre {
|
|
88
|
-
margin: 0;
|
|
89
|
-
border: none;
|
|
90
|
-
border-radius: 0;
|
|
91
|
-
}
|
|
92
|
-
.code-block-filename {
|
|
93
|
-
background-color: #1b1f23;
|
|
94
|
-
color: #94a3b8;
|
|
95
|
-
padding: 0.5rem 1rem;
|
|
96
|
-
font-size: 0.8rem;
|
|
97
|
-
font-weight: 500;
|
|
98
|
-
border-bottom: 1px solid #334155;
|
|
99
|
-
font-family: Consolas, Monaco, monospace;
|
|
100
|
-
}
|
|
101
|
-
.highlighted-line {
|
|
102
|
-
background-color: #2e3b4e;
|
|
103
|
-
display: block;
|
|
104
|
-
margin-left: -1rem;
|
|
105
|
-
margin-right: -1rem;
|
|
106
|
-
padding-left: 0.8rem;
|
|
107
|
-
padding-right: 1rem;
|
|
108
|
-
border-left: 4px solid #3b82f6;
|
|
109
|
-
}
|
|
110
|
-
pre {
|
|
111
|
-
background-color: #0f172a;
|
|
112
|
-
padding: 1rem;
|
|
113
|
-
border-radius: 0.375rem;
|
|
114
|
-
overflow-x: auto;
|
|
115
|
-
border: 1px solid #334155;
|
|
116
|
-
}
|
|
117
|
-
code {
|
|
118
|
-
font-family: Consolas, Monaco, "Andale Mono", monospace;
|
|
119
|
-
color: #e2e8f0;
|
|
120
|
-
}
|
|
121
|
-
.copy-code-btn {
|
|
122
|
-
background-color: #334155;
|
|
123
|
-
color: #f1f5f9;
|
|
124
|
-
border: none;
|
|
125
|
-
padding: 0.25rem 0.5rem;
|
|
126
|
-
font-size: 0.75rem;
|
|
127
|
-
border-radius: 0.25rem;
|
|
128
|
-
cursor: pointer;
|
|
129
|
-
transition: background-color 0.2s;
|
|
130
|
-
}
|
|
131
|
-
.copy-code-btn:hover {
|
|
132
|
-
background-color: #475569;
|
|
133
|
-
}
|
|
134
|
-
.auwla-header {
|
|
135
|
-
background-color: #1e293b;
|
|
136
|
-
border: 1px solid #334155;
|
|
137
|
-
padding: 1rem 1.5rem;
|
|
138
|
-
margin-bottom: 2rem;
|
|
139
|
-
border-radius: 0.5rem;
|
|
140
|
-
display: flex;
|
|
141
|
-
align-items: center;
|
|
142
|
-
}
|
|
143
|
-
.auwla-header span {
|
|
144
|
-
font-size: 1.25rem;
|
|
145
|
-
font-weight: 700;
|
|
146
|
-
color: #f8fafc;
|
|
147
|
-
}
|
|
148
|
-
.auwla-table {
|
|
149
|
-
width: 100%;
|
|
150
|
-
border-collapse: collapse;
|
|
151
|
-
margin: 1.5rem 0;
|
|
152
|
-
border: 1px solid #334155;
|
|
153
|
-
border-radius: 0.5rem;
|
|
154
|
-
overflow: hidden;
|
|
155
|
-
}
|
|
156
|
-
.auwla-table th {
|
|
157
|
-
background-color: #1b1f23;
|
|
158
|
-
color: #f1f5f9;
|
|
159
|
-
padding: 0.75rem 1rem;
|
|
160
|
-
font-weight: 600;
|
|
161
|
-
border-bottom: 1px solid #334155;
|
|
162
|
-
}
|
|
163
|
-
.auwla-table td {
|
|
164
|
-
padding: 0.75rem 1rem;
|
|
165
|
-
color: #cbd5e1;
|
|
166
|
-
border-bottom: 1px solid #334155;
|
|
167
|
-
}
|
|
168
|
-
.auwla-table tr:last-child td {
|
|
169
|
-
border-bottom: none;
|
|
170
|
-
}
|
|
171
|
-
</style>
|
|
172
|
-
</head>
|
|
173
|
-
<body>
|
|
174
|
-
<div style="margin-bottom: 2rem;">
|
|
175
|
-
<a href="./sample.json" target="_blank" style="color: #3b82f6; text-decoration: none;">View Parsed JSON Metadata (TOC & Frontmatter)</a>
|
|
176
|
-
</div>
|
|
177
|
-
|
|
178
|
-
<!-- Compiled Output -->
|
|
179
|
-
<h1 id="getting-started-with-auwla-markdown" class="main-doc-title"><a href="#getting-started-with-auwla-markdown" class="header-anchor" aria-hidden="true">#</a>Getting Started with Auwla Markdown</h1><p>Welcome to the premium documentation page compiled dynamically at build time!</p>
|
|
180
|
-
<p>Here is a list of features supported by the <code>@auwla/markdown</code> engine.</p>
|
|
181
|
-
<h2 id="built-in-ui-elements"><a href="#built-in-ui-elements" class="header-anchor" aria-hidden="true">#</a>Built-in UI Elements</h2><h3 id="1-interactive-callout-panels"><a href="#1-interactive-callout-panels" class="header-anchor" aria-hidden="true">#</a>1. Interactive Callout Panels</h3>
|
|
182
|
-
We support visual callout cards for highlight categories:<div class="callout callout-note"><div class="callout-title">NOTE</div><div class="callout-content"><p>This is a standard informational note block. It is rendered using standard paragraphs and can contain <strong>bold</strong> or <em>italic</em> markdown tags.</p>
|
|
183
|
-
</div></div><details class="callout callout-tip" open><summary class="callout-title">Compiler-First Tip</summary><div class="callout-content"><p>Here is a compiler-first tip! Always remember that wrapping your pages in a single root tag yields highly optimized DOM updates.</p>
|
|
184
|
-
</div></details><div class="callout callout-warning"><div class="callout-title">Danger Zone</div><div class="callout-content"><p>Warning! Do not edit compiled output assets directly inside the <code>dist/</code> directory, as they are overwritten on each build.</p>
|
|
185
|
-
</div></div><h3 id="2-tab-selection-panels"><a href="#2-tab-selection-panels" class="header-anchor" aria-hidden="true">#</a>2. Tab Selection Panels</h3>
|
|
186
|
-
Tab sections can toggle between multiple content blocks (e.g. installation options or code syntaxes) using native, zero-dependency client togglers:<div class="tabs-container"><div class="tabs-header"><button class="tab-btn active" onclick="const c = this.closest('.tabs-container'); c.querySelectorAll('.tab-btn').forEach((b, i) => { b.classList.toggle('active', b === this); c.querySelectorAll('.tab-panel')[i].style.display = (b === this) ? 'block' : 'none'; })">TSX Component</button><button class="tab-btn " onclick="const c = this.closest('.tabs-container'); c.querySelectorAll('.tab-btn').forEach((b, i) => { b.classList.toggle('active', b === this); c.querySelectorAll('.tab-panel')[i].style.display = (b === this) ? 'block' : 'none'; })">TypeScript</button><button class="tab-btn " onclick="const c = this.closest('.tabs-container'); c.querySelectorAll('.tab-btn').forEach((b, i) => { b.classList.toggle('active', b === this); c.querySelectorAll('.tab-panel')[i].style.display = (b === this) ? 'block' : 'none'; })">Bash CLI</button></div><div class="tabs-content"><div class="tab-panel active" style="display: block;" data-title="TSX Component"><div class="code-block-wrapper" style="position: relative;"><div class="code-block-filename">Counter.tsx</div><button onclick="navigator.clipboard.writeText(decodeURIComponent('import%20%7B%20reactive%20%7D%20from%20%27auwla%27%3B%0A%0Aexport%20default%20function%20Counter()%20%7B%0A%20%20const%20count%20%3D%20reactive(0)%3B%0A%20%20%0A%20%20return%20()%20%3D%3E%20(%0A%20%20%20%20%3Cbutton%20onClick%3D%7B()%20%3D%3E%20count.set(c%20%3D%3E%20c%20%2B%201)%7D%3E%0A%20%20%20%20%20%20Count%20is%3A%20%7Bcount.get()%7D%0A%20%20%20%20%3C%2Fbutton%3E%0A%20%20)%3B%0A%7D')); this.textContent = 'Copied!'; setTimeout(() => this.textContent = 'Copy', 2000)" class="copy-code-btn" style="position: absolute; right: 0.5rem; top: 2.5rem; z-index: 10;">Copy</button><pre class="shiki github-dark" style="background-color:#24292e;color:#e1e4e8" tabindex="0"><code><span class="line"><span style="color:#F97583">import</span><span style="color:#E1E4E8"> { reactive } </span><span style="color:#F97583">from</span><span style="color:#9ECBFF"> 'auwla'</span><span style="color:#E1E4E8">;</span></span>
|
|
187
|
-
<span class="line"></span>
|
|
188
|
-
<span class="line"><span style="color:#F97583">export</span><span style="color:#F97583"> default</span><span style="color:#F97583"> function</span><span style="color:#B392F0"> Counter</span><span style="color:#E1E4E8">() {</span></span>
|
|
189
|
-
<span class="line"><span style="color:#F97583"> const</span><span style="color:#79B8FF"> count</span><span style="color:#F97583"> =</span><span style="color:#B392F0"> reactive</span><span style="color:#E1E4E8">(</span><span style="color:#79B8FF">0</span><span style="color:#E1E4E8">);</span></span>
|
|
190
|
-
<span class="line"><span style="color:#E1E4E8"> </span></span>
|
|
191
|
-
<span class="line"><span style="color:#F97583"> return</span><span style="color:#E1E4E8"> () </span><span style="color:#F97583">=></span><span style="color:#E1E4E8"> (</span></span>
|
|
192
|
-
<span class="line highlighted-line"><span style="color:#E1E4E8"> <</span><span style="color:#85E89D">button</span><span style="color:#B392F0"> onClick</span><span style="color:#F97583">=</span><span style="color:#E1E4E8">{() </span><span style="color:#F97583">=></span><span style="color:#E1E4E8"> count.</span><span style="color:#B392F0">set</span><span style="color:#E1E4E8">(</span><span style="color:#FFAB70">c</span><span style="color:#F97583"> =></span><span style="color:#E1E4E8"> c </span><span style="color:#F97583">+</span><span style="color:#79B8FF"> 1</span><span style="color:#E1E4E8">)}></span></span>
|
|
193
|
-
<span class="line highlighted-line"><span style="color:#E1E4E8"> Count is: {count.</span><span style="color:#B392F0">get</span><span style="color:#E1E4E8">()}</span></span>
|
|
194
|
-
<span class="line highlighted-line"><span style="color:#E1E4E8"> </</span><span style="color:#85E89D">button</span><span style="color:#E1E4E8">></span></span>
|
|
195
|
-
<span class="line"><span style="color:#E1E4E8"> );</span></span>
|
|
196
|
-
<span class="line"><span style="color:#E1E4E8">}</span></span></code></pre></div></div><div class="tab-panel" style="display: none;" data-title="TypeScript"><div class="code-block-wrapper" style="position: relative;"><div class="code-block-filename">auth.ts</div><button onclick="navigator.clipboard.writeText(decodeURIComponent('interface%20User%20%7B%0A%20%20id%3A%20string%3B%0A%20%20role%3A%20%27admin%27%20%7C%20%27user%27%3B%0A%7D%0A%0Aexport%20function%20isAdmin(user%3A%20User)%3A%20boolean%20%7B%0A%20%20return%20user.role%20%3D%3D%3D%20%27admin%27%3B%0A%7D')); this.textContent = 'Copied!'; setTimeout(() => this.textContent = 'Copy', 2000)" class="copy-code-btn" style="position: absolute; right: 0.5rem; top: 2.5rem; z-index: 10;">Copy</button><pre class="shiki github-dark" style="background-color:#24292e;color:#e1e4e8" tabindex="0"><code><span class="line"><span style="color:#F97583">interface</span><span style="color:#B392F0"> User</span><span style="color:#E1E4E8"> {</span></span>
|
|
197
|
-
<span class="line highlighted-line"><span style="color:#FFAB70"> id</span><span style="color:#F97583">:</span><span style="color:#79B8FF"> string</span><span style="color:#E1E4E8">;</span></span>
|
|
198
|
-
<span class="line"><span style="color:#FFAB70"> role</span><span style="color:#F97583">:</span><span style="color:#9ECBFF"> 'admin'</span><span style="color:#F97583"> |</span><span style="color:#9ECBFF"> 'user'</span><span style="color:#E1E4E8">;</span></span>
|
|
199
|
-
<span class="line"><span style="color:#E1E4E8">}</span></span>
|
|
200
|
-
<span class="line"></span>
|
|
201
|
-
<span class="line"><span style="color:#F97583">export</span><span style="color:#F97583"> function</span><span style="color:#B392F0"> isAdmin</span><span style="color:#E1E4E8">(</span><span style="color:#FFAB70">user</span><span style="color:#F97583">:</span><span style="color:#B392F0"> User</span><span style="color:#E1E4E8">)</span><span style="color:#F97583">:</span><span style="color:#79B8FF"> boolean</span><span style="color:#E1E4E8"> {</span></span>
|
|
202
|
-
<span class="line highlighted-line"><span style="color:#F97583"> return</span><span style="color:#E1E4E8"> user.role </span><span style="color:#F97583">===</span><span style="color:#9ECBFF"> 'admin'</span><span style="color:#E1E4E8">;</span></span>
|
|
203
|
-
<span class="line"><span style="color:#E1E4E8">}</span></span></code></pre></div></div><div class="tab-panel" style="display: none;" data-title="Bash CLI"><div class="code-block-wrapper" style="position: relative;"><button onclick="navigator.clipboard.writeText(decodeURIComponent('bun%20install%20%40auwla%2Fmarkdown')); this.textContent = 'Copied!'; setTimeout(() => this.textContent = 'Copy', 2000)" class="copy-code-btn" style="position: absolute; right: 0.5rem; top: 0.5rem; z-index: 10;">Copy</button><pre class="shiki github-dark" style="background-color:#24292e;color:#e1e4e8" tabindex="0"><code><span class="line"><span style="color:#B392F0">bun</span><span style="color:#9ECBFF"> install</span><span style="color:#9ECBFF"> @auwla/markdown</span></span></code></pre></div></div></div></div><h2 id="component-tables"><a href="#component-tables" class="header-anchor" aria-hidden="true">#</a>Component Tables</h2><p>Below is a component-driven Table rendered using <code>=<Table></code> and <code>=<Row></code> tags:</p>
|
|
204
|
-
<table class="auwla-table" border="1"><tr><th>Framework</th>
|
|
205
|
-
<th>Size</th></tr>
|
|
206
|
-
<tr><td><strong>Auwla</strong></td>
|
|
207
|
-
<td>~7 kB</td></tr>
|
|
208
|
-
<tr><td><strong>Next.js</strong></td>
|
|
209
|
-
<td>~100 kB</td></tr></table><h2 id="stress-test-scenarios"><a href="#stress-test-scenarios" class="header-anchor" aria-hidden="true">#</a>Stress-Test Scenarios</h2><p>Below we test edge cases, deep nesting, and complex attribute combinations.</p>
|
|
210
|
-
<h3 id="a-deeply-nested-component-architecture"><a href="#a-deeply-nested-component-architecture" class="header-anchor" aria-hidden="true">#</a>A. Deeply Nested Component Architecture</h3><p>Here is a collapsible Callout containing a Tab layout, which inside one of its tab panels contains another nested collapsible Callout and a custom Table:</p>
|
|
211
|
-
<details class="callout callout-note outer-class" open style="border: 2px dashed #3b82f6; padding: 1.5rem;"><summary class="callout-title">Outer Container Callout</summary><div class="callout-content"><p>This is the outer callout card. Below is the nested tabs layout:</p>
|
|
212
|
-
<div class="tabs-container nested-tabs"><div class="tabs-header"><button class="tab-btn active" onclick="const c = this.closest('.tabs-container'); c.querySelectorAll('.tab-btn').forEach((b, i) => { b.classList.toggle('active', b === this); c.querySelectorAll('.tab-panel')[i].style.display = (b === this) ? 'block' : 'none'; })">Overview Panel</button><button class="tab-btn " onclick="const c = this.closest('.tabs-container'); c.querySelectorAll('.tab-btn').forEach((b, i) => { b.classList.toggle('active', b === this); c.querySelectorAll('.tab-panel')[i].style.display = (b === this) ? 'block' : 'none'; })">Advanced Table Panel</button></div><div class="tabs-content"><div class="tab-panel overview-tab active" style="display: block;" data-title="Overview Panel"><h4 id="overview-of-nested-elements"><a href="#overview-of-nested-elements" class="header-anchor" aria-hidden="true">#</a>Overview of Nested Elements</h4><p>Here is an inner Callout nested inside the tab panel:</p>
|
|
213
|
-
<details class="callout callout-tip inner-tip-class" style="background-color: #1e293b; border: 1px solid #10b981;"><summary class="callout-title">Inner Nested Callout</summary><div class="callout-content"><p>This callout is inside a tab panel, which is inside an outer callout.</p>
|
|
214
|
-
<ul>
|
|
215
|
-
<li>Nested list item 1</li>
|
|
216
|
-
<li>Nested list item 2</li>
|
|
217
|
-
</ul>
|
|
218
|
-
</div></details></div><div class="tab-panel" style="display: none;" data-title="Advanced Table Panel"><p>Here is a Table nested inside the second tab panel, with custom cell properties:</p>
|
|
219
|
-
<table class="auwla-table nested-table" style="color: #cbd5e1; border-color: #475569;"><tr class="header-row"><th colspan="2" style="background-color: #0f172a;">Nested Table Header (Span 2 Columns)</th></tr>
|
|
220
|
-
<tr><td class="feature-cell">Feature Name</td>
|
|
221
|
-
<td class="value-cell"><strong>SSG Compilation</strong></td></tr>
|
|
222
|
-
<tr><td>Performance</td>
|
|
223
|
-
<td><code>100/100</code> Lighthouse score</td></tr></table></div></div></div></div></details><h3 id="b-self-closing-tags-amp-spaces-tolerance"><a href="#b-self-closing-tags-amp-spaces-tolerance" class="header-anchor" aria-hidden="true">#</a>B. Self-Closing Tags & Spaces Tolerance</h3><p>We test empty, self-closing, and single-line elements:</p>
|
|
224
|
-
<div class="callout callout-caution"><div class="callout-title">Empty Self-Closing Callout</div><div class="callout-content"></div></div><table class="auwla-table empty-table-test" border="1"><tr><th>Col 1</th>
|
|
225
|
-
<th>Col 2</th></tr>
|
|
226
|
-
<tr><td></td>
|
|
227
|
-
<td></td></tr></table><p>Testing space tolerance and quotes combinations in tag attributes:</p>
|
|
228
|
-
<details class="callout callout-tip" open><summary class="callout-title">Space Tolerant Attribute Matching</summary><div class="callout-content"><p>This callout tests spaces around equals and quotes.</p>
|
|
229
|
-
</div></details><hr>
|
|
230
|
-
<p>Enjoy building documentation with Auwla!</p>
|
|
231
|
-
|
|
232
|
-
</body>
|
|
233
|
-
</html>
|
package/tests/output/sample.json
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"meta": {
|
|
3
|
-
"title": "Premium Documentation Guide",
|
|
4
|
-
"author": "Amihere Theophilus Junior",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"draft": false
|
|
7
|
-
},
|
|
8
|
-
"headings": [
|
|
9
|
-
{
|
|
10
|
-
"level": 1,
|
|
11
|
-
"text": "Getting Started with Auwla Markdown",
|
|
12
|
-
"id": "getting-started-with-auwla-markdown"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"level": 2,
|
|
16
|
-
"text": "Built-in UI Elements",
|
|
17
|
-
"id": "built-in-ui-elements"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"level": 3,
|
|
21
|
-
"text": "1. Interactive Callout Panels",
|
|
22
|
-
"id": "1-interactive-callout-panels"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"level": 3,
|
|
26
|
-
"text": "2. Tab Selection Panels",
|
|
27
|
-
"id": "2-tab-selection-panels"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"level": 2,
|
|
31
|
-
"text": "Component Tables",
|
|
32
|
-
"id": "component-tables"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"level": 2,
|
|
36
|
-
"text": "Stress-Test Scenarios",
|
|
37
|
-
"id": "stress-test-scenarios"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"level": 3,
|
|
41
|
-
"text": "A. Deeply Nested Component Architecture",
|
|
42
|
-
"id": "a-deeply-nested-component-architecture"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"level": 4,
|
|
46
|
-
"text": "Overview of Nested Elements",
|
|
47
|
-
"id": "overview-of-nested-elements"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"level": 3,
|
|
51
|
-
"text": "B. Self-Closing Tags & Spaces Tolerance",
|
|
52
|
-
"id": "b-self-closing-tags-spaces-tolerance"
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"types": ["bun"],
|
|
11
|
-
|
|
12
|
-
// Bundler mode
|
|
13
|
-
"moduleResolution": "bundler",
|
|
14
|
-
"allowImportingTsExtensions": true,
|
|
15
|
-
"verbatimModuleSyntax": true,
|
|
16
|
-
"noEmit": true,
|
|
17
|
-
|
|
18
|
-
// Best practices
|
|
19
|
-
"strict": true,
|
|
20
|
-
"skipLibCheck": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noUncheckedIndexedAccess": true,
|
|
23
|
-
"noImplicitOverride": true,
|
|
24
|
-
|
|
25
|
-
// Some stricter flags (disabled by default)
|
|
26
|
-
"noUnusedLocals": false,
|
|
27
|
-
"noUnusedParameters": false,
|
|
28
|
-
"noPropertyAccessFromIndexSignature": false
|
|
29
|
-
}
|
|
30
|
-
}
|
package/tsconfig.lib.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"noEmit": false,
|
|
5
|
-
"allowImportingTsExtensions": false,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"outDir": "./dist",
|
|
8
|
-
"rootDir": "./src"
|
|
9
|
-
},
|
|
10
|
-
"include": ["src/**/*"],
|
|
11
|
-
"exclude": ["node_modules", "dist", "**/*.test.ts"]
|
|
12
|
-
}
|
|
File without changes
|