# @open-pioneer/notifier

## 4.8.0

### Minor Changes

- a38e934: Update Chakra to 3.37.0

### Patch Changes

- 7d5283e: Updated dependencies.

## 4.7.0

### Minor Changes

- e433296: Update Chakra UI to 3.36.1

### Patch Changes

- 9d84f1e: Migrated from eslint to oxlint and from prettier to oxfmt.

## 4.6.0

## 4.5.0

### Minor Changes

- 4e76893: Update Chakra UI to 3.34.0

### Patch Changes

- 9712265: Fix rendering of long strings in notifier UI.

## 4.4.0

### Minor Changes

- b28d6bc: Update to chakra 3.31.0
- d7ec65c: Add a `rootProps` property to the `<Notifier />` component.
  These are properties that will be applied to the notifier's root div.
- d7ec65c: Allow configuration of the gap between the first notification and the screen edge(s) via the new `offsets` package property.

### Patch Changes

- f9aaf46: Bump various dependencies
- 554d58e: Use `workspace:*` instead of `workspace:^` for local package references as default. This ensures that trails packages from this repository are always referenced with their exact version to avoid potential issues with version mismatches. If a project specifically wants to use other versions for some trails packages, a pnpm override can be used to force other versions.

## 4.3.0

### Minor Changes

- eb54023: Update chakra to 3.29.0

### Patch Changes

- 6416dd9: Very slightly defer toast creation (using `queueMicrotask()`).
  This prevents a React warning when calling `NotificationService.notify(..)` from within a `useEffect()`.

## 4.2.0

### Minor Changes

- 1b95a62: Update chakra-ui to 3.28.0

## 4.1.0

### Minor Changes

- 3c6191a: Icons have been changed to Lucide react-icons to unify the appearance of the components.

### Patch Changes

- b7a854d: Update dependencies
- adf277b: Update dependencies

## 4.0.0

### Major Changes

- 9f074d8: Update to Chakra 3.x
- 9f074d8: **Breaking**: The `position` property has moved from the `<Notifier />` component to package properties.
  In order to change to location of notifications, you need to customize the package properties.

    Before:

    ```jsx
    // App.jsx
    <Notifier position="top-right" />
    ```

    After:

    ```ts
    // app.ts
    const Element = createCustomElement({
        // ...
        config: {
            properties: {
                "@open-pioneer/notifier": {
                    position: "top-right"
                } satisfies NotifierProperties
            }
        }
        // or use resolveConfig()
    });
    ```

### Patch Changes

- 434bd04: Bump dependencies.

## 3.1.0

### Patch Changes

- 1c1ede8: Bump dependencies.

## 3.0.0

### Major Changes

- 9477e54: Update dependencies
    - React 19
    - Vite 6
    - FormatJS 3
    - Open Pioneer Build Tools
    - ...

    For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81

## 2.4.0

### Minor Changes

- e4ba048: Introduce new convenience methods on the `NotificationService` in addition to the existing `notify()` method:

    ```js
    const notifier = ...; // injected
    notifier.success(/* ... */)
    notifier.info(/* ... */)
    notifier.warning(/* ... */)
    notifier.error(/* ... */)
    ```

### Patch Changes

- 1b63ebe: Update dependencies

## 2.3.0

### Minor Changes

- 2fbaaa0: Use normal `dependencies` instead of `peerDependencies`. Peer dependencies have some usability issues (and bugs) when used at scale.

## 2.2.0

### Patch Changes

- 39dad46: Switch to a new versioning strategy.
  From now on, packages released by this repository share a common version number.

## 0.3.6

### Patch Changes

- 5c62522: Update wording and harmonize structure

## 0.3.5

## 0.3.4

## 0.3.3

### Patch Changes

- 64645aa: Update to react 18.3

## 0.3.2

### Patch Changes

- 5ff8f30: Update package.json metadata.

## 0.3.1

### Patch Changes

- 4eac7c7: Move packages into core-packages repository.
    - @open-pioneer/runtime@2.1.2

## 0.3.0

### Minor Changes

- ee7c2d4: Update runtime version.

## 0.2.0

### Minor Changes

- 70349a8: Update to new core packages major versions

## 0.1.0

### Minor Changes

- 182da1c: Initial release.
