MetricText

MetricText is a token-backed typography component to display metrics.

22.5.1

Patch Changes

  • Updated dependencies

22.5.0

Minor Changes

Patch Changes

  • Updated dependencies

22.4.1

Patch Changes

22.4.0

Minor Changes

  • d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.

    These packages now expose their individual modules via explicit package.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

22.3.0

Minor Changes

22.2.2

Patch Changes

22.2.1

Patch Changes

  • fe3a9586700ef, (opens new window) - ##

    Add named exports for primitives subpath components while preserving default exports.

    This update expands API availability for several component subpaths without breaking existing imports. Default imports continue to work, and named imports are now supported in the same entry-points.

    What changed

    The following public subpaths now support both default and named imports:

    • @atlaskit/primitives/anchor
    • @atlaskit/primitives/flex
    • @atlaskit/primitives/inline
    • @atlaskit/primitives/metric-text
    • @atlaskit/primitives/pressable
    • @atlaskit/primitives/stack
    • @atlaskit/primitives/text

    Compatibility

    Existing default imports remain valid:

    import Text from '@atlaskit/primitives/text'; import Pressable from '@atlaskit/primitives/pressable'; import Anchor from '@atlaskit/primitives/anchor';

    Named imports are also supported:

    import { Text } from '@atlaskit/primitives/text'; import { Pressable } from '@atlaskit/primitives/pressable'; import { Anchor } from '@atlaskit/primitives/anchor';

    Notes

    • Package root named imports remain valid.
    • @atlaskit/primitives/box continues to support a default import via its dedicated entry-point.
    import { Text, Pressable, Anchor } from '@atlaskit/primitives';

22.2.0

Minor Changes

22.1.1

Patch Changes

22.1.0

Minor Changes

  • b1453699ad8be, (opens new window) - Add semantic code syntax tokens:

    • color.background.code.default
    • color.background.code.gutter
    • color.background.code.highlight
    • color.background.code.added.line
    • color.background.code.added.highlight
    • color.background.code.removed.line
    • color.background.code.removed.highlight
    • color.border.code
    • color.text.code.default
    • color.text.code.comments
    • color.text.code.operators
    • color.text.code.keywords
    • color.text.code.strings
    • color.text.code.numbers
    • color.text.code.functions
    • color.text.code.tags
    • color.text.code.accent.1
    • color.text.code.accent.2
    • color.text.code.gutter
    import { token } from '@atlaskit/tokens'; const keywordColor = token('color.text.code.keywords', '#AE2E24'); // Or via CSS variable: var(--ds-text-code-keywords)

    Update BackgroundColorToken to support the new code background tokens.

Patch Changes

  • Updated dependencies

22.0.0

Major Changes

Patch Changes

  • Updated dependencies

21.0.1

Patch Changes

  • Updated dependencies

21.0.0

Major Changes

Patch Changes

  • Updated dependencies

20.6.0

Minor Changes

20.5.0

Minor Changes

Patch Changes

  • Updated dependencies

20.4.0

Minor Changes

20.3.0

Minor Changes

  • 8f588905041f4, (opens new window) - Add two new interaction-state tokens for the neutral container surface: elevation.surface.container.hovered and elevation.surface.container.pressed. Use these for hovered and pressed states of elements built on elevation.surface.container.

Patch Changes

  • Updated dependencies

20.2.1

Patch Changes

  • 86c21c639404f, (opens new window) - Run scoped-jsx codemod, migrating atlaskit components and examples to import the JSX type from React and use logical CSS properties. The change is required for components to be compatible with React 19 version, which removed JSX from global scope.

20.2.0

Minor Changes

Patch Changes

  • Updated dependencies

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

20.0.1

Patch Changes

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

19.0.2

