Tag

A tag is a subtle, compact label used to categorize and organize content.

17.0.2

Patch Changes

  • Updated dependencies

17.0.1

Patch Changes

  • Updated dependencies

17.0.0

Major Changes

Patch Changes

  • Updated dependencies

16.0.0

Major Changes

  • 0c7c7be927bde, (opens new window) - Remove deprecated Volt re-export shims from public package entry points. Consumers should import from the replacement subpaths or implementation entry points instead.

Patch Changes

  • Updated dependencies

15.8.5

Patch Changes

  • Updated dependencies

15.8.4

Patch Changes

  • 78264aeafd321, (opens new window) - Add an onStart lifecycle callback to useMotion so Tag, Select, and User Picker consumers can determine settled truncation before tokenized grid-column motion runs behind platform-dst-motion-uplift-labels.
  • Updated dependencies

15.8.3

Patch Changes

  • Updated dependencies

15.8.2

Patch Changes

  • Updated dependencies

15.8.1

Patch Changes

15.8.0

Minor Changes

Patch Changes

  • Updated dependencies

15.7.4

Patch Changes

  • ae3b452f54cbe, (opens new window) - Point the RemovableTag re-export at the internal removable implementation (./tag/internal/removable) and remove the now-redundant src/tag/removable-tag.tsx shim (Volt Stage-1). The public RemovableTag export and its props are unchanged.

15.7.3

Patch Changes

  • fb7fe0e714a8f, (opens new window) - Cleanup feature gate parent-field-switcher-missing-info-image-text. When both swatchBeforeLabel and swatchBeforeRole are provided, the color swatch now always renders with role and aria-label for screen reader accessibility.
  • Updated dependencies

15.7.2

Patch Changes

  • Use @atlassian/testing-library exclusively in unit tests.

15.7.1

Patch Changes

  • fae4f6a53e4be, (opens new window) - Render label enter and exit animations through cssMap in Tag, React Select, Select, and User Picker. Motion now measures concurrent CSS animation lists correctly so the label scale and fade animations complete together.
  • Updated dependencies

15.7.0

Minor Changes

  • ef98af289c49b, (opens new window) - Add motion to Tag, AvatarTag, TagDropdownTrigger, Tag Group, Select, React Select, and User Picker tag values. Tags use motion.label.enter and motion.label.exit for entry and exit, while interactive tags and dropdown triggers use the button hover and pressed motion tokens; Tag Dropdown Trigger also fades between its content and loading spinner. The remove control is removed when exit begins so it cannot linger while the tag collapses.

    Motion is gated by platform-dst-motion-uplift-labels. Compatibility and adoption paths for the visually uplifted Tag, Tag Group, Select, React Select, and User Picker additionally remain behind platform-dst-lozenge-tag-badge-visual-uplifts.

    @atlaskit/react-select also adds an optional onMotionFinish callback to the exported MultiValueProps interface so the Select can restore its placeholder after the final multi-value exit completes.

    import Tag from '@atlaskit/tag/new'; <Tag text="Status" />;

Patch Changes

  • Updated dependencies

15.6.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.json exports subpaths 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.5.0

Minor Changes

Patch Changes

  • Updated dependencies

15.4.8

Patch Changes

15.4.7

Patch Changes

  • Updated dependencies

15.4.6

Patch Changes

15.4.5

Patch Changes

15.4.4

Patch Changes

  • Updated dependencies

15.4.3

Patch Changes

  • Updated dependencies

15.4.2

Patch Changes

  • Updated dependencies

15.4.1

Patch Changes

  • Updated dependencies

15.4.0

