Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/notification-indicator

atlassian3.7k10.0.1TypeScript support: included

A wrapped React component used to display whether user has any new notifications.

readme

changelog

@atlaskit/notification-indicator

10.0.1

Patch Changes

  • cbcef77ba1e89 - Sorted type and interface props to improve Atlaskit docs

10.0.0

Major Changes

Patch Changes

  • Updated dependencies

9.5.0

Minor Changes

Patch Changes

  • Updated dependencies

9.4.1

Patch Changes

  • Updated dependencies

9.4.0

Minor Changes

9.3.0

Minor Changes

9.2.4

Patch Changes

  • Updated dependencies

9.2.3

Patch Changes

  • #93634 e0491b746c0f - Remove Confluence default notification empty state experiment code

9.2.2

Patch Changes

  • Updated dependencies

9.2.1

Patch Changes

9.2.0

Minor Changes

  • #71629 a726ec5c77b8 - [ux] Add prop for a Confluence experiment where we display the notification indicator with an empty badge if they have no notifications"

9.1.5

Patch Changes

9.1.4

Patch Changes

9.1.3

Patch Changes

  • #38184 ddc9497fb17 - check if document exists before using, for confluence SSR to work

9.1.2

Patch Changes

9.1.1

Patch Changes

9.1.0

Minor Changes

Patch Changes

  • Updated dependencies

9.0.4

Patch Changes

  • Updated dependencies

9.0.3

Patch Changes

9.0.2

Patch Changes

9.0.1

Patch Changes

9.0.0

Major Changes

  • #17459 8be1ff8ac9b - Removed V3 Notifications Api feature flag. By default, V3 Notifications Api will be used.

Patch Changes

  • Updated dependencies

8.1.0

Minor Changes

Patch Changes

  • Updated dependencies

8.0.6

Patch Changes

  • Updated dependencies

8.0.5

Patch Changes

8.0.4

Patch Changes

8.0.3

Patch Changes

  • #5497 5f58283e1f - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started Also add typescript to devDependencies to denote version that the package was built with.

8.0.2

Patch Changes

  • Updated dependencies

8.0.1

Patch Changes

  • #3885 6c525a8229 - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0

    Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.

8.0.0

Major Changes

Patch Changes

  • Updated dependencies

7.0.11

Patch Changes

7.0.10

Patch Changes

  • [patch]35d2229b2a:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

7.0.9

Patch Changes

  • [patch]a2d0043716:

    Updated version of analytics-next to fix potential incompatibilities with TS 3.6

7.0.8

Patch Changes

  • [patch]6410edd029:

    Deprecated props, value and onValueUpdated have been removed from the Badge component. Please use the children prop instead.

7.0.7

Patch Changes

  • [patch]097b696613:

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

7.0.6

Patch Changes

7.0.5

Patch Changes

  • [patch]926b43142b:

    Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.

    Breaking changes

    • withAnalyticsForSumTypeProps alias has been removed, please use withAnalyticsEvents
    • AnalyticsContextWrappedComp alias has been removed, please use withAnalyticsContext

    Breaking changes to TypeScript annotations

    • withAnalyticsEvents now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • withAnalyticsContext now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • Type WithAnalyticsEventProps has been renamed to WithAnalyticsEventsProps to match source code
    • Type CreateUIAnalyticsEventSignature has been renamed to CreateUIAnalyticsEvent to match source code
    • Type UIAnalyticsEventHandlerSignature has been renamed to UIAnalyticsEventHandler to match source code
    • Type AnalyticsEventsPayload has been renamed to AnalyticsEventPayload
    • Type ObjectType has been removed, please use Record<string, any> or [key: string]: any
    • Type UIAnalyticsEventInterface has been removed, please use UIAnalyticsEvent
    • Type AnalyticsEventInterface has been removed, please use AnalyticsEvent
    • Type CreateAndFireEventFunction removed and should now be inferred by TypeScript
    • Type AnalyticsEventUpdater removed and should now be inferred by TypeScript

7.0.4

Patch Changes

  • [patch]9f8ab1084b:

    Consume analytics-next ts type definitions as an ambient declaration.

7.0.3

Patch Changes

  • [patch]bbff8a7d87:

    Fixes bug, missing version.json file

7.0.2

Patch Changes

  • [patch]18dfac7332:

    In this PR, we are:

    • Re-introducing dist build folders
    • Adding back cjs
    • Replacing es5 by cjs and es2015 by esm
    • Creating folders at the root for entry-points
    • Removing the generation of the entry-points at the root Please see this ticket or this page for further details

7.0.1

Patch Changes

  • [patch]d0db01b410:

    TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.

    Before:

    withAnalyticsEvents()(Button) as ComponentClass<Props>;

    After:

    withAnalyticsEvents<Props>()(Button);

7.0.0

  • [major]7c17b35107:

    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

6.0.1

6.0.0

5.1.1

  • [patch]1bcaa1b991:

    • Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js

5.1.0

  • [minor]de0c7c3258:

    • Enable noImplicitAny for home/notification-indicator

5.0.0

  • [major]9d5cc39394:

    • Dropped ES5 distributables from the typescript packages

4.1.3

4.1.2

  • [patch]4c9a6d2187:

    • Correcting attribute name in analytics event

4.1.1

  • [patch]a4b0717:

    • Updated analytics events triggered by the notification-indicator

4.1.0

  • [minor]9cfee26:

    • Add data-test-selector to various components to help open and close the Notification Drawer programmatically. This would support test automation

4.0.6

4.0.5

  • [patch] Ensure onCountUpdated is not called when the old and new count is zero 1d43367

4.0.4

  • [patch] Adding currentCount query parameter to notification log calls 2fe6260

4.0.3

4.0.2

4.0.1

4.0.0

3.2.0

  • [minor] Update NotificationIndicator with new features that will be used to reduce backend calls 803ed1f
  • [minor] Updated dependencies 803ed1f

3.0.5

3.0.4

3.0.3

3.0.2

3.0.1

3.0.0

  • [major] Bump to React 16.3. 4251858

2.0.2

2.0.1

  • [patch] notification-indicator and notification-log-client now compile into es5 compliant code for both es5 and es2015 packages to maintain compatibility with old toolings 1783e37

2.0.0

  • [major] Added notification-log-client and notification-indicator into Atlaskit. Please refer to docs and examples for their usages. ac98216