@atlassian/aui 10.1.1 → 10.1.3
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 +1 -1
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping.css +7 -2
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +2 -2
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +7 -2
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +2 -2
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/entry/aui.component.form.file-select.js +1 -1
- package/package.json +4 -4
- package/src/js/aui/fancy-file-input.js +1 -1
- package/src/js/aui/internal/deprecation.ts +3 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './styles/aui.pattern.forms';
|
|
2
|
-
import 'fancy-file-input/dist/fancy-file-input.css';
|
|
2
|
+
import '@atlassian/fancy-file-input/dist/fancy-file-input.css';
|
|
3
3
|
import '@atlassian/aui/src/less/adg-fancy-file-input.less';
|
|
4
4
|
export { default as FancyFileInput } from '@atlassian/aui/src/js/aui/fancy-file-input';
|
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.3",
|
|
5
5
|
"author": "Atlassian Pty Ltd.",
|
|
6
6
|
"homepage": "https://aui.atlassian.com",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"backbone": "1.6.0",
|
|
43
43
|
"css.escape": "1.5.1",
|
|
44
44
|
"dompurify": "^3.2.5",
|
|
45
|
-
"fancy-file-input": "
|
|
45
|
+
"@atlassian/fancy-file-input": "3.0.0",
|
|
46
46
|
"jquery-form": "4.3.0",
|
|
47
47
|
"jquery-ui": "1.14.1",
|
|
48
48
|
"skatejs": "0.13.17",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@atlassian/aui-webpack-config": "3.0.2",
|
|
54
|
-
"@babel/core": "7.
|
|
54
|
+
"@babel/core": "7.29.0",
|
|
55
55
|
"@babel/helper-function-name": "^7.24.7",
|
|
56
56
|
"@babel/helper-hoist-variables": "^7.24.7",
|
|
57
|
-
"@babel/preset-env": "7.
|
|
57
|
+
"@babel/preset-env": "7.29.0",
|
|
58
58
|
"@types/backbone": "1.4.22",
|
|
59
59
|
"@types/jqueryui": "1.12.23",
|
|
60
60
|
"fs-extra": "9.1.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/* AUI-4199: This puts the FFI object on the jQuery global for backwards compatibility. */
|
|
2
|
-
import FancyFileInput from 'fancy-file-input/dist/fancy-file-input';
|
|
2
|
+
import FancyFileInput from '@atlassian/fancy-file-input/dist/fancy-file-input';
|
|
3
3
|
|
|
4
4
|
export default FancyFileInput;
|
|
@@ -49,7 +49,7 @@ function toSentenceCase(name: string): string {
|
|
|
49
49
|
if (!name) {
|
|
50
50
|
return '';
|
|
51
51
|
}
|
|
52
|
-
name = '' + name;
|
|
52
|
+
name = '' + name; // eslint-disable-line @typescript-eslint/no-unnecessary-type-conversion
|
|
53
53
|
|
|
54
54
|
return name.charAt(0).toUpperCase() + name.substring(1);
|
|
55
55
|
}
|
|
@@ -114,8 +114,7 @@ function getShowDeprecationMessageInternal(
|
|
|
114
114
|
options = options ?? {};
|
|
115
115
|
|
|
116
116
|
return function (printFrameOffset?: number): void {
|
|
117
|
-
let deprecatedLocation =
|
|
118
|
-
getDeprecatedLocation(printFrameOffset ? printFrameOffset : 1) ?? '';
|
|
117
|
+
let deprecatedLocation = getDeprecatedLocation(printFrameOffset ?? 1) ?? '';
|
|
119
118
|
// Only log once if the stack frame doesn't exist to avoid spamming the console/test output
|
|
120
119
|
if (!called || !deprecationCalls.includes(deprecatedLocation)) {
|
|
121
120
|
deprecationCalls.push(deprecatedLocation);
|
|
@@ -148,7 +147,7 @@ function getShowDeprecationMessageInternal(
|
|
|
148
147
|
' \n ' +
|
|
149
148
|
'No stack trace of the deprecated usage is available in your current browser.';
|
|
150
149
|
} else {
|
|
151
|
-
deprecatedLocation = ' \n ' +
|
|
150
|
+
deprecatedLocation = ' \n ' + deprecatedLocation;
|
|
152
151
|
}
|
|
153
152
|
|
|
154
153
|
if (options.extraObject) {
|