Modal dialog
A modal dialog displays content that requires user interaction, in a layer above the page.17.0.1
Patch Changes
9fce890f9df21, (opens new window) - Keep modal context stable when its close callback changes.- Updated dependencies
17.0.0
Major Changes
0c7c7be927bde, (opens new window) - Remove deprecated Volt re-export shims from public package entry points. Consumers should import from the replacement subpaths or implementation entry points instead.
Patch Changes
- Updated dependencies
16.6.7
Patch Changes
- Updated dependencies
16.6.6
Patch Changes
- Updated dependencies
16.6.5
Patch Changes
- Updated dependencies
16.6.4
Patch Changes
- Updated dependencies
16.6.3
Patch Changes
- Updated dependencies
16.6.2
Patch Changes
610d564dbc5dd, (opens new window) - Behindplatform-dst-top-layer, harden the Popover and Dialog animation lifecycle state machine and completion callbacks, restore focus before controlled Popover closure removes native listeners, and preserve Modal Dialog open-complete callbacks across reopen cycles.- Updated dependencies
16.6.1
Patch Changes
d20edab2fda3a, (opens new window) - Cleaned up new shape theme styles, making new border and radius values the default.
16.6.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
16.5.4
Patch Changes
4406362492342, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- Updated dependencies
16.5.3
Patch Changes
75e41b355abb1, (opens new window) - ChangeuseExitingPersistenceimport to newly created named export- Updated dependencies
16.5.2
Patch Changes
- Use
@atlassian/testing-libraryexclusively in unit tests. - Updated dependencies
16.5.1
Patch Changes
73079cc6f11c2, (opens new window) - ChangeuseExitingPersistenceimport to newly created named export- Updated dependencies
16.5.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
16.4.0
Minor Changes
0075efb228821, (opens new window) - Autofix: barrel removal (imports + exports)
Patch Changes
- Updated dependencies
16.3.4
Patch Changes
- Updated dependencies
16.3.3
Patch Changes
ccb9237bc10d9, (opens new window) - Add thedismissedByAPI to control Dialog dismissal consistently across browsers. Align Dialog with Popover by notifyingonCloseafter native dismissal, ensure both primitives unmount after native dismissal, and simplify Modal close handling behindplatform-dst-top-layer.- Updated dependencies
16.3.2
Patch Changes
- Updated dependencies
16.3.1
Patch Changes
- Updated dependencies
16.3.0
Minor Changes
a50c282feb7d3, (opens new window) - Fixes various layout issues in the top layer modal variant.
Patch Changes
- Updated dependencies
16.2.5
Patch Changes
- Updated dependencies
16.2.4
Patch Changes
- Updated dependencies
16.2.3
Patch Changes
3da013cc133e5, (opens new window) - Internal refactor for safer feature flag usage.- Updated dependencies
16.2.2
Patch Changes
- Updated dependencies
16.2.1
Patch Changes
25392f10c50ee, (opens new window) - DeprecateshouldCloseOnEscapePressprop. Closing on escape is standard accessible modal behaviour and should not be disabled. Handle theonClosecallback conditionally instead.
16.2.0
Minor Changes
3f6f3bd7da074, (opens new window) - Updates usage of the Top Layer primitives to consume changes to animation API.
Patch Changes
- Updated dependencies
16.1.8
Patch Changes
- Updated dependencies
16.1.7
Patch Changes
- Updated dependencies
16.1.6
Patch Changes
- Updated dependencies
16.1.5
Patch Changes
- Updated dependencies
16.1.4
Patch Changes
7793dc62dd564, (opens new window) - Internal refactor of upcoming top-layer usage- Updated dependencies
16.1.3
Patch Changes
f2ec2ee8b495e, (opens new window) - Update@atlaskit/spotlightimports to use de-barrelled entry-points.- Updated dependencies
16.1.2
Patch Changes
- Updated dependencies
16.1.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.
16.1.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
16.0.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
16.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
15.3.1
Patch Changes
- Updated dependencies
15.3.0
Minor Changes
2fd74328732bf, (opens new window) - Updated to use new motion in top layer dialog
Patch Changes
- Updated dependencies
15.2.8
Patch Changes
6d0485dce81c4, (opens new window) - Internal: updated to the new@atlaskit/top-layerPopover/Dialogbehaviour where the host element unmounts after the exit animation completes. No consumer action required.- Updated dependencies
15.2.7
Patch Changes
e5b4070f51a93, (opens new window) - Remove Top Layer compatibility aliases and expose close-event helpers from thedialogandpopoverentry points.- Updated dependencies
15.2.6
Patch Changes
- Updated dependencies
15.2.5
Patch Changes
- Updated dependencies
15.2.4
Patch Changes
- Updated dependencies
15.2.3
Patch Changes
- Updated dependencies
15.2.2
Patch Changes
-
dec4f3444bce8, (opens new window) - Hardens Popup, Popover, and Dialog through stricter typed contracts, focus-management fixes, and clearer entry points.- Stricter API contracts. Popup, Popover, and Dialog props are now discriminated unions, so
misuse (manual mode with
onClose, dialogs without a label, popovers without an accessible name for their role) fails at compile time. - Better defaults.
Popup'splacementprop now defaults to "below trigger, centered, withspace.100gap", removing the awkwardplacement={{}}boilerplate. - Focus-management fixes. Empty/loading dialogs no longer trap Tab on
<body>; rapid open/close/open sequences no longer focus a torn-down popover; nested top-layer popovers stay in their own focus scope. - Cleaner entry points.
createCloseEventis now available as per-primitive subpaths (@atlaskit/top-layer/dialog/create-close-eventand@atlaskit/top-layer/popover/create-close-event); the combined entry point is deprecated. The placement-map entry point now exposes a publicLEGACY_PLACEMENTSconst for migration consumers. - Per-primitive data attributes. Animation hooks now emit
data-ds-popover-*for Popover anddata-ds-dialog-*for Dialog, preventing cross-primitive selector collisions. - Performance and internal correctness.
setStylesnapshots and restores prior inline values; CSS-length resolution is memoised and probes inside the popover for correct token scope; placement resolution is stable across renders.
- Stricter API contracts. Popup, Popover, and Dialog props are now discriminated unions, so
misuse (manual mode with
-
Updated dependencies
15.2.1
Patch Changes
- Updated dependencies
15.2.0
Minor Changes
8e9ab10567283, (opens new window) - Whenplatform-dst-top-layeris enabled, the open layer observer registration now happens inside theDialogandPopoverprimitives directly, sopopup,modal-dialog, andtooltipno longer register with the open layer observer separately (avoiding double-counting).Dialogregisters astype: 'modal', with a no-oponClose, as there is no current use case for programmatic close of modals via the open layer observer.Popoverregisters astype: 'popup'for interactive overlay roles (dialog,alertdialog,menu,listbox,tree,grid) and omitstypefor other roles (e.g.tooltip).- A new
programmaticvalue has been added toTPopoverCloseReasonto distinguish programmatic closes, such as those from the open layer observer'scloseLayers()calls.
Patch Changes
- Updated dependencies
15.1.3
Patch Changes
- Updated dependencies
15.1.2
Patch Changes
- Updated dependencies
15.1.1
Patch Changes
68077cab1f95d, (opens new window) - Fixed styling related issues behind the new motion uplift- Updated dependencies
15.1.0
Minor Changes
cfeab708c0a5d, (opens new window) - Add ref forwarding to the modal dialog. The ref will be placed on the outer container of the modal dialog.
Patch Changes
- Updated dependencies
15.0.4
Patch Changes
- Updated dependencies
15.0.3
Patch Changes
fd5faf5d7fc8e, (opens new window) - Updated scroll indicator width to use the correct token.
15.0.2
Patch Changes
-
7250582895c0b, (opens new window) - Top-layer adoption work behind theplatform-dst-top-layerfeature flag. Public adopter APIs are intentionally kept narrow while the top-layer API surface settles, with one exception called out below.Highlights:
- Pass the full
[along, away]legacy popper offset through to the new top-layerplacement.offsetAPI (viafromLegacyPlacement). Previously only theawayaxis was forwarded, which dropped thealongoffset for consumers ofPopup,PopupSelect,Spotlight, andTooltipwhenplatform-dst-top-layeris enabled. - Fix broken import of
dialogHeightanddialogWidthfrom the removed utils module in@atlaskit/modal-dialog.
Public API:
@atlaskit/tooltip(minor): add an optionaltestId?: stringfield toTriggerProps. This is additive (no existing prop changes shape). Required because@atlaskit/button/new(and otherPressable-backed primitives) overwritedata-testidfrom spread, so the legacy(triggerProps as any)['data-testid']workaround is silently absorbed by those consumers. A typedtestIdfield flows through their owntestIddestructure instead, restoringdata-testidpropagation onto the rendered trigger element.@atlaskit/popup,@atlaskit/dropdown-menu(patch): no public type changes. Wideraria-haspopupunions that the FF-on path produces are bridged at the package boundary into@atlaskit/top-layerwith localisedFUDGE(top-layer-api)casts, documented inpackages/design-system/top-layer/notes/decisions/migration-roadmap.md("Open API decisions deferred to a follow-up PR"). They will be widened in a follow-upminorPR once the top-layer API is committed.@atlaskit/modal-dialog,@atlaskit/select,@atlaskit/spotlight(patch/minor): no public type changes; bug fixes only.
Merge-readiness fixes (FF-on test wiring + adopter behavior):
@atlaskit/popup(minor): wire the compositionalPopupContentto delegate toPopupContentTopLayerwhenplatform-dst-top-layeris enabled. Previously only the legacyPopupcomponent had the FF branch, leaving consumers of the compositional API on the legacy popper path.@atlaskit/select(minor): add anonClickhandler to thePopupSelecttop-layer trigger so clicks open/close the menu (mirrors the legacy global click handler inpopup-select.tsx). Add explicit Escape handling on the menu'sonKeyDownso the menu closes and focus returns to the trigger.@atlaskit/top-layer(patch): the<dialog>rendered by the Dialog primitive now setsaria-modal="true"explicitly. Modern browsers infer modal semantics from.showModal()but some assistive tech still keys off the explicit attribute.@atlaskit/top-layer(patch): guarduse-anchor-positioningagainst environments whereResizeObserveris not defined (e.g. jest'snodeenvironment, used by the post-office test suite). The observer is used to wait for the popover's first valid layout before measuring; consumers in non-DOM jest environments now get a no-op observer and the scroll/resize listeners still apply if the host environment polyfillsshowPopover. Real browsers always haveResizeObserver.@atlaskit/modal-dialog(patch): on the FF-on path, drop thetabIndex={-1}(and unused:focus-visibleoutline) from the modal content wrapper. The native<dialog>.showModal()focus-delegate algorithm picks the first focusable descendant (includingtabindex=-1), and the wrapper was hijacking initial focus from the close button. Also honorshouldReturnFocus={ref}on the FF-on path (an unmount-cleanup focuses the ref afterdialog.close()so it overrides the browser's automatic return-to-trigger). BooleanshouldReturnFocus={false}is not yet honored on the FF-on path — seetop-layer/notes/merge-blockers.md.@atlaskit/datetime-picker(patch): on the FF-on path, setmode="manual"on thePopup.Contentrendered by bothinternal/menu-top-layer.tsx(date-picker calendar) andinternal/fixed-layer-menu-top-layer.tsx(time-picker menu). With the defaultmode="auto", the same click event that opens the menu (which targets the react-select combobox input — outside the popover element) bubbles to the browser's native popover light-dismiss handler and immediately closes the menu. react-select / DateTimePicker already own outside-click and Esc dismissal via their own state, so opting out of the native auto-dismiss is the correct integration. Also extend the existing Esc → trigger-focus restoration incomponents/date-picker.tsxto the FF-on path (manual mode disables the browser's built-in focus return, and the legacy code path was already handling this for itself behind an FF negation).@atlaskit/popup(no public API change): no source changes — only FF-on Playwright spec/example fixes drove the suite from 21/3/2 to 27/0/0. Notable: the twotest.fixme'd nested-popover cases were not browser limitations;popover="auto"chains correctly via DOM ancestry (the original fixmes had the wrong testId selector). AddedtestIdprops to two examples (16-popup-with-a11y-props,18-should-fit-container) so default-shape tests can reach the trigger.- Test alignment for FF-on Playwright suites across
popup,select,datetime-picker,inline-dialog,inline-message, andmodal-dialog: selector updates to match the new top-layer testId convention (${testId}--content,[role="dialog"][aria-label="calendar"]), per-specskipAxeCheck()for example-level color-contrast violations unrelated to the migration, and focus assertions adjusted to match native<dialog>/Popup.Contentauto-focus semantics (focus lands on the first focusable child, not the dialog container itself). @atlassian/capacity-planning-capacity-graph,@atlaskit/color-picker,@atlassian/timeline-table,@atlassian/global-side-navigation(patch): scopefgmocks in unit tests soplatform-dst-top-layerreturnsfalse. JSDOM does not implement the native Popover API (showPopover/hidePopover/toggleevents), so leaving the gate ON in unit tests caused popover content to remain in the DOM after close and broke close-behaviour assertions. Browser coverage for the FF-on path is provided by the Playwright suites listed above.@atlaskit/dropdown-menu(no public API change): test/example-only fixes for the FF-on Playwright suite. Addedrole="menuitem"to the nested-triggerButtonIteminexamples/93-testing-nested-keyboard-navigation-top-layer.tsxto satisfy axe'saria-required-childrenrule on the parent menu. Added atest.beforeEach(skipAxeCheck)todropdown-menu.spec.tsx(FF-on suite) for example-levelcolor-contrastviolations on the pre-existingcolor.text.selected/color.background.selectedtoken pair (3.91:1). Replaced a deadlockingawait expect(moveItem).not.toBeFocused()pre-open assertion (Playwright's auto-wait blocks 5s on the absent element) withawait expect(moveItem).not.toBeVisible(). Suite result: 22/22 passing.
- Pass the full
-
Updated dependencies
15.0.1
Patch Changes
-
2bed6255731de, (opens new window) - Top-layer adoption work behind theplatform-dst-top-layerfeature flag. Public adopter APIs are intentionally kept narrow while the top-layer API surface settles, with one exception called out below.Highlights:
- Pass the full
[along, away]legacy popper offset through to the new top-layerplacement.offsetAPI (viafromLegacyPlacement). Previously only theawayaxis was forwarded, which dropped thealongoffset for consumers ofPopup,PopupSelect,Spotlight, andTooltipwhenplatform-dst-top-layeris enabled. - Fix broken import of
dialogHeightanddialogWidthfrom the removed utils module in@atlaskit/modal-dialog.
Public API:
@atlaskit/tooltip(minor): add an optionaltestId?: stringfield toTriggerProps. This is additive (no existing prop changes shape). Required because@atlaskit/button/new(and otherPressable-backed primitives) overwritedata-testidfrom spread, so the legacy(triggerProps as any)['data-testid']workaround is silently absorbed by those consumers. A typedtestIdfield flows through their owntestIddestructure instead, restoringdata-testidpropagation onto the rendered trigger element.@atlaskit/popup,@atlaskit/dropdown-menu(patch): no public type changes. Wideraria-haspopupunions that the FF-on path produces are bridged at the package boundary into@atlaskit/top-layerwith localisedFUDGE(top-layer-api)casts, documented inpackages/design-system/top-layer/notes/decisions/migration-roadmap.md("Open API decisions deferred to a follow-up PR"). They will be widened in a follow-upminorPR once the top-layer API is committed.@atlaskit/modal-dialog,@atlaskit/select,@atlaskit/spotlight(patch/minor): no public type changes; bug fixes only.
Merge-readiness fixes (FF-on test wiring + adopter behavior):
@atlaskit/popup(minor): wire the compositionalPopupContentto delegate toPopupContentTopLayerwhenplatform-dst-top-layeris enabled. Previously only the legacyPopupcomponent had the FF branch, leaving consumers of the compositional API on the legacy popper path.@atlaskit/select(minor): add anonClickhandler to thePopupSelecttop-layer trigger so clicks open/close the menu (mirrors the legacy global click handler inpopup-select.tsx). Add explicit Escape handling on the menu'sonKeyDownso the menu closes and focus returns to the trigger.@atlaskit/top-layer(patch): the<dialog>rendered by the Dialog primitive now setsaria-modal="true"explicitly. Modern browsers infer modal semantics from.showModal()but some assistive tech still keys off the explicit attribute.@atlaskit/top-layer(patch): guarduse-anchor-positioningagainst environments whereResizeObserveris not defined (e.g. jest'snodeenvironment, used by the post-office test suite). The observer is used to wait for the popover's first valid layout before measuring; consumers in non-DOM jest environments now get a no-op observer and the scroll/resize listeners still apply if the host environment polyfillsshowPopover. Real browsers always haveResizeObserver.@atlaskit/modal-dialog(patch): on the FF-on path, drop thetabIndex={-1}(and unused:focus-visibleoutline) from the modal content wrapper. The native<dialog>.showModal()focus-delegate algorithm picks the first focusable descendant (includingtabindex=-1), and the wrapper was hijacking initial focus from the close button. Also honorshouldReturnFocus={ref}on the FF-on path (an unmount-cleanup focuses the ref afterdialog.close()so it overrides the browser's automatic return-to-trigger). BooleanshouldReturnFocus={false}is not yet honored on the FF-on path — seetop-layer/notes/merge-blockers.md.@atlaskit/datetime-picker(patch): on the FF-on path, setmode="manual"on thePopup.Contentrendered by bothinternal/menu-top-layer.tsx(date-picker calendar) andinternal/fixed-layer-menu-top-layer.tsx(time-picker menu). With the defaultmode="auto", the same click event that opens the menu (which targets the react-select combobox input — outside the popover element) bubbles to the browser's native popover light-dismiss handler and immediately closes the menu. react-select / DateTimePicker already own outside-click and Esc dismissal via their own state, so opting out of the native auto-dismiss is the correct integration. Also extend the existing Esc → trigger-focus restoration incomponents/date-picker.tsxto the FF-on path (manual mode disables the browser's built-in focus return, and the legacy code path was already handling this for itself behind an FF negation).@atlaskit/popup(no public API change): no source changes — only FF-on Playwright spec/example fixes drove the suite from 21/3/2 to 27/0/0. Notable: the twotest.fixme'd nested-popover cases were not browser limitations;popover="auto"chains correctly via DOM ancestry (the original fixmes had the wrong testId selector). AddedtestIdprops to two examples (16-popup-with-a11y-props,18-should-fit-container) so default-shape tests can reach the trigger.- Test alignment for FF-on Playwright suites across
popup,select,datetime-picker,inline-dialog,inline-message, andmodal-dialog: selector updates to match the new top-layer testId convention (${testId}--content,[role="dialog"][aria-label="calendar"]), per-specskipAxeCheck()for example-level color-contrast violations unrelated to the migration, and focus assertions adjusted to match native<dialog>/Popup.Contentauto-focus semantics (focus lands on the first focusable child, not the dialog container itself). @atlassian/capacity-planning-capacity-graph,@atlaskit/color-picker,@atlassian/timeline-table,@atlassian/global-side-navigation(patch): scopefgmocks in unit tests soplatform-dst-top-layerreturnsfalse. JSDOM does not implement the native Popover API (showPopover/hidePopover/toggleevents), so leaving the gate ON in unit tests caused popover content to remain in the DOM after close and broke close-behaviour assertions. Browser coverage for the FF-on path is provided by the Playwright suites listed above.@atlaskit/dropdown-menu(no public API change): test/example-only fixes for the FF-on Playwright suite. Addedrole="menuitem"to the nested-triggerButtonIteminexamples/93-testing-nested-keyboard-navigation-top-layer.tsxto satisfy axe'saria-required-childrenrule on the parent menu. Added atest.beforeEach(skipAxeCheck)todropdown-menu.spec.tsx(FF-on suite) for example-levelcolor-contrastviolations on the pre-existingcolor.text.selected/color.background.selectedtoken pair (3.91:1). Replaced a deadlockingawait expect(moveItem).not.toBeFocused()pre-open assertion (Playwright's auto-wait blocks 5s on the absent element) withawait expect(moveItem).not.toBeVisible(). Suite result: 22/22 passing.
- Pass the full
-
Updated dependencies
15.0.0
Major Changes
-
babe23b40c154, (opens new window) - Removes thebooleantype for theautoFocusprop in the modal dialog. This improves the accessibility of the modal dialog by ensuring focus always moves to the first interactive element, as per the WCAG accessibility guidelines for modal dialogs.You can run the included codemod to remove all boolean instances of
autoFocus.
Patch Changes
- Updated dependencies
14.18.3
Patch Changes
5a711f8d38b68, (opens new window) - Changed the motion uplift feature gate fromplatform-dst-motion-uplifttoplatform-dst-motion-uplift-modal- Updated dependencies
14.18.2
Patch Changes
- Updated dependencies
14.18.1
Patch Changes
a5e997ea70aac, (opens new window) - Remove unnecessary boolean casting in if statement.
14.18.0
Minor Changes
d182ea0a08b1f, (opens new window) - Added temporaryUNSAFE_shouldDisableMotionUpliftprop to override theplatform-dst-motion-upliftfeature gate and disable the motion uplift
14.17.0
Minor Changes
b4ee8f6b3265c, (opens new window) - Clean up flag to prepare for boolean autoFocus removal.
14.16.0
Minor Changes
25716b59a8e71, (opens new window) - Clean up flag to prepare for boolean autoFocus removal.
14.15.1
Patch Changes
- Updated dependencies
14.15.0
Minor Changes
de60749da093b, (opens new window) - Removed usages of deletedmotion.content.*tokens and replaced withmotion.blanket.enterandmotion.blanket.exit.
Patch Changes
- Updated dependencies
14.14.6
Patch Changes
- Updated dependencies
14.14.5
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
14.14.4
Patch Changes
22bf79dbdcdca, (opens new window) - Internal changes to remove unnecessary token fallbacks and imports from@atlaskit/theme- Updated dependencies
14.14.3
Patch Changes
c966e427a25c6, (opens new window) - Flattens internal util file- Updated dependencies
14.14.2
Patch Changes
- Updated dependencies
14.14.1
Patch Changes
08170da1fbf62, (opens new window) - Migrate spacing prop usages on icons to Flex wrapper- Updated dependencies
14.14.0
Minor Changes
6d543e4f58915, (opens new window) - [ux] Updated motion on opening and closing of Modal Dialog
Patch Changes
- Updated dependencies
14.13.1
Patch Changes
953d1f6ea290c, (opens new window) - [ux] Add a new recommended spaces screen for confluence onboarding for the nth user crossjoin experiement
14.13.0
Minor Changes
bbfd308f360d8, (opens new window) - Add flag to remove internal focus lock from running when usingfalseinautoFocus. This is in service of eventually removing booleanautoFocusfrom the API.
14.12.0
Minor Changes
1001eaeabe30f, (opens new window) - Autofix: add explicit package exports (barrel removal)
Patch Changes
- Updated dependencies
14.11.5
Patch Changes
- Updated dependencies
14.11.4
Patch Changes
6e5dce6aa20ee, (opens new window) - Fixed an issue where the modal title may have incorrect font styles.- Updated dependencies
14.11.3
Patch Changes
- Updated dependencies
14.11.2
Patch Changes
- Updated dependencies
14.11.1
Patch Changes
- Updated dependencies
14.11.0
Minor Changes
ef58c5c05a8fe, (opens new window) - Clean up flag to ensureautoFocusis never off in preparation for removing the booleanautoFocusoption.
14.10.5
Patch Changes
54274768b5a88, (opens new window) - Fixed an issue where the modal title could overflow the width of the modal instead of truncating whenisMultilineis set to false
14.10.4
Patch Changes
- Updated dependencies
14.10.3
Patch Changes
- Updated dependencies
14.10.2
Patch Changes
- Updated dependencies
14.10.1
Patch Changes
- Updated dependencies
14.10.0
Minor Changes
-
a6376c3a0cd91, (opens new window) - Modal body now explicitly sets the font style to use typography tokens, instead of relying on the CSS reset to be present. This change is no longer behind a feature flag.This change was previously reverted and is being redone.
14.9.5
Patch Changes
206b56810d426, (opens new window) - Migrate example from @atlaskit/onboarding to @atlaskit/spotlight
14.9.4
Patch Changes
036c3ee917e3c, (opens new window) - Icon migration entry point update- Updated dependencies
14.9.3
Patch Changes
- Updated dependencies
14.9.2
Patch Changes
d14ea5f60b689, (opens new window) - chore: migrate platform UI & component libraries icon imports from migration paths to core- Updated dependencies
14.9.1
Patch Changes
- Updated dependencies
14.9.0
Minor Changes
5b72169f84be0, (opens new window) - This change makes theautoFocusprop alwaystruebehind a flag. This fixes accessibility issues from misuse of theautoFocusprop. If successful, this will be released for all consumers and the flag will be removed.
14.8.0
Minor Changes
b867e641d818d, (opens new window) - Updated border radius values behind a feature gateplatform-dst-shape-theme-default.
Patch Changes
- Updated dependencies
14.7.3
Patch Changes
a60a82196851a, (opens new window) - Internal refactors to remove unused variables. No functional or public changes.- Updated dependencies
14.7.2
Patch Changes
- Updated dependencies
14.7.1
Patch Changes
- Updated dependencies
14.7.0
Minor Changes
-
05dd9b7db95b7, (opens new window) - Modal dialog now registers with the open layer observer using theuseNotifyLayerObserverhook.This change was previously behind the feature flag
platform-dst-open-layer-observer-layer-type, which has now been removed.
Patch Changes
- Updated dependencies
14.6.2
Patch Changes
- Updated dependencies
14.6.1
Patch Changes
- Updated dependencies
14.6.0
Minor Changes
8a71ce992f8c8, (opens new window) - Modal dialog now registers with the open layer observer using theuseNotifyLayerObserverhook. This is behind theplatform-dst-open-layer-observer-layer-typefeature flag.
Patch Changes
- Updated dependencies
14.5.3
Patch Changes
- Updated dependencies
14.5.2
Patch Changes
- Updated dependencies
14.5.1
Patch Changes
- Updated dependencies
14.5.0
Minor Changes
bab28f9576a96, (opens new window) - AddonBlurhandler to the close button export.
14.4.2
Patch Changes
437668dfbdec9, (opens new window) - Add explicit types to a number of DST components- Updated dependencies
14.4.1
Patch Changes
39e543109ec09, (opens new window) - add type info to forwardRef components- Updated dependencies
14.4.0
Minor Changes
76a0ea5849a69, (opens new window) - Increases the specificity on the top inset positioning the Modal Dialog to be !important to reduce the impact of Compiled consumption issues in DC and Ecosystem.
Patch Changes
- Updated dependencies
14.3.13
Patch Changes
96f58298f6919, (opens new window) - Converts${gutter}pxto a hardcoded '60px' to avoid a Compiled bug.
14.3.12
Patch Changes
f0662cd7a143e, (opens new window) - Internal changes to how borders are applied.- Updated dependencies
14.3.11
Patch Changes
71adf38dec5b2, (opens new window) - Increases the specificity of the insetBlockStart whitespace for the Modal Dialog to lessen the impact of Compiled consumption issues in DC and Ecosystem.- Updated dependencies
14.3.10
Patch Changes
- Updated dependencies
14.3.9
Patch Changes
255837cfba315, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
14.3.8
Patch Changes
23bcc5bbc9cee, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
14.3.7
Patch Changes
3b5b4a919aaaf, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
14.3.6
Patch Changes
- Updated dependencies
14.3.5
Patch Changes
- Updated dependencies
14.3.4
Patch Changes
- Updated dependencies
14.3.3
Patch Changes
- #193214, (opens new window)
c661806a65543, (opens new window) - Internal changes to how border radius and border width values are applied. No visual change. - Updated dependencies
14.3.2
Patch Changes
- Updated dependencies
14.3.1
Patch Changes
- #188952, (opens new window)
1a88e6e2601ae, (opens new window) - Migrated usage of renamed/deprecated icons - Updated dependencies
14.3.0
Minor Changes
- #173162, (opens new window)
a3b23b79f4d68, (opens new window) - Adds a newFullScreenModalDialogcomponent which is exposed behind the/full-screenentrypoint.
Patch Changes
- Updated dependencies
14.2.12
Patch Changes
- #186153, (opens new window)
4389a7b035d36, (opens new window) - Add testid for modal-dialog to confirm a TTVC blindspot is caused by modal dialog
14.2.11
Patch Changes
- Updated dependencies
14.2.10
Patch Changes
- #182316, (opens new window)
3e3e11916be69, (opens new window) - Migrated the internal usage of @atlaskit/focus-ring which uses Emotion for styling, to the new version built with Compiled CSS-in-JS. - Updated dependencies
14.2.9
Patch Changes
- Updated dependencies
14.2.8
Patch Changes
- Updated dependencies
14.2.7
Patch Changes
- Updated dependencies
14.2.6
Patch Changes
- Updated dependencies
14.2.5
Patch Changes
- Updated dependencies
14.2.4
Patch Changes
- #164146, (opens new window)
cb9fe0058ed87, (opens new window) - Updates package.json direct dependencies to align with actual usage.
14.2.3
Patch Changes
- #160530, (opens new window)
3d97095c489a5, (opens new window) - Internal change to align styling solutions. - Updated dependencies
14.2.2
Patch Changes
- #155802, (opens new window)
08019848e3eab, (opens new window) - Refreshed "issue" terminology. - Updated dependencies
14.2.1
Patch Changes
- #155827, (opens new window)
f6f4f5a8a8ae8, (opens new window) - Cleans up theplatform_design_system_motion_on_finish_fixfeature gate. - Updated dependencies
14.2.0
Minor Changes
- #154745, (opens new window)
7618d9837e247, (opens new window) - Tidy up design-system-closed-all-when-click-outside and sibling-dropdown-close-issue to provide better keyboard navigation.
14.1.4
Patch Changes
- Updated dependencies
14.1.3
Patch Changes
- #138405, (opens new window)
7e6b125029348, (opens new window) - Increased the specificity of theheightCSS property in desktop view to prevent modal dialogs from incorrectly stretching to full height.
14.1.2
Patch Changes
- #136563, (opens new window)
ce6e88fc62ca9, (opens new window) - Update dependencies
14.1.1
Patch Changes
- Updated dependencies
14.1.0
Minor Changes
- #134997, (opens new window)
1c7642dd77422, (opens new window) - Increased the specificity of thewidthCSS property in desktop view to prevent full-width modal dialogs. This was caused by an odd CSS ordering issue in Compiled.
Patch Changes
- Updated dependencies
14.0.4
Patch Changes
- #133231, (opens new window)
82b4213bf8e20, (opens new window) - Update the DOM order of the modal header when using thehasCloseButtonprop to give maximal information to users of assistive technology.
14.0.3
Patch Changes
- #126072, (opens new window)
bb86d48c26f65, (opens new window) - Checks for undefined children inModalTransitionto prevent potential runtime errors with React 17 - Updated dependencies
14.0.2
Patch Changes
- Updated dependencies
14.0.1
Patch Changes
- Updated dependencies
14.0.0
Major Changes
-
#128593, (opens new window)
19d6172ffdfe9, (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/modal-dialog, 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 understandhow 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
13.4.0
Minor Changes
- #129320, (opens new window)
1993bb92c16b6, (opens new window) - [ux] Add legacy AUI modal to focus lock allowlist by default
13.3.0
Minor Changes
- #129312, (opens new window)
26ac9f1e06b2e, (opens new window) - Modal body now explicitly sets the font style to use typography tokens, instead of relying on the CSS reset to be present. This change is behind the feature flagplatform_ads_explicit_font_styles.
13.2.0
Minor Changes
-
#127054, (opens new window)
fb709895d8d5c, (opens new window) - [ux] Adds a newhasCloseButtonprop toModalHeaderto add a close button. This uses the exportedCloseButtoninternally.This is done to improve the accessibility of all modal dialogs and ensure that users of assistive technology get full context of the modal and so that pointer users have a more clear way to close the modal.
13.1.1
Patch Changes
- #127022, (opens new window)
6e22b57d6bf75, (opens new window) - Update dependencies and remove old codemods. - Updated dependencies
13.1.0
Minor Changes
- #126435, (opens new window)
2d2f8bd9b056b, (opens new window) - Release dedicated close button export. This can be used to add a close button to your modal header.
13.0.4
Patch Changes
- Updated dependencies
13.0.3
Patch Changes
- Updated dependencies
13.0.2
Patch Changes
- #116010, (opens new window)
1b66beb10e972, (opens new window) - Update dependencies. - #118470, (opens new window)
687094c7a76b3, (opens new window) - Internal refactoring to reduce singleton exports.
13.0.1
Patch Changes
- Updated dependencies
13.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
12.20.8
Patch Changes
- #116009, (opens new window)
b6feda4124cd2, (opens new window) - Remove code path for now obsolete chrome plugin.
12.20.7
Patch Changes
- Updated dependencies
12.20.6
Patch Changes
- Updated dependencies
12.20.5
Patch Changes
- #113871, (opens new window)
13ca102123e88, (opens new window) - Update dependencies.
12.20.4
Patch Changes
- #113859, (opens new window)
c14cf08cfe2e9, (opens new window) - Remove old codemods.
12.20.3
Patch Changes
- Updated dependencies
12.20.2
Patch Changes
- Updated dependencies
12.20.1
Patch Changes
- Updated dependencies
12.20.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
12.19.3
Patch Changes
- #107054, (opens new window)
046508790857d, (opens new window) - Add appearance to modal title for better AT support
12.19.2
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies.
12.19.1
Patch Changes
- Updated dependencies
12.19.0
Minor Changes
- #100038, (opens new window)
f4fe1a42a5809, (opens new window) - Move the icon in a modal title (when present) out of the H1 tag
12.18.5
Patch Changes
- Updated dependencies
12.18.4
Patch Changes
- #175556, (opens new window)
1011dce3bcb2d, (opens new window) - [ux] This change allowlists the AUI dialog for @atlaskit/modal-dialog's focus management and is implemented behind a feature flag. If successful, it will be available in later releases.
12.18.3
Patch Changes
- #178053, (opens new window)
cb318c8c28c26, (opens new window) - Internal changes to typography.
12.18.2
Patch Changes
- Updated dependencies
12.18.1
Patch Changes
- #171994, (opens new window)
be58e4bb2e387, (opens new window) - Migrating usages of UNSAFE types and entrypoints that have been renamed in@atlaskit/iconand@atlaskit/icon-lab. - Updated dependencies
12.18.0
Minor Changes
- #170669, (opens new window)
cc302b83d5934, (opens new window) - Fixes the top and bottom borders which indicate scrollability for modal content on React 18 by rewriting internal hooks.
12.17.14
Patch Changes
- Updated dependencies
12.17.13
Patch Changes
- #167181, (opens new window)
5bc9dc0796474, (opens new window) - Removereact-focus-lock-nextdependency
12.17.12
Patch Changes
- #166087, (opens new window)
3ab7d7da348ab, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
12.17.11
Patch Changes
- Updated dependencies
12.17.10
Patch Changes
- #161638, (opens new window)
d2e5e5ce0053d, (opens new window) - Use new API of layering without UNSAFE prefix
12.17.9
Patch Changes
- Updated dependencies
12.17.8
Patch Changes
- Updated dependencies
12.17.7
Patch Changes
- Updated dependencies
12.17.6
Patch Changes
- Updated dependencies
12.17.5
Patch Changes
- #146685, (opens new window)
1cb9d5ae0361d, (opens new window) - [ux] Reduce spacing between body header, body and footer content.
12.17.4
Patch Changes
- Updated dependencies
12.17.3
Patch Changes
- #148281, (opens new window)
3c4de48168ffe, (opens new window) - Update the import path ofuseId*from@atlaskit/ds-lib - Updated dependencies
12.17.2
Patch Changes
- Updated dependencies
12.17.1
Patch Changes
- Updated dependencies
12.17.0
Minor Changes
- #144047, (opens new window)
de70c65e3e5ff, (opens new window) - The Chrome bug workaround shipped in12.16.0behind a feature flag is now turned on for everyone and is no longer behind a feature flag.
12.16.0
Minor Changes
- #141279, (opens new window)
a38f3af4bfc79, (opens new window) - [ux] Adding a workaround for a Chrome bug where drag and drop cannot occur in an element positioned on top of an<iframe>on a different origin. The workaround is being added behind a feature flag.
12.15.7
Patch Changes
- #140090, (opens new window)
2f4fd6db3e451, (opens new window) - Removes unused devDep react-beautiful-dnd
12.15.6
Patch Changes
- #138585, (opens new window)
b72c2c7f9a2fd, (opens new window) - Support to close all layers when clicking outside under feature flag
12.15.5
Patch Changes
- #137443, (opens new window)
467a08d727c07, (opens new window) - Updated dependencies
12.15.4
Patch Changes
- #136611, (opens new window)
9755fb019113f, (opens new window) - Clean up emotion Globals usage
12.15.3
Patch Changes
- #134135, (opens new window)
6597900cdd5be, (opens new window) - We are testing an internal change to use an ID generator compatible with both React 16 and React 18. If these changes are successful, it will be rolled out in a later release.
12.15.2
Patch Changes
- #130061, (opens new window)
b2c47a625a6bb, (opens new window) - Fixed bug where component could cause infinite re-render
12.15.1
Patch Changes
- Updated dependencies
12.15.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
12.14.10
Patch Changes
- Updated dependencies
12.14.9
Patch Changes
- Updated dependencies
12.14.8
Patch Changes
- #123484, (opens new window)
e241c04ab92d5, (opens new window) - Remove abandoned feature flag usage
12.14.7
Patch Changes
- #122722, (opens new window)
512798d699bd1, (opens new window) - GA layering in modal-dialog to support multiple layers
12.14.6
Patch Changes
- #122769, (opens new window)
e5aebb55bcafc, (opens new window) - [ux] This version removesplatform.design-system-team.multiple-modal-inappropriate-focus_z5u4jfeature flag. Now focus returns back to trigger elements upon closing nested modals.
12.14.5
Patch Changes
- Updated dependencies
12.14.4
Patch Changes
- Updated dependencies
12.14.3
Patch Changes
- Updated dependencies
12.14.2
Patch Changes
- #114764, (opens new window)
ae20dac6e31c4, (opens new window) - Bump packages to use react-beautiful-dnd@12.2.0
12.14.1
Patch Changes
- Updated dependencies
12.14.0
Minor Changes
- #110670, (opens new window)
c733254a2dd6e, (opens new window) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.
Patch Changes
- Updated dependencies
12.13.5
Patch Changes
- Updated dependencies
12.13.4
Patch Changes
- #99952, (opens new window)
1e7e09d75d5c, (opens new window) - Support to close popup corrrectly when clicking iframe using layering under feature flag - Updated dependencies
12.13.3
Patch Changes
- #100067, (opens new window)
0601616da694, (opens new window) - Internal changes to resolve an issue where global style overrides could break alignment between the icon and title.
12.13.2
Patch Changes
- Updated dependencies
12.13.1
Patch Changes
- Updated dependencies
12.13.0
Minor Changes
- #93686, (opens new window)
acf6d58fc241, (opens new window) - Add support for React 18 in non-strict mode.
Patch Changes
- Updated dependencies
12.12.0
Minor Changes
- #89943, (opens new window)
9e8e7fd1a601, (opens new window) - [ux] Internal changes to typography, small visual change to modal title.
12.11.1
Patch Changes
- #94316, (opens new window)
35fd5ed8e1d7, (opens new window) - Upgrading internal dependencybind-event-listenerto@^3.0.0
12.11.0
Minor Changes
- #82087, (opens new window)
aa45bc0045bb, (opens new window) - [ux] This change introducesfocusLockAllowlistprop. It allows to pass callback function to specify nodes which focus lock should ignore.
12.10.10
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
12.10.9
Patch Changes
- Updated dependencies
12.10.8
Patch Changes
- Updated dependencies
12.10.7
Patch Changes
- Updated dependencies
12.10.6
Patch Changes
- #72130, (opens new window)
b037e5451037, (opens new window) - Update new button text color fallback for default theme (non-token) to match that of old button current text color
12.10.5
Patch Changes
- Updated dependencies
12.10.4
Patch Changes
- #68278, (opens new window)
291b54998410, (opens new window) - Reset iframe to have auto pointer-events in modal under feature flag
12.10.3
Patch Changes
- #60920, (opens new window)
a77a99360fa2, (opens new window) - Revert previous modal gutter change.
12.10.2
Patch Changes
- #60029, (opens new window)
b9826ea49c47, (opens new window) - Update dependencies that were impacted by HOT-106483 to latest.
12.10.1
Patch Changes
- #58698, (opens new window)
222c15fb9a38, (opens new window) - Modal gutter is now 64px instead of 60px. This means the modal now displays slightly lower than before and will be slightly more inset when at max width/height.
12.10.0
Minor Changes
- #57627, (opens new window)
bef9748d9db2, (opens new window) - [ux] We are testing default return focus on modal close behind a feature flag. This change returns focus to the element which triggered the modal to open. If this fix is successful, it will be available in a later release.
12.9.1
Patch Changes
- #43918, (opens new window)
d100ca42f46, (opens new window) - Push model consumption configuration done for these packages
12.9.0
Minor Changes
- #43674, (opens new window)
4061f5b29f8, (opens new window) - [ux] shouldReturnFocus now can accept ref as a value to return focus to a specified element on modal close.
12.8.5
Patch Changes
- Updated dependencies
12.8.4
Patch Changes
- Updated dependencies
12.8.3
Patch Changes
- #41628, (opens new window)
b05664f7aba, (opens new window) - Use feature flag to toggle if we enable UNSAFE_LAYERING
12.8.2
Patch Changes
- #40650, (opens new window)
07aa588c8a4, (opens new window) - Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.
12.8.1
Patch Changes
- #40647, (opens new window)
0de92f17021, (opens new window) - Bump react-focus-lock to latest version
12.8.0
Minor Changes
- #39425, (opens new window)
f0df9a3b6e7, (opens new window) - [ED-19408] Add new prop to modal shouldReturnFocus - shouldReturnFocus is used to control what happens when the user exits focus lock mode. If true, focus will be returned to the element that had focus before focus lock was activated. If false, focus remains where it was when the FocusLock was deactivated
12.7.1
Patch Changes
- #39749, (opens new window)
e6b69f455c3, (opens new window) - Connect yarn changeset to packages, upgrade adf-schema
12.7.0
Minor Changes
- #39726, (opens new window)
f355884a4aa, (opens new window) - [ux] Support to press escape key and only close the top layer
Patch Changes
- Updated dependencies
12.6.10
Patch Changes
- #39787, (opens new window)
6900f89eb0e, (opens new window) - Internal changes to use space tokens. There is no expected visual or behaviour change.
12.6.9
Patch Changes
- #38948, (opens new window)
c8d28bd7519, (opens new window) - Adds role of region to modal dialog body when scrollable
12.6.8
Patch Changes
- #37789, (opens new window)
d6f63fa1abc, (opens new window) - Adds support for surface detection when using design tokens. Enabling children to be styled with the Modal’s surface color when using theutility.elevation.surface.currentdesign token. - Updated dependencies
12.6.7
Patch Changes
- #39169, (opens new window)
d2b6377be3d, (opens new window) - Add some basic JSDoc for internal components, add tokens.
12.6.6
Patch Changes
- #38209, (opens new window)
56b444b56a8, (opens new window) - Fix a bug where text descenders were cut off at high zoom levels on Windows
12.6.5
Patch Changes
- #36744, (opens new window)
c2484be748e, (opens new window) - [ux] DSP-11269: hard coded the warning icon to improve color contrast
12.6.4
Patch Changes
- #37066, (opens new window)
c673c7246cf, (opens new window) - Internal change to improve how media queries are applied. There is no expected behaviour change.
12.6.3
Patch Changes
- #36754, (opens new window)
4ae083a7e66, (opens new window) - Use@af/accessibility-testingfor default jest-axe config and jest-axe import in accessibility testing.
12.6.2
Patch Changes
- #34811, (opens new window)
abf69e9a4f6, (opens new window) - Removes usage of deprecated theme mixins in favor of static token / color usage.
12.6.1
Patch Changes
- #35074, (opens new window)
b6b02e57520, (opens new window) - Restore support for foreground modal
12.6.0
Minor Changes
- #34353, (opens new window)
26388cfdd23, (opens new window) - Addslabelprop for users of assistive technology to receive more context when using the modal.
12.5.7
Patch Changes
- #34427, (opens new window)
7e018144c35, (opens new window) - [ux] Add aria-label to scrollable ModalBody to communicate to AT users why ModalBody is focused.
12.5.6
Patch Changes
- #34297, (opens new window)
fd5c7f6ca6a, (opens new window) - Fixes an issue where the focus moved inappropriately when closing a modal with multiple modals open.
12.5.5
Patch Changes
- #34160, (opens new window)
ba48a3a0fec, (opens new window) - Remove redundant language from default icon labels for ModalTitle.
12.5.4
Patch Changes
- #34170, (opens new window)
e3eff9117fe, (opens new window) - Update examples to use CTAs with sufficient contrast.
12.5.3
Patch Changes
- #34051, (opens new window)
49b08bfdf5f, (opens new window) - Migrated use ofgridSizeto space tokens where possible. There is no expected visual or behaviour change.
12.5.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
12.5.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
12.5.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
12.4.13
Patch Changes
- #32734, (opens new window)
7f53352e047, (opens new window) - Updates the@types/react-beautiful-dnddevDependency
12.4.12
Patch Changes
- #32211, (opens new window)
4ba10567310, (opens new window) - Internal changes.
12.4.11
Patch Changes
- #30125, (opens new window)
7f5f23dcb68, (opens new window) - Introduce shape tokens to some packages.
12.4.10
Patch Changes
- Updated dependencies
12.4.9
Patch Changes
- #29725, (opens new window)
63c2f0b3f96, (opens new window) - Internal changes to use spacing tokens. There is no expected behaviour or visual change.
12.4.8
Patch Changes
- Updated dependencies
12.4.7
Patch Changes
- #29390, (opens new window)
18aeca8c199, (opens new window) - Internal change to update token references. There is no expected behaviour or visual change.
12.4.6
Patch Changes
- #29227, (opens new window)
4ee60bafc6d, (opens new window) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, addallowedSideEffectswhen loading the page.
12.4.5
Patch Changes
- #28064, (opens new window)
b0f6dd0bc35, (opens new window) - Updated to use typography tokens. There is no expected behaviour or visual change.
12.4.4
Patch Changes
- Updated dependencies
12.4.3
Patch Changes
- Updated dependencies
12.4.2
Patch Changes
- Updated dependencies
12.4.1
Patch Changes
- #26408, (opens new window)
9de88fa1e1e, (opens new window) - Internal changes to include spacing tokens in component implementations.
12.4.0
Minor Changes
- #24710, (opens new window)
f3ffcf1a783, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
Patch Changes
- Updated dependencies
12.3.1
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
12.3.0
Minor Changes
- #24004, (opens new window)
c44f3f5f973, (opens new window) - Modal Dialog’s focus lock now allows focus to reach elements outside the modal if they contain the data-atlas-extension attribute, such as a browser extension that renders in-browser.
Patch Changes
- Updated dependencies
12.2.15
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
12.2.14
Patch Changes
- #23381, (opens new window)
454ec1bbf07, (opens new window) - Internal code change turning on new linting rules. - Updated dependencies
12.2.13
Patch Changes
- #22775, (opens new window)
1c3948738f9, (opens new window) - Adjust the styles for an internal positioning element to constrain the height for ModalBody and restore support for custom scrolling regions"
12.2.12
Patch Changes
- #22758, (opens new window)
b72e12b97ac, (opens new window) - [ux] Fixed a regression which prevented clicks on the blanket from closing modal dialogs withshouldScrollInViewport.
12.2.11
Patch Changes
- #22614, (opens new window)
8a5bdb3c844, (opens new window) - Upgrading internal dependency (bind-event-listener) for improved internal types
12.2.10
Patch Changes
- #22029, (opens new window)
e4b612d1c48, (opens new window) - Internal migration to bind-event-listener for safer DOM Event cleanup 347fd703ce0, (opens new window) - Internally shifting to using bind-event-listener for events added in effects07ab2748b62, (opens new window) - [ux] - Changes the position of icon in ModalTitle having an appearance prop to be top aligned instead of center. This only affects titles that where the title wraps into multiple lines.- Updated dependencies
12.2.9
Patch Changes
- Updated dependencies
12.2.8
Patch Changes
- #20721, (opens new window)
0d1c80fe00d, (opens new window) - [ux] The width of the modal dialog now respect the custom value of thewidthprop.
12.2.7
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
12.2.6
Patch Changes
- Updated dependencies
12.2.5
Patch Changes
- #19618, (opens new window)
dcd92130cc4, (opens new window) - Migrate deleted background accent tokens to replacements - Updated dependencies
12.2.4
Patch Changes
- Updated dependencies
12.2.3
Patch Changes
- Updated dependencies
12.2.2
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.19d72473dfb, (opens new window) - Bump raf-schd to latest (4.0.3), including better TS typings.- Updated dependencies
12.2.1
Patch Changes
- Updated dependencies
12.2.0
Minor Changes
- #15998, (opens new window)
2d60dd3116d, (opens new window) - [ux] Modal dialogs which contain no focusable children will now lock focus to the modal container. The container will have a focus ring, so some VR tests may need to be regenerated.
Patch Changes
3fced6aa641, (opens new window) - Bumpedreact-focus-lockto version^2.2.1.a8c55e479e8, (opens new window) - Removes unused dependency on emotion-styledf460cc7c411, (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
12.1.1
Patch Changes
- #16335, (opens new window)
2b2290121eb, (opens new window) - Raised the minimum version carat range of focus ring to latest.
12.1.0
Minor Changes
- #14777, (opens new window)
993eb469fcb, (opens new window) - Instrumented@atlaskit/modal-dialogwith the new theming package,@atlaskit/tokens. 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
- Updated dependencies
12.0.3
Patch Changes
- Updated dependencies
12.0.2
Patch Changes
- Updated dependencies
12.0.1
Patch Changes
- Updated dependencies
12.0.0
Major Changes
-
#13864, (opens new window)
07ad26948a1, (opens new window) - In this version we made modal dialog dramatically faster and lighter with a new composable API. This is a large change and we have provided a codemod to help you upgrade. Once you have run the codemod there may be manual change required so read below for all the changes in this release.Running the codemod cli
To run the codemod: You first need to have the latest version installed
yarn upgrade @atlaskit/modal-dialog@^12.0.0Once upgraded, use
@atlaskit/codemod-cli:npx @atlaskit/codemod-cli --parser {tsx|babylon} --extensions ts,tsx,js [relativePath]The CLI will show a list of components and versions so select
@atlaskit/modal-dialog@^12.0.0and you will automatically be upgraded. If your usage of@atlaskit/modal-dialogcannot 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.Visual changes
The primary button in the footer is now on the right. This has changed from being on the left to match the design documentation, (opens new window).
The codemod will automatically reverse the order of your actions for this to happen. You could previously achieve this behaviour by adding an
appearancekey to your actions. The codemod will detect this and not reverse the array in this case.Composable API
The old version of modal dialog had three props that mapped into components.
headingwas the text for the header.childrenwas the React node that ended up in the modal body.actionswas an array of objects that mapped into buttons in the footer.
The new composable API exposes these components so that you can use them directly as a child of modal dialog. This creates a clear parallel between what is given as children and what the modal dialog renders. It also allows you to use any valid React node as a child of modal dialog.
// Before import Modal, { ModalTransition } from '@atlaskit/modal-dialog'; ... <ModalTransition> {isOpen && ( <Modal onClose={close} heading="Modal Title" actions={[ { text: 'Secondary Action', onClick: secondaryAction }, { text: 'Close', onClick: close }, ]} > <Lorem count={2} /> </Modal> )} </ModalTransition> // After import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition, } from '@atlaskit/modal-dialog'; import Button from '@atlaskit/button/standard-button'; ... <ModalTransition> {isOpen && ( <Modal onClose={close}> <ModalHeader> <ModalTitle>Modal Title</ModalTitle> </ModalHeader> <ModalBody> <Lorem count={2} /> </ModalBody> <ModalFooter> <Button appearance="subtle" onClick={secondaryAction}> Secondary Action </Button> <Button appearance="primary" autoFocus onClick={close}> Close </Button> </ModalFooter> </Modal> )} </ModalTransition>Children
The original children need to be wrapped in a
ModalBody.// Before <Modal> <Lorem count={2} /> </Modal> // After <Modal> <ModalBody> <Lorem count={2} /> </ModalBody> </Modal>Heading
The
headingprop turns into aModalHeaderandModalTitle.// Before <Modal heading="Modal Title"> <Lorem count={2} /> </Modal> // After <Modal> <ModalHeader> <ModalTitle>Modal Title</ModalTitle> </ModalHeader> <ModalBody> <Lorem count={2} /> </ModalBody> </Modal>Actions
The
actionsprop turns intoButton's in aModalFooter.// Before <Modal actions={[ { text: 'Secondary Action', onClick: secondaryAction }, { text: 'Close', onClick: close }, ]} heading="Modal Title" > <Lorem count={2} /> </Modal> // After <Modal> <ModalHeader> <ModalTitle>Modal Title</ModalTitle> </ModalHeader> <ModalBody> <Lorem count={2} /> </ModalBody> <ModalFooter> <Button appearance="subtle" onClick={secondaryAction}> Secondary Action </Button> <Button appearance="primary" autoFocus onClick={close}> Close </Button> </ModalFooter> </Modal>Previously in the examples the primary button was on the left, we’ve updated the documentation to match our design documentation so that the primary button is on the right. You could previously achieve this behaviour by adding an
appearancekey to your actions. The codemod will reverse the order of your actions if you have not set theappearancein the actions.Components prop
The
componentsprop has been entirely replaced with the composable API. The philosophy of creating a custom component that receive modal's props has been replaced with custom components where the user can define their own props.Container
To replace using the
Containerprop you can wrapModal's children in the container component. Note that unless you are using aformyou will need to add the styleall: inherit;to ensure scrolling works.// Before <Modal components={{ Container: (props) => ( <form {...props} onSubmit={onSubmit}> {props.children} </form> ), }} > {children} </Modal> // After <Modal> <form onSubmit={onSubmit}> {children} </form> </Modal>Header
To replace using the
Headerprop you can use your custom header as the first child.// Before <Modal components={{ Header: CustomHeader, }} > {children} </Modal> // After <Modal> <CustomHeader /> {children} </Modal>If you are creating a custom header you should call the new hook
useModalto get the title id so the content and the title can be linked. You can also access theonClosefunction this way.import { useModal } from '@atlaskit/modal-dialog'; const CustomHeader = () => { const { onClose, titleId } = useModal(); return ( <div css={headerStyles}> <h1 css={headingStyles} id={titleId}> Custom modal header </h1> <Button onClick={onClose}> Close </Button> </div> ); };If you are doing something simple like adding a button you can continue to use
ModalHeader.<ModalHeader> <ModalTitle>Custom modal header</ModalTitle> <Button appearance="link" onClick={closeModal}> Close </Button> </ModalHeader>Similar to
Header, if you were using theFooterorBodyprop, you can replaceModalFooterandModalBodywith any valid React node.ModalFooterandModalBodyalso accept any valid React node as children.useModalworks in any ofModal's children if you wish to use it.Scroll behaviour
The
scrollBehaviorprop has changed from strings 'inside', 'inside-wide' and 'outside' to a booleanshouldScrollInViewport. 'inside' and 'inside-wide' have consolidated to beshouldScrollInViewport={false}and 'outside' isshouldScrollInViewport={true}.Appearance
The
appearanceprop has been removed fromModaland is now set onModalTitleand the primaryButton.// Before <ModalTransition> {isOpen && ( <Modal appearance="danger" onClose={close} heading="Modal Title" actions={[ { text: 'Secondary Action', onClick: secondaryAction }, { text: 'Close', onClick: close }, ]} > <Lorem count={2} /> </Modal> )} </ModalTransition> // After <ModalTransition> {isOpen && ( <Modal onClose={close}> <ModalHeader> <ModalTitle appearance="danger">Modal Title</ModalTitle> </ModalHeader> <ModalBody> <Lorem count={2} /> </ModalBody> <ModalFooter> <Button appearance="subtle" onClick={secondaryAction}> Secondary Action </Button> <Button appearance="danger" autoFocus onClick={close}> Close </Button> </ModalFooter> </Modal> )} </ModalTransition>;isChromeless
The
isChromelessis no longer supported as you can any valid React node inModaland choose not to useModalHeader,ModalBodyandModalFooter. The only change to this behaviour is that there is no way to turn off the box shadow and border radius, which used to happen whenisChromeless={true}. You only need to change your usage ifModal's children set their own background and don’t have a border radius of 3 px. In this case set the border radius to 3px.Test IDs
The mapping for test IDs have changed.
Modal:
{testId}->{testId}Modal content:
{testId}-dialog-content-> DOM node removedModal header:
{testId}-dialog-content--header->{testId}--headerModal title:
{testId}-dialog-content--heading->{testId}--titleModal body:
{testId}-dialog-content--body->{testId}--bodyModal footer:
{testId}-dialog-content--footer->{testId}--footerScrollable body content:
{testId}-dialog-content--scrollable->{testId}--scrollableBlanket:
{testId}--blanket->{testId}--blanketModal actions:
{testId}-dialog-content--action-{index}-> Removed, can set on ButtonMiscallaneous changes
ModalFooternow usesflex-endinstead ofspace-betweento justify its contents.- Inner components
ModalFooter,ModalHeaderandModalBodyno longer accepts style prop. If you wish to modify the styles, you have to build your own component. ContainerComponentPropsandScrollBehaviortypes are now removed with no replacements.(Header|Body|Footer|Title)ComponentPropstypes are now aliased toModal(Header|Body|Footer|Title)Props, however most props are not used anymore as state is shared via theuseModalhook.
Patch Changes
1efbaebfbf3, (opens new window) - Fixes a bug in the appearance of the modal focus state which is now consistent with other elements in the Design System.- Updated dependencies
11.7.4
Patch Changes
- #13302, (opens new window)
adad0d75402, (opens new window) - Internal test fix. - Updated dependencies
11.7.3
Patch Changes
- #12837, (opens new window)
f75544b8b57, (opens new window) - [ux] As a part of DSP-895, a 0px margin was applied to button to fix a regression in Safari. This has been reverted as the 0px margin will be moved to css-reset instead. As a part of that same ticket, the specificity of the footer buttons in modal dialog was updated. This has also been reverted now that the 0px margin is being moved to css-reset. - Updated dependencies
11.7.2
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
11.7.1
Patch Changes
- Updated dependencies
11.7.0
Minor Changes
- #11649, (opens new window)
6679c172f59, (opens new window) - Trap the virtual cursor within the modal for screen reader
Patch Changes
0f7fd3e7c0d, (opens new window) - FIX: content focus and keylines only applied when the target DOM node exists- Updated dependencies
11.6.3
Patch Changes
- #12263, (opens new window)
95f500da676, (opens new window) - [ux] Fixes a bug introduced in 11.4.0 – CSS propertyleftis put back to the styles of modal dialog container so it doesn't push out floated elements in the background.
11.6.2
Patch Changes
- #12167, (opens new window)
d6f7ff383cf, (opens new window) - Updates to development dependencystorybook-addon-performance
11.6.1
Patch Changes
- #11407, (opens new window)
e3a6469c8e5, (opens new window) - [ux] FIX: fixes a bug introduced in 11.5.0 – now modal dialog is correctly positioned when relative sizing is used as width
11.6.0
Minor Changes
- #11113, (opens new window)
e1dc82f2825, (opens new window) - Fix Modal header and footer tags
Patch Changes
- Updated dependencies
11.5.0
Minor Changes
- #10569, (opens new window)
c9cca93180b, (opens new window) - [ux] Removes unnecessary dom nodes and refactors styles in modal dialog.
Patch Changes
e48c323dd75, (opens new window) - [ux] Fixedoutsidescrolling offset positioning when multiple modals are open.78803694b8c, (opens new window) - [ux] Fixes display of focus ring on modal dialog content – now only shown when triggered by keyboard.
11.4.1
Patch Changes
- Updated dependencies
11.4.0
Minor Changes
- #10230, (opens new window)
c0dbb6425f7, (opens new window) - [ux] Changed ModalDialog html tag from "div" to "section", changed ModalDialog heading from "h4" to "h1" 7e3e3e16b55, (opens new window) - Entry points are now defined using the declarative format.441b1eded91, (opens new window) - [ux] Modal dialog no longer attaches keylines in its header/footer – it now shows and hides keylines in its body during scroll when the content overflows.96f56104518, (opens new window) - Adds ability to pass a element ref to theautoFocusprop to specifically focus on an element during initial mount.6ebee3d941d, (opens new window) - Internal refactor converting to hooks.e100d801223, (opens new window) - [ux] Modal dialog now uses @atlaskit/motion for its entering/exiting animations.8a22ca5357b, (opens new window) - Event handler types are now exposed in the primary and types entrypoints.
Patch Changes
8db8f3a22cb, (opens new window) - Modal dialog now uses css props for styling.022ec2307a9, (opens new window) - TheonClosecallback now correctly has its second argument types as an analytic event.d7d64aac39d, (opens new window) - FixedonStackChangefrom firing on inital mount. It will now only fire after the initial mount and its stack position has changed.1195a2abbbf, (opens new window) - Modal dialog now uses new utility from ds-lib to merge refs.- Updated dependencies
11.3.0
Minor Changes
- #9756, (opens new window)
0e0b2148d48, (opens new window) - Modal dialog now attaches data-testid to its header and footer.
Patch Changes
a9dc147612a, (opens new window) - [litemode] Internal nested modal components have been re-written as hooks.910c7744256, (opens new window) - Internal restructure of files and folders.- Updated dependencies
11.2.9
Patch Changes
- #9083, (opens new window)
624d33651cf, (opens new window) - Fix content remounts in version >= 11.1.3 - Updated dependencies
11.2.8
Patch Changes
- #8644, (opens new window)
79c23df6340, (opens new window) - Use injected package name and version for analytics instead of version.json. - Updated dependencies
11.2.7
Patch Changes
- #8478, (opens new window)
5af85edf960, (opens new window) - Internal code style change of default exports
11.2.6
Patch Changes
- #7892, (opens new window)
7490717bdd4, (opens new window) - Fix overflow issue present in Safari 14.0.3
11.2.5
Patch Changes
- #7425, (opens new window)
d94d90714b, (opens new window) - Modal will retain full-width at viewports < 320px. This makes it consistent with < 480px beahviour.
11.2.4
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
11.2.3
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.
11.2.2
Patch Changes
- Updated dependencies
11.2.1
Patch Changes
- #5164, (opens new window)
2ac834240e, (opens new window) - Undo analytics-next file restructure to allow external ts definitions to continue working
11.2.0
Minor Changes
- #4749, (opens new window)
9d5d1ab37f, (opens new window) - Allow for non tinted blanket background
Patch Changes
c48024293c, (opens new window) - Fixed an issue when usingscrollBehavior="outside"would cause Firefox to not allow scrolling of modal- Updated dependencies
11.1.6
Patch Changes
- #4707, (opens new window)
6360c46009, (opens new window) - Reenable integration tests for Edge browser
11.1.5
Patch Changes
- #4424, (opens new window)
8598d0bd13, (opens new window) - Remove unnecessary code and tests for IE11. 6ac737558f, (opens new window) - Remove non-standard CSS property -ms-high-contrast, (opens new window). The-ms-high-contrastCSS media feature is a Microsoft extension that describes whether the application is being displayed in high contrast mode, and with what color variation.- Updated dependencies
11.1.4
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.
11.1.3
Patch Changes
- #3823, (opens new window)
c1b8d0e897, (opens new window) - You can now scroll using a touchscreen in the body ofmodal-dialogcontent
11.1.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.
11.1.1
Patch Changes
- #4191, (opens new window)
810f11aaab, (opens new window) - Custom body styles have been added back. They will be removed in the next major version - if you're customizing the body of the modal dialog please make sure to spread props onto your custom component.
11.1.0
Minor Changes
-
#3954, (opens new window)
727776fa32, (opens new window) - Missing types for component overrides are now exposed - you can access them through the root entrypoint.import { BodyComponentProps, TitleComponentProps, ContainerComponentProps, FooterComponentProps, HeaderComponentProps, ScrollBehavior, } from '@atlaskit/modal-dialog';
11.0.3
Patch Changes
-
#3826, (opens new window)
5b5e7b6323, (opens new window) - The previous hotfix (https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3781, (opens new window)) didn't fix the appearance override issue.This change will be re-introduced in a future major version, please follow this ticket for updates https://product-fabric.atlassian.net/browse/DST-660, (opens new window).
11.0.2
Patch Changes
-
#3781, (opens new window)
9796654bab, (opens new window) - The button sequence correction has been reverted as it was causing unintended regressions for some use cases. Affected versions include: @atlaskit/modal-dialog@11.0.1.This change will be re-introduced in a future major version, please follow this ticket for updates https://product-fabric.atlassian.net/browse/DST-660, (opens new window).
11.0.1
Patch Changes
- #3428, (opens new window)
95261cf7b0, (opens new window) - Fixed modal dialog focus issue 3414523d6f, (opens new window) - Rearange buttons order to align with design guidelines30f8909177, (opens new window) - fixed the layering between header, content, and footerdb053b24d8, (opens new window) - Update all the theme imports to be tree-shakable
11.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
10.6.4
Patch Changes
- #2763, (opens new window)
5be257c6f6, (opens new window) - Fix issue with the way that tabIndex was applied to dialog content. Now the check looks at whether the container is scrollable, rather than the shouldScroll prop. 057d870973, (opens new window) - Fix keyboard scrolling of modal dialog content
10.6.3
Patch Changes
- #2443, (opens new window)
fddc283495, (opens new window) - Added aria-labelledby to dialog and point it to the real heading b2b0b94079, (opens new window) - Reverts breaking test id change.
10.6.2
Patch Changes
- #2866, (opens new window)
54a9514fcf, (opens new window) - Build and supporting files will no longer be published to npm
10.6.1
Patch Changes
- #2677, (opens new window)
4560b65a4f, (opens new window) - upgrade react-transition-group to latest
10.6.0
Minor Changes
- #2137, (opens new window)
98e93d93ec, (opens new window) - ActionProps.text now accepts React.ReactNode instead of just string
Patch Changes
16ccd817d8, (opens new window) - Export types- Updated dependencies
10.5.9
Patch Changes
- Updated dependencies
10.5.8
Patch Changes
- #2012, (opens new window)
53d09bdb5d, (opens new window) - Reverts scrolling fix which introduced a layering regression.
10.5.7
Patch Changes
-
[patch]9a534d6a74, (opens new window):
Change imports to comply with Atlassian conventions- Updated dependencies 6b8e60827e, (opens new window):
-
Updated dependencies 449ef134b3, (opens new window):
-
Updated dependencies 167a55fd7a, (opens new window):
-
Updated dependencies 3a09573b4e, (opens new window):
-
Updated dependencies 57c0487a02, (opens new window):
-
Updated dependencies 68ff159118, (opens new window):
-
Updated dependencies 6efb12e06d, (opens new window):
-
Updated dependencies 6d744d3ff1, (opens new window):
-
Updated dependencies 0059d26429, (opens new window):
-
Updated dependencies fd41d77c29, (opens new window):
- @atlaskit/button@13.3.11
- @atlaskit/icon@20.1.1
- @atlaskit/select@11.0.10
- @atlaskit/avatar@17.1.10
- @atlaskit/inline-dialog@12.1.12
- @atlaskit/checkbox@10.1.11
- @atlaskit/blanket@10.0.18
- @atlaskit/form@7.2.1
- @atlaskit/webdriver-runner@0.3.4
10.5.6
Patch Changes
-
[patch]f5b654c328, (opens new window):
Added a new
ScrollBehaviorvalueinside-wideto support showing modals on pages with body wider than viewport width.- [patch]89bf723567, (opens new window):FIX:
scrollBehavior: outsideFirefox scroll issue- Updated dependencies 603413f530, (opens new window): -
Updated dependencies 168b5f90e5, (opens new window):
-
Updated dependencies 0c270847cb, (opens new window):
-
Updated dependencies 109004a98e, (opens new window):
-
Updated dependencies b9903e773a, (opens new window):
- @atlaskit/portal@3.1.7
- @atlaskit/docs@8.5.1
- @atlaskit/theme@9.5.3
- @atlaskit/analytics-next@6.3.6
- @atlaskit/button@13.3.10
10.5.5
Patch Changes
-
[patch]4d3749c9e6, (opens new window):
Upgraded react-scrolllock package- Updated dependencies 294c05bcdf, (opens new window):
-
Updated dependencies dae900bf82, (opens new window):
-
Updated dependencies 8c9e4f1ec6, (opens new window):
- @atlaskit/form@7.2.0
- @atlaskit/build-utils@2.6.4
- @atlaskit/docs@8.5.0
10.5.4
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-radio-group@7.0.2
- @atlaskit/avatar@17.1.9
- @atlaskit/button@13.3.9
- @atlaskit/checkbox@10.1.10
- @atlaskit/form@7.1.5
- @atlaskit/inline-dialog@12.1.11
- @atlaskit/select@11.0.9
- @atlaskit/textfield@3.1.9
10.5.3
Patch Changes
- Updated dependencies
e3f01787dd, (opens new window):
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/avatar@17.1.8
- @atlaskit/button@13.3.8
- @atlaskit/checkbox@10.1.9
- @atlaskit/form@7.1.4
- @atlaskit/inline-dialog@12.1.10
- @atlaskit/select@11.0.8
- @atlaskit/textfield@3.1.8
10.5.2
Patch Changes
-
[patch]6548261c9a, (opens new window):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a, (opens new window):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/analytics-next@6.3.5
- @atlaskit/avatar@17.1.7
- @atlaskit/blanket@10.0.17
- @atlaskit/button@13.3.7
- @atlaskit/checkbox@10.1.7
- @atlaskit/field-radio-group@7.0.1
- @atlaskit/form@7.1.2
- @atlaskit/icon@20.0.1
- @atlaskit/inline-dialog@12.1.9
- @atlaskit/portal@3.1.6
- @atlaskit/select@11.0.7
- @atlaskit/textfield@3.1.6
- @atlaskit/theme@9.5.1
10.5.1
Patch Changes
- Updated dependencies c0102a3ea2, (opens new window):
- Updated dependencies
b9dc265bc9, (opens new window):
- @atlaskit/field-radio-group@7.0.0
- @atlaskit/icon@20.0.0
- @atlaskit/avatar@17.1.6
- @atlaskit/form@7.1.1
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/checkbox@10.1.6
- @atlaskit/inline-dialog@12.1.8
- @atlaskit/portal@3.1.5
- @atlaskit/select@11.0.6
- @atlaskit/textfield@3.1.5
10.5.0
Minor Changes
-
[minor]24865cfaff, (opens new window):
Allowing support for using with new react-beautiful-dnd 12.x API
Patch Changes
-
[patch]24865cfaff, (opens new window):
Form has been converted to Typescript. TypeScript consumers will now get static type safety. Flow types are no longer provided. No API changes.- Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
-
Updated dependencies 24865cfaff, (opens new window):
- @atlaskit/analytics-next@6.3.3
- @atlaskit/select@11.0.3
- @atlaskit/form@7.0.0
- @atlaskit/checkbox@10.1.4
- @atlaskit/field-text@9.0.14
- @atlaskit/textfield@3.1.4
- @atlaskit/avatar@17.1.5
- @atlaskit/inline-dialog@12.1.6
10.4.0
Minor Changes
-
[minor]1ed27f5f85, (opens new window):
Adds prop types for Header / Footer render props.
10.3.6
- Updated dependencies
30acc30979, (opens new window):
- @atlaskit/form@6.3.2
- @atlaskit/inline-dialog@12.1.5
- @atlaskit/select@11.0.0
- @atlaskit/button@13.3.4
10.3.5
Patch Changes
-
[patch]b39742b616, (opens new window):
fixed type for the actions props
10.3.4
Patch Changes
-
[patch]f86839ca4e, (opens new window):
@atlaskit/portal had an issue in IE11 and this is fixed in 3.1.2
10.3.3
Patch Changes
-
[patch]35d2229b2a, (opens new window):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
10.3.2
Patch Changes
-
[patch]a2d0043716, (opens new window):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
10.3.1
- Updated dependencies
97bab7fd28, (opens new window):
- @atlaskit/button@13.3.1
- @atlaskit/form@6.2.3
- @atlaskit/select@10.1.1
- @atlaskit/checkbox@10.0.0
- @atlaskit/docs@8.1.7
10.3.0
Minor Changes
-
[minor]66e147e6a1, (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.
10.2.1
- Updated dependencies
8d0f37c23e, (opens new window):
- @atlaskit/textfield@3.0.6
- @atlaskit/avatar@17.0.0
- @atlaskit/theme@9.2.2
10.2.0
Minor Changes
-
[minor]c6efb2f5b6, (opens new window):
Prefix the legacy lifecycle methods with UNSAFE_* to avoid warning in React 16.9+
More information about the deprecation of lifecycles methods can be found here: https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes, (opens new window)
10.1.9
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
10.1.8
Patch Changes
-
[patch]0d7d459f1a, (opens new window):
Fixes type errors which were incompatible with TS 3.6
10.1.7
Patch Changes
-
[patch]f4ba40109f, (opens new window):
Refactors modal-dialog's styled component props
10.1.6
Patch Changes
-
[patch]ecca4d1dbb, (opens new window):
Upgraded Typescript to 3.3.x
10.1.5
Patch Changes
-
[patch]708028db86, (opens new window):
Change all the imports to theme in Core to use multi entry points
10.1.4
Patch Changes
-
[patch]de35ce8c67, (opens new window):
Updates component maintainers
10.1.3
Patch Changes
-
[patch]926b43142b, (opens new window):
Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
Breaking changes
withAnalyticsForSumTypePropsalias has been removed, please usewithAnalyticsEventsAnalyticsContextWrappedCompalias has been removed, please usewithAnalyticsContext
Breaking changes to TypeScript annotations
withAnalyticsEventsnow infers proptypes automatically, consumers no longer need to provide props as a generic type.withAnalyticsContextnow infers proptypes automatically, consumers no longer need to provide props as a generic type.- Type
WithAnalyticsEventPropshas been renamed toWithAnalyticsEventsPropsto match source code - Type
CreateUIAnalyticsEventSignaturehas been renamed toCreateUIAnalyticsEventto match source code - Type
UIAnalyticsEventHandlerSignaturehas been renamed toUIAnalyticsEventHandlerto match source code - Type
AnalyticsEventsPayloadhas been renamed toAnalyticsEventPayload - Type
ObjectTypehas been removed, please useRecord<string, any>or[key: string]: any - Type
UIAnalyticsEventInterfacehas been removed, please useUIAnalyticsEvent - Type
AnalyticsEventInterfacehas been removed, please useAnalyticsEvent - Type
CreateAndFireEventFunctionremoved and should now be inferred by TypeScript - Type
AnalyticsEventUpdaterremoved and should now be inferred by TypeScript
10.1.2
- Updated dependencies
84887b940c, (opens new window):
- @atlaskit/form@6.1.7
- @atlaskit/icon@19.0.2
- @atlaskit/textfield@3.0.0
10.1.1
Patch Changes
-
[patch]688f2957ca, (opens new window):
Fixes various TypeScript errors which were previously failing silently
10.1.0
Minor Changes
-
[minor]eb7b748d59, (opens new window):
Modal-dialog padding now matches AGD and GUI pack
10.0.14
Patch Changes
-
[patch]9f8ab1084b, (opens new window):
Consume analytics-next ts type definitions as an ambient declaration.
10.0.13
Patch Changes
-
[patch]bbff8a7d87, (opens new window):
Fixes bug, missing version.json file
10.0.12
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
10.0.11
Patch Changes
-
[patch]d0db01b410, (opens new window):
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
Before:
withAnalyticsEvents()(Button) as ComponentClass<Props>;After:
withAnalyticsEvents<Props>()(Button);
10.0.10
- Updated dependencies
790e66bece, (opens new window):
- @atlaskit/button@13.0.11
- @atlaskit/form@6.1.4
- @atlaskit/inline-dialog@12.0.5
- @atlaskit/select@10.0.0
10.0.9
Patch Changes
-
[patch]0342746c45, (opens new window):
Closing a dialog in IE11 specific event key
10.0.8
- Updated dependencies
87a2638655, (opens new window):
- @atlaskit/button@13.0.10
- @atlaskit/form@6.1.2
- @atlaskit/select@9.1.10
- @atlaskit/checkbox@9.0.0
10.0.7
- Updated dependencies
06326ef3f7, (opens new window):
- @atlaskit/docs@8.1.3
- @atlaskit/avatar@16.0.6
- @atlaskit/button@13.0.9
- @atlaskit/checkbox@8.0.5
- @atlaskit/field-radio-group@6.0.4
- @atlaskit/form@6.1.1
- @atlaskit/inline-dialog@12.0.3
- @atlaskit/portal@3.0.7
- @atlaskit/select@9.1.8
- @atlaskit/textfield@2.0.3
- @atlaskit/icon@19.0.0
10.0.6
Patch Changes
-
[patch]4615439434, (opens new window):
index.ts will now be ignored when publishing to npm
10.0.5
Patch Changes
-
[patch]02f1f73671, (opens new window):
headingprop type changed from string to React.ReactNode. This provides more flexibility for consumers to provide i18n components like FormattedMessage.
10.0.4
- Updated dependencies
cfc3c8adb3, (opens new window):
- @atlaskit/docs@8.1.2
- @atlaskit/avatar@16.0.3
- @atlaskit/button@13.0.8
- @atlaskit/checkbox@8.0.2
- @atlaskit/field-radio-group@6.0.2
- @atlaskit/form@6.0.5
- @atlaskit/inline-dialog@12.0.1
- @atlaskit/portal@3.0.3
- @atlaskit/select@9.1.5
- @atlaskit/textfield@2.0.1
- @atlaskit/icon@18.0.0
10.0.3
- Updated dependencies
181209d135, (opens new window):
- @atlaskit/portal@3.0.2
- @atlaskit/inline-dialog@12.0.0
10.0.2
- Updated dependencies
70862830d6, (opens new window):
- @atlaskit/button@13.0.6
- @atlaskit/form@6.0.4
- @atlaskit/select@9.1.4
- @atlaskit/checkbox@8.0.0
- @atlaskit/icon@17.2.0
- @atlaskit/theme@9.1.0
10.0.1
- [patch]b0ef06c685, (opens new window):
- This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
10.0.0
-
[major]06c5cccf9d, (opens new window):
- modal-dialog has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
-
[patch]c3ab82ed42, (opens new window):
- Bump react-focus-lock to latest 1.19.1, it will fix a bug with document.activeElement
-
Updated dependencies dacfb81ca1, (opens new window):
- @atlaskit/portal@3.0.0
9.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.
8.0.9
- Updated dependencies 6cdf11238d, (opens new window):
- Updated dependencies
5b6b4d6a0f, (opens new window):
- @atlaskit/form@5.2.10
- @atlaskit/textfield@1.0.0
- @atlaskit/portal@1.0.0
8.0.8
- Updated dependencies
38dab947e6, (opens new window):
- @atlaskit/blanket@9.0.0
8.0.7
- Updated dependencies
9c0b4744be, (opens new window):
- @atlaskit/docs@7.0.3
- @atlaskit/avatar@15.0.4
- @atlaskit/blanket@8.0.3
- @atlaskit/button@12.0.3
- @atlaskit/checkbox@6.0.4
- @atlaskit/field-radio-group@5.0.3
- @atlaskit/field-text@8.0.3
- @atlaskit/form@5.2.7
- @atlaskit/icon@16.0.9
- @atlaskit/inline-dialog@10.0.4
- @atlaskit/select@8.1.1
- @atlaskit/textfield@0.4.4
- @atlaskit/theme@8.1.7
8.0.6
- Updated dependencies
1e826b2966, (opens new window):
- @atlaskit/docs@7.0.2
- @atlaskit/analytics-next@4.0.3
- @atlaskit/avatar@15.0.3
- @atlaskit/blanket@8.0.2
- @atlaskit/checkbox@6.0.3
- @atlaskit/field-radio-group@5.0.2
- @atlaskit/field-text@8.0.2
- @atlaskit/form@5.2.5
- @atlaskit/icon@16.0.8
- @atlaskit/inline-dialog@10.0.3
- @atlaskit/portal@0.3.1
- @atlaskit/select@8.0.5
- @atlaskit/textfield@0.4.3
- @atlaskit/theme@8.1.6
- @atlaskit/button@12.0.0
8.0.5
-
[patch]cc8378fcd4, (opens new window):
- Modal-dialog has been migrated from styled-components to Emotion (v10)
- styled-components is no longer a peer-dependency
- Render props Body, Header, Footer and Container continue to get styles applied via className
- Fixes an issue with modal contents that re-rendered on resize
- Fixes an issue with forms losing state
- SSR now works out of the box
Warning
Emotion 10 does not provide support for Enzyme shallow rendering, (opens new window). This is due to the fact that uses it's own JSX pragma, (opens new window) to support the CSS prop, (opens new window). The pragma internally wraps components and attaches a sibling style tag. Consequently, these implementation details may now be visible as conflicts in your snapshot tests and may be the cause of test failures for cases that reach into modal-dialog.
If you are using Enzyme to test components dependent on Modal-Dialog, you may need to replace calls to shallow(), (opens new window) with a call to mount(), (opens new window) instead.
For more information please see: Migrating to Emotion 10, (opens new window)
8.0.4
- Updated dependencies
ce4e1b4780, (opens new window):
- @atlaskit/portal@0.3.0
8.0.3
- Updated dependencies
8eff47cacb, (opens new window):
- @atlaskit/form@5.2.3
- @atlaskit/textfield@0.4.0
8.0.2
- Updated dependencies
9d5cc39394, (opens new window):
- @atlaskit/docs@7.0.1
- @atlaskit/analytics-next@4.0.1
- @atlaskit/avatar@15.0.1
- @atlaskit/blanket@8.0.1
- @atlaskit/checkbox@6.0.1
- @atlaskit/field-radio-group@5.0.1
- @atlaskit/field-text@8.0.1
- @atlaskit/form@5.2.1
- @atlaskit/icon@16.0.5
- @atlaskit/inline-dialog@10.0.1
- @atlaskit/portal@0.2.1
- @atlaskit/select@8.0.3
- @atlaskit/textfield@0.3.1
- @atlaskit/theme@8.0.1
- @atlaskit/button@11.0.0
8.0.1
- [patch]0f764dbd7c, (opens new window):
- Modal-dialog no longer shows unnecessary scrollbars in modern browsers
8.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.
7.3.0
- [minor]f26a3d0235, (opens new window):
- Added media queries to make Modal Dialogs Responsive
7.2.4
- Updated dependencies
e9b824bf86, (opens new window):
- @atlaskit/form@5.1.7
- @atlaskit/textfield@0.2.0
7.2.3
- [patch]06713e0a0c, (opens new window):
- popup select "target" is now a function that must resolve to a node
7.2.2
-
[patch]a7670c1488, (opens new window):
- Enabling handling focus in model-dialog by rendering component in model-dialog only after portal in model-dialog is attached to DOM.
-
Updated dependencies 27cacd44ab, (opens new window):
- @atlaskit/portal@0.1.0
7.2.1
- Updated dependencies
d7ef59d432, (opens new window):
- @atlaskit/docs@6.0.1
- @atlaskit/avatar@14.1.8
- @atlaskit/button@10.1.2
- @atlaskit/checkbox@5.0.11
- @atlaskit/field-radio-group@4.0.15
- @atlaskit/form@5.1.2
- @atlaskit/inline-dialog@9.0.14
- @atlaskit/portal@0.0.18
- @atlaskit/select@6.1.19
- @atlaskit/icon@16.0.0
7.2.0
- [minor]07c4cd1, (opens new window):
- Feature:
componentsprop now has an optionalcontainerentry that is wrapped around the header, body and footer. This provides compatibility for forms with fields in the body, and submit buttons in the footer - API changes:
- The
header,bodyandfooterprops have been deprecated; such custom components should be passed within thecomponentsprop instead. - Custom
Bodycomponents passed in using the new method must contain arefelement; this can be done using forwardRef, as seen in thecustomexample.
- The
- Documentation: Examples have been updated to demonstrate the new container prop, as well as utilise the new composition method for custom header/body/footers.
- Feature:
7.1.2
- [patch]2686f21, (opens new window):
- Removed example demonstrating deprecated reference behaviour
7.1.1
- Updated dependencies 58b84fa, (opens new window):
- @atlaskit/analytics-next@3.1.2
- @atlaskit/avatar@14.1.7
- @atlaskit/blanket@7.0.12
- @atlaskit/button@10.1.1
- @atlaskit/checkbox@5.0.9
- @atlaskit/field-radio-group@4.0.14
- @atlaskit/field-text@7.0.18
- @atlaskit/icon@15.0.2
- @atlaskit/inline-dialog@9.0.13
- @atlaskit/portal@0.0.17
- @atlaskit/select@6.1.13
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
7.1.0
- [minor]7f99dec, (opens new window):
- Fix usage of PopupSelect inside ModalDialog
7.0.14
- Updated dependencies d13242d, (opens new window):
- @atlaskit/docs@5.2.3
- @atlaskit/blanket@7.0.11
- @atlaskit/button@10.0.4
- @atlaskit/checkbox@5.0.8
- @atlaskit/field-radio-group@4.0.13
- @atlaskit/field-text@7.0.16
- @atlaskit/icon@15.0.1
- @atlaskit/inline-dialog@9.0.12
- @atlaskit/theme@7.0.0
- @atlaskit/avatar@14.1.6
7.0.13
- Updated dependencies ab9b69c, (opens new window):
- @atlaskit/docs@5.2.2
- @atlaskit/avatar@14.1.5
- @atlaskit/button@10.0.1
- @atlaskit/checkbox@5.0.7
- @atlaskit/field-radio-group@4.0.12
- @atlaskit/inline-dialog@9.0.11
- @atlaskit/portal@0.0.16
- @atlaskit/icon@15.0.0
7.0.12
- Updated dependencies 6998f11, (opens new window):
- @atlaskit/docs@5.2.1
- @atlaskit/analytics-next@3.1.1
- @atlaskit/avatar@14.1.4
- @atlaskit/blanket@7.0.10
- @atlaskit/checkbox@5.0.6
- @atlaskit/field-radio-group@4.0.11
- @atlaskit/field-text@7.0.15
- @atlaskit/icon@14.6.1
- @atlaskit/inline-dialog@9.0.10
- @atlaskit/portal@0.0.15
- @atlaskit/theme@6.2.1
- @atlaskit/button@10.0.0
7.0.11
- [patch]abd3a39, (opens new window):
- Bump react-beautiful-dnd dependency to v10.0.2
7.0.10
-
[patch]e151c1a, (opens new window):
- Removes dependency on @atlaskit/layer-manager
As of component versions:
- `@atlaskit/modal-dialog@7.0.0`
- `@atlaskit/tooltip@12.0.2`
- `@atlaskit/flag@9.0.6`
- `@atlaskit/onboarding@6.0.0`
No component requires `LayerManager` to layer correctly.
You can safely remove this dependency and stop rendering `LayerManager` in your apps.
7.0.9
- [patch]1fb2c2a, (opens new window):
- Fixed issue where tooltips and modals would initially render in the wrong location
7.0.8
- Updated dependencies 3f5a4dd, (opens new window):
- @atlaskit/portal@0.0.13
7.0.7
- [patch]a637f5e, (opens new window):
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow to type check properly
7.0.6
- [patch]7cbd729, (opens new window):
- Fixes visual bug where header and footer keylines appeared below textboxes and other components
7.0.5
-
[patch]72bc8da, (opens new window):
- Removes reference to window in initial state to properly support ssr
-
[patch]b332c91, (opens new window):
- upgrades verison of react-scrolllock to SSR safe version
7.0.4
- [patch] Updated dependencies
aaab348, (opens new window)
- @atlaskit/portal@0.0.12
7.0.3
- [patch] Adds missing implicit @babel/runtime dependency b71751b, (opens new window)
7.0.2
- [patch] Updated dependencies
65c6514, (opens new window)
- @atlaskit/docs@5.0.8
- @atlaskit/avatar@14.0.11
- @atlaskit/button@9.0.13
- @atlaskit/checkbox@5.0.2
- @atlaskit/field-radio-group@4.0.8
- @atlaskit/inline-dialog@9.0.6
- @atlaskit/layer-manager@5.0.13
- @atlaskit/portal@0.0.10
- @atlaskit/icon@14.0.0
7.0.1
- [patch] Updated dependencies
80e1925, (opens new window)
- @atlaskit/button@9.0.9
- @atlaskit/checkbox@5.0.0
7.0.0
- [patch] Updates dependency on portal b46385f, (opens new window)
- [major] Changes the pattern for using dialogs. Adds ModalTransition component to @atlaskit/modal-dialog. See the migration guide, (opens new window) for more information. d5a043a, (opens new window)
6.0.12
- [patch] Bump react-focus-lock to fix issues with selecting text in Safari. 62dc9fc, (opens new window)
6.0.11
- [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04, (opens new window)
6.0.9
- [patch] Updated dependencies
df22ad8, (opens new window)
- @atlaskit/theme@6.0.0
- @atlaskit/layer-manager@5.0.6
- @atlaskit/inline-dialog@9.0.2
- @atlaskit/icon@13.2.5
- @atlaskit/field-text@7.0.6
- @atlaskit/field-radio-group@4.0.5
- @atlaskit/checkbox@4.0.4
- @atlaskit/button@9.0.6
- @atlaskit/blanket@7.0.5
- @atlaskit/avatar@14.0.8
- @atlaskit/docs@5.0.6
6.0.8
- [patch] Updated dependencies
1d9e75a, (opens new window)
- @atlaskit/inline-dialog@9.0.0
- [none] Updated dependencies
a3109d3, (opens new window)
- @atlaskit/inline-dialog@9.0.0
- [none] Updated dependencies
87d45d3, (opens new window)
- @atlaskit/inline-dialog@9.0.0
- [none] Updated dependencies
a08b0c2, (opens new window)
- @atlaskit/inline-dialog@9.0.0
6.0.7
- [patch] Bumping react-beautiful-dnd to version 9. Making use of use onBeforeDragStart for dynamic table 9cbd494, (opens new window)
- [none] Updated dependencies 9cbd494, (opens new window)
6.0.6
- [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/inline-dialog@8.0.4
- @atlaskit/field-text@7.0.4
- @atlaskit/analytics-next@3.0.4
- @atlaskit/checkbox@4.0.3
- @atlaskit/button@9.0.5
- @atlaskit/theme@5.1.3
- @atlaskit/blanket@7.0.4
- @atlaskit/field-radio-group@4.0.4
- @atlaskit/layer-manager@5.0.5
- @atlaskit/icon@13.2.4
- @atlaskit/avatar@14.0.6
6.0.5
- [patch] Updated dependencies
acd86a1, (opens new window)
- @atlaskit/inline-dialog@8.0.3
- @atlaskit/layer-manager@5.0.4
- @atlaskit/icon@13.2.2
- @atlaskit/field-radio-group@4.0.3
- @atlaskit/checkbox@4.0.2
- @atlaskit/button@9.0.4
- @atlaskit/theme@5.1.2
- @atlaskit/field-text@7.0.3
- @atlaskit/blanket@7.0.3
- @atlaskit/analytics-next@3.0.3
- @atlaskit/docs@5.0.2
- @atlaskit/avatar@14.0.5
6.0.4
- [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/inline-dialog@8.0.2
- @atlaskit/field-text@7.0.2
- @atlaskit/analytics-next@3.0.2
- @atlaskit/checkbox@4.0.1
- @atlaskit/button@9.0.3
- @atlaskit/theme@5.1.1
- @atlaskit/blanket@7.0.2
- @atlaskit/field-radio-group@4.0.2
- @atlaskit/layer-manager@5.0.3
- @atlaskit/icon@13.2.1
- @atlaskit/avatar@14.0.4
6.0.3
- [patch] Upgrading react-beautiful-dnd to 8.0.1 87cd977, (opens new window)
- [patch] Upgrading react-beautiful-dnd to 8.0.0 22efc08, (opens new window)
- [none] Updated dependencies 87cd977, (opens new window)
- [none] Updated dependencies 22efc08, (opens new window)
6.0.2
- [patch] Upgrading react-beautiful-dnd to 8.0.5 6052132, (opens new window)
- [none] Updated dependencies 6052132, (opens new window)
6.0.1
- [patch] Move analytics tests and replace elements to core 49d4ab4, (opens new window)
- [none] Updated dependencies
49d4ab4, (opens new window)
- @atlaskit/inline-dialog@8.0.1
- @atlaskit/field-text@7.0.1
- @atlaskit/analytics-next@3.0.1
- @atlaskit/button@9.0.2
- @atlaskit/docs@5.0.1
- @atlaskit/blanket@7.0.1
- @atlaskit/field-radio-group@4.0.1
- @atlaskit/avatar@14.0.2
6.0.0
- [major] Provides analytics for common component interations. See the Instrumented Components, (opens new window) section for more details. If you are using enzyme for testing you will have to use our forked version of the library, (opens new window). 563a7eb, (opens new window)
- [major] Updates to React ^16.4.0 7edb866, (opens new window)
- [major] Updated dependencies
563a7eb, (opens new window)
- @atlaskit/inline-dialog@8.0.0
- @atlaskit/field-text@7.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/checkbox@4.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/blanket@7.0.0
- @atlaskit/field-radio-group@4.0.0
- @atlaskit/layer-manager@5.0.0
- @atlaskit/icon@13.0.0
- @atlaskit/avatar@14.0.0
- [major] Updated dependencies
7edb866, (opens new window)
- @atlaskit/inline-dialog@8.0.0
- @atlaskit/field-text@7.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/checkbox@4.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/blanket@7.0.0
- @atlaskit/field-radio-group@4.0.0
- @atlaskit/layer-manager@5.0.0
- @atlaskit/icon@13.0.0
- @atlaskit/avatar@14.0.0
5.2.8
- [none] Updated dependencies
da63331, (opens new window)
- @atlaskit/button@8.2.5
- @atlaskit/avatar@13.0.0
- [patch] Updated dependencies
7724115, (opens new window)
- @atlaskit/avatar@13.0.0
- @atlaskit/button@8.2.5
5.2.7
- [patch] Updated dependencies
8a01bcd, (opens new window)
- @atlaskit/avatar@12.0.0
5.2.6
- [patch] Remove or update $FlowFixMe e8ad98a, (opens new window)
- [none] Updated dependencies
e8ad98a, (opens new window)
- @atlaskit/field-text@6.1.1
- @atlaskit/button@8.2.4
- @atlaskit/field-radio-group@3.1.3
- @atlaskit/icon@12.6.1
- @atlaskit/avatar@11.2.2
5.2.5
- [patch] Fix $FlowFixMe and release packages 25d0b2d, (opens new window)
- [none] Updated dependencies
25d0b2d, (opens new window)
- @atlaskit/inline-dialog@7.1.3
- @atlaskit/button@8.2.2
- @atlaskit/checkbox@3.1.2
- @atlaskit/field-radio-group@3.1.2
- @atlaskit/icon@12.3.1
- @atlaskit/avatar@11.2.1
5.2.4
- [patch] Replaces implementation of ScrollLock with react-scrolllock, (opens new window). Deprecates ScrollLock export in @atlaskit/layer-manager. 497d50d, (opens new window)
- [none] Updated dependencies
497d50d, (opens new window)
- @atlaskit/layer-manager@4.3.1
5.2.3
- [patch] Upgrading react-beautiful-dnd dependency to ^7.1.3 024b7fb, (opens new window)
- [patch] Updated dependencies 024b7fb, (opens new window)
5.2.2
- [patch] Clean Changelogs - remove duplicates and empty entries e7756cd, (opens new window)
- [none] Updated dependencies
e7756cd, (opens new window)
- @atlaskit/inline-dialog@7.1.2
- @atlaskit/field-text@6.0.4
- @atlaskit/button@8.1.2
- @atlaskit/theme@4.0.4
- @atlaskit/checkbox@3.0.6
- @atlaskit/field-radio-group@3.0.4
- @atlaskit/layer-manager@4.2.1
- @atlaskit/icon@12.1.2
5.2.1
- [patch] Removes tabbable and focusin dependencies 274e773, (opens new window)
- [none] Updated dependencies 274e773, (opens new window)
5.2.0
-
[minor] Deprecates the ability to pass a function to the autoFocus prop. Changes implementation of FocusLock to use react-focus-lock, (opens new window). 5b1ab0b, (opens new window)
-
[none] Updated dependencies 5b1ab0b, (opens new window)
- @atlaskit/layer-manager@4.2.0
-
[none] Updated dependencies de9690b, (opens new window)
- @atlaskit/layer-manager@4.2.0
5.1.1
- [patch] Update changelogs to remove duplicate cc58e17, (opens new window)
- [none] Updated dependencies
cc58e17, (opens new window)
- @atlaskit/theme@4.0.3
- @atlaskit/layer-manager@4.1.1
- @atlaskit/inline-dialog@7.1.1
- @atlaskit/icon@12.1.1
- @atlaskit/field-radio-group@3.0.3
- @atlaskit/checkbox@3.0.5
- @atlaskit/button@8.1.1
- @atlaskit/blanket@6.0.3
- @atlaskit/avatar@11.1.1
- @atlaskit/docs@4.1.1
5.1.0
- [none] Updated dependencies
9d20f54, (opens new window)
- @atlaskit/inline-dialog@7.1.0
- @atlaskit/layer-manager@4.1.0
- @atlaskit/avatar@11.1.0
- @atlaskit/icon@12.1.0
- @atlaskit/field-radio-group@3.0.2
- @atlaskit/checkbox@3.0.4
- @atlaskit/docs@4.1.0
- @atlaskit/theme@4.0.2
- @atlaskit/field-text@6.0.2
- @atlaskit/blanket@6.0.2
- @atlaskit/button@8.1.0
5.0.1
- [patch] Update readme's 223cd67, (opens new window)
- [patch] Updated dependencies
223cd67, (opens new window)
- @atlaskit/layer-manager@4.0.1
- @atlaskit/icon@12.0.1
- @atlaskit/inline-dialog@7.0.1
- @atlaskit/field-radio-group@3.0.1
- @atlaskit/field-text@6.0.1
- @atlaskit/checkbox@3.0.1
- @atlaskit/button@8.0.1
- @atlaskit/theme@4.0.1
- @atlaskit/blanket@6.0.1
- @atlaskit/docs@4.0.1
- @atlaskit/avatar@11.0.1
5.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 1e80619, (opens new window)
- [patch] Updated dependencies
1e80619, (opens new window)
- @atlaskit/layer-manager@4.0.0
- @atlaskit/icon@12.0.0
- @atlaskit/inline-dialog@7.0.0
- @atlaskit/field-radio-group@3.0.0
- @atlaskit/field-text@6.0.0
- @atlaskit/checkbox@3.0.0
- @atlaskit/button@8.0.0
- @atlaskit/theme@4.0.0
- @atlaskit/blanket@6.0.0
- @atlaskit/docs@4.0.0
- @atlaskit/avatar@11.0.0
4.0.5
- [patch] Updated dependencies
d662caa, (opens new window)
- @atlaskit/icon@11.3.0
- @atlaskit/layer-manager@3.0.4
- @atlaskit/inline-dialog@6.0.2
- @atlaskit/field-radio-group@2.0.3
- @atlaskit/field-text@5.0.3
- @atlaskit/checkbox@2.0.2
- @atlaskit/button@7.2.5
- @atlaskit/theme@3.2.2
- @atlaskit/blanket@5.0.2
- @atlaskit/avatar@10.0.6
- @atlaskit/docs@3.0.4
4.0.2
- [patch] AK-4416 changes meaning of autofocus prop values c831a3d, (opens new window)
4.0.1
- [patch] Add possibility to display heading in modal in one line (with ellipsis if content is wider than modal) 30883b4, (opens new window)
4.0.0
- [major] Bump to React 16.3. 4251858, (opens new window)
3.5.1
- [patch] Re-releasing due to potentially broken babel release 9ed0bba, (opens new window)
3.5.0
- [minor] Updated website to use iframe to load examples. Example loader now in a separate react app. Webpack config refactored to compile separate example loader, chunking refactored to be more performant with the new website changes. Updated modal-dialog to use new component structure to optionally specify a Body wrapping component. e1fdfd8, (opens new window)
3.4.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30, (opens new window)
3.3.15
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2, (opens new window) 1e57e5a, (opens new window)
3.3.14
- [patch] Fix react-beautiful-dnd position issues when used inside a modal dialog cfda546, (opens new window)
3.3.12
- [patch] Remove babel-plugin-react-flow-props-to-prop-types 06c1f08, (opens new window)
3.3.11
- [patch] Packages Flow types for elements components 3111e74, (opens new window)
3.3.9
- [patch] Updated inline-dialog to include boundaries element prop, updated Layer to have dynamic boolean escapeWithReference property, updated modal-dialog Content component with overflow-x:hidden' cb72752, (opens new window)
3.3.8
- [patch] Prevent window from being scrolled programmatically 3e3085c, (opens new window)
3.3.5
- [patch] Migrate Navigation from Ak repo to ak mk 2 repo, Fixed flow typing inconsistencies in ak mk 2 bdeef5b, (opens new window)
3.3.4
- [patch] Fix modal appearing behind navigation's drawer blanket when layer manager is not used a6c6e5e, (opens new window)
3.3.3
- [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website, $ 007de27, (opens new window)
3.3.2
- [patch] Fix modal height being clipped by destination parent c30e7b0, (opens new window)
3.3.1
- [patch] Migration of Blanket to mk2 repo 1c55d97, (opens new window)
3.3.0
- [minor] Add React 16 support. 12ea6e4, (opens new window)
3.2.5
- [patch] Migrate modal-dialog to ak mk 2 update deps and add flow types a91cefe, (opens new window)
3.2.4 (2017-11-30)
- bug fix; fix modal dialog not shrinking to viewport height in IE11 (issues closed: ak-3879) (d3bb5cd, (opens new window))
3.2.3 (2017-11-30)
- bug fix; release stories with fixed console errors (3321c2b, (opens new window))
3.2.2 (2017-11-17)
- bug fix; bumping internal dependencies to latest major version (3aefbce, (opens new window))
3.2.1 (2017-11-13)
- bug fix; remove chrome from the wrapping dialog (issues closed: #67) (21f3a0e, (opens new window))
3.2.0 (2017-10-26)
- bug fix; add deprecation warning to spotlight package (3ea2312, (opens new window))
- feature; cleanup layer-manager and modal-dialog in preparation for onboarding (02a516b, (opens new window))
3.1.3 (2017-10-26)
- bug fix; fix to rebuild stories (793b2a7, (opens new window))
3.1.2 (2017-10-22)
- bug fix; update styled-components dep and react peerDep (6a67bf8, (opens new window))
3.1.1 (2017-10-12)
- bug fix; bumps version of Page (issues closed: ak-3680) (8713649, (opens new window))
3.1.0 (2017-10-11)
- feature; add chromeless option to modal to support Connect JSAPI (5ca6a65, (opens new window))
3.0.2 (2017-10-05)
- bug fix; resolve error in modal dialog (issues closed: ak-3623) (2052679, (opens new window))
3.0.1 (2017-09-26)
- bug fix; update webpack raw path (issues closed: ak-3589) (0aa9737, (opens new window))
3.0.0 (2017-09-13)
- breaking; onDialogDismissed = onClose, isOpen prop removed, just render the modal to display it (3819bac, (opens new window))
- breaking; major overhaul to modal implementation and behaviour (issues closed: ak-2972, ak-3343) (3819bac, (opens new window))
2.6.0 (2017-08-07)
- feature; Added support for custom modal heights, with the new
ModalDialog.heightprop. It accepts a number (converted topx) or string (not converted topx, so you can use any unit you like such as%,vh, etc). (issues closed: ak-1723) (3c1f537, (opens new window))
2.5.2 (2017-07-27)
- fix; rename jsnext:main to jsnext:experimental:main temporarily (c7508e0, (opens new window))
2.5.1 (2017-07-25)
- fix; use class transform in loose mode in babel to improve load performance in apps (fde719a, (opens new window))
2.2.0 (2017-07-17)
- fix; rerelease, failed prepublish scripts (5fd82f8, (opens new window))
2.2.0 (2017-07-17)
- feature; added ES module builds to dist and add jsnext:main to most ADG packages (ea76507, (opens new window))
2.1.2 (2017-06-15)
- fix; avoid unwanted re-render of modal children when state/props change (7ae6324, (opens new window))
2.1.1 (2017-05-26)
- fix; add prop-types as a dependency to avoid React 15.x warnings (92598eb, (opens new window))
- fix; pin react-lorem-component version to avoid newly released broken version (6f3d9c6, (opens new window))
2.1.0 (2017-05-06)
- feature; animated entry/exit of modal dialog (e721aaa, (opens new window))
2.0.0 (2017-05-05)
- switch modal styling to styled-components (f9510b4, (opens new window))
- breaking; Modal dialog now has a peerDependency on the styled-components package.
- ISSUES CLOSED: AK-2290
1.3.3 (2017-05-03)
- fix; Fix child position:fixed elements being clipped (fc0a894, (opens new window))
1.3.2 (2017-04-27)
- fix; update legal copy to be more clear. Not all modules include ADG license. (f3a945e, (opens new window))
1.3.1 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454, (opens new window))
1.3.0 (2017-04-20)
- feature; removed explicit style! imports, set style-loader in webpack config (891fc3c, (opens new window))
1.2.15 (2017-03-31)
- fix; update modal story to use latest navigation devDep (5ed9946, (opens new window))
- fix; update modal story to use latest navigation devDep (c074080, (opens new window))
1.2.14 (2017-03-29)
- fix; only show scrolling keylines when header or footer shown (fd1c68a, (opens new window))
1.2.13 (2017-03-29)
- fix; fire onDialogDismissed when clicking on blanket directly below modal (1c9efb0, (opens new window))
1.2.10 (2017-03-21)
- fix; render rounded corners correctly when header/footer omitted (724480d, (opens new window))
- fix; maintainers for all the packages were added (261d00a, (opens new window))
1.2.9 (2017-02-28)
- fix; dummy commit to release stories (3df5d9f, (opens new window))
1.2.7 (2017-02-28)
- fix; dummy commit to fix broken stories and missing registry pages (a31e92a, (opens new window))
1.2.7 (2017-02-28)
- fix; dummy commit to release stories for components (a105c02, (opens new window))
1.2.6 (2017-02-28)
- fix; removes jsdoc annotations and moves content to usage.md (14f941a, (opens new window))
1.2.5 (2017-02-27)
- empty commit to make components release themselves (5511fbe, (opens new window))
1.2.4 (2017-02-13)
- Fix types for modal-dialog typescript declaration file (533adea, (opens new window))
1.2.3 (2017-02-08)
- fix; trigger modal close handler on esc key in older browsers (a692683, (opens new window))
1.2.2 (2017-02-07)
- fix; render dropdown in modal above footer (2b76812, (opens new window))
1.2.1 (2017-02-06)
- fix; layer navigation at correct level so it works with modal (5bef9db, (opens new window))