Minor Changes

  • 772c0f5a9cdbd, (opens new window) - Add a new @atlaskit/tag/tag entry point that exports the default Tag component (removable by default) without going through the package barrel.

    This gives consumers a non-barrel path to the recommended default Tag when migrating off the deprecated SimpleTag (@atlaskit/tag/simple-tag) and RemovableTag (@atlaskit/tag/removable-tag) entry points:

    - import SimpleTag from '@atlaskit/tag/simple-tag'; + import Tag from '@atlaskit/tag/tag'; // <Tag ... isRemovable={false} /> - import RemovableTag from '@atlaskit/tag/removable-tag'; + import Tag from '@atlaskit/tag/tag'; // <Tag ... />

    Importing from @atlaskit/tag/tag (instead of the @atlaskit/tag barrel) keeps consumers off the prohibited barrel entry point, improving IDE type highlighting, dev-server startup, and tree-shaking.

15.3.4

Patch Changes

  • Updated dependencies

15.3.3

Patch Changes

  • Updated dependencies

15.3.2

Patch Changes

  • 79699bc682645, (opens new window) - Fix testId not being forwarded to the link element on the default Tag (and RemovableTag) when a href is provided. Previously a linked tag rendered its anchor without the ${testId}--link test id, breaking test/query targeting. This restores parity with SimpleTag.

15.3.1

Patch Changes

  • Updated dependencies

15.3.0

Minor Changes

  • 7de10719ffa5c, (opens new window) - Adds optional swatchBeforeLabel and swatchBeforeRole props to SimpleTag, RemovableTag, and TagNew components. When both props are provided and the parent-field-switcher-missing-info-image-text feature gate is enabled, the color swatch renders with role="img" and aria-label for screen reader accessibility.

    <SimpleTag color="purple" swatchBefore swatchBeforeLabel="Epic" swatchBeforeRole="img" text="My Epic" />

15.2.3

Patch Changes

  • 10862ef4cfde6, (opens new window) - Re-introduces the SimpleTag/RemovableTag deprecation and hasMargin cleanup.

    These changes were previously released in @atlaskit/tag@15.2.2, then reverted in the monorepo, so the published 15.2.2 package on npm no longer matched master. This change re-lands the intended behaviour so the source and published package are back in sync.

    • Deprecated SimpleTag and RemovableTag. Migrate to the default Tag export from @atlaskit/tag: use <Tag isRemovable={false} /> in place of SimpleTag, and <Tag /> in place of RemovableTag (removable by default).
    • Removed hasMargin from SimpleTagProps as it was never forwarded to the underlying tag and had no effect on SimpleTag. The prop remains available on RemovableTag, where it is applied correctly.

15.2.2

Patch Changes

  • 54390f4df63aa, (opens new window) - - Deprecated SimpleTag and RemovableTag. Migrate to the default Tag export from @atlaskit/tag: use <Tag isRemovable={false} /> in place of SimpleTag, and <Tag /> in place of RemovableTag (removable by default).
    • Removed hasMargin from SimpleTagProps as it was never forwarded to the underlying tag and had no effect on SimpleTag. The prop remains available on RemovableTag, where it is applied correctly.
  • Updated dependencies

15.2.1

Patch Changes

  • Updated dependencies

15.2.0

Minor Changes

Patch Changes

  • Updated dependencies

15.1.1

Patch Changes

  • e724a276d68f2, (opens new window) - Fix a crash (Cannot read properties of undefined (reading 'standard')) that could occur when rendering Tag from the precompiled package. The removable and simple tag internals imported colorMapping through the tag-new barrel, which is part of a circular dependency, so in the built (dist) output colorMapping could be undefined at render time when the platform-dst-lozenge-tag-badge-visual-uplifts flag was enabled. They now import colorMapping directly from the leaf tag-new/color-mapping module, matching how tag-new and tag-dropdown-trigger already import it.

15.1.0

Minor Changes

  • cd097a2111788, (opens new window) - Republish packages depending on @atlaskit/react-compiler-gating so their published dependency reference is updated to the renamed @atlaskit/react-compiler-gating scope.

    The earlier rename of @atlassian/react-compiler-gating to @atlaskit/react-compiler-gating only bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old @atlassian/react-compiler-gating name, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.

