# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2026-02-06

### Added
- Initial release of @superleapai/flow-ui
- Core state management system with `initState`, `getState`, `setState`, `get`, `set`
- Screen utilities: `createScreen`, `createGrid`, `createFieldWrapper`
- Form components:
  - Input (text, email, number, password, tel, url)
  - Textarea
  - Select dropdown
  - Multi-select (count and tags display)
  - Radio group
  - Checkbox (with indeterminate state)
  - Button (multiple variants)
  - Time picker (12/24 hour)
  - Date-time picker
  - Phone input (international)
  - Currency input
  - File upload
  - Record select (SuperLeap integration)
  - Record multi-select
  - Enumeration select/multi-select
- Advanced components:
  - Data table with selection
  - Search input
  - Stepper for multi-step forms
  - Toast notifications (success, error, warning, info, loading)
  - Alert messages
  - Summary/review rows
  - Badge
  - Popover
  - Spinner
  - Duration picker
- Comprehensive TypeScript type definitions
- Tailwind CSS styling with custom configuration
- Complete documentation and examples
- MIT License

### Features
- Vanilla JavaScript implementation (no framework dependencies)
- State management with change listeners
- Component variants (default, error, warning, success, borderless, inline)
- Size options (small, default, large)
- Disabled and read-only states
- Form validation support
- Accessibility features
- Responsive design
- Dark mode compatible
- SuperLeap client integration

### Documentation
- README.md with complete API reference
- EXAMPLES.md with component examples
- QUICKSTART.md for getting started
- TypeScript definitions (index.d.ts)
- Example HTML files for testing

[1.0.0]: https://github.com/superleap/superleap-flow/releases/tag/v1.0.0
