Skip to content

Commit

Permalink
feat: Update documentation URLs (#85)
Browse files Browse the repository at this point in the history
Update the url with the new domain of the documentation website
  • Loading branch information
immois authored Feb 25, 2024
1 parent c6f7c98 commit d3351a5
Show file tree
Hide file tree
Showing 30 changed files with 47 additions and 30 deletions.
18 changes: 18 additions & 0 deletions .changeset/silly-lies-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@raddix/use-scroll-position': patch
'@raddix/use-event-listener': patch
'@raddix/use-click-outside': patch
'@raddix/use-media-query': patch
'@raddix/use-window-size': patch
'@raddix/use-count-down': patch
'@raddix/use-scroll-spy': patch
'@raddix/use-debounce': patch
'@raddix/use-interval': patch
'@raddix/use-keyboard': patch
'@raddix/use-counter': patch
'@raddix/use-timeout': patch
'@raddix/switch': patch
'@raddix/use-toggle': patch
---

Update the url with the new domain of the documentation website
2 changes: 1 addition & 1 deletion packages/hooks/use-click-outside/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useClickOutside` hook is used to detect clicks outside of a specified element. It is useful for detecting clicks outside of a dropdown menu, modal, or any other element that should be closed when the user clicks outside of it.

Please refer to the [documentation](https://raddix.website/hooks/use-click-outside) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-click-outside) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-click-outside/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": "src/index.ts",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-count-down/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useCountDown` hook is used to count down from a specified number of seconds. It is useful for creating countdown timers.

Please refer to the [documentation](https://www.raddix.website/hooks/use-count-down) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-count-down) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-count-down/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-counter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
The `useCounter` is a React hook that provides a counter that can be incremented, decremented, reset
and manage between a minimum and maximum value.

Please refer to the [documentation](https://www.raddix.website/hooks/use-counter) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-counter) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-debounce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useDebounce` hook is used to debounce a value. It is useful when you want to delay the execution of a function until a value has not changed for a certain amount of time.

Please refer to the [documentation](https://www.raddix.website/hooks/use-debounce) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-debounce) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-debounce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-event-listener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

A hook that enables you to add event listeners to a target element or document.

Please refer to the [documentation](https://www.raddix.website/hooks/use-event-listener) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-event-listener) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-event-listener/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-interval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useInterval` hook is used to create an interval that executes a function every specified number of milliseconds. It is similar to the `setInterval` function, but it is declarative and can be cancelled.

Please refer to the [documentation](https://www.raddix.website/hooks/use-interval) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-interval) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-interval/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-keyboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useKeyboard` hook is used to handle keyboard interactions for a focusable element or the entire document.

Please refer to the [documentation](https://www.raddix.website/hooks/use-keyboard) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-keyboard) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-keyboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": "src/index.ts",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-media-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useMediaQuery` hook is used to match the current viewport against a media query. Use the `matchMedia` API to subscribe to media query changes and return the current match state.

Please refer to the [documentation](https://raddix.website/hooks/use-media-query) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-media-query) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-scroll-position/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useScrollPosition` hook listens for the scroll position of the current window or element.

Please refer to the [documentation](https://www.raddix.website/hooks/use-scroll-position) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-scroll-position) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-scroll-position/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-scroll-spy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useScrollSpy` hook is used to automatically update navigation based on scroll position. Use the `IntersectionObserver` API to subscribe to scroll position changes and return the current active navigation item.

Please refer to the [documentation](https://raddix.website/hooks/use-scroll-spy) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-scroll-spy) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-scroll-spy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
3 changes: 1 addition & 2 deletions packages/hooks/use-switch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
@raddix/switch is a hook that provides the behavior for a switch component.
</p>


## Features

- Full support for browser features.
Expand All @@ -33,7 +32,7 @@ pnpm add @raddix/switch

## Usage

This is a simple example of how to use it. To see the options and more modes of use <a href="https://www.raddix.website/docs/aria/switch">here</a>.
This is a simple example of how to use it. To see the options and more modes of use <a href="https://raddix.dev/docs/aria/switch">here</a>.

```jsx
import { useSwitch } from '@raddix/switch';
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-timeout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useTimeout` hook is used to execute a callback after a specified amount of time. It is similar to the `setTimeout` function, but it is declarative and can be cancelled.

Please refer to the [documentation](https://raddix.website/hooks/use-timeout) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-timeout) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-timeout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-timeout/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useCallback, useEffect, useRef } from 'react';
* @param cb The callback function to be executed after the specified timeout.
* @param delay The duration of the timeout in milliseconds.
* @param immediate If it is true, the callback is executed immediately.
* @see https://raddix.website/hooks/use-timeout
* @see https://raddix.dev/hooks/use-timeout
*/
export const useTimeout = (
cb: () => void,
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-toggle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useToggle` hook is used to toggle a boolean value.

Please refer to the [documentation](https://raddix.website/hooks/use-toggle) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-toggle) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-window-size/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The `useWindowSize` hook track the dimensions of the browser window.

Please refer to the [documentation](https://www.raddix.website/hooks/use-window-size) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-window-size) for more information.
2 changes: 1 addition & 1 deletion packages/hooks/use-window-size/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down
2 changes: 1 addition & 1 deletion templates/create-hook/README.md.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

{{hookDescription}}

Please refer to the [documentation](https://www.raddix.website/hooks/use-{{kebabCase hookName}}) for more information.
Please refer to the [documentation](https://raddix.dev/hooks/use-{{kebabCase hookName}}) for more information.
2 changes: 1 addition & 1 deletion templates/create-hook/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"main": "src/index.ts",
"author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
"homepage": "https://www.raddix.website",
"homepage": "https://raddix.dev",
"repository": {
"type": "git",
"url": "https://github.com/gdvu/raddix.git"
Expand Down

0 comments on commit d3351a5

Please sign in to comment.