From bce557cc2dc767628bed6aac87301a1be7c5431b Mon Sep 17 00:00:00 2001
From: rxliuli <rxliuli@gmail.com>
Date: Tue, 4 Nov 2025 05:03:50 +0800
Subject: init commit

---
 .../shelf/AccessibilityDeveloperLinkShelf.svelte   | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 src/components/jet/shelf/AccessibilityDeveloperLinkShelf.svelte

(limited to 'src/components/jet/shelf/AccessibilityDeveloperLinkShelf.svelte')

diff --git a/src/components/jet/shelf/AccessibilityDeveloperLinkShelf.svelte b/src/components/jet/shelf/AccessibilityDeveloperLinkShelf.svelte
new file mode 100644
index 0000000..c1e7b2e
--- /dev/null
+++ b/src/components/jet/shelf/AccessibilityDeveloperLinkShelf.svelte
@@ -0,0 +1,36 @@
+<script lang="ts" context="module">
+    import type {
+        AccessibilityParagraph,
+        Shelf,
+    } from '@jet-app/app-store/api/models';
+
+    interface AccessibilityDeveloperLinkShelf extends Shelf {
+        items: [AccessibilityParagraph];
+    }
+
+    export function isAccessibilityDeveloperLinkShelf(
+        shelf: Shelf,
+    ): shelf is AccessibilityDeveloperLinkShelf {
+        let { contentType, items, title } = shelf;
+
+        return (
+            contentType === 'accessibilityParagraph' &&
+            !title &&
+            Array.isArray(items)
+        );
+    }
+</script>
+
+<script lang="ts">
+    import ShelfWrapper from '~/components/Shelf/Wrapper.svelte';
+    import AccessibilityParagraphItem from '../item/AccessibilityParagraphItem.svelte';
+    import { getAccessibilityLayoutConfiguration } from '~/context/accessibility-layout';
+
+    export let shelf: AccessibilityDeveloperLinkShelf;
+
+    $: ({ withBottomPadding } = getAccessibilityLayoutConfiguration(shelf));
+</script>
+
+<ShelfWrapper {shelf} centered {withBottomPadding}>
+    <AccessibilityParagraphItem item={shelf.items[0]} />
+</ShelfWrapper>
-- 
cgit v1.2.3

