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
13fcd5b800ea9, (opens new window) - Cleaned up new shape theme styles, making new border and radius values the default.
10.2.1
Patch Changes
261fd53b131ba, (opens new window) - Cleaned up new shape theme styles, making new border and radius values the default.
10.2.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
10.1.1
Patch Changes
38c7085c92a3a, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
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.jsonexportssubpaths so that consumers can import directly from the leaf module (e.g.@atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.
Patch Changes
- Updated dependencies
10.0.0
Major Changes
-
48e7d03469b80, (opens new window) - Apply Volt entry-point and barrel-removal standards across these design-system packages. Publicexportsnow 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/*, orjest.mock()'d a specific subpath may need updates.@atlaskit/image's root export now points at./src/ui/image/index.tsx.@atlaskit/checkbox/checkboxnow exports a namedCheckboxfrom 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-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.
Patch Changes
- Updated dependencies
9.1.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
9.1.0
Minor Changes
e2597c94593a1, (opens new window) - Add ref forwarding to section message actions.
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
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
8.13.0
Minor Changes
36317b7bc1752, (opens new window) - AddheadingLevelprop to customize heading element and ensure makers can use proper and accessible heading structures.
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
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
8.12.11
Patch Changes
- Updated dependencies
8.12.10
Patch Changes
08170da1fbf62, (opens new window) - Migrate spacing prop usages on icons to Flex wrapper- Updated dependencies
8.12.9
Patch Changes
7aef1e49e90ea, (opens new window) - Removes redundant fallback color values via @atlaskit/theme- Updated dependencies
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
629119f34f212, (opens new window) - Updated border radius behind a feature gate.- Updated dependencies
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
87b12e64ff750, (opens new window) - Removed usages of LEGACY icon props
8.11.3
Patch Changes
036c3ee917e3c, (opens new window) - Icon migration entry point update- Updated dependencies
8.11.2
Patch Changes
- Updated dependencies
8.11.1
Patch Changes
d14ea5f60b689, (opens new window) - chore: migrate platform UI & component libraries icon imports from migration paths to core- Updated dependencies
8.11.0
Minor Changes
762b79e21f96a, (opens new window) - Migrated and cleaned up legacy iconography usage.
Patch Changes
- Updated dependencies
8.10.0
Minor Changes
b867e641d818d, (opens new window) - Updated border radius values behind a feature gateplatform-dst-shape-theme-default.
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
linkComponentcomponent overrides will no longer utilize the legacyButtoncomponent, and now utilize either thePressableprimitive orLinkcomponent depending on whetheronClickorhrefprops are set. ThelinkComponentprop otherwise behaves as it did before, but remains deprecated and scheduled to be removed in a later version. - Plain-text actions with a
onClickorhrefnow have body font styles applied by default.
- Actions that do not have
8.8.1
Patch Changes
221b64f10f5eb, (opens new window) - ts-ignore added as a workaround for help-center local consumption typecheck
8.8.0
Minor Changes
9da67d455336d, (opens new window) - [ux] Updated default icons for discovery appearance from the 'question mark circle' icon to the 'discovery' icon.
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
39e543109ec09, (opens new window) - add type info to forwardRef components- Updated dependencies
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
255837cfba315, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
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
98ff1fe25f14a, (opens new window) - Introduces theonDismisscallback function for usage with theisDismissibleprop.
8.5.2
Patch Changes
- Updated dependencies
8.5.1
Patch Changes
- Updated dependencies
8.5.0
Minor Changes
- #191290, (opens new window)
65bf86ed3a096, (opens new window) - Adds new propisDismissiblethat allows messages to be dismissed and removed from the page.
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 supporttargetattributes. If this fix is successful it will be available in a later release.
8.3.0
Minor Changes
- #189208, (opens new window)
b8cad439e7f12, (opens new window) - [ux] We are testing a change behind a feature flag. Discovery appearance section messages will be updated from the 'question mark circle' icon to the 'discovery' icon. If this fix is successful it will be available in a later release.
Patch Changes
- Updated dependencies
8.2.10
Patch Changes
- #188952, (opens new window)
1a88e6e2601ae, (opens new window) - Migrated usage of renamed/deprecated icons - Updated dependencies
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
- #138039, (opens new window)
3e513ed430ccc, (opens new window) - Fix accessibility issue where list was inappropriately used for actions when single action was passed.
8.2.2
Patch Changes
- Updated dependencies
8.2.1
Patch Changes
- Updated dependencies
8.2.0
Minor Changes
- #128669, (opens new window)
81a9df729e371, (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 behind the feature flagplatform_ads_explicit_font_styles.
8.1.1
Patch Changes
- Updated dependencies
8.1.0
Minor Changes
- #122958, (opens new window)
e46a10ea5b483, (opens new window) - Updated to use new icons. This change is behind a feature flag and will be available in a later release.
8.0.2
Patch Changes
- Updated dependencies
8.0.1
Patch Changes
- #120710, (opens new window)
f463409dcaaf5, (opens new window) - Remove old codemod and update dependencies.
8.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
7.0.0
Major Changes
-
#116552, (opens new window)
e002c7033f5f3, (opens new window) - Migrated from@emotion/reactto@compiled/reactin 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.cssimports correctly.Most bundlers come with built-in support for
.cssimports, 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.cssimports. 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
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
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
- #170738, (opens new window)
ee3ce64bb7f38, (opens new window) - We are testing changes behind a feature gate. Section message actions have been updated to use automatic router link configuration (from App provider), as well as default link underlines. If this change is successful it will be available in a later release.
6.7.0
Minor Changes
- #165245, (opens new window)
6935d35339437, (opens new window) - Updates internal behaviour to support new icon components
6.6.9
Patch Changes
- #165531, (opens new window)
57f451bda8919, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
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
- #137586, (opens new window)
7ef921d67c033, (opens new window) - Accessibility changes. Add roles to improve semantics. - Updated dependencies
6.6.3
Patch Changes
- #128532, (opens new window)
4d5c91fed0306, (opens new window) - Change element wrapping children fromspantodivto improve HTML specification compliance.
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 ofreactandreact-dompeer dependencies from^16.8.0 || ^17.0.0 || ~18.2.0to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).This change has been done to enable usage of
react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platformpackages.
Patch Changes
- Updated dependencies
6.5.11
Patch Changes
- Updated dependencies
6.5.10
Patch Changes
- #123461, (opens new window)
4b9d857fa00b4, (opens new window) - Internal change to use new Heading component. Very minor letter spacing changes. - Updated dependencies
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
- #104908, (opens new window)
43c9d214d373, (opens new window) - [ux] Adds text alternatives for icons in the section-message component
6.5.1
Patch Changes
- Updated dependencies
6.5.0
Minor Changes
- #94378, (opens new window)
1a8f0d378a8e, (opens new window) - Add support for React 18 in non-strict mode.
6.4.26
Patch Changes
- #92007, (opens new window)
85525725cb0d, (opens new window) - Migrated to the new button component - Updated dependencies
6.4.25
Patch Changes
- #88354, (opens new window)
4c87d9b4f0c2, (opens new window) - The internal composition of this component has changed. There is no expected change in behavior. - Updated dependencies
6.4.24
Patch Changes
- #84293, (opens new window)
1ba0536bcaf9, (opens new window) - Internal changes to typography. No expected visual or behavioral change.
6.4.23
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
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
- #63677, (opens new window)
f320c8ce5039, (opens new window) - This package has been added to the Jira push model.
6.4.17
Patch Changes
- Updated dependencies
6.4.16
Patch Changes
- Updated dependencies
6.4.15
Patch Changes
- #41725, (opens new window)
8d838ab41ed, (opens new window) - Removed all remaining legacy theming logic from Badge, IconObject, Lozenge and SectionMessage. This only affects the examples and some tests in each component. No internal component logic contained legacy theming.
6.4.14
Patch Changes
- Updated dependencies
6.4.13
Patch Changes
- #39749, (opens new window)
e6b69f455c3, (opens new window) - Connect yarn changeset to packages, upgrade adf-schema
6.4.12
Patch Changes
- #39787, (opens new window)
6900f89eb0e, (opens new window) - Internal changes to use space tokens. There is no expected visual or behaviour change.
6.4.11
Patch Changes
- #37533, (opens new window)
1ed303de3e8, (opens new window) - Updated dependencies - #37419, (opens new window)
95401cac781, (opens new window) - Internal change to component composition. There is no expected change.
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
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
6.4.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
6.4.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
6.3.17
Patch Changes
- #32424, (opens new window)
2e01c9c74b5, (opens new window) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
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
- #31242, (opens new window)
cfe48bb7ece, (opens new window) - Internal change only. Replace usages of Inline/Stack with stable version from@atlaskit/primitives.
6.3.10
Patch Changes
- Updated dependencies
6.3.9
Patch Changes
- #27891, (opens new window)
eadbf13d8c0, (opens new window) - Updated usages ofText,Box,Stack, andInlineprimitives to reflect their updated APIs. There are no visual or behaviour changes. - Updated dependencies
6.3.8
Patch Changes
- #28159, (opens new window)
716af1d3387, (opens new window) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
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
- #26801, (opens new window)
fad3820e125, (opens new window) - Internal adjustment to the way actions are laid out. No visual or API change. - Updated dependencies
6.3.2
Patch Changes
- #25860, (opens new window)
7c6009de2f1, (opens new window) - [ux] Updates the visual appearance to match the legacy light mode palette. e35fc41dc33, (opens new window) - Internal change to use updated primtive spacing prop values. No expected behaviour change.- Updated dependencies
6.3.1
Patch Changes
- #26303, (opens new window)
9827dcb82b8, (opens new window) - No-op change to introduce spacing tokens to design system components.
6.3.0
Minor Changes
- #24710, (opens new window)
7a9e73ec430, (opens new window) - [ux] Internal changes to how styles are represented in SectionMessage. Some minor visual changes to the color and spacing of SectionMessage. No changes to the SectionMessage API.
Patch Changes
5f07e7b56a2, (opens new window) - Updates to the public types to better reflect the actual API.- Updated dependencies
6.2.1
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
6.2.0
Minor Changes
- #24004, (opens new window)
24ff3516c8d, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
Patch Changes
- Updated dependencies
6.1.15
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
6.1.14
Patch Changes
- #23381, (opens new window)
8202e37941b, (opens new window) - Internal code change turning on new linting rules.
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
testIdprop.
- Added test ID data attribute to actions list for testing purposes, using the existing
-
edafa2f6366, (opens new window) - [ux]- Prevent long text overflowing the Section Message content box by utilising CSS property
word-break: break-wordto add line breaks. This applies to both thetitleandchildrenprops. - Allow text truncation to work inside Section Message content area by adding
overflow: hiddento 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
testIdprop.
- Prevent long text overflowing the Section Message content box by utilising CSS property
-
Updated dependencies
6.1.12
Patch Changes
- Updated dependencies
6.1.11
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4 - Updated dependencies
6.1.10
Patch Changes
- Updated dependencies
6.1.9
Patch Changes
- #19618, (opens new window)
62edf20ab1e, (opens new window) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes. - Updated dependencies
6.1.8
Patch Changes
- Updated dependencies
6.1.7
Patch Changes
- #16752, (opens new window)
19d72473dfb, (opens new window) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. 19d72473dfb, (opens new window) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.- Updated dependencies
6.1.6
Patch Changes
- Updated dependencies
6.1.5
Patch Changes
- #15998, (opens new window)
f460cc7c411, (opens new window) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size. - Updated dependencies
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
- #13864, (opens new window)
3f6e98f8d0d, (opens new window) - Removes styled-components as a dev-dep - Updated dependencies
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
af4bca32ad4, (opens new window) - Internal changes to supress eslint rules.- Updated dependencies
6.0.3
Patch Changes
- Updated dependencies
6.0.2
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
6.0.1
Patch Changes
- #12167, (opens new window)
d6f7ff383cf, (opens new window) - Updates to development dependencystorybook-addon-performance
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 theactionsprops. New types areSectionMessagePropsandSectionMessageActionProps. -
BREAKING The
actionsprop now accepts either a single JSX element, or an array with JSX elements. -
BREAKING
linkComponentprop is now moved toSectionMessageAction. -
BREAKING The values for the
appearanceprop have changed:infois nowinformationconfirmationis nowsuccesschangeis nowdiscovery
Running the codemod cli
To run the codemod: You first need to have the latest version installed
yarn upgrade @atlaskit/section-message@^6.0.0Once upgraded, use
@atlaskit/codemod-clivianpx:npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]The CLI will show a list of components and versions so select
@atlaskit/section-message@^6.0.0and you will automatically be upgraded.What will be changed:
- It will convert the
actionsprop from an array of objects to an array ofSectionMessageAction. - It will move
linkComponentprop fromSectionMessagetoSectionMessageAction. - It will update the
appearanceprop 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 -hfor 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
themevariable. - Added
refsupport which points to the top level element. Earlier it was not officially supported. - Dev changes includes: folder restructuring and cleanup, memoizing components, adding
techstackinpackage.json, moving to declarative entry points, removing deprecatedversion.jsonetc.
Patch Changes
f10bc0d79f1, (opens new window) - Migrated from styled components to emotion- Updated dependencies
5.1.0
Minor Changes
- #8178, (opens new window)
ecced7fd8e2, (opens new window) - [ux] The linkComponent prop has been fixed to only apply to Actions with an href to align with docs. Previously it would apply to Actions with href or onClick.
Patch Changes
- Updated dependencies
5.0.9
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
5.0.8
Patch Changes
- #5497, (opens new window)
5f58283e1f, (opens new window) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started, (opens new window) Also addtypescripttodevDependenciesto denote version that the package was built with.
5.0.7
Patch Changes
- Updated dependencies
5.0.6
Patch Changes
- Updated dependencies
5.0.5
Patch Changes
- #4707, (opens new window)
6360c46009, (opens new window) - Reenable integration tests for Edge browser
5.0.4
Patch Changes
- #4424, (opens new window)
7315203b80, (opens new window) - RenameAkCodeandAkCodeBlockexports toCodeandCodeBlockfor@atlaskit/code. - Updated dependencies
5.0.3
Patch Changes
-
#3885, (opens new window)
6c525a8229, (opens new window) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.
5.0.2
Patch Changes
- #3293, (opens new window)
954cc87b62, (opens new window) - The readme and package information has been updated to point to the new design system website.
5.0.1
Patch Changes
- #3428, (opens new window)
db053b24d8, (opens new window) - Update all the theme imports to be tree-shakable
5.0.0
Major Changes
- #3335, (opens new window)
87f4720f27, (opens new window) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11. For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534, (opens new window)
Patch Changes
- Updated dependencies
4.1.10
Patch Changes
- #2866, (opens new window)
54a9514fcf, (opens new window) - Build and supporting files will no longer be published to npm
4.1.9
Patch Changes
- Updated dependencies
4.1.8
Patch Changes
- #1868, (opens new window)
229d05754b, (opens new window) - Change imports to comply with Atlassian conventions- Updated dependencies
4.1.7
Patch Changes
- Updated dependencies 66dcced7a0, (opens new window):
- Updated dependencies fd5292fd5a, (opens new window):
- Updated dependencies 64fb94fb1e, (opens new window):
- Updated dependencies fd5292fd5a, (opens new window):
- Updated dependencies eea5e9bd8c, (opens new window):
- Updated dependencies fd5292fd5a, (opens new window):
- Updated dependencies 109c1a2c0a, (opens new window):
- Updated dependencies
c57bb32f6d, (opens new window):
- @atlaskit/docs@8.4.0
- @atlaskit/icon@20.1.0
- @atlaskit/webdriver-runner@0.3.0
- @atlaskit/field-range@8.0.2
- @atlaskit/button@13.3.9
4.1.6
Patch Changes
- Updated dependencies
e3f01787dd, (opens new window):
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/button@13.3.8
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
- Updated dependencies
c0102a3ea2, (opens new window):
- @atlaskit/field-range@8.0.0
- @atlaskit/icon@20.0.0
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
4.1.3
Patch Changes
-
[patch]4a223473c5, (opens new window):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies 28f8f0e089, (opens new window):
-
Updated dependencies 82747f2922, (opens new window):
-
Updated dependencies 4a223473c5, (opens new window):
- @atlaskit/icon@19.1.0
- @atlaskit/theme@9.5.0
- @atlaskit/button@13.3.5
- @atlaskit/code@11.1.1
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
-
[patch]35d2229b2a, (opens new window):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
4.1.0
Minor Changes
-
[minor]e6439fa292, (opens new window):
Adding an optional prop
testIdthat will set the attribute valuedata-testid. It will help products to write better integration and end to end tests.
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
-
[patch]ecca4d1dbb, (opens new window):
Upgraded Typescript to 3.3.x
4.0.10
Patch Changes
-
[patch]708028db86, (opens new window):
Change all the imports to theme in Core to use multi entry points
4.0.9
Patch Changes
-
[patch]de35ce8c67, (opens new window):
Updates component maintainers
4.0.8
Patch Changes
-
[patch]bbff8a7d87, (opens new window):
Fixes bug, missing version.json file
4.0.7
Patch Changes
-
[patch]18dfac7332, (opens new window):
In this PR, we are:
- Re-introducing dist build folders
- Adding back cjs
- Replacing es5 by cjs and es2015 by esm
- Creating folders at the root for entry-points
- Removing the generation of the entry-points at the root Please see this ticket, (opens new window) or this page, (opens new window) for further details
4.0.6
Patch Changes
-
[patch]29a1f158c1, (opens new window):
Use default react import in typescript files.
4.0.5
- Updated dependencies
06326ef3f7, (opens new window):
- @atlaskit/docs@8.1.3
- @atlaskit/button@13.0.9
- @atlaskit/icon@19.0.0
4.0.4
Patch Changes
-
[patch]4615439434, (opens new window):
index.ts will now be ignored when publishing to npm
4.0.3
Patch Changes
-
[patch]93bcf314c6, (opens new window):
Added missing tslib dep
4.0.2
- Updated dependencies
cfc3c8adb3, (opens new window):
- @atlaskit/docs@8.1.2
- @atlaskit/button@13.0.8
- @atlaskit/field-range@7.0.4
- @atlaskit/icon@18.0.0
4.0.1
- Updated dependencies
97bfe81ec8, (opens new window):
- @atlaskit/docs@8.1.0
- @atlaskit/field-range@7.0.2
- @atlaskit/code@11.0.0
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
- [patch]2020ab9db1, (opens new window):
- Section message content area now takes 100% of its parent width
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
importandexportdeclarations.The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
import colors from `@atlaskit/theme/colors`;Previously this was sort of possible for consumers by doing something like:
import colors from `@atlaskit/theme/dist/esm/colors`;This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support, (opens new window) (for external) if you have any questions or queries about this.
1.2.0
- [minor]3a7e838663, (opens new window):
- Actions now require a key prop and action text now accepts React Nodes
1.1.0
- [minor]dfd4cbc475, (opens new window):
- Actions will now accept a key prop
1.0.17
- [patch]b8091afbdd, (opens new window):
- Fixed alignment of the separator dots
1.0.16
- Updated dependencies
d7ef59d432, (opens new window):
- @atlaskit/docs@6.0.1
- @atlaskit/button@10.1.2
- @atlaskit/field-range@5.0.14
- @atlaskit/icon@16.0.0
1.0.15
- [patch]6d08da6, (opens new window):
- Update css styles to
display: flexfor Actions and replace the content by a mid-dot without escape characters
- Update css styles to
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
- Updated dependencies ab9b69c, (opens new window):
- @atlaskit/docs@5.2.2
- @atlaskit/button@10.0.1
- @atlaskit/icon@15.0.0
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
- [patch] Adds missing implicit @babel/runtime dependency b71751b, (opens new window)
1.0.9
- [patch] Update how actions wrap 5a791f2, (opens new window)
1.0.8
- [patch] Updated dependencies
65c6514, (opens new window)
- @atlaskit/docs@5.0.8
- @atlaskit/button@9.0.13
- @atlaskit/icon@14.0.0
1.0.7
- [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04, (opens new window)
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
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html, (opens new window) for details a4bd557, (opens new window)
- [none] Updated dependencies
a4bd557, (opens new window)
- @atlaskit/button@9.0.5
- @atlaskit/theme@5.1.3
- @atlaskit/field-range@5.0.3
- @atlaskit/icon@13.2.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
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies 7e331b5, (opens new window)
- [none] Updated dependencies
7e331b5, (opens new window)
- @atlaskit/button@9.0.3
- @atlaskit/theme@5.1.1
- @atlaskit/field-range@5.0.1
- @atlaskit/icon@13.2.1
1.0.1
- [patch] Change icon used by 'change' section-message 06ac04c, (opens new window)
1.0.0
- [major] Updates to React ^16.4.0 7edb866, (opens new window)
- [major] Updated dependencies
563a7eb, (opens new window)
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/field-range@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
- [major] Updated dependencies
7edb866, (opens new window)
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/field-range@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
0.1.0
- [minor] Preview release of section-message 7bb9a8e, (opens new window)