feat: примитивы Checkbox, Spinner, IconButton, Dialog, Link (0.10.0)

Набор B перекраски форм: брендовые адаптивные примитивы + иконки
arrow-up/arrow-down/swap/refresh + токен $amber-50.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Тимур Городецкий
2026-08-25 18:28:50 +05:00
parent 2958ab7320
commit fa6fe8dbe1
20 changed files with 740 additions and 1 deletions
+14
View File
@@ -6,6 +6,8 @@
// --- Кнопки ---
export { Button } from './Button/Button';
export { PrintButton } from './PrintButton/PrintButton';
export { IconButton } from './IconButton/IconButton';
export type { IIconButtonProps } from './IconButton/IconButton';
// --- Сообщения / плашки ---
export { Alert } from './Alert/Alert';
@@ -30,6 +32,8 @@ export { MoneyInput } from './MoneyInput/MoneyInput';
export { Select } from './Select/Select';
export type { ISelectOption } from './Select/Select';
export { Toggle } from './Toggle/Toggle';
export { Checkbox } from './Checkbox/Checkbox';
export type { ICheckboxProps } from './Checkbox/Checkbox';
// --- Режим «только чтение» для полей формы ---
export { FormModeProvider, useFormReadOnly } from './FormMode';
@@ -44,11 +48,19 @@ export { FileDropzone } from './FileDropzone/FileDropzone';
export { AttachmentList } from './AttachmentList/AttachmentList';
export type { IAttachmentInfo } from './AttachmentList/AttachmentList';
// --- Индикаторы состояния ---
export { Spinner } from './Spinner/Spinner';
export type { ISpinnerProps, SpinnerSize } from './Spinner/Spinner';
// --- Модалка подтверждения ---
export { ConfirmHost } from './ConfirmDialog/ConfirmDialog';
export { confirmModal } from './ConfirmDialog/confirmModal';
export type { IConfirmOptions } from './ConfirmDialog/confirmModal';
// --- Модальное окно (с телом и футером) ---
export { Dialog } from './Dialog/Dialog';
export type { IDialogProps } from './Dialog/Dialog';
// --- Раскладка приложения ---
export { AppLayout } from './AppLayout/AppLayout';
export type { IAppLayoutProps } from './AppLayout/AppLayout';
@@ -62,6 +74,8 @@ export { Sidebar } from './Sidebar/Sidebar';
export type { ISidebarItem, ISidebarProps } from './Sidebar/Sidebar';
export { SidebarToggle } from './Sidebar/SidebarToggle';
export type { ISidebarToggleProps } from './Sidebar/SidebarToggle';
export { Link } from './Link/Link';
export type { ILinkProps } from './Link/Link';
// --- Таблицы ---
export { DataTable } from './DataTable/DataTable';