diff --git a/.changeset/silly-lies-sin.md b/.changeset/silly-lies-sin.md new file mode 100644 index 0000000..2e98478 --- /dev/null +++ b/.changeset/silly-lies-sin.md @@ -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 diff --git a/packages/hooks/use-click-outside/README.md b/packages/hooks/use-click-outside/README.md index 6b0727c..9b61bcc 100644 --- a/packages/hooks/use-click-outside/README.md +++ b/packages/hooks/use-click-outside/README.md @@ -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. diff --git a/packages/hooks/use-click-outside/package.json b/packages/hooks/use-click-outside/package.json index aac1a34..863320e 100644 --- a/packages/hooks/use-click-outside/package.json +++ b/packages/hooks/use-click-outside/package.json @@ -6,7 +6,7 @@ "source": "src/index.ts", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-count-down/README.md b/packages/hooks/use-count-down/README.md index ee02c63..8f80e23 100644 --- a/packages/hooks/use-count-down/README.md +++ b/packages/hooks/use-count-down/README.md @@ -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. diff --git a/packages/hooks/use-count-down/package.json b/packages/hooks/use-count-down/package.json index b74a8b9..7111274 100644 --- a/packages/hooks/use-count-down/package.json +++ b/packages/hooks/use-count-down/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-counter/README.md b/packages/hooks/use-counter/README.md index 1e0c826..ab16336 100644 --- a/packages/hooks/use-counter/README.md +++ b/packages/hooks/use-counter/README.md @@ -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. diff --git a/packages/hooks/use-counter/package.json b/packages/hooks/use-counter/package.json index 72c0ebc..d238518 100644 --- a/packages/hooks/use-counter/package.json +++ b/packages/hooks/use-counter/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-debounce/README.md b/packages/hooks/use-debounce/README.md index 404bef3..6013540 100644 --- a/packages/hooks/use-debounce/README.md +++ b/packages/hooks/use-debounce/README.md @@ -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. diff --git a/packages/hooks/use-debounce/package.json b/packages/hooks/use-debounce/package.json index 6767541..3de32c9 100644 --- a/packages/hooks/use-debounce/package.json +++ b/packages/hooks/use-debounce/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-event-listener/README.md b/packages/hooks/use-event-listener/README.md index 73774ba..6dc3a7d 100644 --- a/packages/hooks/use-event-listener/README.md +++ b/packages/hooks/use-event-listener/README.md @@ -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. diff --git a/packages/hooks/use-event-listener/package.json b/packages/hooks/use-event-listener/package.json index fb8f1d8..f49fbb5 100644 --- a/packages/hooks/use-event-listener/package.json +++ b/packages/hooks/use-event-listener/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-interval/README.md b/packages/hooks/use-interval/README.md index e750951..59eeacc 100644 --- a/packages/hooks/use-interval/README.md +++ b/packages/hooks/use-interval/README.md @@ -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. diff --git a/packages/hooks/use-interval/package.json b/packages/hooks/use-interval/package.json index ae0c344..3548080 100644 --- a/packages/hooks/use-interval/package.json +++ b/packages/hooks/use-interval/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-keyboard/README.md b/packages/hooks/use-keyboard/README.md index 34cc1cb..669f62d 100644 --- a/packages/hooks/use-keyboard/README.md +++ b/packages/hooks/use-keyboard/README.md @@ -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. diff --git a/packages/hooks/use-keyboard/package.json b/packages/hooks/use-keyboard/package.json index 42a7347..715b107 100644 --- a/packages/hooks/use-keyboard/package.json +++ b/packages/hooks/use-keyboard/package.json @@ -6,7 +6,7 @@ "source": "src/index.ts", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-media-query/README.md b/packages/hooks/use-media-query/README.md index de42a7f..b10e4cc 100644 --- a/packages/hooks/use-media-query/README.md +++ b/packages/hooks/use-media-query/README.md @@ -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. diff --git a/packages/hooks/use-scroll-position/README.md b/packages/hooks/use-scroll-position/README.md index af2c623..bbec3e3 100644 --- a/packages/hooks/use-scroll-position/README.md +++ b/packages/hooks/use-scroll-position/README.md @@ -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. diff --git a/packages/hooks/use-scroll-position/package.json b/packages/hooks/use-scroll-position/package.json index ce7363f..e2c75d8 100644 --- a/packages/hooks/use-scroll-position/package.json +++ b/packages/hooks/use-scroll-position/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-scroll-spy/README.md b/packages/hooks/use-scroll-spy/README.md index d1a2e72..c42b62d 100644 --- a/packages/hooks/use-scroll-spy/README.md +++ b/packages/hooks/use-scroll-spy/README.md @@ -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. diff --git a/packages/hooks/use-scroll-spy/package.json b/packages/hooks/use-scroll-spy/package.json index 5537a96..ceb27dd 100644 --- a/packages/hooks/use-scroll-spy/package.json +++ b/packages/hooks/use-scroll-spy/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-switch/README.md b/packages/hooks/use-switch/README.md index dbef0e2..873ece4 100644 --- a/packages/hooks/use-switch/README.md +++ b/packages/hooks/use-switch/README.md @@ -13,7 +13,6 @@ @raddix/switch is a hook that provides the behavior for a switch component.

