@atlassian/aui 9.11.3 → 9.12.0
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-css-deprecations.js +1 -1
- package/dist/aui/aui-css-deprecations.js.map +1 -1
- package/dist/aui/aui-prototyping-browserfocus.css +2 -651
- package/dist/aui/aui-prototyping-browserfocus.css.map +1 -0
- package/dist/aui/aui-prototyping-darkmode.css +2 -285
- package/dist/aui/aui-prototyping-darkmode.css.map +1 -0
- 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 +2 -2
- package/dist/aui/aui-prototyping-design-tokens-api.js.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css +2 -2
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css.map +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 +2 -2
- package/dist/aui/aui-prototyping-design-tokens-base-themes.js.map +1 -1
- package/dist/aui/aui-prototyping-design-tokens-compatibility.css +2 -115
- package/dist/aui/aui-prototyping-design-tokens-compatibility.css.map +1 -0
- package/dist/aui/aui-prototyping.css +11 -11
- package/dist/aui/aui-prototyping.css.map +1 -1
- package/dist/aui/aui-prototyping.js +47 -47
- 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 +47 -47
- package/dist/aui/aui-prototyping.nodeps.js.map +1 -1
- package/dist/aui/themes/dark-future.js +1 -1
- package/dist/aui/themes/dark-future.js.map +1 -1
- package/dist/aui/themes/dark.js +1 -1
- package/dist/aui/themes/dark.js.map +1 -1
- package/dist/aui/themes/legacy-dark.js +1 -1
- package/dist/aui/themes/legacy-dark.js.map +1 -1
- package/dist/aui/themes/legacy-light.js +1 -1
- package/dist/aui/themes/legacy-light.js.map +1 -1
- package/dist/aui/themes/light-future.js +1 -1
- package/dist/aui/themes/light-future.js.map +1 -1
- package/dist/aui/themes/light.js +1 -1
- package/dist/aui/themes/light.js.map +1 -1
- package/dist/aui/themes/shape.js +1 -1
- package/dist/aui/themes/shape.js.map +1 -1
- package/dist/aui/themes/spacing.js +1 -1
- package/dist/aui/themes/spacing.js.map +1 -1
- package/dist/aui/themes/typography-adg3.js +1 -1
- package/dist/aui/themes/typography-adg3.js.map +1 -1
- package/dist/aui/themes/typography-modernized.js +2 -0
- package/dist/aui/themes/typography-modernized.js.map +1 -0
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-base-themes.css +2 -2
- package/entry/token-themes-generated/npm/aui-prototyping-design-tokens-theme-import-map.js +3 -11
- package/entry/token-themes-generated/npm/themes/dark.js +1 -1
- package/entry/token-themes-generated/npm/themes/light.js +1 -1
- package/entry/token-themes-generated/npm/themes/typography-adg3.js +11 -13
- package/entry/token-themes-generated/npm/themes/{typography-minor3.js → typography-modernized.js} +13 -21
- package/entry/token-themes-generated/p2/aui-prototyping-design-tokens-base-themes.js +26 -0
- package/entry/token-themes-generated/p2/aui-prototyping-design-tokens-theme-import-map.js +43 -0
- package/entry/token-themes-generated/p2/aui-prototyping-design-tokens-theme.css +797 -0
- package/entry/token-themes-generated/p2/themes/dark-future.js +7 -0
- package/entry/token-themes-generated/p2/themes/dark.js +395 -0
- package/entry/token-themes-generated/p2/themes/legacy-dark.js +395 -0
- package/entry/token-themes-generated/p2/themes/legacy-light.js +395 -0
- package/entry/token-themes-generated/{npm/themes/light-new-input-border.js → p2/themes/light-future.js} +1 -1
- package/entry/token-themes-generated/p2/themes/light.js +395 -0
- package/entry/token-themes-generated/p2/themes/shape.js +15 -0
- package/entry/token-themes-generated/p2/themes/spacing.js +27 -0
- package/entry/token-themes-generated/p2/themes/typography-adg3.js +48 -0
- package/entry/token-themes-generated/p2/themes/typography-modernized.js +33 -0
- package/package.json +16 -16
- package/src/js/aui/avatar-group.js +4 -4
- package/src/js/aui/banner.js +2 -2
- package/src/js/aui/date-picker.js +10 -8
- package/src/js/aui/design-tokens/design-tokens-init.js +2 -2
- package/src/js/aui/design-tokens/design-tokens-testing-theme.js +6 -6
- package/src/js/aui/dialog2.js +3 -0
- package/src/js/aui/focus-manager.js +51 -1
- package/src/js/aui/form-notification.js +1 -0
- package/src/js/aui/internal/browser.js +1 -0
- package/src/js/aui/internal/deprecation.js +1 -0
- package/src/js/aui/polyfills/custom-event.js +2 -0
- package/src/js/aui/sidebar.js +1 -0
- package/src/js/aui/trigger.js +1 -0
- package/src/js/aui/when-i-type.js +1 -0
- package/src/less/aui-page-typography.less +7 -0
- package/src/less/imports/aui-theme/components/form-notification.less +1 -1
- package/src/less/imports/aui-theme/core/spaces.less +16 -14
- package/dist/aui/themes/dark-new-input-border.js +0 -2
- package/dist/aui/themes/dark-new-input-border.js.map +0 -1
- package/dist/aui/themes/light-new-input-border.js +0 -2
- package/dist/aui/themes/light-new-input-border.js.map +0 -1
- package/dist/aui/themes/typography-minor3.js +0 -2
- package/dist/aui/themes/typography-minor3.js.map +0 -1
- package/entry/token-themes-generated/npm/themes/dark-new-input-border.js +0 -7
- package/entry/token-themes-generated/npm/themes/typography.js +0 -27
- package/src/.eslintrc +0 -17
- package/src/js/aui/internal/i18n/.eslintrc +0 -6
- package/src/js-vendor/jquery-aop/LICENSE +0 -21
- package/src/js-vendor/jquery-aop/README.md +0 -54
- package/src/js-vendor/jquery-aop/aop.js +0 -404
- package/src/js-vendor/jquery-aop/jquery-aop.txt +0 -5
- package/src/js-vendor/jquery-aop/package.json +0 -16
- package/src/js-vendor/jquery-form/jquery.form.js +0 -813
- package/src/js-vendor/jquery-form/package.json +0 -15
- package/src/js-vendor/jquery.hotkeys/jquery.hotkeys.js +0 -99
- package/src/js-vendor/jquery.hotkeys/package.json +0 -14
- package/src/js-vendor/select2/CONTRIBUTING.md +0 -107
- package/src/js-vendor/select2/LICENSE +0 -18
- package/src/js-vendor/select2/README.md +0 -115
- package/src/js-vendor/select2/bower.json +0 -8
- package/src/js-vendor/select2/component.json +0 -66
- package/src/js-vendor/select2/composer.json +0 -29
- package/src/js-vendor/select2/package.json +0 -20
- package/src/js-vendor/select2/release.sh +0 -79
- package/src/js-vendor/select2/select2-bootstrap.css +0 -87
- package/src/js-vendor/select2/select2-spinner.gif +0 -0
- package/src/js-vendor/select2/select2.css +0 -692
- package/src/js-vendor/select2/select2.jquery.json +0 -36
- package/src/js-vendor/select2/select2.js +0 -3729
- package/src/js-vendor/select2/select2.min.js +0 -23
- package/src/js-vendor/select2/select2.png +0 -0
- package/src/js-vendor/select2/select2_locale_ar.js +0 -19
- package/src/js-vendor/select2/select2_locale_az.js +0 -20
- package/src/js-vendor/select2/select2_locale_bg.js +0 -20
- package/src/js-vendor/select2/select2_locale_ca.js +0 -19
- package/src/js-vendor/select2/select2_locale_cs.js +0 -51
- package/src/js-vendor/select2/select2_locale_da.js +0 -19
- package/src/js-vendor/select2/select2_locale_de.js +0 -18
- package/src/js-vendor/select2/select2_locale_el.js +0 -19
- package/src/js-vendor/select2/select2_locale_en.js.template +0 -20
- package/src/js-vendor/select2/select2_locale_es.js +0 -19
- package/src/js-vendor/select2/select2_locale_et.js +0 -19
- package/src/js-vendor/select2/select2_locale_eu.js +0 -45
- package/src/js-vendor/select2/select2_locale_fa.js +0 -21
- package/src/js-vendor/select2/select2_locale_fi.js +0 -30
- package/src/js-vendor/select2/select2_locale_fr.js +0 -18
- package/src/js-vendor/select2/select2_locale_gl.js +0 -45
- package/src/js-vendor/select2/select2_locale_he.js +0 -19
- package/src/js-vendor/select2/select2_locale_hr.js +0 -24
- package/src/js-vendor/select2/select2_locale_hu.js +0 -17
- package/src/js-vendor/select2/select2_locale_id.js +0 -21
- package/src/js-vendor/select2/select2_locale_is.js +0 -17
- package/src/js-vendor/select2/select2_locale_it.js +0 -17
- package/src/js-vendor/select2/select2_locale_ja.js +0 -17
- package/src/js-vendor/select2/select2_locale_ka.js +0 -19
- package/src/js-vendor/select2/select2_locale_ko.js +0 -19
- package/src/js-vendor/select2/select2_locale_lt.js +0 -26
- package/src/js-vendor/select2/select2_locale_lv.js +0 -19
- package/src/js-vendor/select2/select2_locale_mk.js +0 -19
- package/src/js-vendor/select2/select2_locale_ms.js +0 -21
- package/src/js-vendor/select2/select2_locale_nb.js +0 -22
- package/src/js-vendor/select2/select2_locale_nl.js +0 -17
- package/src/js-vendor/select2/select2_locale_pl.js +0 -54
- package/src/js-vendor/select2/select2_locale_pt-BR.js +0 -18
- package/src/js-vendor/select2/select2_locale_pt-PT.js +0 -17
- package/src/js-vendor/select2/select2_locale_ro.js +0 -17
- package/src/js-vendor/select2/select2_locale_rs.js +0 -19
- package/src/js-vendor/select2/select2_locale_ru.js +0 -23
- package/src/js-vendor/select2/select2_locale_sk.js +0 -50
- package/src/js-vendor/select2/select2_locale_sv.js +0 -19
- package/src/js-vendor/select2/select2_locale_th.js +0 -19
- package/src/js-vendor/select2/select2_locale_tr.js +0 -20
- package/src/js-vendor/select2/select2_locale_ug-CN.js +0 -16
- package/src/js-vendor/select2/select2_locale_uk.js +0 -25
- package/src/js-vendor/select2/select2_locale_vi.js +0 -20
- package/src/js-vendor/select2/select2_locale_zh-CN.js +0 -16
- package/src/js-vendor/select2/select2_locale_zh-TW.js +0 -16
- package/src/js-vendor/select2/select2x2.png +0 -0
- package/src/js-vendor/tablesorter/README.md +0 -158
- package/src/js-vendor/tablesorter/jquery.tablesorter.js +0 -1901
- package/src/js-vendor/tablesorter/package.json +0 -43
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { setGlobalTheme } from
|
|
1
|
+
import { setGlobalTheme } from '@atlaskit/tokens';
|
|
2
2
|
|
|
3
3
|
if (
|
|
4
4
|
document.documentElement.hasAttribute('data-color-mode-auto')
|
|
5
5
|
) {
|
|
6
|
-
setGlobalTheme({ colorMode:
|
|
6
|
+
setGlobalTheme({ colorMode: 'auto' });
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import TokenNames from
|
|
1
|
+
import TokenNames from '@atlaskit/tokens/token-names';
|
|
2
2
|
|
|
3
3
|
const testingThemeTargetElement = document.documentElement;
|
|
4
4
|
const testingColorVariableName = '--aui-theme-testing-color';
|
|
5
5
|
const defaultTestingColor = 'color(srgb 1 0.75 0.8 / 0.6)';
|
|
6
|
-
const testingThemeTargetClass =
|
|
6
|
+
const testingThemeTargetClass = 'aui-theme-testing';
|
|
7
7
|
const testingThemeSelector =
|
|
8
8
|
`html.${testingThemeTargetClass}[data-theme*="light:"], ` +
|
|
9
9
|
`html.${testingThemeTargetClass}[data-theme*="dark:"]`;
|
|
@@ -15,7 +15,7 @@ const testingThemeSelector =
|
|
|
15
15
|
*/
|
|
16
16
|
(function generateTestingTheme() {
|
|
17
17
|
|
|
18
|
-
const initialComment =
|
|
18
|
+
const initialComment = 'This theme is autogenerated using AJS.DesignTokens.generateTestingTheme().'
|
|
19
19
|
|
|
20
20
|
// If function called many times theme should be only added once
|
|
21
21
|
const isThemeAlreadyInitialised = !document.querySelector(testingThemeSelector)
|
|
@@ -27,20 +27,20 @@ const testingThemeSelector =
|
|
|
27
27
|
const colorDeclaration = `${testingColorVariableName}: ${defaultTestingColor};`
|
|
28
28
|
const themeCSSDeclarations = Object.values(TokenNames)
|
|
29
29
|
.map(token => `\t${token}: var(${testingColorVariableName});`);
|
|
30
|
-
const allDeclarations = [
|
|
30
|
+
const allDeclarations = [colorDeclaration, ...themeCSSDeclarations];
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
const themeCSS = `/* ${initialComment} */\n${testingThemeSelector} {\n${allDeclarations.join('\n')}\n}`;
|
|
34
34
|
|
|
35
35
|
const themeElement = document.createElement('style');
|
|
36
|
-
themeElement.id =
|
|
36
|
+
themeElement.id = 'aui-design-tokens-testing-theme';
|
|
37
37
|
themeElement.innerText = themeCSS;
|
|
38
38
|
|
|
39
39
|
const head = document.querySelector('head');
|
|
40
40
|
if (head) {
|
|
41
41
|
head.appendChild(themeElement);
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}());
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Overrides default testing color by setting css variable. If no color passed, will revert to default.
|
package/src/js/aui/dialog2.js
CHANGED
|
@@ -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
|
|
|
@@ -127,6 +127,51 @@ FocusManager.prototype.exit = function ($el) {
|
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
+
function findIndexOfNextTabbableElement(originElement, startingIndex, offset, $tabbableElements) {
|
|
131
|
+
function advance(index) {
|
|
132
|
+
return (index + offset) % $tabbableElements.length;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
let nextIndex = advance(startingIndex);
|
|
136
|
+
|
|
137
|
+
if (originElement.type === 'radio' && originElement.name) {
|
|
138
|
+
// Advance to the element that's not another radio button of the same group.
|
|
139
|
+
while (
|
|
140
|
+
$tabbableElements.eq(nextIndex).attr('name') === originElement.name &&
|
|
141
|
+
// Stop at the start if we've wrapped around the whole list and everything is the same radio
|
|
142
|
+
// group.
|
|
143
|
+
nextIndex !== startingIndex
|
|
144
|
+
) {
|
|
145
|
+
nextIndex = advance(nextIndex);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Emulate the browser's behavior: jump to the selected radio of a group, or if none is selected, the
|
|
150
|
+
// first or last depending on the direction. Note: we assume the markup is sensible and doesn't
|
|
151
|
+
// interleave groups of radio buttons. Supporting that would complicate the code for a non-recommended
|
|
152
|
+
// use case.
|
|
153
|
+
if (nextIndex !== startingIndex && $tabbableElements.eq(nextIndex).attr('type') === 'radio') {
|
|
154
|
+
const name = $tabbableElements.eq(nextIndex).attr('name');
|
|
155
|
+
const $radiosOfGroup = $tabbableElements.filter(function () {
|
|
156
|
+
return this.type === 'radio' && this.name === name;
|
|
157
|
+
});
|
|
158
|
+
const $checkedElement = $radiosOfGroup.filter(':checked');
|
|
159
|
+
|
|
160
|
+
let $elementToFocus;
|
|
161
|
+
if ($checkedElement.length > 0) {
|
|
162
|
+
$elementToFocus = $checkedElement.first();
|
|
163
|
+
} else {
|
|
164
|
+
if (offset > 0) {
|
|
165
|
+
$elementToFocus = $radiosOfGroup.first();
|
|
166
|
+
} else {
|
|
167
|
+
$elementToFocus = $radiosOfGroup.last();
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
nextIndex = $tabbableElements.index($elementToFocus);
|
|
171
|
+
}
|
|
172
|
+
return nextIndex;
|
|
173
|
+
}
|
|
174
|
+
|
|
130
175
|
function focusTrapHandler(focusTrapStack, event) {
|
|
131
176
|
if (focusTrapStack.length === 0) {
|
|
132
177
|
return;
|
|
@@ -209,7 +254,12 @@ function focusTrapHandler(focusTrapStack, event) {
|
|
|
209
254
|
|
|
210
255
|
if (newFocusIdx > -1) {
|
|
211
256
|
// wrap around the focus trap.
|
|
212
|
-
newFocusIdx = (
|
|
257
|
+
newFocusIdx = findIndexOfNextTabbableElement(
|
|
258
|
+
focusOrigin,
|
|
259
|
+
newFocusIdx,
|
|
260
|
+
offset,
|
|
261
|
+
$tabbableElements
|
|
262
|
+
);
|
|
213
263
|
} else {
|
|
214
264
|
// we will focus the first element in the trap.
|
|
215
265
|
newFocusIdx = 0;
|
|
@@ -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;
|
package/src/js/aui/sidebar.js
CHANGED
|
@@ -221,6 +221,7 @@ Sidebar.prototype.responsiveReflow = function responsiveReflow(isInitialPageLoad
|
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
|
|
224
|
+
// eslint-disable-next-line complexity
|
|
224
225
|
Sidebar.prototype.reflow = function reflow(
|
|
225
226
|
scrollTop = window.pageYOffset,
|
|
226
227
|
viewportHeight = document.documentElement.clientHeight,
|
package/src/js/aui/trigger.js
CHANGED
|
@@ -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*/
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@aui-notification-icon-outside-field-padding-right: 16px;
|
|
25
25
|
@aui-notification-icon-outside-field-padding-top: 5px;
|
|
26
26
|
|
|
27
|
-
@aui-notification-line-height: unit(18px / @aui-font-size-medium);
|
|
27
|
+
@aui-notification-line-height: unit((18px / @aui-font-size-medium));
|
|
28
28
|
|
|
29
29
|
@aui-notification-info-icon: @aui-glyph-info-circle;
|
|
30
30
|
@aui-notification-success-icon: @aui-glyph-check-circle;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@aui-space-
|
|
4
|
-
@aui-space-
|
|
5
|
-
@aui-space-
|
|
6
|
-
@aui-space-
|
|
7
|
-
@aui-space-
|
|
8
|
-
@aui-space-
|
|
9
|
-
@aui-space-
|
|
10
|
-
@aui-space-
|
|
11
|
-
@aui-space-
|
|
12
|
-
@aui-space-
|
|
13
|
-
@aui-space-
|
|
14
|
-
@aui-space-
|
|
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,27 +0,0 @@
|
|
|
1
|
-
export default `
|
|
2
|
-
html[data-theme~="typography:typography"] {
|
|
3
|
-
--ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);
|
|
4
|
-
--ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-sans);
|
|
5
|
-
--ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);
|
|
6
|
-
--ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);
|
|
7
|
-
--ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);
|
|
8
|
-
--ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);
|
|
9
|
-
--ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);
|
|
10
|
-
--ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);
|
|
11
|
-
--ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);
|
|
12
|
-
--ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);
|
|
13
|
-
--ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);
|
|
14
|
-
--ds-font-letterSpacing-0: 0;
|
|
15
|
-
--ds-font-letterSpacing-100: 0;
|
|
16
|
-
--ds-font-letterSpacing-200: 0;
|
|
17
|
-
--ds-font-letterSpacing-300: 0;
|
|
18
|
-
--ds-font-letterSpacing-400: 0;
|
|
19
|
-
--ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-sans);
|
|
20
|
-
--ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);
|
|
21
|
-
--ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
22
|
-
--ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
23
|
-
--ds-font-family-product: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
|
|
24
|
-
--ds-font-family-sans: ui-sans-serif, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
|
|
25
|
-
--ds-font-family-brand: Charlie Sans;
|
|
26
|
-
}
|
|
27
|
-
`
|
package/src/.eslintrc
DELETED
|
@@ -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)!
|