Patch Changes

  • Updated dependencies

15.0.2

Patch Changes

15.0.1

Patch Changes

  • c955baee350f7, (opens new window) - Fix focus ring offset on remove button in Tag and AvatarTag to use 2px offset, matching the standardized ADS focus ring behavior across all components

15.0.0

Major Changes

  • f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.

    Removes the typesVersions property and dist/types-ts4.5 directory 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

14.16.0

Minor Changes

  • 1ed7a98923fd7, (opens new window) - Removed all OKLCH and color-mix() runtime color transformations from the new Tag component (behind the platform-dst-lozenge-tag-badge-visual-uplifts feature gate).
    • Borders now use the new color.border.accent.*.subtle tokens (introduced in @atlaskit/tokens@13.2.0).
    • Icons keep color.icon.accent.* in the default state (vibrant on the plain page background) and swap to color.text.accent.* on hover/pressed for guaranteed 3:1 contrast against the coloured interactive backgrounds.
    • The AvatarTag border uses color.border.accent.gray.subtle directly with no interactive transforms.

14.15.0

Minor Changes

  • 5a852801cedf2, (opens new window) - Add trailing metric support to the new Tag API and tag dropdown trigger, including neutral metric interaction styling updates for the dropdown trigger and refreshed documentation examples.

14.14.0

Minor Changes

  • f66361a625b2c, (opens new window) - Support string[] for the UI-uplifted Tag (TagNew) text prop.

    This helps Lozenge → Tag migration cases where intl placeholder callbacks return ordered string chunks. string[] values are flattened with join('') before rendering. AvatarTag remain string-only.

14.13.3

Patch Changes

  • Updated dependencies

14.13.2

Patch Changes

  • 19547c9a9aad5, (opens new window) - [ux] In the deprecated Tag Dropdown Trigger, added the interactive background and focus ring styles back which were accidentally removed in a previous commit.

14.13.1

Patch Changes

14.13.0

Minor Changes

Patch Changes

  • Updated dependencies

14.12.1

Patch Changes

  • Updated dependencies

14.12.0

Minor Changes

  • 7c17bccdb5fb8, (opens new window) - [ux] Adds hasMargin optional prop to tag so that margin can be removed in tag. This is used in parent elements that control margin themselves.

14.11.0

Minor Changes

  • c23fa87416661, (opens new window) - [ux] Adds hasMargin optional prop to tag so that margin can be removed in tag. This is used in parent elements that control margin themselves.

14.10.0

Minor Changes

  • ea970883e4943, (opens new window) - [ux] Adds hasMargin optional prop to tag so that margin can be removed in tag. This is used in parent elements that control margin themselves.

14.9.1

Patch Changes

14.9.0

Minor Changes

  • 52b7aa6b3d721, (opens new window) - Added a new /new entrypoint for @atlaskit/lozenge, @atlaskit/badge, and @atlaskit/tag. These entrypoints export the new visual refresh components directly, bypassing the platform-dst-lozenge-tag-badge-visual-uplifts feature 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 /new entrypoint if your app can evaluate the platform-dst-lozenge-tag-badge-visual-uplifts feature 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

14.8.1

Patch Changes

  • Updated dependencies

14.8.0

Minor Changes

  • 564c0378f73b5, (opens new window) - Add a temporary migration prop swatchBefore to the old tag prop types, and pass it to the new tag when platform-dst-lozenge-tag-badge-visual-uplifts is true

14.7.1

Patch Changes

  • Updated dependencies

14.7.0

Minor Changes

  • 0b0079f9a87a8, (opens new window) - Introduced TagDropdownTrigger for Jira Epic workflows only. This component is deprecated and intended strictly for migration/backward-compatibility use cases; do not adopt it for new product experiences.

    Added experimental swatchBefore support to new Tag component, which renders a 12x12 leading color swatch before elemBefore (using either the tag color’s subtle accent token or a provided token value). This API is experimental and not recommended for broad adoption yet.

