Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next #917

Open
wants to merge 41 commits into
base: dev
Choose a base branch
from
Open

Next #917

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d2b3a87
refactor: radix-vue to reka-ui
zernonia Nov 4, 2024
f878cd1
chore: bump reka-ui version
zernonia Nov 4, 2024
f079f01
refactor: perform migration
zernonia Nov 4, 2024
19aacd9
chore: bump reka version
zernonia Nov 8, 2024
5ff9cda
chore: update deps
zernonia Nov 19, 2024
215e365
Merge remote-tracking branch 'origin/dev' into next-reka
zernonia Nov 19, 2024
da5f362
chore: run pnpm i and build regsitry
zernonia Nov 19, 2024
5c4b16c
docs: update reference api link
zernonia Nov 19, 2024
f3f84b8
chore: revamp sitte
zernonia Nov 19, 2024
6927943
docs: update content, styling
zernonia Nov 20, 2024
8cd51af
refactor: new CLI
zernonia Nov 20, 2024
5ff0b20
refactor: build registry
zernonia Nov 21, 2024
ac14ca8
chore: move registry, update import path, run app
zernonia Nov 21, 2024
aec80c9
refactor: build registry
zernonia Nov 21, 2024
ec54afa
chore: lint generated files
zernonia Nov 21, 2024
01808de
refactor: cli, add test
zernonia Nov 22, 2024
097830a
docs: fix build, update paths
zernonia Nov 22, 2024
bb5d5b2
docs: block preview and codes
zernonia Nov 22, 2024
360e55f
chore: add sidebars block
zernonia Nov 25, 2024
99c685e
chore: add sidebars block (2/2)
zernonia Nov 25, 2024
41d8363
docs: sidebar
zernonia Nov 25, 2024
d963607
chore: fix json
zernonia Nov 25, 2024
6d2515f
chore: fix crawled content
zernonia Nov 26, 2024
ec790cb
chore: fix regsitry dependencies adding .vue files
zernonia Nov 26, 2024
b3e10e4
chore: make sure to detect reka-ui as deps
zernonia Nov 26, 2024
b4e1135
feat: transform icons
zernonia Nov 27, 2024
8fec27e
refactor: replace with lucide icon, dropped v-calendar
zernonia Nov 27, 2024
47c4fbf
chore: cleanup
zernonia Nov 27, 2024
124f282
test: update
zernonia Nov 27, 2024
dc5c3fb
chore: update playground
zernonia Nov 27, 2024
2326784
chore: release next tag
zernonia Nov 27, 2024
69fbfb3
chore: release v1.0.0-next.0
zernonia Nov 27, 2024
20bb9c6
chore: update demo
zernonia Nov 27, 2024
b8f60e6
Merge branch 'dev' into next-reka
sadeghbarati Dec 4, 2024
3f0ded8
refactor: replace `kleur` with `consola` colors
sadeghbarati Dec 4, 2024
8a8d1ef
refactor: use `get-tsconfig` instead of `tsconfig-paths`
sadeghbarati Dec 4, 2024
5eee449
chore: build registry
sadeghbarati Dec 4, 2024
4d87066
chore: bump cli tag
sadeghbarati Dec 4, 2024
b5cf49e
chore: bump reka
zernonia Dec 10, 2024
d7c4f34
refactor(Command): adapt command component to use listbox
zernonia Dec 10, 2024
1804019
refactor(Command, Combobox): adapt to respective component
zernonia Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ body:
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:

