Skip to content

Commit 9b9371e

Browse files
committed
move button component to ui package
1 parent 0648437 commit 9b9371e

21 files changed

+1087
-516
lines changed

resources/js/Components/Common/Reporting/ReportingFilterBadge.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Button } from '@/Components/ui/button';
2+
import { Button } from '@/packages/ui/src';
33
44
const props = defineProps<{
55
icon: Component;

resources/js/Components/Common/Reporting/ReportingRoundingControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { Switch } from '@/Components/ui/switch';
33
import { Popover, PopoverContent, PopoverTrigger } from '@/Components/ui/popover';
4-
import { Button } from '@/Components/ui/button';
4+
import { Button } from '@/packages/ui/src';
55
import {
66
Select,
77
SelectContent,

resources/js/Components/ui/alert-dialog/AlertDialogAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { buttonVariants } from '@/Components/ui/button';
2+
import { buttonVariants } from '@/packages/ui/src';
33
import { AlertDialogAction, type AlertDialogActionProps } from 'reka-ui';
44
import { computed, type HTMLAttributes } from 'vue';
55
import { twMerge } from 'tailwind-merge';

resources/js/Components/ui/alert-dialog/AlertDialogCancel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { buttonVariants } from '@/Components/ui/button';
2+
import { buttonVariants } from '@/packages/ui/src';
33
import { AlertDialogCancel, type AlertDialogCancelProps } from 'reka-ui';
44
import { computed, type HTMLAttributes } from 'vue';
55
import { twMerge } from 'tailwind-merge';

resources/js/Components/ui/calendar/CalendarCellTrigger.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
2-
import { cn } from '@/lib/utils';
3-
import { buttonVariants } from '@/Components/ui/button';
2+
import { cn, buttonVariants } from '@/packages/ui/src';
43
import { CalendarCellTrigger, type CalendarCellTriggerProps, useForwardProps } from 'reka-ui';
54
import { computed, type HTMLAttributes } from 'vue';
65

resources/js/Components/ui/calendar/CalendarDateInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { Popover, PopoverContent, PopoverTrigger } from '@/Components/ui/popover';
3-
import { Button } from '@/Components/ui/button';
3+
import { Button } from '@/packages/ui/src';
44
import { Calendar } from '@/Components/ui/calendar';
55
import { CalendarIcon, XIcon } from 'lucide-vue-next';
66
import { formatDate } from '@/packages/ui/src/utils/time';

resources/js/Components/ui/calendar/CalendarNextButton.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
2-
import { cn } from '@/lib/utils';
3-
import { buttonVariants } from '@/Components/ui/button';
2+
import { cn, buttonVariants } from '@solidtime/ui';
43
import { ChevronRight } from 'lucide-vue-next';
54
import { CalendarNext, type CalendarNextProps, useForwardProps } from 'reka-ui';
65
import { computed, type HTMLAttributes } from 'vue';

resources/js/Components/ui/calendar/CalendarPrevButton.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
2-
import { cn } from '@/lib/utils';
3-
import { buttonVariants } from '@/Components/ui/button';
2+
import { cn, buttonVariants } from '@/packages/ui/src';
43
import { ChevronLeft } from 'lucide-vue-next';
54
import { CalendarPrev, type CalendarPrevProps, useForwardProps } from 'reka-ui';
65
import { computed, type HTMLAttributes } from 'vue';

resources/js/Components/ui/range-calendar/RangeCalendarCellTrigger.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
2-
import { cn } from '@/lib/utils';
3-
import { buttonVariants } from '@/Components/ui/button';
2+
import { cn, buttonVariants } from '@/packages/ui/src';
43
import {
54
RangeCalendarCellTrigger,
65
type RangeCalendarCellTriggerProps,

resources/js/Components/ui/range-calendar/RangeCalendarNextButton.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
2-
import { cn } from '@/lib/utils';
3-
import { buttonVariants } from '@/Components/ui/button';
2+
import { cn, buttonVariants } from '@/packages/ui/src';
43
import { ChevronRight } from 'lucide-vue-next';
54
import { RangeCalendarNext, type RangeCalendarNextProps, useForwardProps } from 'reka-ui';
65
import { computed, type HTMLAttributes } from 'vue';

0 commit comments

Comments
 (0)