Skip to content

0soft/zero-packages

Repository files navigation

Zero Packages

Zero Packages was developed by ZeroSoft to help us build lots of projects with ease. 📦

Installation

This project also require the following peer dependencies:

Dependency Version Packages that uses
@material-ui/core ^4.11.0 @0soft/zero-material-ui/
@material-ui/lab ^4.0.0-alpha.56 @0soft/remote-autocomplete
dayjs ^1.8.34 @0soft/zero-lib/{formatters, validators}/date, @0soft/zero-material-ui/table/date-col
event-emitter ^0.3.5 @0soft/zero-material-ui/feedback/global-snackbar
final-form ^4.20.1 @0soft/zero-material-ui/form/
lodash ^4.17.20 @0soft/zero-material-ui/remote-autocomplete
material-table ^1.69.0 @0soft/zero-material-ui/table, @0soft/zero-material-ui/hooks/use-remote-table
next ^9.5.2 @0soft/use-nextjs-page-loader, @0soft/zero-material-ui/table/url-action
nprogress ^0.2.0 @0soft/use-nextjs-page-loader
react ^16.13.1 Every
react-dom >=16.13.1 Every
react-dropzone ^11.0.3 @0soft/zero-material-ui/form/file-upload-field
react-final-form ^6.5.1 @0soft/zero-material-ui/form/
react-final-form-arrays ^3.1.2 @0soft/zero-material-ui/form/checkbox-group-field
react-lazyload ^3.0.0 @0soft/optimized-image
react-text-mask ^5.4.3 @0soft/zero-material-ui/form/{cnpj-mask,phone-mask-field,zipcode-mask}
styled-components ^5.1.1 Every
validate.js ^0.13. @0soft/zero-lib/validation
jspdf ^2.1.1 @0soft/zero-material-ui/table/

Install the required ones via:

$ yarn add react react-dom
# or
$ npm i --save react react-dom

Usage

Nextjs

We currently have the following components:

  • <OptimizedImage>
  • <Icon>
  • <Pagination>
  • <RemoteAutocomplete>
  • <GlobalSnackbar>
  • <ContainerLoader>
  • <Loader>
  • <Table>
  • <DefaultForm>
  • <CheckboxField>
  • <CheckboxGroupField>
  • <CNPJMask>
  • <Counter>
  • <FileUploadField>
  • <IncrementalField>
  • <PhoneMaskField>
  • <PhoneNumberField>
  • <SelectField>
  • <TextField>
  • <ZipcodeMask>

TODO

  • Create Storybook files for every component
  • Create Tests for every function and component
  • Document every function and component
  • Make Eslint configuration more strict

License

The files included in this repository are licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published