create-nala 3.0.3 → 3.0.4

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 (166) hide show
  1. package/package.json +6 -6
  2. package/template/package.json +1 -1
  3. package/template/src/components/ui/alert/Alert.vue +8 -8
  4. package/template/src/components/ui/alert/AlertDescription.vue +5 -5
  5. package/template/src/components/ui/alert/AlertTitle.vue +5 -5
  6. package/template/src/components/ui/alert-dialog/AlertDialog.vue +6 -6
  7. package/template/src/components/ui/alert-dialog/AlertDialogAction.vue +9 -9
  8. package/template/src/components/ui/alert-dialog/AlertDialogCancel.vue +9 -9
  9. package/template/src/components/ui/alert-dialog/AlertDialogContent.vue +20 -20
  10. package/template/src/components/ui/alert-dialog/AlertDialogDescription.vue +10 -10
  11. package/template/src/components/ui/alert-dialog/AlertDialogFooter.vue +5 -5
  12. package/template/src/components/ui/alert-dialog/AlertDialogHeader.vue +5 -5
  13. package/template/src/components/ui/alert-dialog/AlertDialogTitle.vue +8 -8
  14. package/template/src/components/ui/alert-dialog/AlertDialogTrigger.vue +3 -3
  15. package/template/src/components/ui/alert-dialog/index.ts +8 -8
  16. package/template/src/components/ui/avatar/AvatarFallback.vue +8 -8
  17. package/template/src/components/ui/avatar/AvatarImage.vue +3 -3
  18. package/template/src/components/ui/breadcrumb/Breadcrumb.vue +4 -4
  19. package/template/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +6 -6
  20. package/template/src/components/ui/breadcrumb/BreadcrumbItem.vue +5 -5
  21. package/template/src/components/ui/breadcrumb/BreadcrumbLink.vue +7 -7
  22. package/template/src/components/ui/breadcrumb/BreadcrumbList.vue +5 -5
  23. package/template/src/components/ui/breadcrumb/BreadcrumbPage.vue +5 -5
  24. package/template/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +6 -6
  25. package/template/src/components/ui/breadcrumb/index.ts +6 -6
  26. package/template/src/components/ui/button/Button.vue +15 -15
  27. package/template/src/components/ui/card/CardAction.vue +5 -5
  28. package/template/src/components/ui/card/CardContent.vue +5 -5
  29. package/template/src/components/ui/card/CardDescription.vue +5 -5
  30. package/template/src/components/ui/card/CardFooter.vue +5 -5
  31. package/template/src/components/ui/card/CardTitle.vue +5 -5
  32. package/template/src/components/ui/card/index.ts +6 -6
  33. package/template/src/components/ui/command/Command.vue +75 -75
  34. package/template/src/components/ui/command/CommandDialog.vue +14 -14
  35. package/template/src/components/ui/command/CommandEmpty.vue +14 -14
  36. package/template/src/components/ui/command/CommandGroup.vue +27 -27
  37. package/template/src/components/ui/command/CommandInput.vue +20 -20
  38. package/template/src/components/ui/command/CommandItem.vue +57 -57
  39. package/template/src/components/ui/command/CommandList.vue +10 -10
  40. package/template/src/components/ui/command/CommandSeparator.vue +8 -8
  41. package/template/src/components/ui/command/CommandShortcut.vue +5 -5
  42. package/template/src/components/ui/command/index.ts +24 -24
  43. package/template/src/components/ui/dialog/Dialog.vue +6 -6
  44. package/template/src/components/ui/dialog/DialogClose.vue +3 -3
  45. package/template/src/components/ui/dialog/DialogContent.vue +24 -24
  46. package/template/src/components/ui/dialog/DialogDescription.vue +10 -10
  47. package/template/src/components/ui/dialog/DialogFooter.vue +10 -10
  48. package/template/src/components/ui/dialog/DialogHeader.vue +5 -5
  49. package/template/src/components/ui/dialog/DialogOverlay.vue +8 -8
  50. package/template/src/components/ui/dialog/DialogScrollContent.vue +22 -22
  51. package/template/src/components/ui/dialog/DialogTitle.vue +10 -10
  52. package/template/src/components/ui/dialog/DialogTrigger.vue +3 -3
  53. package/template/src/components/ui/dialog/index.ts +9 -9
  54. package/template/src/components/ui/dropdown-menu/DropdownMenu.vue +6 -6
  55. package/template/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +16 -16
  56. package/template/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +3 -3
  57. package/template/src/components/ui/dropdown-menu/DropdownMenuItem.vue +16 -16
  58. package/template/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +9 -9
  59. package/template/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +9 -9
  60. package/template/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +17 -17
  61. package/template/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +12 -12
  62. package/template/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +5 -5
  63. package/template/src/components/ui/dropdown-menu/DropdownMenuSub.vue +9 -9
  64. package/template/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +14 -14
  65. package/template/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +13 -13
  66. package/template/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +5 -5
  67. package/template/src/components/ui/dropdown-menu/index.ts +15 -15
  68. package/template/src/components/ui/form/FormControl.vue +3 -3
  69. package/template/src/components/ui/form/FormDescription.vue +8 -8
  70. package/template/src/components/ui/form/FormItem.vue +11 -11
  71. package/template/src/components/ui/form/FormLabel.vue +8 -8
  72. package/template/src/components/ui/form/FormMessage.vue +10 -10
  73. package/template/src/components/ui/form/index.ts +6 -6
  74. package/template/src/components/ui/form/injectionKeys.ts +3 -3
  75. package/template/src/components/ui/form/useFormField.ts +29 -29
  76. package/template/src/components/ui/input/Input.vue +17 -17
  77. package/template/src/components/ui/label/Label.vue +8 -8
  78. package/template/src/components/ui/pagination/Pagination.vue +12 -12
  79. package/template/src/components/ui/pagination/PaginationContent.vue +8 -8
  80. package/template/src/components/ui/pagination/PaginationEllipsis.vue +9 -9
  81. package/template/src/components/ui/pagination/PaginationFirst.vue +17 -17
  82. package/template/src/components/ui/pagination/PaginationItem.vue +16 -16
  83. package/template/src/components/ui/pagination/PaginationLast.vue +17 -17
  84. package/template/src/components/ui/pagination/PaginationNext.vue +17 -17
  85. package/template/src/components/ui/pagination/PaginationPrevious.vue +17 -17
  86. package/template/src/components/ui/pagination/index.ts +7 -7
  87. package/template/src/components/ui/popover/Popover.vue +6 -6
  88. package/template/src/components/ui/popover/PopoverAnchor.vue +3 -3
  89. package/template/src/components/ui/popover/PopoverContent.vue +25 -25
  90. package/template/src/components/ui/popover/PopoverTrigger.vue +3 -3
  91. package/template/src/components/ui/popover/index.ts +3 -3
  92. package/template/src/components/ui/select/Select.vue +6 -6
  93. package/template/src/components/ui/select/SelectContent.vue +26 -26
  94. package/template/src/components/ui/select/SelectGroup.vue +3 -3
  95. package/template/src/components/ui/select/SelectItem.vue +16 -16
  96. package/template/src/components/ui/select/SelectItemText.vue +3 -3
  97. package/template/src/components/ui/select/SelectLabel.vue +5 -5
  98. package/template/src/components/ui/select/SelectScrollDownButton.vue +11 -11
  99. package/template/src/components/ui/select/SelectScrollUpButton.vue +11 -11
  100. package/template/src/components/ui/select/SelectSeparator.vue +8 -8
  101. package/template/src/components/ui/select/SelectTrigger.vue +13 -13
  102. package/template/src/components/ui/select/SelectValue.vue +3 -3
  103. package/template/src/components/ui/select/index.ts +10 -10
  104. package/template/src/components/ui/separator/Separator.vue +13 -13
  105. package/template/src/components/ui/sheet/Sheet.vue +6 -6
  106. package/template/src/components/ui/sheet/SheetClose.vue +3 -3
  107. package/template/src/components/ui/sheet/SheetContent.vue +29 -29
  108. package/template/src/components/ui/sheet/SheetDescription.vue +8 -8
  109. package/template/src/components/ui/sheet/SheetFooter.vue +3 -3
  110. package/template/src/components/ui/sheet/SheetHeader.vue +3 -3
  111. package/template/src/components/ui/sheet/SheetOverlay.vue +8 -8
  112. package/template/src/components/ui/sheet/SheetTitle.vue +8 -8
  113. package/template/src/components/ui/sheet/SheetTrigger.vue +3 -3
  114. package/template/src/components/ui/sheet/index.ts +7 -7
  115. package/template/src/components/ui/sidebar/Sidebar.vue +18 -18
  116. package/template/src/components/ui/sidebar/SidebarContent.vue +6 -6
  117. package/template/src/components/ui/sidebar/SidebarControl.vue +0 -3
  118. package/template/src/components/ui/sidebar/SidebarFooter.vue +5 -5
  119. package/template/src/components/ui/sidebar/SidebarGroup.vue +5 -5
  120. package/template/src/components/ui/sidebar/SidebarGroupAction.vue +7 -7
  121. package/template/src/components/ui/sidebar/SidebarGroupContent.vue +5 -5
  122. package/template/src/components/ui/sidebar/SidebarGroupLabel.vue +7 -7
  123. package/template/src/components/ui/sidebar/SidebarHeader.vue +5 -5
  124. package/template/src/components/ui/sidebar/SidebarInput.vue +6 -6
  125. package/template/src/components/ui/sidebar/SidebarInset.vue +5 -5
  126. package/template/src/components/ui/sidebar/SidebarMenu.vue +5 -5
  127. package/template/src/components/ui/sidebar/SidebarMenuAction.vue +10 -10
  128. package/template/src/components/ui/sidebar/SidebarMenuBadge.vue +5 -5
  129. package/template/src/components/ui/sidebar/SidebarMenuButton.vue +21 -21
  130. package/template/src/components/ui/sidebar/SidebarMenuButtonChild.vue +18 -18
  131. package/template/src/components/ui/sidebar/SidebarMenuItem.vue +5 -5
  132. package/template/src/components/ui/sidebar/SidebarMenuSkeleton.vue +12 -12
  133. package/template/src/components/ui/sidebar/SidebarMenuSub.vue +5 -5
  134. package/template/src/components/ui/sidebar/SidebarMenuSubButton.vue +12 -12
  135. package/template/src/components/ui/sidebar/SidebarMenuSubItem.vue +5 -5
  136. package/template/src/components/ui/sidebar/SidebarProvider.vue +4 -8
  137. package/template/src/components/ui/sidebar/SidebarRail.vue +8 -8
  138. package/template/src/components/ui/sidebar/SidebarSeparator.vue +6 -6
  139. package/template/src/components/ui/sidebar/SidebarTrigger.vue +10 -10
  140. package/template/src/components/ui/sidebar/utils.ts +1 -1
  141. package/template/src/components/ui/skeleton/Skeleton.vue +7 -7
  142. package/template/src/components/ui/sonner/Sonner.vue +5 -5
  143. package/template/src/components/ui/switch/Switch.vue +16 -16
  144. package/template/src/components/ui/table/Table.vue +5 -5
  145. package/template/src/components/ui/table/TableBody.vue +5 -5
  146. package/template/src/components/ui/table/TableCaption.vue +5 -5
  147. package/template/src/components/ui/table/TableCell.vue +5 -5
  148. package/template/src/components/ui/table/TableEmpty.vue +13 -13
  149. package/template/src/components/ui/table/TableFooter.vue +5 -5
  150. package/template/src/components/ui/table/TableHead.vue +5 -5
  151. package/template/src/components/ui/table/TableHeader.vue +5 -5
  152. package/template/src/components/ui/table/TableRow.vue +5 -5
  153. package/template/src/components/ui/table/index.ts +8 -8
  154. package/template/src/components/ui/table/utils.ts +9 -9
  155. package/template/src/components/ui/tabs/Tabs.vue +10 -10
  156. package/template/src/components/ui/tabs/TabsContent.vue +8 -8
  157. package/template/src/components/ui/tabs/TabsList.vue +8 -8
  158. package/template/src/components/ui/tabs/TabsTrigger.vue +10 -10
  159. package/template/src/components/ui/tabs/index.ts +3 -3
  160. package/template/src/components/ui/textarea/Textarea.vue +17 -17
  161. package/template/src/components/ui/tooltip/Tooltip.vue +6 -6
  162. package/template/src/components/ui/tooltip/TooltipContent.vue +17 -17
  163. package/template/src/components/ui/tooltip/TooltipProvider.vue +5 -5
  164. package/template/src/components/ui/tooltip/TooltipTrigger.vue +3 -3
  165. package/template/src/components/ui/tooltip/index.ts +3 -3
  166. package/template/src/lib/utils.ts +6 -6
