srcdev-nuxt-components 9.1.36 → 9.1.37
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/.claude/settings.json +2 -1
- package/.claude/settings.local.json +2 -2
- package/.claude/skills/components/capture-qr-code.md +84 -0
- package/.claude/skills/components/decode-qr-code.md +84 -0
- package/.claude/skills/components/display-qr-code.md +64 -0
- package/.claude/skills/index.md +4 -2
- package/app/components/01.atoms/qr-code/DisplayQrCode.vue +50 -0
- package/app/components/01.atoms/qr-code/stories/DisplayQrCode.stories.ts +206 -0
- package/app/components/01.atoms/qr-code/tests/DisplayQrCode.spec.ts +139 -0
- package/app/components/{qr-code → 02.molecules/qr-code}/CaptureQrCode.vue +18 -59
- package/app/components/{qr-code → 02.molecules/qr-code}/DecodeQrCode.vue +11 -35
- package/app/components/02.molecules/qr-code/stories/QrCode.stories.ts +101 -0
- package/app/components/02.molecules/qr-code/tests/CaptureQrCode.spec.ts +212 -0
- package/app/components/02.molecules/qr-code/tests/DecodeQrCode.spec.ts +145 -0
- package/app/layouts/default.vue +0 -1
- package/app/pages/ui/qr-code/[componentName].vue +3 -3
- package/package.json +1 -1
- package/.claude/skills/components/scroll-parallax-section.md +0 -148
- package/app/components/01.atoms/scroll-parallax-section/ScrollParallaxSection.vue +0 -108
- package/app/components/01.atoms/scroll-parallax-section/stories/ScrollParallaxSection.stories.ts +0 -151
- package/app/components/01.atoms/scroll-parallax-section/tests/ScrollParallaxSection.spec.ts +0 -91
- package/app/components/qr-code/DisplayQrCode.vue +0 -53
- package/app/components/qr-code/stories/QrCode.stories.ts +0 -933
- package/app/pages/ui/scroll-parallax-section.vue +0 -65
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<NuxtLayout name="default">
|
|
4
|
-
<template #layout-content>
|
|
5
|
-
<LayoutRow tag="div" variant="full-width" :style-class-passthrough="['expanding-panel-section', 'mbe-20']">
|
|
6
|
-
<h1 class="page-heading-1">ScrollParallaxSection Component</h1>
|
|
7
|
-
<p class="mbe-12">
|
|
8
|
-
JS-driven fixed background — works on all devices including iOS and Safari. The background image stays
|
|
9
|
-
fixed in the viewport while the section scrolls past it, replicating <code>background-attachment: fixed</code>.
|
|
10
|
-
</p>
|
|
11
|
-
</LayoutRow>
|
|
12
|
-
<ScrollParallaxSection
|
|
13
|
-
tag="section"
|
|
14
|
-
background-image="/images/rotating-carousel/image-3.webp"
|
|
15
|
-
:style-class-passthrough="['mbe-20']"
|
|
16
|
-
>
|
|
17
|
-
<LayoutRow tag="div" variant="full-width" :style-class-passthrough="['expanding-panel-section']">
|
|
18
|
-
<h2 class="page-heading-1">First Section</h2>
|
|
19
|
-
<p class="page-body-normal">Scroll down to see the parallax effect in action.</p>
|
|
20
|
-
<p class="page-body-normal">The background image moves slower than the page, creating a depth effect.</p>
|
|
21
|
-
</LayoutRow>
|
|
22
|
-
</ScrollParallaxSection>
|
|
23
|
-
<LayoutRow tag="div" variant="full-width" :style-class-passthrough="['expanding-panel-section', 'mbe-20']">
|
|
24
|
-
<h2 class="page-heading-2">Between sections</h2>
|
|
25
|
-
<p class="page-body-normal">Regular page content between two parallax sections.</p>
|
|
26
|
-
</LayoutRow>
|
|
27
|
-
<ScrollParallaxSection
|
|
28
|
-
tag="section"
|
|
29
|
-
background-image="/images/rotating-carousel/image-1.webp"
|
|
30
|
-
:style-class-passthrough="['mbe-20']"
|
|
31
|
-
>
|
|
32
|
-
<LayoutRow tag="div" variant="full-width" :style-class-passthrough="['expanding-panel-section']">
|
|
33
|
-
<h2 class="page-heading-1">Second Section</h2>
|
|
34
|
-
<p class="page-body-normal">A second section to demonstrate multiple fixed-background sections on the same page.</p>
|
|
35
|
-
</LayoutRow>
|
|
36
|
-
</ScrollParallaxSection>
|
|
37
|
-
</template>
|
|
38
|
-
</NuxtLayout>
|
|
39
|
-
</div>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup lang="ts">
|
|
43
|
-
definePageMeta({
|
|
44
|
-
layout: false,
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
useHead({
|
|
48
|
-
title: "ScrollParallaxSection Component",
|
|
49
|
-
meta: [
|
|
50
|
-
{
|
|
51
|
-
name: "description",
|
|
52
|
-
content: "JS-driven parallax background section — works on all devices including iOS and Safari.",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
bodyAttrs: {
|
|
56
|
-
class: "scroll-parallax-section-page",
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
</script>
|
|
60
|
-
|
|
61
|
-
<style lang="css">
|
|
62
|
-
.scroll-parallax-section-page {
|
|
63
|
-
margin-block-end: 100vh;
|
|
64
|
-
}
|
|
65
|
-
</style>
|