@atlassian/aui 9.11.6 → 9.12.1

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.
Files changed (153) hide show
  1. package/dist/aui/aui-css-deprecations.js +1 -1
  2. package/dist/aui/aui-css-deprecations.js.map +1 -1
  3. package/dist/aui/aui-prototyping-browserfocus.css +1 -1
  4. package/dist/aui/aui-prototyping-browserfocus.css.map +1 -1
  5. package/dist/aui/aui-prototyping-darkmode.css +1 -1
  6. package/dist/aui/aui-prototyping-darkmode.css.map +1 -1
  7. package/dist/aui/aui-prototyping-design-tokens-api-full.js +2 -2
  8. package/dist/aui/aui-prototyping-design-tokens-api-full.js.map +1 -1
  9. package/dist/aui/aui-prototyping-design-tokens-api.js +2 -2
  10. package/dist/aui/aui-prototyping-design-tokens-api.js.map +1 -1
  11. package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css +2 -2
  12. package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css.map +1 -1
  13. package/dist/aui/aui-prototyping-design-tokens-base-themes-css.js +1 -1
  14. package/dist/aui/aui-prototyping-design-tokens-base-themes.js +2 -2
  15. package/dist/aui/aui-prototyping-design-tokens-base-themes.js.map +1 -1
  16. package/dist/aui/aui-prototyping.css +10 -10
  17. package/dist/aui/aui-prototyping.css.map +1 -1
  18. package/dist/aui/aui-prototyping.js +47 -47
  19. package/dist/aui/aui-prototyping.js.map +1 -1
  20. package/dist/aui/aui-prototyping.nodeps.css +10 -10
  21. package/dist/aui/aui-prototyping.nodeps.css.map +1 -1
  22. package/dist/aui/aui-prototyping.nodeps.js +47 -47
  23. package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
  24. package/dist/aui/themes/dark-future.js +1 -1
  25. package/dist/aui/themes/dark-future.js.map +1 -1
  26. package/dist/aui/themes/dark.js +1 -1
  27. package/dist/aui/themes/dark.js.map +1 -1
  28. package/dist/aui/themes/legacy-dark.js +1 -1
  29. package/dist/aui/themes/legacy-dark.js.map +1 -1
  30. package/dist/aui/themes/legacy-light.js +1 -1
  31. package/dist/aui/themes/legacy-light.js.map +1 -1
  32. package/dist/aui/themes/light-future.js +1 -1
  33. package/dist/aui/themes/light-future.js.map +1 -1
  34. package/dist/aui/themes/light.js +1 -1
  35. package/dist/aui/themes/light.js.map +1 -1
  36. package/dist/aui/themes/shape.js +1 -1
  37. package/dist/aui/themes/shape.js.map +1 -1
  38. package/dist/aui/themes/spacing.js +1 -1
  39. package/dist/aui/themes/spacing.js.map +1 -1
  40. package/dist/aui/themes/typography-adg3.js +1 -1
  41. package/dist/aui/themes/typography-adg3.js.map +1 -1
  42. package/dist/aui/themes/typography-modernized.js +2 -0
  43. package/dist/aui/themes/typography-modernized.js.map +1 -0
  44. package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.css +2 -2
  45. package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-theme-import-map.js +3 -11
  46. package/entry/token-themes-generated/npm/themes/dark.js +1 -1
  47. package/entry/token-themes-generated/npm/themes/light.js +1 -1
  48. package/entry/token-themes-generated/npm/themes/typography-adg3.js +11 -13
  49. package/entry/token-themes-generated/npm/themes/{typography-minor3.js → typography-modernized.js} +13 -21
  50. package/entry/token-themes-generated/p2/aui-prototyping-design-tokens-theme-import-map.js +3 -11
  51. package/entry/token-themes-generated/p2/aui-prototyping-design-tokens-theme.css +2 -2
  52. package/entry/token-themes-generated/p2/themes/dark.js +1 -1
  53. package/entry/token-themes-generated/p2/themes/light.js +1 -1
  54. package/entry/token-themes-generated/p2/themes/typography-adg3.js +11 -13
  55. package/entry/token-themes-generated/p2/themes/{typography-minor3.js → typography-modernized.js} +13 -21
  56. package/package.json +78 -75
  57. package/src/js/aui/dialog2.js +3 -0
  58. package/src/js/aui/form-notification.js +1 -0
  59. package/src/js/aui/internal/browser.js +1 -0
  60. package/src/js/aui/internal/deprecation.js +1 -0
  61. package/src/js/aui/polyfills/custom-event.js +2 -0
  62. package/src/js/aui/select.js +0 -1
  63. package/src/js/aui/sidebar.js +1 -1
  64. package/src/js/aui/trigger.js +1 -0
  65. package/src/js/aui/when-i-type.js +1 -0
  66. package/src/less/aui-page-typography.less +7 -0
  67. package/src/less/imports/aui-theme/core/spaces.less +16 -14
  68. package/dist/aui/themes/dark-new-input-border.js +0 -2
  69. package/dist/aui/themes/dark-new-input-border.js.map +0 -1
  70. package/dist/aui/themes/light-new-input-border.js +0 -2
  71. package/dist/aui/themes/light-new-input-border.js.map +0 -1
  72. package/dist/aui/themes/typography-minor3.js +0 -2
  73. package/dist/aui/themes/typography-minor3.js.map +0 -1
  74. package/entry/token-themes-generated/npm/themes/dark-new-input-border.js +0 -7
  75. package/entry/token-themes-generated/npm/themes/light-new-input-border.js +0 -7
  76. package/entry/token-themes-generated/p2/themes/dark-new-input-border.js +0 -7
  77. package/entry/token-themes-generated/p2/themes/light-new-input-border.js +0 -7
  78. package/src/.eslintrc +0 -17
  79. package/src/js/aui/internal/i18n/.eslintrc +0 -6
  80. package/src/js-vendor/jquery-aop/LICENSE +0 -21
  81. package/src/js-vendor/jquery-aop/README.md +0 -54
  82. package/src/js-vendor/jquery-aop/aop.js +0 -404
  83. package/src/js-vendor/jquery-aop/jquery-aop.txt +0 -5
  84. package/src/js-vendor/jquery-aop/package.json +0 -16
  85. package/src/js-vendor/jquery-form/jquery.form.js +0 -813
  86. package/src/js-vendor/jquery-form/package.json +0 -15
  87. package/src/js-vendor/jquery.hotkeys/jquery.hotkeys.js +0 -99
  88. package/src/js-vendor/jquery.hotkeys/package.json +0 -14
  89. package/src/js-vendor/select2/CONTRIBUTING.md +0 -107
  90. package/src/js-vendor/select2/LICENSE +0 -18
  91. package/src/js-vendor/select2/README.md +0 -115
  92. package/src/js-vendor/select2/bower.json +0 -8
  93. package/src/js-vendor/select2/component.json +0 -66
  94. package/src/js-vendor/select2/composer.json +0 -29
  95. package/src/js-vendor/select2/package.json +0 -20
  96. package/src/js-vendor/select2/release.sh +0 -79
  97. package/src/js-vendor/select2/select2-bootstrap.css +0 -87
  98. package/src/js-vendor/select2/select2-spinner.gif +0 -0
  99. package/src/js-vendor/select2/select2.css +0 -692
  100. package/src/js-vendor/select2/select2.jquery.json +0 -36
  101. package/src/js-vendor/select2/select2.js +0 -3729
  102. package/src/js-vendor/select2/select2.min.js +0 -23
  103. package/src/js-vendor/select2/select2.png +0 -0
  104. package/src/js-vendor/select2/select2_locale_ar.js +0 -19
  105. package/src/js-vendor/select2/select2_locale_az.js +0 -20
  106. package/src/js-vendor/select2/select2_locale_bg.js +0 -20
  107. package/src/js-vendor/select2/select2_locale_ca.js +0 -19
  108. package/src/js-vendor/select2/select2_locale_cs.js +0 -51
  109. package/src/js-vendor/select2/select2_locale_da.js +0 -19
  110. package/src/js-vendor/select2/select2_locale_de.js +0 -18
  111. package/src/js-vendor/select2/select2_locale_el.js +0 -19
  112. package/src/js-vendor/select2/select2_locale_en.js.template +0 -20
  113. package/src/js-vendor/select2/select2_locale_es.js +0 -19
  114. package/src/js-vendor/select2/select2_locale_et.js +0 -19
  115. package/src/js-vendor/select2/select2_locale_eu.js +0 -45
  116. package/src/js-vendor/select2/select2_locale_fa.js +0 -21
  117. package/src/js-vendor/select2/select2_locale_fi.js +0 -30
  118. package/src/js-vendor/select2/select2_locale_fr.js +0 -18
  119. package/src/js-vendor/select2/select2_locale_gl.js +0 -45
  120. package/src/js-vendor/select2/select2_locale_he.js +0 -19
  121. package/src/js-vendor/select2/select2_locale_hr.js +0 -24
  122. package/src/js-vendor/select2/select2_locale_hu.js +0 -17
  123. package/src/js-vendor/select2/select2_locale_id.js +0 -21
  124. package/src/js-vendor/select2/select2_locale_is.js +0 -17
  125. package/src/js-vendor/select2/select2_locale_it.js +0 -17
  126. package/src/js-vendor/select2/select2_locale_ja.js +0 -17
  127. package/src/js-vendor/select2/select2_locale_ka.js +0 -19
  128. package/src/js-vendor/select2/select2_locale_ko.js +0 -19
  129. package/src/js-vendor/select2/select2_locale_lt.js +0 -26
  130. package/src/js-vendor/select2/select2_locale_lv.js +0 -19
  131. package/src/js-vendor/select2/select2_locale_mk.js +0 -19
  132. package/src/js-vendor/select2/select2_locale_ms.js +0 -21
  133. package/src/js-vendor/select2/select2_locale_nb.js +0 -22
  134. package/src/js-vendor/select2/select2_locale_nl.js +0 -17
  135. package/src/js-vendor/select2/select2_locale_pl.js +0 -54
  136. package/src/js-vendor/select2/select2_locale_pt-BR.js +0 -18
  137. package/src/js-vendor/select2/select2_locale_pt-PT.js +0 -17
  138. package/src/js-vendor/select2/select2_locale_ro.js +0 -17
  139. package/src/js-vendor/select2/select2_locale_rs.js +0 -19
  140. package/src/js-vendor/select2/select2_locale_ru.js +0 -23
  141. package/src/js-vendor/select2/select2_locale_sk.js +0 -50
  142. package/src/js-vendor/select2/select2_locale_sv.js +0 -19
  143. package/src/js-vendor/select2/select2_locale_th.js +0 -19
  144. package/src/js-vendor/select2/select2_locale_tr.js +0 -20
  145. package/src/js-vendor/select2/select2_locale_ug-CN.js +0 -16
  146. package/src/js-vendor/select2/select2_locale_uk.js +0 -25
  147. package/src/js-vendor/select2/select2_locale_vi.js +0 -20
  148. package/src/js-vendor/select2/select2_locale_zh-CN.js +0 -16
  149. package/src/js-vendor/select2/select2_locale_zh-TW.js +0 -16
  150. package/src/js-vendor/select2/select2x2.png +0 -0
  151. package/src/js-vendor/tablesorter/README.md +0 -158
  152. package/src/js-vendor/tablesorter/jquery.tablesorter.js +0 -1901
  153. package/src/js-vendor/tablesorter/package.json +0 -43
