Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,19 @@ jobs:
matrix:
node-version: ['22.13.0', '24.11.0']
steps:
- name: Commitlint
uses: wagoid/commitlint-github-action@v6
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install
run: |
yarn
run: npm ci
- name: Lint
run: |
yarn lint
run: npm run lint
- name: Tests
run: |
yarn test
run: npm test
- name: Visual Regression Tests
run: |
sudo apt-get update
Expand All @@ -40,7 +36,7 @@ jobs:
libgstreamer-plugins-good1.0-0 libenchant-2-2 libsecret-1-0 \
libhyphen0 libmanette-0.2-0
npx playwright install
yarn test-ct
npm run test-ct
- name: Upload screenshots
uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -49,4 +45,4 @@ jobs:
path: test-results
- name: Build
run: |
yarn build
npm run build
17 changes: 17 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Commitlint

on: [pull_request]

permissions:
contents: read
pull-requests: read

jobs:
commitlint:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Commitlint
uses: wagoid/commitlint-github-action@v6
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install
run: yarn
run: npm ci
- name: Publish
env:
NPM_API_TOKEN: ${{ secrets.NPM_API_TOKEN }}
Expand Down
130 changes: 0 additions & 130 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,136 +3,6 @@
## [2.0.5](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.1...v2.0.5) (2025-11-18)


### ⚠ BREAKING CHANGES

* **Selector:** use render function prop instead of Component

### Features