14.6.2

Patch Changes

14.6.1

Patch Changes

14.6.0

Minor Changes

Patch Changes

  • Updated dependencies

14.5.4

Patch Changes

  • Updated dependencies

14.5.3

Patch Changes

  • Updated dependencies

14.5.2

Patch Changes

  • Updated dependencies

14.5.1

Patch Changes

  • Updated dependencies

14.5.0

Minor Changes

14.4.0

Minor Changes

14.3.2

Patch Changes

  • Updated dependencies

14.3.1

Patch Changes

14.3.0

Minor Changes

14.2.6

Patch Changes

  • Updated dependencies

14.2.5

Patch Changes

  • Updated dependencies

14.2.4

Patch Changes

14.2.3

Patch Changes

  • Updated dependencies

14.2.2

Patch Changes

14.2.1

Patch Changes

  • Updated dependencies

14.2.0

Minor Changes

14.1.17

Patch Changes

14.1.16

Patch Changes

  • Updated dependencies

14.1.15

Patch Changes

  • Updated dependencies

14.1.14

Patch Changes

  • Updated dependencies

14.1.13

Patch Changes

  • Updated dependencies

14.1.12

Patch Changes

  • Updated dependencies

14.1.11

Patch Changes

  • Updated dependencies

14.1.10

Patch Changes

  • Updated dependencies

14.1.9

Patch Changes

14.1.8

Patch Changes

14.1.7

Patch Changes

  • Updated dependencies

14.1.6

Patch Changes

  • Updated dependencies

14.1.5

Patch Changes

  • Updated dependencies

14.1.4

Patch Changes

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

14.0.16

Patch Changes

  • Updated dependencies

14.0.15

Patch Changes

14.0.14

Patch Changes

  • Updated dependencies

14.0.13

Patch Changes

  • Updated dependencies

14.0.12

Patch Changes

  • Updated dependencies

14.0.11

Patch Changes

  • Updated dependencies

14.0.10

Patch Changes

  • Updated dependencies

14.0.9

Patch Changes

14.0.8

Patch Changes

  • Updated dependencies

14.0.7

Patch Changes

14.0.6

Patch Changes

14.0.5

Patch Changes

14.0.4

Patch Changes

14.0.3

Patch Changes

  • Updated dependencies

14.0.2

Patch Changes

  • Updated dependencies

14.0.1

Patch Changes

  • Updated dependencies

14.0.0

Major Changes

Patch Changes

  • Updated dependencies

13.1.0

Minor Changes

Patch Changes

  • Updated dependencies

13.0.4

Patch Changes

  • 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

  • #94639, (opens new window) 135106f2d1c95, (opens new window) - Migrated from @emotion/react to @compiled/react in 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/tag, you will need to ensure that your bundler is configured to handle .css imports correctly.

    Most bundlers come with built-in support for .css imports, 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 .css imports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS, (opens new window).

12.7.1

Patch Changes

  • Updated dependencies

12.7.0

Minor Changes

Patch Changes

  • Updated dependencies

12.6.10

Patch Changes

12.6.9

Patch Changes

12.6.8

Patch Changes

  • Updated dependencies

12.6.7

Patch Changes

  • Updated dependencies

12.6.6

Patch Changes

12.6.5

Patch Changes

  • Updated dependencies

12.6.4

Patch Changes

  • Updated dependencies

12.6.3

Patch Changes

  • Updated dependencies

12.6.2

Patch Changes

12.6.1

Patch Changes

  • Updated dependencies

12.6.0

Minor Changes

Patch Changes

  • Updated dependencies

12.5.3

Patch Changes

12.5.2

Patch Changes

12.5.1

Patch Changes

  • Updated dependencies

12.5.0

Minor Changes

  • #127511, (opens new window) db30e29344013, (opens new window) - 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

12.4.4

Patch Changes

  • Updated dependencies

12.4.3

Patch Changes

  • Updated dependencies

