npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@chrome-consulting/krit-ui

v0.0.75

Published

Библиотека UI компонентов для [KRIT](https://krit.global/)

Readme

KRIT UI

Библиотека UI компонентов для KRIT

Совместимость

Библиотека поддерживает React и React DOM версий 18 и 19. React должен быть установлен в приложении-потребителе.

Использование библиотеки

<ThemeProvider> обязательна для корректного отображения компонентов UI.

<ThemeProvider> принимает свойство translations через которое можно передать переводы.

Пример

<ThemeProvider translations={
  {
    confirmAction: 'Подтвердите действие',
    cancelAction: 'Отменить действие',
    ...
  }
}>
    <App />
</ThemeProvider>

Публикация пакета

Пакет публикуется в npm как @chrome-consulting/krit-ui.

Перед публикацией убедитесь, что в package.json и package-lock.json указаны:

{
  "name": "@chrome-consulting/krit-ui",
  "version": "x.y.z"
}

В package.json не должно быть "private": true.

Подготовка PR

  1. Создайте ветку от актуального main.
  2. Внесите изменения в исходники lib/.
  3. Поднимите версию пакета.
  4. Проверьте пакет локально:
npm ci
npm run build
npm run lint
npm pack --dry-run
  1. Откройте PR в krit-ui.

Публикация после merge

Публиковать нужно из актуального main, после merge PR:

git checkout main
git pull
npm ci
npm run build
npm pack --dry-run
npm publish --access public

Проверьте опубликованную версию:

npm view @chrome-consulting/krit-ui version

Если npm whoami возвращает ENEEDAUTH, выполните логин:

npm login --scope=@chrome-consulting --registry=https://registry.npmjs.org/

Если браузерный логин не работает:

npm login --auth-type=legacy --scope=@chrome-consulting --registry=https://registry.npmjs.org/

Если npm publish возвращает 403, у аккаунта нет прав на пакет или scope @chrome-consulting.

Обновление TORO web

После публикации новой версии обновите зависимость в TORO web:

cd ../web
npm install @chrome-consulting/[email protected]
npm run typecheck

Если до публикации использовался временный patch-package, удалите patch после установки опубликованной версии:

rm patches/@chrome-consulting+krit-ui+*.patch

Если patch был единственным, также можно убрать postinstall: patch-package из web/package.json.

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:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: "latest",
    sourceType: "module",
    project: ["./tsconfig.json", "./tsconfig.node.json"],
    tsconfigRootDir: __dirname,
  },
};
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@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 the extends list

Фильтры DataTable

Инструкция подключения редактора условий, серверных справочников и мультисортировки: docs/table-filters.md.