@humu-tech/ui 0.3.0 → 0.4.0

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/README.md CHANGED
@@ -292,8 +292,8 @@ Tudo é exportado da raiz: `import { X } from '@humu-tech/ui'`. Exemplos e props
292
292
 
293
293
  | Grupo | Componentes |
294
294
  | --- | --- |
295
- | **Formulário** | `Button` `Checkbox` `CepInput` `ColorPicker` `Combobox` `DateInput` `DateRangeInput` `DocumentInput` `DocumentUploadCard` `FileUpload` `FileViewCard` `ImageUpload` `Input` `Label` `MaskedInput` `MoneyInput` `MultiCombobox` `OtpInput` `PasswordInput` `PercentInput` `PhoneInput` `RadioGroup` `SelectableCard` `Switch` `TextArea` `TitleSelect` `ToggleChip` |
296
- | **Overlays e menus** | `ConfirmDialog` `ContextMenu` `Dialog` `Drawer` `Dropdown` `FilePreviewDialog` `Popover` `Tooltip` |
295
+ | **Formulário** | `Button` `Checkbox` `CepInput` `ColorPicker` `Combobox` `DateInput` `DateRangeInput` `DocumentInput` `DocumentUploadCard` `DownloadButton` `FileUpload` `FileViewCard` `ImageUpload` `Input` `Label` `MaskedInput` `MoneyInput` `MultiCombobox` `OtpInput` `PasswordInput` `PasswordRequirements` `PercentInput` `PhoneInput` `RadioGroup` `SelectableCard` `Switch` `TextArea` `TitleSelect` `ToggleChip` |
296
+ | **Overlays e menus** | `ConfirmDialog` `ContextMenu` `Dialog` `Drawer` `Dropdown` `FilePreviewDialog` `PasswordPromptDialog` `Popover` `Tooltip` |
297
297
  | **Exibição de dados** | `Avatar` `Badge` `Box` `Card` `ContentCard` `CopyButton` `FieldsCard` `FileInfoCard` `FilePreviewContent` `FileThumbnail` `Heading` `Logo` `Skeleton` `Sparkline` `SparklineBadge` `Text` |
298
298
  | **Navegação e layout** | `Breadcrumb` `Separator` `Stepper` `Tabs` |
299
299
  | **Feedback** | `Checklist` `FormAlert` `FullScreenLoading` `HelpHint` `InfoBox` `Progress` `ProgressTitle` `Spinner` `Toaster` (com `toast`, `useToast` e `dismissToast`) |
@@ -303,15 +303,15 @@ Tudo é exportado da raiz: `import { X } from '@humu-tech/ui'`. Exemplos e props
303
303
 
304
304
  | Grupo | Componentes |
305
305
  | --- | --- |
306
- | **Formulário** | `FilterBar` `FilterToolbar` `FormSection` `FormWithAside` `WizardShell` |
307
- | **Exibição de dados** | `DataField` `DataTable` (com `DataTableTextCell`, `DataTableLinkCell`, `DataTableDocumentCell` e `DataTableActionButton`) `DataTablePagination` `EmptyState` `LegalDocumentRenderer` `PanelCard` `ReadOnlyDataView` `SectionCard` `SortableColumnHeader` `Timeline` (com `TimelineItem`, `TimelineDaySeparator` e `TimelineSection`) `TutorialCard` |
306
+ | **Formulário** | `ActionBar` `FilterBar` `FilterToolbar` `FormSection` `FormWithAside` `QuickFilters` `SectionHeading` `ToggleTile` `WizardShell` |
307
+ | **Exibição de dados** | `DataField` `DataTable` (com `DataTableTextCell`, `DataTableLinkCell`, `DataTableDocumentCell` e `DataTableActionButton`) `DataTablePagination` `EmptyState` `LegalDocumentRenderer` `PanelCard` `ReadOnlyDataView` `SectionCard` `SortableColumnHeader` `StatusBadge` `Timeline` (com `TimelineItem`, `TimelineDaySeparator` e `TimelineSection`) `TutorialCard` |
308
308
  | **Navegação e layout** | `AppShell` `ErrorPageLayout` `NavigatorTile` `NavigatorTileGrid` `PageTitle` `PublicPageLayout` `Sidebar` `Topbar` (com `TopbarIconButton` e `TopbarSearchButton`) |
309
- | **Gráficos e indicadores** | `ChartTimeSeries` `DonutChart` `HorizontalBarChart` `KpiCard` `KpiHero` `LineChart` `StackedBarChart` |
310
- | **Diversos** | `CommandPalette` `DashboardBlock` `DSAccordion` `NotificationCenter` `WorkflowDesigner` |
309
+ | **Gráficos e indicadores** | `ChartTimeSeries` `DonutChart` `HorizontalBarChart` `KpiCard` `KpiHero` `LineChart` `Speedometer` `StackedBarChart` |
310
+ | **Diversos** | `CommandPalette` `CookieConsent` `DashboardBlock` `DSAccordion` `ErrorBoundary` `NotificationCenter` `WorkflowDesigner` |
311
311
 
312
312
  ### Utilitários
313
313
 
314
- `cn` (junta classes e resolve conflitos do Tailwind, incluindo as `humu-*`), `DefaultLink`, `SuspenseSkeleton`, `isMacOS`, `getShortcutLabel`, `getShortcutKeys`, `isImageFile` e `isPdfFile`. Os componentes exportam também o tipo das props (`ButtonProps`, `DataTableProps` etc.).
314
+ `cn` (junta classes e resolve conflitos do Tailwind, incluindo as `humu-*`), `DefaultLink`, `SuspenseSkeleton`, `isMacOS`, `getShortcutLabel`, `getShortcutKeys`, `isImageFile`, `isPdfFile`, `downloadFile`, `normalizeDocument`, `brazilianPhoneDigits`, `meetsPasswordRules` e `DEFAULT_PASSWORD_RULES`. Os componentes exportam também o tipo das props (`ButtonProps`, `DataTableProps` etc.).
315
315
 
316
316
  ## Migrando da 0.2.x
317
317