1.0.16 • Published 1 month ago

@soyfri/platform v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

@soyfri/platform

This package provides pre-built React components, contexts, icons, and utilities for use in your projects. It simplifies development by offering reusable UI elements and helper functions.

Build

At this point, if the dependencies are updated, the whole project can break, be careful.

npm install --legacy-peer-deps

Cretate directory

output-directory/soyfri/platform
npm run build

Installation

npm install @soyfri/platform

Usage

You can import the components, contexts, and utilities as follows:

import { CustomAlert } from '@soyfri/platform/components/CustomAlert';
import { WizardContext } from '@soyfri/platform/context/WizardContext';
import { DocumentIcon } from '@soyfri/platform/icons/DocumentIcon';
import { helpers } from '@soyfri/platform/utils/helpers';

Available Modules

Components

  • CustomAlert
  • CustomCard
  • CustomCardOption
  • CustomDropzone
  • CustomFileUpload
  • CustomInputIcon
  • CustomModal
  • CustomMultiSelect
  • CustomPassword
  • CustomProfileInfo
  • CustomSearch

Contexts

  • WizardContext

Icons

  • DocumentIcon
  • CloseIcon
  • SearchIcon

Utilities

  • _models.ts (Type definitions)
  • enums.ts (Error enums)
  • helpers.ts (Helper functions)

Contributing

Feel free to submit pull requests or issues on GitHub.

Support

For support, please contact the FRI frontend development team. You can also visit the repository at GitHub.

License

This project is licensed under the MIT License.

1.0.16

1 month ago

1.0.15

1 month ago

1.0.14

1 month ago

1.0.13

1 month ago

1.0.12

1 month ago

1.0.11

2 months ago

1.0.10

2 months ago

1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.0

3 months ago