Skip to content

Commit

Permalink
chore: update github organization urls (unovue#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikxin authored Oct 26, 2024
1 parent bc453b3 commit 78e9794
Show file tree
Hide file tree
Showing 23 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body:
- Read the [docs](https://radix-vue.com/)
- Ask on [Discord Chat](https://chat.radix-vue.com/)
- Ask on [GitHub Discussions](https://github.com/radix-vue/radix-vue/discussions)
- Ask on [GitHub Discussions](https://github.com/unovue/radix-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,
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<br />
<p align="center">
<a href="https://github.com/radix-vue/radix-vue">
<a href="https://github.com/unovue/radix-vue">
<img src="https://www.radix-vue.com/logo.svg" alt="Logo" width="150" />
</a>

Expand All @@ -14,11 +14,11 @@ Radix is an unstyled, customisable UI Library with built in accessibility for bu
<p>

<p align="center">
<a href='https://github.com/radix-vue/radix-vue/actions/workflows/test.yml'>
<a href='https://github.com/unovue/radix-vue/actions/workflows/test.yml'>
</a>
<a href="https://www.npmjs.com/package/radix-vue" target="__blank"><img src="https://img.shields.io/npm/v/radix-vue?style=flat&colorA=002438&colorB=41c399" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/radix-vue" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/radix-vue?flat&colorA=002438&colorB=41c399"></a>
<a href="https://github.com/radix-vue/radix-vue" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/radix-vue/radix-vue?flat&colorA=002438&colorB=41c399"></a>
<a href="https://github.com/unovue/radix-vue" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/unovue/radix-vue?flat&colorA=002438&colorB=41c399"></a>
</p>

<p align="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ For full documentation, visit [radix-vue.com](https://radix-vue.com).

## Releases

For changelog, visit [releases](https://github.com/radix-vue/radix-vue/releases).
For changelog, visit [releases](https://github.com/unovue/radix-vue/releases).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default defineConfig({
provider: 'local',
},
editLink: {
pattern: 'https://github.com/radix-vue/radix-vue/edit/main/docs/content/:path',
pattern: 'https://github.com/unovue/radix-vue/edit/main/docs/content/:path',
},
carbonAds: {
code: 'CW7DV27J',
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/layouts/showcase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { frontmatter } = useData()
text="Add Showcase"
class="mt-6"
target="_blank"
href="https://github.com/radix-vue/radix-vue/blob/main/docs/content/showcase.md"
href="https://github.com/unovue/radix-vue/blob/main/docs/content/showcase.md"
/>
</div>

Expand Down
6 changes: 3 additions & 3 deletions docs/.vitepress/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export const ogUrl = 'https://radix-vue.com/'
export const ogImage = `${ogUrl}og.jpg`

/* GitHub and social links */
export const github = 'https://github.com/radix-vue/radix-vue'
export const releases = 'https://github.com/radix-vue/radix-vue/releases'
export const contributing = 'https://github.com/radix-vue/radix-vue/blob/main/CONTRIBUTING.md'
export const github = 'https://github.com/unovue/radix-vue'
export const releases = 'https://github.com/unovue/radix-vue/releases'
export const contributing = 'https://github.com/unovue/radix-vue/blob/main/CONTRIBUTING.md'
export const discord = 'https://chat.radix-vue.com'
// export const mastodon = "https://elk.zone/m.webtoo.ls/@vitest";
// export const twitter = "https://twitter.com/vitest_dev";
Expand Down
2 changes: 1 addition & 1 deletion docs/components/demo/Collapsible/css/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const open = ref(false)
</div>

<div class="Repository">
<span class="Text">@radix-vue/radix-vue</span>
<span class="Text">@unovue/radix-vue</span>
</div>

<CollapsibleContent>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/demo/Collapsible/tailwind/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const open = ref(false)
</div>

<div class="bg-white rounded mt-[10px] p-[10px] shadow-[0_2px_10px] shadow-blackA7">
<span class="text-grass11 text-[15px] leading-[25px]">@radix-vue/radix-vue</span>
<span class="text-grass11 text-[15px] leading-[25px]">@unovue/radix-vue</span>
</div>

<CollapsibleContent class="data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion docs/content/components/combobox.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ const selectedPeople = ref([people[0], people[1]])

### Custom filtering

Internally, `ComboboxRoot` would apply default [filter function](https://github.com/radix-vue/radix-vue/blob/main/packages/radix-vue/src/Combobox/ComboboxRoot.vue#L128) to filter relevant `ComboboxItem` (only apply when `modelValue` is type `string`).
Internally, `ComboboxRoot` would apply default [filter function](https://github.com/unovue/radix-vue/blob/main/packages/radix-vue/src/Combobox/ComboboxRoot.vue#L128) to filter relevant `ComboboxItem` (only apply when `modelValue` is type `string`).

However this behavior can be replaced using 2 different method.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/components/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ const forward = useForwardPropsEmits(props, emits)

### Mouse events are not fired

Because of [a limitation](https://github.com/radix-vue/radix-vue/blob/main/packages/radix-vue/src/Slider/SliderImpl.vue#L48-L49) we faced during implementation, the following example won't work as expected and the `@mousedown` and `@mousedown` event handlers won't be fired:
Because of [a limitation](https://github.com/unovue/radix-vue/blob/main/packages/radix-vue/src/Slider/SliderImpl.vue#L48-L49) we faced during implementation, the following example won't work as expected and the `@mousedown` and `@mousedown` event handlers won't be fired:

```vue
<SliderRoot
Expand Down
2 changes: 1 addition & 1 deletion docs/content/guides/namespaced-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Radix Vue design pattern is to create primitives for each component, and allow u

However, importing all the necessary components 1-by-1 can be quite an effort, and the user might sometimes accidentally leave out an important component.

In order to solve this pain point, we've introduced [Namespaced components](https://vuejs.org/api/sfc-script-setup.html#namespaced-components) starting from [v.1.2.0](https://github.com/radix-vue/radix-vue/releases/tag/v1.2.0).
In order to solve this pain point, we've introduced [Namespaced components](https://vuejs.org/api/sfc-script-setup.html#namespaced-components) starting from [v.1.2.0](https://github.com/unovue/radix-vue/releases/tag/v1.2.0).

## How to use?

Expand Down
4 changes: 2 additions & 2 deletions docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ hero:
alt: Radix-Vue
prelink:
title: 🎉 Tree, Stepper component!
link: https://github.com/radix-vue/radix-vue/releases/tag/v1.9.0
link: https://github.com/unovue/radix-vue/releases/tag/v1.9.0
target: _blank
actions:
- theme: brand
text: Get Started
link: /overview/getting-started
- theme: alt
text: View on GitHub
link: https://github.com/radix-vue/radix-vue
link: https://github.com/unovue/radix-vue

features:
- icon: <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path fill="#41b883" d="M24.4 3.925H30l-14 24.15L2 3.925h10.71l3.29 5.6 3.22-5.6Z"/><path fill="#41b883" d="m2 3.925 14 24.15 14-24.15h-5.6L16 18.415 7.53 3.925Z"/><path fill="#35495e" d="M7.53 3.925 16 18.485l8.4-14.56h-5.18L16 9.525l-3.29-5.6Z"/></svg>
Expand Down
4 changes: 2 additions & 2 deletions docs/content/overview/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ To receive updates on new primitives, announcements, blog posts, and general Rad

To file issues, request features, and contribute, check out our GitHub.

[GitHub repo](https://github.com/radix-vue/radix-vue)
[GitHub repo](https://github.com/unovue/radix-vue)

[Code of conduct](https://github.com/radix-vue/radix-vue/CODE_OF_CONDUCT.md)
[Code of conduct](https://github.com/unovue/radix-vue/CODE_OF_CONDUCT.md)
2 changes: 1 addition & 1 deletion docs/content/overview/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ description: Discover the latest release of Radix Vue.
Discover the latest release of Radix Vue.
</Description>

[Latest releases on github](https://github.com/radix-vue/radix-vue/releases)
[Latest releases on github](https://github.com/unovue/radix-vue/releases)
2 changes: 1 addition & 1 deletion docs/content/utilities/config-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { ConfigProvider } from 'radix-vue'

When creating localized apps that require right-to-left (RTL) reading direction, you need to wrap your application with the `ConfigProvider` component to ensure all of the primitives adjust their behavior based on the `dir` prop.

You can also change the global behavior of `bodylock` for components such as `Alert`, `DropdownMenu` and etc to fit your layout to prevent any [content shifts](https://github.com/radix-vue/radix-vue/issues/385).
You can also change the global behavior of `bodylock` for components such as `Alert`, `DropdownMenu` and etc to fit your layout to prevent any [content shifts](https://github.com/unovue/radix-vue/issues/385).

<!-- @include: @/meta/ConfigProvider.md -->

Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/update-contributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Contributor {
async function fetchContributors(page = 1) {
const collaborators: string[] = []

const res = await fetch(`https://api.github.com/repos/radix-vue/radix-vue/contributors?per_page=100&page=${page}`, {
const res = await fetch(`https://api.github.com/repos/unovue/radix-vue/contributors?per_page=100&page=${page}`, {
headers: {
Accept: 'application/vnd.github+json',
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"packageManager": "[email protected]",
"license": "MIT",
"repository": "radix-vue/radix-vue",
"repository": "unovue/radix-vue",
"workspaces": [
"packages/*"
],
Expand Down
8 changes: 4 additions & 4 deletions packages/radix-vue/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<br />
<p align="center">
<a href="https://github.com/radix-vue/radix-vue">
<a href="https://github.com/unovue/radix-vue">
<img src="https://www.radix-vue.com/logo.svg" alt="Logo" width="150" />
</a>

Expand All @@ -14,11 +14,11 @@ Radix is an unstyled, customisable UI Library with built in accessibility for bu
<p>

<p align="center">
<a href='https://github.com/radix-vue/radix-vue/actions/workflows/test.yml'>
<a href='https://github.com/unovue/radix-vue/actions/workflows/test.yml'>
</a>
<a href="https://www.npmjs.com/package/radix-vue" target="__blank"><img src="https://img.shields.io/npm/v/radix-vue?style=flat&colorA=002438&colorB=41c399" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/radix-vue" target="__blank"><img alt="NPM Downloads" src="https://img.shields.io/npm/dm/radix-vue?flat&colorA=002438&colorB=41c399"></a>
<a href="https://github.com/radix-vue/radix-vue" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/radix-vue/radix-vue?flat&colorA=002438&colorB=41c399"></a>
<a href="https://github.com/unovue/radix-vue" target="__blank"><img alt="GitHub stars" src="https://img.shields.io/github/stars/unovue/radix-vue?flat&colorA=002438&colorB=41c399"></a>
</p>

<p align="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ For full documentation, visit [radix-vue.com](https://radix-vue.com).

## Releases

For changelog, visit [releases](https://github.com/radix-vue/radix-vue/releases).
For changelog, visit [releases](https://github.com/unovue/radix-vue/releases).

## Contributing

Expand Down
6 changes: 3 additions & 3 deletions packages/radix-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"description": "Vue port for Radix UI Primitives.",
"author": "Radix Vue Contributors (https://github.com/radix-vue)",
"license": "MIT",
"homepage": "https://github.com/radix-vue/radix-vue",
"homepage": "https://github.com/unovue/radix-vue",
"repository": {
"type": "git",
"url": "git+https://github.com/radix-vue/radix-vue.git"
"url": "git+https://github.com/unovue/radix-vue.git"
},
"bugs": {
"url": "https://github.com/radix-vue/radix-vue/issues"
"url": "https://github.com/unovue/radix-vue/issues"
},
"keywords": [
"ui",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const rootDisabled = ref(false)
<div
class="bg-white rounded my-[10px] p-[10px] shadow-[0_2px_10px] shadow-blackA7"
>
<span class="text-violet11 text-[15px] leading-[25px]">radix-vue/radix-vue</span>
<span class="text-violet11 text-[15px] leading-[25px]">unovue/radix-vue</span>
</div>

<CollapsibleContent class=" data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp">
Expand Down
2 changes: 1 addition & 1 deletion packages/radix-vue/src/FocusScope/FocusScope.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ watchEffect((cleanupFn) => {
// When the focused element gets removed from the DOM, browsers move focus
// back to the document.body. In this case, we move focus to the container
// to keep focus trapped correctly.
// -- related: https://github.com/radix-vue/radix-vue/issues/518
// -- related: https://github.com/unovue/radix-vue/issues/518
// Radix Vue tentative solution:
// instead of leaning on document.activeElement, we use lastFocusedElementRef.value to check
// if the element still exist inside the container,
Expand Down
2 changes: 1 addition & 1 deletion packages/radix-vue/src/Presence/usePresence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function usePresence(

const dispatchCustomEvent = (name: 'enter' | 'after-enter' | 'leave' | 'after-leave') => {
// We only dispatch this event because CustomEvent is not available in Node18
// https://github.com/radix-vue/radix-vue/issues/930
// https://github.com/unovue/radix-vue/issues/930
if (isClient) {
const customEvent = new CustomEvent(name, { bubbles: false, cancelable: false })
node.value?.dispatchEvent(customEvent)
Expand Down
2 changes: 1 addition & 1 deletion packages/radix-vue/src/Select/SelectContentImpl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ watchEffect((cleanupFn) => {
}
const handlePointerUp = (event: PointerEvent) => {
// Prevent options from being untappable on touch devices
// https://github.com/radix-vue/radix-vue/issues/804
// https://github.com/unovue/radix-vue/issues/804
if (event.pointerType === 'touch')
return
Expand Down
4 changes: 2 additions & 2 deletions packages/radix-vue/src/Select/SelectTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function handlePointerOpen(event: PointerEvent) {
@pointerdown="
(event: PointerEvent) => {
// Prevent opening on touch down.
// https://github.com/radix-vue/radix-vue/issues/804
// https://github.com/unovue/radix-vue/issues/804
if (event.pointerType === 'touch')
return event.preventDefault();
Expand All @@ -107,7 +107,7 @@ function handlePointerOpen(event: PointerEvent) {
@pointerup.prevent="
(event: PointerEvent) => {
// Only open on pointer up when using touch devices
// https://github.com/radix-vue/radix-vue/issues/804
// https://github.com/unovue/radix-vue/issues/804
if (event.pointerType === 'touch')
handlePointerOpen(event)
}
Expand Down

0 comments on commit 78e9794

Please sign in to comment.