@vonage/vivid 4.14.0 → 4.14.2
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 +152 -197
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/divider.template.d.ts +1 -1
- package/lib/elevation/elevation.d.ts +1 -0
- package/lib/radio/radio.form-associated.d.ts +2 -0
- package/lib/tabs/tabs.d.ts +0 -5
- package/lib/text-anchor/text-anchor.d.ts +2 -2
- package/lib/tree-item/tree-item.d.ts +2 -2
- package/lib/tree-view/tree-view.d.ts +2 -2
- package/package.json +1 -1
- package/shared/affix.cjs +8 -8
- package/shared/affix.js +2 -2
- package/shared/anchor.cjs +10 -10
- package/shared/anchor.js +1 -1
- package/shared/anchored.cjs +6 -6
- package/shared/anchored.js +1 -1
- package/shared/apply-mixins.cjs +3 -3
- package/shared/apply-mixins.js +1 -1
- package/shared/apply-mixins2.cjs +3 -3
- package/shared/apply-mixins2.js +1 -1
- package/shared/applyMixinsWithObservables.cjs +3 -3
- package/shared/applyMixinsWithObservables.js +1 -1
- package/shared/aria-global.cjs +20 -20
- package/shared/aria-global.js +1 -1
- package/shared/base-progress.cjs +7 -8
- package/shared/base-progress.js +2 -3
- package/shared/breadcrumb-item.cjs +2 -3
- package/shared/breadcrumb-item.js +1 -2
- package/shared/button.cjs +10 -11
- package/shared/button.js +1 -2
- package/shared/calendar-event.cjs +7 -8
- package/shared/calendar-event.js +1 -2
- package/shared/children.cjs +2 -2
- package/shared/children.js +1 -1
- package/shared/definition.cjs +14 -15
- package/shared/definition.js +2 -3
- package/shared/definition10.cjs +5 -6
- package/shared/definition10.js +1 -2
- package/shared/definition11.cjs +29 -29
- package/shared/definition11.js +2 -2
- package/shared/definition12.cjs +6 -6
- package/shared/definition12.js +1 -1
- package/shared/definition13.cjs +13 -14
- package/shared/definition13.js +1 -2
- package/shared/definition14.cjs +23 -24
- package/shared/definition14.js +1 -2
- package/shared/definition15.cjs +15 -16
- package/shared/definition15.js +1 -2
- package/shared/definition16.cjs +21 -21
- package/shared/definition16.js +5 -5
- package/shared/definition17.cjs +62 -61
- package/shared/definition17.js +10 -9
- package/shared/definition18.cjs +4 -4
- package/shared/definition18.js +1 -1
- package/shared/definition19.cjs +12 -12
- package/shared/definition19.js +1 -1
- package/shared/definition2.cjs +6 -7
- package/shared/definition2.js +1 -2
- package/shared/definition20.cjs +20 -21
- package/shared/definition20.js +1 -2
- package/shared/definition21.cjs +27 -28
- package/shared/definition21.js +3 -4
- package/shared/definition22.cjs +7 -7
- package/shared/definition22.js +3 -3
- package/shared/definition23.cjs +10 -11
- package/shared/definition23.js +1 -2
- package/shared/definition24.cjs +8 -8
- package/shared/definition24.js +3 -3
- package/shared/definition25.cjs +13 -14
- package/shared/definition25.js +1 -2
- package/shared/definition26.cjs +5 -6
- package/shared/definition26.js +1 -2
- package/shared/definition27.cjs +12 -13
- package/shared/definition27.js +2 -3
- package/shared/definition28.cjs +9 -10
- package/shared/definition28.js +2 -3
- package/shared/definition29.cjs +44 -45
- package/shared/definition29.js +3 -4
- package/shared/definition3.cjs +8 -9
- package/shared/definition3.js +1 -2
- package/shared/definition30.cjs +9 -10
- package/shared/definition30.js +2 -3
- package/shared/definition31.cjs +5 -5
- package/shared/definition31.js +2 -2
- package/shared/definition32.cjs +3 -4
- package/shared/definition32.js +1 -2
- package/shared/definition33.cjs +6 -7
- package/shared/definition33.js +2 -3
- package/shared/definition34.cjs +112 -45
- package/shared/definition34.js +73 -6
- package/shared/definition35.cjs +9 -209
- package/shared/definition35.js +4 -202
- package/shared/definition36.cjs +15 -16
- package/shared/definition36.js +1 -2
- package/shared/definition37.cjs +9 -9
- package/shared/definition37.js +1 -1
- package/shared/definition38.cjs +10 -10
- package/shared/definition38.js +1 -1
- package/shared/definition39.cjs +12 -13
- package/shared/definition39.js +1 -2
- package/shared/definition4.cjs +19 -20
- package/shared/definition4.js +2 -3
- package/shared/definition40.cjs +61 -13
- package/shared/definition40.js +52 -4
- package/shared/definition41.cjs +29 -30
- package/shared/definition41.js +1 -2
- package/shared/definition42.cjs +52 -53
- package/shared/definition42.js +3 -4
- package/shared/definition43.cjs +40 -40
- package/shared/definition43.js +6 -6
- package/shared/definition44.cjs +14 -15
- package/shared/definition44.js +1 -2
- package/shared/definition45.cjs +9 -10
- package/shared/definition45.js +1 -2
- package/shared/definition46.cjs +26 -27
- package/shared/definition46.js +1 -2
- package/shared/definition47.cjs +17 -18
- package/shared/definition47.js +2 -3
- package/shared/definition48.cjs +9 -10
- package/shared/definition48.js +1 -2
- package/shared/definition49.cjs +3 -4
- package/shared/definition49.js +1 -2
- package/shared/definition5.cjs +30 -31
- package/shared/definition5.js +1 -2
- package/shared/definition50.cjs +12 -13
- package/shared/definition50.js +2 -3
- package/shared/definition51.cjs +109 -72
- package/shared/definition51.js +78 -41
- package/shared/definition52.cjs +4 -5
- package/shared/definition52.js +1 -2
- package/shared/definition53.cjs +15 -16
- package/shared/definition53.js +2 -3
- package/shared/definition54.cjs +20 -21
- package/shared/definition54.js +1 -2
- package/shared/definition55.cjs +5 -5
- package/shared/definition55.js +1 -1
- package/shared/definition56.cjs +18 -19
- package/shared/definition56.js +1 -2
- package/shared/definition57.cjs +10 -11
- package/shared/definition57.js +1 -2
- package/shared/definition58.cjs +7 -8
- package/shared/definition58.js +1 -2
- package/shared/definition59.cjs +16 -17
- package/shared/definition59.js +3 -4
- package/shared/definition6.cjs +11 -12
- package/shared/definition6.js +1 -2
- package/shared/definition60.cjs +9 -10
- package/shared/definition60.js +2 -3
- package/shared/definition61.cjs +27 -30
- package/shared/definition61.js +17 -20
- package/shared/definition62.cjs +12 -9
- package/shared/definition62.js +8 -5
- package/shared/definition63.cjs +13 -14
- package/shared/definition63.js +1 -2
- package/shared/definition7.cjs +9 -10
- package/shared/definition7.js +2 -3
- package/shared/definition8.cjs +14 -15
- package/shared/definition8.js +2 -3
- package/shared/definition9.cjs +7 -7
- package/shared/definition9.js +1 -1
- package/shared/form-associated.cjs +14 -14
- package/shared/form-associated.js +1 -1
- package/shared/form-associated2.cjs +10 -10
- package/shared/form-associated2.js +1 -1
- package/shared/form-elements.cjs +13 -13
- package/shared/form-elements.js +1 -1
- package/shared/foundation/progress/base-progress.d.ts +2 -2
- package/shared/foundation-element.cjs +11 -11
- package/shared/foundation-element.js +1 -1
- package/shared/key-codes2.cjs +0 -56
- package/shared/key-codes2.js +1 -53
- package/shared/listbox.cjs +15 -16
- package/shared/listbox.js +2 -3
- package/shared/localized.cjs +2 -2
- package/shared/localized.js +1 -1
- package/shared/option.cjs +205 -0
- package/shared/option.js +202 -0
- package/shared/presentationDate.cjs +42 -43
- package/shared/presentationDate.js +1 -2
- package/shared/ref.cjs +2 -2
- package/shared/ref.js +1 -1
- package/shared/repeat.cjs +15 -15
- package/shared/repeat.js +1 -1
- package/shared/slider.template.cjs +4 -4
- package/shared/slider.template.js +1 -1
- package/shared/slotted.cjs +4 -4
- package/shared/slotted.js +1 -1
- package/shared/start-end.cjs +52 -0
- package/shared/start-end.js +50 -0
- package/shared/text-anchor.cjs +5 -6
- package/shared/text-anchor.js +3 -4
- package/shared/text-anchor.template.cjs +2 -2
- package/shared/text-anchor.template.js +1 -1
- package/shared/text-field2.cjs +23 -24
- package/shared/text-field2.js +2 -3
- package/shared/vivid-element.cjs +2610 -2
- package/shared/vivid-element.js +2591 -2
- package/styles/core/all.css +40 -1
- package/styles/core/theme.css +40 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +25 -4
- package/styles/tokens/theme-light.css +25 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/text-anchor/index.cjs +3 -3
- package/text-anchor/index.js +1 -1
- package/lib/listbox/definition.d.ts +0 -2
- package/lib/listbox/listbox.d.ts +0 -14
- package/lib/listbox/listbox.template.d.ts +0 -2
- package/listbox/index.cjs +0 -54
- package/listbox/index.js +0 -52
- package/shared/aria-global2.cjs +0 -75
- package/shared/aria-global2.js +0 -73
- package/shared/defineVividComponent.cjs +0 -2612
- package/shared/defineVividComponent.js +0 -2592
- package/shared/listbox2.cjs +0 -1268
- package/shared/listbox2.js +0 -1265
- package/shared/strings2.cjs +0 -37
- package/shared/strings2.js +0 -33
package/styles/core/all.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
.vvd-root {
|
|
6
6
|
color-scheme: var(--vvd-color-scheme);
|
|
@@ -28,6 +28,45 @@
|
|
|
28
28
|
background-color: var(--scrollbar-thumb-color);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.vvd-neutral-tint-elevation {
|
|
32
|
+
--_vvd-tinted-color-surface-0dp: var(--vvd-neutral-tint-color-surface-0dp);
|
|
33
|
+
--_vvd-tinted-color-surface-2dp: var(--vvd-neutral-tint-color-surface-2dp);
|
|
34
|
+
--_vvd-tinted-color-surface-4dp: var(--vvd-neutral-tint-color-surface-4dp);
|
|
35
|
+
--_vvd-tinted-color-surface-8dp: var(--vvd-neutral-tint-color-surface-8dp);
|
|
36
|
+
--_vvd-tinted-color-surface-12dp: var(--vvd-neutral-tint-color-surface-12dp);
|
|
37
|
+
--_vvd-tinted-color-surface-16dp: var(--vvd-neutral-tint-color-surface-16dp);
|
|
38
|
+
--_vvd-tinted-color-surface-24dp: var(--vvd-neutral-tint-color-surface-24dp);
|
|
39
|
+
--_vvd-tinted-shadow-surface-0dp: var(--vvd-neutral-tint-shadow-surface-0dp);
|
|
40
|
+
--_vvd-tinted-shadow-surface-2dp: var(--vvd-neutral-tint-shadow-surface-2dp);
|
|
41
|
+
--_vvd-tinted-shadow-surface-4dp: var(--vvd-neutral-tint-shadow-surface-4dp);
|
|
42
|
+
--_vvd-tinted-shadow-surface-8dp: var(--vvd-neutral-tint-shadow-surface-8dp);
|
|
43
|
+
--_vvd-tinted-shadow-surface-12dp: var(
|
|
44
|
+
--vvd-neutral-tint-shadow-surface-12dp
|
|
45
|
+
);
|
|
46
|
+
--_vvd-tinted-shadow-surface-16dp: var(
|
|
47
|
+
--vvd-neutral-tint-shadow-surface-16dp
|
|
48
|
+
);
|
|
49
|
+
--_vvd-tinted-shadow-surface-24dp: var(
|
|
50
|
+
--vvd-neutral-tint-shadow-surface-24dp
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
.vvd-neutral-tint-elevation > * {
|
|
54
|
+
--_vvd-tinted-color-surface-0dp: var(--vvd-color-surface-0dp);
|
|
55
|
+
--_vvd-tinted-color-surface-2dp: var(--vvd-color-surface-2dp);
|
|
56
|
+
--_vvd-tinted-color-surface-4dp: var(--vvd-color-surface-4dp);
|
|
57
|
+
--_vvd-tinted-color-surface-8dp: var(--vvd-color-surface-8dp);
|
|
58
|
+
--_vvd-tinted-color-surface-12dp: var(--vvd-color-surface-12dp);
|
|
59
|
+
--_vvd-tinted-color-surface-16dp: var(--vvd-color-surface-16dp);
|
|
60
|
+
--_vvd-tinted-color-surface-24dp: var(--vvd-color-surface-24dp);
|
|
61
|
+
--_vvd-tinted-shadow-surface-0dp: var(--vvd-shadow-surface-0dp);
|
|
62
|
+
--_vvd-tinted-shadow-surface-2dp: var(--vvd-shadow-surface-2dp);
|
|
63
|
+
--_vvd-tinted-shadow-surface-4dp: var(--vvd-shadow-surface-4dp);
|
|
64
|
+
--_vvd-tinted-shadow-surface-8dp: var(--vvd-shadow-surface-8dp);
|
|
65
|
+
--_vvd-tinted-shadow-surface-12dp: var(--vvd-shadow-surface-12dp);
|
|
66
|
+
--_vvd-tinted-shadow-surface-16dp: var(--vvd-shadow-surface-16dp);
|
|
67
|
+
--_vvd-tinted-shadow-surface-24dp: var(--vvd-shadow-surface-24dp);
|
|
68
|
+
}
|
|
69
|
+
|
|
31
70
|
.vvd-root:root {
|
|
32
71
|
--vvd-size-font-scale-base: 1rem;
|
|
33
72
|
font-size: unset;
|
package/styles/core/theme.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
.vvd-root {
|
|
6
6
|
color-scheme: var(--vvd-color-scheme);
|
|
@@ -27,3 +27,42 @@
|
|
|
27
27
|
border-radius: 4px;
|
|
28
28
|
background-color: var(--scrollbar-thumb-color);
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
.vvd-neutral-tint-elevation {
|
|
32
|
+
--_vvd-tinted-color-surface-0dp: var(--vvd-neutral-tint-color-surface-0dp);
|
|
33
|
+
--_vvd-tinted-color-surface-2dp: var(--vvd-neutral-tint-color-surface-2dp);
|
|
34
|
+
--_vvd-tinted-color-surface-4dp: var(--vvd-neutral-tint-color-surface-4dp);
|
|
35
|
+
--_vvd-tinted-color-surface-8dp: var(--vvd-neutral-tint-color-surface-8dp);
|
|
36
|
+
--_vvd-tinted-color-surface-12dp: var(--vvd-neutral-tint-color-surface-12dp);
|
|
37
|
+
--_vvd-tinted-color-surface-16dp: var(--vvd-neutral-tint-color-surface-16dp);
|
|
38
|
+
--_vvd-tinted-color-surface-24dp: var(--vvd-neutral-tint-color-surface-24dp);
|
|
39
|
+
--_vvd-tinted-shadow-surface-0dp: var(--vvd-neutral-tint-shadow-surface-0dp);
|
|
40
|
+
--_vvd-tinted-shadow-surface-2dp: var(--vvd-neutral-tint-shadow-surface-2dp);
|
|
41
|
+
--_vvd-tinted-shadow-surface-4dp: var(--vvd-neutral-tint-shadow-surface-4dp);
|
|
42
|
+
--_vvd-tinted-shadow-surface-8dp: var(--vvd-neutral-tint-shadow-surface-8dp);
|
|
43
|
+
--_vvd-tinted-shadow-surface-12dp: var(
|
|
44
|
+
--vvd-neutral-tint-shadow-surface-12dp
|
|
45
|
+
);
|
|
46
|
+
--_vvd-tinted-shadow-surface-16dp: var(
|
|
47
|
+
--vvd-neutral-tint-shadow-surface-16dp
|
|
48
|
+
);
|
|
49
|
+
--_vvd-tinted-shadow-surface-24dp: var(
|
|
50
|
+
--vvd-neutral-tint-shadow-surface-24dp
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
.vvd-neutral-tint-elevation > * {
|
|
54
|
+
--_vvd-tinted-color-surface-0dp: var(--vvd-color-surface-0dp);
|
|
55
|
+
--_vvd-tinted-color-surface-2dp: var(--vvd-color-surface-2dp);
|
|
56
|
+
--_vvd-tinted-color-surface-4dp: var(--vvd-color-surface-4dp);
|
|
57
|
+
--_vvd-tinted-color-surface-8dp: var(--vvd-color-surface-8dp);
|
|
58
|
+
--_vvd-tinted-color-surface-12dp: var(--vvd-color-surface-12dp);
|
|
59
|
+
--_vvd-tinted-color-surface-16dp: var(--vvd-color-surface-16dp);
|
|
60
|
+
--_vvd-tinted-color-surface-24dp: var(--vvd-color-surface-24dp);
|
|
61
|
+
--_vvd-tinted-shadow-surface-0dp: var(--vvd-shadow-surface-0dp);
|
|
62
|
+
--_vvd-tinted-shadow-surface-2dp: var(--vvd-shadow-surface-2dp);
|
|
63
|
+
--_vvd-tinted-shadow-surface-4dp: var(--vvd-shadow-surface-4dp);
|
|
64
|
+
--_vvd-tinted-shadow-surface-8dp: var(--vvd-shadow-surface-8dp);
|
|
65
|
+
--_vvd-tinted-shadow-surface-12dp: var(--vvd-shadow-surface-12dp);
|
|
66
|
+
--_vvd-tinted-shadow-surface-16dp: var(--vvd-shadow-surface-16dp);
|
|
67
|
+
--_vvd-tinted-shadow-surface-24dp: var(--vvd-shadow-surface-24dp);
|
|
68
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
|
@@ -123,6 +123,20 @@
|
|
|
123
123
|
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);
|
|
124
124
|
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);
|
|
125
125
|
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);
|
|
126
|
+
--vvd-neutral-tint-color-surface-0dp: #191828;
|
|
127
|
+
--vvd-neutral-tint-color-surface-2dp: linear-gradient(#ffffff08, #ffffff08), #191828;
|
|
128
|
+
--vvd-neutral-tint-color-surface-4dp: linear-gradient(#ffffff0f, #ffffff0f), #191828;
|
|
129
|
+
--vvd-neutral-tint-color-surface-8dp: linear-gradient(#ffffff14, #ffffff14), #191828;
|
|
130
|
+
--vvd-neutral-tint-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #191828;
|
|
131
|
+
--vvd-neutral-tint-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #191828;
|
|
132
|
+
--vvd-neutral-tint-color-surface-24dp: linear-gradient(#ffffff33, #ffffff33), #191828;
|
|
133
|
+
--vvd-neutral-tint-shadow-surface-0dp: drop-shadow(1px 0px 0px #f2f3f91a) drop-shadow(0px 1px 0px #f2f3f91a) drop-shadow(0px -1px 0px #f2f3f91a) drop-shadow(-1px 0px 0px #f2f3f91a);
|
|
134
|
+
--vvd-neutral-tint-shadow-surface-2dp: none;
|
|
135
|
+
--vvd-neutral-tint-shadow-surface-4dp: none;
|
|
136
|
+
--vvd-neutral-tint-shadow-surface-8dp: none;
|
|
137
|
+
--vvd-neutral-tint-shadow-surface-12dp: none;
|
|
138
|
+
--vvd-neutral-tint-shadow-surface-16dp: none;
|
|
139
|
+
--vvd-neutral-tint-shadow-surface-24dp: none;
|
|
126
140
|
--vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;
|
|
127
141
|
--vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;
|
|
128
142
|
--vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;
|
|
@@ -244,4 +258,11 @@
|
|
|
244
258
|
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);
|
|
245
259
|
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);
|
|
246
260
|
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);
|
|
261
|
+
--vvd-neutral-tint-shadow-surface-0dp: drop-shadow(1px 0px 0px #31304f1a) drop-shadow(0px 1px 0px #31304f1a) drop-shadow(0px -1px 0px #31304f1a) drop-shadow(-1px 0px 0px #31304f1a);
|
|
262
|
+
--vvd-neutral-tint-shadow-surface-2dp: drop-shadow(0px 1px 4px #26044d1a) drop-shadow(0px 1px 2px #26044d0d) drop-shadow(0px 2px 1px #26044d0d);
|
|
263
|
+
--vvd-neutral-tint-shadow-surface-4dp: drop-shadow(0px 2px 8px #26044d1a) drop-shadow(0px 2px 4px #26044d0d) drop-shadow(0px 4px 2px #26044d0d);
|
|
264
|
+
--vvd-neutral-tint-shadow-surface-8dp: drop-shadow(0px 2px 16px #26044d1a) drop-shadow(0px 8px 8px #26044d0d) drop-shadow(0px 4px 4px #26044d0d);
|
|
265
|
+
--vvd-neutral-tint-shadow-surface-12dp: drop-shadow(0px 4px 24px #26044d1a) drop-shadow(0px 12px 16px #26044d0d) drop-shadow(0px 6px 8px #26044d0d);
|
|
266
|
+
--vvd-neutral-tint-shadow-surface-16dp: drop-shadow(0px 6px 32px #26044d1a) drop-shadow(0px 16px 24px #26044d0d) drop-shadow(0px 8px 12px #26044d0d);
|
|
267
|
+
--vvd-neutral-tint-shadow-surface-24dp: drop-shadow(0px 12px 48px #26044d33) drop-shadow(0px 24px 32px #26044d0d) drop-shadow(0px 12px 16px #26044d0d);
|
|
247
268
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Tue, 28 Jan 2025 12:08:04 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
|
@@ -130,6 +130,13 @@
|
|
|
130
130
|
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);
|
|
131
131
|
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);
|
|
132
132
|
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);
|
|
133
|
+
--vvd-neutral-tint-shadow-surface-0dp: drop-shadow(1px 0px 0px #31304f1a) drop-shadow(0px 1px 0px #31304f1a) drop-shadow(0px -1px 0px #31304f1a) drop-shadow(-1px 0px 0px #31304f1a);
|
|
134
|
+
--vvd-neutral-tint-shadow-surface-2dp: drop-shadow(0px 1px 4px #26044d1a) drop-shadow(0px 1px 2px #26044d0d) drop-shadow(0px 2px 1px #26044d0d);
|
|
135
|
+
--vvd-neutral-tint-shadow-surface-4dp: drop-shadow(0px 2px 8px #26044d1a) drop-shadow(0px 2px 4px #26044d0d) drop-shadow(0px 4px 2px #26044d0d);
|
|
136
|
+
--vvd-neutral-tint-shadow-surface-8dp: drop-shadow(0px 2px 16px #26044d1a) drop-shadow(0px 8px 8px #26044d0d) drop-shadow(0px 4px 4px #26044d0d);
|
|
137
|
+
--vvd-neutral-tint-shadow-surface-12dp: drop-shadow(0px 4px 24px #26044d1a) drop-shadow(0px 12px 16px #26044d0d) drop-shadow(0px 6px 8px #26044d0d);
|
|
138
|
+
--vvd-neutral-tint-shadow-surface-16dp: drop-shadow(0px 6px 32px #26044d1a) drop-shadow(0px 16px 24px #26044d0d) drop-shadow(0px 8px 12px #26044d0d);
|
|
139
|
+
--vvd-neutral-tint-shadow-surface-24dp: drop-shadow(0px 12px 48px #26044d33) drop-shadow(0px 24px 32px #26044d0d) drop-shadow(0px 12px 16px #26044d0d);
|
|
133
140
|
--vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 Montserrat;
|
|
134
141
|
--vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 Montserrat;
|
|
135
142
|
--vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 Montserrat;
|
|
@@ -244,4 +251,18 @@
|
|
|
244
251
|
--vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);
|
|
245
252
|
--vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);
|
|
246
253
|
--vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);
|
|
254
|
+
--vvd-neutral-tint-color-surface-0dp: #191828;
|
|
255
|
+
--vvd-neutral-tint-color-surface-2dp: linear-gradient(#ffffff08, #ffffff08), #191828;
|
|
256
|
+
--vvd-neutral-tint-color-surface-4dp: linear-gradient(#ffffff0f, #ffffff0f), #191828;
|
|
257
|
+
--vvd-neutral-tint-color-surface-8dp: linear-gradient(#ffffff14, #ffffff14), #191828;
|
|
258
|
+
--vvd-neutral-tint-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #191828;
|
|
259
|
+
--vvd-neutral-tint-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #191828;
|
|
260
|
+
--vvd-neutral-tint-color-surface-24dp: linear-gradient(#ffffff33, #ffffff33), #191828;
|
|
261
|
+
--vvd-neutral-tint-shadow-surface-0dp: drop-shadow(1px 0px 0px #f2f3f91a) drop-shadow(0px 1px 0px #f2f3f91a) drop-shadow(0px -1px 0px #f2f3f91a) drop-shadow(-1px 0px 0px #f2f3f91a);
|
|
262
|
+
--vvd-neutral-tint-shadow-surface-2dp: none;
|
|
263
|
+
--vvd-neutral-tint-shadow-surface-4dp: none;
|
|
264
|
+
--vvd-neutral-tint-shadow-surface-8dp: none;
|
|
265
|
+
--vvd-neutral-tint-shadow-surface-12dp: none;
|
|
266
|
+
--vvd-neutral-tint-shadow-surface-16dp: none;
|
|
267
|
+
--vvd-neutral-tint-shadow-surface-24dp: none;
|
|
247
268
|
}
|
package/text-anchor/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const definition = require('../shared/definition27.cjs');
|
|
4
|
-
const
|
|
4
|
+
const vividElement = require('../shared/vivid-element.cjs');
|
|
5
5
|
const textAnchor = require('../shared/text-anchor.cjs');
|
|
6
6
|
const textAnchor_template = require('../shared/text-anchor.template.cjs');
|
|
7
7
|
|
|
8
|
-
const textAnchorDefinition =
|
|
8
|
+
const textAnchorDefinition = vividElement.defineVividComponent(
|
|
9
9
|
"text-anchor",
|
|
10
10
|
textAnchor.TextAnchor,
|
|
11
11
|
textAnchor_template.textAnchorTemplate,
|
|
12
12
|
[definition.iconDefinition],
|
|
13
13
|
{}
|
|
14
14
|
);
|
|
15
|
-
const registerTextAnchor =
|
|
15
|
+
const registerTextAnchor = vividElement.createRegisterFunction(textAnchorDefinition);
|
|
16
16
|
|
|
17
17
|
registerTextAnchor();
|
package/text-anchor/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as iconDefinition } from '../shared/definition27.js';
|
|
2
|
-
import { f as createRegisterFunction, d as defineVividComponent } from '../shared/
|
|
2
|
+
import { f as createRegisterFunction, d as defineVividComponent } from '../shared/vivid-element.js';
|
|
3
3
|
import { T as TextAnchor } from '../shared/text-anchor.js';
|
|
4
4
|
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
5
5
|
|
package/lib/listbox/listbox.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ListboxElement as FoundationListboxElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Shape } from '../enums';
|
|
3
|
-
export type LisboxAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
4
|
-
type ListboxShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
5
|
-
export declare class Listbox extends FoundationListboxElement {
|
|
6
|
-
#private;
|
|
7
|
-
appearance?: LisboxAppearance;
|
|
8
|
-
orientation?: 'horizontal' | 'vertical';
|
|
9
|
-
orientationChanged(): void;
|
|
10
|
-
shape?: ListboxShape;
|
|
11
|
-
slottedOptionsChanged(prev: Element[] | undefined, next: Element[]): void;
|
|
12
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
package/listbox/index.cjs
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const definition = require('../shared/definition35.cjs');
|
|
4
|
-
const defineVividComponent = require('../shared/defineVividComponent.cjs');
|
|
5
|
-
const listbox = require('../shared/listbox2.cjs');
|
|
6
|
-
const slotted = require('../shared/slotted.cjs');
|
|
7
|
-
const classNames = require('../shared/class-names.cjs');
|
|
8
|
-
|
|
9
|
-
const getClasses = ({ appearance, shape, disabled, orientation }) => classNames.classNames(
|
|
10
|
-
"base",
|
|
11
|
-
["disabled", disabled],
|
|
12
|
-
[`appearance-${appearance}`, Boolean(appearance)],
|
|
13
|
-
[`shape-${shape}`, Boolean(shape) && orientation === "horizontal"],
|
|
14
|
-
[`orientation-${orientation}`, Boolean(orientation)]
|
|
15
|
-
);
|
|
16
|
-
const ListboxTemplate = defineVividComponent.html`
|
|
17
|
-
<template
|
|
18
|
-
aria-activedescendant="${(x) => x.ariaActiveDescendant}"
|
|
19
|
-
aria-multiselectable="${(x) => x.ariaMultiSelectable}"
|
|
20
|
-
aria-orientation="${(x) => x.ariaOrientation}"
|
|
21
|
-
aria-label="listbox"
|
|
22
|
-
role="listbox"
|
|
23
|
-
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
24
|
-
@focusin="${(x, c) => x.focusinHandler(c.event)}"
|
|
25
|
-
@keydown="${(x, c) => x.keydownHandler(c.event)}"
|
|
26
|
-
@mousedown="${(x, c) => x.mousedownHandler(c.event)}"
|
|
27
|
-
tabindex="${(x) => !x.disabled ? "0" : null}"
|
|
28
|
-
>
|
|
29
|
-
<div class="${getClasses}">
|
|
30
|
-
<slot
|
|
31
|
-
${slotted.slotted({
|
|
32
|
-
filter: listbox.ListboxElement.slottedOptionFilter,
|
|
33
|
-
flatten: true,
|
|
34
|
-
property: "slottedOptions"
|
|
35
|
-
})}
|
|
36
|
-
></slot>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
`;
|
|
40
|
-
|
|
41
|
-
const styles = ":host{display:inline-block;inline-size:fit-content}:host(:focus-within){outline:none}:host([disabled]){cursor:not-allowed}.base{--_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));--_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100))}.base{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--_connotation-color-intermediate)}.base.appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.disabled,:disabled).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base{display:inline-flex;box-sizing:border-box;padding:4px;border-radius:var(--_listbox-border-radius);background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);contain:paint;gap:4px;inline-size:100%}.base:not(.orientation-horizontal){flex-direction:column}.base:not(.shape-pill){--_listbox-border-radius: 8px}.base.shape-pill{--_listbox-border-radius: 24px}:host(:focus-within) .base{--focus-stroke-gap-color: transparent;box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}::slotted([role=option]){border-radius:var(--_listbox-border-radius);contain:content}.base.disabled ::slotted([role=option]){--_option-appearance-color-text: var(--_appearance-color-outline);pointer-events:none}";
|
|
42
|
-
|
|
43
|
-
const listboxDefinition = defineVividComponent.defineVividComponent(
|
|
44
|
-
"listbox",
|
|
45
|
-
listbox.Listbox,
|
|
46
|
-
ListboxTemplate,
|
|
47
|
-
[definition.listboxOptionDefinition],
|
|
48
|
-
{
|
|
49
|
-
styles
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
const registerListbox = defineVividComponent.createRegisterFunction(listboxDefinition);
|
|
53
|
-
|
|
54
|
-
registerListbox();
|
package/listbox/index.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { l as listboxOptionDefinition } from '../shared/definition35.js';
|
|
2
|
-
import { h as html, f as createRegisterFunction, d as defineVividComponent } from '../shared/defineVividComponent.js';
|
|
3
|
-
import { L as ListboxElement, a as Listbox } from '../shared/listbox2.js';
|
|
4
|
-
import { s as slotted } from '../shared/slotted.js';
|
|
5
|
-
import { c as classNames } from '../shared/class-names.js';
|
|
6
|
-
|
|
7
|
-
const getClasses = ({ appearance, shape, disabled, orientation }) => classNames(
|
|
8
|
-
"base",
|
|
9
|
-
["disabled", disabled],
|
|
10
|
-
[`appearance-${appearance}`, Boolean(appearance)],
|
|
11
|
-
[`shape-${shape}`, Boolean(shape) && orientation === "horizontal"],
|
|
12
|
-
[`orientation-${orientation}`, Boolean(orientation)]
|
|
13
|
-
);
|
|
14
|
-
const ListboxTemplate = html`
|
|
15
|
-
<template
|
|
16
|
-
aria-activedescendant="${(x) => x.ariaActiveDescendant}"
|
|
17
|
-
aria-multiselectable="${(x) => x.ariaMultiSelectable}"
|
|
18
|
-
aria-orientation="${(x) => x.ariaOrientation}"
|
|
19
|
-
aria-label="listbox"
|
|
20
|
-
role="listbox"
|
|
21
|
-
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
22
|
-
@focusin="${(x, c) => x.focusinHandler(c.event)}"
|
|
23
|
-
@keydown="${(x, c) => x.keydownHandler(c.event)}"
|
|
24
|
-
@mousedown="${(x, c) => x.mousedownHandler(c.event)}"
|
|
25
|
-
tabindex="${(x) => !x.disabled ? "0" : null}"
|
|
26
|
-
>
|
|
27
|
-
<div class="${getClasses}">
|
|
28
|
-
<slot
|
|
29
|
-
${slotted({
|
|
30
|
-
filter: ListboxElement.slottedOptionFilter,
|
|
31
|
-
flatten: true,
|
|
32
|
-
property: "slottedOptions"
|
|
33
|
-
})}
|
|
34
|
-
></slot>
|
|
35
|
-
</div>
|
|
36
|
-
</template>
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
const styles = ":host{display:inline-block;inline-size:fit-content}:host(:focus-within){outline:none}:host([disabled]){cursor:not-allowed}.base{--_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));--_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100))}.base{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--_connotation-color-intermediate)}.base.appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.disabled,:disabled).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base{display:inline-flex;box-sizing:border-box;padding:4px;border-radius:var(--_listbox-border-radius);background-color:var(--_appearance-color-fill);box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);contain:paint;gap:4px;inline-size:100%}.base:not(.orientation-horizontal){flex-direction:column}.base:not(.shape-pill){--_listbox-border-radius: 8px}.base.shape-pill{--_listbox-border-radius: 24px}:host(:focus-within) .base{--focus-stroke-gap-color: transparent;box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}::slotted([role=option]){border-radius:var(--_listbox-border-radius);contain:content}.base.disabled ::slotted([role=option]){--_option-appearance-color-text: var(--_appearance-color-outline);pointer-events:none}";
|
|
40
|
-
|
|
41
|
-
const listboxDefinition = defineVividComponent(
|
|
42
|
-
"listbox",
|
|
43
|
-
Listbox,
|
|
44
|
-
ListboxTemplate,
|
|
45
|
-
[listboxOptionDefinition],
|
|
46
|
-
{
|
|
47
|
-
styles
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
const registerListbox = createRegisterFunction(listboxDefinition);
|
|
51
|
-
|
|
52
|
-
registerListbox();
|
package/shared/aria-global2.cjs
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const foundationElement = require('./foundation-element.cjs');
|
|
4
|
-
const defineVividComponent = require('./defineVividComponent.cjs');
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Some states and properties are applicable to all host language elements regardless of whether a role is applied.
|
|
8
|
-
* The following global states and properties are supported by all roles and by all base markup elements.
|
|
9
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
|
|
10
|
-
*
|
|
11
|
-
* This is intended to be used as a mixin. Be sure you extend FASTElement.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
class ARIAGlobalStatesAndProperties {
|
|
16
|
-
}
|
|
17
|
-
foundationElement.__decorate([
|
|
18
|
-
defineVividComponent.attr({ attribute: "aria-atomic" })
|
|
19
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", void 0);
|
|
20
|
-
foundationElement.__decorate([
|
|
21
|
-
defineVividComponent.attr({ attribute: "aria-busy" })
|
|
22
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", void 0);
|
|
23
|
-
foundationElement.__decorate([
|
|
24
|
-
defineVividComponent.attr({ attribute: "aria-controls" })
|
|
25
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaControls", void 0);
|
|
26
|
-
foundationElement.__decorate([
|
|
27
|
-
defineVividComponent.attr({ attribute: "aria-current" })
|
|
28
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", void 0);
|
|
29
|
-
foundationElement.__decorate([
|
|
30
|
-
defineVividComponent.attr({ attribute: "aria-describedby" })
|
|
31
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", void 0);
|
|
32
|
-
foundationElement.__decorate([
|
|
33
|
-
defineVividComponent.attr({ attribute: "aria-details" })
|
|
34
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", void 0);
|
|
35
|
-
foundationElement.__decorate([
|
|
36
|
-
defineVividComponent.attr({ attribute: "aria-disabled" })
|
|
37
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", void 0);
|
|
38
|
-
foundationElement.__decorate([
|
|
39
|
-
defineVividComponent.attr({ attribute: "aria-errormessage" })
|
|
40
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", void 0);
|
|
41
|
-
foundationElement.__decorate([
|
|
42
|
-
defineVividComponent.attr({ attribute: "aria-flowto" })
|
|
43
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", void 0);
|
|
44
|
-
foundationElement.__decorate([
|
|
45
|
-
defineVividComponent.attr({ attribute: "aria-haspopup" })
|
|
46
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", void 0);
|
|
47
|
-
foundationElement.__decorate([
|
|
48
|
-
defineVividComponent.attr({ attribute: "aria-hidden" })
|
|
49
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", void 0);
|
|
50
|
-
foundationElement.__decorate([
|
|
51
|
-
defineVividComponent.attr({ attribute: "aria-invalid" })
|
|
52
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", void 0);
|
|
53
|
-
foundationElement.__decorate([
|
|
54
|
-
defineVividComponent.attr({ attribute: "aria-keyshortcuts" })
|
|
55
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", void 0);
|
|
56
|
-
foundationElement.__decorate([
|
|
57
|
-
defineVividComponent.attr({ attribute: "aria-label" })
|
|
58
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", void 0);
|
|
59
|
-
foundationElement.__decorate([
|
|
60
|
-
defineVividComponent.attr({ attribute: "aria-labelledby" })
|
|
61
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", void 0);
|
|
62
|
-
foundationElement.__decorate([
|
|
63
|
-
defineVividComponent.attr({ attribute: "aria-live" })
|
|
64
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLive", void 0);
|
|
65
|
-
foundationElement.__decorate([
|
|
66
|
-
defineVividComponent.attr({ attribute: "aria-owns" })
|
|
67
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", void 0);
|
|
68
|
-
foundationElement.__decorate([
|
|
69
|
-
defineVividComponent.attr({ attribute: "aria-relevant" })
|
|
70
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", void 0);
|
|
71
|
-
foundationElement.__decorate([
|
|
72
|
-
defineVividComponent.attr({ attribute: "aria-roledescription" })
|
|
73
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", void 0);
|
|
74
|
-
|
|
75
|
-
exports.ARIAGlobalStatesAndProperties = ARIAGlobalStatesAndProperties;
|
package/shared/aria-global2.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { _ as __decorate } from './foundation-element.js';
|
|
2
|
-
import { a as attr } from './defineVividComponent.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Some states and properties are applicable to all host language elements regardless of whether a role is applied.
|
|
6
|
-
* The following global states and properties are supported by all roles and by all base markup elements.
|
|
7
|
-
* {@link https://www.w3.org/TR/wai-aria-1.1/#global_states}
|
|
8
|
-
*
|
|
9
|
-
* This is intended to be used as a mixin. Be sure you extend FASTElement.
|
|
10
|
-
*
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
class ARIAGlobalStatesAndProperties {
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
attr({ attribute: "aria-atomic" })
|
|
17
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaAtomic", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
attr({ attribute: "aria-busy" })
|
|
20
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaBusy", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
attr({ attribute: "aria-controls" })
|
|
23
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaControls", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
attr({ attribute: "aria-current" })
|
|
26
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaCurrent", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
attr({ attribute: "aria-describedby" })
|
|
29
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDescribedby", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
attr({ attribute: "aria-details" })
|
|
32
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDetails", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
attr({ attribute: "aria-disabled" })
|
|
35
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaDisabled", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
attr({ attribute: "aria-errormessage" })
|
|
38
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaErrormessage", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
attr({ attribute: "aria-flowto" })
|
|
41
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaFlowto", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
attr({ attribute: "aria-haspopup" })
|
|
44
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHaspopup", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
attr({ attribute: "aria-hidden" })
|
|
47
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaHidden", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
attr({ attribute: "aria-invalid" })
|
|
50
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaInvalid", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
attr({ attribute: "aria-keyshortcuts" })
|
|
53
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaKeyshortcuts", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
attr({ attribute: "aria-label" })
|
|
56
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabel", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
attr({ attribute: "aria-labelledby" })
|
|
59
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLabelledby", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
attr({ attribute: "aria-live" })
|
|
62
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaLive", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
attr({ attribute: "aria-owns" })
|
|
65
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaOwns", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
attr({ attribute: "aria-relevant" })
|
|
68
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRelevant", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
attr({ attribute: "aria-roledescription" })
|
|
71
|
-
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", void 0);
|
|
72
|
-
|
|
73
|
-
export { ARIAGlobalStatesAndProperties as A };
|