@@ -1,41 +1,33 @@
1
1
  export default `
2
- html[data-theme~="typography:typography-minor3"] {
2
+ html[data-theme~="typography:typography-modernized"] {
3
3
  --ds-UNSAFE-textTransformUppercase: uppercase;
4
+ --ds-font-letterSpacing-0: 0;
5
+ --ds-font-letterSpacing-100: 0;
6
+ --ds-font-letterSpacing-200: 0;
7
+ --ds-font-letterSpacing-300: 0;
8
+ --ds-font-letterSpacing-400: 0;
4
9
  --ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
5
10
  --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
6
11
  --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
7
12
  --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
8
13
  --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
9
- --ds-font-heading-xsmall: normal 700 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
14
+ --ds-font-heading-xsmall: normal 700 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
10
15
  --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
11
16
  --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
12
17
  --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
13
18
  --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
14
19
  --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
15
- --ds-font-ui: normal 500 0.875rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
16
- --ds-font-ui-small: normal 400 0.75rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
17
20
  --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
18
- --ds-font-letterSpacing-0: 0;
19
- --ds-font-letterSpacing-100: 0;
20
- --ds-font-letterSpacing-200: 0;
21
- --ds-font-letterSpacing-300: 0;
22
- --ds-font-letterSpacing-400: 0;
21
+ --ds-font-weight-regular: 400;
22
+ --ds-font-weight-medium: 500;
23
+ --ds-font-weight-semibold: 600;
24
+ --ds-font-weight-bold: 700;
25
+ --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
23
26
  --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
24
27
  --ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
25
- --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
26
28
  --ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
27
29
  --ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
28
- --ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
29
30
  --ds-font-family-brand-heading: "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
30
- --ds-font-weight-bold: 700;
31
- --ds-font-weight-medium: 500;
32
- --ds-font-weight-regular: 400;
33
- --ds-font-weight-semibold: 600;
34
- @media not all and (min-width: 64rem) {
35
- --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
36
- --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
37
- --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
38
- --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
39
- }
31
+ --ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
40
32
  }
41
33
  `
