create-prez-app 4.1.3 → 4.2.0

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 (48) hide show
  1. package/package.json +5 -5
  2. package/template/README.md +50 -23
  3. package/template/app/assets/css/tailwind.css +67 -0
  4. package/template/app/components/ui/badge/Badge.vue +25 -0
  5. package/template/app/components/ui/badge/index.ts +25 -0
  6. package/template/{components → app/components}/ui/button/Button.vue +3 -2
  7. package/template/app/components/ui/button/index.ts +36 -0
  8. package/template/app/components/ui/input/Input.vue +33 -0
  9. package/template/app/components/ui/pagination/Pagination.vue +25 -0
  10. package/template/app/components/ui/pagination/PaginationContent.vue +21 -0
  11. package/template/app/components/ui/pagination/PaginationEllipsis.vue +24 -0
  12. package/template/app/components/ui/pagination/PaginationFirst.vue +32 -0
  13. package/template/app/components/ui/pagination/PaginationItem.vue +32 -0
  14. package/template/app/components/ui/pagination/PaginationLast.vue +32 -0
  15. package/template/app/components/ui/pagination/PaginationNext.vue +32 -0
  16. package/template/app/components/ui/pagination/PaginationPrevious.vue +32 -0
  17. package/template/{components → app/components}/ui/pagination/index.ts +4 -6
  18. package/template/app/components/ui/select/Select.vue +18 -0
  19. package/template/app/components/ui/select/SelectContent.vue +52 -0
  20. package/template/app/components/ui/select/SelectGroup.vue +15 -0
  21. package/template/app/components/ui/select/SelectItem.vue +43 -0
  22. package/template/app/components/ui/select/SelectItemText.vue +15 -0
  23. package/template/app/components/ui/select/SelectLabel.vue +17 -0
  24. package/template/app/components/ui/select/SelectScrollDownButton.vue +26 -0
  25. package/template/app/components/ui/select/SelectScrollUpButton.vue +26 -0
  26. package/template/app/components/ui/select/SelectSeparator.vue +19 -0
  27. package/template/app/components/ui/select/SelectTrigger.vue +33 -0
  28. package/template/app/components/ui/select/SelectValue.vue +15 -0
  29. package/template/app/components/ui/select/index.ts +11 -0
  30. package/template/components.json +18 -16
  31. package/template/nuxt.config.ts +9 -8
  32. package/template/package.json +14 -11
  33. package/template/tsconfig.json +17 -3
  34. package/template/assets/css/tailwind.css +0 -9
  35. package/template/components/ui/badge/Badge.vue +0 -16
  36. package/template/components/ui/badge/index.ts +0 -25
  37. package/template/components/ui/button/index.ts +0 -35
  38. package/template/components/ui/input/Input.vue +0 -24
  39. package/template/components/ui/pagination/PaginationEllipsis.vue +0 -22
  40. package/template/components/ui/pagination/PaginationFirst.vue +0 -29
  41. package/template/components/ui/pagination/PaginationLast.vue +0 -29
  42. package/template/components/ui/pagination/PaginationNext.vue +0 -29
  43. package/template/components/ui/pagination/PaginationPrev.vue +0 -29
  44. package/template/tailwind.config.js +0 -10
  45. /package/template/{app.config.ts → app/app.config.ts} +0 -0
  46. /package/template/{assets → app/assets}/css/theme.css +0 -0
  47. /package/template/{components → app/components}/ui/input/index.ts +0 -0
  48. /package/template/{lib → app/lib}/utils.ts +0 -0
@@ -1,29 +0,0 @@
1
- <script setup lang="ts">
2
- import {
3
- Button,
4
- } from '@/components/ui/button'
5
- import { cn } from '@/lib/utils'
6
- import { ChevronLeft } from 'lucide-vue-next'
7
- import { PaginationPrev, type PaginationPrevProps } from 'radix-vue'
8
- import { computed, type HTMLAttributes } from 'vue'
9
-
10
- const props = withDefaults(defineProps<PaginationPrevProps & { class?: HTMLAttributes['class'] }>(), {
11
- asChild: true,
12
- })
13
-
14
- const delegatedProps = computed(() => {
15
- const { class: _, ...delegated } = props
16
-
17
- return delegated
18
- })
19
- </script>
20
-
21
- <template>
22
- <PaginationPrev v-bind="delegatedProps">
23
- <Button :class="cn('w-10 h-10 p-0', props.class)" variant="outline">
24
- <slot>
25
- <ChevronLeft class="h-4 w-4" />
26
- </slot>
27
- </Button>
28
- </PaginationPrev>
29
- </template>
@@ -1,10 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- theme: {
4
- extend: {
5
- colors: {
6
- // any Tailwind CSS variable overrides you've defined in tailwind.css go here
7
- },
8
- },
9
- },
10
- }
File without changes
File without changes
File without changes