Patch Changes

  • 71fee8de88abc, (opens new window) - Added new design tokens to support the Lozenge / Tag / Badge visual uplift:

    15 new color.border.*.subtle tokens for decorative borders that do not need to meet 3:1 contrast requirements:

    • 5 semantic: danger, warning, success, discovery, information (no neutral.subtle — the default color.border already serves this case)
    • 10 accent: red, orange, yellow, lime, green, teal, blue, purple, magenta, gray
    • Light theme maps to Color300; dark theme maps to Color800 (DarkNeutral400 for accent.gray)

    5 new color.background.*.subtle tokens for non-interactive elements (e.g. semantic badges, status pills, callout chips):

    • danger, success, discovery, information — light theme maps to Color300, dark theme maps to Color800
    • warning — light theme maps to Orange250, dark theme maps to Orange850 (different stops because Orange300 is already used by warning.bold)

    Note: color.background.*.subtle is intentionally non-interactive only — no .hovered or .pressed variants are provided. For interactive surfaces, use color.background.<semantic>.bold or color.background.<semantic>.subtler instead.

  • Updated dependencies

19.0.1

Patch Changes

19.0.0

Major Changes

Patch Changes

  • Updated dependencies

18.1.4

Patch Changes

  • Updated dependencies

18.1.3

Patch Changes

18.1.2

Patch Changes

18.1.1

Patch Changes

18.1.0

Minor Changes

18.0.2

Patch Changes

  • Updated dependencies

18.0.1

Patch Changes

18.0.0

Major Changes

  • 2abd451d54eb2, (opens new window) - Removes atlassian-legacy-light/dark color themes from the tokens package. These themes are unused and non-functional in terms of color contrast. As a result some primitive components may recieve modern fallback color values in some scenarios, however these are inline with the latest token themes.

Patch Changes

  • Updated dependencies

17.1.1

Patch Changes

  • f111803c4e253, (opens new window) - Updating typography fallbacks to refreshed typography values as the deprecated legacy typography theme has been removed.
  • Updated dependencies

17.1.0

Minor Changes

17.0.0

Major Changes

  • 55546332d4ef4, (opens new window) - Restricted borderRadius xcss and cssMap types to only accept tokens, 0, and "inherit". Restricted borderWidth types to only accept tokens and 0. Previously any string was allowed, this is no longer the case and will throw a type error.

Patch Changes

  • Updated dependencies

16.4.4

Patch Changes

16.4.3

Patch Changes

  • Updated dependencies

16.4.2

Patch Changes

16.4.1

Patch Changes

  • 0d73beb2f9401, (opens new window) - Added fontVariantNumeric as an allowed property to Text's xcss prop to allow for tabular numbers and slashed zeros. This is only available to the Compiled version of the Text component.

16.4.0

Minor Changes

16.3.0

Minor Changes

  • 644c0f593ae62, (opens new window) - Adds background color tokens to types.

  • 644c0f593ae62, (opens new window) - Adds new semantic background and text tokens.

    Background Tokens (background.[semantics].subtler.*):

    Added subtler variants for semantic background colors with default, hovered, and pressed states:

    • background.success.subtler.[default|hovered|pressed]
    • background.warning.subtler.[default|hovered|pressed]
    • background.danger.subtler.[default|hovered|pressed]
    • background.information.subtler.[default|hovered|pressed]
    • background.discovery.subtler.[default|hovered|pressed]

    Text Tokens (text.[semantics].bolder):

    Added bolder variants for semantic text colors to ensure proper contrast on colored backgrounds:

    • text.success.bolder
    • text.warning.bolder
    • text.danger.bolder
    • text.information.bolder
    • text.discovery.bolder

Patch Changes

  • Updated dependencies

16.2.0

Minor Changes

Patch Changes

  • Updated dependencies

16.1.1

Patch Changes

  • Updated dependencies

16.1.0

Minor Changes

  • c9b86863a2583, (opens new window) - The Focusable component now resets the outline style when the element matches the pseudo-class :focus but not :focus-visible. This is to ensure the focus ring is not applied when it should not be. Some apps have global styles targeting all buttons and anchors, adding an outline on :focus. This will unset that style.

    This change was previously behind a feature flag, which has now been removed.

16.0.2

Patch Changes

16.0.1

Patch Changes

16.0.0

Major Changes

