qlik-script-editor
Version:
A React component library for Qlik Sense script editing with syntax highlighting, autocomplete, and theme support
94 lines (75 loc) • 3.59 kB
Markdown
# 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.5] - 2025-01-08
### Fixed
- **CSS Import Issue**: Fixed package.json exports to properly expose `./lib/style.css` path
- **Module Resolution**: Added multiple CSS import methods in exports (`./lib/style.css` and `./styles`)
- **Documentation**: Added troubleshooting section for common import issues
## [1.0.4] - 2025-01-08
### Added
- **Example Project**: Complete working example in `/example` directory with:
- Multiple sample Qlik scripts (basic, advanced, joins)
- Theme switching functionality
- Real-time script statistics
- Script validation with error reporting
- Export functionality
- Responsive design
### Changed
- **Single File Build**: Configured build to output single bundled files instead of multiple chunks
- **Simplified lib Structure**: Now generates only essential files (index.js, index.cjs, index.d.ts, style.css)
- **Optimized Bundle**: Reduced build complexity while maintaining all functionality
- **Enhanced README**: Added comprehensive documentation including:
- Bundle size information
- Performance details
- Browser support
- Contributing guidelines
- Build tool information
## [1.0.3] - 2025-01-08
### Changed
- **Build Output**: Updated build output folder from `dist` to `lib`
- **Import Paths**: Updated CSS import path to `qlik-script-editor/lib/style.css`
### Added
- **QlikScriptEditor** - Main editor component for Qlik script development
- **ThemeProvider** - Theme management with light/dark/system themes
- **useQlikScript** - Hook for managing Qlik script state and validation
- **useTheme** - Hook for accessing theme context
- **Syntax Highlighting** - Color-coded Qlik keywords, functions, and variables
- **Autocomplete** - IntelliSense for Qlik functions, keywords, and variables
- **Script Validation** - Basic syntax validation and error detection
- **TypeScript Support** - Complete type definitions for all components
- **Responsive Design** - Works on all screen sizes
### Changed
- Refactored from generic React components to Qlik-specific functionality
- Updated package description and keywords for better discoverability
- Improved documentation with comprehensive examples
- Enhanced build configuration for optimal bundle size
### Removed
- Generic UI components (Button, Card) - kept for backward compatibility
- Unused build tools and configurations
- Monorepo structure references (now single package)
## [1.0.2] - Previous Version
### Initial Release
- Basic React component library structure
- Generic UI components
- Build configuration
## Features Overview
### Components
- **QlikScriptEditor**: Feature-rich editor with Qlik language support
- **ThemeProvider**: Context provider for theme management
- **Button**: Versatile button component (legacy)
- **Card**: Flexible card component (legacy)
### Hooks
- **useQlikScript**: Script state management with validation
- **useTheme**: Theme state access and control
- **useCounter**: Generic counter hook (legacy)
### Utilities
- **cn**: Conditional class name utility
- **debounce**: Function debouncing utility
- **generateId**: Unique ID generation
- **omit/pick**: Object manipulation utilities
### Types
- Complete TypeScript definitions for all components and hooks
- Qlik-specific types for variables, tables, fields, and functions
- Theme and editor configuration types