Files
x-editable-bs5/package.json
Micha 1ae5282bc7 v25.0.6: Fix bootstrap-datepicker and select2 integration for Bootstrap 5
Major improvements and fixes:

## Bootstrap-datepicker Integration
- Fix DPGlobal undefined error in date input
- Remove conflicting bdatepicker alias that was causing noConflict errors
- Add graceful error handling for missing bootstrap-datepicker dependency
- Implement proper initialization sequence for DPGlobal API
- Position datepicker above input with improved UX styling

## Select2 Integration & Compatibility
- Fix select2 integration with Select2 v4.1.0-rc.0
- Resolve issue where select2:select event fired but value didn't update
- Add event handler to manually update select2 value on selection
- Fix webpack build inconsistency between demo and standalone builds
- Remove redundant npm dependencies from demo (bootstrap-datepicker, select2)
- Implement proper Select2 v4 API usage for value setting

## Build System Improvements
- Fix webpack configuration to properly handle CSS imports
- Remove CSS file copying for npm dependencies, use webpack imports instead
- Ensure consistent input type registration across all build targets
- Clean up build output and remove debugging code

## Demo & Testing
- Update demo to use webpack source build for consistency
- Add comprehensive error handling and user feedback
- Clean up all debugging console output
- Improve demo page descriptions and usability

## Technical Fixes
- Fix 'Unknown type: select2' error in demo build
- Resolve value change detection preventing save operations
- Implement savenochange option for better UX
- Remove deprecated jQuery UI conflicts and aliases
- Update to modern webpack and build practices
2025-07-29 13:36:06 +02:00

67 lines
1.8 KiB
JSON

{
"name": "x-editable-bootstrap5",
"title": "X-editable Bootstrap 5",
"description": "A maintained fork of x-editable for Bootstrap 5 support.",
"version": "25.0.6",
"homepage": "https://git.24unix.net/tracer/x-editable",
"author": {
"name": "Micha Espey",
"email": "tracer@24unix.net"
},
"contributors": [
{
"name": "Vitaliy Potapov",
"email": "noginsk@rambler.ru",
"url": "https://github.com/vitalets",
"contributions": "Original author of x-editable"
}
],
"repository": {
"type": "git",
"url": "https://git.24unix.net/tracer/x-editable-bs5.git"
},
"mirrors": [
"https://github.com/24unix/x-editable-bs5",
"https://gitlab.com/24unix/x-editable-bs5"
],
"bugs": {
"url": "https://git.24unix.net/tracer/x-editable/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://git.24unix.net/tracer/x-editable/blob/master/LICENSE-MIT"
}
],
"main": "dist/bootstrap5-editable/js/bootstrap-editable.js",
"style": "dist/bootstrap5-editable/css/bootstrap-editable.css",
"dependencies": {
"bootstrap": "^5.3.3",
"bootstrap-datepicker": "^1.10.0",
"bootstrap-icons": "^1.11.3",
"jquery": "^3.7.1",
"select2": "^4.1.0-rc.0"
},
"devDependencies": {
"copy-webpack-plugin": "^13.0.0",
"css-loader": "^7.1.2",
"grunt": "^1.6.1",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-concat": "^2.1.0",
"grunt-contrib-connect": "^5.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-jshint": "^3.2.0",
"grunt-contrib-qunit": "^10.1.1",
"grunt-contrib-uglify": "^5.2.2",
"style-loader": "^4.0.0",
"webpack-cli": "^6.0.1"
},
"keywords": [
"editable",
"bootstrap5",
"jquery",
"in-place-editing",
"x-editable"
]
}