@atlaskit/lozenge
Version:
A lozenge is a visual indicator used to highlight an item's status for quick recognition.
1,694 lines (1,061 loc) • 51.4 kB
Markdown
# @atlaskit/lozenge
## 13.5.2
### Patch Changes
- Updated dependencies
## 13.5.1
### Patch Changes
- Updated dependencies
## 13.5.0
### Minor Changes
- [`1090b6ca92c60`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1090b6ca92c60) -
Added `aria-label` prop support to LozengeDropdownTrigger for providing custom accessible labels
to the trigger button element.
## 13.4.5
### Patch Changes
- [`a18e28278b0ac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a18e28278b0ac) -
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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d33a20db82a1) -
[ux] Added support for trailing metrics on semantic lozenges via the `trailingMetric` prop, with
optional `trailingMetricAppearance` override (including `inverse`). Not supported for accent
lozenges.
- Updated dependencies
## 13.4.1
### Patch Changes
- [`396504e5d05d4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/396504e5d05d4) -
[ux] Changed to use pressed state colors on selected lozenge dropdown trigger to keep the semantic
colors.
## 13.4.0
### Minor Changes
- [`2828d1ffb6a1e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2828d1ffb6a1e) -
Added a `spacing` prop which takes `default` and `spacious`. `spacious` increases padding and sets
the lozenge height to 32px.
## 13.3.4
### Patch Changes
- Updated dependencies
## 13.3.3
### Patch Changes
- [`a0e326c1b7fcd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0e326c1b7fcd) -
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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f338c9019166) -
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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/59ff6a9633c8b) - -
New Component: Introduced `LozengeDropdownTrigger`, 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 base `Lozenge` purely 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 `isBold` prop is now deprecated. The new visual style is bold by default.
- Icons: Added support for the `iconBefore` prop to reinforce status visually.
## 13.1.2
### Patch Changes
- Updated dependencies
## 13.1.1
### Patch Changes
- Updated dependencies
## 13.1.0
### Minor Changes
- [`1e31925550257`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e31925550257) -
[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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
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`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
Internal changes to how border radius is applied.
- Updated dependencies
## 13.0.7
### Patch Changes
- [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
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](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193214)
[`c661806a65543`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c661806a65543) -
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](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157573)
[`e9334c37a9e16`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e9334c37a9e16) -
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](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155802)
[`08019848e3eab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08019848e3eab) -
Refreshed "issue" terminology.
- Updated dependencies
## 12.2.3
### Patch Changes
- [#146280](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146280)
[`736c6f3dad151`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/736c6f3dad151) -
Remove deprecated theme definitions.
## 12.2.2
### Patch Changes
- [#127093](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127093)
[`1378ea7a99ce1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1378ea7a99ce1) -
Upgrades `jscodeshift` to handle generics properly.
- Updated dependencies
## 12.2.1
### Patch Changes
- [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
[`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
Update `@compiled/react` dependency for improved type checking support.
- Updated dependencies
## 12.2.0
### Minor Changes
- [#122758](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122758)
[`d5c8218ff84d4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d5c8218ff84d4) -
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](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117377)
[`f6fa74e4221cd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f6fa74e4221cd) -
[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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to 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
### Patch Changes
- Updated dependencies
## 11.14.0
### Minor Changes
- [#116138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116138)
[`b50c5d5d65ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b50c5d5d65ae2) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113045)
[`2c88e65615d04`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c88e65615d04) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
Update `React` from v16 to v18
### Patch Changes
- Updated dependencies
## 11.12.7
### Patch Changes
- [#101729](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101729)
[`0935b5dc9db22`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0935b5dc9db22) -
[ux] updated visually refresh styles for subtle styled lozenge
## 11.12.6
### Patch Changes
- [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
[`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
Update dependencies.
## 11.12.5
### Patch Changes
- Updated dependencies
## 11.12.4
### Patch Changes
- [#98226](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98226)
[`9c961c3cbcc7f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9c961c3cbcc7f) -
Internal changes to typography.
## 11.12.3
### Patch Changes
- Updated dependencies
## 11.12.2
### Patch Changes
- [#158114](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158114)
[`01676a379617b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/01676a379617b) -
The experimental compiled variant makes use of the compiled Primitives variant.
- Updated dependencies
## 11.12.1
### Patch Changes
- [#157006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157006)
[`8108b044c362b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8108b044c362b) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154669)
[`20db78434becd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20db78434becd) -
Bump to the latest version of @compiled/\*
### Patch Changes
- Updated dependencies
## 11.11.1
### Patch Changes
- Updated dependencies
## 11.11.0
### Minor Changes
- [#146405](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/146405)
[`a92a52978058c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a92a52978058c) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
to 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.3` as well as to have a consistent peer
dependency range for `react` and `react-dom` for `/platform` packages.
### Patch Changes
- Updated dependencies
## 11.9.1
### Patch Changes
- Updated dependencies
## 11.9.0
### Minor Changes
- [#119259](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119259)
[`2fac9118d33bd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2fac9118d33bd) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113134)
[`23be44b6bf355`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23be44b6bf355) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110670)
[`c733254a2dd6e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c733254a2dd6e) -
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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100028)
[`6402a7929b4d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6402a7929b4d) -
Internal changes to typography, no visual change.
## 11.7.1
### Patch Changes
- Updated dependencies
## 11.7.0
### Minor Changes
- [#93677](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93677)
[`1a4242743804`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a4242743804) -
Add support for React 18 in non-strict mode.
## 11.6.6
### Patch Changes
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.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](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022)
[`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) -
Migrate packages to use declarative entry points
## 11.6.0
### Minor Changes
- [#64300](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64300)
[`436936ea8914`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/436936ea8914) -
Export prop types
### Patch Changes
- Updated dependencies
## 11.5.0
### Minor Changes
- [#57070](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57070)
[`96de6e4e4ca2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96de6e4e4ca2) -
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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41725)
[`8d838ab41ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d838ab41ed) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38743)
[`3b97837c528`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b97837c528) - The
internal composition of this component has changed. There is no expected change in behavior.
- Updated dependencies
## 11.4.3
### Patch Changes
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
[`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated
dependencies
## 11.4.2
### Patch Changes
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8
## 11.4.1
### Patch Changes
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
Typescript from `4.5.5` to `4.9.5`
## 11.4.0
### Minor Changes
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
### Patch Changes
- Updated dependencies
## 11.3.10
### Patch Changes
- [#32632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32632)
[`df9cefb35e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9cefb35e1) - Enrol
@atlaskit/lozenge on push model consumption in Jira
## 11.3.9
### Patch Changes
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
remove before merging to master; dupe adf-schema via adf-utils
## 11.3.8
### Patch Changes
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
[`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
[`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated
usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are
no visual or behaviour changes.
- Updated dependencies
## 11.3.5
### Patch Changes
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
[`76428a4966a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76428a4966a) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27076)
[`25e09731caa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25e09731caa) - Fixes:
- Removes `vertical-align: baseline` from Lozenge which was being applied incorrectly.
- Removes a default prop which was causing unintended re-renders.
- Updated dependencies
## 11.3.1
### Patch Changes
- Updated dependencies
## 11.3.0
### Minor Changes
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
[`f97c945d57f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f97c945d57f) - Updates
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
### Patch Changes
- [`7c6009de2f1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c6009de2f1) - [ux]
Updates the visual appearance to match the legacy light mode palette.
- [`e35fc41dc33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e35fc41dc33) - Internal
change to use updated primtive spacing prop values. No expected behaviour change.
- Updated dependencies
## 11.2.5
### Patch Changes
- [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408)
[`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal
changes to include spacing tokens in component implementations.
## 11.2.4
### Patch Changes
- [#25795](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25795)
[`4c6b6f0c927`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c6b6f0c927) - Removes
`@emotion/core` dependency as it is no longer used within Lozenge. There is no expected behavior
change.
## 11.2.3
### Patch Changes
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
[`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update
internals of Box, Text, Inline and Stack to handle `children` more accurately. Also update scope
of `use-primitives` to suggest Box and Text more selectively.
## 11.2.2
### Patch Changes
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
Typescript from `4.3.5` to `4.5.5`
## 11.2.1
### Patch Changes
- [#24916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24916)
[`fe54d8f1aec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe54d8f1aec) - Update
ds-explorations dependency. No change in behaviour.
## 11.2.0
### Minor Changes
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
[`bf235e83ac0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf235e83ac0) - 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`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37246e87cfc) - Adds
position static to Box. Changes lozenge to use position static instead of relative.
- [`6e0671cb45c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e0671cb45c) - Internal
change to implementation which should not have any noticeable impact.
- Updated dependencies
## 11.1.12
### Patch Changes
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
Typescript from `4.2.4` to `4.3.5`.
## 11.1.11
### Patch Changes
- Updated dependencies
## 11.1.10
### Patch Changes
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
to TypeScript 4.2.4
## 11.1.9
### Patch Changes
- Updated dependencies
## 11.1.8
### Patch Changes
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
[`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
auto-fixing by correctly formatting token ids.
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - 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](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
[`d7caf75e732`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7caf75e732) - - [ux]
Colors are now sourced through tokens.
- Deprecate `@atlaskit/lozenge/theme` entry-point.
### Patch Changes
- Updated dependencies
## 11.0.0
### Major Changes
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
[`1cd379a2199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cd379a2199) - - In
this version we made `Lozenge` dramatically faster and lighter. 🤩
- General performance improvements.
- We are now exporting a new `style` prop which you can use to pass a custom `backgroundColor` and
`color`.
- **BREAKING** We have removed the deprecated `theme` prop. Don't worry if you do use the theming
API, you can now use the new `style` prop for custom styling.
**Before**:
```tsx
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**:
```tsx
import Badge, { BadgeProps } from '@atlaskit/badge';
<Lozenge appearance="removed" style={{ color: 'grey' }}>
removed
</Lozenge>;
```
- **BREAKING** We have removed the support of `appearance` prop object value. Please use `style`
prop for customization.
**Before**:
```tsx
import Lozenge from '@atlaskit/lozenge';
<Lozenge appearance={{ backgroundColor: 'blue', textColor: 'white' }}>custom</Lozenge>;
```
**After**:
```tsx
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**
```bash
yarn upgrade @atlaskit/lozenge@^11.0.0
```
Once upgraded, use `@atlaskit/codemod-cli` via `npx`:
```bash
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.0` and you
will automatically be upgraded.
What will be changed:
- It will move `backgroundColor` and `textColor` from `appearance` prop (if object is passed as
`appearance` prop value) to `style` prop.
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
For Atlassians,
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods)
for more details on the codemod CLI.
### Patch Changes
- [`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects
eslint supressions.
- Updated dependencies
## 10.1.4
### Patch Changes
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.
## 10.1.3
### Patch Changes
- [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328)
[`9c98e8227f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c98e8227f6) - Internal
refactor for style declarations.
- [`42e722938da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42e722938da) -
Converted class components to functional components
- [`8f0e5cbea57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0e5cbea57) - Migrated
from `@compiled` to `@emotion`
- [`f84de8233f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f84de8233f3) - Add
Techstacks rules to package.json
- [`7bb3268f2c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7bb3268f2c8) - Removed
version.json and unused dependency - `react-test-renderer`
- [`f78ced42525`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f78ced42525) - Wrapped
the root component in `React.memo()` to memorize the rendered lozenge
## 10.1.2
### Patch Changes
- [#7510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7510)
[`69badd52b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/69badd52b1) - Bumps
compiled to v0.6 to surface various fixes
## 10.1.1
### Patch Changes
- [#7379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7379)
[`61d08bb92d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61d08bb92d) - Upgrades
@compiled/react to v0.5.2
## 10.1.0
### Minor Changes
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
[`05ef83ee27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05ef83ee27) - Lozenge
now uses [`@compiled/react`](https://compiledcssinjs.com) to power its styles.
## 10.0.7
### Patch Changes
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
packages using babel rather than tsc
## 10.0.6
### Patch Changes
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/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.
## 10.0.5
### Patch Changes
- Updated dependencies
## 10.0.4
### Patch Changes
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707)
[`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable
integration tests for Edge browser
## 10.0.3
### Patch Changes
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/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.
## 10.0.2
### Patch Changes
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme
and package information has been updated to point to the new design system website.
## 10.0.1
### Patch Changes
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
[`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
the theme imports to be tree-shakable
## 10.0.0
### Major Changes
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - 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
### Patch Changes
- Updated dependencies
## 9.1.9
### Patch Changes
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - 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](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4d063330a):
Change imports to comply with Atlassian conventions- Updated dependencies
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
- @atlaskit/webdriver-runner@0.3.4
## 9.1.6
### Patch Changes
- Updated dependencies
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
- Updated dependencies
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
- Updated dependencies
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
- Updated dependencies
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
- Updated dependencies
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
- @atlaskit/docs@8.4.0
- @atlaskit/webdriver-runner@0.3.0
## 9.1.5
### Patch Changes
- Updated dependencies
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
- @atlaskit/webdriver-runner@0.2.0
## 9.1.4
### Patch Changes
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/theme@9.5.1
## 9.1.3
### Patch Changes
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
Updated dependencies
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
- @atlaskit/theme@9.5.0
## 9.1.2
### Patch Changes
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
Rebuilds package to fix typescript typing error.
## 9.1.1
### Patch Changes
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
## 9.1.0
### Minor Changes
- [minor][10e0798da6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10e0798da6):
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
products to write better integration and end to end tests.
## 9.0.7
### Patch Changes
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
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](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
## 9.0.5
### Patch Changes
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
Change all the imports to theme in Core to use multi entry points
## 9.0.4
### Patch Changes
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
## 9.0.3
### Patch Changes
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
Fixes bug, missing version.json file
## 9.0.2
### Patch Changes
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/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](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
for further details
## 9.0.1
### Patch Changes
- [patch][f8778d517a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8778d517a):
Remove index.ts from built module
## 9.0.0
- [major][ed41cac6ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed41cac6ac):
- 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](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/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.
## 7.0.3
- [patch][73a5c6f3dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/73a5c6f3dc):
- Add emotion and remove styled-components
## 7.0.2
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/theme@8.1.7
## 7.0.1
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
- Removes duplicate babel-runtime dependency
## 7.0.0
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- 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
`import` and `export` declarations.
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
```js
import colors from `@atlaskit/theme/colors`;
```
Previously this was sort of possible for consumers by doing something like:
```js
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](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
external) if you have any questions or queries about this.
## 6.2.4
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
## 6.2.3
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- 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](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
## 6.2.1
- [patch] Pulling the shared styles from @atlaskit/theme and removed dependency on
util-shraed-styles [7d51a09](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d51a09)
## 6.2.0
- [minor] Use new theme API. Adds "theme" prop and exports new theme types.
[4b36fd6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b36fd6)
## 6.1.8
- [patch] AK-5321 Lozenge with maxWidth should be constrained by container width
[969233e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/969233e)
## 6.1.7
- [patch] Adds sideEffects: false to allow proper tree shaking
[b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
## 6.1.5
- [patch] Updated dependencies
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
- @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 for details
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
- [none] Updated dependencies
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
- @atlaskit/theme@5.1.3
## 6.1.3
- [patch] Updated dependencies
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
- @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](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
- [none] Updated dependencies
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
- @atlaskit/theme@5.1.1
## 6.1.1
- [patch] Move analytics tests and replace elements to core
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
- [none] Updated dependencies
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
- @atlaskit/docs@5.0.1
## 6.1.0
- [minor] Improve behavior when using a narrow container
[ebf6b97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebf6b97)
- [none] Updated dependencies
[ebf6b97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebf6b97)
## 6.0.0
- [major] Updates to React ^16.4.0
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- [major] Updated dependencies
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- [major] Updated dependencies
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
## 5.0.4
- [patch] Clean Changelogs - remove duplicates and empty entries
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
- [none] Updated dependencies
[e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
- @atlaskit/theme@4.0.4
## 5.0.3
- [patch] Update changelogs to remove duplicate
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
- [none] Updated dependencies
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
- @atlaskit/theme@4.0.3
- @atlaskit/docs@4.1.1
## 5.0.2
- [none] Updated dependencies
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
- @atlaskit/docs@4.1.0
- @atlaskit/theme@4.0.2
## 5.0.1
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
- [patch] Updated dependencies
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
- @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](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
- [patch] Updated dependencies
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
- @atlaskit/theme@4.0.0
- @atlaskit/docs@4.0.0
## 4.1.1
- [patch] Updae bold color to N800
[0838cb0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0838cb0)
- [patch] Update colors of appearance to new color palette pairings
[979aff5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/979aff5)
- [none] Updated dependencies
[0838cb0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0838cb0)
- [none] Updated dependencies
[979aff5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/979aff5)
## 4.1.0
- [patch] Update appearance enum test
[b42eaa5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42eaa5)
- [patch] Update test [c668ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c668ac9)
- [minor] Update Lozenge to accept colors pairing
[4638c7a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4638c7a)
- [none] Updated dependencies
[b42eaa5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42eaa5)
- [none] Updated dependencies
[c668ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c668ac9)
- [none] Updated dependencies
[4638c7a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4638c7a)
## 4.0.1
- [patch] Updated dependencies
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
- @atlaskit/docs@3.0.4
## 4.0.0
- [major] Bump to React 16.3.
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
## 3.6.1
- [patch] Re-releasing due to potentially broken babel release
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
## 3.6.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
## 3.5.2
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
## 3.5.1
- [patch] Packages Flow types for elements components
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
## 3.5.0
- [minor] Add React 16 support.
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
## 3.4.2 (2017-07-27)
- fix; rename jsnext:main to jsnext:experimental:main temporarily
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
## 3.4.1 (2017-07-25)
- fix; use class transform in loose mode in babel to improve load performance in apps
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
## 3.1.0 (2017-07-17)
- fix; rerelease, failed prepublish scripts
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
## 3.1.0 (2017-07-17)
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
## 3.0.3 (2017-07-13)
- fix; add prop-types as a dependency to avoid React 15.x warnings
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
## 3.0.2 (2017-04-27)
- fix; update legal copy to be more clear. Not all modules include ADG license.
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
## 3.0.1 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
## 2.0.0 (2017-03-27)
- bump major to avoid API conflict with mentions
([1d01253](https://bitbucket.org/atlassian/atlaskit/commits/1d01253))
- updating dependencies ([d293404](https://bitbucket.org/atlassian/atlaskit/commits/d293404))
- 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](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
- refactor the lozenge component to use styled-components
([eb738ca](https://b