# XWUIGamePatchNotes

A scrollable patch-notes / changelog viewer. It shows a "Patch Notes" header with `data.version` (rendered as `v…`) and `data.date`, then a scrollable body of `data.sections`, each a categorized block (`{ title, items }`) such as Added, Fixed, or Changed rendered as a bulleted list. Cap the scroll area with `conf_comp.maxHeight` and toggle the header `×` button with `conf_comp.showCloseBtn`; the close button dispatches a `close` event. Subscribe with `onClose` and swap content live with `updateData({ version, date, sections })`.

## Basic Usage

Displays a versioned, categorized changelog in a scrollable panel with a close button.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Scrollable patch-notes panel with a version/date header and categorized entry lists.
```

## Hotfix Notes

A compact single-section hotfix changelog with the header close button hidden.

```example
file: examples/HotfixNotes.ts
html: examples/BasicUsage.html
title: Hotfix Notes
description: A compact single-section hotfix changelog with the header close button hidden.
```

## Live Content Swap

Replaces the whole changelog in place with updateData() to follow a patch-to-patch update.

```example
file: examples/LiveUpdate.ts
html: examples/BasicUsage.html
title: Live Content Swap
description: Replaces the whole changelog in place with updateData() to follow a patch-to-patch update.
```

```api
```
