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.
Files changed (24) 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/decode-qr-code.md +84 -0
  5. package/.claude/skills/components/display-qr-code.md +64 -0
  6. package/.claude/skills/index.md +4 -2
  7. package/app/components/01.atoms/qr-code/DisplayQrCode.vue +50 -0
  8. package/app/components/01.atoms/qr-code/stories/DisplayQrCode.stories.ts +206 -0
  9. package/app/components/01.atoms/qr-code/tests/DisplayQrCode.spec.ts +139 -0
  10. package/app/components/{qr-code → 02.molecules/qr-code}/CaptureQrCode.vue +18 -59
  11. package/app/components/{qr-code → 02.molecules/qr-code}/DecodeQrCode.vue +11 -35
  12. package/app/components/02.molecules/qr-code/stories/QrCode.stories.ts +101 -0
  13. package/app/components/02.molecules/qr-code/tests/CaptureQrCode.spec.ts +212 -0
  14. package/app/components/02.molecules/qr-code/tests/DecodeQrCode.spec.ts +145 -0
  15. package/app/layouts/default.vue +0 -1
  16. package/app/pages/ui/qr-code/[componentName].vue +3 -3
  17. package/package.json +1 -1
  18. package/.claude/skills/components/scroll-parallax-section.md +0 -148
  19. package/app/components/01.atoms/scroll-parallax-section/ScrollParallaxSection.vue +0 -108
  20. package/app/components/01.atoms/scroll-parallax-section/stories/ScrollParallaxSection.stories.ts +0 -151
  21. package/app/components/01.atoms/scroll-parallax-section/tests/ScrollParallaxSection.spec.ts +0 -91
  22. package/app/components/qr-code/DisplayQrCode.vue +0 -53
  23. package/app/components/qr-code/stories/QrCode.stories.ts +0 -933
  24. package/app/pages/ui/scroll-parallax-section.vue +0 -65
@@ -1,53 +0,0 @@
1
- <template>
2
- <Qrcode :value="qrValue" class="display-qr-code" :variant :radius :blackColor :whiteColor :class="[elementClasses]" />
3
- </template>
4
-
5
- <script setup lang="ts">
6
- import type { QrCodeVariant } from "../../types/components";
7
-
8
- const props = defineProps({
9
- qrValue: {
10
- type: String,
11
- required: true,
12
- },
13
- variant: {
14
- type: Object as PropType<QrCodeVariant>,
15
- default: () => ({
16
- inner: "default",
17
- marker: "default",
18
- pixel: "default",
19
- }),
20
- },
21
- radius: {
22
- type: Number,
23
- default: 0,
24
- },
25
- blackColor: {
26
- type: String,
27
- default: "currentColor",
28
- },
29
- whiteColor: {
30
- type: String,
31
- default: "transparent",
32
- },
33
- size: {
34
- type: String,
35
- default: "256px",
36
- },
37
- styleClassPassthrough: {
38
- type: [String, Array] as PropType<string | string[]>,
39
- default: () => [],
40
- },
41
- });
42
-
43
- const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough);
44
- </script>
45
-
46
- <style lang="css">
47
- @layer components {
48
- .display-qr-code {
49
- aspect-ratio: 1 / 1;
50
- width: v-bind(size);
51
- }
52
- }
53
- </style>