@1337exp/taoui 5.29.1 → 5.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +726 -707
- package/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +135 -82
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +105 -105
- package/skills/taoui/SKILL.md +8 -2
- package/skills/taoui/references/components.md +1 -1
- package/skills/taoui/references/patterns.md +163 -0
package/README.md
CHANGED
|
@@ -216,7 +216,7 @@ the class how big.
|
|
|
216
216
|
|
|
217
217
|
### For AI assistants
|
|
218
218
|
|
|
219
|
-
The package ships a skill, `skills/taoui/SKILL.md` with `references/components.md`: the setup, the rules (roles not colours, contexts not props), every component and its props, and the mistakes people make. Point your assistant at it; for Claude Code, copy `node_modules/@1337exp/taoui/skills/taoui` into your project's `.claude/skills/`. The component reference is generated from the showcase prop tables (`npm run skill`), and a test keeps the skill naming every component.
|
|
219
|
+
The package ships a skill, `skills/taoui/SKILL.md` with `references/components.md` and `references/patterns.md`: the setup, the rules (roles not colours, contexts not props), every component and its props, what to use when (the accent budget, a toolbar, a form footer, controls side by side, a destructive action: a do and a don't each), and the mistakes people make. Point your assistant at it; for Claude Code, copy `node_modules/@1337exp/taoui/skills/taoui` into your project's `.claude/skills/`. The component reference is generated from the showcase prop tables (`npm run skill`), and a test keeps the skill naming every component.
|
|
220
220
|
|
|
221
221
|
## Icons
|
|
222
222
|
|
package/README.ru.md
CHANGED
|
@@ -217,7 +217,7 @@ Container живёт на другой оси — ширина: `width="wide" |
|
|
|
217
217
|
|
|
218
218
|
### Для ИИ-ассистентов
|
|
219
219
|
|
|
220
|
-
В пакете есть skill, `skills/taoui/SKILL.md` с `references/components.md`: подключение, правила (роли, а не цвета; контексты, а не пропсы), каждый компонент и его пропсы, типичные ошибки. Покажите его ассистенту; для Claude Code скопируйте `node_modules/@1337exp/taoui/skills/taoui` в `.claude/skills/` проекта. Справочник компонентов генерируется из таблиц пропсов шоукейса (`npm run skill`), а тест следит, чтобы skill называл каждый компонент.
|
|
220
|
+
В пакете есть skill, `skills/taoui/SKILL.md` с `references/components.md` и `references/patterns.md`: подключение, правила (роли, а не цвета; контексты, а не пропсы), каждый компонент и его пропсы, что брать когда (бюджет акцента, панель инструментов, подвал формы, контролы рядом, разрушающее действие: «так» и «не так» для каждого), типичные ошибки. Покажите его ассистенту; для Claude Code скопируйте `node_modules/@1337exp/taoui/skills/taoui` в `.claude/skills/` проекта. Справочник компонентов генерируется из таблиц пропсов шоукейса (`npm run skill`), а тест следит, чтобы skill называл каждый компонент.
|
|
221
221
|
|
|
222
222
|
## Иконки
|
|
223
223
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6303,9 +6303,11 @@ declare interface Props {
|
|
|
6303
6303
|
pressed?: boolean;
|
|
6304
6304
|
/**
|
|
6305
6305
|
* The key that does the same, shown at the end of the button (`N`, `Ctrl+K`) and given as `aria-keyshortcuts`.
|
|
6306
|
+
* On an icon-only button it is not printed (there is no room in the square): it goes to the tooltip, `Bold (Ctrl+B)`.
|
|
6306
6307
|
* It only shows the key: listening to it is the app's job.
|
|
6307
|
-
* Клавиша, которая делает то же, — в конце кнопки (`N`, `Ctrl+K`) и в `aria-keyshortcuts`.
|
|
6308
|
-
*
|
|
6308
|
+
* Клавиша, которая делает то же, — в конце кнопки (`N`, `Ctrl+K`) и в `aria-keyshortcuts`. На кнопке только с иконкой
|
|
6309
|
+
* не печатается (в квадрате нет места): уходит в подсказку, `Жирный (Ctrl+B)`. Только показывает клавишу: слушать
|
|
6310
|
+
* её — дело приложения.
|
|
6309
6311
|
*/
|
|
6310
6312
|
shortcut?: string;
|
|
6311
6313
|
}
|