# @xti-external/frontend-kit-components

> Reusable components, utils for various projects @ Xapiens

Latest version **0.1.1** (published 2025-02-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xti-external/frontend-kit-components
pnpm add @xti-external/frontend-kit-components
yarn add @xti-external/frontend-kit-components
bun add @xti-external/frontend-kit-components
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2025-02-28 |
| First published | 2025-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 22 |
| Unpacked size | 6.5 MB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| Author | fajar septiawan |
| Maintainers | anebahti, xapiens.tech |
| Keywords | react, material-ui |

## Links

- npm: https://www.npmjs.com/package/@xti-external/frontend-kit-components
- npm.io page: https://npm.io/package/@xti-external/frontend-kit-components

## Dependencies (22)

- [dayjs](https://npm.io/package/dayjs.md) ^1.11.5
- [global](https://npm.io/package/global.md) ^4.4.0
- [gaugeJS](https://npm.io/package/gaugeJS.md) ^1.3.7
- [graphql](https://npm.io/package/graphql.md) ^15.5.0
- [js-cookie](https://npm.io/package/js-cookie.md) ^2.2.1
- [lodash-es](https://npm.io/package/lodash-es.md) ^4.17.20
- [notistack](https://npm.io/package/notistack.md) ^1.0.7
- [highcharts](https://npm.io/package/highcharts.md) ^7.2.0
- [jwt-decode](https://npm.io/package/jwt-decode.md) ^3.1.2
- [cross-fetch](https://npm.io/package/cross-fetch.md) ^3.0.6
- [graphql-tag](https://npm.io/package/graphql-tag.md) ^2.11.0
- [query-string](https://npm.io/package/query-string.md) ^6.10.1
- [@apollo/client](https://npm.io/package/@apollo/client.md) ^3.2.9
- [@date-io/dayjs](https://npm.io/package/@date-io/dayjs.md) ^1.3.11
- [react-spinners](https://npm.io/package/react-spinners.md) ^0.8.0
- [@material-ui/lab](https://npm.io/package/@material-ui/lab.md) 4.0.0-alpha.58
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.11.4
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ^4.11.2
- [@material-ui/pickers](https://npm.io/package/@material-ui/pickers.md) ^3.2.10
- [react-minimal-pie-chart](https://npm.io/package/react-minimal-pie-chart.md) ^5.0.2
- [highcharts-react-official](https://npm.io/package/highcharts-react-official.md) ^2.2.2
- [@xti-external/frontend-kit-auth](https://npm.io/package/@xti-external/frontend-kit-auth.md) 0.4.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2025-02-28

## README

# Frontend Kit

Reusable components, utils for various projects @ ZebraX

## Prerequisites

* [Yarn](https://yarnpkg.com/en/docs/install) v1.x.x

## Install NPM Package

Run this command to install this package with its peer dependencies
    
    yarn add @zebraxid/frontend-kit cross-fetch

## Quick Start

### Locally

```
git clone https://github.com/zebraxid/frontend-kit.git
cd frontend-kit
yarn install
yarn storybook
```

## To Do

* Modify all charts to pass tooltip and axis format as props

## Contributing

1. There's several rules on adding new functions or new components to this modules:

   a. If you're creating new function on `src/styles` or `src/utils`, please make sure that the function name is unique to prevent the error when the function is being exported.

   b. If you're creating new React component, don't forget to register your new component to components entrypoint on `src/components/index.js` and make sure the export name is the same as the component name to make it easier to import.


2. Always run `yarn build` after finished adding the new functions or components to compile the modules. Without running this command, your new functions or components will not be exported.

3. When creating a pull request, please review `CHANGELOG.md` and add future version. Also update version in `package.json`.

4. After pull request is merged to `develop` and `master` branch, check the latest tag

    ```sh
    git tag
    ```

5. Add tag following the rules [MAJOR].[MINOR].[PATCH]

    ```sh
    git tag <tag>
    git push origin <tag>
    ```

---
_Source: https://npm.io/package/@xti-external/frontend-kit-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
