Skip to content

Commit

Permalink
chore: 🔖 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroRM-DEV committed Aug 30, 2024
1 parent 9187bc1 commit 65835f9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 43 deletions.
30 changes: 0 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +0,0 @@


## 1.1.0 (2024-08-30)


### Features

* **Media queries:** :sparkles: Add hooks useMediaQuery and useMediaQueries with tests and demo ([b97032e](https://github.com/AlejandroRM-DEV/mx-hooks/commit/b97032e0672623fed5ce102293f41a12990d4493))


### Miscellaneous Chores

* :bookmark: Release ([1eb96a8](https://github.com/AlejandroRM-DEV/mx-hooks/commit/1eb96a89262fb0c85f59b30dfea333174115749e))
* :rocket: Update package.json ([476b3e5](https://github.com/AlejandroRM-DEV/mx-hooks/commit/476b3e5e705a4c884d46b32abc069aef84dfecff))


### Documentation

* :memo: Updated docs and configs ([2580da4](https://github.com/AlejandroRM-DEV/mx-hooks/commit/2580da432d75f015a36de54182cf6b379c76c4df))


### Build System

* :heavy_plus_sign: Adds jsdom ([7c6210b](https://github.com/AlejandroRM-DEV/mx-hooks/commit/7c6210bf1214c99bcef35fd4e7db6808bda42f17))


### Continuous Integration

* :green_heart: add registry-url ([ea8e208](https://github.com/AlejandroRM-DEV/mx-hooks/commit/ea8e2087d9e6539e0d6cf6f0a93cb785bec7f95d))
* :green_heart: fix ([b3a5286](https://github.com/AlejandroRM-DEV/mx-hooks/commit/b3a528694841f993ed8674846a979e440f5121d5))
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# mx-hooks
# React Media Queries

`mx-hooks` is a React hooks library that provides useful custom hooks for responsive design and media queries.
`react-media-queries` is a React hooks library that provides useful custom hooks for responsive design and media queries.

## Installation

```bash
npm install mx-hooks
npm i @alejandrorm-dev/react-media-queries
```

## Demo

```
TODO
```

## Hooks
Expand All @@ -22,11 +28,7 @@ import { useMediaQuery } from 'mx-hooks';
function MyComponent() {
const isLargeScreen = useMediaQuery('(min-width: 1200px)');

return (
<div>
{isLargeScreen ? 'Large screen' : 'Small screen'}
</div>
);
return <div>{isLargeScreen ? 'Large screen' : 'Small screen'}</div>;
}
```

Expand Down Expand Up @@ -86,4 +88,4 @@ This project is licensed under the MIT License.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
Contributions are welcome! Please feel free to submit a Pull Request.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@alejandrorm-dev/mx-hooks",
"version": "1.1.0",
"name": "@alejandrorm-dev/react-media-queries",
"version": "1.0.0",
"private": false,
"description": "Custom React hooks for managing state and effects in a more modular way",
"description": "React hooks library that provides useful custom hooks for responsive design and media queries.",
"main": "index.js",
"type": "module",
"scripts": {
Expand All @@ -16,8 +16,12 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AlejandroRM-DEV/mx-hooks.git"
"url": "https://github.com/AlejandroRM-DEV/react-media-queries.git"
},
"bugs": {
"url": "https://github.com/AlejandroRM-DEV/react-media-queries/issues"
},
"homepage": "https://github.com/AlejandroRM-DEV/react-media-queries#readme",
"keywords": [
"react",
"hooks",
Expand Down

0 comments on commit 65835f9

Please sign in to comment.