12.4.2

Patch Changes

12.4.1

Patch Changes

  • Updated dependencies

12.4.0

Minor Changes

12.3.3

Patch Changes

  • Updated dependencies

12.3.2

Patch Changes

  • Updated dependencies

12.3.1

Patch Changes

  • Updated dependencies

12.3.0

Minor Changes

Patch Changes

  • Updated dependencies

12.2.3

Patch Changes

  • Updated dependencies

12.2.2

Patch Changes

12.2.1

Patch Changes

  • Updated dependencies

12.2.0

Minor Changes

  • #96758, (opens new window) 97190f5196c8, (opens new window) - RemovableTag remove buttons now use the Pressable primitive.
    • Button focus outlines are no longer negatively inset
    • overflow: hidden was removed from base tag styles to prevent button focus outlines being cropped. No known impacts are expected from this change
    • Pressable includes event tracking on click

12.1.0

Minor Changes

12.0.4

Patch Changes

12.0.3

Patch Changes

12.0.2

Patch Changes

12.0.1

Patch Changes

  • Updated dependencies

12.0.0

Major Changes

11.6.2

Patch Changes

11.6.1

Patch Changes

11.6.0

Minor Changes

11.5.7

Patch Changes

11.5.6

Patch Changes

11.5.5

Patch Changes

11.5.4

Patch Changes

11.5.3

Patch Changes

11.5.2

Patch Changes

11.5.1

Patch Changes

11.5.0

Minor Changes

Patch Changes

  • Updated dependencies

11.4.11

Patch Changes

11.4.10

Patch Changes

  • Updated dependencies

11.4.9

Patch Changes

11.4.8

Patch Changes

  • Updated dependencies

11.4.7

Patch Changes

11.4.6

Patch Changes

  • Updated dependencies

11.4.5

Patch Changes

  • Updated dependencies

11.4.4

Patch Changes

  • Updated dependencies

11.4.3

Patch Changes

11.4.2

Patch Changes

11.4.1

Patch Changes

11.4.0

Minor Changes

Patch Changes

  • Updated dependencies

11.3.6

Patch Changes

11.3.5

Patch Changes

11.3.4

Patch Changes

  • Updated dependencies

11.3.3

Patch Changes

  • Updated dependencies

11.3.2

Patch Changes

11.3.1

Patch Changes

  • Updated dependencies

11.3.0

Minor Changes

  • #19618, (opens new window) 53588b7628f, (opens new window) - [ux] Color updates
    • Link tag color background + text updates: hovered and pressed states. Now using accent tokens
    • Removable tag background, text, and remove button color updates: hovered and pressed states. Now using "danger" token color (red) on hover
    • Elements before tags now vertically centered rather than anchored to the top
    • Elements before tags now match text color of tag, improving visibility on color variations and interaction states
    • Replaced some remaining colors with design tokens

Patch Changes

  • Updated dependencies

11.2.6

Patch Changes

11.2.5

Patch Changes

11.2.4

Patch Changes

  • 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.2.3

Patch Changes

  • Updated dependencies

11.2.2

Patch Changes

11.2.1

Patch Changes

  • Updated dependencies

11.2.0

Minor Changes

  • #14319, (opens new window) 312f801c5ee, (opens new window) - [ux] Instrumented tag with the new theming package, @atlaskit/tokens.

    New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.

Patch Changes

11.1.3

Patch Changes

11.1.2

Patch Changes

11.1.1

Patch Changes

11.1.0

Minor Changes

11.0.11

Patch Changes

  • Updated dependencies

11.0.10

Patch Changes

11.0.9

Patch Changes

11.0.8

Patch Changes

11.0.7

Patch Changes

11.0.6

Patch Changes

11.0.5

Patch Changes

11.0.4

Patch Changes

11.0.3

Patch Changes

11.0.2

Patch Changes

11.0.1

Patch Changes

  • Updated dependencies

11.0.0