Patch Changes

  • Updated dependencies

15.0.1

Patch Changes

15.0.0

Major Changes

Patch Changes

  • Updated dependencies

14.15.5

Patch Changes

14.15.4

Patch Changes

14.15.3

Patch Changes

14.15.2

Patch Changes

14.15.1

Patch Changes

14.15.0

Minor Changes

  • fe9321ccb4bd7, (opens new window) - The Focusable component now resets the outline style when the element matches the pseudo-class :focus but not :focus-visible. This is to ensure the focus ring is not applied when it should not be. Some apps have global styles targeting all buttons and anchors, adding an outline on :focus. This will unset that style.

    This change is behind a feature flag.

Patch Changes

  • Updated dependencies

14.14.3

Patch Changes

14.14.2

Patch Changes

14.14.1

Patch Changes

14.14.0

Minor Changes

Patch Changes

  • Updated dependencies

14.13.0

Minor Changes

Patch Changes

  • Updated dependencies

14.12.3

Patch Changes

14.12.2

Patch Changes

14.12.1

Patch Changes

14.12.0

Minor Changes

Patch Changes

  • Updated dependencies

14.11.4

Patch Changes

14.11.3

Patch Changes

  • Updated dependencies

14.11.2

Patch Changes

14.11.1

Patch Changes

14.11.0

Minor Changes

14.10.2

Patch Changes

  • Updated dependencies

14.10.1

Patch Changes

14.10.0

Minor Changes

Patch Changes

  • Updated dependencies

14.9.0

Minor Changes

Patch Changes

  • Updated dependencies

14.8.4

Patch Changes

14.8.3

Patch Changes

  • Updated dependencies

14.8.2

Patch Changes

14.8.1

Patch Changes

14.8.0

Minor Changes

Patch Changes

  • Updated dependencies

14.7.3

Patch Changes

14.7.2

Patch Changes

14.7.1

Patch Changes

14.7.0

Minor Changes

14.6.0

Minor Changes

  • #148632, (opens new window) 9dd484b8a47eb, (opens new window) - Make <Pressable backgroundColor> and <Anchor backgroundColor> a deprecated prop to ease the migration to @atlaskit/primitives/compiled as including a backgroundColor style map for this component is a large bytesize impact and it may lead to bad patterns as you should typically also have backgroundColor changes in &:hover and &:focus states.

Patch Changes

  • Updated dependencies

14.5.0

Minor Changes

14.4.0

Minor Changes

14.3.3

Patch Changes

14.3.2

Patch Changes

14.3.1

Patch Changes

14.3.0

Minor Changes

Patch Changes

  • Updated dependencies

14.2.3

Patch Changes

14.2.2

Patch Changes

14.2.1

Patch Changes

14.2.0

Minor Changes

14.1.4

Patch Changes

14.1.3

Patch Changes

  • Updated dependencies

14.1.2

Patch Changes

14.1.1

Patch Changes

14.1.0

Minor Changes

Patch Changes

  • Updated dependencies

14.0.0

Major Changes

Patch Changes

  • Updated dependencies

13.6.0

Minor Changes

Patch Changes

  • Updated dependencies

13.5.1

Patch Changes

13.5.0

Minor Changes

13.4.1

Patch Changes

  • Updated dependencies

13.4.0

Minor Changes

Patch Changes

  • Updated dependencies

13.3.8

Patch Changes

13.3.7

Patch Changes

  • Updated dependencies

13.3.6

Patch Changes

13.3.5

Patch Changes

13.3.4

Patch Changes

13.3.3

Patch Changes

13.3.2

Patch Changes

13.3.1

Patch Changes

  • Updated dependencies

13.3.0

Minor Changes

13.2.0

Minor Changes

13.1.0

Minor Changes

13.0.0

