ShtukbaseStandard

The keer-ui component library

keer-ui · версия 0.1.1
Дизайн2 нормы2 проверки

56 React + Tailwind components from an earlier product in the keer-style style; the code is placed in the project, as with shadcn, and the project sets the folder itself.

О пакете

Этот текст ещё не переведён. Ниже английский оригинал.

Components from an earlier product that suit any project on React and Tailwind: 35 primitives and 21 composites. The look is the tokens of the keer-style package.

As with shadcn: sources are copied into the project, not installed as a dependency. The place action puts them in the folder from the target: field of the page /design/keer-ui.md (by default src/ui) and runs by itself after install and update. Files the project edited are not touched by an update.

What it puts in the project:

  • /design/keer-ui.md: what is inside, settings (target:, tokens:), what the project needs;
  • /design/keer-ui/catalog.html: a catalog: components and their states, opened with a double click;
  • the library code in the target folder;
  • norms KU-R01 (the library is intact) and KU-R02 (a component has a states file).

The package does not install dependencies (react, @base-ui/react, class-variance-authority, cn, lucide-react, sonner, next-themes, tailwindcss 4, tw-animate-css, shadcn); they are requirements for the project, and the list is on the page.

Boundary: An earlier product's domain components (leads, tenders, sites, the copilot task queue, the query bar, the application frame with its brand), blocks and screens, vitest tests and the registry are not included. The code is not built or type-checked on install: the package has no npm dependencies.

Source: An earlier product, packages/ui/src, 28.11.2026.

Нормы 2

IDНормаУровеньРежимEnforcer
KU-R01
Библиотека keer-ui положена в папку проекта из поля target: страницы /design/keer-ui.md; каждый файл из её списка (.keer-ui.json) на месте; каждый относительный импорт в .ts/.tsx и каждый @import в CSS этой папки находит файл.
MUST не пускает
проверка
KU-R02
Рядом с каждым компонентом <имя>.tsx в папке библиотеки (кроме lib/, hooks/, styles/) лежит <имя>.states.tsx, который экспортирует meta и states.
SHOULD не пускает
проверка

«Не пускает» — enforcer останавливает нарушение; «наблюдает» — только отмечает его. Уровень MUST — обязательно, SHOULD — по умолчанию да.

Действия 3

ИмяЧто делаетФайлКогда
placePlace the library in the project folder (target: on /design/keer-ui.md); --force replaces edited files tooactions/place.ts
после установки после обновления
libraryThe library is intact: files in place, imports find their files
норма KU-R01
checks/library.ts
проверка
statesA component has a states file
норма KU-R02
checks/states.ts
проверка

Проверки запускает shtuk check, любое действие — shtuk run keer-ui <имя>. Действия «после установки» запускаются сами, только если пакет из доверенного источника.

Страницы 4

Ложатся в проект по этим путям.

Файлы пакета 127

Ложатся в .shtukbase/packages/keer-ui/; отсюда запускаются действия.

icon.svg 425 Б