@shardworks/clerk-apparatus 0.1.150 → 0.1.152
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 +4 -4
- package/pages/writs/index.html +11 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shardworks/clerk-apparatus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.152",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"zod": "4.3.6",
|
|
20
|
-
"@shardworks/
|
|
21
|
-
"@shardworks/
|
|
22
|
-
"@shardworks/tools-apparatus": "0.1.
|
|
20
|
+
"@shardworks/nexus-core": "0.1.152",
|
|
21
|
+
"@shardworks/stacks-apparatus": "0.1.152",
|
|
22
|
+
"@shardworks/tools-apparatus": "0.1.152"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "25.5.0"
|
package/pages/writs/index.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
tr.writ-row { cursor: pointer; }
|
|
27
27
|
tr.writ-row:hover { opacity: 0.85; }
|
|
28
28
|
tr.writ-row.expanded { background: var(--bg2, #1f2335); }
|
|
29
|
-
#post-section { margin-bottom:
|
|
29
|
+
#post-section { margin-bottom: 16px; display: none; }
|
|
30
30
|
#post-section.open { display: block; }
|
|
31
31
|
#post-section h3 { margin: 0 0 0.75rem; }
|
|
32
32
|
.form-row { margin-bottom: 0.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
|
|
@@ -45,6 +45,9 @@
|
|
|
45
45
|
</style>
|
|
46
46
|
</head>
|
|
47
47
|
<body>
|
|
48
|
+
<main style="padding: 24px;">
|
|
49
|
+
<h1>Writs</h1>
|
|
50
|
+
<div class="card" style="margin-bottom: 16px;">
|
|
48
51
|
<div class="toolbar" id="toolbar">
|
|
49
52
|
<button class="btn btn--primary" id="btn-new-writ">New Writ</button>
|
|
50
53
|
<button class="btn" id="btn-refresh">Refresh</button>
|
|
@@ -60,8 +63,9 @@
|
|
|
60
63
|
</span>
|
|
61
64
|
<input type="text" id="search-input" placeholder="Search title...">
|
|
62
65
|
</div>
|
|
66
|
+
</div>
|
|
63
67
|
|
|
64
|
-
<div id="post-section">
|
|
68
|
+
<div id="post-section" class="card">
|
|
65
69
|
<h3 id="post-title">New Writ</h3>
|
|
66
70
|
<div class="form-row">
|
|
67
71
|
<label for="post-title-input">Title</label>
|
|
@@ -91,6 +95,7 @@
|
|
|
91
95
|
<div id="post-warn" class="warn-msg" style="display:none"></div>
|
|
92
96
|
</div>
|
|
93
97
|
|
|
98
|
+
<div class="card" style="margin-bottom: 16px;">
|
|
94
99
|
<table class="data-table" id="writ-table">
|
|
95
100
|
<thead>
|
|
96
101
|
<tr>
|
|
@@ -104,7 +109,8 @@
|
|
|
104
109
|
</thead>
|
|
105
110
|
<tbody id="writ-tbody"></tbody>
|
|
106
111
|
</table>
|
|
107
|
-
|
|
112
|
+
</div>
|
|
113
|
+
<div id="load-more-row" style="display:none; text-align: center; margin-top: 8px;">
|
|
108
114
|
<button class="btn" id="load-more-btn">Load more</button>
|
|
109
115
|
</div>
|
|
110
116
|
|
|
@@ -116,6 +122,8 @@
|
|
|
116
122
|
<option value="blocks"></option>
|
|
117
123
|
</datalist>
|
|
118
124
|
|
|
125
|
+
</main>
|
|
126
|
+
|
|
119
127
|
<script>
|
|
120
128
|
(() => {
|
|
121
129
|
// ── State ──────────────────────────────────────────────────────────
|
|
@@ -951,11 +959,6 @@
|
|
|
951
959
|
});
|
|
952
960
|
});
|
|
953
961
|
|
|
954
|
-
// ── Style for active filter button ──────────────────────────────────
|
|
955
|
-
const styleEl = document.createElement('style');
|
|
956
|
-
styleEl.textContent = `.filter-btn.active-filter { background: var(--blue, #7aa2f7); color: var(--bg, #1a1b26); }`;
|
|
957
|
-
document.head.appendChild(styleEl);
|
|
958
|
-
|
|
959
962
|
// ── Init ────────────────────────────────────────────────────────────
|
|
960
963
|
loadWritTypes();
|
|
961
964
|
loadCodexes();
|