# jquery-ui-pack

A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.  
This package provides dual distribution: UMD/CommonJS and modern ES Modules (ESM).

## Installation
```
npm install jquery-ui-pack
```
Peer dependency:  
You must install jQuery separately.
```
npm install jquery
```
## Usage

### ES Module
```javascript
import $ from "jquery";
import "jquery-ui-pack";
import "jquery-ui-pack/jquery-ui.css";
```
### CommonJS / UMD
```javascript
const $ = require("jquery");
require("jquery-ui-pack");
require("jquery-ui-pack/jquery-ui.css");
```

### Using Themes

The default jQuery UI theme is included in this package.  
To style widgets correctly, you must include:

1. `jquery-ui.structure.css` – provides the core structural styles.
2. `jquery-ui.theme.css` – the default theme (or replace with another theme file if desired).

### Assets
Images used by the CSS (icons, themes) are available under:
```
import icon from "jquery-ui-pack/images/ui-icons.png";
```
## Features
- Interactions (Draggable, Droppable, Resizable, Selectable, Sortable)
- Widgets (Accordion, Autocomplete, Datepicker, Dialog, Progressbar, Slider, Tabs, Tooltip)
- Effects (Show/Hide, Animate, Class transitions)
- Themes with bundled images/icons

## Versioning
This package is based on jQuery UI version 1.14.2 but distributed as ESM + UMD.  

## License
MIT License © jQuery Foundation and contributors
