Merge branch 'dev' into refactor/use-class-prop

This commit is contained in:
Sadegh Barati 2024-01-31 21:02:38 +03:30 committed by GitHub
commit 010a3bd62a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 47 additions and 66 deletions

View File

@ -6,62 +6,27 @@ body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
**Before You Start...** Thanks for taking the time to fill out this bug report!
This form is only for submitting bug reports. If you have a usage question This form is only for submitting bug reports. If you have a usage question
or are unsure if this is really a bug, make sure to: or are unsure if this is really a bug, make sure to:
- Read the [docs](https://radix-vue.com/) - Read the [docs](https://radix-vue.com/)
- Ask on [Discord Chat](https://chat.radix-vue.com/) - Ask on [Discord Chat](https://chat.radix-vue.com/)
- Ask on [GitHub Discussions](https://github.com/shadcn-vue/shadcn-vue/discussions) - Ask on [GitHub Discussions](https://github.com/shadcn-vue/shadcn-vue/discussions)
Also try to search for your issue - it may have already been answered or even fixed.
However, if you find that an old, closed issue still persists in the latest version,
you should open a new issue using the form below instead of commenting on the old issue.
- type: textarea
id: bug-env
attributes:
label: Environment
description: Please provide the following information about your environment.
value: |
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager: pnpm@8.6.0
Radix Vue version: 1.0.0
Shadcn Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework: tailwindcss@3.3.3
Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212
render: bash
validations:
required: true
- type: input - type: input
id: reproduction-link id: reproduction
attributes: attributes:
label: Link to minimal reproduction label: Reproduction
description: | description: |
Please provide a link to a minimal reproduction of the bug. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is **required**, otherwise the issue might be closed without further notice. [**Why?**](https://antfu.me/posts/why-reproductions-are-required)
A minimal reproduction is a CodeSandbox, CodePen, or a StackBlitz that contains the bare minimum amount of code needed to show the bug.
A minimal reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem
This is **required** for us to be able to triage your issue in a timely manner. To get started, you can use the StackBlitz and CodeSandbox playgrounds in shadcn-vue demos:
https://www.shadcn-vue.com/docs/components/accordion.html
Please do not just fill in a random link. The issue will be closed if no valid reproduction is provided. or use template presets
placeholder: Reproduction Link https://vite.new
validations: https://nuxt.new
required: true placeholder: Reproduction
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: |
How do you trigger this bug? Please walk us through it step by step.
Note that you can use [Markdown](https://guides.github.com/features/mastering-markdown/) to format lists and code.
placeholder: Steps to reproduce
validations: validations:
required: true required: true
- type: textarea - type: textarea
@ -73,14 +38,18 @@ body:
validations: validations:
required: true required: true
- type: textarea - type: textarea
id: expected-behavior id: system-info
attributes: attributes:
label: Expected behavior label: System Info
description: A clear and concise description of what you expected to happen. description: Output of `npx envinfo --system --npmPackages vue,@vueuse/core,radix-vue,nuxt,shadcn-vue,shadcn-nuxt,unplugin-auto-import --binaries --browsers`
- type: textarea render: bash
id: screenshots placeholder: System, Binaries, Browsers
validations:
required: true
- type: checkboxes
id: contributes
attributes: attributes:
label: Conext & Screenshots (if applicable) label: Contributes
description: | options:
If applicable, provide any additional context or screenshots of the bug. - label: I am willing to submit a PR to fix this issue
You can drag and drop images here to add them to the issue. - label: I am willing to submit a PR with failing tests

View File

@ -124,16 +124,22 @@ const vCalendarSlots = computed(() => {
@apply flex; @apply flex;
} }
.calendar .vc-weekday { .calendar .vc-weekday {
@apply text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]; @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem];
}
.calendar .vc-weekday-1 {
@apply pr-3;
}
.calendar .vc-weekday-7 {
@apply pl-3;
} }
.calendar .vc-weeks { .calendar .vc-weeks {
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
} }
.calendar .vc-day:has(.vc-highlights) { .calendar .vc-day:has(.vc-highlights) {
@apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden; @apply first:rounded-l-md last:rounded-r-md;
} }
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) { .calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content {
@apply bg-secondary rounded-md; @apply bg-secondary text-primary rounded-md;
} }
.calendar .vc-day:has(.vc-highlight-base-start) { .calendar .vc-day:has(.vc-highlight-base-start) {
@apply rounded-l-md; @apply rounded-l-md;

View File

@ -124,16 +124,22 @@ const vCalendarSlots = computed(() => {
@apply flex; @apply flex;
} }
.calendar .vc-weekday { .calendar .vc-weekday {
@apply text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]; @apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem];
} }
.calendar .vc-weekday-1 {
@apply pr-3;
}
.calendar .vc-weekday-7 {
@apply pl-3;
}
.calendar .vc-weeks { .calendar .vc-weeks {
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7; @apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
} }
.calendar .vc-day:has(.vc-highlights) { .calendar .vc-day:has(.vc-highlights) {
@apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden; @apply first:rounded-l-md last:rounded-r-md;
} }
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) { .calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content {
@apply bg-secondary rounded-md; @apply bg-secondary text-primary rounded-md;
} }
.calendar .vc-day:has(.vc-highlight-base-start) { .calendar .vc-day:has(.vc-highlight-base-start) {
@apply rounded-l-md; @apply rounded-l-md;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long