diff --git a/resources/js/components/ui/button-group/ButtonGroup.vue b/resources/js/components/ui/button-group/ButtonGroup.vue
new file mode 100644
index 0000000..9dbef6a
--- /dev/null
+++ b/resources/js/components/ui/button-group/ButtonGroup.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
diff --git a/resources/js/components/ui/button-group/ButtonGroupSeparator.vue b/resources/js/components/ui/button-group/ButtonGroupSeparator.vue
new file mode 100644
index 0000000..e069dd5
--- /dev/null
+++ b/resources/js/components/ui/button-group/ButtonGroupSeparator.vue
@@ -0,0 +1,24 @@
+
+
+
+
+
diff --git a/resources/js/components/ui/button-group/ButtonGroupText.vue b/resources/js/components/ui/button-group/ButtonGroupText.vue
new file mode 100644
index 0000000..c436843
--- /dev/null
+++ b/resources/js/components/ui/button-group/ButtonGroupText.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
diff --git a/resources/js/components/ui/button-group/index.ts b/resources/js/components/ui/button-group/index.ts
new file mode 100644
index 0000000..3fd207a
--- /dev/null
+++ b/resources/js/components/ui/button-group/index.ts
@@ -0,0 +1,25 @@
+import type { VariantProps } from "class-variance-authority"
+import { cva } from "class-variance-authority"
+
+export { default as ButtonGroup } from "./ButtonGroup.vue"
+export { default as ButtonGroupSeparator } from "./ButtonGroupSeparator.vue"
+export { default as ButtonGroupText } from "./ButtonGroupText.vue"
+
+export const buttonGroupVariants = cva(
+ "flex w-fit items-stretch [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",
+ {
+ variants: {
+ orientation: {
+ horizontal:
+ "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",
+ vertical:
+ "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none",
+ },
+ },
+ defaultVariants: {
+ orientation: "horizontal",
+ },
+ },
+)
+
+export type ButtonGroupVariants = VariantProps
diff --git a/resources/js/components/ui/separator/Separator.vue b/resources/js/components/ui/separator/Separator.vue
index 9d28574..5429089 100644
--- a/resources/js/components/ui/separator/Separator.vue
+++ b/resources/js/components/ui/separator/Separator.vue
@@ -1,17 +1,18 @@
@@ -20,7 +21,7 @@ const delegatedProps = reactiveOmit(props, 'class')
v-bind="delegatedProps"
:class="
cn(
- `bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px`,
+ 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
props.class,
)
"
diff --git a/resources/js/components/ui/separator/index.ts b/resources/js/components/ui/separator/index.ts
index 2287bcb..4407287 100644
--- a/resources/js/components/ui/separator/index.ts
+++ b/resources/js/components/ui/separator/index.ts
@@ -1 +1 @@
-export { default as Separator } from './Separator.vue'
+export { default as Separator } from "./Separator.vue"