App provider
A top level provider for the Design System.Beta
New and ready to use. We'll provide comms and support for any major changes.
6.0.0
Major Changes
98fa516d85430, (opens new window) - Theshapetokens theme is now enabled by default.
Patch Changes
- Updated dependencies
5.6.0
Minor Changes
01a6951a834fe, (opens new window) - Adds getScrollbarHarmonisationHtmlAttrs, a pure SSR helper that a product's server can spread onto the server-rendered <html> element to avoid a flash of un-harmonised scrollbars while the client-only useScrollbarHarmonisation effect has not yet run. Gated by the existing platform_dst_scrollbar_harmonisation and platform_dst_scrollbar_harmonisation_transparent feature gates.
5.5.1
Patch Changes
ab3d042218204, (opens new window) - Add the platform_dst_scrollbar_harmonisation_transparent gated transparent scrollbar track treatment.
5.5.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
5.4.1
Patch Changes
695fcbc68ad47, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
5.4.0
Minor Changes
-
d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.These packages now expose their individual modules via explicit
package.jsonexportssubpaths so that consumers can import directly from the leaf module (e.g.@atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.
Patch Changes
- Updated dependencies
5.3.0
Minor Changes
-
e7798888b0aea, (opens new window) - Add a gated scrollbar harmonisation hook and activator for applications without a root AppProvider. The hook accepts an optional explicit enabled override; when omitted, the shared rollout gate is used.Function components can use the hook:
import { useScrollbarHarmonisation } from '@atlaskit/app-provider/use-scrollbar-harmonisation'; function App() { useScrollbarHarmonisation(); return <Product />; }Class-based roots can mount the component adapter:
import { ScrollbarHarmonisation } from '@atlaskit/app-provider/scrollbar-harmonisation'; function App() { return ( <> <ScrollbarHarmonisation /> <Product /> </> ); }
5.2.1
Patch Changes
7d000f0d5beac, (opens new window) - Add a platform-gated harmonised scrollbar appearance using accessible thumb colors and the current surface. Visibility and width remain browser managed.
5.2.0
Minor Changes
7a3faca61e5be, (opens new window) - Imports from the package root are deprecated and will be removed in a future release. Migrate to dedicated entry-point imports to reduce upgrade friction. Recommended imports:import { AppProvider } from '@atlaskit/app-provider/app-provider'import { ThemeProvider, type ThemeProviderProps } from '@atlaskit/app-provider/theme-provider'import type { Theme } from '@atlaskit/app-provider/theme'import { useColorMode } from '@atlaskit/app-provider/use-color-mode'import { UNSAFE_useColorModeForMigration } from '@atlaskit/app-provider/use-color-mode-for-migration'import { useSetColorMode } from '@atlaskit/app-provider/use-set-color-mode'import { useSetTheme } from '@atlaskit/app-provider/use-set-theme'import { useTheme } from '@atlaskit/app-provider/use-theme'import type { RouterLinkComponent, RouterLinkComponentProps } from '@atlaskit/app-provider/router-link-provider'import { useRouterLink } from '@atlaskit/app-provider/use-router-link'
5.1.1
Patch Changes
- Updated dependencies
5.1.0
Minor Changes
-
cd097a2111788, (opens new window) - Republish packages depending on@atlaskit/react-compiler-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.
Patch Changes
- Updated dependencies
5.0.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
5.0.0
Major Changes
-
f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.Removes the
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
4.3.3
Patch Changes
- Updated dependencies
4.3.2
Patch Changes
5df00e0f09845, (opens new window) - Export newuseIsInsideThemeProviderhook, which returns a boolean indicating whether the component is rendered inside aThemeProvider.
4.3.1
Patch Changes
8e2f0f5b6e5b9, (opens new window) - Export newuseIsInsideThemeProviderhook, which returns a boolean indicating whether the component is rendered inside aThemeProvider.
4.3.0
Minor Changes
b6726adedaa66, (opens new window) - Autofix: add explicit package exports (barrel removal)
4.2.3
Patch Changes
- Updated dependencies
4.2.2
Patch Changes
- Updated dependencies
4.2.1
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
4.2.0
Minor Changes
1fab6967bb305, (opens new window) - Tidied feature flagplatform_dst_subtree_themingwhich enables sub-tree theming capabilities within@atlaskit/app-provider
4.1.0
Minor Changes
-
233c7dede572a, (opens new window) - Fixes a bug withAppProviderwhere under certain conditions, can cause an infinite loop switching between light/dark modes.This was happening because of this check:
const isRootThemeProvider = isInsideAppProvider && !isInsideThemeProvider;When an
AppProviderhasUNSAFE_isThemingDisabled, it avoids mounting it's rootThemeProvider. However, any subsequently nestedThemeProviders would become the root theme provider ofAppProvider, which uninintentionally enables global theming functionality.The fix is to allow
ThemeProviderto detect when a wrappingAppProviderhas theming disabled, which allows it to accurately determine if it is the root theme provider before enabling global theming.
4.0.0
Major Changes
2abd451d54eb2, (opens new window) - Removes atlassian-legacy-light/dark color themes from the tokens package. These themes are unused and non-functional in terms of color contrast. As a result some primitive components may recieve modern fallback color values in some scenarios, however these are inline with the latest token themes.
Patch Changes
- Updated dependencies
3.3.3
Patch Changes
e40fc5834a899, (opens new window) - Further iteration of subtree theming implementation behind feature gate. Removing unnecessary subtree theming containerdivfor top-level theme providers.
3.3.2
Patch Changes
- Updated dependencies
3.3.1
Patch Changes
d9d9cbc1507f6, (opens new window) - Internal change how default theme settings are shared between@atlaskit/tokensand@atlaskit/app-provider.- Updated dependencies
3.3.0
Minor Changes
a45bf2e086e1d, (opens new window) - We are testing AppProvider subtree theming capabilities behind a feature flag. This is still in development but working under minimal conditions. If this change is successful it will be available in a later release.
3.2.10
Patch Changes
- Updated dependencies
3.2.9
Patch Changes
- Updated dependencies
3.2.8
Patch Changes
a60a82196851a, (opens new window) - Internal refactors to remove unused variables. No functional or public changes.- Updated dependencies
3.2.7
Patch Changes
- Updated dependencies
3.2.6
Patch Changes
- Updated dependencies
3.2.5
Patch Changes
- Updated dependencies
3.2.4
Patch Changes
- Updated dependencies
3.2.3
Patch Changes
- Updated dependencies
3.2.2
Patch Changes
39e543109ec09, (opens new window) - add type info to forwardRef components
3.2.1
Patch Changes
28e3bab9e4314, (opens new window) - Migrated old shape tokens to new tokens. No visual change.
3.2.0
Minor Changes
0f3043fe00379, (opens new window) - Adds subtree theming implementation behind feature gate. ExportsThemeProvideras first-class API.
3.1.0
Minor Changes
33a9e5805e0c7, (opens new window) - Adds fallback logic for requesting the colorMode from theuseColorMode()hook. Also fixesuseTheme()so thatcolorModeisn't returned when its fallback logic is used
3.0.0
Major Changes
97bac34e4e575, (opens new window) - [ux] Refreshed typography theme enabled by default.
Patch Changes
- Updated dependencies
2.3.0
Minor Changes
- #190373, (opens new window)
73d6aa20aadb3, (opens new window) - Default typography theme changed to modernized behind feature flagplatform-default-typography-refreshed. If testing is successful the change will be available in a later release.
2.2.1
Patch Changes
- Updated dependencies
2.2.0
Minor Changes
- #157071, (opens new window)
a149a0b1559ec, (opens new window) - We are testing the migration to the ADS Link component behind a feature flag. If this fix is successful it will be available in a later release.
2.1.0
Minor Changes
- #130763, (opens new window)
42fdfd64b606b, (opens new window) - useTheme now falls back to reading theme state from the DOM for cases where the AppProvider/ThemeProvider is not in use. This allows us to replace all usage ofuseThemeObserverwithuseThemein other Design System packages without issue.
Patch Changes
- Updated dependencies
2.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
1.8.1
Patch Changes
- Updated dependencies
1.8.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
1.7.0
Minor Changes
- #105257, (opens new window)
16af4057ef04e, (opens new window) - Fixes a race condition with setting the theme. This change is no longer behind a feature flag.
1.6.1
Patch Changes
- #103996, (opens new window)
e97a60e120280, (opens new window) - Update dependencies and remove unused internal exports.
1.6.0
Minor Changes
- #98648, (opens new window)
940af9dafa883, (opens new window) - [ux] Default typography theme changed to modernized behind feature flagplatform-default-typography-modernized. If testing is successful the change will be available in a later release.
1.5.0
Minor Changes
- #101755, (opens new window)
07ee1368bd69d, (opens new window) - Fixes a race condition with setting the theme. This change is behind a feature flag.
Patch Changes
- Updated dependencies
1.4.3
Patch Changes
- #168743, (opens new window)
90605435312ea, (opens new window) - Remove react-router-dom from devDependencies as it is incompatible with React 18. - Updated dependencies
1.4.2
Patch Changes
- #165531, (opens new window)
57f451bda8919, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
1.4.1
Patch Changes
- Updated dependencies
1.4.0
Minor Changes
-
#127511, (opens new window)
db30e29344013, (opens new window) - Widening range ofreactandreact-dompeer dependencies from^16.8.0 || ^17.0.0 || ~18.2.0to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).This change has been done to enable usage of
react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platformpackages.
Patch Changes
- Updated dependencies
1.3.3
Patch Changes
- #110702, (opens new window)
b8c2eefeb195b, (opens new window) - Router link component configurations no longer requirechildren, so labels can be supplied through aria attributes if required
1.3.2
Patch Changes
- #89307, (opens new window)
5e4a7780400d, (opens new window) - Adding new functionality to allow easier migration of theming.
1.3.1
Patch Changes
- #94316, (opens new window)
35fd5ed8e1d7, (opens new window) - Upgrading internal dependencybind-event-listenerto@^3.0.0
1.3.0
Minor Changes
- #88515, (opens new window)
ef20ec7145b7, (opens new window) - Add type export forRouterLinkComponentto enable router link configuration
1.2.0
Minor Changes
- #87603, (opens new window)
07a08e440f76, (opens new window) - Add support for React 18 in non-strict mode.
1.1.0
Minor Changes
- #87244, (opens new window)
7d9d0320d3da, (opens new window) - Add option to disable theming features withUNSAFE_isThemingDisabled
1.0.1
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
1.0.0
Major Changes
- #69683, (opens new window)
203c0f3c8b03, (opens new window) - Stable v1 release of app provider
0.4.0
Minor Changes
- #42305, (opens new window)
4c9d4a7be34, (opens new window) - - Router link components are now required to forward refs- The
useRouterLink()hook now supports generic router link configuration:useRouterLink<YourLinkConfigObject>()
- The
Patch Changes
- #42305, (opens new window)
4c9d4a7be34, (opens new window) - - Fixes a bug with router link component generichrefprop typings where non-object types were allowed
0.3.1
Patch Changes
- #42130, (opens new window)
b9b8b2c1e0a, (opens new window) - Removed unused dev dependencies@atlaskit/primitivesand@atlaskit/dropdown-menu
0.3.0
Minor Changes
- #42091, (opens new window)
4ec3142822b, (opens new window) - Add therouterLinkComponentprop to support router link configuration within the Design System.
0.2.0
Minor Changes
- #41931, (opens new window)
5df5614a6b5, (opens new window) - defaultTheme now applies default sub-themes when ommited.
0.1.0
Minor Changes
- #41035, (opens new window)
e7344823cff, (opens new window) - Created the AppProvider component with support for theming.
0.0.1
- Scaffold AppProvider component.