-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: change review button to justify-left & lint fixes
- Loading branch information
KishinZW
committed
Mar 9, 2025
1 parent
2c4b42d
commit 7a0f253
Showing
19 changed files
with
222 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<script lang="ts" setup> | ||
import { CalendarGridBody, type CalendarGridBodyProps } from 'reka-ui' | ||
const props = defineProps<CalendarGridBodyProps>() | ||
</script> | ||
|
||
<template> | ||
<CalendarGridBody v-bind="props"> | ||
<slot /> | ||
</CalendarGridBody> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { CalendarGridBody, type CalendarGridBodyProps } from 'reka-ui'; | ||
const props = defineProps<CalendarGridBodyProps>(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<script lang="ts" setup> | ||
import type { HTMLAttributes } from 'vue' | ||
import { CalendarGridHead, type CalendarGridHeadProps } from 'reka-ui' | ||
const props = defineProps<CalendarGridHeadProps & { class?: HTMLAttributes['class'] }>() | ||
</script> | ||
|
||
<template> | ||
<CalendarGridHead v-bind="props"> | ||
<slot /> | ||
</CalendarGridHead> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import type { HTMLAttributes } from 'vue'; | ||
import { CalendarGridHead, type CalendarGridHeadProps } from 'reka-ui'; | ||
const props = defineProps<CalendarGridHeadProps & { class?: HTMLAttributes['class'] }>(); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<template> | ||
<CalendarGridRow :class="cn('flex', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarGridRow> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { cn } from '@/lib/utils' | ||
import { CalendarGridRow, type CalendarGridRowProps, useForwardProps } from 'reka-ui' | ||
import { computed, type HTMLAttributes } from 'vue' | ||
import { CalendarGridRow, type CalendarGridRowProps, useForwardProps } from 'reka-ui'; | ||
import { type HTMLAttributes, computed } from 'vue'; | ||
import { cn } from '@/lib/utils'; | ||
const props = defineProps<CalendarGridRowProps & { class?: HTMLAttributes['class'] }>() | ||
const props = defineProps<CalendarGridRowProps & { class?: HTMLAttributes['class'] }>(); | ||
const delegatedProps = computed(() => { | ||
const { class: _, ...delegated } = props | ||
const { class: _, ...delegated } = props; | ||
return delegated | ||
}) | ||
return delegated; | ||
}); | ||
const forwardedProps = useForwardProps(delegatedProps) | ||
const forwardedProps = useForwardProps(delegatedProps); | ||
</script> | ||
|
||
<template> | ||
<CalendarGridRow :class="cn('flex', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarGridRow> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<template> | ||
<CalendarHeadCell :class="cn('w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarHeadCell> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { cn } from '@/lib/utils' | ||
import { CalendarHeadCell, type CalendarHeadCellProps, useForwardProps } from 'reka-ui' | ||
import { computed, type HTMLAttributes } from 'vue' | ||
import { CalendarHeadCell, type CalendarHeadCellProps, useForwardProps } from 'reka-ui'; | ||
import { type HTMLAttributes, computed } from 'vue'; | ||
import { cn } from '@/lib/utils'; | ||
const props = defineProps<CalendarHeadCellProps & { class?: HTMLAttributes['class'] }>() | ||
const props = defineProps<CalendarHeadCellProps & { class?: HTMLAttributes['class'] }>(); | ||
const delegatedProps = computed(() => { | ||
const { class: _, ...delegated } = props | ||
const { class: _, ...delegated } = props; | ||
return delegated | ||
}) | ||
return delegated; | ||
}); | ||
const forwardedProps = useForwardProps(delegatedProps) | ||
const forwardedProps = useForwardProps(delegatedProps); | ||
</script> | ||
|
||
<template> | ||
<CalendarHeadCell :class="cn('w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarHeadCell> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<template> | ||
<CalendarHeader :class="cn('relative flex w-full items-center justify-between pt-1', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarHeader> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { cn } from '@/lib/utils' | ||
import { CalendarHeader, type CalendarHeaderProps, useForwardProps } from 'reka-ui' | ||
import { computed, type HTMLAttributes } from 'vue' | ||
import { CalendarHeader, type CalendarHeaderProps, useForwardProps } from 'reka-ui'; | ||
import { type HTMLAttributes, computed } from 'vue'; | ||
import { cn } from '@/lib/utils'; | ||
const props = defineProps<CalendarHeaderProps & { class?: HTMLAttributes['class'] }>() | ||
const props = defineProps<CalendarHeaderProps & { class?: HTMLAttributes['class'] }>(); | ||
const delegatedProps = computed(() => { | ||
const { class: _, ...delegated } = props | ||
const { class: _, ...delegated } = props; | ||
return delegated | ||
}) | ||
return delegated; | ||
}); | ||
const forwardedProps = useForwardProps(delegatedProps) | ||
const forwardedProps = useForwardProps(delegatedProps); | ||
</script> | ||
|
||
<template> | ||
<CalendarHeader :class="cn('relative flex w-full items-center justify-between pt-1', props.class)" v-bind="forwardedProps"> | ||
<slot /> | ||
</CalendarHeader> | ||
</template> |
Oops, something went wrong.