Lozenge
A lozenge is a prominent, compact label used to communicate a meaningful attribute that affects how people understand, prioritize or act on an object.Generally available
The new lozenge is stable and ready for adoption. Visual updates are currently behind the platform-dst-lozenge-tag-badge-visual-uplifts feature flag.
15.4.3
Patch Changes
- Updated dependencies
15.4.2
Patch Changes
- Updated dependencies
15.4.1
Patch Changes
22d1769061c07, (opens new window) - Experimental React 19 test compatibility fix for Lozenge. Test coverage is partial.- Updated dependencies
15.4.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
15.3.1
Patch Changes
- Use
@atlassian/testing-libraryexclusively in unit tests. - Updated dependencies
15.3.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
15.2.0
Minor Changes
0075efb228821, (opens new window) - Autofix: barrel removal (imports + exports)
Patch Changes
- Updated dependencies
15.1.0
Minor Changes
0f991757357a9, (opens new window) - Fade between Lozenge Dropdown Trigger content and its loading spinner behind theplatform-dst-motion-uplift-buttonfeature gate.
15.0.2
Patch Changes
77c80a1010e70, (opens new window) - Include border-color in button motion transitions and apply the motion to interactive lozenge dropdown triggers behind the button motion feature flag.- Updated dependencies
15.0.1
Patch Changes
- Updated dependencies
15.0.0
Major Changes
-
b9a07863db348, (opens new window) - Apply Volt entry-point and multi-export standards viavolt-migrate-package. This is a major change to@atlaskit/lozenge: the packageexportsmap has been restructured so every public subpath now resolves directly to its./src/*implementation instead of going through an intermediate./src/entry-points/*re-export. It also introduces new public subpaths:@atlaskit/lozenge/new/lozenge.Why this is breaking
Because each subpath now points straight at its implementation module, a subpath and the package root can resolve to the same module instance. Consumers that deep-import the internal
entry-points/*files, or thatjest.mock()a specific subpath, may observe changed resolution/behaviour and need updating.Migration — public imports are unchanged
Importing the published subpaths (or the package root) continues to work as before:
// Still valid — no change required import Lozenge from '@atlaskit/lozenge/lozenge';If you were reaching into the internal entry-point modules, switch to the public subpath:
-import Lozenge from '@atlaskit/lozenge/entry-points/lozenge'; +import Lozenge from '@atlaskit/lozenge/lozenge';Before / after
exportsmap"exports": { ".": "./src/index.tsx", - "./lozenge": "./src/entry-points/lozenge.tsx", + "./lozenge": "./src/lozenge.tsx", - "./lozenge-dropdown-trigger": "./src/entry-points/lozenge-dropdown-trigger.tsx", + "./lozenge-dropdown-trigger": "./src/new/lozenge-dropdown-trigger.tsx", "./new": "./src/new/entrypoint.tsx", + "./new/lozenge": "./src/new/lozenge.tsx", - "./types": "./src/entry-points/types.tsx", + "./types": "./src/new/types.tsx", }
Patch Changes
- Updated dependencies
14.1.6
Patch Changes
- Updated dependencies
14.1.5
Patch Changes
- Updated dependencies
14.1.4
Patch Changes
- Updated dependencies
14.1.3
Patch Changes
- Updated dependencies
14.1.2
Patch Changes
- Updated dependencies
14.1.1
Patch Changes
- Updated dependencies
14.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
14.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
14.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
13.9.0
Minor Changes
3806011c04923, (opens new window) - Removed all OKLCH andcolor-mix()runtime color transformations from the new Lozenge component (behind theplatform-dst-lozenge-tag-badge-visual-upliftsfeature gate).- Borders now use the new
color.border.accent.*.subtle/color.border.*.subtletokens (introduced in@atlaskit/tokens@13.2.0) instead of being derived via OKLCH transforms. - Icons use
color.text.*tokens for guaranteed 3:1 contrast on coloured backgrounds across default, hover, and pressed states. Neutral and accent-gray icons usecolor.text.subtle. - The trailing metric Badge uses the new bold semantic Badge appearances (
successBold,warningBold,dangerBold,informationBold,discoveryBold) so the badge no longer reaches into Lozenge styling. In the lozenge's pressed/selected state the badge overlayscolor.background.neutralto remain distinguishable. The neutral lozenge usescolor.background.neutral.hoveredin default/hovered states (noneutralBoldappearance exists). - Removed Lozenge-specific accent.gray
.subtleborder in favour of the defaultcolor.border(since gray decorative borders look the same as the neutral default).
- Borders now use the new
13.8.4
Patch Changes
9ef96548c3d31, (opens new window) - Fixed the new Lozenge component (behind theplatform-dst-lozenge-tag-badge-visual-upliftsfeature gate) not truncating text correctly when placed inside a parent container narrower than the lozenge'smaxWidthprop (e.g. a fixed-width or percentage-width container). The inner content wrapper now hasmax-width: 100%applied unconditionally so it inherits the container's width constraint, allowing the text to truncate at the visible edge of its parent.
13.8.3
Patch Changes
4837611b390d6, (opens new window) - Fixed lozenge not truncating when max width is set to a percentage and new motion enabled- Updated dependencies
13.8.2
Patch Changes
- Updated dependencies
13.8.1
Patch Changes
1f9114700d351, (opens new window) - Moved new motion changes fromplatform-dst-motion-upliftfeature gate toplatform-dst-motion-uplift-popup- Updated dependencies
13.8.0
Minor Changes
436b89822a386, (opens new window) - Autofix: add explicit package exports (barrel removal)
13.7.1
Patch Changes
88696c5e1a75c, (opens new window) - Switched from experimentaluseResizingWidthto the new genericuseResizinghook from@atlaskit/motion/resizing. No behavioural change.- Updated dependencies
13.7.0
Minor Changes
-
52b7aa6b3d721, (opens new window) - Added a new/newentrypoint for@atlaskit/lozenge,@atlaskit/badge, and@atlaskit/tag. These entrypoints export the new visual refresh components directly, bypassing theplatform-dst-lozenge-tag-badge-visual-upliftsfeature flag. This is intended for products that don't have Statsig integrated and cannot evaluate the feature flag.New entrypoints:
import Lozenge from '@atlaskit/lozenge/new'import Badge from '@atlaskit/badge/new'import Tag from '@atlaskit/tag/new'
Note: Do not use the
/newentrypoint if your app can evaluate theplatform-dst-lozenge-tag-badge-visual-upliftsfeature flag. These entrypoints will be removed after the visual uplift rollout is complete, which will require updating import paths back to the default entrypoint.
Patch Changes
- Updated dependencies
13.6.1
Patch Changes
82429debcd5e8, (opens new window) - Fixed issue where with motion enabled the lozenge was displaying ellipsis on resize- Updated dependencies
13.6.0
Minor Changes
7b44d021342cf, (opens new window) - Added motion to lozenge dropdown to animate the width of the lozenge upon change. Includes transitioning the background, border and text color using experimental motion design tokens. These changes are behind theplatform-dst-motion-upliftfeature flag.
Patch Changes
- Updated dependencies
13.5.7
Patch Changes
- Updated dependencies
13.5.6
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
13.5.5
Patch Changes
22bf79dbdcdca, (opens new window) - Internal changes to remove unnecessary token fallbacks and imports from@atlaskit/theme- Updated dependencies
13.5.4
Patch Changes
- Updated dependencies
13.5.3
Patch Changes
18245cbd990e3, (opens new window) - Added motion to opening and closing of Popup- Updated dependencies
13.5.2
Patch Changes
- Updated dependencies
13.5.1
Patch Changes
- Updated dependencies
13.5.0
Minor Changes
1090b6ca92c60, (opens new window) - Addedaria-labelprop support to LozengeDropdownTrigger for providing custom accessible labels to the trigger button element.
13.4.5
Patch Changes
-
a18e28278b0ac, (opens new window) - Fixed percentage maxWidth truncation in new lozenge component. Text now correctly truncates with ellipsis when maxWidth is set to a percentage value (e.g., '50%', '100%').Add aria-controls, aria-expanded, and aria-haspopup props support to LozengeDropdownTrigger for improved accessibility when used with DropdownMenu or Popup components. These props are now properly passed through to the underlying button element.
-
Updated dependencies
13.4.4
Patch Changes
- Updated dependencies
13.4.3
Patch Changes
- Updated dependencies
13.4.2
Patch Changes
6d33a20db82a1, (opens new window) - [ux] Added support for trailing metrics on semantic lozenges via thetrailingMetricprop, with optionaltrailingMetricAppearanceoverride (includinginverse). Not supported for accent lozenges.- Updated dependencies
13.4.1
Patch Changes
396504e5d05d4, (opens new window) - [ux] Changed to use pressed state colors on selected lozenge dropdown trigger to keep the semantic colors.
13.4.0
Minor Changes
2828d1ffb6a1e, (opens new window) - Added aspacingprop which takesdefaultandspacious.spaciousincreases padding and sets the lozenge height to 32px.
13.3.4
Patch Changes
- Updated dependencies
13.3.3
Patch Changes
a0e326c1b7fcd, (opens new window) - Refactored scaling to use rem units to maintain a 20px computed height for accessibility.
13.3.2
Patch Changes
- Updated dependencies
13.3.1
Patch Changes
- Updated dependencies
13.3.0
Minor Changes
3f338c9019166, (opens new window) - Added “./lozenge-dropdown-trigger” entrypoint. Mapped the new semantic values to the existing appearance to ensure backward compatibility.
13.2.2
Patch Changes
- Updated dependencies
13.2.1
Patch Changes
- Updated dependencies
13.2.0
Minor Changes
59ff6a9633c8b, (opens new window) - - New Component: IntroducedLozengeDropdownTrigger, a specialized component designed to act as a trigger for dropdown or popup menus. It includes built-in accessibility supports (focus rings, aria attributes) and interactive states, keeping the baseLozengepurely presentational.- Visual Refresh (Opt-in): Implemented the North Star visual uplift for Lozenge behind the feature
flag
platform-dst-lozenge-tag-badge-visual-uplifts.-
New API: The appearance prop now supports AccentColor values (e.g.,
'accent-red','accent-blue') alongside updated SemanticColor values:'neutral','danger','success','discovery','information','warning'. -
Deprecation: The
isBoldprop is now deprecated. The new visual style is bold by default. -
Icons: Added support for the
iconBeforeprop to reinforce status visually.
-
- Visual Refresh (Opt-in): Implemented the North Star visual uplift for Lozenge behind the feature
flag
13.1.2
Patch Changes
- Updated dependencies
13.1.1
Patch Changes
- Updated dependencies
13.1.0
Minor Changes
1e31925550257, (opens new window) - [ux] Updates lozenge styles to reflect our new visual design language. These changes were previously behind a feature flag and are now fully rolled out.
Patch Changes
- Updated dependencies
13.0.15
Patch Changes
- Updated dependencies
13.0.14
Patch Changes
- Updated dependencies
13.0.13
Patch Changes
- Updated dependencies
13.0.12
Patch Changes
248faa32d4835, (opens new window) - Internal changes to how borders are applied.- Updated dependencies
13.0.11
Patch Changes
- Updated dependencies
13.0.10
Patch Changes
- Updated dependencies
13.0.9
Patch Changes
- Updated dependencies
13.0.8
Patch Changes
255837cfba315, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
13.0.7
Patch Changes
23bcc5bbc9cee, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
13.0.6
Patch Changes
- Updated dependencies
13.0.5
Patch Changes
- Updated dependencies
13.0.4
Patch Changes
- #193214, (opens new window)
c661806a65543, (opens new window) - Internal changes to how border radius and border width values are applied. No visual change. - Updated dependencies
13.0.3
Patch Changes
- Updated dependencies
13.0.2
Patch Changes
- Updated dependencies
13.0.1
Patch Changes
- Updated dependencies
13.0.0
Major Changes
- #157573, (opens new window)
e9334c37a9e16, (opens new window) - Removes Emotion variant of the Lozenge and replaces contents with styles from Compiled CSS.
Patch Changes
- Updated dependencies
12.2.5
Patch Changes
- Updated dependencies
12.2.4
Patch Changes
- #155802, (opens new window)
08019848e3eab, (opens new window) - Refreshed "issue" terminology. - Updated dependencies
12.2.3
Patch Changes
- #146280, (opens new window)
736c6f3dad151, (opens new window) - Remove deprecated theme definitions.
12.2.2
Patch Changes
- #127093, (opens new window)
1378ea7a99ce1, (opens new window) - Upgradesjscodeshiftto handle generics properly. - Updated dependencies
12.2.1
Patch Changes
- #129972, (opens new window)
b2d69a39e6687, (opens new window) - Update@compiled/reactdependency for improved type checking support. - Updated dependencies
12.2.0
Minor Changes
- #122758, (opens new window)
d5c8218ff84d4, (opens new window) - Internally test the @atlaskit/lozenge/compiled variant replacing the current Emotion variant, behind a feature gate.
Patch Changes
- Updated dependencies
12.1.0
Minor Changes
- #117377, (opens new window)
f6fa74e4221cd, (opens new window) - [ux] We are increasing the letter spacing behind a feature flag. If testing successful, this change will be made available in a later release.
12.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
11.14.0
Minor Changes
- #116138, (opens new window)
b50c5d5d65ae2, (opens new window) - Bump to the latest version of @compiled/react
Patch Changes
- Updated dependencies
11.13.4
Patch Changes
- Updated dependencies
11.13.3
Patch Changes
- #113045, (opens new window)
2c88e65615d04, (opens new window) - Update dependencies and remove old codemods.
11.13.2
Patch Changes
- Updated dependencies
11.13.1
Patch Changes
- Updated dependencies
11.13.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
11.12.7
Patch Changes
- #101729, (opens new window)
0935b5dc9db22, (opens new window) - [ux] updated visually refresh styles for subtle styled lozenge
11.12.6
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies.
11.12.5
Patch Changes
- Updated dependencies
11.12.4
Patch Changes
- #98226, (opens new window)
9c961c3cbcc7f, (opens new window) - Internal changes to typography.
11.12.3
Patch Changes
- Updated dependencies
11.12.2
Patch Changes
- #158114, (opens new window)
01676a379617b, (opens new window) - The experimental compiled variant makes use of the compiled Primitives variant. - Updated dependencies
11.12.1
Patch Changes
- #157006, (opens new window)
8108b044c362b, (opens new window) - Changes the way our JSX pragma is applied and removes Compiled as a direct dependency (it is still an indirect dependncy via @atlaskit/css)
11.12.0
Minor Changes
- #154669, (opens new window)
20db78434becd, (opens new window) - Bump to the latest version of @compiled/*
Patch Changes
- Updated dependencies
11.11.1
Patch Changes
- Updated dependencies
11.11.0
Minor Changes
- #146405, (opens new window)
a92a52978058c, (opens new window) - Adds an experimental Compiled CSS-in-JS entrypoint for our Lozenge component. This requires specific setup that is not documented fully and is not intended for external consumption.
11.10.2
Patch Changes
- Updated dependencies
11.10.1
Patch Changes
- Updated dependencies
11.10.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
11.9.1
Patch Changes
- Updated dependencies
11.9.0
Minor Changes
- #119259, (opens new window)
2fac9118d33bd, (opens new window) - modify styling behind a feature flag
Patch Changes
- Updated dependencies
11.8.5
Patch Changes
- Updated dependencies
11.8.4
Patch Changes
- Updated dependencies
11.8.3
Patch Changes
- Updated dependencies
11.8.2
Patch Changes
- #113134, (opens new window)
23be44b6bf355, (opens new window) - Internal change to hardcode font size for now to ensure it doesn't change with new typography themes. - Updated dependencies
11.8.1
Patch Changes
- Updated dependencies
11.8.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.
Patch Changes
- Updated dependencies
11.7.3
Patch Changes
- Updated dependencies
11.7.2
Patch Changes
- #100028, (opens new window)
6402a7929b4d, (opens new window) - Internal changes to typography, no visual change.
11.7.1
Patch Changes
- Updated dependencies
11.7.0
Minor Changes
- #93677, (opens new window)
1a4242743804, (opens new window) - Add support for React 18 in non-strict mode.
11.6.6
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
11.6.5
Patch Changes
- Updated dependencies
11.6.4
Patch Changes
- Updated dependencies
11.6.3
Patch Changes
- Updated dependencies
11.6.2
Patch Changes
- Updated dependencies
11.6.1
Patch Changes
- #69022, (opens new window)
395c74147990, (opens new window) - Migrate packages to use declarative entry points
11.6.0
Minor Changes
- #64300, (opens new window)
436936ea8914, (opens new window) - Export prop types
Patch Changes
- Updated dependencies
11.5.0
Minor Changes
- #57070, (opens new window)
96de6e4e4ca2, (opens new window) - Lozenge now uses height: min-content so it doesn't stretch when directly used as a flex / grid item.
11.4.6
Patch Changes
- #41725, (opens new window)
8d838ab41ed, (opens new window) - Removed all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only affects the examples and some tests in each component. No internal component logic contained legacy theming.
11.4.5
Patch Changes
- Updated dependencies
11.4.4
Patch Changes
- #38743, (opens new window)
3b97837c528, (opens new window) - The internal composition of this component has changed. There is no expected change in behavior. - Updated dependencies
11.4.3
Patch Changes
- #37533, (opens new window)
1ed303de3e8, (opens new window) - Updated dependencies
11.4.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
11.4.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
11.4.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
11.3.10
Patch Changes
- #32632, (opens new window)
df9cefb35e1, (opens new window) - Enrol @atlaskit/lozenge on push model consumption in Jira
11.3.9
Patch Changes
- #32424, (opens new window)
2e01c9c74b5, (opens new window) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
11.3.8
Patch Changes
- #31242, (opens new window)
cfe48bb7ece, (opens new window) - Internal change only. Replace usages of Inline/Stack with stable version from@atlaskit/primitives.
11.3.7
Patch Changes
- Updated dependencies
11.3.6
Patch Changes
- #27891, (opens new window)
eadbf13d8c0, (opens new window) - Updated usages ofText,Box,Stack, andInlineprimitives to reflect their updated APIs. There are no visual or behaviour changes. - Updated dependencies
11.3.5
Patch Changes
- #28090, (opens new window)
76428a4966a, (opens new window) - Fix lozenge truncation at maxWidth=100%
11.3.4
Patch Changes
- Updated dependencies
11.3.3
Patch Changes
- Updated dependencies
11.3.2
Patch Changes
-
#27076, (opens new window)
25e09731caa, (opens new window) - Fixes:- Removes
vertical-align: baselinefrom Lozenge which was being applied incorrectly. - Removes a default prop which was causing unintended re-renders.
- Removes
-
Updated dependencies
11.3.1
Patch Changes
- Updated dependencies
11.3.0
Minor Changes
- #25860, (opens new window)
f97c945d57f, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
Patch Changes
7c6009de2f1, (opens new window) - [ux] Updates the visual appearance to match the legacy light mode palette.e35fc41dc33, (opens new window) - Internal change to use updated primtive spacing prop values. No expected behaviour change.- Updated dependencies
11.2.5
Patch Changes
- #26408, (opens new window)
9de88fa1e1e, (opens new window) - Internal changes to include spacing tokens in component implementations.
11.2.4
Patch Changes
- #25795, (opens new window)
4c6b6f0c927, (opens new window) - Removes@emotion/coredependency as it is no longer used within Lozenge. There is no expected behavior change.
11.2.3
Patch Changes
- #24710, (opens new window)
3ee63238f49, (opens new window) - Update internals of Box, Text, Inline and Stack to handlechildrenmore accurately. Also update scope ofuse-primitivesto suggest Box and Text more selectively.
11.2.2
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
11.2.1
Patch Changes
- #24916, (opens new window)
fe54d8f1aec, (opens new window) - Update ds-explorations dependency. No change in behaviour.
11.2.0
Minor Changes
- #24004, (opens new window)
bf235e83ac0, (opens new window) - Internal changes to the way styles are applied. The Lozenge background is now centred properly resulting in it sitting 1px higher, however the text inside the Lozenge is unaffected.
Patch Changes
37246e87cfc, (opens new window) - Adds position static to Box. Changes lozenge to use position static instead of relative.6e0671cb45c, (opens new window) - Internal change to implementation which should not have any noticeable impact.- Updated dependencies
11.1.12
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
11.1.11
Patch Changes
- Updated dependencies
11.1.10
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
11.1.9
Patch Changes
- Updated dependencies
11.1.8
Patch Changes
- #19618, (opens new window)
62edf20ab1e, (opens new window) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes. - Updated dependencies
11.1.7
Patch Changes
- Updated dependencies
11.1.6
Patch Changes
- #16752, (opens new window)
19d72473dfb, (opens new window) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. 19d72473dfb, (opens new window) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.- Updated dependencies
11.1.5
Patch Changes
- Updated dependencies
11.1.4
Patch Changes
- #15998, (opens new window)
f460cc7c411, (opens new window) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size. - Updated dependencies
11.1.3
Patch Changes
- Updated dependencies
11.1.2
Patch Changes
- Updated dependencies
11.1.1
Patch Changes
- Updated dependencies
11.1.0
Minor Changes
- #13302, (opens new window)
d7caf75e732, (opens new window) - - [ux] Colors are now sourced through tokens.- Deprecate
@atlaskit/lozenge/themeentry-point.
- Deprecate
Patch Changes
- Updated dependencies
11.0.0
Major Changes
-
#12837, (opens new window)
1cd379a2199, (opens new window) - - In this version we madeLozengedramatically faster and lighter. 🤩-
General performance improvements.
-
We are now exporting a new
styleprop which you can use to pass a custombackgroundColorandcolor. -
BREAKING We have removed the deprecated
themeprop. Don't worry if you do use the theming API, you can now use the newstyleprop for custom styling.
Before:
import Lozenge from '@atlaskit/lozenge'; type GetThemeTokensFn<ThemeTokens, ThemeProps> = (props: ThemeProps) => ThemeTokens; const lozengeTheme = ( getTokens: GetThemeTokensFn<ThemeTokens, ThemeProps>, themeProps: ThemeProps, ): ThemeTokens => { const defaultTokens = getTokens(themeProps); if (themeProps.appearance === 'removed') { return { ...defaultTokens, textColor: 'grey', }; return defaultTokens; } }; <Lozenge appearance="removed" theme={lozengeTheme}> removed </Lozenge>;After:
import Badge, { BadgeProps } from '@atlaskit/badge'; <Lozenge appearance="removed" style={{ color: 'grey' }}> removed </Lozenge>;- BREAKING We have removed the support of
appearanceprop object value. Please usestyleprop for customization.
Before:
import Lozenge from '@atlaskit/lozenge'; <Lozenge appearance={{ backgroundColor: 'blue', textColor: 'white' }}>custom</Lozenge>;After:
import Lozenge from '@atlaskit/lozenge'; <Lozenge style={{ backgroundColor: 'blue', color: 'white' }}>custom</Lozenge>;Running the codemod cli
To run the codemod: You first need to have the latest version installed
yarn upgrade @atlaskit/lozenge@^11.0.0Once upgraded, use
@atlaskit/codemod-clivianpx:npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]The CLI will show a list of components and versions so select
@atlaskit/lozenge@^11.0.0and you will automatically be upgraded.What will be changed:
- It will move
backgroundColorandtextColorfromappearanceprop (if object is passed asappearanceprop value) tostyleprop.
Run
npx @atlaskit/codemod-cli -hfor more details on usage.For Atlassians,
refer to the documentation, (opens new window) for more details on the codemod CLI.
-
Patch Changes
0d0ecc6e790, (opens new window) - Corrects eslint supressions.- Updated dependencies
10.1.4
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
10.1.3
Patch Changes
- #12328, (opens new window)
9c98e8227f6, (opens new window) - Internal refactor for style declarations. 42e722938da, (opens new window) - Converted class components to functional components8f0e5cbea57, (opens new window) - Migrated from@compiledto@emotionf84de8233f3, (opens new window) - Add Techstacks rules to package.json7bb3268f2c8, (opens new window) - Removed version.json and unused dependency -react-test-rendererf78ced42525, (opens new window) - Wrapped the root component inReact.memo()to memorize the rendered lozenge
10.1.2
Patch Changes
- #7510, (opens new window)
69badd52b1, (opens new window) - Bumps compiled to v0.6 to surface various fixes
10.1.1
Patch Changes
- #7379, (opens new window)
61d08bb92d, (opens new window) - Upgrades @compiled/react to v0.5.2
10.1.0
Minor Changes
- #7170, (opens new window)
05ef83ee27, (opens new window) - Lozenge now uses@compiled/react, (opens new window) to power its styles.
10.0.7
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
10.0.6
Patch Changes
- #5497, (opens new window)
5f58283e1f, (opens new window) - 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, (opens new window) Also addtypescripttodevDependenciesto denote version that the package was built with.
10.0.5
Patch Changes
- Updated dependencies
10.0.4
Patch Changes
- #4707, (opens new window)
6360c46009, (opens new window) - Reenable integration tests for Edge browser
10.0.3
Patch Changes
-
#3885, (opens new window)
6c525a8229, (opens new window) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.
10.0.2
Patch Changes
- #3293, (opens new window)
954cc87b62, (opens new window) - The readme and package information has been updated to point to the new design system website.
10.0.1
Patch Changes
- #3428, (opens new window)
db053b24d8, (opens new window) - Update all the theme imports to be tree-shakable
10.0.0
Major Changes
- #3335, (opens new window)
87f4720f27, (opens new window) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11. For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534, (opens new window)
Patch Changes
- Updated dependencies
9.1.9
Patch Changes
- #2866, (opens new window)
54a9514fcf, (opens new window) - Build and supporting files will no longer be published to npm
9.1.8
Patch Changes
- Updated dependencies
9.1.7
Patch Changes
-
[patch]a4d063330a, (opens new window):
Change imports to comply with Atlassian conventions- Updated dependencies fd41d77c29, (opens new window):
- @atlaskit/webdriver-runner@0.3.4
9.1.6
Patch Changes
- Updated dependencies 66dcced7a0, (opens new window):
- Updated dependencies 64fb94fb1e, (opens new window):
- Updated dependencies eea5e9bd8c, (opens new window):
- Updated dependencies 109c1a2c0a, (opens new window):
- Updated dependencies
c57bb32f6d, (opens new window):
- @atlaskit/docs@8.4.0
- @atlaskit/webdriver-runner@0.3.0
9.1.5
Patch Changes
- Updated dependencies
e3f01787dd, (opens new window):
- @atlaskit/webdriver-runner@0.2.0
9.1.4
Patch Changes
-
[patch]6548261c9a, (opens new window):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a, (opens new window):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/theme@9.5.1
9.1.3
Patch Changes
-
[patch]4a223473c5, (opens new window):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies 82747f2922, (opens new window):
- @atlaskit/theme@9.5.0
9.1.2
Patch Changes
-
[patch]557a8e2451, (opens new window):
Rebuilds package to fix typescript typing error.
9.1.1
Patch Changes
-
[patch]35d2229b2a, (opens new window):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
9.1.0
Minor Changes
-
[minor]10e0798da6, (opens new window):
Adding an optional prop
testIdthat will set the attribute valuedata-testid. It will help products to write better integration and end to end tests.
9.0.7
Patch Changes
-
[patch]097b696613, (opens new window):
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
9.0.6
Patch Changes
-
[patch]ecca4d1dbb, (opens new window):
Upgraded Typescript to 3.3.x
9.0.5
Patch Changes
-
[patch]708028db86, (opens new window):
Change all the imports to theme in Core to use multi entry points
9.0.4
Patch Changes
-
[patch]de35ce8c67, (opens new window):
Updates component maintainers
9.0.3
Patch Changes
-
[patch]bbff8a7d87, (opens new window):
Fixes bug, missing version.json file
9.0.2
Patch Changes
-
[patch]18dfac7332, (opens new window):
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, (opens new window) or this page, (opens new window) for further details
9.0.1
Patch Changes
-
[patch]f8778d517a, (opens new window):
Remove index.ts from built module
9.0.0
- [major]ed41cac6ac, (opens new window):
- Lozenge has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
8.0.0
- [major]7c17b35107, (opens new window):
- 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.
7.0.3
- [patch]73a5c6f3dc, (opens new window):
- Add emotion and remove styled-components
7.0.2
- Updated dependencies
9c0b4744be, (opens new window):
- @atlaskit/docs@7.0.3
- @atlaskit/theme@8.1.7
7.0.1
- [patch]98e11001ff, (opens new window):
- Removes duplicate babel-runtime dependency
7.0.0
-
[major]76299208e6, (opens new window):
- Drop ES5 from all the flow modules
Dropping CJS support in all @atlaskit packages
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain
importandexportdeclarations.The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
import colors from `@atlaskit/theme/colors`;Previously this was sort of possible for consumers by doing something like:
import colors from `@atlaskit/theme/dist/esm/colors`;This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support, (opens new window) (for external) if you have any questions or queries about this.
6.2.4
- Updated dependencies 58b84fa, (opens new window):
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
6.2.3
- [patch]d13242d, (opens new window):
- Change API to experimental theming API to namespace component themes into separate contexts and make theming simpler. Update all dependant components.
6.2.2
- [patch] Adds missing implicit @babel/runtime dependency b71751b, (opens new window)
6.2.1
- [patch] Pulling the shared styles from @atlaskit/theme and removed dependency on util-shraed-styles 7d51a09, (opens new window)
6.2.0
- [minor] Use new theme API. Adds "theme" prop and exports new theme types. 4b36fd6, (opens new window)
6.1.8
- [patch] AK-5321 Lozenge with maxWidth should be constrained by container width 969233e, (opens new window)
6.1.7
- [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04, (opens new window)
6.1.5
- [patch] Updated dependencies
df22ad8, (opens new window)
- @atlaskit/theme@6.0.0
- @atlaskit/docs@5.0.6
6.1.4
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html, (opens new window) for details a4bd557, (opens new window)
- [none] Updated dependencies
a4bd557, (opens new window)
- @atlaskit/theme@5.1.3
6.1.3
- [patch] Updated dependencies
acd86a1, (opens new window)
- @atlaskit/theme@5.1.2
- @atlaskit/docs@5.0.2
6.1.2
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies 7e331b5, (opens new window)
- [none] Updated dependencies
7e331b5, (opens new window)
- @atlaskit/theme@5.1.1
6.1.1
- [patch] Move analytics tests and replace elements to core 49d4ab4, (opens new window)
- [none] Updated dependencies
49d4ab4, (opens new window)
- @atlaskit/docs@5.0.1
6.1.0
- [minor] Improve behavior when using a narrow container ebf6b97, (opens new window)
- [none] Updated dependencies ebf6b97, (opens new window)
6.0.0
- [major] Updates to React ^16.4.0 7edb866, (opens new window)
- [major] Updated dependencies
563a7eb, (opens new window)
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- [major] Updated dependencies
7edb866, (opens new window)
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
5.0.4
- [patch] Clean Changelogs - remove duplicates and empty entries e7756cd, (opens new window)
- [none] Updated dependencies
e7756cd, (opens new window)
- @atlaskit/theme@4.0.4
5.0.3
- [patch] Update changelogs to remove duplicate cc58e17, (opens new window)
- [none] Updated dependencies
cc58e17, (opens new window)
- @atlaskit/theme@4.0.3
- @atlaskit/docs@4.1.1
5.0.2
- [none] Updated dependencies
9d20f54, (opens new window)
- @atlaskit/docs@4.1.0
- @atlaskit/theme@4.0.2
5.0.1
- [patch] Update readme's 223cd67, (opens new window)
- [patch] Updated dependencies
223cd67, (opens new window)
- @atlaskit/theme@4.0.1
- @atlaskit/docs@4.0.1
5.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 1e80619, (opens new window)
- [patch] Updated dependencies
1e80619, (opens new window)
- @atlaskit/theme@4.0.0
- @atlaskit/docs@4.0.0
4.1.1
- [patch] Updae bold color to N800 0838cb0, (opens new window)
- [patch] Update colors of appearance to new color palette pairings 979aff5, (opens new window)
- [none] Updated dependencies 0838cb0, (opens new window)
- [none] Updated dependencies 979aff5, (opens new window)
4.1.0
- [patch] Update appearance enum test b42eaa5, (opens new window)
- [patch] Update test c668ac9, (opens new window)
- [minor] Update Lozenge to accept colors pairing 4638c7a, (opens new window)
- [none] Updated dependencies b42eaa5, (opens new window)
- [none] Updated dependencies c668ac9, (opens new window)
- [none] Updated dependencies 4638c7a, (opens new window)
4.0.1
- [patch] Updated dependencies
d662caa, (opens new window)
- @atlaskit/docs@3.0.4
4.0.0
- [major] Bump to React 16.3. 4251858, (opens new window)
3.6.1
- [patch] Re-releasing due to potentially broken babel release 9ed0bba, (opens new window)
3.6.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30, (opens new window)
3.5.2
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2, (opens new window) 1e57e5a, (opens new window)
3.5.1
- [patch] Packages Flow types for elements components 3111e74, (opens new window)
3.5.0
- [minor] Add React 16 support. 12ea6e4, (opens new window)
3.4.2 (2017-07-27)
- fix; rename jsnext:main to jsnext:experimental:main temporarily (c7508e0, (opens new window))
3.4.1 (2017-07-25)
- fix; use class transform in loose mode in babel to improve load performance in apps (fde719a, (opens new window))
3.1.0 (2017-07-17)
- fix; rerelease, failed prepublish scripts (5fd82f8, (opens new window))
3.1.0 (2017-07-17)
- feature; added ES module builds to dist and add jsnext:main to most ADG packages (ea76507, (opens new window))
3.0.3 (2017-07-13)
- fix; add prop-types as a dependency to avoid React 15.x warnings (92598eb, (opens new window))
3.0.2 (2017-04-27)
- fix; update legal copy to be more clear. Not all modules include ADG license. (f3a945e, (opens new window))
3.0.1 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454, (opens new window))
2.0.0 (2017-03-27)
- bump major to avoid API conflict with mentions (1d01253, (opens new window))
- updating dependencies (d293404, (opens new window))
- breaking; update lozenge major version
- breaking; removed classnames dep and .d.ts file
1.0.11 (2017-03-23)
- fix; Empty commit to release the component (49c08ee, (opens new window))
- refactor the lozenge component to use styled-components (eb738ca, (opens new window))
- breaking; now requires peerDep of "styled-components"
1.0.9 (2017-03-21)
- fix; maintainers for all the packages were added (261d00a, (opens new window))
1.0.8 (2017-02-28)
- fix; dummy commit to release stories (3df5d9f, (opens new window))
1.0.6 (2017-02-28)
- fix; dummy commit to fix broken stories and missing registry pages (a31e92a, (opens new window))
1.0.6 (2017-02-28)
- fix; dummy commit to release stories for components (a105c02, (opens new window))
1.0.5 (2017-02-28)
- fix; removes jsdoc annotations and moves them to usage.md (2c53fea, (opens new window))
1.0.4 (2017-02-20)
- fix; use correctly scoped package names in npm docs (91dbd2f, (opens new window))
1.0.2 (2017-02-07)
- fix; Updates docs with yarn installation instructions (aebf31a, (opens new window))
- Add TypeScript declarations for lozenge. (5993cf8, (opens new window))
1.0.1 (2017-02-06)
- fix; Updates package to use scoped ak packages (b655c30, (opens new window))