* added displayFunction prop to DatePicker ([f676d8a](https://github.com/samdouble/fikasio-react-ui-components/commit/f676d8aa89684aab6ae79bd95bebc5d09f593f72))
* added Error ([39043cc](https://github.com/samdouble/fikasio-react-ui-components/commit/39043cce82bfa2925ff4f84893d8a95da98ce372))
* added menuPortalTarget and menuShouldScrollIntoView props to the Select component ([563396e](https://github.com/samdouble/fikasio-react-ui-components/commit/563396e3f72ced16fb56b9ed47931adb933a3a43))
* added name to Select ([fd9b05e](https://github.com/samdouble/fikasio-react-ui-components/commit/fd9b05e18c0d29bfe1bac24eea4a3b21b9b62613))
* added onChange and onSelect props to the SearchBar ([c925604](https://github.com/samdouble/fikasio-react-ui-components/commit/c9256047bb93bc43f705f1e1017f883d6465a3a9))
* added onSubmit prop to the SearchBar ([3b25f17](https://github.com/samdouble/fikasio-react-ui-components/commit/3b25f177ba84954e142fda664245801c149b3ff2))
* added Success ([7ccc376](https://github.com/samdouble/fikasio-react-ui-components/commit/7ccc376b83b7cf0d6fd27a0abfb0c16fef7b15bd))
* added suggestions to SearchBar component ([11d16d1](https://github.com/samdouble/fikasio-react-ui-components/commit/11d16d107a52c1dda4265336477d17b3c0a7019f))
* added Table ([49fdcfe](https://github.com/samdouble/fikasio-react-ui-components/commit/49fdcfe84055abc8ea80428f7861f144bb8a933b))
* added Table ([b7084b0](https://github.com/samdouble/fikasio-react-ui-components/commit/b7084b0eda95aa44e51fe08304e8015d327e10db))
* added Table ([8bebf83](https://github.com/samdouble/fikasio-react-ui-components/commit/8bebf838d0aa49ccc3de25f28bc6b5bbcd8e1fdf))
* added Table ([70c4bf0](https://github.com/samdouble/fikasio-react-ui-components/commit/70c4bf0e7fabf5a6609fc332dfd0b9521d66c313))
* **DatePicker:** show DatePicker popper at the bottom ([1531f97](https://github.com/samdouble/fikasio-react-ui-components/commit/1531f97d8e92414281e2ae2026a44ad4e53153b7))
* **DropDown:** improve visual by removing extra padding ([8e808ec](https://github.com/samdouble/fikasio-react-ui-components/commit/8e808ec1c6dd8c7a923853c493304a619a8767b4))
* improve DatePicker ([2608785](https://github.com/samdouble/fikasio-react-ui-components/commit/26087851d595d6fb5725066d23be48d892f61860))
* improved Select menu positioning ([d8478c3](https://github.com/samdouble/fikasio-react-ui-components/commit/d8478c3a41883d533979ea6ff5462315ed39e399))
* improved Selector component ([af82550](https://github.com/samdouble/fikasio-react-ui-components/commit/af82550ac596420765b3033e9005a00416d44b5a))
* made small UI improvements ([09ca449](https://github.com/samdouble/fikasio-react-ui-components/commit/09ca4496d435ccd81bb0132fa64b1ad427a12ded))
* made small UI improvements ([e5a4724](https://github.com/samdouble/fikasio-react-ui-components/commit/e5a4724787d08dd6385fae97c31a18366881f91e))
* **SearchBar:** improve look by removing padding on options ([99f1277](https://github.com/samdouble/fikasio-react-ui-components/commit/99f1277fa577ccaf98791ebdc08ecef2ec8ca9f3))
* **SearchBar:** improve visual by removing extra padding ([b3a3e6d](https://github.com/samdouble/fikasio-react-ui-components/commit/b3a3e6dd7d36f92f0f6d2e03bbae8f1d64c73e7c))
* **Select:** improve visual by removing extra padding ([7fa9d0f](https://github.com/samdouble/fikasio-react-ui-components/commit/7fa9d0f49c418a9a8f7762aaa0a8db17cc3b6b8f))
* **Selector:** improve visual by removing extra padding ([de1e11b](https://github.com/samdouble/fikasio-react-ui-components/commit/de1e11bc6fed56086616ebc386b3bedcfc49dec4))
* **Selector:** use render function prop instead of Component ([17d3e26](https://github.com/samdouble/fikasio-react-ui-components/commit/17d3e2664470dd77b0d70648fbf32dae00304ef4))
* **Success,Error,Warning:** improve look by removing radiuses ([a93a1fb](https://github.com/samdouble/fikasio-react-ui-components/commit/a93a1fb9330be3d161aee61a604441ba49d10462))
* v0.4.0 ([3ed7ddc](https://github.com/samdouble/fikasio-react-ui-components/commit/3ed7ddcd3fd4b60a85ed2f67e854e568adcaa43b))
* v0.4.0 ([6a13348](https://github.com/samdouble/fikasio-react-ui-components/commit/6a133480294423fee09d120b745a4cd3ae1823c0))
* v0.4.0 ([61ae03d](https://github.com/samdouble/fikasio-react-ui-components/commit/61ae03dc936b56e01f76200d121b10d2082a4307))
* v0.4.0 ([98ee7db](https://github.com/samdouble/fikasio-react-ui-components/commit/98ee7dbb50e682c1a4d376336f21d65f5a6a3289))
* v0.4.1 ([806ed0e](https://github.com/samdouble/fikasio-react-ui-components/commit/806ed0e4c68e9ba77be6fdf54710d81077f8bf15))
* v0.4.1 ([0f78847](https://github.com/samdouble/fikasio-react-ui-components/commit/0f788470f702937ca955a6ea546c2c669d83cb3a))
* v0.4.1 ([8d7aeae](https://github.com/samdouble/fikasio-react-ui-components/commit/8d7aeaeb7cff19cf5d1ae66f8c0e2589aa5c95c4))
* v0.5.0 ([7d7b04e](https://github.com/samdouble/fikasio-react-ui-components/commit/7d7b04e4a6d03b3c5b20896c2dec9cc55874ff49))
* v0.5.0 ([7c97b83](https://github.com/samdouble/fikasio-react-ui-components/commit/7c97b83240026126f4b7c5f3f2480bf83b01c10b))
* v0.5.0 ([b7a9ef7](https://github.com/samdouble/fikasio-react-ui-components/commit/b7a9ef7c49b47cac37ae55259fa08d73bdfb4956))
* v0.5.0 ([394d54f](https://github.com/samdouble/fikasio-react-ui-components/commit/394d54f6144974176777c96c119eec3d194021cb))
* v0.6.2 ([b906593](https://github.com/samdouble/fikasio-react-ui-components/commit/b9065938d4de02758f899e479697a3e2910d74f7))
* v0.7.0 ([f0b03fe](https://github.com/samdouble/fikasio-react-ui-components/commit/f0b03fe61ca9bbba3bf69bf71a2889f5e5c1a41a))
* v0.7.0 ([24fba4c](https://github.com/samdouble/fikasio-react-ui-components/commit/24fba4c8e64bf6363a6760a0ec8dcc920ef53738))
* v0.7.0 ([60ef815](https://github.com/samdouble/fikasio-react-ui-components/commit/60ef815da485f36a0310ecf2a908fe19640635ab))
* v0.7.0 ([32fbea3](https://github.com/samdouble/fikasio-react-ui-components/commit/32fbea39e63737ce90f6bce314fe51a99dce83d5))
* v0.7.0 ([3cbbbfe](https://github.com/samdouble/fikasio-react-ui-components/commit/3cbbbfe6b54bd90b46c9f637693a7a72d3326610))
* v0.7.0 ([e3c8473](https://github.com/samdouble/fikasio-react-ui-components/commit/e3c8473f3c278b46bce6ab5153b2e9cc4c1d7d15))
* v0.7.1 ([53069ff](https://github.com/samdouble/fikasio-react-ui-components/commit/53069ff902b1cb34b2a5dbb5d66962c4168750e2))
* v0.7.2 ([d9e08e6](https://github.com/samdouble/fikasio-react-ui-components/commit/d9e08e627d151763086ce8734595cbf38a485e1b))
* v0.7.8 ([1e385a4](https://github.com/samdouble/fikasio-react-ui-components/commit/1e385a4b265bc9680b8efdfeaf58cad1630facf3))
* v0.7.8 ([5159643](https://github.com/samdouble/fikasio-react-ui-components/commit/51596439b846768a652dbf288c4aec6f07496219))


### Bug Fixes

* **AutosaveTextarea:** fix imports ([3438aad](https://github.com/samdouble/fikasio-react-ui-components/commit/3438aad9266b7ca7f91842d8885f7ad1611d7d72))
* **AutosaveTextarea:** make sure to export AutosaveTextarea ([8a49ba3](https://github.com/samdouble/fikasio-react-ui-components/commit/8a49ba31f1fb2b6878c898a3dafa196688dafdeb))
* color prop should not be required in Dot component ([522de9b](https://github.com/samdouble/fikasio-react-ui-components/commit/522de9b4d8cc3a51d66b1a38788f7593134e0720))
* datepicker position ([0bf1033](https://github.com/samdouble/fikasio-react-ui-components/commit/0bf1033d1eb5e383a88524ab04dcf3e2e4f286ab))
* datepicker showing ([baa72e7](https://github.com/samdouble/fikasio-react-ui-components/commit/baa72e773ba8be4624cc56f95c9ab7f6c5b39539))
* datepicker showing ([d8e135a](https://github.com/samdouble/fikasio-react-ui-components/commit/d8e135a3a59ac231726ba21ec840f22b10794fcb))
* datepicker showing ([42c8c13](https://github.com/samdouble/fikasio-react-ui-components/commit/42c8c131b94ffefc196bdfb774f5227500f71d75))
* datepicker showing ([47f995f](https://github.com/samdouble/fikasio-react-ui-components/commit/47f995fc8c2b708ebde11cb354e0d4cd55dae33b))
* datepicker showing ([297d679](https://github.com/samdouble/fikasio-react-ui-components/commit/297d679e5fb140711266ca26cd2cc193cbe931f5))
* fix errors when importing components from the library ([ff89f7a](https://github.com/samdouble/fikasio-react-ui-components/commit/ff89f7ad24e472830cd6fa77559c5df3eda8515d))
* fix proptypes error in ActionButton ([dc1e649](https://github.com/samdouble/fikasio-react-ui-components/commit/dc1e649b7e1ab776bc6f525ecfffcb5f4b6cef22))
* fix Select dropdown positioning issue ([5ade33c](https://github.com/samdouble/fikasio-react-ui-components/commit/5ade33c83466182b204fa3087de2d431237f0137))
* fix value getter on Select's onChange ([54fd5be](https://github.com/samdouble/fikasio-react-ui-components/commit/54fd5be675e7f03f84b38a76a8183b8c9749f033))
* fix value getter on Select's onChange ([2607746](https://github.com/samdouble/fikasio-react-ui-components/commit/26077462ae72c158313e0ae86fe3361aafd70abf))
* fixed issue with SearchBar icon position ([bb1d367](https://github.com/samdouble/fikasio-react-ui-components/commit/bb1d367ef19f608b06a6b0ce4ec19f364e7a7ac5))
* fixed issue with SearchBar styles ([4d01064](https://github.com/samdouble/fikasio-react-ui-components/commit/4d010641255843a0145abb6a913347473afa9d06))
* fixed prop warning on Select component ([069e1d3](https://github.com/samdouble/fikasio-react-ui-components/commit/069e1d320978f3d65db874c6adefd1f3be4ab9f6))
* fixed Select menu positioning inside dynamic container ([866610c](https://github.com/samdouble/fikasio-react-ui-components/commit/866610cd7d7cf6e96fcf77020d08f5a4a305b8c9))
* fixed styling issue with SearchBar ([00cc88a](https://github.com/samdouble/fikasio-react-ui-components/commit/00cc88ac44d0c389b15b5368278b1afbc174d329))
* linting ([0d9d7fa](https://github.com/samdouble/fikasio-react-ui-components/commit/0d9d7fa467630e2b3b8442bd151716f323f0629d))
* make options prop optional in Select ([29b77cd](https://github.com/samdouble/fikasio-react-ui-components/commit/29b77cdf4a0bc34cd59577230c6669f63d7246be))
* publish on npm on Release Please PR merge ([c759449](https://github.com/samdouble/fikasio-react-ui-components/commit/c759449f8820051e3086bc0b036b1165c196de01))
* **SearchBar:** correctly vertically align magnifying glass icon ([a955099](https://github.com/samdouble/fikasio-react-ui-components/commit/a955099ffe6e17914534ca99d4b1eeede60f46b6))
* **select:** fixed bug where the value would not change ([ac947bd](https://github.com/samdouble/fikasio-react-ui-components/commit/ac947bd1d25277ae47e19ebd8fe5152496178951))
* **Select:** make sure Select has a minimum width ([97a39b0](https://github.com/samdouble/fikasio-react-ui-components/commit/97a39b00a36fd02491df6504349495ab44692184))
* **table:** make sure cells all have different keys ([#2](https://github.com/samdouble/fikasio-react-ui-components/issues/2)) ([2ba660a](https://github.com/samdouble/fikasio-react-ui-components/commit/2ba660a09a52cc9cfc9d30b39706b1431596e7e7))
* use npm set command to setup registry ([085af83](https://github.com/samdouble/fikasio-react-ui-components/commit/085af83d52473f1ba2d4ddf199e122c359ec9caf))
* use PAT instead of GITHUB_TOKEN to trigger workflow to npm ([fc2dcc0](https://github.com/samdouble/fikasio-react-ui-components/commit/fc2dcc01007c8757cf6c15decb341703f025c22d))
* use yarn to install dependencies in publish workflow ([4c01939](https://github.com/samdouble/fikasio-react-ui-components/commit/4c01939e70c7485cf46731b25db2df373a07c53c))


### Miscellaneous Chores

* release 2.0.5 ([1baddbf](https://github.com/samdouble/fikasio-react-ui-components/commit/1baddbfbb74ee67d31fc748ed4573db94e33b1a2))

## [2.0.1](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.0...v2.0.1) (2025-11-18)


### Bug Fixes

* **AutosaveTextarea:** fix imports ([3438aad](https://github.com/samdouble/fikasio-react-ui-components/commit/3438aad9266b7ca7f91842d8885f7ad1611d7d72))

## [2.0.4](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.3...v2.0.4) (2025-11-18)


### Bug Fixes

* imports ([0acbe79](https://github.com/samdouble/fikasio-react-ui-components/commit/0acbe795ff9cd653ea55f783a2bb0f4b5ef798f9))

## [2.0.3](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.2...v2.0.3) (2025-11-18)


### Bug Fixes

* imports ([7fcdcb7](https://github.com/samdouble/fikasio-react-ui-components/commit/7fcdcb745cbf4d6b06ffac119abc1c118d2f73c0))

## [2.0.2](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.1...v2.0.2) (2025-11-18)


### Bug Fixes

* set the version number to 2.0.2 ([edfa8c5](https://github.com/samdouble/fikasio-react-ui-components/commit/edfa8c5c69ecbee051e42c2390ab39631b9e7921))

## [2.0.1](https://github.com/samdouble/fikasio-react-ui-components/compare/v2.0.0...v2.0.1) (2025-11-18)


### Bug Fixes

* set the version number to 2.0.1 ([f9a0470](https://github.com/samdouble/fikasio-react-ui-components/commit/f9a0470aeff42cac8321ccbd69db838927fe4cf8))

## [2.0.0](https://github.com/samdouble/fikasio-react-ui-components/compare/v1.1.1...v2.0.0) (2025-11-17)


### ⚠ BREAKING CHANGES

* **Selector:** use render function prop instead of Component
Expand Down
10 changes: 5 additions & 5 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
1. Run the following command from the root folder of the repo:

```
yarn
yarn storybook
npm install
npm run storybook
```

2. The Storybook should be available on a web browser at **localhost:6006**.
Expand All @@ -16,21 +16,21 @@ yarn storybook
1. Run the following command from the root folder of the repo:

```
yarn test
npm test
```

2. For visual regression tests:

```
yarn test-ct
npm run test-ct
```

## Installing new dependencies

1. Run the following commands from the root folder of the repo:

```
yarn add <dependency>
npm install <dependency>
```

## Creating a new version
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
[![CI](https://github.com/samdouble/fikasio-react-ui-components/actions/workflows/checks.yml/badge.svg)](https://github.com/samdouble/fikasio-react-ui-components/actions/workflows/checks.yml)
[![Coverage Status](https://coveralls.io/repos/samdouble/fikasio-react-ui-components/badge.svg?branch=master&service=github)](https://coveralls.io/github/samdouble/fikasio-react-ui-components?branch=master)

[![Node.js](https://img.shields.io/badge/Node.js-6DA55F?logo=node.js&logoColor=white)](https://nodejs.org/)
[![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff)](https://www.typescriptlang.org/)
[![React](https://img.shields.io/badge/React-%2320232a.svg?logo=react&logoColor=%2361DAFB)](https://react.dev/)
[![Bootstrap](https://img.shields.io/badge/Bootstrap-7952B3?logo=bootstrap&logoColor=fff)](https://getbootstrap.com/)
[![Sass](https://img.shields.io/badge/Sass-C69?logo=sass&logoColor=fff)](https://sass-lang.com/)
[![Jest](https://img.shields.io/badge/Jest-C21325?logo=jest&logoColor=fff)](https://jestjs.io/)
[![Playwright](https://custom-icon-badges.demolab.com/badge/Playwright-2EAD33?logo=playwright&logoColor=fff)](https://playwright.dev/)
[![Storybook](https://img.shields.io/badge/Storybook-FF4785?logo=storybook&logoColor=fff)](https://storybook.js.org/)
[![npm](https://img.shields.io/badge/npm-CB3837?logo=npm&logoColor=fff)](https://www.npmjs.com/)

# @fikasio/react-ui-components

## Installation
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ module.exports = {
},
],
},
};
};
Loading
Loading