
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@chec/ui-library
Advanced tools
Note that this project is not licensed intentionally. At the moment you will require explicit permission from Chec Platform Inc. to utilise this repo in your own projects. Please let us know if you're interested. hello@chec.io
In the future we may add a license.
You can use either yarn
or npm
to install the ui-library
and it's dependencies from this Github repo.
yarn add github:chec/ui-library
npm install github:chec/ui-library
tailwind.preview.js
file at the root of the app exporting the ui-library
's custom tailwind.preview.js
from it.module.exports = require('@chec/ui-library/tailwind.config');
ui-library
's compiled css and Tailwind.css file which includes the @tailwind directives to include the ui-library
configured Tailwindcss styles/utilities./*
ui-library.css compiled css
*/
@import '~@chec/ui-library/dist/ui-library.css';
/*
tailwind.css, uses the @tailwind directive to inject Tailwind's base, components, and utilities styles into your CSS:
*/
@import '~@chec/ui-library/src/assets/tailwind.css';
You can import helpful sass mixins such as aspect-ratio
.
/* mixins.scss */
@import '~@chec/ui-library/src/assets/mixins.scss';
Mixins
aspect-ratio
use-case:
<div class="image-container">
<img src="chec.io/image.jpg" />
<div v-else>
<h6>
No Image
</h6>
</div>
</div>
.image-container {
/* tailwind @apply directive */
@apply w-1/2 max-w-sm;
/* apply aspect-ratio mixin */
@include aspect-ratio(16, 9);
/* style fall-back element */
div {
@apply bg-gray-300;
}
}
We use the vue-i18n
library for this. See lang/*.js
for the dictionaries. See the dashboard repo's
lang/README.md
for a detailed guide for using the library. TL;DRs:
<p>{{ $t('paginate.goToFirst') }}</p>
renders "Go to the first page"this.$t(...)
from component instance methodsgit clone https://github.com/chec/ui-library.git
cd ui-library
yarn install
yarn storybook:serve
yarn run serve
yarn build-lib
yarn lint:Fix
FAQs
[View the Storybook app](https://chec-ui.netlify.app/)
The npm package @chec/ui-library receives a total of 55 weekly downloads. As such, @chec/ui-library popularity was classified as not popular.
We found that @chec/ui-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.