@atlassian/aui 9.3.21 → 9.3.23
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/LICENSE.md +1 -1
- package/README.md +7 -9
- package/dist/aui/aui-css-deprecations.js +1 -1
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css +1 -353
- package/dist/aui/aui-prototyping-darkmode.css +1 -262
- package/dist/aui/aui-prototyping.css +10 -10
- package/dist/aui/aui-prototyping.js +7 -7
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +10 -10
- package/dist/aui/aui-prototyping.nodeps.js +9 -9
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/entry/aui.batch.components.js +21 -21
- package/entry/aui.batch.page.js +3 -3
- package/entry/aui.batch.patterns.js +20 -20
- package/entry/aui.batch.prototyping.js +3 -11
- package/entry/aui.component.nav.js +1 -1
- package/entry/aui.component.progressbar.js +4 -1
- package/entry/aui.side-effects.js +2 -2
- package/entry/behaviours/aui.behaviour.format.js +1 -1
- package/entry/behaviours/aui.behaviour.i18n.js +1 -1
- package/entry/behaviours/aui.behaviour.keyboard-shortcuts.js +1 -1
- package/entry/behaviours/aui.behaviour.progressive-data-set.js +1 -1
- package/entry/behaviours/aui.behaviour.version.js +1 -1
- package/entry/deprecated/aui.component.inline-dialog1.js +1 -1
- package/package.json +3 -7
- package/src/js/aui/alphanum.js +1 -1
- package/src/js/aui/banner.js +2 -2
- package/src/js/aui/blanket.js +7 -11
- package/src/js/aui/button.js +5 -5
- package/src/js/aui/checkbox-multiselect.js +79 -76
- package/src/js/aui/clone.js +1 -1
- package/src/js/aui/close-button.js +2 -6
- package/src/js/aui/contain-dropdown.js +5 -5
- package/src/js/aui/contains.js +1 -1
- package/src/js/aui/cookie.js +12 -16
- package/src/js/aui/date-picker.js +84 -69
- package/src/js/aui/debounce.js +5 -8
- package/src/js/aui/dialog.js +206 -172
- package/src/js/aui/dialog2.js +9 -8
- package/src/js/aui/dropdown2.js +211 -181
- package/src/js/aui/escape-html.js +2 -2
- package/src/js/aui/escape.js +1 -1
- package/src/js/aui/event.js +4 -8
- package/src/js/aui/expander.js +9 -7
- package/src/js/aui/flag.js +15 -17
- package/src/js/aui/focus-manager.js +19 -18
- package/src/js/aui/form-notification.js +14 -13
- package/src/js/aui/form-validation/basic-validators.js +39 -30
- package/src/js/aui/form-validation/validator-register.js +9 -5
- package/src/js/aui/form-validation.js +17 -14
- package/src/js/aui/format.js +9 -6
- package/src/js/aui/forms/create-forms-component-body.js +6 -9
- package/src/js/aui/forms/custom-checkbox.js +2 -6
- package/src/js/aui/forms/custom-radio.js +2 -6
- package/src/js/aui/forms.js +4 -8
- package/src/js/aui/header-async.js +1 -1
- package/src/js/aui/header.js +2 -2
- package/src/js/aui/i18n.js +2 -5
- package/src/js/aui/index-of.js +1 -1
- package/src/js/aui/inline-dialog.js +171 -117
- package/src/js/aui/inline-dialog2.js +60 -50
- package/src/js/aui/internal/add-id.js +1 -1
- package/src/js/aui/internal/alignment.js +57 -49
- package/src/js/aui/internal/amdify.js +0 -1
- package/src/js/aui/internal/animation.js +2 -5
- package/src/js/aui/internal/attributes.js +2 -3
- package/src/js/aui/internal/browser.js +5 -6
- package/src/js/aui/internal/constants.js +1 -3
- package/src/js/aui/internal/deduplicateIDs.js +8 -7
- package/src/js/aui/internal/deprecation/deprecated-adg2-icons.js +132 -132
- package/src/js/aui/internal/deprecation.js +53 -31
- package/src/js/aui/internal/detect-children-change.js +3 -2
- package/src/js/aui/internal/elements.js +2 -5
- package/src/js/aui/internal/enforcer.js +11 -13
- package/src/js/aui/internal/globalize.js +3 -3
- package/src/js/aui/internal/has-touch.js +1 -2
- package/src/js/aui/internal/header/create-header.js +54 -28
- package/src/js/aui/internal/i18n/aui.js +8 -5
- package/src/js/aui/internal/i18n/aui_af.js +31 -31
- package/src/js/aui/internal/i18n/aui_ar.js +31 -31
- package/src/js/aui/internal/i18n/aui_ar_DZ.js +31 -31
- package/src/js/aui/internal/i18n/aui_az.js +31 -31
- package/src/js/aui/internal/i18n/aui_bg.js +31 -31
- package/src/js/aui/internal/i18n/aui_bs.js +31 -31
- package/src/js/aui/internal/i18n/aui_ca.js +31 -31
- package/src/js/aui/internal/i18n/aui_cs.js +31 -31
- package/src/js/aui/internal/i18n/aui_da.js +31 -31
- package/src/js/aui/internal/i18n/aui_de.js +31 -31
- package/src/js/aui/internal/i18n/aui_el.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_AU.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_GB.js +31 -31
- package/src/js/aui/internal/i18n/aui_en_NZ.js +31 -31
- package/src/js/aui/internal/i18n/aui_eo.js +31 -31
- package/src/js/aui/internal/i18n/aui_es.js +31 -31
- package/src/js/aui/internal/i18n/aui_et.js +31 -31
- package/src/js/aui/internal/i18n/aui_eu.js +31 -31
- package/src/js/aui/internal/i18n/aui_fa.js +31 -31
- package/src/js/aui/internal/i18n/aui_fi.js +31 -31
- package/src/js/aui/internal/i18n/aui_fo.js +31 -31
- package/src/js/aui/internal/i18n/aui_fr.js +31 -31
- package/src/js/aui/internal/i18n/aui_fr_CH.js +31 -31
- package/src/js/aui/internal/i18n/aui_gl.js +31 -31
- package/src/js/aui/internal/i18n/aui_he.js +31 -31
- package/src/js/aui/internal/i18n/aui_hr.js +31 -31
- package/src/js/aui/internal/i18n/aui_hu.js +31 -31
- package/src/js/aui/internal/i18n/aui_hy.js +31 -31
- package/src/js/aui/internal/i18n/aui_id.js +31 -31
- package/src/js/aui/internal/i18n/aui_is.js +31 -31
- package/src/js/aui/internal/i18n/aui_it.js +31 -31
- package/src/js/aui/internal/i18n/aui_ja.js +31 -31
- package/src/js/aui/internal/i18n/aui_ko.js +31 -31
- package/src/js/aui/internal/i18n/aui_kz.js +31 -31
- package/src/js/aui/internal/i18n/aui_lt.js +31 -31
- package/src/js/aui/internal/i18n/aui_lv.js +31 -31
- package/src/js/aui/internal/i18n/aui_ml.js +31 -31
- package/src/js/aui/internal/i18n/aui_ms.js +31 -31
- package/src/js/aui/internal/i18n/aui_nl.js +31 -31
- package/src/js/aui/internal/i18n/aui_no.js +31 -31
- package/src/js/aui/internal/i18n/aui_pl.js +31 -31
- package/src/js/aui/internal/i18n/aui_pt.js +31 -31
- package/src/js/aui/internal/i18n/aui_pt_BR.js +31 -31
- package/src/js/aui/internal/i18n/aui_rm.js +31 -31
- package/src/js/aui/internal/i18n/aui_ro.js +31 -31
- package/src/js/aui/internal/i18n/aui_ru.js +31 -31
- package/src/js/aui/internal/i18n/aui_sk.js +31 -31
- package/src/js/aui/internal/i18n/aui_sl.js +31 -31
- package/src/js/aui/internal/i18n/aui_sq.js +31 -31
- package/src/js/aui/internal/i18n/aui_sr.js +31 -31
- package/src/js/aui/internal/i18n/aui_sr_SR.js +31 -31
- package/src/js/aui/internal/i18n/aui_sv.js +31 -31
- package/src/js/aui/internal/i18n/aui_ta.js +31 -31
- package/src/js/aui/internal/i18n/aui_th.js +31 -31
- package/src/js/aui/internal/i18n/aui_tj.js +31 -31
- package/src/js/aui/internal/i18n/aui_tr.js +31 -31
- package/src/js/aui/internal/i18n/aui_uk.js +31 -31
- package/src/js/aui/internal/i18n/aui_vi.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_CN.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_HK.js +31 -31
- package/src/js/aui/internal/i18n/aui_zh_TW.js +31 -31
- package/src/js/aui/internal/log.js +2 -6
- package/src/js/aui/internal/mediaQuery.js +2 -3
- package/src/js/aui/internal/select/option.js +3 -3
- package/src/js/aui/internal/select/suggestion-model.js +1 -1
- package/src/js/aui/internal/select/suggestions-model.js +4 -5
- package/src/js/aui/internal/select/suggestions-view.js +17 -12
- package/src/js/aui/internal/state.js +2 -3
- package/src/js/aui/is-clipped.js +2 -2
- package/src/js/aui/key-code.js +1 -1
- package/src/js/aui/label.js +6 -6
- package/src/js/aui/layer.js +100 -98
- package/src/js/aui/messages.js +51 -38
- package/src/js/aui/navigation.js +7 -9
- package/src/js/aui/on-text-resize.js +7 -5
- package/src/js/aui/params.js +11 -8
- package/src/js/aui/polyfills/custom-event.js +7 -7
- package/src/js/aui/polyfills/placeholder.js +4 -4
- package/src/js/aui/populate-parameters.js +4 -4
- package/src/js/aui/progress-indicator.js +35 -27
- package/src/js/aui/progressive-data-set.js +13 -8
- package/src/js/aui/query-input.js +1 -1
- package/src/js/aui/restful-table/class-names.js +1 -1
- package/src/js/aui/restful-table/data-keys.js +1 -1
- package/src/js/aui/restful-table/edit-row.js +63 -63
- package/src/js/aui/restful-table/entry-model.js +6 -13
- package/src/js/aui/restful-table/event-handlers.js +4 -8
- package/src/js/aui/restful-table/event-names.js +1 -1
- package/src/js/aui/restful-table/row.js +41 -23
- package/src/js/aui/restful-table.js +101 -72
- package/src/js/aui/result-set.js +5 -5
- package/src/js/aui/results-list.js +3 -3
- package/src/js/aui/select.js +65 -49
- package/src/js/aui/select2.js +14 -6
- package/src/js/aui/sidebar.js +81 -51
- package/src/js/aui/spin.js +61 -49
- package/src/js/aui/spinner.js +11 -12
- package/src/js/aui/tables-sortable.js +21 -10
- package/src/js/aui/tabs.js +108 -77
- package/src/js/aui/to-init.js +1 -1
- package/src/js/aui/toggle.js +55 -43
- package/src/js/aui/tooltip.js +32 -31
- package/src/js/aui/trigger.js +20 -18
- package/src/js/aui/truncating-progressive-data-set.js +1 -1
- package/src/js/aui/unbind-text-resize.js +1 -1
- package/src/js/aui/unique-id.js +1 -1
- package/src/js/aui/when-i-type.js +66 -39
- package/src/js/aui-css-deprecations.js +50 -50
- package/src/js/jquery/jquery.hotkeys.js +124 -49
- package/src/js/jquery/jquery.moveto.js +18 -12
- package/src/less/adg-fancy-file-input.less +2 -3
- package/src/less/adg-header-quicksearch.less +4 -1
- package/src/less/adg-iconfont.less +242 -242
- package/src/less/adgs-icons.less +262 -262
- package/src/less/aui-appheader.less +10 -6
- package/src/less/aui-buttons.less +6 -5
- package/src/less/aui-date-picker.less +9 -6
- package/src/less/aui-experimental-expander.less +8 -8
- package/src/less/aui-experimental-labels.less +4 -3
- package/src/less/aui-experimental-progress-indicator.less +10 -4
- package/src/less/aui-experimental-progress-tracker.less +9 -6
- package/src/less/aui-experimental-restfultable.less +11 -3
- package/src/less/aui-experimental-tables-sortable.less +5 -3
- package/src/less/aui-experimental-tooltip.less +1 -1
- package/src/less/aui-link.less +0 -1
- package/src/less/aui-lozenge.less +6 -3
- package/src/less/aui-navigation.less +13 -13
- package/src/less/aui-page-layout.less +3 -4
- package/src/less/aui-page-typography.less +8 -3
- package/src/less/aui-reset.less +22 -6
- package/src/less/aui-select2.less +11 -8
- package/src/less/aui-sidebar-badges.less +1 -2
- package/src/less/aui-sidebar-config.less +7 -2
- package/src/less/aui-sidebar-grouping.less +16 -6
- package/src/less/aui-sidebar-navigation.less +7 -5
- package/src/less/aui-sidebar-skeleton.less +4 -3
- package/src/less/aui-skip-link.less +2 -1
- package/src/less/aui-spinner.less +2 -2
- package/src/less/aui-toggle.less +2 -2
- package/src/less/aui-toolbar2.less +1 -1
- package/src/less/checkbox-multiselect.less +13 -13
- package/src/less/dialog.less +3 -3
- package/src/less/dialog2.less +12 -11
- package/src/less/dropdown2-temp.css +4 -4
- package/src/less/dropdown2.less +3 -3
- package/src/less/form-notification.less +10 -6
- package/src/less/forms-current.less +6 -5
- package/src/less/forms-legacy.less +4 -2
- package/src/less/forms-radios-and-checkboxes.less +9 -11
- package/src/less/forms.less +2 -4
- package/src/less/iconfont-mixin.less +7 -4
- package/src/less/imports/aui-theme/adg/adg-colors.less +40 -40
- package/src/less/imports/aui-theme/adg/adg-neutral-dark.less +20 -20
- package/src/less/imports/aui-theme/adg/adg-neutral-light.less +20 -20
- package/src/less/imports/aui-theme/components/buttons.less +5 -1
- package/src/less/imports/aui-theme/components/dropdown.less +3 -1
- package/src/less/imports/aui-theme/components/form-notification.less +2 -1
- package/src/less/imports/aui-theme/components/forms.less +16 -1
- package/src/less/imports/aui-theme/components/inline-dialog2.less +1 -1
- package/src/less/imports/aui-theme/components/navigation.less +3 -3
- package/src/less/imports/aui-theme/components/progress-tracker.less +6 -2
- package/src/less/imports/aui-theme/components/tables.less +3 -2
- package/src/less/imports/aui-theme/components/toggle.less +8 -3
- package/src/less/imports/aui-theme/core/colors.less +12 -4
- package/src/less/imports/aui-theme/core/icons.less +22 -22
- package/src/less/imports/aui-theme/core/text.less +6 -3
- package/src/less/imports/mixins/dropdown2-trigger-chevron-icon.less +0 -1
- package/src/less/imports/mixins/focus.less +12 -4
- package/src/less/imports/mixins/media-queries.less +2 -2
- package/src/less/imports/mixins/shadows.less +3 -1
- package/src/less/imports/mixins/tab-indicator.less +2 -2
- package/src/less/imports/mixins.less +11 -4
- package/src/less/inline-dialog.less +21 -19
- package/src/less/layer.less +0 -2
- package/src/less/messages.less +2 -1
- package/src/less/single-select.less +14 -9
- package/src/less/tables.less +3 -2
- package/src/less/tabs.less +4 -3
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.css +0 -797
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.js +0 -26
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-theme-import-map.js +0 -51
- package/entry/token-themes-generated/npm/themes/dark-future.js +0 -7
- package/entry/token-themes-generated/npm/themes/dark-new-input-border.js +0 -7
- package/entry/token-themes-generated/npm/themes/dark.js +0 -395
- package/entry/token-themes-generated/npm/themes/legacy-dark.js +0 -395
- package/entry/token-themes-generated/npm/themes/legacy-light.js +0 -395
- package/entry/token-themes-generated/npm/themes/light-future.js +0 -7
- package/entry/token-themes-generated/npm/themes/light-new-input-border.js +0 -7
- package/entry/token-themes-generated/npm/themes/light.js +0 -395
- package/entry/token-themes-generated/npm/themes/shape.js +0 -15
- package/entry/token-themes-generated/npm/themes/spacing.js +0 -27
- package/entry/token-themes-generated/npm/themes/typography-adg3.js +0 -50
- package/entry/token-themes-generated/npm/themes/typography-minor3.js +0 -41
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
// Sidebar navigation grouping
|
|
15
15
|
//
|
|
16
16
|
.aui-sidebar {
|
|
17
|
-
|
|
18
17
|
.aui-sidebar-group {
|
|
19
18
|
// Note: these margins should collapse with those of aui-nav itself.
|
|
20
19
|
margin-top: (@aui-sidebar-grid * 2);
|
|
@@ -26,11 +25,10 @@
|
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
|
|
30
28
|
//-----------------------
|
|
31
29
|
// Sidebar narrow state - add collapsed styles.
|
|
32
30
|
//-----------------------
|
|
33
|
-
&[aria-expanded=
|
|
31
|
+
&[aria-expanded='false'] {
|
|
34
32
|
// Replaces aui-nav with a default image to reflect nested content
|
|
35
33
|
.aui-sidebar-group {
|
|
36
34
|
// by default, groups collapse and are meant to look like clickable buttons.
|
|
@@ -78,12 +76,24 @@
|
|
|
78
76
|
background-size: @aui-sidebar-icon-size;
|
|
79
77
|
border: @aui-sidebar-group-actions-border-width solid transparent;
|
|
80
78
|
border-radius: 50%;
|
|
81
|
-
content:
|
|
79
|
+
content: '';
|
|
82
80
|
display: block;
|
|
83
81
|
height: @aui-icon-size-large;
|
|
84
82
|
left: 0;
|
|
85
|
-
margin-left: (
|
|
86
|
-
|
|
83
|
+
margin-left: (
|
|
84
|
+
(
|
|
85
|
+
@aui-sidebar-collapsed-width - @aui-sidebar-header-avatar-collapsed -
|
|
86
|
+
(@aui-sidebar-group-actions-border-width * 2)
|
|
87
|
+
) /
|
|
88
|
+
2
|
|
89
|
+
);
|
|
90
|
+
margin-right: (
|
|
91
|
+
(
|
|
92
|
+
@aui-sidebar-collapsed-width - @aui-sidebar-header-avatar-collapsed -
|
|
93
|
+
(@aui-sidebar-group-actions-border-width * 2)
|
|
94
|
+
) /
|
|
95
|
+
2
|
|
96
|
+
);
|
|
87
97
|
position: absolute;
|
|
88
98
|
top: 0;
|
|
89
99
|
width: @aui-icon-size-large;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
.aui-sidebar,
|
|
12
12
|
.aui-sidebar-submenu {
|
|
13
|
-
|
|
14
13
|
//
|
|
15
14
|
// Nav pattern integration
|
|
16
15
|
//
|
|
@@ -35,7 +34,9 @@
|
|
|
35
34
|
> .aui-nav-item {
|
|
36
35
|
#aui-nav.item-base(@aui-sidebar-nav-link-expected-height);
|
|
37
36
|
padding-left: @aui-sidebar-nav-link-inner-spacing;
|
|
38
|
-
padding-right: (
|
|
37
|
+
padding-right: (
|
|
38
|
+
@aui-icon-size-small + @aui-sidebar-nav-link-inner-spacing
|
|
39
|
+
); // room on the right for dropdown action menus
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -86,7 +87,8 @@
|
|
|
86
87
|
.aui-navgroup-vertical .aui-nav > li[aria-expanded] {
|
|
87
88
|
> .aui-nav-subtree-toggle {
|
|
88
89
|
@box-size: @aui-sidebar-nav-link-expected-height; // that assumption in aui-navigation about the .aui-nav-item height? yeeeeah, it's invalid here.
|
|
89
|
-
@fake-icon-with-spacing: @aui-nav-subtree-toggle-icon-size +
|
|
90
|
+
@fake-icon-with-spacing: @aui-nav-subtree-toggle-icon-size +
|
|
91
|
+
@aui-sidebar-nav-link-icon-spacing;
|
|
90
92
|
|
|
91
93
|
top: ((@box-size - @aui-nav-subtree-toggle-icon-size) / 2);
|
|
92
94
|
left: @aui-sidebar-nav-link-inner-spacing; // push it "inside" the .aui-nav-item, though the element actually adjacent to it.
|
|
@@ -117,7 +119,7 @@
|
|
|
117
119
|
// Sidebar narrow state - add collapsed styles.
|
|
118
120
|
//-----------------------
|
|
119
121
|
.aui-sidebar {
|
|
120
|
-
&[aria-expanded=
|
|
122
|
+
&[aria-expanded='false'] {
|
|
121
123
|
.aui-nav-heading {
|
|
122
124
|
display: none;
|
|
123
125
|
}
|
|
@@ -137,7 +139,7 @@
|
|
|
137
139
|
|
|
138
140
|
.aui-nav-sortable > li > a:after {
|
|
139
141
|
left: 0;
|
|
140
|
-
top: (@aui-sidebar-grid * .8);
|
|
142
|
+
top: (@aui-sidebar-grid * 0.8);
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
.aui-nav-item-actions {
|
|
@@ -156,7 +156,8 @@
|
|
|
156
156
|
// optional handle to adjust the width of the sidebar
|
|
157
157
|
.aui-sidebar-handle {
|
|
158
158
|
@sidebar-handle-width: @aui-sidebar-grid;
|
|
159
|
-
background: @aui-panel-bg-color url(images/icons/sidebar/icon-handle.png) center center
|
|
159
|
+
background: @aui-panel-bg-color url(images/icons/sidebar/icon-handle.png) center center
|
|
160
|
+
no-repeat;
|
|
160
161
|
cursor: col-resize;
|
|
161
162
|
height: 100%;
|
|
162
163
|
position: absolute;
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
// Sidebar narrow state - add collapsed styles.
|
|
209
210
|
// Note: the width is "automatically" shrunk thanks to the CSS variable.
|
|
210
211
|
//-----------------------
|
|
211
|
-
&[aria-expanded=
|
|
212
|
+
&[aria-expanded='false'] {
|
|
212
213
|
.aui-sidebar-body {
|
|
213
214
|
overflow-x: hidden; // don't show horizontal scrollbar in collapsed state.
|
|
214
215
|
}
|
|
@@ -290,7 +291,7 @@
|
|
|
290
291
|
//-----------------------
|
|
291
292
|
|
|
292
293
|
// Page Layout + Sidebar integrations
|
|
293
|
-
#content .aui-sidebar ~ [class^=
|
|
294
|
+
#content .aui-sidebar ~ [class^='aui-'],
|
|
294
295
|
#content .aui-sidebar + section,
|
|
295
296
|
#content .aui-sidebar + main,
|
|
296
297
|
#content + #footer {
|
|
@@ -15,11 +15,11 @@ aui-spinner {
|
|
|
15
15
|
width: @size;
|
|
16
16
|
height: @size;
|
|
17
17
|
|
|
18
|
-
&[size=
|
|
18
|
+
&[size='small'] {
|
|
19
19
|
--aui-spinner-size: @aui-spinner-size-small;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
&[size=
|
|
22
|
+
&[size='large'] {
|
|
23
23
|
--aui-spinner-size: @aui-spinner-size-large;
|
|
24
24
|
}
|
|
25
25
|
|
package/src/less/aui-toggle.less
CHANGED
|
@@ -24,7 +24,7 @@ aui-toggle {
|
|
|
24
24
|
// because all content inside this control is absolute position, we need some text so that
|
|
25
25
|
// the vertical alignment works
|
|
26
26
|
&::before {
|
|
27
|
-
content:
|
|
27
|
+
content: '\00a0'; // non-breaking space char
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// invisible "overlay" which intercepts mouse clicks and provides the tint for the disabled/busy states
|
|
@@ -78,7 +78,7 @@ aui-toggle {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// integration with spinner element
|
|
81
|
-
.aui-icon aui-spinner[size=
|
|
81
|
+
.aui-icon aui-spinner[size='small'] {
|
|
82
82
|
color: inherit;
|
|
83
83
|
position: absolute;
|
|
84
84
|
top: (@aui-toggle-icon-size - @aui-spinner-size-small) / 2; // because it is inside the icon.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
.aui-checkbox-multiselect {
|
|
2
|
-
|
|
2
|
+
display: inline-block;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
.aui-button {
|
|
5
|
+
max-width: 150px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
text-overflow: ellipsis;
|
|
8
|
+
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.aui-checkbox-multiselect-dropdown {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
12
|
+
.hidden {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
.aui-button-link {
|
|
16
|
+
margin-left: 10px;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/src/less/dialog.less
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
.aui-dialog-shadow-parent {
|
|
6
6
|
position: fixed;
|
|
7
7
|
overflow: hidden;
|
|
8
|
-
left:50%;
|
|
9
|
-
top:50%;
|
|
8
|
+
left: 50%;
|
|
9
|
+
top: 50%;
|
|
10
10
|
}
|
|
11
11
|
.aui-popup {
|
|
12
12
|
background-color: @aui-dialog-bg-color;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
.aui-dialog .dialog-page-menu li.page-menu-item button.item-button:hover,
|
|
79
79
|
.aui-dialog .dialog-page-menu li.page-menu-item button.item-button:focus {
|
|
80
|
-
#aui-nav.item-style(hover)
|
|
80
|
+
#aui-nav.item-style(hover);
|
|
81
81
|
}
|
|
82
82
|
.aui-dialog .dialog-page-menu li.page-menu-item.selected button.item-button {
|
|
83
83
|
#aui-nav.item-style(selected);
|
package/src/less/dialog2.less
CHANGED
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
|
|
28
28
|
@dialog-container-border-radius: @aui-border-radius-medium;
|
|
29
29
|
|
|
30
|
-
@dialog-overflow-with-both-buffers: (@header-footer-combined-height + 2
|
|
30
|
+
@dialog-overflow-with-both-buffers: (@header-footer-combined-height + 2 * @layer-buffer-y);
|
|
31
31
|
|
|
32
|
-
@aui-dialog2-xlarge-width: (@dialog-width-xlarge + 2
|
|
33
|
-
@aui-dialog2-large-width: (@dialog-width-large + 2
|
|
34
|
-
@aui-dialog2-medium-width: (@dialog-width-medium + 2
|
|
35
|
-
@aui-dialog2-small-width: (@dialog-width-small + 2
|
|
32
|
+
@aui-dialog2-xlarge-width: (@dialog-width-xlarge + 2 * @layer-buffer-x);
|
|
33
|
+
@aui-dialog2-large-width: (@dialog-width-large + 2 * @layer-buffer-x);
|
|
34
|
+
@aui-dialog2-medium-width: (@dialog-width-medium + 2 * @layer-buffer-x);
|
|
35
|
+
@aui-dialog2-small-width: (@dialog-width-small + 2 * @layer-buffer-x);
|
|
36
36
|
|
|
37
37
|
.aui-dialog2 {
|
|
38
38
|
#aui.shadow.z300();
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
box-sizing: border-box;
|
|
116
116
|
overflow: auto;
|
|
117
117
|
padding: @aui-dialog2-padding;
|
|
118
|
-
max-height: calc(~
|
|
118
|
+
max-height: calc(~'100vh' - @dialog-overflow-with-both-buffers);
|
|
119
119
|
|
|
120
120
|
&:last-child {
|
|
121
121
|
border-radius: 0 0 @dialog-container-border-radius @dialog-container-border-radius;
|
|
@@ -136,12 +136,13 @@
|
|
|
136
136
|
vertical-align: middle;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
h2,
|
|
139
|
+
h2,
|
|
140
|
+
h3 {
|
|
140
141
|
#aui.typography.h600();
|
|
141
142
|
}
|
|
142
143
|
}
|
|
143
144
|
|
|
144
|
-
&[data-aui-modal=
|
|
145
|
+
&[data-aui-modal='true'] &-header-close {
|
|
145
146
|
display: none;
|
|
146
147
|
}
|
|
147
148
|
|
|
@@ -223,7 +224,7 @@
|
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
.aui-dialog2-content {
|
|
226
|
-
height: calc(~
|
|
227
|
+
height: calc(~'100vh' - @dialog-overflow-with-both-buffers);
|
|
227
228
|
max-height: none;
|
|
228
229
|
min-height: @dialog-content-height-small;
|
|
229
230
|
}
|
|
@@ -239,7 +240,7 @@
|
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
.aui-dialog2-content {
|
|
242
|
-
height: calc(~
|
|
243
|
+
height: calc(~'100vh' - @dialog-overflow-with-both-buffers);
|
|
243
244
|
max-height: none;
|
|
244
245
|
min-height: @dialog-content-height-small;
|
|
245
246
|
}
|
|
@@ -263,7 +264,7 @@
|
|
|
263
264
|
|
|
264
265
|
& .aui-dialog2-content {
|
|
265
266
|
height: calc(~"100vh" - @header-footer-combined-height);
|
|
266
|
-
max-height: none; // otherwise, the footer
|
|
267
|
+
max-height: none; // otherwise, the footer creeps up the dialog and takes up the available space.
|
|
267
268
|
}
|
|
268
269
|
}
|
|
269
270
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* Storing these styles in a CSS file until LESS is upgraded to handle "2-" in a data attribute */
|
|
2
|
-
.aui-dropdown2-tailed[data-dropdown2-alignment=
|
|
3
|
-
.aui-dropdown2-tailed[data-dropdown2-alignment=
|
|
2
|
+
.aui-dropdown2-tailed[data-dropdown2-alignment='left']:before,
|
|
3
|
+
.aui-dropdown2-tailed[data-dropdown2-alignment='left']:after,
|
|
4
4
|
.aui-dropdown2-tailed.aui-alignment-snap-left:before,
|
|
5
5
|
.aui-dropdown2-tailed.aui-alignment-snap-left:after {
|
|
6
6
|
left: 20px;
|
|
7
7
|
}
|
|
8
|
-
.aui-dropdown2-tailed[data-dropdown2-alignment=
|
|
9
|
-
.aui-dropdown2-tailed[data-dropdown2-alignment=
|
|
8
|
+
.aui-dropdown2-tailed[data-dropdown2-alignment='right']:before,
|
|
9
|
+
.aui-dropdown2-tailed[data-dropdown2-alignment='right']:after,
|
|
10
10
|
.aui-dropdown2-tailed.aui-alignment-snap-right:before,
|
|
11
11
|
.aui-dropdown2-tailed.aui-alignment-snap-right:after {
|
|
12
12
|
right: 20px;
|
package/src/less/dropdown2.less
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
// Set disabled styles last, so that the cascade gives them a higher precedence.
|
|
141
141
|
&:hover .aui-dropdown2-disabled,
|
|
142
142
|
.aui-dropdown2-disabled,
|
|
143
|
-
[aria-disabled=
|
|
143
|
+
[aria-disabled='true'],
|
|
144
144
|
a.disabled {
|
|
145
145
|
#aui-nav.item-style(disabled);
|
|
146
146
|
}
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
border-style: outset outset solid outset;
|
|
192
192
|
border-width: @aui-dropdown2-tail-size;
|
|
193
193
|
bottom: 100%;
|
|
194
|
-
content:
|
|
194
|
+
content: '';
|
|
195
195
|
display: block;
|
|
196
196
|
height: 0;
|
|
197
197
|
position: absolute;
|
|
@@ -275,7 +275,7 @@ input.aui-button.aui-dropdown2-trigger,
|
|
|
275
275
|
height: auto;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
&[data-popper-placement*=
|
|
278
|
+
&[data-popper-placement*='bottom'] {
|
|
279
279
|
&.aui-dropdown2-tailed {
|
|
280
280
|
margin-top: @aui-dropdown2-tail-size;
|
|
281
281
|
}
|
|
@@ -4,28 +4,29 @@
|
|
|
4
4
|
Icons.
|
|
5
5
|
*/
|
|
6
6
|
//Order is important for display preference
|
|
7
|
-
[data-aui-notification-info]
|
|
7
|
+
[data-aui-notification-info] + .aui-icon.aui-icon-notification {
|
|
8
8
|
&:before {
|
|
9
9
|
content: @aui-notification-info-icon;
|
|
10
10
|
}
|
|
11
11
|
color: @aui-notification-info-color;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
[data-aui-notification-success]
|
|
14
|
+
[data-aui-notification-success] + .aui-icon.aui-icon-notification {
|
|
15
15
|
&:before {
|
|
16
16
|
content: @aui-notification-success-icon;
|
|
17
17
|
}
|
|
18
18
|
color: @aui-notification-success-color;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
[data-aui-notification-error]
|
|
21
|
+
[data-aui-notification-error] + .aui-icon.aui-icon-notification {
|
|
22
22
|
&:before {
|
|
23
23
|
content: @aui-notification-error-icon;
|
|
24
24
|
}
|
|
25
25
|
color: @aui-notification-error-color;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
[data-aui-notification-field].aui-form-notification-field-no-icon
|
|
28
|
+
[data-aui-notification-field].aui-form-notification-field-no-icon
|
|
29
|
+
+ .aui-icon.aui-icon-notification {
|
|
29
30
|
visibility: hidden;
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -83,11 +84,14 @@ form.aui.aui-legacy-forms {
|
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
form.aui {
|
|
86
|
-
|
|
87
|
+
input[data-aui-validation-field] ~ aui-spinner {
|
|
87
88
|
margin-left: 0;
|
|
88
89
|
margin-top: 0;
|
|
89
90
|
position: relative;
|
|
90
|
-
right: (
|
|
91
|
+
right: (
|
|
92
|
+
@aui-notification-icon-outside-field-width +
|
|
93
|
+
@aui-notification-icon-outside-field-padding-right
|
|
94
|
+
);
|
|
91
95
|
top: @aui-notification-icon-outside-field-padding-top;
|
|
92
96
|
vertical-align: top;
|
|
93
97
|
display: inline-block;
|
|
@@ -29,7 +29,6 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
29
29
|
&::-webkit-contacts-auto-fill-button {
|
|
30
30
|
background: var(--aui-form-field-autofilled-text-color);
|
|
31
31
|
}
|
|
32
|
-
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
|
|
@@ -169,7 +168,9 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
169
168
|
|
|
170
169
|
/* Placeholder form element styles */
|
|
171
170
|
|
|
172
|
-
.text,
|
|
171
|
+
.text,
|
|
172
|
+
.password,
|
|
173
|
+
.textarea {
|
|
173
174
|
#aui.placeholder(@aui-form-placeholder-text-color);
|
|
174
175
|
|
|
175
176
|
&[disabled] {
|
|
@@ -243,8 +244,8 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
// both are @ak-color-N600
|
|
246
|
-
@chevron-dark:
|
|
247
|
-
@chevron-light:
|
|
247
|
+
@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');
|
|
248
|
+
@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
249
|
|
|
249
250
|
select[disabled]:not([size]),
|
|
250
251
|
.select:not([size]) {
|
|
@@ -276,7 +277,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
276
277
|
top: 7px;
|
|
277
278
|
|
|
278
279
|
&::before {
|
|
279
|
-
content:
|
|
280
|
+
content: '*';
|
|
280
281
|
position: absolute;
|
|
281
282
|
left: 0;
|
|
282
283
|
top: 0;
|
|
@@ -99,7 +99,9 @@ form.aui.aui-legacy-forms {
|
|
|
99
99
|
|
|
100
100
|
/* Placeholder form element styles */
|
|
101
101
|
|
|
102
|
-
.text,
|
|
102
|
+
.text,
|
|
103
|
+
.password,
|
|
104
|
+
.textarea {
|
|
103
105
|
#aui.placeholder(@aui-legacy-form-placeholder-text-color);
|
|
104
106
|
}
|
|
105
107
|
|
|
@@ -155,7 +157,7 @@ form.aui.aui-legacy-forms {
|
|
|
155
157
|
top: 5px;
|
|
156
158
|
|
|
157
159
|
&::before {
|
|
158
|
-
content:
|
|
160
|
+
content: '*';
|
|
159
161
|
position: absolute;
|
|
160
162
|
left: 0;
|
|
161
163
|
top: 0;
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
@radio-disabled-border-color: var(--aui-form-glyph-disabled-fill-color);
|
|
39
39
|
|
|
40
40
|
form.aui:not(.aui-legacy-forms) {
|
|
41
|
-
|
|
42
41
|
.aui-checkbox-focus-size() {
|
|
43
42
|
display: inline-block;
|
|
44
43
|
width: @aui-form-button-size + @button-border-width;
|
|
@@ -52,7 +51,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
52
51
|
.aui-radio-position(iconfont) {
|
|
53
52
|
@fudge: 2px; // the glyph renders in a slightly different position for font-related reasons.
|
|
54
53
|
position: absolute;
|
|
55
|
-
left: @radio-offset-left - @fudge/2;
|
|
54
|
+
left: @radio-offset-left - @fudge / 2;
|
|
56
55
|
top: @radio-offset-top - @fudge;
|
|
57
56
|
}
|
|
58
57
|
.aui-checkbox-position() {
|
|
@@ -100,12 +99,13 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
100
99
|
// Field styles
|
|
101
100
|
//
|
|
102
101
|
|
|
103
|
-
.radio input[type=
|
|
104
|
-
.checkbox input[type=
|
|
102
|
+
.radio input[type='radio'],
|
|
103
|
+
.checkbox input[type='checkbox'] {
|
|
105
104
|
#aui.visually-hidden();
|
|
106
105
|
}
|
|
107
106
|
|
|
108
|
-
.radio,
|
|
107
|
+
.radio,
|
|
108
|
+
.checkbox {
|
|
109
109
|
padding: 0 0 0 @label-left-offset;
|
|
110
110
|
margin: 5px 0 0;
|
|
111
111
|
position: relative;
|
|
@@ -137,7 +137,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
137
137
|
// and if we move the entire label to the left, the content after it will
|
|
138
138
|
// have a gap that looks awkward.
|
|
139
139
|
&::before {
|
|
140
|
-
content:
|
|
140
|
+
content: '';
|
|
141
141
|
display: inline-block;
|
|
142
142
|
left: @label-left-offset * -1; // move the el to take up space in to the margin created for the glyph
|
|
143
143
|
position: absolute;
|
|
@@ -151,7 +151,6 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
151
151
|
margin-left: @label-left-offset * -1;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
.radio {
|
|
@@ -183,7 +182,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
183
182
|
#aui-forms.aui-radio-checkbox-size();
|
|
184
183
|
.aui-radio-position();
|
|
185
184
|
|
|
186
|
-
content:
|
|
185
|
+
content: '';
|
|
187
186
|
|
|
188
187
|
border: @button-border-width solid @radio-unchecked-border-color;
|
|
189
188
|
background-color: @radio-unchecked-bg-color;
|
|
@@ -205,7 +204,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
205
204
|
.aui-radio-focus-size();
|
|
206
205
|
.aui-radio-focus-position();
|
|
207
206
|
|
|
208
|
-
content:
|
|
207
|
+
content: '';
|
|
209
208
|
|
|
210
209
|
border: @button-focus-border;
|
|
211
210
|
border-radius: @aui-form-button-size;
|
|
@@ -254,7 +253,7 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
254
253
|
#aui-forms.aui-radio-checkbox-size();
|
|
255
254
|
.aui-checkbox-position();
|
|
256
255
|
|
|
257
|
-
content:
|
|
256
|
+
content: '';
|
|
258
257
|
|
|
259
258
|
border: @button-border-width solid @checkbox-unchecked-border-color;
|
|
260
259
|
background-color: @checkbox-unchecked-bg-color;
|
|
@@ -291,5 +290,4 @@ form.aui:not(.aui-legacy-forms) {
|
|
|
291
290
|
left: @radio-offset-left;
|
|
292
291
|
top: @radio-offset-top - 1px;
|
|
293
292
|
}
|
|
294
|
-
|
|
295
293
|
}
|
package/src/less/forms.less
CHANGED
|
@@ -40,7 +40,7 @@ form.aui .checkbox[disabled] {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// Fixing Safari search fields (https://ecosystem.atlassian.net/browse/AUI-4062)
|
|
43
|
-
form.aui .text[type=search] {
|
|
43
|
+
form.aui .text[type='search'] {
|
|
44
44
|
-webkit-appearance: textfield;
|
|
45
45
|
outline-width: 5px;
|
|
46
46
|
outline-offset: -2px;
|
|
@@ -81,7 +81,7 @@ form.aui .group:before,
|
|
|
81
81
|
form.aui .group:after,
|
|
82
82
|
form.aui .date-select:before,
|
|
83
83
|
form.aui .date-select:after {
|
|
84
|
-
content:
|
|
84
|
+
content: ' ';
|
|
85
85
|
display: table;
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -179,7 +179,6 @@ form.aui.long-label .date-select .field-group {
|
|
|
179
179
|
|
|
180
180
|
/* End Long Labels */
|
|
181
181
|
|
|
182
|
-
|
|
183
182
|
/* Top Labels
|
|
184
183
|
* add top-label class to form eg: <form class="aui top-label">
|
|
185
184
|
* display all forms with top-labels for screen sizes < 768px
|
|
@@ -227,7 +226,6 @@ form.aui.long-label .date-select .field-group {
|
|
|
227
226
|
.buttons-container {
|
|
228
227
|
padding-left: 0;
|
|
229
228
|
}
|
|
230
|
-
|
|
231
229
|
}
|
|
232
230
|
|
|
233
231
|
form.aui.top-label {
|
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: @family;
|
|
8
8
|
src: url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.eot');
|
|
9
|
-
src:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
src:
|
|
10
|
+
url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.eot?#iefix')
|
|
11
|
+
format('embedded-opentype'),
|
|
12
|
+
url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.woff') format('woff'),
|
|
13
|
+
url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.ttf') format('truetype'),
|
|
14
|
+
url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.svg#@{fontId}')
|
|
15
|
+
format('svg');
|
|
13
16
|
font-weight: @weight;
|
|
14
17
|
font-style: @style;
|
|
15
18
|
}
|