@atlassian/aui 10.2.1 → 11.0.0-m004
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.css +11 -11
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +11 -11
- package/dist/aui/aui-prototyping.js.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.css +11 -11
- package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +11 -11
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/dist/aui/fonts/AtlassianMono-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMono-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianMonoItalic-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-greek-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSans-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-cyrillic-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-cyrillic.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-greek-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-greek.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-latin-ext.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-latin.woff2 +0 -0
- package/dist/aui/fonts/AtlassianSansItalic-vietnamese.woff2 +0 -0
- package/dist/aui/fonts/adgs-icons.eot +0 -0
- package/dist/aui/fonts/adgs-icons.ttf +0 -0
- package/dist/aui/fonts/adgs-icons.woff +0 -0
- package/dist/aui/images/adgs-icons.svg +558 -558
- package/entry/token-themes-generated/aui-prototyping-design-tokens-base-themes.less +54 -0
- package/package.json +5 -5
- package/src/js/aui/banner.js +23 -5
- package/src/less/adg-header-quicksearch.less +1 -6
- package/src/less/adg-help.less +6 -2
- package/src/less/aui-appheader.less +9 -16
- package/src/less/aui-badge.less +7 -5
- package/src/less/aui-banner.less +31 -15
- package/src/less/aui-date-picker.less +5 -5
- package/src/less/aui-experimental-progress-indicator.less +52 -14
- package/src/less/aui-experimental-progress-tracker.less +1 -1
- package/src/less/aui-icons.less +2 -2
- package/src/less/aui-lozenge.less +33 -7
- package/src/less/aui-navigation.less +3 -1
- package/src/less/aui-page-typography.less +120 -28
- package/src/less/aui-select2.less +3 -1
- package/src/less/aui-sidebar-skeleton.less +2 -2
- package/src/less/dialog.less +1 -1
- package/src/less/dialog2.less +2 -1
- package/src/less/dropdown2.less +3 -1
- package/src/less/fonts/AtlassianMono-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianMono-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianMonoItalic-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-greek-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianSans-vietnamese.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-cyrillic-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-cyrillic.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-greek-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-greek.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-latin-ext.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-latin.woff2 +0 -0
- package/src/less/fonts/AtlassianSansItalic-vietnamese.woff2 +0 -0
- package/src/less/fonts.less +295 -0
- package/src/less/forms-current.less +26 -9
- package/src/less/forms.less +1 -4
- package/src/less/imports/aui-theme/core/colors.less +50 -39
- package/src/less/imports/aui-theme/core/icons.less +2 -1
- package/src/less/imports/aui-theme/core/text.less +0 -7
- package/src/less/imports/aui-theme/theme.less +5 -5
- package/src/less/imports/mixins/typography.less +0 -85
- package/src/less/imports/mixins.less +0 -16
- package/src/less/layer.less +1 -1
- package/src/less/messages.less +1 -1
- package/src/less/tables.less +2 -1
|
@@ -1663,4 +1663,58 @@ html:not([data-color-mode-auto])[data-color-mode="dark"]:not([data-theme]) {
|
|
|
1663
1663
|
--ds-UNSAFE-transparent: transparent;
|
|
1664
1664
|
--ds-elevation-surface-current: #1F1F21;
|
|
1665
1665
|
}
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/* ------ THEME: spacing ------ */
|
|
1669
|
+
html[data-theme~="spacing:spacing"] {
|
|
1670
|
+
--ds-space-0: 0rem;
|
|
1671
|
+
--ds-space-025: 0.125rem;
|
|
1672
|
+
--ds-space-050: 0.25rem;
|
|
1673
|
+
--ds-space-075: 0.375rem;
|
|
1674
|
+
--ds-space-100: 0.5rem;
|
|
1675
|
+
--ds-space-150: 0.75rem;
|
|
1676
|
+
--ds-space-200: 1rem;
|
|
1677
|
+
--ds-space-250: 1.25rem;
|
|
1678
|
+
--ds-space-300: 1.5rem;
|
|
1679
|
+
--ds-space-400: 2rem;
|
|
1680
|
+
--ds-space-500: 2.5rem;
|
|
1681
|
+
--ds-space-600: 3rem;
|
|
1682
|
+
--ds-space-800: 4rem;
|
|
1683
|
+
--ds-space-1000: 5rem;
|
|
1684
|
+
--ds-space-negative-025: -0.125rem;
|
|
1685
|
+
--ds-space-negative-050: -0.25rem;
|
|
1686
|
+
--ds-space-negative-075: -0.375rem;
|
|
1687
|
+
--ds-space-negative-100: -0.5rem;
|
|
1688
|
+
--ds-space-negative-150: -0.75rem;
|
|
1689
|
+
--ds-space-negative-200: -1rem;
|
|
1690
|
+
--ds-space-negative-250: -1.25rem;
|
|
1691
|
+
--ds-space-negative-300: -1.5rem;
|
|
1692
|
+
--ds-space-negative-400: -2rem;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/* ------ THEME: typography ------ */
|
|
1696
|
+
html[data-theme~="typography:typography"] {
|
|
1697
|
+
--ds-font-heading-xxlarge: normal 653 2rem/2.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1698
|
+
--ds-font-heading-xlarge: normal 653 1.75rem/2rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1699
|
+
--ds-font-heading-large: normal 653 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1700
|
+
--ds-font-heading-medium: normal 653 1.25rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1701
|
+
--ds-font-heading-small: normal 653 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1702
|
+
--ds-font-heading-xsmall: normal 653 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1703
|
+
--ds-font-heading-xxsmall: normal 653 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1704
|
+
--ds-font-body-large: normal 400 1rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1705
|
+
--ds-font-body: normal 400 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1706
|
+
--ds-font-body-small: normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1707
|
+
--ds-font-metric-large: normal 653 1.75rem/2rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1708
|
+
--ds-font-metric-medium: normal 653 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1709
|
+
--ds-font-metric-small: normal 653 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1710
|
+
--ds-font-code: normal 400 0.875em/1 "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
1711
|
+
--ds-font-weight-regular: 400;
|
|
1712
|
+
--ds-font-weight-medium: 500;
|
|
1713
|
+
--ds-font-weight-semibold: 600;
|
|
1714
|
+
--ds-font-weight-bold: 653;
|
|
1715
|
+
--ds-font-family-heading: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1716
|
+
--ds-font-family-body: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1717
|
+
--ds-font-family-code: "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
1718
|
+
--ds-font-family-brand-heading: "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1719
|
+
--ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
|
|
1666
1720
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlassian/aui",
|
|
3
3
|
"description": "Atlassian User Interface library",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "11.0.0-m004",
|
|
5
5
|
"author": "Atlassian Pty Ltd.",
|
|
6
6
|
"homepage": "https://aui.atlassian.com",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
],
|
|
34
34
|
"//": "AUI's publishConfig is managed by its build scripts.",
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"jquery": "^
|
|
36
|
+
"jquery": "^4.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/tokens": "13.0.4",
|
|
40
|
-
"@atlassian/adg-server-iconfont": "
|
|
40
|
+
"@atlassian/adg-server-iconfont": "4.0.0-m05",
|
|
41
41
|
"@popperjs/core": "2.11.8",
|
|
42
42
|
"backbone": "1.6.0",
|
|
43
43
|
"dompurify": "^3.3.2",
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"fs-extra": "11.3.5",
|
|
60
60
|
"ignore-emit-webpack-plugin": "^2.0.6",
|
|
61
61
|
"jquery": "4.0.0",
|
|
62
|
-
"jquery-3": "npm:jquery@3.7.1",
|
|
63
62
|
"less": "4.6.4",
|
|
64
63
|
"react": "18.3.1",
|
|
65
64
|
"webpack-merge": "6.0.1"
|
|
@@ -70,6 +69,7 @@
|
|
|
70
69
|
"clean": "rm -rf ./dist",
|
|
71
70
|
"dist/build:prototyping": "rspack --config webpack/dist.prototyping.webpack.config.js",
|
|
72
71
|
"build": "yarn dist/build:prototyping",
|
|
73
|
-
"watch": "yarn dist/build:prototyping --watch"
|
|
72
|
+
"watch": "yarn dist/build:prototyping --watch",
|
|
73
|
+
"update-product-fonts": "node --experimental-strip-types scripts/fonts.ts"
|
|
74
74
|
}
|
|
75
75
|
}
|
package/src/js/aui/banner.js
CHANGED
|
@@ -21,16 +21,34 @@ function banner(options) {
|
|
|
21
21
|
return bannerElement;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
const ICON_CLASS_BY_TYPE = {
|
|
25
|
+
warning: 'aui-iconfont-warning',
|
|
26
|
+
error: 'aui-iconfont-error',
|
|
27
|
+
};
|
|
28
|
+
|
|
24
29
|
function createBannerElement({ body = '', type = 'error' }) {
|
|
25
30
|
const banner = document.createElement('div');
|
|
26
31
|
banner.className = `aui-banner aui-banner-${type}`;
|
|
27
32
|
banner.setAttribute('role', 'alert');
|
|
28
|
-
banner.innerHTML = body;
|
|
29
33
|
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
const row = document.createElement('div');
|
|
35
|
+
row.classList.add('aui-banner-row');
|
|
36
|
+
|
|
37
|
+
const iconClass = ICON_CLASS_BY_TYPE[type];
|
|
38
|
+
if (iconClass) {
|
|
39
|
+
const icon = document.createElement('span');
|
|
40
|
+
icon.className = `aui-icon aui-icon-small ${iconClass}`;
|
|
41
|
+
icon.setAttribute('role', 'img');
|
|
42
|
+
icon.setAttribute('aria-label', type.charAt(0).toUpperCase() + type.slice(1));
|
|
43
|
+
row.appendChild(icon);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const content = document.createElement('div');
|
|
47
|
+
content.classList.add('aui-banner-content');
|
|
48
|
+
content.innerHTML = body;
|
|
49
|
+
row.appendChild(content);
|
|
50
|
+
|
|
51
|
+
banner.appendChild(row);
|
|
34
52
|
|
|
35
53
|
return banner;
|
|
36
54
|
}
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
@border-color: var(--aui-appheader-quicksearch-border-color);
|
|
12
12
|
@text-color: var(--aui-appheader-quicksearch-text-color);
|
|
13
13
|
@placeholder-color: var(--aui-appheader-quicksearch-placeholder-text-color);
|
|
14
|
-
@hover-bg-color: var(--aui-appheader-quicksearch-hover-bg-color);
|
|
15
14
|
@focus-bg-color: var(--aui-appheader-quicksearch-focus-bg-color);
|
|
16
15
|
@focus-text-color: var(--aui-appheader-quicksearch-focus-text-color);
|
|
17
16
|
@width: 170px;
|
|
18
|
-
@border-radius:
|
|
17
|
+
@border-radius: var(--ds-radius-medium, 6px); // should match --aui-appheader-item-border-radius
|
|
19
18
|
@box-shadow: none;
|
|
20
19
|
@icon: @aui-glyph-search-small;
|
|
21
20
|
|
|
@@ -62,10 +61,6 @@
|
|
|
62
61
|
&::placeholder {
|
|
63
62
|
opacity: 1;
|
|
64
63
|
}
|
|
65
|
-
|
|
66
|
-
&:hover {
|
|
67
|
-
background-color: @hover-bg-color;
|
|
68
|
-
}
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
// Override the browser appearance of type=text, type=search and type=button.
|
package/src/less/adg-help.less
CHANGED
|
@@ -33,7 +33,9 @@
|
|
|
33
33
|
> h4,
|
|
34
34
|
> h5,
|
|
35
35
|
> h6 {
|
|
36
|
-
|
|
36
|
+
font: var(--ds-font-heading-xxsmall);
|
|
37
|
+
color: @aui-help-header-color;
|
|
38
|
+
text-transform: uppercase;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -58,7 +60,9 @@
|
|
|
58
60
|
|
|
59
61
|
.aui-inline-dialog-contents {
|
|
60
62
|
h2:first-child {
|
|
61
|
-
|
|
63
|
+
font: var(--ds-font-heading-xxsmall);
|
|
64
|
+
color: @aui-inline-dialog-help-headline-color;
|
|
65
|
+
text-transform: uppercase;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
}
|
|
@@ -97,12 +97,13 @@ aui-header,
|
|
|
97
97
|
--aui-badge-text-color: var(--aui-lf-appheader-text-color);
|
|
98
98
|
--aui-badge-bg-color: var(--aui-lf-appheader-item-focus-bg-color);
|
|
99
99
|
--aui-appheader-height: auto;
|
|
100
|
-
--aui-appheader-item-height:
|
|
101
|
-
--aui-appheader-item-border-radius:
|
|
100
|
+
--aui-appheader-item-height: 32px;
|
|
101
|
+
--aui-appheader-item-border-radius: var(--ds-radius-medium, 6px);
|
|
102
102
|
@section-gap: 20px;
|
|
103
103
|
|
|
104
104
|
box-sizing: border-box;
|
|
105
|
-
padding:
|
|
105
|
+
padding: var(--ds-space-100, 8px) var(--ds-space-150, 12px)
|
|
106
|
+
calc(var(--ds-space-100, 8px) - @aui-border-width) var(--ds-space-150, 12px);
|
|
106
107
|
position: relative;
|
|
107
108
|
|
|
108
109
|
.aui-header-before {
|
|
@@ -159,6 +160,7 @@ aui-header,
|
|
|
159
160
|
align-items: center;
|
|
160
161
|
display: flex;
|
|
161
162
|
justify-content: space-around;
|
|
163
|
+
gap: var(--ds-space-050, 4px);
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
> .aui-nav > li {
|
|
@@ -203,14 +205,13 @@ aui-header,
|
|
|
203
205
|
border-radius: var(--aui-appheader-item-border-radius);
|
|
204
206
|
box-sizing: border-box;
|
|
205
207
|
height: var(--aui-appheader-item-height, auto);
|
|
206
|
-
padding: var(--aui-appheader-item-padding-y,
|
|
207
|
-
var(--aui-appheader-item-padding-x,
|
|
208
|
+
padding: var(--aui-appheader-item-padding-y, var(--ds-space-050, 4px))
|
|
209
|
+
var(--aui-appheader-item-padding-x, var(--ds-space-050, 4px));
|
|
208
210
|
color: var(--aui-lf-appheader-text-color);
|
|
209
211
|
text-decoration: none;
|
|
210
212
|
}
|
|
211
213
|
|
|
212
|
-
&:hover
|
|
213
|
-
&:focus {
|
|
214
|
+
&:hover {
|
|
214
215
|
background-color: var(--aui-lf-appheader-item-focus-bg-color);
|
|
215
216
|
color: var(--aui-lf-appheader-item-focus-text-color, inherit);
|
|
216
217
|
}
|
|
@@ -224,14 +225,6 @@ aui-header,
|
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
|
|
227
|
-
// Make hover shadow rounded for icon buttons
|
|
228
|
-
.aui-header-secondary > .aui-nav > li > a.aui-button-round {
|
|
229
|
-
height: auto;
|
|
230
|
-
border-radius: 100%;
|
|
231
|
-
padding: 4px;
|
|
232
|
-
margin: 0 unit((4 / @aui-font-size-medium), em);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
228
|
// Special-case padding to separate non-nav items from nav items.
|
|
236
229
|
.aui-header-primary > .aui-nav > li > .aui-button,
|
|
237
230
|
.aui-header-primary > .aui-nav > li > .aui-buttons {
|
|
@@ -245,7 +238,7 @@ aui-header,
|
|
|
245
238
|
// Override the icon styles so that every icon in the header is a uniform size...
|
|
246
239
|
// ...but only in the right-hand side of the header.
|
|
247
240
|
.aui-header-secondary > .aui-nav > li > a > .aui-icon {
|
|
248
|
-
--aui-icon-size:
|
|
241
|
+
--aui-icon-size: @aui-icon-size-small;
|
|
249
242
|
}
|
|
250
243
|
|
|
251
244
|
// Bump up the font size when text is used in place of a logo
|
package/src/less/aui-badge.less
CHANGED
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
aui-badge,
|
|
5
5
|
.aui-badge {
|
|
6
6
|
background: var(--aui-badge-bg-color); // RGBA
|
|
7
|
-
border-radius:
|
|
7
|
+
border-radius: var(--ds-radius-xsmall);
|
|
8
|
+
box-sizing: border-box;
|
|
8
9
|
color: var(--aui-badge-text-color);
|
|
9
10
|
font-size: @aui-font-size-small;
|
|
10
11
|
font-weight: @aui-font-weight-normal;
|
|
11
|
-
line-height: 1;
|
|
12
12
|
margin: 0;
|
|
13
|
-
min-
|
|
14
|
-
|
|
15
|
-
padding:
|
|
13
|
+
min-width: var(--ds-space-300);
|
|
14
|
+
block-size: min-content;
|
|
15
|
+
padding-block: 0;
|
|
16
|
+
padding-inline: var(--ds-space-050);
|
|
16
17
|
position: relative;
|
|
17
18
|
display: inline-flex;
|
|
19
|
+
flex-shrink: 0;
|
|
18
20
|
align-items: center;
|
|
19
21
|
justify-content: center;
|
|
20
22
|
justify-items: center;
|
package/src/less/aui-banner.less
CHANGED
|
@@ -1,42 +1,58 @@
|
|
|
1
1
|
@import (reference) './imports/global';
|
|
2
2
|
|
|
3
3
|
.aui-banner {
|
|
4
|
-
--aui-
|
|
5
|
-
--aui-
|
|
6
|
-
--aui-message-isize: @aui-icon-size-small;
|
|
4
|
+
--aui-banner-padding: var(--ds-space-150, 12px);
|
|
5
|
+
--aui-banner-gap: var(--ds-space-050, 4px);
|
|
7
6
|
--aui-focus: currentcolor;
|
|
8
7
|
--aui-link-color: currentcolor;
|
|
9
8
|
--aui-link-hover-color: currentcolor;
|
|
10
9
|
--aui-link-active-color: currentcolor;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
gap: var(--aui-banner-gap);
|
|
13
|
+
padding: var(--aui-banner-padding);
|
|
11
14
|
border-radius: 0;
|
|
12
15
|
box-shadow: none;
|
|
13
16
|
margin-top: 0;
|
|
17
|
+
font-size: @aui-font-size-medium;
|
|
18
|
+
font-weight: var(--ds-font-weight-medium, @aui-font-weight-medium);
|
|
19
|
+
position: relative;
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
.aui-banner-row {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: start;
|
|
24
|
+
gap: var(--aui-banner-gap);
|
|
25
|
+
flex: 1 1 auto;
|
|
26
|
+
min-width: 0;
|
|
18
27
|
}
|
|
19
28
|
|
|
20
|
-
|
|
21
|
-
|
|
29
|
+
.aui-banner-content {
|
|
30
|
+
flex: 1 1 auto;
|
|
31
|
+
line-height: 24px;
|
|
32
|
+
min-width: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.aui-banner-row > .aui-icon {
|
|
36
|
+
flex: 0 0 auto;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
width: 24px;
|
|
41
|
+
height: 24px;
|
|
42
|
+
color: currentcolor;
|
|
43
|
+
}
|
|
22
44
|
|
|
23
45
|
a:not(.aui-button),
|
|
24
46
|
.aui-button-link {
|
|
47
|
+
font-weight: inherit;
|
|
25
48
|
text-decoration: underline;
|
|
26
49
|
}
|
|
27
50
|
|
|
28
|
-
&.aui-banner-error,
|
|
29
|
-
&.aui-banner-warning {
|
|
30
|
-
padding-left: var(--aui-message-gutter);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
51
|
&.aui-banner-error {
|
|
34
|
-
--aui-message-ig: @aui-glyph-exclamation-circle;
|
|
35
52
|
background-color: var(--aui-banner-error-bg-color);
|
|
36
53
|
color: var(--aui-banner-error-text-color);
|
|
37
54
|
}
|
|
38
55
|
&.aui-banner-warning {
|
|
39
|
-
--aui-message-ig: @aui-glyph-exclamation-triangle;
|
|
40
56
|
background-color: var(--aui-banner-warning-bg-color);
|
|
41
57
|
color: var(--aui-banner-warning-text-color);
|
|
42
58
|
}
|
|
@@ -44,8 +44,7 @@
|
|
|
44
44
|
.aui-datepicker-dialog .ui-datepicker {
|
|
45
45
|
background: inherit;
|
|
46
46
|
color: inherit;
|
|
47
|
-
font
|
|
48
|
-
font-family: @aui-font-family;
|
|
47
|
+
font: var(--ds-font-body);
|
|
49
48
|
padding: 0;
|
|
50
49
|
}
|
|
51
50
|
|
|
@@ -91,7 +90,9 @@
|
|
|
91
90
|
}
|
|
92
91
|
|
|
93
92
|
.aui-datepicker-dialog .ui-datepicker .ui-datepicker-calendar th {
|
|
94
|
-
|
|
93
|
+
font: var(--ds-font-heading-xxsmall);
|
|
94
|
+
color: var(--aui-datepicker-heading-weekdays-text-color);
|
|
95
|
+
text-transform: uppercase;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.aui-datepicker-dialog .ui-datepicker .ui-datepicker-calendar th,
|
|
@@ -107,8 +108,7 @@
|
|
|
107
108
|
border-radius: @aui-border-radius-smallish;
|
|
108
109
|
box-sizing: border-box;
|
|
109
110
|
display: block;
|
|
110
|
-
font
|
|
111
|
-
font-family: @aui-font-family;
|
|
111
|
+
font: var(--ds-font-body);
|
|
112
112
|
line-height: 25px;
|
|
113
113
|
padding: 0;
|
|
114
114
|
text-align: center;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import (reference) './imports/global';
|
|
2
2
|
|
|
3
3
|
@aui-progress-height: 6px;
|
|
4
|
-
@aui-progress-indicator-border-radius:
|
|
4
|
+
@aui-progress-indicator-border-radius: 9999px;
|
|
5
5
|
|
|
6
6
|
aui-progressbar {
|
|
7
7
|
display: block;
|
|
@@ -16,35 +16,73 @@ aui-progressbar {
|
|
|
16
16
|
width: 100%;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
/* Indeterminate state: hide the value bar, use two pseudo-element bars instead */
|
|
20
|
+
.aui-progress-indicator::before,
|
|
21
|
+
.aui-progress-indicator::after {
|
|
22
|
+
background: var(--aui-progressbar-color);
|
|
21
23
|
border-radius: @aui-progress-indicator-border-radius;
|
|
22
|
-
|
|
24
|
+
content: '';
|
|
23
25
|
height: @aui-progress-height;
|
|
24
|
-
#aui.transition(none);
|
|
25
26
|
position: absolute;
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
will-change: left, right;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Secondary bar: slow, wide sweep */
|
|
31
|
+
.aui-progress-indicator::before {
|
|
32
|
+
animation: aui-progress-secondary 2s infinite;
|
|
28
33
|
}
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
/* Primary bar: fast, narrow sweep */
|
|
36
|
+
.aui-progress-indicator::after {
|
|
37
|
+
animation: aui-progress-primary 2s 0.5s infinite;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes aui-progress-secondary {
|
|
31
41
|
0% {
|
|
32
|
-
left:
|
|
42
|
+
left: -5%;
|
|
43
|
+
width: 5%;
|
|
44
|
+
}
|
|
45
|
+
to {
|
|
46
|
+
left: 130%;
|
|
47
|
+
width: 100%;
|
|
33
48
|
}
|
|
34
|
-
|
|
35
|
-
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes aui-progress-primary {
|
|
52
|
+
0% {
|
|
53
|
+
left: -80%;
|
|
54
|
+
width: 80%;
|
|
36
55
|
}
|
|
37
|
-
|
|
38
|
-
left:
|
|
56
|
+
to {
|
|
57
|
+
left: 110%;
|
|
58
|
+
width: 10%;
|
|
39
59
|
}
|
|
40
60
|
}
|
|
41
61
|
|
|
62
|
+
/* Hide pseudo-elements and show value bar in determinate state */
|
|
63
|
+
.aui-progress-indicator[data-value]::before,
|
|
64
|
+
.aui-progress-indicator[data-value]::after {
|
|
65
|
+
animation: none;
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.aui-progress-indicator-value {
|
|
70
|
+
border-radius: @aui-progress-indicator-border-radius;
|
|
71
|
+
display: none; /* hidden in indeterminate state by default */
|
|
72
|
+
height: @aui-progress-height;
|
|
73
|
+
#aui.transition(none);
|
|
74
|
+
position: absolute;
|
|
75
|
+
width: 0;
|
|
76
|
+
background: var(--aui-progressbar-color);
|
|
77
|
+
}
|
|
78
|
+
|
|
42
79
|
.aui-progress-indicator[data-value] .aui-progress-indicator-value {
|
|
80
|
+
display: block;
|
|
43
81
|
animation: none;
|
|
44
82
|
left: 0;
|
|
45
83
|
background: var(--aui-progressbar-color);
|
|
46
84
|
border-radius: @aui-progress-indicator-border-radius;
|
|
47
|
-
#aui.transition(width 0.
|
|
85
|
+
#aui.transition(width 0.2s);
|
|
48
86
|
}
|
|
49
87
|
|
|
50
88
|
.aui-progress-indicator-static[data-value] .aui-progress-indicator-value {
|
package/src/less/aui-icons.less
CHANGED
|
@@ -73,6 +73,6 @@ form.aui .icon-help,
|
|
|
73
73
|
.aui-icon-help,
|
|
74
74
|
form.aui .icon-inline-help,
|
|
75
75
|
.aui-icon-inline-help {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
.aui-icon();
|
|
77
|
+
--aui-ig: @aui-glyph-question-circle;
|
|
78
78
|
}
|
|
@@ -1,35 +1,53 @@
|
|
|
1
1
|
@import (reference) './imports/global';
|
|
2
2
|
|
|
3
3
|
/*! AUI Lozenge */
|
|
4
|
-
.aui-lozenge {
|
|
5
|
-
@aui-lozenge-border-radius: @aui-border-radius-small;
|
|
6
4
|
|
|
5
|
+
/*
|
|
6
|
+
Internal only. This will be removed in the future,
|
|
7
|
+
when ADG will provide explicit tokens for borders.
|
|
8
|
+
*/
|
|
9
|
+
#aui-themes.when-light-mode({
|
|
10
|
+
--aui-lozenge-border-l-factor: 1.33;
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
#aui-themes.when-dark-mode({
|
|
14
|
+
--aui-lozenge-border-l-factor: 0.7;
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
.aui-lozenge {
|
|
7
18
|
background: var(--aui-lozenge-bg-color);
|
|
8
|
-
border:
|
|
9
|
-
border-
|
|
19
|
+
border-width: @aui-border-width;
|
|
20
|
+
border-style: @aui-border-type;
|
|
21
|
+
border-color: var(--aui-lozenge-border-color);
|
|
22
|
+
border-radius: var(--ds-radius-small, 4px);
|
|
10
23
|
color: var(--aui-lozenge-text-color);
|
|
11
24
|
display: inline-block;
|
|
12
|
-
font
|
|
13
|
-
font-weight: bold;
|
|
25
|
+
font: var(--ds-font-body-small);
|
|
14
26
|
line-height: 1;
|
|
15
27
|
margin: 0;
|
|
16
|
-
padding: 2px
|
|
28
|
+
padding: var(--ds-space-025, 2px) var(--ds-space-050, 4px);
|
|
17
29
|
text-align: center;
|
|
18
30
|
text-decoration: none;
|
|
19
31
|
text-transform: uppercase;
|
|
20
32
|
|
|
21
33
|
&.aui-lozenge-subtle {
|
|
22
34
|
background-color: var(--aui-lozenge-subtle-bg-color);
|
|
35
|
+
border-color: var(--aui-lozenge-subtle-border-color);
|
|
23
36
|
color: var(--aui-lozenge-subtle-text-color);
|
|
24
37
|
}
|
|
25
38
|
}
|
|
39
|
+
.aui-lozenge:lang(en) {
|
|
40
|
+
text-transform: capitalize;
|
|
41
|
+
}
|
|
26
42
|
|
|
27
43
|
.aui-lozenge-success {
|
|
28
44
|
background-color: var(--aui-lozenge-success-bg-color);
|
|
45
|
+
border-color: var(--aui-lozenge-success-border-color);
|
|
29
46
|
color: var(--aui-lozenge-success-text-color);
|
|
30
47
|
|
|
31
48
|
&.aui-lozenge-subtle {
|
|
32
49
|
background-color: var(--aui-lozenge-success-subtle-bg-color);
|
|
50
|
+
border-color: var(--aui-lozenge-success-subtle-border-color);
|
|
33
51
|
color: var(--aui-lozenge-success-subtle-text-color);
|
|
34
52
|
}
|
|
35
53
|
}
|
|
@@ -37,10 +55,12 @@
|
|
|
37
55
|
.aui-lozenge-error,
|
|
38
56
|
.aui-lozenge-removed {
|
|
39
57
|
background-color: var(--aui-lozenge-error-bg-color);
|
|
58
|
+
border-color: var(--aui-lozenge-error-border-color);
|
|
40
59
|
color: var(--aui-lozenge-error-text-color);
|
|
41
60
|
|
|
42
61
|
&.aui-lozenge-subtle {
|
|
43
62
|
background-color: var(--aui-lozenge-error-subtle-bg-color);
|
|
63
|
+
border-color: var(--aui-lozenge-error-subtle-border-color);
|
|
44
64
|
color: var(--aui-lozenge-error-subtle-text-color);
|
|
45
65
|
}
|
|
46
66
|
}
|
|
@@ -48,10 +68,12 @@
|
|
|
48
68
|
.aui-lozenge-current,
|
|
49
69
|
.aui-lozenge-inprogress {
|
|
50
70
|
background-color: var(--aui-lozenge-current-bg-color);
|
|
71
|
+
border-color: var(--aui-lozenge-current-border-color);
|
|
51
72
|
color: var(--aui-lozenge-current-text-color);
|
|
52
73
|
|
|
53
74
|
&.aui-lozenge-subtle {
|
|
54
75
|
background-color: var(--aui-lozenge-current-subtle-bg-color);
|
|
76
|
+
border-color: var(--aui-lozenge-current-subtle-border-color);
|
|
55
77
|
color: var(--aui-lozenge-current-subtle-text-color);
|
|
56
78
|
}
|
|
57
79
|
}
|
|
@@ -59,19 +81,23 @@
|
|
|
59
81
|
.aui-lozenge-complete,
|
|
60
82
|
.aui-lozenge-new {
|
|
61
83
|
background-color: var(--aui-lozenge-new-bg-color);
|
|
84
|
+
border-color: var(--aui-lozenge-new-border-color);
|
|
62
85
|
color: var(--aui-lozenge-new-text-color);
|
|
63
86
|
|
|
64
87
|
&.aui-lozenge-subtle {
|
|
65
88
|
background-color: var(--aui-lozenge-new-subtle-bg-color);
|
|
89
|
+
border-color: var(--aui-lozenge-new-subtle-border-color);
|
|
66
90
|
color: var(--aui-lozenge-new-subtle-text-color);
|
|
67
91
|
}
|
|
68
92
|
}
|
|
69
93
|
.aui-lozenge-moved {
|
|
70
94
|
background-color: var(--aui-lozenge-moved-bg-color);
|
|
95
|
+
border-color: var(--aui-lozenge-moved-border-color);
|
|
71
96
|
color: var(--aui-lozenge-moved-text-color);
|
|
72
97
|
|
|
73
98
|
&.aui-lozenge-subtle {
|
|
74
99
|
background-color: var(--aui-lozenge-moved-subtle-bg-color);
|
|
100
|
+
border-color: var(--aui-lozenge-moved-subtle-border-color);
|
|
75
101
|
color: var(--aui-lozenge-moved-subtle-text-color);
|
|
76
102
|
}
|
|
77
103
|
}
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
/* Navigation headings
|
|
35
35
|
-------------------- */
|
|
36
36
|
.aui-nav-heading {
|
|
37
|
-
|
|
37
|
+
font: var(--ds-font-heading-xxsmall);
|
|
38
|
+
color: @aui-nav-heading-text-color;
|
|
39
|
+
text-transform: uppercase;
|
|
38
40
|
line-height: unit((20 / @aui-nav-heading-text-font-size));
|
|
39
41
|
padding: 0 @aui-nav-link-spacing-horizontal; // to match the nav-item layout.
|
|
40
42
|
|