@atlassian/aui 8.3.7 → 8.3.11

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.
@@ -1,6 +1,6 @@
1
1
  export * from './aui.side-effects';
2
2
  export { log, error, warn } from './behaviours/aui.behaviour.logger';
3
- import {i18n as I18n} from './behaviours/aui.behaviour.i18n';
3
+ import { I18n } from './behaviours/aui.behaviour.i18n';
4
4
  import './aui.batch.page';
5
5
  import './aui.batch.patterns';
6
6
  import './aui.batch.iconography';
@@ -1 +1 @@
1
- export {default as i18n} from '@atlassian/aui/src/js/aui/i18n';
1
+ export { I18n } from '@atlassian/aui/src/js/aui/i18n';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlassian/aui",
3
3
  "description": "Atlassian User Interface library",
4
- "version": "8.3.7",
4
+ "version": "8.3.11",
5
5
  "author": "Atlassian Pty Ltd.",
6
6
  "homepage": "https://aui.atlassian.com",
7
7
  "license": "Apache-2.0",
@@ -28,24 +28,24 @@
28
28
  "README.md",
29
29
  "yarn.lock"
30
30
  ],
31
+ "//": "AUI's publishConfig is managed by its build scripts.",
31
32
  "peerDependencies": {
32
33
  "jquery": "^2 || ^3"
33
34
  },
34
35
  "dependencies": {
35
- "@atlassian/brand-logos": "^1.2.0",
36
- "@atlassian/tipsy": "^1.3.1",
37
- "backbone": "^1.3.3",
36
+ "@atlassian/brand-logos": "1.2.0",
37
+ "@atlassian/tipsy": "1.3.3",
38
+ "backbone": "1.3.3",
38
39
  "css.escape": "1.5.0",
39
- "fancy-file-input": "~2.0.4",
40
- "jquery-ui": "^1.12.1",
41
- "popper.js": "^1.14.5",
40
+ "fancy-file-input": "2.0.4",
41
+ "jquery-ui": "1.12.1",
42
+ "popper.js": "1.14.5",
42
43
  "skatejs": "0.13.17",
43
44
  "skatejs-template-html": "0.0.0",
44
45
  "trim-extra-html-whitespace": "1.3.0",
45
- "underscore": "^1.9.1"
46
+ "underscore": "1.13.1"
46
47
  },