- ## Features - Full support for browser features. @@ -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 here. +This is a simple example of how to use it. To see the options and more modes of use here. ```jsx import { useSwitch } from '@raddix/switch'; diff --git a/packages/hooks/use-timeout/README.md b/packages/hooks/use-timeout/README.md index 497bc47..de2cc88 100644 --- a/packages/hooks/use-timeout/README.md +++ b/packages/hooks/use-timeout/README.md @@ -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. diff --git a/packages/hooks/use-timeout/package.json b/packages/hooks/use-timeout/package.json index dcd7bcc..ed5c41a 100644 --- a/packages/hooks/use-timeout/package.json +++ b/packages/hooks/use-timeout/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-timeout/src/index.ts b/packages/hooks/use-timeout/src/index.ts index 93c1dcf..d269081 100644 --- a/packages/hooks/use-timeout/src/index.ts +++ b/packages/hooks/use-timeout/src/index.ts @@ -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, diff --git a/packages/hooks/use-toggle/README.md b/packages/hooks/use-toggle/README.md index d2aabe1..d606f00 100644 --- a/packages/hooks/use-toggle/README.md +++ b/packages/hooks/use-toggle/README.md @@ -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. diff --git a/packages/hooks/use-toggle/package.json b/packages/hooks/use-toggle/package.json index fd2650f..665e2c4 100644 --- a/packages/hooks/use-toggle/package.json +++ b/packages/hooks/use-toggle/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/packages/hooks/use-window-size/README.md b/packages/hooks/use-window-size/README.md index 3f193ad..09fcf50 100644 --- a/packages/hooks/use-window-size/README.md +++ b/packages/hooks/use-window-size/README.md @@ -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. diff --git a/packages/hooks/use-window-size/package.json b/packages/hooks/use-window-size/package.json index 70de87e..35e1588 100644 --- a/packages/hooks/use-window-size/package.json +++ b/packages/hooks/use-window-size/package.json @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git" diff --git a/templates/create-hook/README.md.hbs b/templates/create-hook/README.md.hbs index 0a92f34..3568c15 100644 --- a/templates/create-hook/README.md.hbs +++ b/templates/create-hook/README.md.hbs @@ -2,4 +2,4 @@ {{hookDescription}} -Please refer to the [documentation](https://www.raddix.website/hooks/use-{{kebabCase hookName}}) for more information. \ No newline at end of file +Please refer to the [documentation](https://raddix.dev/hooks/use-{{kebabCase hookName}}) for more information. \ No newline at end of file diff --git a/templates/create-hook/package.json.hbs b/templates/create-hook/package.json.hbs index 5bcabe0..3f96b68 100644 --- a/templates/create-hook/package.json.hbs +++ b/templates/create-hook/package.json.hbs @@ -5,7 +5,7 @@ "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", - "homepage": "https://www.raddix.website", + "homepage": "https://raddix.dev", "repository": { "type": "git", "url": "https://github.com/gdvu/raddix.git"