@blinqas/blinq-ui
v0.2.5
Published
BlinQ AS Design system
Downloads
104
Readme
Used tutorials
- https://dev.to/receter/how-to-create-a-react-component-library-using-vites-library-mode-4lma
- https://miyauchi.dev/posts/lib-vite-tailwindcss/
- https://miyauchi.dev/posts/typescript-package-release/
Icons
- https://github.com/tailwindlabs/heroicons#react
Buttons
- https://codepen.io/vitor-siqueira/pen/xNBExN/
- https://codepen.io/natalia-reshetnikova/pen/oRRjPP/
- https://codepen.io/thelaazyguy/pen/brryVq/
- https://codepen.io/ysoftaoglu/pen/qZRGzK
- https://codepen.io/atloomer/pen/JEaRWX
- https://codepen.io/JeremyWink/pen/LYPMLLV
- https://codepen.io/CTNieves/pen/pbLGeW
- https://codepen.io/kathykato/pen/rZRaNe
- https://codepen.io/halvo/pen/pRdeja
- https://codepen.io/RobinTreur/pen/dGybQW
- https://webdeasy.de/en/top-css-buttons-en/
Run built storybook locally
- npx http-server ./storybook-static
How to publish a new version?
- update version in packages.json
- npm run build
- npm publish
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list