@atlassian/aui 9.3.4 → 9.4.2
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 +13 -12
- package/dist/aui/aui-prototyping.css.map +1 -0
- package/dist/aui/aui-prototyping.js +47 -47
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +13 -12
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -0
- package/dist/aui/aui-prototyping.nodeps.js +47 -47
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/entry/aui.batch.prototyping.js +2 -1
- package/entry/aui.component.form.date-select.js +1 -1
- package/entry/behaviours/aui.behaviour.i18n.js +1 -1
- package/package.json +10 -14
- package/src/js/aui/date-picker.js +15 -8
- package/src/js/aui/i18n.js +6 -2
- package/src/js/aui/internal/globalize.js +31 -1
- package/src/js/aui/layer.js +54 -49
- package/src/js/aui/tooltip.js +19 -7
- package/src/js/aui/unique-id.js +1 -1
- package/src/js/aui-css-deprecations.js +9 -1
- package/src/js-vendor/jquery/plugins/jquery.form.js +7 -1
- package/src/less/aui-appheader.less +0 -1
- package/src/less/aui-experimental-tooltip.less +1 -1
- package/src/less/aui-page-typography.less +3 -1
- package/src/less/aui-select2.less +20 -10
- package/src/less/aui-sidebar-skeleton.less +5 -3
- package/src/less/flag.less +1 -1
- package/src/less/forms-current.less +5 -4
- package/src/less/forms.less +0 -1
- package/src/less/imports/aui-theme/core/layers.less +13 -4
- package/src/less/imports/mixins/dropdown2-trigger-chevron-icon.less +2 -2
- package/src/less/inline-dialog.less +0 -2
- package/src/less/layer.less +1 -1
- package/src/less/messages.less +0 -5
- package/src/less/single-select.less +0 -2
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
#aui.box-sizing();
|
|
28
28
|
min-width: @aui-sidebar-collapsed-width;
|
|
29
29
|
position: absolute;
|
|
30
|
-
z-index: @aui-z-sidebar;
|
|
31
30
|
|
|
32
31
|
// when the sidebar sits over the content
|
|
33
32
|
&.aui-sidebar-fly-out {
|
|
@@ -56,11 +55,12 @@
|
|
|
56
55
|
position: absolute;
|
|
57
56
|
top: 0;
|
|
58
57
|
bottom: auto;
|
|
58
|
+
// explicit z-index needed in order to appear over the top of page layout's #content and #footer on the sidebar's RHS.
|
|
59
|
+
// they use padding-left to "make space" for sidebar, meaning their background-color bleeds over the top of sidebar.
|
|
60
|
+
z-index: 1;
|
|
59
61
|
|
|
60
62
|
&.aui-is-docked {
|
|
61
63
|
position: fixed;
|
|
62
|
-
top: 0;
|
|
63
|
-
bottom: auto;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -295,6 +295,8 @@
|
|
|
295
295
|
#content .aui-sidebar + main,
|
|
296
296
|
#content + #footer {
|
|
297
297
|
.aui-page-sidebar & {
|
|
298
|
+
// needs to be padding, not margin, so that horizontal scrollbars are not drawn.
|
|
299
|
+
// future iterations of page layout should use grid or flexbox and carve out explicit space for sidebar.
|
|
298
300
|
padding-left: var(--aui-sidebar-width);
|
|
299
301
|
}
|
|
300
302
|
|
package/src/less/flag.less
CHANGED
|
@@ -243,13 +243,14 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
// both are @ak-color-N600
|
|
246
|
-
@chevron-dark: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23A5ADBA" d="
|
|
247
|
-
@chevron-light: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23344563" d="
|
|
246
|
+
@chevron-dark: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23A5ADBA" d="M8.292 10.293a1.009 1.009 0 000 1.419l2.939 2.965c.218.215.5.322.779.322s.556-.107.769-.322l2.93-2.955a1.01 1.01 0 000-1.419.987.987 0 00-1.406 0l-2.298 2.317-2.307-2.327a.99.99 0 00-1.406 0z"/%3E%3C/svg%3E%0A');
|
|
247
|
+
@chevron-light: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23344563" d="M8.292 10.293a1.009 1.009 0 000 1.419l2.939 2.965c.218.215.5.322.779.322s.556-.107.769-.322l2.93-2.955a1.01 1.01 0 000-1.419.987.987 0 00-1.406 0l-2.298 2.317-2.307-2.327a.99.99 0 00-1.406 0z"/%3E%3C/svg%3E%0A');
|
|
248
248
|
|
|
249
249
|
select[disabled]:not([size]),
|
|
250
250
|
.select:not([size]) {
|
|
251
251
|
background-repeat: no-repeat;
|
|
252
|
-
background-position: 100% 50%;
|
|
252
|
+
background-position: calc(100% + 1.5px) 50%;
|
|
253
|
+
background-size: 25px;
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
select.select[disabled]:not([size]) {
|
|
@@ -259,7 +260,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
259
260
|
}
|
|
260
261
|
|
|
261
262
|
select.select:not([size]) {
|
|
262
|
-
padding-right:
|
|
263
|
+
padding-right: 20px;
|
|
263
264
|
background-image: @chevron-light;
|
|
264
265
|
}
|
|
265
266
|
|
package/src/less/forms.less
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@aui-z-
|
|
4
|
-
@aui-z-
|
|
1
|
+
// See layer.js and ZINDEX_AUI_LAYER_MIN, too.
|
|
2
|
+
// All modern components' z-index values should be managed by the layer manager.
|
|
3
|
+
@aui-z-layer-min: 3000;
|
|
4
|
+
@aui-z-dropdown: @aui-z-layer-min;
|
|
5
|
+
@aui-z-inline-dialog: @aui-z-layer-min;
|
|
6
|
+
@aui-z-modal-dialog: @aui-z-layer-min;
|
|
7
|
+
|
|
8
|
+
// Additional manually-configured indexes, because sometimes we need things to be above or below the base.
|
|
9
|
+
@aui-z-blanket: @aui-z-layer-min - 500; // so it appears below modals
|
|
10
|
+
@aui-z-skip: @aui-z-layer-min + 1000; // so they appear above modals
|
|
11
|
+
@aui-z-flag-container: @aui-z-layer-min + 1000; // so they appear above modals
|
|
12
|
+
@aui-z-select2: @aui-z-layer-min + 3; // so it can paint an "overlay" behind its suggestion dropdown
|
|
13
|
+
@aui-z-tooltip: @aui-z-layer-min + 2000; // so they appear over the top of pretty much everything
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
#aui {
|
|
4
4
|
.aui-dropdown2-trigger-chevron-icon(@glyphsize: @aui-icon-size-small; @canvassize: @aui-icon-size-small-canvas) {
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
#aui.icon-pseudoelement(@aui-icon-font-family);
|
|
7
7
|
content: @aui-glyph-chevron-down;
|
|
8
8
|
font-size: @glyphsize;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
line-height: 1;
|
|
11
11
|
margin-top: -(@glyphsize / 2);
|
|
12
12
|
position: absolute;
|
|
13
|
-
right:
|
|
13
|
+
right: 3.5px;
|
|
14
14
|
top: 50%;
|
|
15
15
|
text-indent: 0; // Reset indentation set by split button
|
|
16
16
|
width: @glyphsize;
|
|
@@ -12,7 +12,6 @@ aui-inline-dialog {
|
|
|
12
12
|
|
|
13
13
|
display: block;
|
|
14
14
|
position: absolute;
|
|
15
|
-
z-index: 100;
|
|
16
15
|
|
|
17
16
|
// Handle FOUC
|
|
18
17
|
&:not([resolved]) {
|
|
@@ -159,7 +158,6 @@ aui-inline-dialog {
|
|
|
159
158
|
.aui-inline-dialog {
|
|
160
159
|
display: none;
|
|
161
160
|
position: absolute;
|
|
162
|
-
z-index: 100;
|
|
163
161
|
|
|
164
162
|
.aui-inline-dialog-contents,
|
|
165
163
|
.contents {
|
package/src/less/layer.less
CHANGED
package/src/less/messages.less
CHANGED
|
@@ -51,11 +51,6 @@ aui-message, .aui-message {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.aui-popup .aui-message.closeable,
|
|
55
|
-
.aui-dialog .aui-message.closeable {
|
|
56
|
-
z-index: 4000;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
54
|
.aui-message-error {
|
|
60
55
|
--aui-message-icolor: var(--aui-message-error-icon-color);
|
|
61
56
|
--aui-message-ig: @aui-glyph-exclamation-circle;
|