Skip to content

Commit

Permalink
Version 5.10.1-0
Browse files Browse the repository at this point in the history
  • Loading branch information
arttuka committed Aug 21, 2022
1 parent 7757080 commit 6842b1d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

See [MUI changelog](https://github.com/mui-org/material-ui/blob/master/CHANGELOG.md) for changes in MUI.

## 5.10.1-0

**[compare](https://github.com/arttuka/reagent-material-ui/compare/v5.6.2-1...v5.10.1-0)**

- Update MUI to v5.10.1

## 5.6.2-1

**[compare](https://github.com/arttuka/reagent-material-ui/compare/v5.6.2-0...v5.6.2-1)**
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Their examples are very good. and this library tries to follow the original idea

To add MUI to an existing Reagent project, just add this library to your dependencies:
```
[arttuka/reagent-material-ui "5.6.2-1"]
[arttuka/reagent-material-ui "5.10.1-0"]
```

Most of the library is in the form of regular Reagent components. Each component is contained in a namespace that mirrors
Expand Down Expand Up @@ -59,7 +59,7 @@ If you want to use another date library, you can use [adapters from `@mui/x-date
To use npm dependencies with Figwheel Main, you need to exclude prebuilt JS files (React from CLJSJS and MUI from this library).
To do so, add these exclusions to your dependency. See the example project for working configuration.

[arttuka/reagent-material-ui "5.6.2-1" :exclusions [arttuka/reagent-material-ui-js]]
[arttuka/reagent-material-ui "5.10.1-0" :exclusions [arttuka/reagent-material-ui-js]]

#### MUI component names with shadow-cljs

Expand All @@ -71,11 +71,11 @@ to your build in `shadow-cljs.edn`.

* Some components want to have a React node as a prop. A Reagent component is not good enough and will just result in
errors about invalid React nodes. `reagent.core/as-element` can turn a Reagent component into a React node.
* React hooks can't be used in most Reagent components. [More information](https://cljdoc.org/d/reagent/reagent/1.0.0-alpha2/doc/tutorials/react-features#hooks).
* React hooks can't be used in most Reagent components. [More information](https://cljdoc.org/d/reagent/reagent/1.1.1/doc/tutorials/react-features#hooks).
* Higher order React components can only deal with components that take all their parameters
(including children) in a single map.

For more information, check out [Reagent's interop guide](https://cljdoc.org/d/reagent/reagent/1.0.0-alpha2/doc/tutorials/interop-with-react).
For more information, check out [Reagent's interop guide](https://cljdoc.org/d/reagent/reagent/1.1.1/doc/tutorials/interop-with-react).

### Development

Expand All @@ -91,9 +91,9 @@ The build process also includes `lein cljfmt`.

The project follows MUI's version numbering.

* Current `@mui/material` version: `5.6.2`
* Current `@mui/icons-material` version: `5.6.2`
* Current `@mui/lab` version: `5.0.0-alpha.78`
* Current `@mui/material` version: `5.10.1`
* Current `@mui/icons-material` version: `5.8.4`
* Current `@mui/lab` version: `5.0.0-alpha.95`

### License

Expand Down
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(defproject arttuka/reagent-material-ui "5.6.2-1"
(defproject arttuka/reagent-material-ui "5.10.1-0"
:description "Reagent wrapper library for MUI (formerly Material UI) v5"
:url "https://github.com/arttuka/reagent-material-ui"
:license {:name "Eclipse Public License 2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[reagent "1.1.1"]
[com.andrewmcveigh/cljs-time "0.5.2"]
[camel-snake-kebab "0.4.2"]
[arttuka/reagent-material-ui-js "5.6.2-0"]]
[camel-snake-kebab "0.4.3"]
[arttuka/reagent-material-ui-js "5.10.1-0"]]
:plugins [[lein-cljfmt "0.8.0"]
[lein-cljsbuild "1.1.8"]
[lein-doo "0.1.11"]]
Expand Down
2 changes: 1 addition & 1 deletion reagent-material-ui-js/project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject arttuka/reagent-material-ui-js "5.6.2-0"
(defproject arttuka/reagent-material-ui-js "5.10.1-0"
:description "Packaged Javascript files for reagent-material-ui"
:url "https://github.com/arttuka/reagent-material-ui"
:license {:name "Eclipse Public License 2.0"
Expand Down

0 comments on commit 6842b1d

Please sign in to comment.