@atlassian/aui 10.1.10 → 10.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aui/aui-css-deprecations.js +2 -2
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping.css +1 -1
- package/dist/aui/aui-prototyping.js +8 -8
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +8 -8
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/package.json +2 -3
- package/src/js/aui/banner.js +1 -1
- package/src/js/aui/debounce.js +2 -2
- package/src/js/aui/dialog2.js +2 -2
- package/src/js/aui/dropdown2.js +1 -1
- package/src/js/aui/expander.js +3 -3
- package/src/js/aui/form-validation.js +1 -1
- package/src/js/aui/header.js +1 -1
- package/src/js/aui/messages.js +2 -2
- package/src/js/aui/params.js +1 -1
- package/src/js/aui/populate-parameters.js +1 -1
- package/src/js/aui/progress-indicator.js +2 -2
- package/src/js/aui/sidebar.js +2 -2
- package/src/js/aui/spin.js +2 -2
- package/src/js/aui/spinner.js +2 -2
- package/src/js/aui-css-deprecations.js +10 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlassian/aui",
|
|
3
3
|
"description": "Atlassian User Interface library",
|
|
4
|
-
"version": "10.1.
|
|
4
|
+
"version": "10.1.11",
|
|
5
5
|
"author": "Atlassian Pty Ltd.",
|
|
6
6
|
"homepage": "https://aui.atlassian.com",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"@atlassian/adg-server-iconfont": "3.1.1",
|
|
41
41
|
"@popperjs/core": "2.11.8",
|
|
42
42
|
"backbone": "1.6.0",
|
|
43
|
-
"css.escape": "1.5.1",
|
|
44
43
|
"dompurify": "^3.2.5",
|
|
45
44
|
"@atlassian/fancy-file-input": "3.0.0",
|
|
46
45
|
"jquery-form": "4.3.0",
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
"@babel/core": "7.29.0",
|
|
55
54
|
"@babel/helper-function-name": "^7.24.7",
|
|
56
55
|
"@babel/helper-hoist-variables": "^7.24.7",
|
|
57
|
-
"@babel/preset-env": "7.29.
|
|
56
|
+
"@babel/preset-env": "7.29.2",
|
|
58
57
|
"@types/backbone": "1.4.22",
|
|
59
58
|
"@types/jqueryui": "1.12.23",
|
|
60
59
|
"fs-extra": "9.1.0",
|
package/src/js/aui/banner.js
CHANGED
|
@@ -38,7 +38,7 @@ function createBannerElement({ body = '', type = 'error' }) {
|
|
|
38
38
|
function removeHiddenBanners(bannerContainer) {
|
|
39
39
|
const hiddenBanners = bannerContainer.querySelectorAll('.aui-banner[hidden]');
|
|
40
40
|
const lazyDeprecate = deprecate.getMessageLogger('Banner [hidden] attribute', {
|
|
41
|
-
removeInVersion: '
|
|
41
|
+
removeInVersion: '12.0.0',
|
|
42
42
|
sinceVersion: '9.8.0',
|
|
43
43
|
deprecationType: 'ATTRIBUTE',
|
|
44
44
|
extraInfo:
|
package/src/js/aui/debounce.js
CHANGED
|
@@ -24,7 +24,7 @@ function debounce(func, wait) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
var deprecatedDebounce = deprecate.fn(debounce, 'AJS.debounce', {
|
|
27
|
-
removeInVersion: '
|
|
27
|
+
removeInVersion: '12.0.0',
|
|
28
28
|
sinceVersion: '8.0.0',
|
|
29
29
|
extraInfo: 'Use equivalent functions from libraries like lodash / underscore instead',
|
|
30
30
|
});
|
|
@@ -59,7 +59,7 @@ function debounceImmediate(func, wait) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
var deprecatedDebounceImmediate = deprecate.fn(debounceImmediate, 'AJS.debounceImmediate', {
|
|
62
|
-
removeInVersion: '
|
|
62
|
+
removeInVersion: '12.0.0',
|
|
63
63
|
sinceVersion: '8.0.0',
|
|
64
64
|
extraInfo: 'Use equivalent functions from libraries like lodash / underscore instead',
|
|
65
65
|
});
|
package/src/js/aui/dialog2.js
CHANGED
|
@@ -45,7 +45,7 @@ function handleInitialFocus(el) {
|
|
|
45
45
|
const lazyDeprecate = deprecate.getMessageLogger(
|
|
46
46
|
`Dialog2 [${CLOSE_BUTTON_CLASS_SELECTOR}]`,
|
|
47
47
|
{
|
|
48
|
-
removeInVersion: '
|
|
48
|
+
removeInVersion: '12.0.0',
|
|
49
49
|
sinceVersion: '9.6.0',
|
|
50
50
|
extraInfo:
|
|
51
51
|
'Replace it with another actionable element inside your Dialog which will trigger closing of the modal.',
|
|
@@ -64,7 +64,7 @@ function handleInitialFocus(el) {
|
|
|
64
64
|
const lazyDeprecate = deprecate.getMessageLogger(
|
|
65
65
|
'Dialog2 [data-aui-focus-selector] attribute',
|
|
66
66
|
{
|
|
67
|
-
removeInVersion: '
|
|
67
|
+
removeInVersion: '12.0.0',
|
|
68
68
|
alternativeName: 'initialisation on DOM insertion',
|
|
69
69
|
sinceVersion: '9.6.0',
|
|
70
70
|
extraInfo:
|
package/src/js/aui/dropdown2.js
CHANGED
|
@@ -320,7 +320,7 @@ function bindLazyTriggerInitialisation() {
|
|
|
320
320
|
if (!isElementSkated) {
|
|
321
321
|
skate.init(this);
|
|
322
322
|
var lazyDeprecate = deprecate.getMessageLogger('Dropdown2 lazy initialisation', {
|
|
323
|
-
removeInVersion: '
|
|
323
|
+
removeInVersion: '12.0.0',
|
|
324
324
|
alternativeName: 'initialisation on DOM insertion',
|
|
325
325
|
sinceVersion: '5.8.0',
|
|
326
326
|
extraInfo:
|
package/src/js/aui/expander.js
CHANGED
|
@@ -4,21 +4,21 @@ import { getMessageLogger } from './internal/deprecation';
|
|
|
4
4
|
|
|
5
5
|
const deprecate = {
|
|
6
6
|
'aria-expanded': getMessageLogger('Expander [aria-expanded] attribute', {
|
|
7
|
-
removeInVersion: '
|
|
7
|
+
removeInVersion: '12.0.0',
|
|
8
8
|
sinceVersion: '9.9.0',
|
|
9
9
|
deprecationType: 'ARIA ATTRIBUTE',
|
|
10
10
|
extraInfo:
|
|
11
11
|
'The "aria-expanded" attribute will no longer act as an indicator for the expander if it needs to be expanded. Please update the expander in accordance with AUI guidelines.',
|
|
12
12
|
}),
|
|
13
13
|
'replace-selector': getMessageLogger('Expander [data-replace-selector] attribute', {
|
|
14
|
-
removeInVersion: '
|
|
14
|
+
removeInVersion: '12.0.0',
|
|
15
15
|
sinceVersion: '9.9.0',
|
|
16
16
|
deprecationType: 'DATA ATTRIBUTE',
|
|
17
17
|
extraInfo:
|
|
18
18
|
'The attribute "data-replace-selector" will no longer have any functionality. It is recommended to update the expander following AUI guidelines.',
|
|
19
19
|
}),
|
|
20
20
|
'short-content': getMessageLogger('Expander [.aui-expander-short-content]', {
|
|
21
|
-
removeInVersion: '
|
|
21
|
+
removeInVersion: '12.0.0',
|
|
22
22
|
sinceVersion: '9.9.0',
|
|
23
23
|
deprecationType: 'EXPANDER CLASS (PATTERN)',
|
|
24
24
|
}),
|
|
@@ -167,7 +167,7 @@ function createValidatorContext($field, validatorDeferred) {
|
|
|
167
167
|
|
|
168
168
|
deprecate.prop(context, '$el', {
|
|
169
169
|
sinceVersion: '5.9.0',
|
|
170
|
-
removeInVersion: '
|
|
170
|
+
removeInVersion: '12.0.0',
|
|
171
171
|
alternativeName: 'el',
|
|
172
172
|
extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-3263.',
|
|
173
173
|
});
|
package/src/js/aui/header.js
CHANGED
|
@@ -13,7 +13,7 @@ $(findAndCreateHeaders);
|
|
|
13
13
|
|
|
14
14
|
const responsiveheader = {};
|
|
15
15
|
responsiveheader.setup = deprecate.fn(findAndCreateHeaders, 'responsiveheader.setup', {
|
|
16
|
-
removeInVersion: '
|
|
16
|
+
removeInVersion: '12.0.0',
|
|
17
17
|
sinceVersion: '5.8.0',
|
|
18
18
|
extraInfo: 'No need to manually initialise anymore as this is now a web component.',
|
|
19
19
|
});
|
package/src/js/aui/messages.js
CHANGED
|
@@ -47,7 +47,7 @@ function createMessageConstructor(type) {
|
|
|
47
47
|
if (obj.removeOnHide) {
|
|
48
48
|
console.warn &&
|
|
49
49
|
console.warn(
|
|
50
|
-
'Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI
|
|
50
|
+
'Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI 12.0.0.'
|
|
51
51
|
);
|
|
52
52
|
makeRemoveOnHide($message, obj.delay, obj.duration);
|
|
53
53
|
}
|
|
@@ -59,7 +59,7 @@ function createMessageConstructor(type) {
|
|
|
59
59
|
if (obj.fadeout) {
|
|
60
60
|
console.warn &&
|
|
61
61
|
console.warn(
|
|
62
|
-
'Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI
|
|
62
|
+
'Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI 12.0.0.'
|
|
63
63
|
);
|
|
64
64
|
makeFadeout($message, obj.delay, obj.duration);
|
|
65
65
|
}
|
package/src/js/aui/params.js
CHANGED
|
@@ -247,7 +247,7 @@ const ProgressBarEl = skate('aui-progressbar', {
|
|
|
247
247
|
const progressBars = {
|
|
248
248
|
update: deprecate.fn(updateProgressElement, 'AJS.progressBars.update', {
|
|
249
249
|
sinceVersion: '7.7.0',
|
|
250
|
-
removeInVersion: '
|
|
250
|
+
removeInVersion: '12.0.0',
|
|
251
251
|
extraInfo: 'Use the <aui-progressbar> web component instead',
|
|
252
252
|
}),
|
|
253
253
|
setIndeterminate: deprecate.fn(
|
|
@@ -255,7 +255,7 @@ const progressBars = {
|
|
|
255
255
|
'AJS.progressBars.setIndeterminate',
|
|
256
256
|
{
|
|
257
257
|
sinceVersion: '7.7.0',
|
|
258
|
-
removeInVersion: '
|
|
258
|
+
removeInVersion: '12.0.0',
|
|
259
259
|
extraInfo: 'Use the <aui-progressbar> web component instead',
|
|
260
260
|
}
|
|
261
261
|
),
|
package/src/js/aui/sidebar.js
CHANGED
|
@@ -82,7 +82,7 @@ Sidebar.prototype.setPosition = deprecate.fn(
|
|
|
82
82
|
Sidebar.prototype.setTopPosition,
|
|
83
83
|
'Sidebar.setPosition',
|
|
84
84
|
{
|
|
85
|
-
removeInVersion: '
|
|
85
|
+
removeInVersion: '12.0.0',
|
|
86
86
|
sinceVersion: '7.6.1',
|
|
87
87
|
alternativeName: 'Sidebar.setTopPosition',
|
|
88
88
|
}
|
|
@@ -733,7 +733,7 @@ $(function () {
|
|
|
733
733
|
});
|
|
734
734
|
|
|
735
735
|
var sidebarSubmenuDeprecationLogger = deprecate.getMessageLogger('Sidebar.submenus', {
|
|
736
|
-
removeInVersion: '
|
|
736
|
+
removeInVersion: '12.0.0',
|
|
737
737
|
sinceVersion: '5.8.0',
|
|
738
738
|
});
|
|
739
739
|
|
package/src/js/aui/spin.js
CHANGED
|
@@ -55,7 +55,7 @@ $.fn.spin = fn(
|
|
|
55
55
|
'jQuery.fn.spin',
|
|
56
56
|
{
|
|
57
57
|
sinceVersion: '7.9.4',
|
|
58
|
-
removeInVersion: '
|
|
58
|
+
removeInVersion: '12.0.0',
|
|
59
59
|
alternativeName: '<aui-spinner>',
|
|
60
60
|
}
|
|
61
61
|
);
|
|
@@ -81,7 +81,7 @@ $.fn.spinStop = fn(
|
|
|
81
81
|
'jQuery.fn.spinStop',
|
|
82
82
|
{
|
|
83
83
|
sinceVersion: '7.9.4',
|
|
84
|
-
removeInVersion: '
|
|
84
|
+
removeInVersion: '12.0.0',
|
|
85
85
|
alternativeName: '<aui-spinner>',
|
|
86
86
|
}
|
|
87
87
|
);
|
package/src/js/aui/spinner.js
CHANGED
|
@@ -46,13 +46,13 @@ See https://css-tricks.com/centering-css-complete-guide/ for techniques.`;
|
|
|
46
46
|
|
|
47
47
|
const filledAttributeDeprecatedLogger = getMessageLogger('<aui-spinner> filled attribute', {
|
|
48
48
|
sinceVersion: '7.9.4',
|
|
49
|
-
removeInVersion: '
|
|
49
|
+
removeInVersion: '12.0.0',
|
|
50
50
|
extraInfo: filledAttributeReplacementText,
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
const filledPropDeprecatedLogger = getMessageLogger('<aui-spinner> filled property', {
|
|
54
54
|
sinceVersion: '7.9.4',
|
|
55
|
-
removeInVersion: '
|
|
55
|
+
removeInVersion: '12.0.0',
|
|
56
56
|
extraInfo: filledAttributeReplacementText,
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -11,7 +11,7 @@ css('form.aui span.content');
|
|
|
11
11
|
css(['form.aui .button', 'form.aui .buttons-container'], {
|
|
12
12
|
displayName: 'Unprefixed buttons',
|
|
13
13
|
alternativeName: 'aui-button and aui-buttons',
|
|
14
|
-
removeInVersion: '
|
|
14
|
+
removeInVersion: '12.0.0',
|
|
15
15
|
});
|
|
16
16
|
css(
|
|
17
17
|
[
|
|
@@ -41,7 +41,7 @@ css(
|
|
|
41
41
|
],
|
|
42
42
|
{
|
|
43
43
|
displayName: 'Unprefixed dropdown2 css AUI-2150',
|
|
44
|
-
removeInVersion: '
|
|
44
|
+
removeInVersion: '12.0.0',
|
|
45
45
|
}
|
|
46
46
|
);
|
|
47
47
|
|
|
@@ -59,7 +59,7 @@ for (name in fiveNineZero) {
|
|
|
59
59
|
if (Object.hasOwnProperty.call(fiveNineZero, name)) {
|
|
60
60
|
css(name, {
|
|
61
61
|
alternativeName: fiveNineZero[name],
|
|
62
|
-
removeVersion: '
|
|
62
|
+
removeVersion: '12.0.0',
|
|
63
63
|
sinceVersion: '5.9.0',
|
|
64
64
|
});
|
|
65
65
|
}
|
|
@@ -72,7 +72,7 @@ css('.aui-badge', {
|
|
|
72
72
|
displayName: 'AUI Badge CSS class',
|
|
73
73
|
alternativeName: 'aui-badge',
|
|
74
74
|
sinceVersion: '7.1.0',
|
|
75
|
-
removeInVersion: '
|
|
75
|
+
removeInVersion: '12.0.0',
|
|
76
76
|
extraInfo: 'The badge pattern is best used as a web component instead of a CSS class',
|
|
77
77
|
});
|
|
78
78
|
|
|
@@ -82,7 +82,7 @@ css('.aui-badge', {
|
|
|
82
82
|
css(['.aui-iconfont-image-extrasmall'], {
|
|
83
83
|
displayName: 'Special size icon names',
|
|
84
84
|
sinceVersion: '7.5.0',
|
|
85
|
-
removeInVersion: '
|
|
85
|
+
removeInVersion: '12.0.0',
|
|
86
86
|
extraInfo: 'The only size variant allowed for icon names is `-small`.',
|
|
87
87
|
});
|
|
88
88
|
|
|
@@ -101,7 +101,7 @@ deprecatedAdg2Icons.forEach(({ newName, oldName }) =>
|
|
|
101
101
|
css('.aui-table-interactive', {
|
|
102
102
|
alternativeName: '.aui-table-list',
|
|
103
103
|
sinceVersion: '7.8.0',
|
|
104
|
-
removeInVersion: '
|
|
104
|
+
removeInVersion: '12.0.0',
|
|
105
105
|
extraInfo:
|
|
106
106
|
'The "interactive" suffix caused some confusion when contrasted with sortable tables.' +
|
|
107
107
|
'The name has been updated to reflect its intended purpose: displaying lists of data in a tabular format.',
|
|
@@ -110,7 +110,7 @@ css('.aui-table-interactive', {
|
|
|
110
110
|
// 7.9.4
|
|
111
111
|
css('aui-spinner[filled]', {
|
|
112
112
|
sinceVersion: '7.9.4',
|
|
113
|
-
removeInVersion: '
|
|
113
|
+
removeInVersion: '12.0.0',
|
|
114
114
|
extraInfo: `Add CSS to the parent element of the <aui-spinner>.
|
|
115
115
|
Use CSS flexbox or grid to vertically align it.
|
|
116
116
|
See https://css-tricks.com/centering-css-complete-guide/ for techniques.`,
|
|
@@ -120,7 +120,7 @@ See https://css-tricks.com/centering-css-complete-guide/ for techniques.`,
|
|
|
120
120
|
|
|
121
121
|
css('.aui-button-light', {
|
|
122
122
|
sinceVersion: '8.4.0',
|
|
123
|
-
removeInVersion: '
|
|
123
|
+
removeInVersion: '12.0.0',
|
|
124
124
|
extraInfo: 'ADGS allows only for normal and subtle buttons.',
|
|
125
125
|
});
|
|
126
126
|
|
|
@@ -128,7 +128,7 @@ css('.aui-button-light', {
|
|
|
128
128
|
|
|
129
129
|
css('.aui-dropdown2-tailed', {
|
|
130
130
|
sinceVersion: '9.3.5',
|
|
131
|
-
removeInVersion: '
|
|
131
|
+
removeInVersion: '12.0.0',
|
|
132
132
|
extraInfo: 'ADGS does not include tails on layered components',
|
|
133
133
|
});
|
|
134
134
|
|
|
@@ -136,7 +136,7 @@ css('.aui-dropdown2-tailed', {
|
|
|
136
136
|
css('form.aui .multi-select', {
|
|
137
137
|
sinceVersion: '9.7.0',
|
|
138
138
|
displayName: 'Multi-select',
|
|
139
|
-
removeInVersion: '
|
|
139
|
+
removeInVersion: '12.0.0',
|
|
140
140
|
extraInfo:
|
|
141
141
|
'Default browser behavior for selecing items is non-intuitive and non-accessible. Use Select2 instead.',
|
|
142
142
|
});
|