Section message

A section message is used to alert users to a particular section of the screen.

10.2.3

Patch Changes

  • Updated dependencies

10.2.2

Patch Changes

10.2.1

Patch Changes

10.2.0

Minor Changes

Patch Changes

  • Updated dependencies

10.1.1

Patch Changes

10.1.0

Minor Changes

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

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

10.0.0

Major Changes

  • 48e7d03469b80, (opens new window) - Apply Volt entry-point and barrel-removal standards across these design-system packages. Public exports now resolve directly to ./src/* implementations instead of intermediate ./src/entry-points/* re-exports, root barrels and remaining entry-point shims are marked deprecated in favour of per-export subpaths, and a few new subpaths are added (@atlaskit/badge/badge-new, @atlaskit/tile/tile-skeleton, @atlaskit/popper/main, @atlaskit/section-message/message, @atlaskit/section-message/message-action).

    Why this is breaking

    Subpaths and the package root can now resolve to the same module instance. Consumers that deep-imported entry-points/*, or jest.mock()'d a specific subpath may need updates. @atlaskit/image's root export now points at ./src/ui/image/index.tsx. @atlaskit/checkbox/checkbox now exports a named Checkbox from the implementation module (default export retained for backwards compatibility).

    Migration

    Prefer published subpaths over the package root:

    import { Checkbox } from '@atlaskit/checkbox/checkbox'; import TextField from '@atlaskit/textfield/text-field'; import Popup from '@atlaskit/popup/popup'; import SectionMessage from '@atlaskit/section-message/message'; import EmptyState from '@atlaskit/empty-state/empty-state';

    If you imported through internal entry-point modules, switch to the public subpath:

    -import Checkbox from '@atlaskit/checkbox/entry-points/checkbox'; +import { Checkbox } from '@atlaskit/checkbox/checkbox';

Patch Changes

  • Updated dependencies

9.2.7

Patch Changes

  • Updated dependencies

9.2.6

Patch Changes

  • Updated dependencies

9.2.5

Patch Changes

  • Updated dependencies

9.2.4

Patch Changes

  • Updated dependencies

9.2.3

Patch Changes

  • Updated dependencies

9.2.2

Patch Changes

  • Updated dependencies

9.2.1

Patch Changes

  • 820f00bd7db09, (opens new window) - Enable platform-dst-motion-uplift-button by default in constellation examples so button motion is previewed in component demos. Docs/examples-only; no change to shipped component behaviour.

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

9.1.1

Patch Changes

9.1.0

Minor Changes

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

8.13.0

Minor Changes

8.12.15

Patch Changes

  • Updated dependencies

8.12.14

Patch Changes

  • Updated dependencies

8.12.13

Patch Changes

  • Updated dependencies

8.12.12

Patch Changes

8.12.11

Patch Changes

  • Updated dependencies

8.12.10

Patch Changes

8.12.9

Patch Changes

8.12.8

Patch Changes

  • Updated dependencies

8.12.7

Patch Changes

  • Updated dependencies

8.12.6

Patch Changes

  • Updated dependencies

8.12.5

Patch Changes

  • Updated dependencies

8.12.4

Patch Changes

8.12.3

Patch Changes

  • Updated dependencies

8.12.2

Patch Changes

  • Updated dependencies

8.12.1

Patch Changes

  • Updated dependencies

8.12.0

Minor Changes

8.11.3

Patch Changes

8.11.2

Patch Changes

  • Updated dependencies

8.11.1

Patch Changes

8.11.0

Minor Changes

Patch Changes

  • Updated dependencies

8.10.0

Minor Changes

Patch Changes

  • Updated dependencies

8.9.4

Patch Changes

  • Updated dependencies

8.9.3

Patch Changes

  • Updated dependencies

8.9.2

Patch Changes

  • Updated dependencies

8.9.1

Patch Changes

  • Updated dependencies

8.9.0

Minor Changes

  • 0f1032d1ae484, (opens new window) - Updates to Section message actions:
    • Actions that do not have linkComponent component overrides will no longer utilize the legacy Button component, and now utilize either the Pressable primitive or Link component depending on whether onClick or href props are set. The linkComponent prop otherwise behaves as it did before, but remains deprecated and scheduled to be removed in a later version.
    • Plain-text actions with a onClick or href now have body font styles applied by default.

8.8.1

Patch Changes

8.8.0

Minor Changes

8.7.8

Patch Changes

  • Updated dependencies

8.7.7

Patch Changes

  • Updated dependencies

8.7.6

Patch Changes

  • Updated dependencies

8.7.5

Patch Changes

8.7.4

Patch Changes

  • Updated dependencies

8.7.3

Patch Changes

  • Updated dependencies

8.7.2

Patch Changes

  • Updated dependencies

8.7.1

Patch Changes

8.7.0

Minor Changes

  • e2151927739e8, (opens new window) - Explicit font styles have been set for the section message actions container, to prevent inherited styles from affecting the component. This change is no longer behind a feature flag.

8.6.1

Patch Changes

  • Updated dependencies

8.6.0

Minor Changes

8.5.2

Patch Changes

  • Updated dependencies

8.5.1

Patch Changes

  • Updated dependencies

8.5.0

Minor Changes

8.4.0

Minor Changes

  • #189812, (opens new window) 1a7ddaeaf04ce, (opens new window) - [ux] We are testing a change behind a feature flag. Section message action link styles will reflect and utilize @atlaskit/link, being regular font weight and also now support target attributes. If this fix is successful it will be available in a later release.

8.3.0

Minor Changes

Patch Changes

  • Updated dependencies

8.2.10

Patch Changes

8.2.9

Patch Changes

  • Updated dependencies

8.2.8

Patch Changes

  • Updated dependencies

8.2.7

Patch Changes

  • Updated dependencies

8.2.6

Patch Changes

  • Updated dependencies

8.2.5

Patch Changes

  • Updated dependencies

8.2.4

Patch Changes

  • Updated dependencies

8.2.3

Patch Changes

8.2.2

Patch Changes

  • Updated dependencies

8.2.1

Patch Changes

  • Updated dependencies

8.2.0

Minor Changes

8.1.1

Patch Changes

  • Updated dependencies

8.1.0

Minor Changes

8.0.2

Patch Changes

  • Updated dependencies

8.0.1

Patch Changes

8.0.0

Major Changes

Patch Changes

  • Updated dependencies

7.0.0

Major Changes

  • #116552, (opens new window) e002c7033f5f3, (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/section-message, 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).

Patch Changes

  • Updated dependencies

6.9.4

Patch Changes

  • Updated dependencies

6.9.3

Patch Changes

  • Updated dependencies

6.9.2

Patch Changes

  • Updated dependencies

6.9.1

Patch Changes

  • Updated dependencies

6.9.0

Minor Changes

Patch Changes

  • Updated dependencies

6.8.3

Patch Changes

  • Updated dependencies

6.8.2

Patch Changes

  • Updated dependencies

6.8.1

Patch Changes

  • Updated dependencies

6.8.0

Minor Changes

6.7.0

Minor Changes

6.6.9

Patch Changes

6.6.8

Patch Changes

  • Updated dependencies

6.6.7

Patch Changes

  • Updated dependencies

6.6.6

Patch Changes

  • Updated dependencies

6.6.5

Patch Changes

  • Updated dependencies

6.6.4

Patch Changes

6.6.3

Patch Changes

6.6.2

Patch Changes

  • Updated dependencies

6.6.1

Patch Changes

  • Updated dependencies

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

6.5.11

Patch Changes

  • Updated dependencies

6.5.10

Patch Changes

6.5.9

Patch Changes

  • Updated dependencies

6.5.8

Patch Changes

  • Updated dependencies

6.5.7

Patch Changes

  • Updated dependencies

6.5.6

Patch Changes

  • Updated dependencies

6.5.5

Patch Changes

  • Updated dependencies

6.5.4

Patch Changes

  • Updated dependencies

6.5.3

Patch Changes

  • Updated dependencies

6.5.2

Patch Changes

6.5.1

Patch Changes

  • Updated dependencies

6.5.0

Minor Changes

6.4.26

Patch Changes

6.4.25

Patch Changes

6.4.24

Patch Changes

6.4.23

Patch Changes

6.4.22

Patch Changes

  • Updated dependencies

6.4.21

Patch Changes

  • Updated dependencies

6.4.20

Patch Changes

  • Updated dependencies

6.4.19

Patch Changes

  • Updated dependencies

6.4.18

Patch Changes

6.4.17

Patch Changes

  • Updated dependencies

6.4.16

Patch Changes

  • Updated dependencies

6.4.15

Patch Changes

6.4.14

Patch Changes

  • Updated dependencies

6.4.13

Patch Changes

6.4.12

Patch Changes

6.4.11

Patch Changes

6.4.10

Patch Changes

  • Updated dependencies

6.4.9

Patch Changes

  • Updated dependencies

6.4.8

Patch Changes

  • Updated dependencies

6.4.7

Patch Changes

  • Updated dependencies

6.4.6

Patch Changes

  • Updated dependencies

6.4.5

Patch Changes

  • Updated dependencies

6.4.4

Patch Changes

  • Updated dependencies

6.4.3

Patch Changes

  • Updated dependencies

6.4.2

Patch Changes

6.4.1

Patch Changes

6.4.0

Minor Changes

Patch Changes

  • Updated dependencies

6.3.17

Patch Changes

6.3.16

Patch Changes

  • Updated dependencies

6.3.15

Patch Changes

  • Updated dependencies

6.3.14

Patch Changes

  • Updated dependencies

6.3.13

Patch Changes

  • Updated dependencies

6.3.12

Patch Changes

  • Updated dependencies

6.3.11

Patch Changes

6.3.10

Patch Changes

  • Updated dependencies

6.3.9

Patch Changes

6.3.8

Patch Changes

6.3.7

Patch Changes

  • Updated dependencies

6.3.6

Patch Changes

  • Updated dependencies

6.3.5

Patch Changes

  • Updated dependencies

6.3.4

Patch Changes

  • Updated dependencies

6.3.3

Patch Changes

6.3.2

Patch Changes

6.3.1

Patch Changes

6.3.0

Minor Changes

Patch Changes

6.2.1

Patch Changes

6.2.0

Minor Changes

Patch Changes

  • Updated dependencies

6.1.15

Patch Changes

6.1.14

Patch Changes

6.1.13

Patch Changes

  • #21570, (opens new window) 89a1b9b02d9, (opens new window) - [ux] - Actions will now wrap onto new lines rather than overflowing the edges, in cases where the actions are wider than the available width of the Section Message.

    • Added test ID data attribute to actions list for testing purposes, using the existing testId prop.
  • edafa2f6366, (opens new window) - [ux]

    • Prevent long text overflowing the Section Message content box by utilising CSS property word-break: break-word to add line breaks. This applies to both the title and children props.
    • Allow text truncation to work inside Section Message content area by adding overflow: hidden to the flex container. This is due to a quirk with how this property works within CSS flexbox.
    • Added test ID data attribute to content container for testing purposes, using the existing testId prop.
  • Updated dependencies

6.1.12

Patch Changes

  • Updated dependencies

6.1.11

Patch Changes

6.1.10

Patch Changes

  • Updated dependencies

6.1.9

Patch Changes

6.1.8

Patch Changes

  • Updated dependencies

6.1.7

Patch Changes

6.1.6

Patch Changes

  • Updated dependencies

6.1.5

Patch Changes

6.1.4

Patch Changes

  • Updated dependencies

6.1.3

Patch Changes

  • Updated dependencies

6.1.2

Patch Changes

  • Updated dependencies

6.1.1

Patch Changes

6.1.0

Minor Changes

  • #13302, (opens new window) cd62b457ff9, (opens new window) - Instrumented Section Message 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

6.0.3

Patch Changes

  • Updated dependencies

6.0.2

Patch Changes

6.0.1

Patch Changes

6.0.0

Major Changes

  • #10569, (opens new window) 5b0461cc42d, (opens new window) - [ux] In this version we made SectionMessage dramatically faster and lighter

    • General performance improvements

    • We are now exporting a new component and few new types. The new component is SectionMessageAction, which you can use with the actions props. New types are SectionMessageProps and SectionMessageActionProps.

    • BREAKING The actions prop now accepts either a single JSX element, or an array with JSX elements.

    • BREAKING linkComponent prop is now moved to SectionMessageAction.

    • BREAKING The values for the appearance prop have changed:

      • info is now information
      • confirmation is now success
      • change is now discovery

    Running the codemod cli

    To run the codemod: You first need to have the latest version installed

    yarn upgrade @atlaskit/section-message@^6.0.0

    Once upgraded, use @atlaskit/codemod-cli via npx:

    npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]

    The CLI will show a list of components and versions so select @atlaskit/section-message@^6.0.0 and you will automatically be upgraded.

    What will be changed:

    • It will convert the actions prop from an array of objects to an array of SectionMessageAction.
    • It will move linkComponent prop from SectionMessage to SectionMessageAction.
    • It will update the appearance prop values.

    If your usage of SectionMessage cannot be upgraded a comment will be left that a manual change is required.

    Run npx @atlaskit/codemod-cli -h for more details on usage.

    For Atlassians,

    refer to the documentation, (opens new window) for more details on the codemod CLI.

Patch Changes

  • Updated dependencies

5.2.0

Minor Changes

  • #9756, (opens new window) 190c2c66087, (opens new window) - Internal change from class to functional components
    • Converted all the components from class to functional. This improved performance quite a bit. Initial rendering, hydration and re-rendering all have been improved.
    • Stopped exporting unused theme variable.
    • Added ref support which points to the top level element. Earlier it was not officially supported.
    • Dev changes includes: folder restructuring and cleanup, memoizing components, adding techstack in package.json, moving to declarative entry points, removing deprecated version.json etc.

Patch Changes

5.1.0

Minor Changes

Patch Changes

  • Updated dependencies

5.0.9

Patch Changes

5.0.8

Patch Changes

5.0.7

Patch Changes

  • Updated dependencies

5.0.6

Patch Changes

  • Updated dependencies

5.0.5

Patch Changes

5.0.4

Patch Changes

5.0.3

Patch Changes

5.0.2

Patch Changes

5.0.1

Patch Changes

5.0.0

Major Changes

Patch Changes

  • Updated dependencies

4.1.10

Patch Changes

4.1.9

Patch Changes

  • Updated dependencies

4.1.8

Patch Changes

4.1.7

Patch Changes

4.1.6

Patch Changes

4.1.5

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/button@13.3.7
    • @atlaskit/code@11.1.3
    • @atlaskit/field-range@8.0.1
    • @atlaskit/icon@20.0.1
    • @atlaskit/theme@9.5.1

4.1.4

Patch Changes

4.1.3

Patch Changes

4.1.2

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');

4.1.1

Patch Changes

4.1.0

Minor Changes

  • [minor]e6439fa292, (opens new window):

    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.

4.0.12

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

4.0.11

Patch Changes

4.0.10

Patch Changes

4.0.9

Patch Changes

4.0.8

Patch Changes

4.0.7

Patch Changes

4.0.6

Patch Changes

4.0.5

4.0.4

Patch Changes

4.0.3

Patch Changes

4.0.2

4.0.1

4.0.0

  • [major]6dd86f5b07, (opens new window):
    • @atlaskit/section-message has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

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

2.0.4

2.0.3

  • Updated dependencies 9c0b4744be, (opens new window):
    • @atlaskit/docs@7.0.3
    • @atlaskit/button@12.0.3
    • @atlaskit/field-range@6.0.4
    • @atlaskit/icon@16.0.9
    • @atlaskit/theme@8.1.7

2.0.2

  • Updated dependencies 1e826b2966, (opens new window):
    • @atlaskit/docs@7.0.2
    • @atlaskit/icon@16.0.8
    • @atlaskit/theme@8.1.6
    • @atlaskit/field-range@6.0.3
    • @atlaskit/button@12.0.0

2.0.1

  • Updated dependencies 9d5cc39394, (opens new window):
    • @atlaskit/docs@7.0.1
    • @atlaskit/icon@16.0.5
    • @atlaskit/theme@8.0.1
    • @atlaskit/field-range@6.0.1
    • @atlaskit/button@11.0.0

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

1.2.0

1.1.0

1.0.17

1.0.16

1.0.15

  • [patch]6d08da6, (opens new window):
    • Update css styles to display: flex for Actions and replace the content by a mid-dot without escape characters

1.0.14

  • Updated dependencies 58b84fa, (opens new window):
    • @atlaskit/button@10.1.1
    • @atlaskit/field-range@5.0.12
    • @atlaskit/icon@15.0.2
    • @atlaskit/theme@7.0.1
    • @atlaskit/docs@6.0.0

1.0.13

  • Updated dependencies d13242d, (opens new window):
    • @atlaskit/docs@5.2.3
    • @atlaskit/button@10.0.4
    • @atlaskit/field-range@5.0.11
    • @atlaskit/icon@15.0.1
    • @atlaskit/theme@7.0.0

1.0.12

1.0.11

  • Updated dependencies 6998f11, (opens new window):
    • @atlaskit/docs@5.2.1
    • @atlaskit/icon@14.6.1
    • @atlaskit/theme@6.2.1
    • @atlaskit/field-range@5.0.9
    • @atlaskit/button@10.0.0

1.0.10

1.0.9

1.0.8

1.0.7

1.0.5

  • [patch] Updated dependencies df22ad8, (opens new window)
    • @atlaskit/theme@6.0.0
    • @atlaskit/icon@13.2.5
    • @atlaskit/field-range@5.0.4
    • @atlaskit/button@9.0.6
    • @atlaskit/docs@5.0.6

1.0.4

1.0.3

  • [patch] Updated dependencies acd86a1, (opens new window)
    • @atlaskit/icon@13.2.2
    • @atlaskit/button@9.0.4
    • @atlaskit/theme@5.1.2
    • @atlaskit/field-range@5.0.2
    • @atlaskit/docs@5.0.2

1.0.2

1.0.1

1.0.0

0.1.0

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