@@ -1,14 +1,14 @@
1
1
  <script setup lang="ts">
2
- import type { DialogDescriptionProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { DialogDescription, useForwardProps } from "reka-ui"
6
- import { cn } from "@/lib/utils"
7
-
8
- const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
9
-
10
- const delegatedProps = reactiveOmit(props, "class")
11
-
2
+ import type { DialogDescriptionProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { DialogDescription, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<DialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
12
  const forwardedProps = useForwardProps(delegatedProps)
13
13
  </script>
14
14
 
@@ -1,14 +1,14 @@
1
1
  <script setup lang="ts">
2
- import type { HTMLAttributes } from "vue"
3
- import { DialogClose } from "reka-ui"
4
- import { cn } from "@/lib/utils"
5
- import { Button } from '@/components/ui/button'
6
-
7
- const props = withDefaults(defineProps<{
8
- class?: HTMLAttributes["class"]
9
- showCloseButton?: boolean
10
- }>(), {
11
- showCloseButton: false,
2
+ import type { HTMLAttributes } from "vue"
3
+ import { DialogClose } from "reka-ui"
4
+ import { cn } from "@/lib/utils"
5
+ import { Button } from '@/components/ui/button'
6
+
7
+ const props = withDefaults(defineProps<{
8
+ class?: HTMLAttributes["class"]
9
+ showCloseButton?: boolean
10
+ }>(), {
11
+ showCloseButton: false,
12
12
  })
13
13
  </script>
14
14
 
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
- import type { HTMLAttributes } from "vue"
3
- import { cn } from "@/lib/utils"
4
-
5
- const props = defineProps<{
6
- class?: HTMLAttributes["class"]
2
+ import type { HTMLAttributes } from "vue"
3
+ import { cn } from "@/lib/utils"
4
+
5
+ const props = defineProps<{
6
+ class?: HTMLAttributes["class"]
7
7
  }>()
8
8
  </script>
9
9
 
@@ -1,12 +1,12 @@
1
1
  <script setup lang="ts">
2
- import type { DialogOverlayProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { DialogOverlay } from "reka-ui"
6
- import { cn } from "@/lib/utils"
7
-
8
- const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>()
9
-
2
+ import type { DialogOverlayProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { DialogOverlay } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<DialogOverlayProps & { class?: HTMLAttributes["class"] }>()
9
+
10
10
  const delegatedProps = reactiveOmit(props, "class")
11
11
  </script>
12
12
 
@@ -1,26 +1,26 @@
1
1
  <script setup lang="ts">
2
- import type { DialogContentEmits, DialogContentProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { X } from "@lucide/vue"
5
- import { reactiveOmit } from "@vueuse/core"
6
- import {
7
- DialogClose,
8
- DialogContent,
9
- DialogOverlay,
10
- DialogPortal,
11
- useForwardPropsEmits,
12
- } from "reka-ui"
13
- import { cn } from "@/lib/utils"
14
-
15
- defineOptions({
16
- inheritAttrs: false,
17
- })
18
-
19
- const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
20
- const emits = defineEmits<DialogContentEmits>()
21
-
22
- const delegatedProps = reactiveOmit(props, "class")
23
-
2
+ import type { DialogContentEmits, DialogContentProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { X } from "@lucide/vue"
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import {
7
+ DialogClose,
8
+ DialogContent,
9
+ DialogOverlay,
10
+ DialogPortal,
11
+ useForwardPropsEmits,
12
+ } from "reka-ui"
13
+ import { cn } from "@/lib/utils"
14
+
15
+ defineOptions({
16
+ inheritAttrs: false,
17
+ })
18
+
19
+ const props = defineProps<DialogContentProps & { class?: HTMLAttributes["class"] }>()
20
+ const emits = defineEmits<DialogContentEmits>()
21
+
22
+ const delegatedProps = reactiveOmit(props, "class")
23
+
24
24
  const forwarded = useForwardPropsEmits(delegatedProps, emits)
25
25
  </script>
26
26
 
@@ -1,14 +1,14 @@
1
1
  <script setup lang="ts">
2
- import type { DialogTitleProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { DialogTitle, useForwardProps } from "reka-ui"
6
- import { cn } from "@/lib/utils"
7
-
8
- const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
9
-
10
- const delegatedProps = reactiveOmit(props, "class")
11
-
2
+ import type { DialogTitleProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { DialogTitle, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
12
  const forwardedProps = useForwardProps(delegatedProps)
13
13
  </script>
14
14
 
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import type { DialogTriggerProps } from "reka-ui"
3
- import { DialogTrigger } from "reka-ui"
4
-
2
+ import type { DialogTriggerProps } from "reka-ui"
3
+ import { DialogTrigger } from "reka-ui"
4
+
5
5
  const props = defineProps<DialogTriggerProps>()
6
6
  </script>
7
7
 
@@ -1,10 +1,10 @@
1
- export { default as Dialog } from "./Dialog.vue"
2
- export { default as DialogClose } from "./DialogClose.vue"
3
- export { default as DialogContent } from "./DialogContent.vue"
4
- export { default as DialogDescription } from "./DialogDescription.vue"
5
- export { default as DialogFooter } from "./DialogFooter.vue"
6
- export { default as DialogHeader } from "./DialogHeader.vue"
7
- export { default as DialogOverlay } from "./DialogOverlay.vue"
8
- export { default as DialogScrollContent } from "./DialogScrollContent.vue"
9
- export { default as DialogTitle } from "./DialogTitle.vue"
1
+ export { default as Dialog } from "./Dialog.vue"
2
+ export { default as DialogClose } from "./DialogClose.vue"
3
+ export { default as DialogContent } from "./DialogContent.vue"
4
+ export { default as DialogDescription } from "./DialogDescription.vue"
5
+ export { default as DialogFooter } from "./DialogFooter.vue"
6
+ export { default as DialogHeader } from "./DialogHeader.vue"
7
+ export { default as DialogOverlay } from "./DialogOverlay.vue"
8
+ export { default as DialogScrollContent } from "./DialogScrollContent.vue"
9
+ export { default as DialogTitle } from "./DialogTitle.vue"
10
10
  export { default as DialogTrigger } from "./DialogTrigger.vue"
@@ -1,10 +1,10 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuRootEmits, DropdownMenuRootProps } from "reka-ui"
3
- import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui"
4
-
5
- const props = defineProps<DropdownMenuRootProps>()
6
- const emits = defineEmits<DropdownMenuRootEmits>()
7
-
2
+ import type { DropdownMenuRootEmits, DropdownMenuRootProps } from "reka-ui"
3
+ import { DropdownMenuRoot, useForwardPropsEmits } from "reka-ui"
4
+
5
+ const props = defineProps<DropdownMenuRootProps>()
6
+ const emits = defineEmits<DropdownMenuRootEmits>()
7
+
8
8
  const forwarded = useForwardPropsEmits(props, emits)
9
9
  </script>
10
10
 
@@ -1,20 +1,20 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuCheckboxItemEmits, DropdownMenuCheckboxItemProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { Check } from "@lucide/vue"
5
- import { reactiveOmit } from "@vueuse/core"
6
- import {
7
- DropdownMenuCheckboxItem,
8
- DropdownMenuItemIndicator,
9
- useForwardPropsEmits,
10
- } from "reka-ui"
11
- import { cn } from "@/lib/utils"
12
-
13
- const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
14
- const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
15
-
16
- const delegatedProps = reactiveOmit(props, "class")
17
-
2
+ import type { DropdownMenuCheckboxItemEmits, DropdownMenuCheckboxItemProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { Check } from "@lucide/vue"
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import {
7
+ DropdownMenuCheckboxItem,
8
+ DropdownMenuItemIndicator,
9
+ useForwardPropsEmits,
10
+ } from "reka-ui"
11
+ import { cn } from "@/lib/utils"
12
+
13
+ const props = defineProps<DropdownMenuCheckboxItemProps & { class?: HTMLAttributes["class"] }>()
14
+ const emits = defineEmits<DropdownMenuCheckboxItemEmits>()
15
+
16
+ const delegatedProps = reactiveOmit(props, "class")
17
+
18
18
  const forwarded = useForwardPropsEmits(delegatedProps, emits)
19
19
  </script>
20
20
 
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuGroupProps } from "reka-ui"
3
- import { DropdownMenuGroup } from "reka-ui"
4
-
2
+ import type { DropdownMenuGroupProps } from "reka-ui"
3
+ import { DropdownMenuGroup } from "reka-ui"
4
+
5
5
  const props = defineProps<DropdownMenuGroupProps>()
6
6
  </script>
7
7
 
@@ -1,20 +1,20 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuItemProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { DropdownMenuItem, useForwardProps } from "reka-ui"
6
- import { cn } from "@/lib/utils"
7
-
8
- const props = withDefaults(defineProps<DropdownMenuItemProps & {
9
- class?: HTMLAttributes["class"]
10
- inset?: boolean
11
- variant?: "default" | "destructive"
12
- }>(), {
13
- variant: "default",
14
- })
15
-
16
- const delegatedProps = reactiveOmit(props, "inset", "variant", "class")
17
-
2
+ import type { DropdownMenuItemProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { DropdownMenuItem, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = withDefaults(defineProps<DropdownMenuItemProps & {
9
+ class?: HTMLAttributes["class"]
10
+ inset?: boolean
11
+ variant?: "default" | "destructive"
12
+ }>(), {
13
+ variant: "default",
14
+ })
15
+
16
+ const delegatedProps = reactiveOmit(props, "inset", "variant", "class")
17
+
18
18
  const forwardedProps = useForwardProps(delegatedProps)
19
19
  </script>
20
20
 
@@ -1,13 +1,13 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuLabelProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { DropdownMenuLabel, useForwardProps } from "reka-ui"
6
- import { cn } from "@/lib/utils"
7
-
8
- const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
9
-
10
- const delegatedProps = reactiveOmit(props, "class", "inset")
2
+ import type { DropdownMenuLabelProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { DropdownMenuLabel, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<DropdownMenuLabelProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class", "inset")
11
11
  const forwardedProps = useForwardProps(delegatedProps)
12
12
  </script>
13
13
 
@@ -1,13 +1,13 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuRadioGroupEmits, DropdownMenuRadioGroupProps } from "reka-ui"
3
- import {
4
- DropdownMenuRadioGroup,
5
- useForwardPropsEmits,
6
- } from "reka-ui"
7
-
8
- const props = defineProps<DropdownMenuRadioGroupProps>()
9
- const emits = defineEmits<DropdownMenuRadioGroupEmits>()
10
-
2
+ import type { DropdownMenuRadioGroupEmits, DropdownMenuRadioGroupProps } from "reka-ui"
3
+ import {
4
+ DropdownMenuRadioGroup,
5
+ useForwardPropsEmits,
6
+ } from "reka-ui"
7
+
8
+ const props = defineProps<DropdownMenuRadioGroupProps>()
9
+ const emits = defineEmits<DropdownMenuRadioGroupEmits>()
10
+
11
11
  const forwarded = useForwardPropsEmits(props, emits)
12
12
  </script>
13
13
 
@@ -1,21 +1,21 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuRadioItemEmits, DropdownMenuRadioItemProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { Circle } from "@lucide/vue"
5
- import { reactiveOmit } from "@vueuse/core"
6
- import {
7
- DropdownMenuItemIndicator,
8
- DropdownMenuRadioItem,
9
- useForwardPropsEmits,
10
- } from "reka-ui"
11
- import { cn } from "@/lib/utils"
12
-
13
- const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
14
-
15
- const emits = defineEmits<DropdownMenuRadioItemEmits>()
16
-
17
- const delegatedProps = reactiveOmit(props, "class")
18
-
2
+ import type { DropdownMenuRadioItemEmits, DropdownMenuRadioItemProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { Circle } from "@lucide/vue"
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import {
7
+ DropdownMenuItemIndicator,
8
+ DropdownMenuRadioItem,
9
+ useForwardPropsEmits,
10
+ } from "reka-ui"
11
+ import { cn } from "@/lib/utils"
12
+
13
+ const props = defineProps<DropdownMenuRadioItemProps & { class?: HTMLAttributes["class"] }>()
14
+
15
+ const emits = defineEmits<DropdownMenuRadioItemEmits>()
16
+
17
+ const delegatedProps = reactiveOmit(props, "class")
18
+
19
19
  const forwarded = useForwardPropsEmits(delegatedProps, emits)
20
20
  </script>
21
21
 
@@ -1,16 +1,16 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuSeparatorProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import {
6
- DropdownMenuSeparator,
7
- } from "reka-ui"
8
- import { cn } from "@/lib/utils"
9
-
10
- const props = defineProps<DropdownMenuSeparatorProps & {
11
- class?: HTMLAttributes["class"]
12
- }>()
13
-
2
+ import type { DropdownMenuSeparatorProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import {
6
+ DropdownMenuSeparator,
7
+ } from "reka-ui"
8
+ import { cn } from "@/lib/utils"
9
+
10
+ const props = defineProps<DropdownMenuSeparatorProps & {
11
+ class?: HTMLAttributes["class"]
12
+ }>()
13
+
14
14
  const delegatedProps = reactiveOmit(props, "class")
15
15
  </script>
16
16
 
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
- import type { HTMLAttributes } from "vue"
3
- import { cn } from "@/lib/utils"
4
-
5
- const props = defineProps<{
6
- class?: HTMLAttributes["class"]
2
+ import type { HTMLAttributes } from "vue"
3
+ import { cn } from "@/lib/utils"
4
+
5
+ const props = defineProps<{
6
+ class?: HTMLAttributes["class"]
7
7
  }>()
8
8
  </script>
9
9
 
@@ -1,13 +1,13 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuSubEmits, DropdownMenuSubProps } from "reka-ui"
3
- import {
4
- DropdownMenuSub,
5
- useForwardPropsEmits,
6
- } from "reka-ui"
7
-
8
- const props = defineProps<DropdownMenuSubProps>()
9
- const emits = defineEmits<DropdownMenuSubEmits>()
10
-
2
+ import type { DropdownMenuSubEmits, DropdownMenuSubProps } from "reka-ui"
3
+ import {
4
+ DropdownMenuSub,
5
+ useForwardPropsEmits,
6
+ } from "reka-ui"
7
+
8
+ const props = defineProps<DropdownMenuSubProps>()
9
+ const emits = defineEmits<DropdownMenuSubEmits>()
10
+
11
11
  const forwarded = useForwardPropsEmits(props, emits)
12
12
  </script>
13
13
 
@@ -1,18 +1,18 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuSubContentEmits, DropdownMenuSubContentProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import {
6
- DropdownMenuSubContent,
7
- useForwardPropsEmits,
8
- } from "reka-ui"
9
- import { cn } from "@/lib/utils"
10
-
11
- const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
12
- const emits = defineEmits<DropdownMenuSubContentEmits>()
13
-
14
- const delegatedProps = reactiveOmit(props, "class")
15
-
2
+ import type { DropdownMenuSubContentEmits, DropdownMenuSubContentProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import {
6
+ DropdownMenuSubContent,
7
+ useForwardPropsEmits,
8
+ } from "reka-ui"
9
+ import { cn } from "@/lib/utils"
10
+
11
+ const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes["class"] }>()
12
+ const emits = defineEmits<DropdownMenuSubContentEmits>()
13
+
14
+ const delegatedProps = reactiveOmit(props, "class")
15
+
16
16
  const forwarded = useForwardPropsEmits(delegatedProps, emits)
17
17
  </script>
18
18
 
@@ -1,17 +1,17 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuSubTriggerProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { ChevronRight } from "@lucide/vue"
5
- import { reactiveOmit } from "@vueuse/core"
6
- import {
7
- DropdownMenuSubTrigger,
8
- useForwardProps,
9
- } from "reka-ui"
10
- import { cn } from "@/lib/utils"
11
-
12
- const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
13
-
14
- const delegatedProps = reactiveOmit(props, "class", "inset")
2
+ import type { DropdownMenuSubTriggerProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { ChevronRight } from "@lucide/vue"
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import {
7
+ DropdownMenuSubTrigger,
8
+ useForwardProps,
9
+ } from "reka-ui"
10
+ import { cn } from "@/lib/utils"
11
+
12
+ const props = defineProps<DropdownMenuSubTriggerProps & { class?: HTMLAttributes["class"], inset?: boolean }>()
13
+
14
+ const delegatedProps = reactiveOmit(props, "class", "inset")
15
15
  const forwardedProps = useForwardProps(delegatedProps)
16
16
  </script>
17
17
 
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
- import type { DropdownMenuTriggerProps } from "reka-ui"
3
- import { DropdownMenuTrigger, useForwardProps } from "reka-ui"
4
-
5
- const props = defineProps<DropdownMenuTriggerProps>()
6
-
2
+ import type { DropdownMenuTriggerProps } from "reka-ui"
3
+ import { DropdownMenuTrigger, useForwardProps } from "reka-ui"
4
+
5
+ const props = defineProps<DropdownMenuTriggerProps>()
6
+
7
7
  const forwardedProps = useForwardProps(props)
8
8
  </script>
9
9
 
@@ -1,16 +1,16 @@
1
- export { default as DropdownMenu } from "./DropdownMenu.vue"
2
-
3
- export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue"
4
- export { default as DropdownMenuContent } from "./DropdownMenuContent.vue"
5
- export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue"
6
- export { default as DropdownMenuItem } from "./DropdownMenuItem.vue"
7
- export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue"
8
- export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue"
9
- export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue"
10
- export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue"
11
- export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue"
12
- export { default as DropdownMenuSub } from "./DropdownMenuSub.vue"
13
- export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue"
14
- export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue"
15
- export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue"
1
+ export { default as DropdownMenu } from "./DropdownMenu.vue"
2
+
3
+ export { default as DropdownMenuCheckboxItem } from "./DropdownMenuCheckboxItem.vue"
4
+ export { default as DropdownMenuContent } from "./DropdownMenuContent.vue"
5
+ export { default as DropdownMenuGroup } from "./DropdownMenuGroup.vue"
6
+ export { default as DropdownMenuItem } from "./DropdownMenuItem.vue"
7
+ export { default as DropdownMenuLabel } from "./DropdownMenuLabel.vue"
8
+ export { default as DropdownMenuRadioGroup } from "./DropdownMenuRadioGroup.vue"
9
+ export { default as DropdownMenuRadioItem } from "./DropdownMenuRadioItem.vue"
10
+ export { default as DropdownMenuSeparator } from "./DropdownMenuSeparator.vue"
11
+ export { default as DropdownMenuShortcut } from "./DropdownMenuShortcut.vue"
12
+ export { default as DropdownMenuSub } from "./DropdownMenuSub.vue"
13
+ export { default as DropdownMenuSubContent } from "./DropdownMenuSubContent.vue"
14
+ export { default as DropdownMenuSubTrigger } from "./DropdownMenuSubTrigger.vue"
15
+ export { default as DropdownMenuTrigger } from "./DropdownMenuTrigger.vue"
16
16
  export { DropdownMenuPortal } from "reka-ui"
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
- import { Slot } from "reka-ui"
3
- import { useFormField } from "./useFormField"
4
-
2
+ import { Slot } from "reka-ui"
3
+ import { useFormField } from "./useFormField"
4
+
5
5
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField()
6
6
  </script>
7
7
 
@@ -1,12 +1,12 @@
1
1
  <script lang="ts" setup>
2
- import type { HTMLAttributes } from "vue"
3
- import { cn } from "@/lib/utils"
4
- import { useFormField } from "./useFormField"
5
-
6
- const props = defineProps<{
7
- class?: HTMLAttributes["class"]
8
- }>()
9
-
2
+ import type { HTMLAttributes } from "vue"
3
+ import { cn } from "@/lib/utils"
4
+ import { useFormField } from "./useFormField"
5
+
6
+ const props = defineProps<{
7
+ class?: HTMLAttributes["class"]
8
+ }>()
9
+
10
10
  const { formDescriptionId } = useFormField()
11
11
  </script>
12
12
 
@@ -1,15 +1,15 @@
1
1
  <script lang="ts" setup>
2
- import type { HTMLAttributes } from "vue"
3
- import { useId } from "reka-ui"
4
- import { provide } from "vue"
5
- import { cn } from "@/lib/utils"
6
- import { FORM_ITEM_INJECTION_KEY } from "./injectionKeys"
7
-
8
- const props = defineProps<{
9
- class?: HTMLAttributes["class"]
10
- }>()
11
-
12
- const id = useId()
2
+ import type { HTMLAttributes } from "vue"
3
+ import { useId } from "reka-ui"
4
+ import { provide } from "vue"
5
+ import { cn } from "@/lib/utils"
6
+ import { FORM_ITEM_INJECTION_KEY } from "./injectionKeys"
7
+
8
+ const props = defineProps<{
9
+ class?: HTMLAttributes["class"]
10
+ }>()
11
+
12
+ const id = useId()
13
13
  provide(FORM_ITEM_INJECTION_KEY, id)
14
14
  </script>
15
15