- Read the [docs](https://radix-vue.com/)
- Ask on [Discord Chat](https://chat.radix-vue.com/)
- Read the [docs](https://reka-ui.com/)
- Ask on [Discord Chat](https://chat.unovue.com/)
- Ask on [GitHub Discussions](https://github.com/shadcn-vue/shadcn-vue/discussions)
- type: input
id: reproduction
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: true
contact_links:
# - name: 📚 Documentation
# url: https://www.radix-vue.com/
# url: https://www.reka-ui.com/
# about: Check the documentation for usage of Radix Vue.
- name: 🗨️ Discord
url: https://chat.radix-vue.com/
url: https://chat.unovue.com/
about: Join the Radix Vue Discord server.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body:
id: feature-description
attributes:
label: Describe the feature
description: A clear and concise description of what you think would be a helpful addition to radix-vue, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link.
description: A clear and concise description of what you think would be a helpful addition to shadcn-vue, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link.
placeholder: Feature description
validations:
required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# .github/workflows/release.yml

name: Release
name: Release (next)

permissions:
contents: write
Expand Down Expand Up @@ -29,11 +29,11 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Build CLI & Publish to npm
run: pnpm --filter shadcn-vue pub:release
run: pnpm --filter shadcn-vue pub:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build Module & Publish to npm
run: pnpm --filter shadcn-nuxt pub:release
run: pnpm --filter shadcn-nuxt pub:next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

.nuxt
# .nuxt
.env
node_modules
.DS_Store
Expand All @@ -34,4 +34,4 @@ test-results/
playwright-report/
vite.config.ts.timestamp*

**/.vitepress/cache/*
**/.vitepress/cache/*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
shell-emulator=true
auto-install-peers=true
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thanks for your interest in contributing to shadcn-vue.com. We're happy to have

Please take a moment to review this document before submitting your first pull request. We also strongly recommend that you check for open issues and pull requests to see if someone else is working on something similar.

If you need any help, feel free to reach out to the core team on [Discord](https://chat.radix-vue.com/).
If you need any help, feel free to reach out to the core team on [Discord](https://chat.unovue.com/).

## About this repository

Expand Down Expand Up @@ -36,15 +36,15 @@ packages
| ----------------------------| -------------------------------------------|
| `apps/www/.vitepress` | The Vitepress application for the website. |
| `apps/www/src/content` | The content for the website. |
| `apps/www/src/lib/registry` | The registry for the components. |
| `apps/www/registry` | The registry for the components. |
| `packages/cli` | The `shadcn-vue` package. |

## Development

### Start by cloning the repository:

```
git clone [email protected]:radix-vue/shadcn-vue.git
git clone [email protected]:unovue/shadcn-vue.git
```

### Install dependencies
Expand Down Expand Up @@ -83,7 +83,7 @@ Documentation is written using [md](https://vitepress.dev/guide/markdown). You c

## Components

We use a registry system for developing components. You can find the source code for the components under `apps/www/src/lib/registry`. The components are organized by styles.
We use a registry system for developing components. You can find the source code for the components under `apps/www/registry`. The components are organized by styles.

```bash
apps
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 radix-vue
Copyright (c) 2023 unovue

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img align="center" src="https://raw.githubusercontent.com/radix-vue/shadcn-vue/dev/apps/www/src/public/android-chrome-192x192.png" height="96" />
<img align="center" src="https://raw.githubusercontent.com/unovue/shadcn-vue/dev/apps/www/src/public/android-chrome-192x192.png" height="96" />
<h1 align="center">
shadcn-vue
</h1>
Expand All @@ -23,7 +23,7 @@ All credits go to these open-source works and resources

- [Shadcn UI](https://ui.shadcn.com) for creating this beautiful project.
- [Shadcn Svelte](https://shadcn-svelte.com) for some inspiration for registry.
- [Radix Vue](https://radix-vue.com) for doing all the hard work to make sure components are accessible.
- [Radix Vue](https://reka-ui.com) for doing all the hard work to make sure components are accessible.
- [VueUse](https://vueuse.org) for providing many useful utilities.

- [ahmedmayara](https://github.com/ahmedmayara/shadcn-vue) for populating many components
Expand Down
4 changes: 2 additions & 2 deletions apps/www/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
['meta', { name: 'theme-color', media: '(prefers-color-scheme: light)', content: 'white' }],
['meta', { name: 'theme-color', media: '(prefers-color-scheme: dark)', content: 'black' }],

['meta', { name: 'creator', content: 'radix-vue' }],
['meta', { name: 'creator', content: 'reka-ui' }],
['meta', { name: 'theme-color', content: '#41b883' }],
['meta', { name: 'og:type', content: 'website' }],
['meta', { name: 'og:locale', content: 'en' }],
Expand All @@ -45,7 +45,7 @@ export default defineConfig({
provider: 'local',
},
editLink: {
pattern: 'https://github.com/radix-vue/shadcn-vue/tree/dev/apps/www/src/:path',
pattern: 'https://github.com/unovue/shadcn-vue/tree/dev/apps/www/src/:path',
text: 'Edit this page on GitHub',
},
carbonAds: {
Expand Down
8 changes: 3 additions & 5 deletions apps/www/.vitepress/theme/components/Announcement.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<script setup lang="ts">
import { Separator } from '@/lib/registry/default/ui/separator'
import ArrowRightIcon from '~icons/radix-icons/arrow-right'
import { announcementConfig } from '../config/site'
</script>

<template>
<a
:href="announcementConfig.link"
class="inline-flex items-center rounded-lg bg-muted px-3 py-1 text-sm font-medium"
class="group mb-2 inline-flex items-center px-0.5 text-sm font-medium"
>
{{ announcementConfig.icon }} <Separator class="mx-2 h-4" orientation="vertical" />
<span class="sm:hidden">{{ announcementConfig.title }}</span>
<span class="hidden sm:inline">
<span class="sm:hidden underline-offset-4 group-hover:underline">{{ announcementConfig.title }}</span>
<span class="hidden sm:inline underline-offset-4 group-hover:underline">
{{ announcementConfig.title }}
</span>
<ArrowRightIcon class="ml-1 h-4 w-4" />
Expand Down
Loading
Loading