aui-toggle component is no longer triggering change event when property is changed programmatically.
Developers can manually trigger a change event if they really, really want to, and are willing to handle the potential infinite loop cases themselves.
Upgrading from 8.4 to 8.5
Form fields
A range of HTML markup patterns for form radio and checkbox fields were rendering
incorrectly in AUI 8.4, caused by the approach taken to style them.
When using a pure-CSS solution, some markup patterns would end up with invisible checkbox or radio glyphs.
The problem was tracked as AUI-5053.
The compromise was to add an additional explicit element via JavaScript and style that in AUI 8.5.
The <input> elements are visually hidden, and the new element is rendered to appear as a faux form field glyph.
This has implications for automated testing frameworks.
Selenium attempts to emulate what a real user would be able to do, so Selenium doesn't interact with hidden elements.
However, users are able to interact with these faux form fields correctly.
Mouse and screen-reader users can click the <label> element, which will focus and affect the <input>.
Keyboard users can still focus the <input> element and interact with it directly.
If you are using automated testing frameworks, you can adapt to the new form field styles in one of three ways:
Update your tests to interact with the field’s <label> rather than the <input> element directly.
Interacting with the label has the added benefit of testing that your forms are accessible to screen reader
users, since it demonstrates the DOM has a link between the two.
Use one of your testing tool's lower-level programmatic APIs to find the <input> element and click it.
For example, the following Java code can be used to control Selenium:
WebElement el = driver.findElement(By.id("visually-hidden-input"));
// this doesn't work out...
el.click();
// throws in webdriver 2 with something like "cannot click because another element is in the way"
// throws in webdriver 3 with "cannot scroll element in to view"
// this sometimes works out...
(new Actions(driver)).moveToElement(el).click().perform();
// works in webdriver 3 on zero-opacity, negative z-index, and clip-hacked elements ...
// fails in webdriver 3 if the element was clipped outside an overflow boundary.
// fails in webdriver 2
// this seemingly always works out...
((JavaScriptExecutor)driver).executeScript("arguments[0].click();", el);
// works in webdriver 3
// works in webdriver 2
During tests, override AUI’s CSS rule for hiding <input> fields, so your testing tool's default
behaviours will continue to work.
(Note that changing styles may invalidate any visual regression screenshots you are taking!)
When following any of these approaches, it is recommended you wrap them in an abstraction
— such as a "page object" —
so that tests can describe what they're testing, and the abstraction can handle the how.
Upgrading from 8.3 to 8.4
AUI 8.4.0 updates the style of form fields
Form styles
The form fields styles are updated to match ADG3. The biggest change is in input's background and borders.
We aimed for forms and form fields dimensions to stay the same.
We provide toggle for enabling legacy styles if you have a need for that.
To enable legacy styles add .aui-legacy-forms class to form element.
Form field aesthetic changes
The following differences exist between the old and new form field aesthetic:
Aspect
Old properties
New properties
Plain text input fields
1px border
#c1c7d0 border at rest
#ffffff background at rest
#ffffff background when focussed
#97a0af background when disabled
Operating System handles focus ring when focussed
2px border
N40 (#dfe1e6) border at rest
N10 (#fafbfc) background at rest
N0 (#ffffff) background when focussed
N80 (#97a0af)background and border when disabled
Border colour serves as focus ring when focussed
Select fields
1px border
#c1c7d0 border at rest
#ffffff background at rest
#ffffff background when focussed
#97a0af background when disabled
Operating System handles focus ring when focussed
2px border
N30 (#ebecf0)background and border at rest
N0 (#ffffff) background when focussed
N80 (#97a0af)background and border when disabled
#97a0af text when disabled
Border colour serves as focus ring when focussed
Checkbox and radio fields
Operating System handles rendering of field UI
Operating System handles focus ring when focussed
CSS pseudo-element renders UI inside field's <label> element
Border colour serves as focus ring when focussed
Field labels
400 font weight
500 font weight
Field-specific descriptions
12px text, 20px effective height
Appeared either underneath the field in a .description container, or in an inline dialog
that appeared when the field was focussed
11px text, 20px effective height
Always appear underneath the field as plain-text in a .description container
Field-specific errors
Appeared either underneath the field in an .error container, or in an inline dialog
that appeared when the field was focussed
Field is shown to be in error either by plain-text below
or red icon in the right margin of the field
Always appear underneath the field as plain-text in an .error container
These changes effectively bring the aesthetic of dropdown items in line with the treatment
given to items in AUI's vertical navigation pattern.
Form field notifications
AUI's form notifications
— the pattern of placing an icon within the right margin of a form field
and showing an inline dialog when focussing the field —
are now displayed as plain text descriptions below the field.
The icon is now redundant, so has been removed from form fields when notifications are shown.
We have deprecated data-aui-notification-field attributes in favour of using a plain HTML markup
instead.
If you have any overrides for base form styles they may have stopped working as we changed styles during the
update.
We use :not(.aui-legacy-forms) for new styles and .aui-legacy-forms for legacy ones.
This increases all specificity by one class.
Because of this you should either:
Remove any CSS overrides you may have made to AUI’s forms markup pattern.
Adjust your CSS overrides to handle both the :not(.aui-legacy-forms) and .aui-legacy-forms variants of the pattern.
When building for multiple products or multiple versions of a product you should remove your overrides, as ability to detect and address the correct version of the product is minimal.
Focus rings
As a part of forms refresh we added focus rings to focused elements.
Depending on your markup and CSS some of our focus rings can be clipped. Look for overflow: hidden, position: absolute and z-index in our code for possible source of problems.
We provide a css toggle to turn new styles off. To do this add .aui-legacy-focus class to body element.
Upgrading from 8.2 to 8.3
AUI 8.3.0 updates the style of messages and lozenges
Messages design
The new style of messages is based on Section Messages from Atlaskit.
This aims to bring ADGS closer to ADG3.
Borders are removed and type of message is now reflected by it's background instead.
Lozenges design
Text and background colors of both standard and subtle lozenges were updated and aligned with ADG3.
We've also aligned the names with Atlaskit introducing in progress and removed
lozenges as a replacement for current and error.
While there are no public API changes to these components, some of their implementation details
have changed and may need your attention when upgrading to this version.
AUI layering behaviour
The previous layering and alignment behaviours were provided by Tether.js.
We have replaced this library with Popper.js.
Our layers were previously positioned synchronously upon the layered element being shown. With this update,
layers are now positioned asynchronously in a requestAnimationFrame callback.
Our layered elements would previously receive CSS classes starting with aui-alignment-element-attached-
and aui-alignment-target-attached-. These CSS classes were an implementation detail
of Tether, and are no longer added.
CSS classes starting with aui-alignment-side- and aui-alignment-snap- are still available.
Upgrading from 7.9.x to 8.0
The AUI 8.0 release aims to achieve a few key things:
Make it easier to consume only the pieces of AUI that you need.
Re-evaluate what you get "by default" when importing AUI.
Remove dead and deprecated code.
Upgrade external library dependencies.
The release includes major backwards-incompatible changes to AUI.
All distributions of AUI are affected by this release.
Some distributions have changed shape, others have been removed or rebuilt from the ground up.
Major changes
The "core" and "experimental" concepts were removed from AUI.
These concepts referred to API stability and component maturity,
but were enshrined in many parts of AUI — from its documentation through to
its distribution bundle filenames.
Splitting AUI in this way often left consumers with little choice but to include all of
AUI's bundles in their production application, since
they could not specify what it was they actually needed.
AUI packaging
AUI 8.0 changes how the library is composed and distributed.
The library will be de-composed in to multiple Node packages over time.
Long-deprecated components will be delivered as separate Node packages and unbundled
from the main AUI package.
The "experimental" concept is gone from AUI. Instead, components under test will be delivered
as separate Node packages.
The "core" concept is gone from AUI. Instead, the various bundles of AUI
— both in Node and in the Atlassian Plugin — will include fewer
components by default.
AUI dependencies
Explicit dependencies on the pieces of AUI that are actually needed is encouraged over
inheriting components or behaviours as a side-effect.
jQuery and jQuery UI
New minimum versions
The minimum required version of jQuery is now 2.x, up from 1.7.2.
The version of jQuery UI that AUI uses has been bumped to 1.12.1.
If you are upgrading from jQuery 1.7.x or 1.8.x, you will need to be aware of the changes and removals
that jQuery made in 1.9.x and beyond. See the jQuery 1.9 upgrade guide
for more details.
Several features of jQuery were removed and externalised in the jQuery migrate plugin.
Some of these features have been "fixed" or otherwise had their behaviours changed after being
externalised in jQuery migrate, such as jQuery.browser.
You will need to need to audit your usage of jQuery APIs that were removed before jQuery 2.x,
pulling in jQuery migrate if necessary, and ensure that your code works with the new behaviours.
API status
AUI considers jQuery and jQuery UI to be a deprecated implementation detail of its components
and are not considered part of AUI's public API.
jQuery UI is a combination of several behavioural utilities, interface components,
and effects. Though useful, it is a painful set of code to pull in and depend upon, since it fundamentally relies
upon mutating a shared global object and encourages implicit dependencies that are hard to trace.
In AUI 8.0, all of jQuery UI's interface components have been removed from AUI. Developers depending upon jQuery
UI interface components should either use the equivalent AUI component, or import the specific jQuery UI components
they need within their own application's dependency graph.
In AUI 8.0, several parts of jQuery UI may still be added to the window.jQuery object,
though this is considered an unintentional side-effect. Future versions of AUI may remove all usage of jQuery UI.
Backbone and Underscore
New minimum versions
Backbone has been bumped to 1.3.3, up from 1.1.2.
Underscore has been bumped to 1.9.1, up from 1.6.0.
Refer to the Backbone changelog
for a list of behavioural and API changes in Backbone.
Refer to the Underscore changelog
for a list of behavioural and API changes in Underscore.
API status
AUI considers Backbone and Underscore to be a deprecated implementation detail of its components
and are not considered part of AUI's public API.
Backbone and Underscore are not added to window by AUI any more by default.
If you depend on these libraries, you must pull in your own.
In Atlassian plugins, it is possible to add them to the window by explicitly requiring their web-resource
keys, though this approach is deprecated and will be removed in AUI 9.0.
AUI components removed
Three of AUI's oldest components — Dialog 1, Dropdown 1, and Inline Dialog 1 — are no longer bundled
with AUI from AUI 8 onwards. Each of these components has a more modern equivalent, which is where performance,
accessibility, and usability improvement efforts are made.
There are upgrade guides for each component to migrate from the old component APIs to the new ones:
For Node package consumers, these removed components will be made available through their own Node packages,
independent of AUI.
For Atlassian plugin consumers, the components are still available through deprecated web-resource keys.
These keys will be removed in AUI 9.0, at which time it will be the responsibility of consumers to
have either migrated their usage of these components to their modern equivalents, or added the components
to their products via the Node packages.
AUI library changes
JS changes
Change
Alternative
AJS() has been removed.
Use jQuery or native browser APIs to create DOM elements. For example:
Change AJS("div") to document.createElement("div"),
or jQuery("<div></div>"),
or any other templating solution.
window.AJS is now an object, not a function.
AJS can't be used as a proxy for the document object,
for example when triggering or listening to events.
In previous versions of AUI:
$(AJS).bind and $(document).bind were equivalent.
$(AJS).trigger and $(document).trigger were equivalent.
In AUI 8, passing AJS in to jQuery creates an isolated event bus,
whose events will not propagate to the DOM.
Review your usage of $(AJS).bind and $(AJS).trigger.
AJS.toInit(<Function>) will always run the function asynchronously.
The order in which your initialisation functions will run may change, which may invalidate
implicit assumptions in your code.
Review your usage of all patterns of handling "document ready". Pick one code pattern.
If you need to ensure your initialisations occur in a specific order, we recommend
sharing a reference to a Promise object between the initialisation modules
and executing when it is resolved.
The following functions have been removed from AUI's browser module:
supportsRequestAnimationFrame
supportsCssTransition
supportsCalc
supportsNewMouseEvent
AUI 8's supported browsers (IE 11 and higher) support these behaviours natively,
so feature detection should not be necessary.
The following jQuery plugins have been removed from AUI:
$.os
$.fn.autocomplete
$.fn.isDirty
$.fn.progressBar
$.fn.selection
$.fn.selectionRange
$.fn.wrapSelection
Projects that depend on these jQuery plugins should bundle them independently.
AJS.bindEvt, AJS.triggerEvt, and AJS.triggerEvtForInst have been removed.
No alternative will be provided.
AJS.contains has been removed.
No alternative will be provided.
Use Array.prototype.indexOf instead.
If your project does not support IE11, you can use Array.prototype.includes instead.
AJS.firebug and AJS.warnAboutFirebug have been removed.
No alternative will be provided.
AJS.filterBySearch has been removed.
No alternative will be provided. If products require this function, this should be copied.
AJS.include has been removed
Use a proper module loader instead.
AJS.indexOf has been removed.
No alternative will be provided. Use Array.prototype.indexOf instead.
AJS.isVisible has been removed.
No alternative will be provided.
AJS.message.template has been removed.
No alternative will be provided.
AJS.onTextResize and AJS.unbindTextResize have been removed
No alternative will be provided.
AJS.preventDefault and AJS.stopEvent have been removed.
No alternative will be provided.
AJS.setCurrent and AJS.setVisible have been removed.
No alternative will be provided. Use jQuery.addClass() / removeClass() instead.
AJS.toggleClassName has been removed
Use another approach to adding/removing a class — for example, jQuery.
CSS changes
Un-prefixed AUI message classes have been removed
Removed class
Alternative
.success
.aui-message-success
.hint
.aui-message-hint
.warning
.aui-message-warning
.info
.aui-message-info
.error
.aui-message-error
Old "messages" icons CSS classes have been removed
.aui-icon-success
.aui-icon-warning
.aui-icon-info
.aui-icon-error
.aui-icon-hint
.aui-icon-generic
.icon-generic
.icon-error
.icon-hint
.icon-info
.icon-success
.icon-warning
Use iconfont icons as a replacement
Old "gadget" icons CSS classes have been removed
.icon-dropdown
.icon-dropdown-active
.icon-dropdown-active-d
.icon-maximize
.icon-maximize-d
.icon-minimize
.icon-minimize-d
.icon-move
.icon-move-d
Use iconfont icons as a replacement.
Icon Wait removed
We removed .aui-icon-wait class and icon. You should replace it with spinner.
Vertical alignment for icons changed
In AUI 8.0, we removed vertical-align: text-top from .aui-icon-small
and .aui-icon-large.
The alignment of some icons is wrong when text-top is used.
Icons will be now using vertical-align: text-bottom which seems a more sensible default than text-top.
Check if your icons are aligned properly and remove possible unnecessary overrides.
Component changes
Restful table AJAX behaviours
Prior to AUI 8.0, when calling EntryModel#destroy, the AJAX request
would use URL parameters to pass data to the server.
In AUI 8.0, the AJAX request now passes data in the request body.
This makes the behaviour compatible with jQuery 2.x and jQuery 3.x.
Consumers are advised that any URL handling or logging on the server-side that expects to see
parameters in the URL will no longer work, and will need to be updated to consume the
request body instead.
Restful table delete confirmation
The docs were outdated and described deleteConfirmation option as boolean but the code was actually expecting callback function returning html which would be put inside Dialog1.
We removed dependency on Dialog1 and replaced deleteConfirmation option with deleteConfirmationCallback.
Now we require you to provide a function returning promise. If promise is resolved row will be deleted, if rejected deletion will be prevented.
// The delete confirmation is always asynchronous now.
// You can return any "then"-able object, such as
// a native Promise, jQuery Deferred object, etc.
returnnewPromise(function(resolve, reject) {
// It is now up to you to choose how to ask the user for confirmation.
varshouldRemove=confirm(`are you sure you want to delete ${model.id}?`);
if (shouldRemove) {
resolve();
} else {
reject();
}
});
}
});
Tooltips
If you are upgrading past jQuery 1.9, your tooltips usage will require updating if they
make use of Tipsy's live option. This is due to the internals of jQuery changing.
<li><atitle="The first link"href="#">First</a></li>
<li><atitle="The second link"href="#">Second</a></li>
<li><atitle="The third link"href="#">Third</a></li>
</ul>
AJS.$(document).tooltip({
live: "#new-tooltip-live-binding a"
});
Dropdown2 Triggers
If you are using soy templates to render the Dropdown2 trigger, there is a chance you might have an extra icon in
HTML that will render additional spacing.
As mentioned in the packaging section, a number of changes were made to
how AUI is distributed. These affect the Node distribution in a significant way.
In AUI 8.0, the Node package has been completely emptied of content. The resulting package is very small,
but does not cover every use-case or usage scenario that the previous package may have covered incidentally.
The AUI team are collecting information about what the Node distribution should support in the
AUI-4829 ticket.
In future releases of AUI, the team will release other pre-built bundles, then will explore making custom
builds of AUI possible.
Bundle changes
Removed bundle file
Alternative bundle file
Recommended upgrade option
The "core" AUI components
dist/aui/css/aui.css
dist/aui/js/aui.js
dist/aui/aui-prototyping.css
dist/aui/aui-prototyping.js
Note:
The "prototyping" bundle of AUI is not intended to be used in production systems.
Add a comment to
AUI-4829 noting the components
and patterns you use.
This will inform future efforts to build better bundles that contain only what you need.
The "experimental" AUI components
dist/css/aui.css
dist/css/aui-experimental.css
dist/js/aui.js
dist/js/aui-experimental.js
dist/aui-prototyping.css
dist/aui-prototyping.js
Note:
The "prototyping" bundle of AUI is not intended to be used in production systems.
Add a comment to
AUI-4829 noting the components
and patterns you use.
This will inform future efforts to build better bundles that contain only what you need.
Atlassian plugin migration
Your product will need to:
What
Why
1
Bundle atlassian-plugins-webresource-plugin version 3.6.0 or higher in your project.
To make WRM.require and other WRM functions work.
2
Add the following web-resource dependencies to your product superbatch or sync-batch:
A great many web-resource keys were removed from AUI, as the code they wrapped is no longer part of the library itself.
Some web-resource key names were changed for internal consistency.
When upgrading, check the logs of your application as AUI is started. The WRM will list a number of deprecated
web-resource keys and their alternatives.
web-resource changes
Changed web-resource
Notes
com.atlassian.auiplugin:ajs
AUI's primary web-resource has been re-created and ships far less code.
The following web-resources are no longer provided through this web-resource and must be
depended upon explicitly:
com.atlassian.auiplugin:aui-dropdown2
com.atlassian.auiplugin:aui-header
com.atlassian.auiplugin:aui-keyboard-shortcuts
com.atlassian.auiplugin:aui-message
com.atlassian.auiplugin:aui-navigation
com.atlassian.auiplugin:aui-page-header
com.atlassian.auiplugin:aui-table
com.atlassian.auiplugin:aui-tabs
com.atlassian.auiplugin:cookie
com.atlassian.auiplugin:dialog
com.atlassian.auiplugin:fancy-file-input
com.atlassian.auiplugin:inline-dialog
com.atlassian.auiplugin:template
com.atlassian.auiplugin:toolbar
com.atlassian.auiplugin:jquery-ui-data
com.atlassian.auiplugin:jquery-ui-draggable
com.atlassian.auiplugin:jquery-ui-focusable
com.atlassian.auiplugin:jquery-ui-keycode
com.atlassian.auiplugin:jquery-ui-plugin
com.atlassian.auiplugin:jquery-ui-scroll-parent
com.atlassian.auiplugin:jquery-ui-sortable
com.atlassian.auiplugin:jquery-ui-widget
com.atlassian.auiplugin:jquery-ui-unique-id
The following web-resources are still provided through this web-resource,
but they should be depended upon explicitly:
com.atlassian.auiplugin:aui-reset
com.atlassian.auiplugin:aui-page-typography
com.atlassian.auiplugin:aui-page-layout
com.atlassian.auiplugin:aui-link
com.atlassian.auiplugin:aui-group
com.atlassian.auiplugin:aui-core
com.atlassian.auiplugin:aui-icon
com.atlassian.auiplugin:aui-iconography
com.atlassian.auiplugin:aui-avatar
com.atlassian.auiplugin:aui-event-bus
com.atlassian.auiplugin:aui-forms
com.atlassian.auiplugin:aui-toolbar2
com.atlassian.auiplugin:aui-core
AUI's "core" has been reduced in size and scope.
In particular, it has been stripped of several deprecated utility functions.
Add the jQuery autocomplete plugin to your project.
Look, even the key of this one told you not to use it.
com.atlassian.auiplugin:jquery-ui-widgets
-
Developers depending upon jQuery UI interface components should either use the equivalent AUI component,
or import the specific jQuery UI components they need within their own project.
com.atlassian.auiplugin:jquery-effects
-
-
com.atlassian.auiplugin:jquery-all
com.atlassian.plugins.jquery:jquery
AUI does not provide jQuery itself.
AUI depends upon jQuery through a jQuery Atlassian plugin which
a host product must provide.
com.atlassian.auiplugin:jquery-aop
-
Add the jQuery.aop plugin to your project.
com.atlassian.auiplugin:jquery-progressbar
-
Add the jQuery progressbar plugin to your project.
com.atlassian.auiplugin:jquery-selection
-
Add the jQuery selection plugin to your project.
com.atlassian.auiplugin:jquery-throbber
-
Add the jQuery throbber plugin to your project.
com.atlassian.auiplugin:placeholder
-
This browser polyfill is no longer required.
Deprecated web-resources
The following list of web-resources are deprecated with reasonable alternatives.
In general, "bundle" web-resources are deprecated in favour of individual web-resource keys.
Importing multiple smaller dependencies helps keep page weight low and helps make your app code
dependencies easier to reason about.
Deprecated web-resource
Alternative web-resource(s)
Notes
com.atlassian.auiplugin:aui-page-suite
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:aui-reset
com.atlassian.auiplugin:aui-page-typography
com.atlassian.auiplugin:aui-page-layout
com.atlassian.auiplugin:aui-avatar
com.atlassian.auiplugin:aui-header
com.atlassian.auiplugin:aui-navigation
com.atlassian.auiplugin:aui-page-header
com.atlassian.auiplugin:jquery-form
-
You should include the jQuery form plugin in your own project code.
com.atlassian.auiplugin:jquery-spin
com.atlassian.auiplugin:aui-spinner
Using <aui-spinner/> through jQuery is deprecated. Create a spinner element directly.
com.atlassian.auiplugin:jquery-ui
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:jquery-ui-data
com.atlassian.auiplugin:jquery-ui-draggable
com.atlassian.auiplugin:jquery-ui-droppable
com.atlassian.auiplugin:jquery-ui-focusable
com.atlassian.auiplugin:jquery-ui-keycode
com.atlassian.auiplugin:jquery-ui-mouse
com.atlassian.auiplugin:jquery-ui-plugin
com.atlassian.auiplugin:jquery-ui-position
com.atlassian.auiplugin:jquery-ui-resizable
com.atlassian.auiplugin:jquery-ui-scroll-parent
com.atlassian.auiplugin:jquery-ui-selectable
com.atlassian.auiplugin:jquery-ui-sortable
com.atlassian.auiplugin:jquery-ui-tabbable
com.atlassian.auiplugin:jquery-ui-widget
com.atlassian.auiplugin:jquery-ui-unique-id
jQuery UI is a combination of several behavioural utilities, interface components,
and effects. This web-resource has a significant impact on page weight, since the whole of jQuery UI
is quite large.
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:jquery-ui-data
com.atlassian.auiplugin:jquery-ui-draggable
com.atlassian.auiplugin:jquery-ui-focusable
com.atlassian.auiplugin:jquery-ui-keycode
com.atlassian.auiplugin:jquery-ui-plugin
com.atlassian.auiplugin:jquery-ui-scroll-parent
com.atlassian.auiplugin:jquery-ui-sortable
com.atlassian.auiplugin:jquery-ui-widget
com.atlassian.auiplugin:jquery-ui-unique-id
com.atlassian.auiplugin:jquery-ui-interactions
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:jquery-ui-droppable
com.atlassian.auiplugin:jquery-ui-resizable
com.atlassian.auiplugin:jquery-ui-selectable
com.atlassian.auiplugin:jquery-ui-other
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:jquery-ui-data
com.atlassian.auiplugin:jquery-ui-draggable
com.atlassian.auiplugin:jquery-ui-focusable
com.atlassian.auiplugin:jquery-ui-keycode
com.atlassian.auiplugin:jquery-ui-plugin
com.atlassian.auiplugin:jquery-ui-position
com.atlassian.auiplugin:jquery-ui-scroll-parent
com.atlassian.auiplugin:jquery-ui-sortable
com.atlassian.auiplugin:jquery-ui-widget
com.atlassian.auiplugin:jquery-ui-unique-id
com.atlassian.auiplugin:ajs-gadgets
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:aui-core
com.atlassian.auiplugin:aui-icon
com.atlassian.auiplugin:aui-iconography
com.atlassian.auiplugin:aui-table
com.atlassian.auiplugin:ajs-gadgets-base
This web-resource was bundling several others. Depend upon the web-resources you need directly:
com.atlassian.auiplugin:aui-core
com.atlassian.auiplugin:aui-icon
com.atlassian.auiplugin:aui-iconography
com.atlassian.auiplugin:aui-table
This web-resource was bundling resources from com.atlassian.auiplugin:ajs-gadgets-base and adding
them in to the ajs.gadgets context. Authors of gadgets will want to manually re-add the necessary
web-resource keys to their own gadgets.
Add a dependency on @atlassian/aui-template to your package.json file.
This package uses the UMD pattern for its export.
When treating it as a module, use its default export.
If no module system is available, it exports to window.ajstemplate.
In the Atlassian plugin:
Add a web-resource dependency on com.atlassian.auiplugin:template
window.Backbone is undefined
Cannot read property "extend" of undefined
Cannot read property "Model" of undefined
Import your own version of Backbone.
In the Atlassian plugin for AUI 8, you can still import com.atlassian.auiplugin:ajs-backbone
to create the global variable, but this will be removed in a future version.
window._ is undefined
Cannot read property "filter" of undefined
Cannot read property "map" of undefined
Cannot read property "extend" of undefined
Import your own version of Underscore.
In the Atlassian plugin for AUI 8, you can still import com.atlassian.auiplugin:ajs-underscorejs
to create the global variable, but this will be removed in a future version.
whenIType is undefined
You need to explicitly import the keyboard shortcuts web-resource dependency:
com.atlassian.auiplugin:aui-keyboard-shortcuts
The blue bar for the top menu is gone!
The application header looks weird!
You need to explicitly import the AUI application header component now.
In the Atlassian plugin:
Add a web-resource dependency on com.atlassian.auiplugin:aui-header, or
Add a web-resource dependency on com.atlassian.auiplugin:aui-header-unresponsive
if you do not want the dynamic menu item behaviour (where items collapse in to the "More" link
when there is insufficient horizontal space for them all).
Restful tables don't render any more!
You need to explicitly import them now.
In the Atlassian plugin:
Add a web-resource dependency on com.atlassian.auiplugin:aui-restfultable