@vonage/vivid 4.10.0 → 4.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/custom-elements.json +8630 -6433
- package/lib/badge/badge.d.ts +1 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/lib/button/button.d.ts +1 -1
- package/lib/checkbox/checkbox.d.ts +5 -3
- package/lib/checkbox/checkbox.form-associated.d.ts +10 -0
- package/lib/enums.d.ts +1 -0
- package/lib/fab/fab.d.ts +2 -2
- package/lib/file-picker/file-picker.d.ts +3 -0
- package/lib/slider/slider.d.ts +30 -6
- package/lib/slider/slider.form-associated.d.ts +10 -0
- package/lib/split-button/split-button.d.ts +1 -1
- package/lib/tabs/tabs.d.ts +1 -0
- package/package.json +1 -1
- package/shared/aria-global2.cjs +93 -0
- package/shared/aria-global2.js +91 -0
- package/shared/breadcrumb-item.cjs +2 -89
- package/shared/breadcrumb-item.js +1 -88
- package/shared/definition11.cjs +200 -4
- package/shared/definition11.js +198 -3
- package/shared/definition15.cjs +34 -91
- package/shared/definition15.js +35 -92
- package/shared/definition16.cjs +9 -7
- package/shared/definition16.js +9 -7
- package/shared/definition20.cjs +1 -1
- package/shared/definition20.js +1 -1
- package/shared/definition21.cjs +1 -1
- package/shared/definition21.js +1 -1
- package/shared/definition24.cjs +156 -2
- package/shared/definition24.js +157 -3
- package/shared/definition25.cjs +106 -56
- package/shared/definition25.js +106 -56
- package/shared/definition35.cjs +2 -2
- package/shared/definition35.js +2 -2
- package/shared/definition37.cjs +1 -1
- package/shared/definition37.js +1 -1
- package/shared/definition4.cjs +5 -6
- package/shared/definition4.js +1 -2
- package/shared/definition40.cjs +11 -4
- package/shared/definition40.js +8 -1
- package/shared/definition42.cjs +3 -22
- package/shared/definition42.js +2 -21
- package/shared/definition43.cjs +1 -2
- package/shared/definition43.js +1 -2
- package/shared/definition44.js +1 -1
- package/shared/definition47.cjs +369 -502
- package/shared/definition47.js +370 -503
- package/shared/definition5.cjs +4 -4
- package/shared/definition5.js +1 -1
- package/shared/definition51.cjs +1 -1
- package/shared/definition51.js +1 -1
- package/shared/definition52.cjs +63 -26
- package/shared/definition52.js +63 -26
- package/shared/definition56.cjs +41 -43
- package/shared/definition56.js +41 -43
- package/shared/definition57.cjs +1 -1
- package/shared/definition57.js +1 -1
- package/shared/definition58.cjs +1 -1
- package/shared/definition58.js +1 -1
- package/shared/definition59.cjs +1 -1
- package/shared/definition59.js +1 -1
- package/shared/definition64.cjs +278 -90
- package/shared/definition64.js +278 -90
- package/shared/definition7.cjs +1 -1
- package/shared/definition7.js +1 -1
- package/shared/definition8.cjs +1 -1
- package/shared/definition8.js +1 -1
- package/shared/enums.cjs +1 -0
- package/shared/enums.js +1 -0
- package/shared/form-associated.js +1 -1
- package/shared/{patterns → foundation/anchor}/anchor.d.ts +1 -1
- package/shared/foundation/button/button.d.ts +27 -0
- package/shared/foundation/button/button.template.d.ts +4 -0
- package/shared/foundation/button/index.d.ts +2 -0
- package/shared/foundation/patterns/index.d.ts +1 -0
- package/shared/index.cjs +22 -2
- package/shared/index.js +22 -2
- package/shared/key-codes2.js +1 -1
- package/shared/presentationDate.cjs +4328 -4042
- package/shared/presentationDate.js +4327 -4041
- package/shared/slider.template.cjs +23 -1
- package/shared/slider.template.js +21 -2
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/vivid.api.json +52 -4
- package/shared/aria2.cjs +0 -11
- package/shared/aria2.js +0 -9
- package/shared/button.cjs +0 -202
- package/shared/button.js +0 -200
- /package/shared/{patterns → foundation/patterns}/aria-global.d.ts +0 -0
package/lib/badge/badge.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FoundationElement } from '@microsoft/fast-foundation';
|
|
|
2
2
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
3
|
import type { Appearance, Connotation, Shape } from '../enums.js';
|
|
4
4
|
export type BadgeConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
|
|
5
|
-
export type BadgeAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
5
|
+
export type BadgeAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle | Appearance.SubtleLight>;
|
|
6
6
|
export type BadgeShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
7
|
export declare class Badge extends FoundationElement {
|
|
8
8
|
connotation?: BadgeConnotation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import { Anchor } from '../../shared/
|
|
2
|
+
import { Anchor } from '../../shared/foundation/anchor/anchor';
|
|
3
3
|
export declare class BreadcrumbItem extends FoundationElement {
|
|
4
4
|
text?: string;
|
|
5
5
|
}
|
package/lib/button/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
3
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
-
export type ButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
4
|
+
export type ButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.Announcement | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
5
5
|
export type ButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost | Appearance.GhostLight | Appearance.OutlinedLight>;
|
|
6
6
|
export type ButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
7
|
export type ButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { Checkbox as FoundationCheckbox } from '@microsoft/fast-foundation';
|
|
2
1
|
import type { Connotation } from '../enums.js';
|
|
3
2
|
import { type ErrorText, type FormElement, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
3
|
+
import { FormAssociatedCheckbox } from './checkbox.form-associated';
|
|
4
4
|
export declare const keySpace: ' ';
|
|
5
5
|
export type CheckboxConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
6
6
|
export type AriaCheckedStates = 'false' | 'true' | 'mixed' | 'undefined';
|
|
7
|
-
export declare class Checkbox extends
|
|
7
|
+
export declare class Checkbox extends FormAssociatedCheckbox {
|
|
8
8
|
ariaLabel: string | null;
|
|
9
9
|
tabindex: string | null;
|
|
10
10
|
connotation?: CheckboxConnotation;
|
|
11
11
|
ariaChecked: AriaCheckedStates | null;
|
|
12
|
-
|
|
12
|
+
readOnly: boolean;
|
|
13
|
+
indeterminate: boolean;
|
|
14
|
+
constructor();
|
|
13
15
|
ariaCheckedChanged(): void;
|
|
14
16
|
}
|
|
15
17
|
export interface Checkbox extends FormElement, FormElementHelperText, ErrorText, FormElementSuccessText {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckableFormAssociated, FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
declare class _Checkbox extends FoundationElement {
|
|
3
|
+
}
|
|
4
|
+
interface _Checkbox extends CheckableFormAssociated {
|
|
5
|
+
}
|
|
6
|
+
declare const FormAssociatedCheckbox_base: typeof _Checkbox;
|
|
7
|
+
export declare class FormAssociatedCheckbox extends FormAssociatedCheckbox_base {
|
|
8
|
+
proxy: HTMLInputElement;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
package/lib/enums.d.ts
CHANGED
package/lib/fab/fab.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VividFoundationButton } from '../../shared/foundation/button';
|
|
2
2
|
import type { Connotation, Size } from '../enums.js';
|
|
3
3
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
4
|
export type FabConnotation = Extract<Connotation, Connotation.CTA | Connotation.Accent | Connotation.Announcement>;
|
|
5
5
|
export type FABSize = Extract<Size, Size.Condensed | Size.Normal | Size.Expanded>;
|
|
6
|
-
export declare class Fab extends
|
|
6
|
+
export declare class Fab extends VividFoundationButton {
|
|
7
7
|
connotation?: FabConnotation;
|
|
8
8
|
size?: FABSize;
|
|
9
9
|
label?: string;
|
|
@@ -5,6 +5,8 @@ export type FilePickerSize = Extract<Size, Size.Normal | Size.Expanded>;
|
|
|
5
5
|
export declare class FilePicker extends FormAssociatedFilePicker {
|
|
6
6
|
#private;
|
|
7
7
|
get files(): File[];
|
|
8
|
+
singleFile: boolean;
|
|
9
|
+
singleFileChanged(): void;
|
|
8
10
|
maxFiles?: number;
|
|
9
11
|
maxFilesChanged(_oldValue: number, newValue: number): void;
|
|
10
12
|
maxFileSize: number;
|
|
@@ -20,6 +22,7 @@ export declare class FilePicker extends FormAssociatedFilePicker {
|
|
|
20
22
|
setFormValue: (value: File | string | FormData | null, state?: File | string | FormData | null) => void;
|
|
21
23
|
validate(): void;
|
|
22
24
|
formResetCallback(): void;
|
|
25
|
+
removeAllFiles(): void;
|
|
23
26
|
}
|
|
24
27
|
export interface FilePicker extends FormElementHelperText, Localized, ErrorText, FormElement, FormElementHelperText {
|
|
25
28
|
}
|
package/lib/slider/slider.d.ts
CHANGED
|
@@ -1,18 +1,42 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Orientation } from '@microsoft/fast-web-utilities';
|
|
2
2
|
import type { Connotation } from '../enums';
|
|
3
3
|
import { Localized } from '../../shared/patterns';
|
|
4
|
+
import { FormAssociatedSlider } from './slider.form-associated';
|
|
4
5
|
export type SliderConnotation = Connotation.Accent | Connotation.CTA;
|
|
5
|
-
export declare
|
|
6
|
+
export declare const SliderMode: {
|
|
7
|
+
readonly singleValue: "single-value";
|
|
8
|
+
};
|
|
9
|
+
export type SliderMode = typeof SliderMode[keyof typeof SliderMode];
|
|
10
|
+
export declare class Slider extends FormAssociatedSlider {
|
|
6
11
|
#private;
|
|
12
|
+
readOnly: boolean;
|
|
13
|
+
get valueAsNumber(): number;
|
|
14
|
+
set valueAsNumber(next: number);
|
|
15
|
+
valueTextFormatter: (value: string) => string;
|
|
16
|
+
min: number;
|
|
17
|
+
max: number;
|
|
18
|
+
step: number;
|
|
19
|
+
orientation: Orientation;
|
|
20
|
+
mode: SliderMode;
|
|
21
|
+
increment(): void;
|
|
22
|
+
decrement(): void;
|
|
23
|
+
protected keypressHandler: (e: KeyboardEvent) => void;
|
|
24
|
+
private setThumbPositionForOrientation;
|
|
25
|
+
private updateStepMultiplier;
|
|
26
|
+
private setupTrackConstraints;
|
|
27
|
+
private setupListeners;
|
|
28
|
+
private get midpoint();
|
|
29
|
+
private setupDefaultValue;
|
|
30
|
+
private handleThumbMouseDown;
|
|
31
|
+
private handleMouseMove;
|
|
32
|
+
private handleWindowMouseUp;
|
|
33
|
+
private stopDragging;
|
|
34
|
+
private handleMouseDown;
|
|
7
35
|
ariaLabel: string | null;
|
|
8
36
|
ariaValuetext: string | null;
|
|
9
37
|
markers: boolean;
|
|
10
38
|
pin: boolean;
|
|
11
39
|
connotation?: SliderConnotation;
|
|
12
|
-
valueTextFormatter: (value: string) => string;
|
|
13
|
-
constructor();
|
|
14
|
-
connectedCallback(): void;
|
|
15
|
-
disconnectedCallback(): void;
|
|
16
40
|
}
|
|
17
41
|
export interface Slider extends Localized {
|
|
18
42
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormAssociated, FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
declare class _Slider extends FoundationElement {
|
|
3
|
+
}
|
|
4
|
+
interface _Slider extends FormAssociated {
|
|
5
|
+
}
|
|
6
|
+
declare const FormAssociatedSlider_base: typeof _Slider;
|
|
7
|
+
export declare class FormAssociatedSlider extends FormAssociatedSlider_base {
|
|
8
|
+
proxy: HTMLInputElement;
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { FoundationElement } from '@microsoft/fast-foundation';
|
|
|
2
2
|
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
3
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
4
|
import { Localized } from '../../shared/patterns';
|
|
5
|
-
export type SplitButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
5
|
+
export type SplitButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.Announcement | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
6
6
|
export type SplitButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
|
|
7
7
|
export type SplitButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
8
8
|
export type SplitButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
|
package/lib/tabs/tabs.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index.cjs');
|
|
4
|
+
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
7
|
+
var result = void 0 ;
|
|
8
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9
|
+
if (decorator = decorators[i])
|
|
10
|
+
result = (decorator(target, key, result) ) || result;
|
|
11
|
+
if (result) __defProp(target, key, result);
|
|
12
|
+
return result;
|
|
13
|
+
};
|
|
14
|
+
class ARIAGlobalStatesAndProperties {
|
|
15
|
+
}
|
|
16
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
17
|
+
__decorateClass([
|
|
18
|
+
index.attr({ attribute: "aria-atomic" })
|
|
19
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic");
|
|
20
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
21
|
+
__decorateClass([
|
|
22
|
+
index.attr({ attribute: "aria-busy" })
|
|
23
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy");
|
|
24
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
25
|
+
__decorateClass([
|
|
26
|
+
index.attr({ attribute: "aria-controls" })
|
|
27
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaControls");
|
|
28
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
29
|
+
__decorateClass([
|
|
30
|
+
index.attr({ attribute: "aria-current" })
|
|
31
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent");
|
|
32
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
33
|
+
__decorateClass([
|
|
34
|
+
index.attr({ attribute: "aria-describedby" })
|
|
35
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby");
|
|
36
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
37
|
+
__decorateClass([
|
|
38
|
+
index.attr({ attribute: "aria-details" })
|
|
39
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails");
|
|
40
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
41
|
+
__decorateClass([
|
|
42
|
+
index.attr({ attribute: "aria-disabled" })
|
|
43
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled");
|
|
44
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
45
|
+
__decorateClass([
|
|
46
|
+
index.attr({ attribute: "aria-errormessage" })
|
|
47
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage");
|
|
48
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
49
|
+
__decorateClass([
|
|
50
|
+
index.attr({ attribute: "aria-flowto" })
|
|
51
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto");
|
|
52
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
53
|
+
__decorateClass([
|
|
54
|
+
index.attr({ attribute: "aria-haspopup" })
|
|
55
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup");
|
|
56
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
57
|
+
__decorateClass([
|
|
58
|
+
index.attr({ attribute: "aria-hidden" })
|
|
59
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden");
|
|
60
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
61
|
+
__decorateClass([
|
|
62
|
+
index.attr({ attribute: "aria-invalid" })
|
|
63
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid");
|
|
64
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
65
|
+
__decorateClass([
|
|
66
|
+
index.attr({ attribute: "aria-keyshortcuts" })
|
|
67
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts");
|
|
68
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
69
|
+
__decorateClass([
|
|
70
|
+
index.attr({ attribute: "aria-label" })
|
|
71
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel");
|
|
72
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
73
|
+
__decorateClass([
|
|
74
|
+
index.attr({ attribute: "aria-labelledby" })
|
|
75
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby");
|
|
76
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
77
|
+
__decorateClass([
|
|
78
|
+
index.attr({ attribute: "aria-live" })
|
|
79
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLive");
|
|
80
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
81
|
+
__decorateClass([
|
|
82
|
+
index.attr({ attribute: "aria-owns" })
|
|
83
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns");
|
|
84
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
85
|
+
__decorateClass([
|
|
86
|
+
index.attr({ attribute: "aria-relevant" })
|
|
87
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant");
|
|
88
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
89
|
+
__decorateClass([
|
|
90
|
+
index.attr({ attribute: "aria-roledescription" })
|
|
91
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription");
|
|
92
|
+
|
|
93
|
+
exports.ARIAGlobalStatesAndProperties = ARIAGlobalStatesAndProperties;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { a as attr } from './index.js';
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
5
|
+
var result = void 0 ;
|
|
6
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7
|
+
if (decorator = decorators[i])
|
|
8
|
+
result = (decorator(target, key, result) ) || result;
|
|
9
|
+
if (result) __defProp(target, key, result);
|
|
10
|
+
return result;
|
|
11
|
+
};
|
|
12
|
+
class ARIAGlobalStatesAndProperties {
|
|
13
|
+
}
|
|
14
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
15
|
+
__decorateClass([
|
|
16
|
+
attr({ attribute: "aria-atomic" })
|
|
17
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic");
|
|
18
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
19
|
+
__decorateClass([
|
|
20
|
+
attr({ attribute: "aria-busy" })
|
|
21
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy");
|
|
22
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
23
|
+
__decorateClass([
|
|
24
|
+
attr({ attribute: "aria-controls" })
|
|
25
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaControls");
|
|
26
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
27
|
+
__decorateClass([
|
|
28
|
+
attr({ attribute: "aria-current" })
|
|
29
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent");
|
|
30
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
31
|
+
__decorateClass([
|
|
32
|
+
attr({ attribute: "aria-describedby" })
|
|
33
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby");
|
|
34
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
35
|
+
__decorateClass([
|
|
36
|
+
attr({ attribute: "aria-details" })
|
|
37
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails");
|
|
38
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
39
|
+
__decorateClass([
|
|
40
|
+
attr({ attribute: "aria-disabled" })
|
|
41
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled");
|
|
42
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
43
|
+
__decorateClass([
|
|
44
|
+
attr({ attribute: "aria-errormessage" })
|
|
45
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage");
|
|
46
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
47
|
+
__decorateClass([
|
|
48
|
+
attr({ attribute: "aria-flowto" })
|
|
49
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto");
|
|
50
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
51
|
+
__decorateClass([
|
|
52
|
+
attr({ attribute: "aria-haspopup" })
|
|
53
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup");
|
|
54
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
55
|
+
__decorateClass([
|
|
56
|
+
attr({ attribute: "aria-hidden" })
|
|
57
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden");
|
|
58
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
59
|
+
__decorateClass([
|
|
60
|
+
attr({ attribute: "aria-invalid" })
|
|
61
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid");
|
|
62
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
63
|
+
__decorateClass([
|
|
64
|
+
attr({ attribute: "aria-keyshortcuts" })
|
|
65
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts");
|
|
66
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
67
|
+
__decorateClass([
|
|
68
|
+
attr({ attribute: "aria-label" })
|
|
69
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel");
|
|
70
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
71
|
+
__decorateClass([
|
|
72
|
+
attr({ attribute: "aria-labelledby" })
|
|
73
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby");
|
|
74
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
75
|
+
__decorateClass([
|
|
76
|
+
attr({ attribute: "aria-live" })
|
|
77
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaLive");
|
|
78
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
79
|
+
__decorateClass([
|
|
80
|
+
attr({ attribute: "aria-owns" })
|
|
81
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns");
|
|
82
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
83
|
+
__decorateClass([
|
|
84
|
+
attr({ attribute: "aria-relevant" })
|
|
85
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant");
|
|
86
|
+
// @ts-expect-error Type is incorrectly non-optional
|
|
87
|
+
__decorateClass([
|
|
88
|
+
attr({ attribute: "aria-roledescription" })
|
|
89
|
+
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription");
|
|
90
|
+
|
|
91
|
+
export { ARIAGlobalStatesAndProperties as A };
|
|
@@ -1,96 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
const ariaGlobal = require('./aria-global2.cjs');
|
|
3
4
|
const index = require('./index.cjs');
|
|
4
5
|
const applyMixins = require('./apply-mixins.cjs');
|
|
5
6
|
|
|
6
|
-
var __defProp$2 = Object.defineProperty;
|
|
7
|
-
var __decorateClass$2 = (decorators, target, key, kind) => {
|
|
8
|
-
var result = void 0 ;
|
|
9
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10
|
-
if (decorator = decorators[i])
|
|
11
|
-
result = (decorator(target, key, result) ) || result;
|
|
12
|
-
if (result) __defProp$2(target, key, result);
|
|
13
|
-
return result;
|
|
14
|
-
};
|
|
15
|
-
class ARIAGlobalStatesAndProperties {
|
|
16
|
-
}
|
|
17
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
18
|
-
__decorateClass$2([
|
|
19
|
-
index.attr({ attribute: "aria-atomic" })
|
|
20
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic");
|
|
21
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
22
|
-
__decorateClass$2([
|
|
23
|
-
index.attr({ attribute: "aria-busy" })
|
|
24
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy");
|
|
25
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
26
|
-
__decorateClass$2([
|
|
27
|
-
index.attr({ attribute: "aria-controls" })
|
|
28
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaControls");
|
|
29
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
30
|
-
__decorateClass$2([
|
|
31
|
-
index.attr({ attribute: "aria-current" })
|
|
32
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent");
|
|
33
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
34
|
-
__decorateClass$2([
|
|
35
|
-
index.attr({ attribute: "aria-describedby" })
|
|
36
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby");
|
|
37
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
38
|
-
__decorateClass$2([
|
|
39
|
-
index.attr({ attribute: "aria-details" })
|
|
40
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails");
|
|
41
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
42
|
-
__decorateClass$2([
|
|
43
|
-
index.attr({ attribute: "aria-disabled" })
|
|
44
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled");
|
|
45
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
46
|
-
__decorateClass$2([
|
|
47
|
-
index.attr({ attribute: "aria-errormessage" })
|
|
48
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage");
|
|
49
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
50
|
-
__decorateClass$2([
|
|
51
|
-
index.attr({ attribute: "aria-flowto" })
|
|
52
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto");
|
|
53
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
54
|
-
__decorateClass$2([
|
|
55
|
-
index.attr({ attribute: "aria-haspopup" })
|
|
56
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup");
|
|
57
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
58
|
-
__decorateClass$2([
|
|
59
|
-
index.attr({ attribute: "aria-hidden" })
|
|
60
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden");
|
|
61
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
62
|
-
__decorateClass$2([
|
|
63
|
-
index.attr({ attribute: "aria-invalid" })
|
|
64
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid");
|
|
65
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
66
|
-
__decorateClass$2([
|
|
67
|
-
index.attr({ attribute: "aria-keyshortcuts" })
|
|
68
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts");
|
|
69
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
70
|
-
__decorateClass$2([
|
|
71
|
-
index.attr({ attribute: "aria-label" })
|
|
72
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel");
|
|
73
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
74
|
-
__decorateClass$2([
|
|
75
|
-
index.attr({ attribute: "aria-labelledby" })
|
|
76
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby");
|
|
77
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
78
|
-
__decorateClass$2([
|
|
79
|
-
index.attr({ attribute: "aria-live" })
|
|
80
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLive");
|
|
81
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
82
|
-
__decorateClass$2([
|
|
83
|
-
index.attr({ attribute: "aria-owns" })
|
|
84
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns");
|
|
85
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
86
|
-
__decorateClass$2([
|
|
87
|
-
index.attr({ attribute: "aria-relevant" })
|
|
88
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant");
|
|
89
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
90
|
-
__decorateClass$2([
|
|
91
|
-
index.attr({ attribute: "aria-roledescription" })
|
|
92
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription");
|
|
93
|
-
|
|
94
7
|
var __defProp$1 = Object.defineProperty;
|
|
95
8
|
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
96
9
|
var result = void 0 ;
|
|
@@ -140,7 +53,7 @@ class DelegatesARIALink {
|
|
|
140
53
|
__decorateClass$1([
|
|
141
54
|
index.attr({ attribute: "aria-expanded" })
|
|
142
55
|
], DelegatesARIALink.prototype, "ariaExpanded");
|
|
143
|
-
applyMixins.applyMixins(DelegatesARIALink, ARIAGlobalStatesAndProperties);
|
|
56
|
+
applyMixins.applyMixins(DelegatesARIALink, ariaGlobal.ARIAGlobalStatesAndProperties);
|
|
144
57
|
applyMixins.applyMixins(Anchor, DelegatesARIALink);
|
|
145
58
|
|
|
146
59
|
var __defProp = Object.defineProperty;
|
|
@@ -1,94 +1,7 @@
|
|
|
1
|
+
import { A as ARIAGlobalStatesAndProperties } from './aria-global2.js';
|
|
1
2
|
import { a as attr, F as FoundationElement, o as observable } from './index.js';
|
|
2
3
|
import { a as applyMixins } from './apply-mixins.js';
|
|
3
4
|
|
|
4
|
-
var __defProp$2 = Object.defineProperty;
|
|
5
|
-
var __decorateClass$2 = (decorators, target, key, kind) => {
|
|
6
|
-
var result = void 0 ;
|
|
7
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
8
|
-
if (decorator = decorators[i])
|
|
9
|
-
result = (decorator(target, key, result) ) || result;
|
|
10
|
-
if (result) __defProp$2(target, key, result);
|
|
11
|
-
return result;
|
|
12
|
-
};
|
|
13
|
-
class ARIAGlobalStatesAndProperties {
|
|
14
|
-
}
|
|
15
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
16
|
-
__decorateClass$2([
|
|
17
|
-
attr({ attribute: "aria-atomic" })
|
|
18
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic");
|
|
19
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
20
|
-
__decorateClass$2([
|
|
21
|
-
attr({ attribute: "aria-busy" })
|
|
22
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy");
|
|
23
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
24
|
-
__decorateClass$2([
|
|
25
|
-
attr({ attribute: "aria-controls" })
|
|
26
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaControls");
|
|
27
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
28
|
-
__decorateClass$2([
|
|
29
|
-
attr({ attribute: "aria-current" })
|
|
30
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent");
|
|
31
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
32
|
-
__decorateClass$2([
|
|
33
|
-
attr({ attribute: "aria-describedby" })
|
|
34
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby");
|
|
35
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
36
|
-
__decorateClass$2([
|
|
37
|
-
attr({ attribute: "aria-details" })
|
|
38
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails");
|
|
39
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
40
|
-
__decorateClass$2([
|
|
41
|
-
attr({ attribute: "aria-disabled" })
|
|
42
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled");
|
|
43
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
44
|
-
__decorateClass$2([
|
|
45
|
-
attr({ attribute: "aria-errormessage" })
|
|
46
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage");
|
|
47
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
48
|
-
__decorateClass$2([
|
|
49
|
-
attr({ attribute: "aria-flowto" })
|
|
50
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto");
|
|
51
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
52
|
-
__decorateClass$2([
|
|
53
|
-
attr({ attribute: "aria-haspopup" })
|
|
54
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup");
|
|
55
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
56
|
-
__decorateClass$2([
|
|
57
|
-
attr({ attribute: "aria-hidden" })
|
|
58
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden");
|
|
59
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
60
|
-
__decorateClass$2([
|
|
61
|
-
attr({ attribute: "aria-invalid" })
|
|
62
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid");
|
|
63
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
64
|
-
__decorateClass$2([
|
|
65
|
-
attr({ attribute: "aria-keyshortcuts" })
|
|
66
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts");
|
|
67
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
68
|
-
__decorateClass$2([
|
|
69
|
-
attr({ attribute: "aria-label" })
|
|
70
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel");
|
|
71
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
72
|
-
__decorateClass$2([
|
|
73
|
-
attr({ attribute: "aria-labelledby" })
|
|
74
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby");
|
|
75
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
76
|
-
__decorateClass$2([
|
|
77
|
-
attr({ attribute: "aria-live" })
|
|
78
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLive");
|
|
79
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
80
|
-
__decorateClass$2([
|
|
81
|
-
attr({ attribute: "aria-owns" })
|
|
82
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns");
|
|
83
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
84
|
-
__decorateClass$2([
|
|
85
|
-
attr({ attribute: "aria-relevant" })
|
|
86
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant");
|
|
87
|
-
// @ts-expect-error Type is incorrectly non-optional
|
|
88
|
-
__decorateClass$2([
|
|
89
|
-
attr({ attribute: "aria-roledescription" })
|
|
90
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription");
|
|
91
|
-
|
|
92
5
|
var __defProp$1 = Object.defineProperty;
|
|
93
6
|
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
94
7
|
var result = void 0 ;
|