npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-jhipster-mui

v1.1.0

Published

A Forked Jhipster util library for React with Material UI 5

Downloads

10

Readme

Greetings, Java Hipster!

This is forked JHipster React utilities library to switch UI library to Material UI (from Reactstrap)

NPM version Test & Build


IMPORTANT CHANGE

Pagination Component

Pagination component now using Materiai UI Pagination Component. It supported all props of it and I made some change of JhiPagination's props.

  • activePage is deleted, using page from mui component directly
  • onSelect: (page: number) => void; is deleted, using onChange: (event: React.ChangeEvent<unknown>, page: number) => void from mui component directly
  • maxButtons is deleted, mui component self manage how the page button show and it work like the previous reactstrap
export interface IJhiPaginationProps {
- activePage: number;
- onSelect: (page: number) => void;
- maxButtons: number;
  totalItems: number;
  itemsPerPage: number;
}

REMARK

Jhipster design some validation form helper using react-hook-form and react strap, but it's little bit conflict with Material UI form component mindset, so I suggest to use Material UI form component with react-hook-form direactly but not from this lib.


Full documentation and information about jhipster is available on website at http://www.jhipster.tech/

Please read our guidelines before submitting an issue. If your issue is a bug, please use the bug template pre populated here. For feature requests and queries you can use this template.

Development setup

You need NodeJS and NPM.

Fork the react-jhipster project

Go to the react-jhipster project and click on the "fork" button. You can then clone your own fork of the project, and start working on it.

Please read the Github forking documentation for more information

Build

Run npm install to install all dependencies.

Make some changes, run npm run test to run both eslint and karma tests.

Package the library with npm run build.

Set NPM to use the cloned project

In your cloned react-jhipster project, type npm link.

This will do a symbolic link from the global node_modules version to point to this folder.

For testing, you will want to integrate your version of react-jhipster into an application generated by JHipster.

Go to your application folder, run npm link react-jhipster so that the local version has a symbolic link to the development version of react-jhipster.

You should see your changes reflected in the application.

Another way is to run npm pack on react-jhipster and then do npm install path-to/react-jhipster/react-jhipster-0.15.0.tgz on the generated application. this is the most fool proof way to test if npm link doesn't work