1.0.4 • Published 10 months ago

@codehesion-za/headless v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Codehesion Headless Library for React

Requirements

This package has a few requirements to be used.

  • Node: >= 16
  • Formik: >= 2.2.9
  • Zod: >= 3.20.2
  • Zod-Formik-Adapter: >= 1.2.0

How to install

Run the one of the following commands to install the package

npm i -E @codehesion-za/headless
yarn add -E @codehesion-za/headless
pnpm i -E @codehesion-za/headless

To get the minimal tailwind to work you have to add the project into your tailwind.config.js content array

content: ['node_modules/@codehesion-za/headless/**/*.{js,jsx,ts,tsx}'];

Components

  • Formik Base
    • Button
    • Checkbox
    • Drop File Input
    • File Input
    • Form
    • Form Error
    • Radio Button
    • Switch
    • Text Input
  • Flat List

Hooks

  • useModal

Preview

This app is deployed to Render.com so you can view the ladle stories for the components.

Deployed to: https://react-headless.onrender.com/

Versioning

We use changeset to log changes and handle version bumps.

Logging changes

At any point during development you can run the following command:

yarn changeset

The above command will prompt the user to create a changelog entry. Once completed, a git tracked file will be created. A new file is added to the changeset directory each time the command is executed and completed.

Releasing a new version

Once ready to release a new version of the package, run the following command:

yarn changeset version

The above command will consume all unapplied changesets (and delete the files), updating the CHANGELOG.md file.

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

1.0.4

10 months ago

1.0.3

10 months ago

0.8.4

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.8.3

2 years ago

0.7.0

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.5.0

2 years ago

0.6.1

2 years ago

0.5.2

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.4.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.12

2 years ago