- @{{child.name}}
+ {{if (isComponent @kind) "@"}}{{child.name}}
{{#if (isIntrinsic child.type)}}
{{/if}}
diff --git a/ui/src/typedoc/signature/helper.gts b/ui/src/typedoc/signature/helper.gts
index 54c63eb0..709df549 100644
--- a/ui/src/typedoc/signature/helper.gts
+++ b/ui/src/typedoc/signature/helper.gts
@@ -65,9 +65,11 @@ function getReturn(info: any) {
const Return: TOC<{ Args: { info: any }}> =
{{#if @info}}
- Return
+
+
Return
-
+
+
{{/if}}
;
diff --git a/ui/src/typedoc/styles.css b/ui/src/typedoc/styles.css
index aeff232f..7d116007 100644
--- a/ui/src/typedoc/styles.css
+++ b/ui/src/typedoc/styles.css
@@ -61,7 +61,15 @@ section {
font-weight: bold;
}
.typedoc-helper-arg-info {
- border-bottom: 1px gray dashed;
+ border-bottom: 1px rgba(125,125,125,0.5) dashed;
+}
+.typedoc__helper__return {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+}
+.typedoc__helper__return > .typedoc-heading {
+ margin: 0;
}
.typedoc-declaration-children {
From f1fcf27989d2b7a7f40cbe66968f09dd8d9fb1f6 Mon Sep 17 00:00:00 2001
From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com>
Date: Sat, 16 Mar 2024 22:31:19 -0400
Subject: [PATCH 08/18] lint:fix
---
docs-app/.template-lintrc.js | 2 +
docs-app/app/styles/app.css | 2 +-
docs-app/app/templates/application.gts | 62 ++++++++++++--------------
ui/docs/docs/helper-signature.md | 24 +++++++---
ui/src/samples/-private/helper.ts | 8 +++-
ui/src/typedoc/signature/args.gts | 13 ++++--
ui/src/typedoc/signature/component.gts | 2 +-
ui/src/typedoc/signature/helper.gts | 11 +++--
ui/src/typedoc/signature/modifier.gts | 1 -
ui/src/typedoc/styles.css | 4 +-
10 files changed, 72 insertions(+), 57 deletions(-)
diff --git a/docs-app/.template-lintrc.js b/docs-app/.template-lintrc.js
index 9e274c75..cfca5a21 100644
--- a/docs-app/.template-lintrc.js
+++ b/docs-app/.template-lintrc.js
@@ -5,5 +5,7 @@ module.exports = {
rules: {
'no-forbidden-elements': 'off',
'no-inline-styles': 'off',
+ // Let prettier maintain invis
+ 'no-whitespace-for-layout': 'off',
},
};
diff --git a/docs-app/app/styles/app.css b/docs-app/app/styles/app.css
index e92d7b32..28f98c3f 100644
--- a/docs-app/app/styles/app.css
+++ b/docs-app/app/styles/app.css
@@ -8,7 +8,7 @@ pre.shiki {
white-space: pre-wrap;
/* overflow: hidden; */
}
-pre.shiki>code {
+pre.shiki > code {
/* padding-right: 1rem; */
/* overflow: auto; */
}
diff --git a/docs-app/app/templates/application.gts b/docs-app/app/templates/application.gts
index afb216ec..6a40eedc 100644
--- a/docs-app/app/templates/application.gts
+++ b/docs-app/app/templates/application.gts
@@ -1,5 +1,4 @@
-
-import 'ember-mobile-menu/themes/android'
+import 'ember-mobile-menu/themes/android';
import { on } from '@ember/modifier';
@@ -14,13 +13,17 @@ import { GroupNav, PageNav } from 'kolay/components';
import type { TOC } from '@ember/component/template-only';
import type { Page } from 'kolay';
-const Menu: TOC<{ Element: SVGElement }> =
-
+const Menu: TOC<{ Element: SVGElement }> =
+
;
const SideNav: TOC<{ Element: HTMLElement }> =
@@ -40,36 +43,29 @@ export default Route(
{{pageTitle ENV.APP.shortVersion}}
-
-
-
-
+
+
+
+
-
-
+
+
-
-
+
+
-
- {{outlet}}
-
-
-
-
+
+ {{outlet}}
+
+
+
+
{{!-- prettier-ignore --}}