@atlassian/aui 9.13.2 → 9.13.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlassian/aui",
3
3
  "description": "Atlassian User Interface library",
4
- "version": "9.13.2",
4
+ "version": "9.13.4",
5
5
  "author": "Atlassian Pty Ltd.",
6
6
  "homepage": "https://aui.atlassian.com",
7
7
  "license": "Apache-2.0",
@@ -659,7 +659,10 @@ function bindItemInteractionBehaviourToDropdown(dropdown) {
659
659
  }
660
660
 
661
661
  // Focus the current element to allow Screen Reader to announce a focused menuitem.
662
- e.currentTarget.focus();
662
+ // disabled the focus in each mouse move since it makes dropdowns unsable in Safari & Firefox
663
+ // reference issue: https://jira.atlassian.com/browse/JRASERVER-78765
664
+ // details: https://hello.atlassian.net/wiki/spaces/~7120201281a7adebab4dd281f34ba58638925c/folder/5220871005
665
+ // e.currentTarget.focus();
663
666
 
664
667
  // We should close all submenus above which are not related to the focused trigger.
665
668
  // For example if we hover over the trigger for submenu for this trigger be shown, when we move
@@ -62,6 +62,12 @@
62
62
  .aui-input-field-style(focus) {
63
63
  background-color: @aui-form-field-focus-bg-color;
64
64
  color: @aui-text-color;
65
+
66
+ // DCA11Y-1726 - in chrome v136 the !important property was removed from select:focus option:checked (https://chromium.googlesource.com/chromium/src/+/c6f0a72627a705bfb972950b4fc2097171978b9a), which caused lack of initial highlight of the selected options
67
+ option:checked {
68
+ background-color: SelectedItem !important;
69
+ color: SelectedItemText !important;
70
+ }
65
71
  }
66
72
 
67
73
  .aui-select2-input-field-style(normal) {
@@ -129,6 +135,12 @@
129
135
  .aui-input-field-style(focus) {
130
136
  background-color: @aui-form-field-focus-bg-color;
131
137
  color: @aui-text-color;
138
+
139
+ // DCA11Y-1726 - in chrome v136 the !important property was removed from select:focus option:checked (https://chromium.googlesource.com/chromium/src/+/c6f0a72627a705bfb972950b4fc2097171978b9a), which caused lack of initial highlight of the selected options
140
+ option:checked {
141
+ background-color: SelectedItem !important;
142
+ color: SelectedItemText !important;
143
+ }
132
144
  }
133
145
 
134
146
  .aui-radio-checkbox-size() {
@@ -992,7 +992,7 @@
992
992
  --aui-table-caption-bg-color: var(--ds-background-accent-gray-subtlest, @ak-color-N20);
993
993
  --aui-table-caption-text-color: var(--ds-text-subtle, @ak-color-N100);
994
994
  --aui-table-list-row-hover-color: var(--ds-background-neutral-subtle-hovered, @ak-color-N30A);
995
- --aui-table-list-row-subtle-color: var(--ds-background-neutral-subtle-hovered, @ak-color-N60);
995
+ --aui-table-list-row-subtle-color: var(--ds-text-subtlest, @ak-color-N60);
996
996
  --aui-table-sortable-hover-bg-color: var(--ds-background-neutral-subtle-hovered, @ak-color-N30A);
997
997
  --aui-table-sortable-active-bg-color: var(--ds-background-accent-blue-subtler, @ak-color-B50);
998
998
  --aui-table-sortable-active-border-color: var(--ds-border-accent-blue, @ak-color-B500);