Major Changes

  • #4749, (opens new window) 661b22b003, (opens new window) - ### Brief

    The major changes are mainly on performance tunning for tag. As part of the change, we split Tag into RemovableTag and SimpleTag.

    If you just want to display a non-interactive tag, use SimpleTag. If you want to display tags that can be removed, use RemovableTag. We made this split so that people only need to pay the cost for the functionality they are using.

    import SimpleTag from '@atlaskit/tag/simple-tag';

    and use RemovableTag for the full-featured version in entry point removable-tag:

    import RemovableTag from '@atlaskit/tag/removable-tag';

    RemovableTag

    RemovableTag has the remove button so you can remove it from the page. There are a few other enhancements as well in this changeset. By using remove icon from @atlaskit/icon and animation from @atlaskit/motion, we reduced the overall size of the component. In addition, the DOM structure is reduced too.

    Other changes

    • Renamed removeButtonText to removeButtonLabel as it's used as aria-label
    • Added isRemovable prop to RemovableTag so you can conditionally allow removal

    Upgrading with codemod

    # You first need to have the latest range installed before you can run the codemod yarn upgrade @atlaskit/tag@^11.0.0 # Run the codemod cli # Pass in a parser for your codebase npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]

Patch Changes

10.0.4

Patch Changes

10.0.3

Patch Changes

10.0.2

Patch Changes

10.0.1

Patch Changes

10.0.0

Major Changes

Patch Changes

  • Updated dependencies

9.1.2

Patch Changes

9.1.1

Patch Changes

9.1.0

Minor Changes

  • [minor]55b726b9af, (opens new window):

    Various accessibility improvements:

    • Clicking on an element that is not clickable will no longer activate a focus ring
    • Non-clickable tags no longer have focus / hover states
    • Links can be directly navigated to and clicked via native browser behavior
    • Remove button now sets a pointer cursor

Patch Changes

9.0.13

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/analytics-next@6.3.5
    • @atlaskit/avatar@17.1.7
    • @atlaskit/icon@20.0.1
    • @atlaskit/section-message@4.1.5
    • @atlaskit/theme@9.5.1

9.0.12

Patch Changes

9.0.11

Patch Changes

9.0.10

Patch Changes

  • [patch]d222c2b987, (opens new window):

    Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided.

    Breaking

    ** getTokens props changes ** When defining the value function passed into a ThemeProvider, the getTokens parameter cannot be called without props; if no props are provided an empty object {} must be passed in:

    <CustomTheme.Provider value={t => ({ ...t(), backgroundColor: '#333'})} >

    becomes:

    <CustomTheme.Provider value={t => ({ ...t({}), backgroundColor: '#333'})} >

    ** Color palette changes ** Color palettes have been moved into their own file. Users will need to update imports from this:

    import { colors } from '@atlaskit/theme'; colors.colorPalette('8');

    to this:

    import { colorPalette } from '@atlaskit/theme'; colorPalette.colorPalette('8');

    or for multi entry-point users:

    import * as colors from '@atlaskit/theme/colors'; colors.colorPalette('8');

    to this:

    import * as colorPalettes from '@atlaskit/theme/color-palette'; colorPalettes.colorPalette('8');

9.0.9

Patch Changes

9.0.8

Patch Changes

9.0.7

9.0.6

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.5

Patch Changes

9.0.4

Patch Changes

9.0.3

Patch Changes

9.0.2

Patch Changes

  • [patch]926b43142b, (opens new window):

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

    Breaking changes

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

    Breaking changes to TypeScript annotations

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

9.0.1

Patch Changes

9.0.0

Major Changes

  • [major]1adb8727e3, (opens new window):

    @atlaskit/tag 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.6

Patch Changes

8.0.5

8.0.4

Patch Changes

8.0.3

8.0.2

8.0.1

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