Major Changes

  • #158114, (opens new window) 01676a379617b, (opens new window) - This generates a new entrypoint for opt-in to Compiled through @atlaskit/primitives/compiled.

    No documentation is currently available on how to use this, and this is for internal testing, use at your own risk.

    Possibly BREAKING: In theory, this could have an impact depending on your bundling setup due to newly distributed dist/cjs/compiled/box.compiled.css type files—the most notable impact is in an extreme, Webpack may error if it was not expecting *.css files (and then these files could be ignored for now following future updates), or are included but not used, increasing client-facing bundle size.

Minor Changes

12.2.7

Patch Changes

12.2.6

Patch Changes

  • Updated dependencies

12.2.5

Patch Changes

12.2.4

Patch Changes

  • Updated dependencies

12.2.3

Patch Changes

12.2.2

Patch Changes

12.2.1

Patch Changes

  • Updated dependencies

12.2.0

Minor Changes

Patch Changes

  • Updated dependencies

12.1.2

Patch Changes

  • Updated dependencies

12.1.1

Patch Changes

12.1.0

Minor Changes

12.0.1

Patch Changes

  • Updated dependencies

12.0.0

Major Changes

  • #128232, (opens new window) c97dfe9e5b27d, (opens new window) - Box no longer supports usage as an anchor tag (<a>). Use the Anchor primitive, (opens new window) instead, which is more specialized. This has benefits including:

    • Built-in event tracking support
    • Default text underlines
    • Automatic router link configuration from @atlaskit/app-provider
    • Built-in accessible focus styles
    • Warning screen-readers when links open in new windows

    Migrating to Anchor

    • First consider if another ADS link component such as @atlaskit/link is better suited rather than building a custom anchor.
    • Anchor has focus ring styles built-in, so remove existing styles including @atlaskit/focus-ring.
    • Anchor has a default cursor (cursor: pointer), so existing styles can be removed.
    • Anchor has a default link underline, so an existing style can be removed.

    Before migration

    import { Box, xcss } from '@atlaskit/primitives'; import FocusRing from '@atlaskit/focus-ring'; const anchorStyles = xcss({ cursor: 'pointer', color: 'color.link', textDecoration: 'underline', }); const MyApp = () => ( <FocusRing> <Box as="a" href="/foo" xcss={anchorStyles}> Hello </Box> </FocusRing> );

    After migration

    import { Anchor, xcss } from '@atlaskit/primitives'; const anchorStyles = xcss({ color: 'color.link', }); const MyApp = () => ( <Anchor href="/foo" xcss={anchorStyles}> Hello </Anchor> );

11.1.2

Patch Changes

  • Updated dependencies

11.1.1

Patch Changes

11.1.0

Minor Changes

11.0.2

Patch Changes

11.0.1

Patch Changes

11.0.0