package/package.json CHANGED
@@ -1,76 +1,79 @@
1
1
  {
2
- "name": "@atlassian/aui",
3
- "description": "Atlassian User Interface library",
4
- "version": "9.11.6",
5
- "author": "Atlassian Pty Ltd.",
6
- "homepage": "https://aui.atlassian.com",
7
- "license": "Apache-2.0",
8
- "bugs": "https://ecosystem.atlassian.net/browse/AUI",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://bitbucket.org/atlassian/aui"
12
- },
13
- "engines": {
14
- "node": "^6 || >=8",
15
- "yarn": "^1.6"
16
- },
17
- "browser": "dist/aui/aui-prototyping.js",
18
- "main": "dist/aui/aui-prototyping.js",
19
- "files": [
20
- "dist",
21
- "entry",
22
- "lib",
23
- "licenses",
24
- "src",
25
- "CHANGELOG.md",
26
- "CONTRIBUTING.md",
27
- "LICENSE",
28
- "README.md",
29
- "yarn.lock"
30
- ],
31
- "//": "AUI's publishConfig is managed by its build scripts.",
32
- "peerDependencies": {
33
- "jquery": "^2 || ^3"
34
- },
35
- "dependencies": {
36
- "@atlassian/adg-server-iconfont": "3.1.0",
37
- "@atlaskit/tokens": "1.43.0",
38
- "@atlassian/tipsy": "1.3.3",
39
- "@popperjs/core": "2.11.8",
40
- "backbone": "1.6.0",
41
- "css.escape": "1.5.1",
42
- "dompurify": "2.5.0",
43
- "fancy-file-input": "2.0.4",
44
- "jquery-ui": "1.13.2",
45
- "skatejs": "0.13.17",
46
- "skatejs-template-html": "0.0.0",
47
- "trim-extra-html-whitespace": "1.3.0",
48
- "underscore": "1.13.6",
49
- "tablesorter": "file:./src/js-vendor/tablesorter",
50
- "jquery-aop": "file:src/js-vendor/jquery-aop",
51
- "jquery-form": "file:src/js-vendor/jquery-form",
52
- "select2": "file:src/js-vendor/select2",
53
- "jquery.hotkeys": "file:src/js-vendor/jquery.hotkeys"
54
- },
55
- "devDependencies": {
56
- "@atlassian/aui-webpack-config": "3.0.1",
57
- "@babel/core": "7.18.13",
58
- "@babel/preset-env": "7.18.10",
59
- "cross-env": "7.0.3",
60
- "eslint": "7.32.0",
61
- "glob": "7.2.3",
62
- "ignore-emit-webpack-plugin": "2.0.6",
63
- "jquery": "3.5.1",
64
- "jquery-migrate": "3.4.1",
65
- "less": "3.13.1",
66
- "react": "18.3.1"
67
- },
68
- "scripts": {
69
- "prepublishOnly": "yarn clean && cross-env NODE_ENV=production yarn build && node scripts/prepublishOnly.js",
70
- "postpublish": "node scripts/postpublish.js",
71
- "clean": "rm -rf ./dist",
72
- "dist/build:prototyping": "webpack --config webpack/dist.prototyping.webpack.config.js",
73
- "build": "yarn dist/build:prototyping",
74
- "watch": "yarn dist/build:prototyping --watch"
75
- }
76
- }
2
+ "name": "@atlassian/aui",
3
+ "description": "Atlassian User Interface library",
4
+ "version": "9.12.1",
5
+ "author": "Atlassian Pty Ltd.",
6
+ "homepage": "https://aui.atlassian.com",
7
+ "license": "Apache-2.0",
8
+ "bugs": "https://ecosystem.atlassian.net/browse/AUI",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://bitbucket.org/atlassian/aui"
12
+ },
13
+ "engines": {
14
+ "node": "^6 || >=8",
15
+ "yarn": "^1.6"
16
+ },
17
+ "browser": "dist/aui/aui-prototyping.js",
18
+ "main": "dist/aui/aui-prototyping.js",
19
+ "files": [
20
+ "dist",
21
+ "entry",
22
+ "lib",
23
+ "licenses",
24
+ "src/js",
25
+ "src/js-vendor/jquery",
26
+ "src/js-vendor-effective",
27
+ "src/less",
28
+ "CHANGELOG.md",
29
+ "CONTRIBUTING.md",
30
+ "LICENSE",
31
+ "README.md",
32
+ "yarn.lock"
33
+ ],
34
+ "//": "AUI's publishConfig is managed by its build scripts.",
35
+ "peerDependencies": {
36
+ "jquery": "^2 || ^3"
37
+ },
38
+ "dependencies": {
39
+ "@atlassian/adg-server-iconfont": "3.1.0",
40
+ "@atlaskit/tokens": "1.58.0",
41
+ "@atlassian/tipsy": "1.3.3",
42
+ "@popperjs/core": "2.11.8",
43
+ "backbone": "1.6.0",
44
+ "css.escape": "1.5.1",
45
+ "dompurify": "2.5.6",
46
+ "fancy-file-input": "2.0.4",
47
+ "jquery-ui": "1.13.3",
48
+ "skatejs": "0.13.17",
49
+ "skatejs-template-html": "0.0.0",
50
+ "trim-extra-html-whitespace": "1.3.0",
51
+ "underscore": "1.13.7",
52
+ "tablesorter": "file:./src/js-vendor/tablesorter",
53
+ "jquery-aop": "file:src/js-vendor/jquery-aop",
54
+ "jquery-form": "file:src/js-vendor/jquery-form",
55
+ "select2": "file:src/js-vendor/select2",
56
+ "jquery.hotkeys": "file:src/js-vendor/jquery.hotkeys"
57
+ },
58
+ "devDependencies": {
59
+ "@atlassian/aui-webpack-config": "3.0.1",
60
+ "@babel/core": "7.18.13",
61
+ "@babel/preset-env": "7.18.10",
62
+ "cross-env": "7.0.3",
63
+ "eslint": "9.7.0",
64
+ "fs-extra": "9.1.0",
65
+ "ignore-emit-webpack-plugin": "2.0.6",
66
+ "jquery": "3.5.1",
67
+ "jquery-migrate": "3.5.2",
68
+ "less": "3.13.1",
69
+ "react": "18.3.1"
70
+ },
71
+ "scripts": {
72
+ "prepublishOnly": "yarn clean && cross-env NODE_ENV=production yarn build && node scripts/prepublishOnly.js",
73
+ "postpublish": "node scripts/postpublish.js",
74
+ "clean": "rm -rf ./dist",
75
+ "dist/build:prototyping": "webpack --config webpack/dist.prototyping.webpack.config.js",
76
+ "build": "yarn dist/build:prototyping",
77
+ "watch": "yarn dist/build:prototyping --watch"
78
+ }
79
+ }
@@ -127,6 +127,9 @@ function Dialog2(selector) {
127
127
  <footer class="aui-dialog2-footer"></footer>
128
128
  </section>`);
129
129
  }
130
+ this.$header = this.$el.find('.aui-dialog2-header');
131
+ this.$content = this.$el.find('.aui-dialog2-content');
132
+ this.$footer = this.$el.find('.aui-dialog2-footer');
130
133
  applyDefaults(this.$el);
131
134
  }
132
135
 
@@ -63,6 +63,7 @@ function jsonToArray(jsonOrString) {
63
63
  var jsonArray;
64
64
  try {
65
65
  jsonArray = JSON.parse(jsonOrString);
66
+ // eslint-disable-next-line no-unused-vars
66
67
  } catch (exception) {
67
68
  jsonArray = [jsonOrString];
68
69
  }
@@ -36,6 +36,7 @@ export function supportsFocusWithin () {
36
36
  try {
37
37
  document.querySelector(':focus-within');
38
38
  doesSupportFocusWithin = true;
39
+ // eslint-disable-next-line no-unused-vars
39
40
  } catch (e) {
40
41
  doesSupportFocusWithin = false;
41
42
  }
@@ -155,6 +155,7 @@ try {
155
155
  Object.defineProperty({}, 'blam', {get: function () {}, set: function () {}});
156
156
  supportsProperties = true;
157
157
  }
158
+ // eslint-disable-next-line no-unused-vars
158
159
  } catch (e) {
159
160
  /* IE8 doesn't support on non-DOM elements */
160
161
  }
@@ -24,6 +24,7 @@ let CustomEvent;
24
24
 
25
25
  CustomEvent = window.CustomEvent;
26
26
  return;
27
+ // eslint-disable-next-line no-unused-vars
27
28
  } catch (e) {
28
29
  // polyfill it
29
30
  }
@@ -55,6 +56,7 @@ let CustomEvent;
55
56
  return true;
56
57
  }
57
58
  });
59
+ // eslint-disable-next-line no-unused-vars
58
60
  } catch (e) {
59
61
  if (!this.defaultPrevented) {
60
62
  this.defaultPrevented = true;
@@ -219,7 +219,6 @@ function initialiseProgressiveDataSet (element) {
219
219
  // Otherwise progressive data set can do everything else for us:
220
220
  // 1. Sync matching
221
221
  // 2. Async fetching and matching
222
- /* eslint-disable complexity */
223
222
  element._progressiveDataSet.on('respond', function (data) {
224
223
  // This means that a query was made before the input was cleared and
225
224
  // we should cancel the response.
@@ -211,7 +211,6 @@ Sidebar.prototype.responsiveReflow = function responsiveReflow(isInitialPageLoad
211
211
  if (isAnimated) {
212
212
  // We must trigger a CSS reflow (by accessing
213
213
  // offsetHeight) otherwise the transition still runs.
214
- // eslint-disable-next-line
215
214
  this.$el[0].offsetHeight;
216
215
  this.$el.addClass('aui-is-animated');
217
216
  }
@@ -221,6 +220,7 @@ Sidebar.prototype.responsiveReflow = function responsiveReflow(isInitialPageLoad
221
220
  }
222
221
  };
223
222
 
223
+ // eslint-disable-next-line complexity
224
224
  Sidebar.prototype.reflow = function reflow(
225
225
  scrollTop = window.pageYOffset,
226
226
  viewportHeight = document.documentElement.clientHeight,
@@ -45,6 +45,7 @@ function findControllers(element) {
45
45
  try {
46
46
  let nodeList = frames[i].document.querySelectorAll(selector);
47
47
  controllers = controllers.concat(Array.prototype.slice.apply(nodeList));
48
+ // eslint-disable-next-line no-unused-vars
48
49
  } catch (e) {
49
50
  // Silently catch DOM exceptions related to accessing cross-origin frames
50
51
  someFramesAreCrossOrigin = true;
@@ -530,6 +530,7 @@ whenIType.fromJSON = function (json, switchCtrlToMetaOnMac) {
530
530
  // pass in an array to send multiple params
531
531
  try {
532
532
  params = JSON.parse(param);
533
+ // eslint-disable-next-line no-unused-vars
533
534
  } catch (e) {
534
535
  logger.error('When using a parameter array, array must be in strict JSON format: ' + param);
535
536
  }
@@ -6,6 +6,13 @@
6
6
  html {
7
7
  #aui.text-reset();
8
8
  font-family: @aui-font-family;
9
+
10
+ // This "font-size: 16px;" is needed for rem units from Atlaskit to work as before. Refer to:
11
+ // https://bulldog.internal.atlassian.com/browse/JSDSS-8110
12
+ font-size: 16px;
13
+ > * {
14
+ font-size: @aui-font-size-medium; // should match #aui.text-reset();
15
+ }
9
16
  }
10
17
 
11
18
  /* International Font Stacks*/
@@ -1,14 +1,16 @@
1
- @aui-space-0: var(--ds-space-0, 0);
2
- @aui-space-025: var(--ds-space-025, 2px);
3
- @aui-space-050: var(--ds-space-050, 4px);
4
- @aui-space-075: var(--ds-space-075, 6px);
5
- @aui-space-100: var(--ds-space-100, 8px);
6
- @aui-space-150: var(--ds-space-150, 12px);
7
- @aui-space-200: var(--ds-space-200, 16px);
8
- @aui-space-250: var(--ds-space-250, 20px);
9
- @aui-space-300: var(--ds-space-300, 24px);
10
- @aui-space-400: var(--ds-space-400, 32px);
11
- @aui-space-500: var(--ds-space-500, 40px);
12
- @aui-space-600: var(--ds-space-600, 48px);
13
- @aui-space-800: var(--ds-space-800, 64px);
14
- @aui-space-1000: var(--ds-space-1000, 80px);
1
+ // TODO - Convert to be based on design system tokens (e.g.--ds-space-100) when they're out of beta (maybe AUI 10)
2
+ // Had to hard code to avoid visual changes, they never should've been converted to DS space tokens to begin with
3
+ @aui-space-0: 0px;
4
+ @aui-space-025: 1.75px;
5
+ @aui-space-050: 3.5px;
6
+ @aui-space-075: 5.25px;
7
+ @aui-space-100: 7px;
8
+ @aui-space-150: 10.5px;
9
+ @aui-space-200: 14px;
10
+ @aui-space-250: 17.5px;
11
+ @aui-space-300: 21px;
12
+ @aui-space-400: 28px;
13
+ @aui-space-500: 35px;
14
+ @aui-space-600: 42px;
15
+ @aui-space-800: 56px;
16
+ @aui-space-1000: 70px;
@@ -1,2 +0,0 @@
1
- "use strict";(window.webpackChunk_auiPrototyping=window.webpackChunk_auiPrototyping||[]).push([[531],{232:(t,a,d)=>{d.r(a),d.d(a,{default:()=>o});const o='\nhtml[data-color-mode="light"][data-theme~="light:dark"],\nhtml[data-color-mode="dark"][data-theme~="dark:dark"] {\n color-scheme: dark;\n --ds-border-input: #738496;\n}\n'}}]);
2
- //# sourceMappingURL=dark-new-input-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"./themes/dark-new-input-border.js","mappings":"kJAAA,QAAgB,gL","sources":["webpack://__auiPrototyping/./token-themes-generated/npm/themes/dark-new-input-border.js"],"sourcesContent":["export default `\nhtml[data-color-mode=\"light\"][data-theme~=\"light:dark\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:dark\"] {\n color-scheme: dark;\n --ds-border-input: #738496;\n}\n`"],"names":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(window.webpackChunk_auiPrototyping=window.webpackChunk_auiPrototyping||[]).push([[519],{281:(t,o,a)=>{a.r(o),a.d(o,{default:()=>d});const d='\nhtml[data-color-mode="light"][data-theme~="light:light"],\nhtml[data-color-mode="dark"][data-theme~="dark:light"] {\n color-scheme: light;\n --ds-border-input: #8590A2;\n}\n'}}]);
2
- //# sourceMappingURL=light-new-input-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"./themes/light-new-input-border.js","mappings":"kJAAA,QAAgB,mL","sources":["webpack://__auiPrototyping/./token-themes-generated/npm/themes/light-new-input-border.js"],"sourcesContent":["export default `\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-border-input: #8590A2;\n}\n`"],"names":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(window.webpackChunk_auiPrototyping=window.webpackChunk_auiPrototyping||[]).push([[247],{371:(e,s,n)=>{n.r(s),n.d(s,{default:()=>t});const t='\nhtml[data-theme~="typography:typography-minor3"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-ui: normal 500 0.875rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-ui-small: normal 400 0.75rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;\n --ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-family-brand-heading: "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;\n }\n}\n'}}]);
2
- //# sourceMappingURL=typography-minor3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"./themes/typography-minor3.js","mappings":"kJAAA,QAAgB,oqI","sources":["webpack://__auiPrototyping/./token-themes-generated/npm/themes/typography-minor3.js"],"sourcesContent":["export default `\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui: normal 500 0.875rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-ui-small: normal 400 0.75rem/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n @media not all and (min-width: 64rem) {\n --ds-font-heading-xxlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.25rem/1.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1rem/1.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n }\n}\n`"],"names":[],"sourceRoot":""}
@@ -1,7 +0,0 @@
1
- export default `
2
- html[data-color-mode="light"][data-theme~="light:dark"],
3
- html[data-color-mode="dark"][data-theme~="dark:dark"] {
4
- color-scheme: dark;
5
- --ds-border-input: #738496;
6
- }
7
- `
@@ -1,7 +0,0 @@
1
- export default `
2
- html[data-color-mode="light"][data-theme~="light:light"],
3
- html[data-color-mode="dark"][data-theme~="dark:light"] {
4
- color-scheme: light;
5
- --ds-border-input: #8590A2;
6
- }
7
- `
@@ -1,7 +0,0 @@
1
- export default `
2
- html[data-color-mode="light"][data-theme~="light:dark"],
3
- html[data-color-mode="dark"][data-theme~="dark:dark"] {
4
- color-scheme: dark;
5
- --ds-border-input: #738496;
6
- }
7
- `
@@ -1,7 +0,0 @@
1
- export default `
2
- html[data-color-mode="light"][data-theme~="light:light"],
3
- html[data-color-mode="dark"][data-theme~="dark:light"] {
4
- color-scheme: light;
5
- --ds-border-input: #8590A2;
6
- }
7
- `
package/src/.eslintrc DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "env": {
3
- "amd": true,
4
- "browser": true,
5
- "jquery": true,
6
- "node": false
7
- },
8
- "rules": {
9
- "strict": [0, "global"]
10
- },
11
- "globals": {
12
- "AJS": false,
13
- "Modernizr": false,
14
- "skate": false,
15
- "aui": false
16
- }
17
- }
@@ -1,6 +0,0 @@
1
- {
2
- "rules": {
3
- // Whatever makes it easier to translate a string should be done in here.
4
- "quotes": "off"
5
- }
6
- }
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014 Gonzalo Casas
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,54 +0,0 @@
1
- # jquery-aop
2
-
3
- Add features of aspect-oriented programming (AOP) to jQuery.
4
-
5
- ## Introduction
6
-
7
- jQuery AOP is a very small plugin that adds [AOP](http://en.wikipedia.org/wiki/Aspect-oriented_programming) features to javascript. It allows to add [advices](http://en.wikipedia.org/wiki/Advice_in_aspect-oriented_programming) (_Before_, _After_, _After Throw_, _After Finally_, _Around_ and _Introduction_) to any global or instance object.
8
-
9
- ## Features
10
-
11
- * Allows to add _Before_, _After_, _After Throw_, _After Finally_, _Around_ and _Introduction_ advices.
12
- * Allows to define point-cuts using regex to match multiple methods.
13
- * Works with global function and object methods.
14
- * Advices can be removed after being applied.
15
- * **Just 1091 bytes!** (Packed and Gzipped)
16
- * Integrated into jQuery.
17
-
18
- ## Quick Start
19
-
20
- Starting with jQuery AOP is really easy!
21
-
22
- ```
23
-
24
- jQuery.aop.before( {target: String, method: 'replace'},
25
- function(regex, newString) {
26
- alert("About to replace string '" + this + "' with '" + newString + "' using regEx '" + regex + "'");
27
- }
28
- );
29
-
30
- ```
31
-
32
- More samples on [Reference](Reference.md)...
33
-
34
- ### What is new on 1.3?
35
-
36
- The latest release of jQuery AOP includes:
37
- * Support **after throw** and **after finally** advices
38
- * some bug fixes
39
-
40
- No breaking changes from 1.2.
41
-
42
- ### What is new on 1.2?
43
-
44
- This is a bug fix release, solving some minor issues reported. No breaking changes from 1.1.
45
-
46
- ### What is new on 1.1?
47
-
48
- The latest release of jQuery AOP includes two new features:
49
- * Support for **introductions**
50
- * and support for **regex matching** of method names!
51
-
52
- The new regex matching support breaks compatibility with the previous version because now the weaving methods return an array of functions instead of just one function.
53
-
54
- But don't worry! You can revert to the old behavior if you need to: more details on [BackwardsCompatibility](BackwardsCompatibility.md)!