srcdev-nuxt-components 9.1.36 → 9.1.38

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.
Files changed (32) hide show
  1. package/.claude/settings.json +2 -1
  2. package/.claude/settings.local.json +2 -2
  3. package/.claude/skills/components/capture-qr-code.md +84 -0
  4. package/.claude/skills/components/data-grid.md +167 -0
  5. package/.claude/skills/components/decode-qr-code.md +84 -0
  6. package/.claude/skills/components/display-qr-code.md +64 -0
  7. package/.claude/skills/index.md +5 -2
  8. package/app/components/01.atoms/grids/data-grid/DataGrid.vue +39 -0
  9. package/app/components/01.atoms/grids/data-grid/stories/DataGrid.stories.ts +234 -0
  10. package/app/components/01.atoms/grids/data-grid/tests/DataGrid.spec.ts +140 -0
  11. package/app/components/01.atoms/grids/data-grid/tests/__snapshots__/DataGrid.spec.ts.snap +11 -0
  12. package/app/components/01.atoms/qr-code/DisplayQrCode.vue +50 -0
  13. package/app/components/01.atoms/qr-code/stories/DisplayQrCode.stories.ts +206 -0
  14. package/app/components/01.atoms/qr-code/tests/DisplayQrCode.spec.ts +139 -0
  15. package/app/components/02.molecules/qr-code/CaptureQrCode.vue +142 -0
  16. package/app/components/{qr-code → 02.molecules/qr-code}/DecodeQrCode.vue +11 -35
  17. package/app/components/02.molecules/qr-code/stories/QrCode.stories.ts +101 -0
  18. package/app/components/02.molecules/qr-code/tests/CaptureQrCode.spec.ts +212 -0
  19. package/app/components/02.molecules/qr-code/tests/DecodeQrCode.spec.ts +145 -0
  20. package/app/layouts/default.vue +0 -1
  21. package/app/pages/ui/qr-code/[componentName].vue +3 -3
  22. package/app/pages/ui/simple-grid.vue +2 -2
  23. package/package.json +1 -1
  24. package/.claude/skills/components/scroll-parallax-section.md +0 -148
  25. package/app/components/01.atoms/scroll-parallax-section/ScrollParallaxSection.vue +0 -108
  26. package/app/components/01.atoms/scroll-parallax-section/stories/ScrollParallaxSection.stories.ts +0 -151
  27. package/app/components/01.atoms/scroll-parallax-section/tests/ScrollParallaxSection.spec.ts +0 -91
  28. package/app/components/display-grid/DisplayGridCore.vue +0 -22
  29. package/app/components/qr-code/CaptureQrCode.vue +0 -183
  30. package/app/components/qr-code/DisplayQrCode.vue +0 -53
  31. package/app/components/qr-code/stories/QrCode.stories.ts +0 -933
  32. 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>