Major Changes

  • #119014, (opens new window) 80c46fcb18957, (opens new window) - Increased type safety for xcss. In general, non-token values for the following properties are no longer allowed:

    • margin
    • marginBlock
    • marginBlockEnd
    • marginBlockStart
    • marginBottom
    • marginInline
    • marginInlineEnd
    • marginInlineStart
    • marginLeft
    • marginRight
    • marginTop
    • paddingBottom
    • paddingLeft
    • paddingRight
    • paddingTop

    Note: Logical properties for padding, e.g. paddingInline, already prohibit non-token values.

    For example:

    const styles = xcss({ padding: '8px', // <-- Type Error ^^^^^ });

    A few additional non-token values are still accepted:

    • margin: '0 auto' | 'auto' | '0'
    • marginBlock: 'auto' | '0'
    • marginBlockEnd: 'auto' | '0'
    • marginBlockStart: 'auto' | '0'
    • marginBottom: 'auto' | '0'
    • marginInline: 'auto' | '0'
    • marginInlineEnd: 'auto' | '0'
    • marginInlineStart: 'auto' | '0'
    • marginLeft: 'auto' | '0'
    • marginRight: 'auto' | '0'
    • marginTop: 'auto' | '0'
    • paddingBlock: '0'
    • paddingBlockEnd: '0'
    • paddingBlockStart: '0'
    • paddingBottom: '0'
    • paddingInline: '0'
    • paddingInlineEnd: '0'
    • paddingInlineStart: '0'
    • paddingLeft: '0'
    • paddingRight: '0'
    • paddingTop: '0'

    as well as global CSS properties: 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset'

10.1.0

Minor Changes

10.0.0

Major Changes

9.0.0

Major Changes

  • #114987, (opens new window) d4d420c947747, (opens new window) - [ux] Pressable and Anchor primitives no longer support surface color detection to improve performance. These primitives don't contain nested layouts so this is not needed. Although this is a breaking change, the impact of this change is minimal as no usage of surface detection in these primitives has been observed.

8.2.1

Patch Changes

8.2.0

Minor Changes

8.1.0

Minor Changes

Patch Changes

  • Updated dependencies

8.0.1

Patch Changes

8.0.0

Major Changes

  • #109778, (opens new window) d20b004b7c9dd, (opens new window) - Box no longer supports usage as a button. Use the Pressable primitive, (opens new window) instead, which is more specialized and has built-in event tracking support.

    • Pressable has focus ring styles built-in, so remove existing styles including @atlaskit/focus-ring
    • Pressable has a default cursor (cursor: pointer) built-in, so existing styles can be removed.
    • Pressable has a isDisabled prop, rather than direct usage of the disabled attribute.
    • Pressable is built on Box, so no visual changes are expected.

    Before migration

    import { Box, xcss } from '@atlaskit/primitives'; import FocusRing from '@atlaskit/focus-ring'; const buttonStyles = xcss({ cursor: 'pointer', backgroundColor: 'color.background.brand.bold', }); const MyApp = () => ( <FocusRing> <Box as="button" xcss={buttonStyles} disabled={isDisabled}> Hello </Box> </FocusRing> );

    After migration

    import { Pressable, xcss } from '@atlaskit/primitives'; const buttonStyles = xcss({ backgroundColor: 'color.background.brand.bold', }); const MyApp = () => ( <Pressable xcss={buttonStyles} isDisabled={isDisabled}> Hello </Pressable> );

Minor Changes

Patch Changes

  • Updated dependencies

7.4.1

Patch Changes

  • Updated dependencies

7.4.0

Minor Changes

7.3.0

Minor Changes

7.2.0

Minor Changes

Patch Changes

7.1.0

Minor Changes

Patch Changes

7.0.3

Patch Changes

  • #110975, (opens new window) c462a22b33940, (opens new window) - Removed type hinting for size values in the following properties in XCSS:

    • blockSize
    • height
    • inlineSize
    • maxBlockSize
    • maxHeight
    • maxInlineSize
    • maxWidth
    • minBlockSize
    • minHeight
    • minInlineSize
    • minWidth
    • width

    These properties optionally accept size values like width: 'size.100'. However size will be deprecated in the future. Therefore, the type hinting that displayed size.XXX has been removed to discourage its usage until it is officially deprecated.

    No changes in functionality have been introduced. The syntax width: 'size.100' remains valid for now, so existing code will not be broken. However, consumers are encouraged to use hard-coded values, like width: '8px', instead.

7.0.2

Patch Changes

7.0.1

Patch Changes

7.0.0

Major Changes

  • #108387, (opens new window) 0f3b7b4c63c6d, (opens new window) - xcss: Restrict valid chained pseudo-selectors a limited subset:

    • :visited:active
    • :active:visited
    • :hover::before
    • :hover::after
    • :focus-visible::before
    • :focus-visible::after

    Previously, any combination of two pseudo-selectors was allowed. This decision was made to improve performance for TypeScript compilation and IDE type hinting.

6.5.0

Minor Changes

6.4.0

Minor Changes

6.3.0

Minor Changes

Patch Changes

  • Updated dependencies

6.2.0

Minor Changes

6.1.2

Patch Changes

6.1.1

Patch Changes

6.1.0

Minor Changes

6.0.0

Major Changes

5.7.0

Minor Changes

5.6.1

Patch Changes

5.6.0

Minor Changes

Patch Changes

5.5.3

Patch Changes

  • Updated dependencies

5.5.2

Patch Changes

  • Updated dependencies

5.5.1

Patch Changes

5.5.0

Minor Changes

5.4.0

Minor Changes

Patch Changes

  • Updated dependencies

5.3.0

Minor Changes

  • #86400, (opens new window) 92f574fd392d, (opens new window) - Anchor now suffixes the accessible label with visually hidden text "(opens new window)" when target is set to _blank. This improves accessibility for screen readers.
  • Anchor no longer automatically opens external links in new windows, which is a poor usability and accessibility practice. Previously this involved applying default attributes rel="noopener noreferrer" and target="_blank" when the link was detected to link externally.

5.2.0

Minor Changes

5.1.2

Patch Changes

5.1.1

Patch Changes

5.1.0

Minor Changes

Patch Changes

  • Updated dependencies

5.0.1

Patch Changes

  • Updated dependencies

5.0.0

Major Changes

  • #81744, (opens new window) 30e3d8c81030, (opens new window) - Replaced Text's variant prop with a size prop. The size prop takes three values: "small", "medium" (default), and "large".

    Migration guide:

    • variant="body.small" -> size="small"
    • variant="body" -> size="medium" (Note: Since medium is the default, the size prop can be omitted here)
    • variant="body.large" -> size="large"

4.1.1

Patch Changes

4.1.0

Minor Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

4.0.0

Major Changes

Patch Changes

  • Updated dependencies

3.2.0

Minor Changes

3.1.0

Minor Changes

3.0.0

Major Changes

Minor Changes

Patch Changes

2.1.0

Minor Changes

  • #74930, (opens new window) 707a8fee2aee, (opens new window) - Both the Pressable and Anchor primitives (in Alpha) now support analytics tracking in the same fashion as @atlaskit/button. An additional prop componentName allows analytics to be configured if a parent component name is desired to be tracked rather than the primitive names. For the time being this tracking is opt-in via use of the componentName prop. This will be made default behavior in an upcoming release once tracking is removed in the new Buttons, and @atlaskit/button is bumped to use the latest version of @atlaskit/primitives
  • #75221, (opens new window) c15d58bff276, (opens new window) - Text inherits color by default if color prop is not provided. Removed auto-collapsing behaviour of Text

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

  • Updated dependencies

2.0.0

Major Changes

  • #68009, (opens new window) 1168354ed6ef, (opens new window) - We now ensure the specificity of our xcss-based overrides are consistent across all primitives so xcss will always override props.

    This resulted in a breaking change wtih Grid. For example, <Grid templateAreas="…" xcss({ gridTemplateAreas: "…" })> will result in different styles resolution before and after this version. This applies to templateAreas, templateColumns, and templateRows). From static analysis, we found only one known usage of this and it has been resolved.

1.20.0

Minor Changes

Patch Changes

  • Updated dependencies

1.19.0

Minor Changes

Patch Changes

1.18.0

Minor Changes

Patch Changes

  • Updated dependencies

1.17.0

Minor Changes

1.16.0

Minor Changes

Patch Changes

  • Updated dependencies

1.15.2

Patch Changes

1.15.1

Patch Changes

1.15.0

Minor Changes

Patch Changes

  • Updated dependencies

1.14.0

Minor Changes

1.13.1

Patch Changes

1.13.0

Minor Changes

  • #57795, (opens new window) d2c06815d043, (opens new window) - - Inline: Allow role prop to be passed through. role already existed in the type, but was not actually applied to the component.
    • Stack: Allow role prop to be passed through. role already existed in the type, but was not actually applied to the component.
    • Flex: Allow role prop to be passed through. role already existed in the type, but was not actually applied to the component.
    • Text: Omit xcss from prop types. <Text xcss={yourStyles}></Text> will now throw a type error. xcss was previously non-functional in Text. So, this should not cause any behavior change.
    • xcss: Export XCSS type from main entry point. It is now possible to import { xcss, type XCSS } from '@atlaskit/primitives'.

1.12.0

Minor Changes

1.11.1

Patch Changes

1.11.0

Minor Changes

1.10.1

Patch Changes

1.10.0

Minor Changes

1.9.0

Minor Changes

1.8.0

Minor Changes

Patch Changes

1.7.0

Minor Changes

1.6.8

Patch Changes

1.6.7

Patch Changes

1.6.6

Patch Changes

1.6.5

Patch Changes

1.6.4

Patch Changes

1.6.3

Patch Changes

1.6.2

Patch Changes

1.6.1

Patch Changes

1.6.0

Minor Changes

1.5.0

Minor Changes

1.4.4

Patch Changes

1.4.3

Patch Changes

1.4.2

Patch Changes

1.4.1

Patch Changes

  • #39578, (opens new window) da792e55f6f, (opens new window) - - Bleed now uses negative space tokens under the hood.
    • Fixed an issue where the wrong token would apply for space.025 in Bleed's block prop.
    • Fallback values for Bleed block and inline props now use rem instead of px - this is only applied if space tokens are not available on the page. Space tokens already use rem under the hood.
  • Updated dependencies

1.4.0

Minor Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

1.2.3

Patch Changes

1.2.2

Patch Changes

1.2.1

Patch Changes

1.2.0

Minor Changes

1.1.0

Minor Changes

1.0.11

Patch Changes

1.0.10

Patch Changes

1.0.9

Patch Changes

1.0.8

Patch Changes

1.0.7

Patch Changes

1.0.6

Patch Changes

1.0.5

Patch Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • #36313, (opens new window) fec62731e2e, (opens new window) - This package is now in open beta and is no longer considered experimental. We will be making iterative improvements until GA. While the API is likely to be stable, we reserve the right to make changes if required. This version contains no changes whatsoever.

    P.S. The reason for the change is to aid package deduplication in the product.

0.16.0

Minor Changes

0.15.3

Patch Changes

0.15.2

Patch Changes

0.15.1

Patch Changes

0.15.0

Minor Changes

  • #36050, (opens new window) 8b04f3e78bd, (opens new window) - Adds basic <Show> and <Hide> responsive primitive components to make consistent, composable UIs without writing a dozen lines for just one display: none css rule.

    Additionally:

    • Adds some further examples, tests, and VRs.
    • Tweaks some internals around building these reusable media query maps.

0.14.3

Patch Changes

0.14.2

Patch Changes

0.14.1

Patch Changes

0.14.0

Minor Changes

0.13.0

Minor Changes

  • #35149, (opens new window) 455677dbd4c, (opens new window) - - Documents the responsive media helpers into an Alpha state.
    • BREAKING: Removes the xxl breakpoint from all media queries (should be unused).
    • Adds a new media export without media.below intentionally omitted. Should be unused externally, but used internally and still available via the existing UNSAFE_media export.
    • Changes the underlying media queries to be a bit safer against unexpected overlap. This changes the breakpoints ever-so-slightly, but given browsers round fractional rems, it's impractical that this will have any unintended impact—if anything, it may fix a bug.

0.12.6

Patch Changes

0.12.5

Patch Changes

0.12.4

Patch Changes

0.12.3

Patch Changes

0.12.2

Patch Changes

0.12.1

Patch Changes

0.12.0

Minor Changes

0.11.0

Minor Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

0.9.5

Patch Changes

0.9.4

Patch Changes

0.9.3

Patch Changes

0.9.2

Patch Changes

0.9.1

Patch Changes

0.9.0

Minor Changes

Patch Changes

  • Updated dependencies

0.8.9

Patch Changes

0.8.8

Patch Changes

0.8.7

Patch Changes

0.8.6

Patch Changes

0.8.5

Patch Changes

0.8.4

Patch Changes

0.8.3

Patch Changes

0.8.2

Patch Changes

0.8.1

Patch Changes

0.8.0

Minor Changes

0.7.1

Patch Changes

0.7.0

Minor Changes

0.6.0

Minor Changes

0.5.0

Minor Changes

0.4.2

Patch Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

0.3.3

Patch Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Minor Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.2

Patch Changes

0.0.1

Patch Changes

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