47
48
  "devDependencies": {
48
- "@atlaskit/util-shared-styles": "2.10.4",
49
49
  "@atlassian/adg-server-iconfont": "3.1.0",
50
50
  "@atlassian/aui-webpack-config": "1.0.0",
51
51
  "babel-core": "^6.26.0",
@@ -7,7 +7,7 @@ import keys from './internal/i18n/aui';
7
7
  * the key is returned - this could occur in plugin mode if the I18n transform is not performed;
8
8
  * or in flatpack mode if the i18n JS file is not loaded.
9
9
  */
10
- export var I18n = {
10
+ const I18n = {
11
11
  keys: keys,
12
12
  getText: function (key, ...params) {
13
13
  if (Object.prototype.hasOwnProperty.call(this.keys, key)) {
@@ -18,6 +18,11 @@ export var I18n = {
18
18
  }
19
19
  };
20
20
 
21
+ export {
22
+ I18n,
23
+ format
24
+ }
25
+
21
26
  /**
22
27
  * Deprecated - do not use AJS.I18n.getText from global scope within AUI code. Use import { I18n } from '../i18n'
23
28
  * Also keep in mind that WRM is looking for patterns like "I18n.getText" so do not create
@@ -0,0 +1 @@
1
+ @ak-border-radius: 3px;
@@ -0,0 +1,112 @@
1
+ // Primary color palette
2
+ @ak-color-primary1: @ak-color-N800;
3
+ @ak-color-primary2: @ak-color-B500;
4
+ @ak-color-primary3: @ak-color-N0;
5
+
6
+ // Secondary color palette
7
+ @ak-color-secondary1: @ak-color-R300;
8
+ @ak-color-secondary2: @ak-color-Y300;
9
+ @ak-color-secondary3: @ak-color-G300;
10
+ @ak-color-secondary4: @ak-color-P300;
11
+ @ak-color-secondary5: @ak-color-T300;
12
+
13
+ // Reds
14
+ @ak-color-R50: #FFEBE6;
15
+ @ak-color-R75: #FFBDAD;
16
+ @ak-color-R100: #FF8F73;
17
+ @ak-color-R200: #FF7452;
18
+ @ak-color-R300: #FF5630;
19
+ @ak-color-R400: #DE350B;
20
+ @ak-color-R500: #BF2600;
21
+
22
+ // Yellows
23
+ @ak-color-Y50: #FFFAE6;
24
+ @ak-color-Y75: #FFF0B3;
25
+ @ak-color-Y100: #FFE380;
26
+ @ak-color-Y200: #FFC400;
27
+ @ak-color-Y300: #FFAB00;
28
+ @ak-color-Y400: #FF991F;
29
+ @ak-color-Y500: #FF8B00;
30
+
31
+ // Greens
32
+ @ak-color-G50: #E3FCEF;
33
+ @ak-color-G75: #ABF5D1;
34
+ @ak-color-G100: #79F2C0;
35
+ @ak-color-G200: #57D9A3;
36
+ @ak-color-G300: #36B37E;
37
+ @ak-color-G400: #00875A;
38
+ @ak-color-G500: #006644;
39
+
40
+ // Blues
41
+ @ak-color-B50: #DEEBFF;
42
+ @ak-color-B75: #B3D4FF;
43
+ @ak-color-B100: #4C9AFF;
44
+ @ak-color-B200: #2684FF;
45
+ @ak-color-B300: #0065FF;
46
+ @ak-color-B400: #0052CC;
47
+ @ak-color-B500: #0747A6;
48
+
49
+ // Purples
50
+ @ak-color-P50: #EAE6FF;
51
+ @ak-color-P75: #C0B6F2;
52
+ @ak-color-P100: #998DD9;
53
+ @ak-color-P200: #8777D9;
54
+ @ak-color-P300: #6554C0;
55
+ @ak-color-P400: #5243AA;
56
+ @ak-color-P500: #403294;
57
+
58
+ // Teals
59
+ @ak-color-T50: #E6FCFF;
60
+ @ak-color-T75: #B3F5FF;
61
+ @ak-color-T100: #79E2F2;
62
+ @ak-color-T200: #00C7E6;
63
+ @ak-color-T300: #00B8D9;
64
+ @ak-color-T400: #00A3BF;
65
+ @ak-color-T500: #008DA6;
66
+
67
+ @ak-color-N0: #FFFFFF;
68
+ @ak-color-N10: #FAFBFC;
69
+ @ak-color-N20: #F4F5F7;
70
+ @ak-color-N30: #EBECF0;
71
+ @ak-color-N40: #DFE1E6;
72
+ @ak-color-N50: #C1C7D0;
73
+ @ak-color-N60: #B3BAC5;
74
+ @ak-color-N70: #A5ADBA;
75
+ @ak-color-N80: #97A0AF;
76
+ @ak-color-N90: #8993A4;
77
+ @ak-color-N100: #7A869A;
78
+ @ak-color-N200: #6B778C;
79
+ @ak-color-N300: #5E6C84;
80
+ @ak-color-N400: #505F79;
81
+ @ak-color-N500: #42526E;
82
+ @ak-color-N600: #344563;
83
+ @ak-color-N700: #253858;
84
+ @ak-color-N800: #172B4D;
85
+
86
+ // ATTENTION: update the tints this if you update this one
87
+ @ak-color-N900: #091E42;
88
+
89
+
90
+ // Each tint is made of N900 and an alpha channel
91
+ // ak-color-NXXXA: rgba(red(@ak-color-N900), green(@ak-color-N900), 66, ALPHA);
92
+ // but we can't use this, because the JS export would not transform it properly
93
+ // so it follows:
94
+ // ak-color-N900 -> rgb(9,30,66)
95
+
96
+ @ak-color-N10A: rgba(9, 30, 66, 0.02);
97
+ @ak-color-N20A: rgba(9, 30, 66, 0.04);
98
+ @ak-color-N30A: rgba(9, 30, 66, 0.08);
99
+ @ak-color-N40A: rgba(9, 30, 66, 0.13);
100
+ @ak-color-N50A: rgba(9, 30, 66, 0.25);
101
+ @ak-color-N60A: rgba(9, 30, 66, 0.31);
102
+ @ak-color-N70A: rgba(9, 30, 66, 0.36);
103
+ @ak-color-N80A: rgba(9, 30, 66, 0.42);
104
+ @ak-color-N90A: rgba(9, 30, 66, 0.48);
105
+ @ak-color-N100A: rgba(9, 30, 66, 0.54);
106
+ @ak-color-N200A: rgba(9, 30, 66, 0.60);
107
+ @ak-color-N300A: rgba(9, 30, 66, 0.66);
108
+ @ak-color-N400A: rgba(9, 30, 66, 0.71);
109
+ @ak-color-N500A: rgba(9, 30, 66, 0.77);
110
+ @ak-color-N600A: rgba(9, 30, 66, 0.82);
111
+ @ak-color-N700A: rgba(9, 30, 66, 0.89);
112
+ @ak-color-N800A: rgba(9, 30, 66, 0.95);
@@ -0,0 +1,3 @@
1
+ @ak-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2
+ @ak-font-size-default: 14px;
3
+ @ak-code-font-family: "SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Courier, monospace;
@@ -1,4 +1,4 @@
1
- @import '~@atlaskit/util-shared-styles/src/colors';
1
+ @import 'atlaskit-theme/colors';
2
2
 
3
3
  //
4
4
  // ADG3 Compatible Colours Palette
@@ -1,4 +1,4 @@
1
- @import '~@atlaskit/util-shared-styles/src/fonts';
1
+ @import 'atlaskit-theme/fonts';
2
2
  @import 'colors';
3
3
 
4
4
  @aui-text-color: @ak-color-N800;