@hia-doc/theme-default 0.1.1 → 0.1.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,qBAAqB,IAAI,aAAa,EAAE,CAavD;AAED,eAAO,MAAM,iBAAiB,QA0TtB,CAAC;AAET,eAAO,MAAM,gBAAgB,QAoBrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,qBAAqB,IAAI,aAAa,EAAE,CAavD;AAED,eAAO,MAAM,iBAAiB,QA+btB,CAAC;AAET,eAAO,MAAM,gBAAgB,QAoBrB,CAAC"}
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ body {
38
38
  background: var(--hia-bg);
39
39
  color: var(--hia-text);
40
40
  line-height: 1.55;
41
+ overflow-x: hidden;
41
42
  }
42
43
 
43
44
  a {
@@ -56,6 +57,13 @@ a {
56
57
  background: #eef2f6;
57
58
  }
58
59
 
60
+ .hia-project-split-site .hia-sidebar {
61
+ height: 100vh;
62
+ overflow: auto;
63
+ position: sticky;
64
+ top: 0;
65
+ }
66
+
59
67
  .hia-sidebar nav ul,
60
68
  .hia-project-summary ul {
61
69
  padding-left: 1.25rem;
@@ -166,6 +174,7 @@ a {
166
174
 
167
175
  .hia-main {
168
176
  max-width: 72rem;
177
+ min-width: 0;
169
178
  width: 100%;
170
179
  padding: 2rem;
171
180
  }
@@ -175,9 +184,18 @@ a {
175
184
  border: 1px solid var(--hia-border);
176
185
  border-radius: 6px;
177
186
  margin: 1rem 0;
187
+ min-width: 0;
178
188
  padding: 1rem;
179
189
  }
180
190
 
191
+ .hia-project-meta,
192
+ .hia-project-meta dd,
193
+ .hia-project-entry,
194
+ .hia-project-entry a {
195
+ min-width: 0;
196
+ overflow-wrap: anywhere;
197
+ }
198
+
181
199
  .hia-symbol h2 {
182
200
  margin: 0 0 .5rem;
183
201
  }
@@ -279,6 +297,73 @@ a {
279
297
  margin-top: .75rem;
280
298
  }
281
299
 
300
+ .hia-source-fetch-button,
301
+ .hia-project-secondary-action,
302
+ .hia-project-entry-link {
303
+ appearance: none;
304
+ border: 1px solid var(--hia-border);
305
+ border-radius: 6px;
306
+ cursor: pointer;
307
+ font: inherit;
308
+ }
309
+
310
+ .hia-source-fetch-button,
311
+ .hia-project-secondary-action {
312
+ background: var(--hia-surface);
313
+ color: var(--hia-text);
314
+ min-height: 2rem;
315
+ padding: .35rem .65rem;
316
+ }
317
+
318
+ .hia-project-secondary-action {
319
+ margin-top: .75rem;
320
+ width: 100%;
321
+ }
322
+
323
+ .hia-source-fetch-button:hover,
324
+ .hia-project-secondary-action:hover,
325
+ .hia-project-entry-link:hover {
326
+ border-color: var(--hia-accent);
327
+ color: var(--hia-accent);
328
+ }
329
+
330
+ .hia-project-entry-link {
331
+ background: transparent;
332
+ color: var(--hia-accent);
333
+ padding: .15rem .2rem;
334
+ text-align: left;
335
+ }
336
+
337
+ .hia-project-hierarchy-list details > summary {
338
+ align-items: center;
339
+ cursor: pointer;
340
+ display: flex;
341
+ gap: .4rem;
342
+ justify-content: space-between;
343
+ overflow-wrap: anywhere;
344
+ }
345
+
346
+ .hia-project-tree-open {
347
+ flex: none;
348
+ font-size: .78rem;
349
+ padding: .18rem .45rem;
350
+ }
351
+
352
+ .hia-project-hierarchy-list details > ul {
353
+ border-left: 1px solid var(--hia-border);
354
+ margin-left: .25rem;
355
+ }
356
+
357
+ .hia-project-loading,
358
+ .hia-project-load-error {
359
+ color: var(--hia-muted);
360
+ }
361
+
362
+ .hia-project-load-error {
363
+ border-left: 3px solid #b42318;
364
+ padding-left: .75rem;
365
+ }
366
+
282
367
  .hia-source-actions {
283
368
  display: flex;
284
369
  flex-wrap: wrap;
@@ -309,6 +394,48 @@ a {
309
394
  padding-left: 1rem;
310
395
  }
311
396
 
397
+ .hia-project-groups h3 {
398
+ color: var(--hia-muted);
399
+ font-size: .82rem;
400
+ margin: .75rem 0 .25rem;
401
+ }
402
+
403
+ .hia-project-group-list {
404
+ list-style: none;
405
+ padding-left: 0;
406
+ }
407
+
408
+ .hia-project-group-list li {
409
+ align-items: baseline;
410
+ display: flex;
411
+ gap: .75rem;
412
+ justify-content: space-between;
413
+ }
414
+
415
+ .hia-project-group-list strong {
416
+ color: var(--hia-muted);
417
+ font-size: .78rem;
418
+ }
419
+
420
+ .hia-project-relation-list {
421
+ display: grid;
422
+ gap: .5rem;
423
+ list-style: none;
424
+ padding-left: 0;
425
+ }
426
+
427
+ .hia-project-relation-list li {
428
+ border-top: 1px solid var(--hia-border);
429
+ display: grid;
430
+ gap: .2rem;
431
+ padding-top: .5rem;
432
+ }
433
+
434
+ .hia-project-relation-list small {
435
+ color: var(--hia-muted);
436
+ overflow-wrap: anywhere;
437
+ }
438
+
312
439
  .hia-project-empty {
313
440
  color: var(--hia-muted);
314
441
  padding: 1rem;
@@ -324,6 +451,12 @@ a {
324
451
  border-bottom: 1px solid var(--hia-border);
325
452
  }
326
453
 
454
+ .hia-project-split-site .hia-sidebar {
455
+ height: auto;
456
+ max-height: 48vh;
457
+ position: static;
458
+ }
459
+
327
460
  .hia-main {
328
461
  padding: 1rem;
329
462
  }
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAQ7D,MAAM,UAAU,qBAAqB;IACnC,OAAO;QACL;YACE,IAAI,EAAE,sBAAsB;YAC5B,QAAQ,EAAE,iBAAiB;YAC3B,WAAW,EAAE,yBAAyB;SACvC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE,gCAAgC;SAC9C;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ThC,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoB/B,CAAC,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAQ7D,MAAM,UAAU,qBAAqB;IACnC,OAAO;QACL;YACE,IAAI,EAAE,sBAAsB;YAC5B,QAAQ,EAAE,iBAAiB;YAC3B,WAAW,EAAE,yBAAyB;SACvC;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE,gCAAgC;SAC9C;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+bhC,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;CAoB/B,CAAC,IAAI,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hia-doc/theme-default",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Default static theme assets for HIA HTML output.",
5
5
  "license": "MIT",
6
6
  "repository": {