7.0.2

  • Updated dependencies 9c0b4744be, (opens new window):
    • @atlaskit/docs@7.0.3
    • @atlaskit/avatar@15.0.4
    • @atlaskit/icon@16.0.9
    • @atlaskit/section-message@2.0.3
    • @atlaskit/theme@8.1.7

7.0.1

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 import and export declarations.

    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.1.4

6.1.3

  • Updated dependencies 58b84fa, (opens new window):
    • @atlaskit/analytics-next@3.1.2
    • @atlaskit/avatar@14.1.7
    • @atlaskit/icon@15.0.2
    • @atlaskit/section-message@1.0.14
    • @atlaskit/theme@7.0.1
    • @atlaskit/docs@6.0.0

6.1.2

  • Updated dependencies d13242d, (opens new window):
    • @atlaskit/docs@5.2.3
    • @atlaskit/icon@15.0.1
    • @atlaskit/section-message@1.0.13
    • @atlaskit/theme@7.0.0
    • @atlaskit/avatar@14.1.6

6.1.1

  • Updated dependencies ab9b69c, (opens new window):
    • @atlaskit/docs@5.2.2
    • @atlaskit/avatar@14.1.5
    • @atlaskit/section-message@1.0.12
    • @atlaskit/icon@15.0.0

6.1.0

6.0.9

6.0.8

6.0.7

6.0.5

  • [patch] Updated dependencies df22ad8, (opens new window)
    • @atlaskit/theme@6.0.0
    • @atlaskit/icon@13.2.5
    • @atlaskit/avatar@14.0.8
    • @atlaskit/docs@5.0.6

6.0.4

6.0.3

  • [patch] Updated dependencies acd86a1, (opens new window)
    • @atlaskit/icon@13.2.2
    • @atlaskit/theme@5.1.2
    • @atlaskit/analytics-next@3.0.3
    • @atlaskit/docs@5.0.2
    • @atlaskit/avatar@14.0.5

6.0.2

6.0.1

6.0.0

5.0.7

5.0.6

5.0.5

5.0.4

5.0.3

5.0.2

5.0.1

5.0.0

4.1.1

  • [patch] Updated dependencies d662caa, (opens new window)
    • @atlaskit/icon@11.3.0
    • @atlaskit/theme@3.2.2
    • @atlaskit/avatar@10.0.6
    • @atlaskit/docs@3.0.4

4.1.0

4.0.1

4.0.0

3.2.1

3.2.0

3.1.3

3.1.2

3.1.0

3.0.12

3.0.10

3.0.8

3.0.6

  • [patch] Use correct dependencies 7b178b1
  • [patch] Adding responsive behavior to the editor. e0d9867

3.0.2 (2017-09-20)

3.0.1 (2017-08-30)

3.0.0 (2017-08-23)

  • breaking; Tag has dark mode colors (149b8df, (opens new window))
  • breaking; tag has dark mode colors (issues closed: #ak-3239) (149b8df, (opens new window))
  • Adding Dark mode, so that when the atlaskit theme manager is used it can be turned on. This should not be a breaking any old functionality, but as it is a major rewrite, it is a major version bump.

2.6.0 (2017-08-03)

2.5.2 (2017-07-27)

2.5.1 (2017-07-25)

2.2.0 (2017-07-17)

2.1.4 (2017-06-02)

2.1.3 (2017-05-03)

2.1.2 (2017-04-27)

2.1.1 (2017-04-26)

2.1.0 (2017-04-20)

2.0.0 (2017-04-05)

  • refactor the tag component to use styled-components (7a7a513, (opens new window))
  • breaking; added peerDependency "styled-components", removed dependency "classnames"
  • ISSUES CLOSED: AK-2033

1.2.1 (2017-04-02)

1.2.0 (2017-03-28)

1.1.3 (2017-03-23)

1.1.1 (2017-03-21)

1.1.0 (2017-03-07)

1.0.5 (2017-02-28)

1.0.4 (2017-02-10)

1.0.3 (2017-02-09)

1.0.1 (2017-02-07)

Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License