Image
An image that changes in light or dark themes.5.2.4
Patch Changes
- Updated dependencies
5.2.3
Patch Changes
- Updated dependencies
5.2.2
Patch Changes
- Updated dependencies
5.2.1
Patch Changes
- Updated dependencies
5.2.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
5.1.1
Patch Changes
e974cd0ae082c, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
5.1.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.0.0
Major Changes
-
48e7d03469b80, (opens new window) - Apply Volt entry-point and barrel-removal standards across these design-system packages. Publicexportsnow resolve directly to./src/*implementations instead of intermediate./src/entry-points/*re-exports, root barrels and remaining entry-point shims are marked deprecated in favour of per-export subpaths, and a few new subpaths are added (@atlaskit/badge/badge-new,@atlaskit/tile/tile-skeleton,@atlaskit/popper/main,@atlaskit/section-message/message,@atlaskit/section-message/message-action).Why this is breaking
Subpaths and the package root can now resolve to the same module instance. Consumers that deep-imported
entry-points/*, orjest.mock()'d a specific subpath may need updates.@atlaskit/image's root export now points at./src/ui/image/index.tsx.@atlaskit/checkbox/checkboxnow exports a namedCheckboxfrom the implementation module (default export retained for backwards compatibility).Migration
Prefer published subpaths over the package root:
import { Checkbox } from '@atlaskit/checkbox/checkbox'; import TextField from '@atlaskit/textfield/text-field'; import Popup from '@atlaskit/popup/popup'; import SectionMessage from '@atlaskit/section-message/message'; import EmptyState from '@atlaskit/empty-state/empty-state';If you imported through internal entry-point modules, switch to the public subpath:
-import Checkbox from '@atlaskit/checkbox/entry-points/checkbox'; +import { Checkbox } from '@atlaskit/checkbox/checkbox';
Patch Changes
- Updated dependencies
4.2.1
Patch Changes
- Updated dependencies
4.2.0
Minor Changes
c98e0cf5cc4f6, (opens new window) - Autofix: add explicit package exports (barrel removal)
4.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
4.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
4.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
3.1.0
Minor Changes
afbd895691509, (opens new window) - Promote@atlaskit/imageto general availability.
3.0.10
Patch Changes
- Updated dependencies
3.0.9
Patch Changes
- Updated dependencies
3.0.8
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
3.0.7
Patch Changes
- Updated dependencies
3.0.6
Patch Changes
- Updated dependencies
3.0.5
Patch Changes
- Updated dependencies
3.0.4
Patch Changes
- Updated dependencies
3.0.3
Patch Changes
- Updated dependencies
3.0.2
Patch Changes
- Updated dependencies
3.0.1
Patch Changes
- Updated dependencies
3.0.0
Major Changes
-
#130672, (opens new window)
c92554212ded6, (opens new window) - Migrated from@emotion/reactto@compiled/reactin order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to use this version of@atlaskit/image, you will need to ensure that your bundler is configured to handle.cssimports correctly.Removed
--img-sourceand--img-source-darkCSS variables andcontentCSS property from<img>since thecontentvalues were invalid before.Most bundlers come with built-in support for
.cssimports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle.cssimports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS, (opens new window).
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.4.1
Patch Changes
- Updated dependencies
1.4.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
1.3.11
Patch Changes
- #108671, (opens new window)
6cfd20784a42b, (opens new window) - Update dev depdencies.
1.3.10
Patch Changes
- Updated dependencies
1.3.9
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies. - Updated dependencies
1.3.8
Patch Changes
- Updated dependencies
1.3.7
Patch Changes
- Updated dependencies
1.3.6
Patch Changes
- Updated dependencies
1.3.5
Patch Changes
- Updated dependencies
1.3.4
Patch Changes
- #166026, (opens new window)
962b5e77810fb, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
1.3.3
Patch Changes
- #156266, (opens new window)
6029cf729997a, (opens new window) - Fixes an issue where images with invalid/not-found urls will be requested in an infinite loop - Updated dependencies
1.3.2
Patch Changes
- Updated dependencies
1.3.1
Patch Changes
- Updated dependencies
1.3.0
Minor Changes
- #110670, (opens new window)
c733254a2dd6e, (opens new window) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.
1.2.2
Patch Changes
- Updated dependencies
1.2.1
Patch Changes
- #89307, (opens new window)
47cdc66371fb, (opens new window) - [ux] Fix bug where images flickered in dark mode. Source URLs are now set based on the current theme before first paint. - Updated dependencies
1.2.0
Minor Changes
- #96499, (opens new window)
d9a3724cdeb8, (opens new window) - Add support for React 18 in non-strict mode.
1.1.7
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
1.1.6
Patch Changes
- #38487, (opens new window)
b2da5b33468, (opens new window) - Documents that props likecssandclassNameare unsafe and will be deprecated in the future.
1.1.5
Patch Changes
- #36754, (opens new window)
4ae083a7e66, (opens new window) - Use@af/accessibility-testingfor default jest-axe config and jest-axe import in accessibility testing.
1.1.4
Patch Changes
- #34853, (opens new window)
d0a020ae050, (opens new window) - Basic accessibility unit tests with jest-axe
1.1.3
Patch Changes
- #32935, (opens new window)
b1bdec7cce2, (opens new window) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
1.1.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
1.1.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
1.1.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
1.0.4
Patch Changes
- #27634, (opens new window)
718d5ad3044, (opens new window) - Updates to support the new@atlaskit/tokenstheming API. - Updated dependencies
1.0.3
Patch Changes
- Updated dependencies
1.0.2
Patch Changes
- Updated dependencies
1.0.1
Patch Changes
- #28081, (opens new window)
98f5ba36c98, (opens new window) - Updates atlaskit/image thumbnails + descriptions for the website
1.0.0
Major Changes
- #28012, (opens new window)
bc74a5feb7d, (opens new window) - This package is no longer experimental and the API is considered stable. Version contains no changes what so ever.
0.2.1
Patch Changes
- #27885, (opens new window)
c674eafa051, (opens new window) - Fixes a bug where the system preference would override the default behaviour when the color-mode was not set to auto. As a result, an OS setting of "dark" and a product setting of "light" would result in a "dark" image.
0.2.0
Minor Changes
- #27046, (opens new window)
8ab96dfc824, (opens new window) - Adds a new Image primitive that works like the native HTML img element, with the added functionality of being theme-aware.
0.1.0
- Create Image component with theme functionality.