# @stlite/react

## 1.0.1

### Patch Changes

- [#1859](https://github.com/whitphx/stlite/pull/1859) [`df56e3c`](https://github.com/whitphx/stlite/commit/df56e3c1db321cff9e9a92d03f21f32c0c14ce2b) Thanks [@whitphx](https://github.com/whitphx)! - Skip pushing browser history upon multi-page app navigations when the page is opened via file: protocol because it causes SecurityError due to the file: protocol restriction

## 1.0.0

### Major Changes

- [#1837](https://github.com/whitphx/stlite/pull/1837) [`813b89e`](https://github.com/whitphx/stlite/commit/813b89e12eaf11e6522aedd75b57ba7bfb2a8bb4) Thanks [@whitphx](https://github.com/whitphx)! - Rename `mountDocumentStyles` to `disableDocumentStyles` with inverted meaning.

  **Breaking Change:** The `mountDocumentStyles` prop/option has been renamed to `disableDocumentStyles` with inverted logic:
  - Old: `mountDocumentStyles: true` (default) meant document styles were mounted
  - New: `disableDocumentStyles: false` (default) means document styles are mounted

  **Migration:**
  - `mountDocumentStyles={true}` → remove the prop (default behavior)
  - `mountDocumentStyles={false}` → `disableDocumentStyles={true}`

## 0.3.0

### Minor Changes

- [#1821](https://github.com/whitphx/stlite/pull/1821) [`3436a4c`](https://github.com/whitphx/stlite/commit/3436a4ceee1c20ae06534693a0be2b3bc464f13d) Thanks [@whitphx](https://github.com/whitphx)! - Fix ToastContainer to be contained by the app screen region

### Patch Changes

- [#1827](https://github.com/whitphx/stlite/pull/1827) [`8ff48cf`](https://github.com/whitphx/stlite/commit/8ff48cf899099f67267a5f3ada328240b28e5127) Thanks [@whitphx](https://github.com/whitphx)! - Improve demo apps and E2E tests:
  - Add counter functionality to multi-app demos to demonstrate independent session state
  - Rename shared-worker demo to multi-app-shared-worker for clarity
  - Combine smoke and snapshot tests to reduce E2E execution time
  - Remove unnecessary inline styles from basic demo

## 0.2.0

### Minor Changes

- [#1807](https://github.com/whitphx/stlite/pull/1807) [`6f8ed99`](https://github.com/whitphx/stlite/commit/6f8ed99e53191319d6911d67876e5de8178311d6) Thanks [@whitphx](https://github.com/whitphx)! - Fix style structure to provide an option to encapsulate the style in each mounted app

### Patch Changes

- [#1818](https://github.com/whitphx/stlite/pull/1818) [`381d7d3`](https://github.com/whitphx/stlite/commit/381d7d30e0b12edba6852e47eb94f3e826b1cdb3) Thanks [@whitphx](https://github.com/whitphx)! - Fix Emotion cache key error by updating generateUniqueId to use only alphabetical characters. Previously, the function generated alphanumeric IDs (e.g., "st-1mk594xl") which caused Emotion to throw an error: "Emotion key must only contain lower case alphabetical characters and - but "st-1mk594xl" was passed". The function now generates IDs containing only lowercase letters (a-z) to comply with Emotion's requirements.

## 0.1.1

### Patch Changes

- [`2722b06`](https://github.com/whitphx/stlite/commit/2722b06dbf7b1c262ddc1bf14f0ae1d74ca11556) Thanks [@whitphx](https://github.com/whitphx)! - Trigger release for https://github.com/whitphx/stlite/pull/1808 (Fix the race condition at the server initialization in SharedWorker mode) and https://github.com/whitphx/stlite/pull/1810 (Hook the task switch to reset the per-app CWD and home dir)

## 0.1.0

### Minor Changes

- [#1696](https://github.com/whitphx/stlite/pull/1696) [`7d71211`](https://github.com/whitphx/stlite/commit/7d71211b376e58609e272db288663bf522830457) Thanks [@whitphx](https://github.com/whitphx)! - Create @stlite/react package that provides Stlite as React components
