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

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

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

diff --git a/src/components/jet/shelf/AccessibilityFeaturesShelf.svelte b/src/components/jet/shelf/AccessibilityFeaturesShelf.svelte
new file mode 100644
index 0000000..cb2fed8
--- /dev/null
+++ b/src/components/jet/shelf/AccessibilityFeaturesShelf.svelte
@@ -0,0 +1,35 @@
+<script lang="ts" context="module">
+    import type {
+        AccessibilityFeatures,
+        Shelf,
+    } from '@jet-app/app-store/api/models';
+
+    export interface AccessibilityFeaturesShelf extends Shelf {
+        items: AccessibilityFeatures[];
+    }
+
+    export function isAccessibilityFeaturesShelf(
+        shelf: Shelf,
+    ): shelf is AccessibilityFeaturesShelf {
+        let { contentType, items } = shelf;
+
+        return contentType === 'accessibilityFeatures' && Array.isArray(items);
+    }
+</script>
+
+<script lang="ts">
+    import ShelfWrapper from '~/components/Shelf/Wrapper.svelte';
+    import ShelfItemLayout from '~/components/ShelfItemLayout.svelte';
+    import AccessibilityFeaturesItem from '~/components/jet/item/AccessibilityFeaturesItem.svelte';
+    import { getAccessibilityLayoutConfiguration } from '~/context/accessibility-layout';
+
+    export let shelf: AccessibilityFeaturesShelf;
+
+    $: ({ withBottomPadding } = getAccessibilityLayoutConfiguration(shelf));
+</script>
+
+<ShelfWrapper {shelf} {withBottomPadding}>
+    <ShelfItemLayout {shelf} gridType="B" let:item>
+        <AccessibilityFeaturesItem {item} />
+    </ShelfItemLayout>
+</ShelfWrapper>
-- 
cgit v1.2.3

