@atlassian/aui 9.12.8 → 9.12.10
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-prototyping-browserfocus.css +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css.map +1 -1
- package/dist/aui/aui-prototyping-darkmode.css +1 -1
- package/dist/aui/aui-prototyping-darkmode.css.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api-full.js +2 -2
- package/dist/aui/aui-prototyping-design-tokens-api-full.js.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes.js +1 -1
- package/dist/aui/aui-prototyping.css +3 -3
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +6 -8
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +3 -3
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +12 -14
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/package.json +2 -2
- package/src/js/aui/design-tokens/design-tokens-testing-theme.js +3 -3
- package/src/js/aui/dropdown2.js +4 -1
- package/src/less/aui-avatars.less +1 -1
- package/src/less/imports/aui-theme/core/colors.less +7 -4
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.12.
|
|
4
|
+
"version": "9.12.10",
|
|
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
|
"@popperjs/core": "2.11.8",
|
|
43
43
|
"backbone": "1.6.0",
|
|
44
44
|
"css.escape": "1.5.1",
|
|
45
|
-
"dompurify": "2.5
|
|
45
|
+
"dompurify": "^3.2.5",
|
|
46
46
|
"fancy-file-input": "2.0.4",
|
|
47
47
|
"jquery-ui": "1.13.3",
|
|
48
48
|
"skatejs": "0.13.17",
|
|
@@ -5,8 +5,8 @@ const testingColorVariableName = '--aui-theme-testing-color';
|
|
|
5
5
|
const defaultTestingColor = 'color(srgb 1 0.75 0.8 / 0.6)';
|
|
6
6
|
const testingThemeTargetClass = 'aui-theme-testing';
|
|
7
7
|
const testingThemeSelector =
|
|
8
|
-
`html.${testingThemeTargetClass}[data-theme*="light:"], ` +
|
|
9
|
-
`html.${testingThemeTargetClass}[data-theme*="dark:"]`;
|
|
8
|
+
`html.${testingThemeTargetClass}[data-color-mode][data-theme*="light:"], ` +
|
|
9
|
+
`html.${testingThemeTargetClass}[data-color-mode][data-theme*="dark:"]`;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Theme that replaces all the design tokens with single color, helping to visually identify custom colors on the page
|
|
@@ -34,7 +34,7 @@ const testingThemeSelector =
|
|
|
34
34
|
|
|
35
35
|
const themeElement = document.createElement('style');
|
|
36
36
|
themeElement.id = 'aui-design-tokens-testing-theme';
|
|
37
|
-
themeElement.
|
|
37
|
+
themeElement.textContent = themeCSS;
|
|
38
38
|
|
|
39
39
|
const head = document.querySelector('head');
|
|
40
40
|
if (head) {
|
package/src/js/aui/dropdown2.js
CHANGED
|
@@ -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
|
-
|
|
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
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
|
|
69
69
|
// Avatars
|
|
70
70
|
--aui-avatar-outline: @ak-color-N0;
|
|
71
|
-
--aui-avatar-text:
|
|
71
|
+
--aui-avatar-text: var(--aui-button-default-text-color);
|
|
72
|
+
--aui-avatar-background: var(--aui-button-default-bg-color);
|
|
72
73
|
|
|
73
74
|
// Lozenges
|
|
74
75
|
--aui-lozenge-bg-color: @ak-color-N500;
|
|
@@ -420,7 +421,8 @@
|
|
|
420
421
|
|
|
421
422
|
// Avatars
|
|
422
423
|
--aui-avatar-outline: @ak-color-N0;
|
|
423
|
-
--aui-avatar-text:
|
|
424
|
+
--aui-avatar-text: var(--aui-button-default-text-color);
|
|
425
|
+
--aui-avatar-background: var(--aui-button-default-bg-color);
|
|
424
426
|
|
|
425
427
|
// Lozenges
|
|
426
428
|
--aui-lozenge-bg-color: @ak-color-N500;
|
|
@@ -771,7 +773,8 @@
|
|
|
771
773
|
|
|
772
774
|
// Avatars
|
|
773
775
|
--aui-avatar-outline: var(--ds-border-inverse, @ak-color-N0);
|
|
774
|
-
--aui-avatar-text: var(--
|
|
776
|
+
--aui-avatar-text: var(--aui-button-default-text-color);
|
|
777
|
+
--aui-avatar-background: var(--aui-button-default-bg-color);
|
|
775
778
|
|
|
776
779
|
// Lozenges
|
|
777
780
|
--aui-lozenge-bg-color: var(--ds-background-neutral-bold, @ak-color-N500);
|
|
@@ -992,7 +995,7 @@
|
|
|
992
995
|
--aui-table-caption-bg-color: var(--ds-background-accent-gray-subtlest, @ak-color-N20);
|
|
993
996
|
--aui-table-caption-text-color: var(--ds-text-subtle, @ak-color-N100);
|
|
994
997
|
--aui-table-list-row-hover-color: var(--ds-background-neutral-subtle-hovered, @ak-color-N30A);
|
|
995
|
-
--aui-table-list-row-subtle-color: var(--ds-
|
|
998
|
+
--aui-table-list-row-subtle-color: var(--ds-text-subtlest, @ak-color-N60);
|
|
996
999
|
--aui-table-sortable-hover-bg-color: var(--ds-background-neutral-subtle-hovered, @ak-color-N30A);
|
|
997
1000
|
--aui-table-sortable-active-bg-color: var(--ds-background-accent-blue-subtler, @ak-color-B50);
|
|
998
1001
|
--aui-table-sortable-active-border-color: var(--ds-border-accent-blue, @ak-color-B500);
|