@vonage/vivid 3.40.0 → 3.42.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/accordion/index.js +2 -2
- package/accordion-item/index.js +2 -2
- package/alert/index.js +6 -5
- package/audio-player/index.js +33 -0
- package/avatar/index.js +2 -2
- package/badge/index.js +2 -2
- package/banner/index.js +8 -5
- package/breadcrumb/index.js +1 -1
- package/breadcrumb-item/index.js +3 -3
- package/button/index.js +4 -4
- package/calendar/index.js +1 -1
- package/calendar-event/index.js +1 -1
- package/card/index.js +4 -3
- package/checkbox/index.js +3 -3
- package/combobox/index.js +8 -8
- package/custom-elements.json +438 -41
- package/data-grid/index.js +2 -2
- package/date-picker/index.js +9 -9
- package/date-range-picker/index.js +8 -8
- package/dialog/index.js +6 -6
- package/divider/index.js +1 -1
- package/elevation/index.js +1 -1
- package/empty-state/index.js +2 -2
- package/fab/index.js +3 -3
- package/file-picker/index.js +5 -5
- package/focus/index.js +1 -1
- package/header/index.js +2 -2
- package/icon/index.js +1 -1
- package/index.js +57 -56
- package/layout/index.js +1 -1
- package/lib/alert/alert.d.ts +3 -1
- package/lib/alert/locale.d.ts +3 -0
- package/lib/audio-player/audio-player.d.ts +17 -0
- package/lib/audio-player/audio-player.template.d.ts +4 -0
- package/lib/audio-player/definition.d.ts +4 -0
- package/lib/audio-player/locale.d.ts +5 -0
- package/lib/banner/banner.d.ts +3 -1
- package/lib/banner/locale.d.ts +3 -0
- package/lib/card/card.d.ts +3 -0
- package/lib/card/card.template.d.ts +1 -1
- package/lib/card/definition.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +1 -0
- package/lib/components.d.ts +1 -0
- package/lib/enums.d.ts +2 -1
- package/lib/selectable-box/selectable-box.d.ts +2 -2
- package/lib/split-button/locale.d.ts +3 -0
- package/lib/split-button/split-button.d.ts +4 -2
- package/listbox/index.js +4 -4
- package/locales/en-GB.js +14 -0
- package/locales/en-US.js +14 -0
- package/locales/ja-JP.js +14 -0
- package/locales/zh-CN.js +14 -0
- package/menu/index.js +8 -8
- package/menu-item/index.js +3 -3
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +3 -3
- package/nav-item/index.js +3 -3
- package/note/index.js +2 -2
- package/number-field/index.js +6 -6
- package/option/index.js +3 -3
- package/package.json +1 -1
- package/pagination/index.js +5 -5
- package/popup/index.js +6 -6
- package/progress/index.js +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/index.js +2 -2
- package/radio-group/index.js +2 -2
- package/select/index.js +8 -8
- package/selectable-box/index.js +5 -5
- package/shared/definition.js +3 -3
- package/shared/definition10.js +90 -159
- package/shared/definition11.js +151 -29
- package/shared/definition12.js +37 -766
- package/shared/definition13.js +747 -106
- package/shared/definition14.js +121 -198
- package/shared/definition15.js +167 -664
- package/shared/definition16.js +576 -1137
- package/shared/definition17.js +1278 -143
- package/shared/definition18.js +68 -306
- package/shared/definition19.js +359 -217
- package/shared/definition2.js +1 -1
- package/shared/definition20.js +259 -67
- package/shared/definition21.js +66 -58
- package/shared/definition22.js +43 -84
- package/shared/definition23.js +76 -2353
- package/shared/definition24.js +2362 -45
- package/shared/definition25.js +63 -27
- package/shared/definition26.js +24 -51
- package/shared/definition27.js +36 -822
- package/shared/definition28.js +837 -49
- package/shared/definition29.js +52 -89
- package/shared/definition3.js +1 -1
- package/shared/definition30.js +88 -24
- package/shared/definition31.js +25 -12
- package/shared/definition32.js +12 -52
- package/shared/definition33.js +28 -502
- package/shared/definition34.js +442 -197
- package/shared/definition35.js +260 -186
- package/shared/definition36.js +186 -75
- package/shared/definition37.js +70 -54
- package/shared/definition38.js +65 -421
- package/shared/definition39.js +437 -38
- package/shared/definition4.js +43 -16
- package/shared/definition40.js +32 -680
- package/shared/definition41.js +654 -105
- package/shared/definition42.js +117 -78
- package/shared/definition43.js +74 -567
- package/shared/definition44.js +567 -98
- package/shared/definition45.js +110 -135
- package/shared/definition46.js +153 -17
- package/shared/definition47.js +16 -79
- package/shared/definition48.js +53 -475
- package/shared/definition49.js +502 -25
- package/shared/definition5.js +160 -44
- package/shared/definition50.js +22 -121
- package/shared/definition51.js +113 -271
- package/shared/definition52.js +249 -243
- package/shared/definition53.js +270 -109
- package/shared/definition54.js +84 -74
- package/shared/definition55.js +114 -69
- package/shared/definition56.js +81 -292
- package/shared/definition57.js +302 -13
- package/shared/definition58.js +11 -41
- package/shared/definition59.js +20 -154
- package/shared/definition6.js +43 -33
- package/shared/definition60.js +181 -0
- package/shared/definition7.js +39 -106
- package/shared/definition8.js +122 -38
- package/shared/definition9.js +56 -89
- package/shared/enums.js +1 -0
- package/shared/icon.js +2 -2
- package/shared/index.js +1 -1
- package/shared/index2.js +1 -1
- package/shared/listbox.js +1 -1
- package/shared/localization/Locale.d.ts +8 -0
- package/shared/patterns/form-elements/form-elements.d.ts +6 -6
- package/shared/presentationDate.js +10 -8
- package/shared/text-field.js +1 -1
- package/side-drawer/index.js +1 -1
- package/slider/index.js +3 -3
- package/split-button/index.js +6 -3
- package/style.css +329 -242
- package/styles/core/all.css +31 -25
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +31 -25
- 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/switch/index.js +3 -3
- package/tab/index.js +3 -3
- package/tab-panel/index.js +1 -1
- package/tabs/index.js +5 -5
- package/tag/index.js +3 -3
- package/tag-group/index.js +1 -1
- package/text-area/index.js +3 -3
- package/text-field/index.js +3 -3
- package/toggletip/index.js +7 -7
- package/tooltip/index.js +7 -7
- package/tree-item/index.js +3 -3
- package/tree-view/index.js +1 -1
- package/vivid.api.json +270 -1
package/date-picker/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as registerDatePicker } from '../shared/
|
|
1
|
+
import { r as registerDatePicker } from '../shared/definition18.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
4
|
-
import '../shared/
|
|
5
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition60.js';
|
|
4
|
+
import '../shared/definition11.js';
|
|
5
|
+
import '../shared/definition26.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
7
|
import '../shared/_has.js';
|
|
8
8
|
import '../shared/class-names.js';
|
|
9
9
|
import '../shared/when.js';
|
|
10
|
-
import '../shared/
|
|
10
|
+
import '../shared/definition58.js';
|
|
11
11
|
import '../shared/focus.js';
|
|
12
|
-
import '../shared/
|
|
12
|
+
import '../shared/definition37.js';
|
|
13
13
|
import '../shared/base-progress.js';
|
|
14
14
|
import '../shared/affix.js';
|
|
15
15
|
import '../shared/slotted.js';
|
|
@@ -22,14 +22,14 @@ import '../shared/start-end.js';
|
|
|
22
22
|
import '../shared/ref.js';
|
|
23
23
|
import '../shared/focus2.js';
|
|
24
24
|
import '../shared/enums.js';
|
|
25
|
-
import '../shared/
|
|
26
|
-
import '../shared/
|
|
25
|
+
import '../shared/definition59.js';
|
|
26
|
+
import '../shared/definition53.js';
|
|
27
27
|
import '../shared/index2.js';
|
|
28
28
|
import '../locales/en-US.js';
|
|
29
29
|
import '../shared/Reflector.js';
|
|
30
30
|
import '../shared/text-field2.js';
|
|
31
31
|
import '../shared/text-field.js';
|
|
32
|
-
import '../shared/
|
|
32
|
+
import '../shared/definition21.js';
|
|
33
33
|
import '../shared/aria.js';
|
|
34
34
|
import '../shared/presentationDate.js';
|
|
35
35
|
import '../shared/repeat.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerDateRangePicker } from '../shared/
|
|
1
|
+
import { r as registerDateRangePicker } from '../shared/definition19.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
4
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition11.js';
|
|
4
|
+
import '../shared/definition26.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
6
|
import '../shared/_has.js';
|
|
7
7
|
import '../shared/class-names.js';
|
|
8
8
|
import '../shared/when.js';
|
|
9
|
-
import '../shared/
|
|
9
|
+
import '../shared/definition58.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
|
-
import '../shared/
|
|
11
|
+
import '../shared/definition37.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
13
13
|
import '../shared/affix.js';
|
|
14
14
|
import '../shared/slotted.js';
|
|
@@ -21,15 +21,15 @@ import '../shared/start-end.js';
|
|
|
21
21
|
import '../shared/ref.js';
|
|
22
22
|
import '../shared/focus2.js';
|
|
23
23
|
import '../shared/enums.js';
|
|
24
|
+
import '../shared/definition60.js';
|
|
24
25
|
import '../shared/definition59.js';
|
|
25
|
-
import '../shared/
|
|
26
|
-
import '../shared/definition52.js';
|
|
26
|
+
import '../shared/definition53.js';
|
|
27
27
|
import '../shared/index2.js';
|
|
28
28
|
import '../locales/en-US.js';
|
|
29
29
|
import '../shared/Reflector.js';
|
|
30
30
|
import '../shared/text-field2.js';
|
|
31
31
|
import '../shared/text-field.js';
|
|
32
|
-
import '../shared/
|
|
32
|
+
import '../shared/definition21.js';
|
|
33
33
|
import '../shared/aria.js';
|
|
34
34
|
import '../shared/presentationDate.js';
|
|
35
35
|
import '../shared/repeat.js';
|
package/dialog/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerDialog } from '../shared/
|
|
1
|
+
import { r as registerDialog } from '../shared/definition20.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition26.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
9
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition11.js';
|
|
9
|
+
import '../shared/definition58.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
|
-
import '../shared/
|
|
11
|
+
import '../shared/definition37.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
13
13
|
import '../shared/affix.js';
|
|
14
14
|
import '../shared/slotted.js';
|
|
@@ -21,7 +21,7 @@ import '../shared/start-end.js';
|
|
|
21
21
|
import '../shared/ref.js';
|
|
22
22
|
import '../shared/focus2.js';
|
|
23
23
|
import '../shared/enums.js';
|
|
24
|
-
import '../shared/
|
|
24
|
+
import '../shared/definition59.js';
|
|
25
25
|
import '../shared/index2.js';
|
|
26
26
|
import '../locales/en-US.js';
|
|
27
27
|
import '../shared/localized.js';
|
package/divider/index.js
CHANGED
package/elevation/index.js
CHANGED
package/empty-state/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerEmptyState } from '../shared/
|
|
1
|
+
import { r as registerEmptyState } from '../shared/definition22.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition26.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
package/fab/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerFab } from '../shared/
|
|
1
|
+
import { r as registerFab } from '../shared/definition23.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition26.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition58.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
10
|
import '../shared/affix.js';
|
|
11
11
|
import '../shared/slotted.js';
|
package/file-picker/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerFilePicker } from '../shared/
|
|
1
|
+
import { r as registerFilePicker } from '../shared/definition24.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition26.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
5
|
import '../shared/_has.js';
|
|
6
6
|
import '../shared/class-names.js';
|
|
7
7
|
import '../shared/when.js';
|
|
8
|
-
import '../shared/
|
|
8
|
+
import '../shared/definition58.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
|
-
import '../shared/
|
|
11
|
-
import '../shared/
|
|
10
|
+
import '../shared/definition11.js';
|
|
11
|
+
import '../shared/definition37.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
13
13
|
import '../shared/affix.js';
|
|
14
14
|
import '../shared/slotted.js';
|
package/focus/index.js
CHANGED
package/header/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerHeader } from '../shared/
|
|
1
|
+
import { r as registerHeader } from '../shared/definition25.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition59.js';
|
|
4
4
|
import '../shared/class-names.js';
|
|
5
5
|
|
|
6
6
|
registerHeader();
|
package/icon/index.js
CHANGED
package/index.js
CHANGED
|
@@ -2,62 +2,63 @@ export { a as accordionItemDefinition, b as accordionItemRegistries, r as regist
|
|
|
2
2
|
export { a as accordionDefinition, b as accordionRegistries, r as registerAccordion } from './shared/definition2.js';
|
|
3
3
|
export { a as actionGroupDefinition, b as actionGroupRegistries, r as registerActionGroup } from './shared/definition3.js';
|
|
4
4
|
export { a as alertDefinition, b as alertRegistries, r as registerAlert } from './shared/definition4.js';
|
|
5
|
-
export { a as
|
|
6
|
-
export { b as
|
|
7
|
-
export { b as
|
|
8
|
-
export { b as
|
|
9
|
-
export { b as
|
|
10
|
-
export { b as
|
|
11
|
-
export {
|
|
12
|
-
export { c as
|
|
13
|
-
export { c as
|
|
14
|
-
export { c as
|
|
15
|
-
export { c as
|
|
16
|
-
export {
|
|
17
|
-
export { d as
|
|
18
|
-
export { d as
|
|
19
|
-
export { d as
|
|
20
|
-
export { d as
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export { f as
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export { m as
|
|
29
|
-
export {
|
|
30
|
-
export { n as
|
|
31
|
-
export { n as
|
|
32
|
-
export { n as
|
|
33
|
-
export { n as
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export { p as
|
|
37
|
-
export { p as
|
|
38
|
-
export {
|
|
39
|
-
export { r as
|
|
40
|
-
export { r as
|
|
41
|
-
export { r as
|
|
42
|
-
export { r as
|
|
43
|
-
export { r as
|
|
44
|
-
export { r as
|
|
45
|
-
export { r as
|
|
46
|
-
export { r as
|
|
47
|
-
export { r as
|
|
48
|
-
export { r as
|
|
49
|
-
export { r as
|
|
50
|
-
export { r as
|
|
51
|
-
export { r as
|
|
52
|
-
export { r as
|
|
53
|
-
export { r as
|
|
54
|
-
export { r as
|
|
55
|
-
export { r as
|
|
56
|
-
export { r as
|
|
5
|
+
export { a as audioPlayerDefinition, b as audioPlayerRegistries, r as registerAudioPlayer } from './shared/definition5.js';
|
|
6
|
+
export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/definition6.js';
|
|
7
|
+
export { b as badgeDefinition, r as registerBadge } from './shared/definition7.js';
|
|
8
|
+
export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/definition8.js';
|
|
9
|
+
export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/definition9.js';
|
|
10
|
+
export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/definition10.js';
|
|
11
|
+
export { b as buttonDefinition, a as buttonRegistries, r as registerButton } from './shared/definition11.js';
|
|
12
|
+
export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/definition12.js';
|
|
13
|
+
export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/definition13.js';
|
|
14
|
+
export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition14.js';
|
|
15
|
+
export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition15.js';
|
|
16
|
+
export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition16.js';
|
|
17
|
+
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition17.js';
|
|
18
|
+
export { d as datePickerDefinition, a as datePickerRegistries, r as registerDatePicker } from './shared/definition18.js';
|
|
19
|
+
export { d as dateRangePickerDefinition, a as dateRangePickerRegistries, r as registerDateRangePicker } from './shared/definition19.js';
|
|
20
|
+
export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition20.js';
|
|
21
|
+
export { d as dividerDefinition, a as dividerRegistries, r as registerDivider } from './shared/definition21.js';
|
|
22
|
+
export { e as emptyStateDefinition, a as emptyStateRegistries, r as registerEmptyState } from './shared/definition22.js';
|
|
23
|
+
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition23.js';
|
|
24
|
+
export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/definition24.js';
|
|
25
|
+
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition25.js';
|
|
26
|
+
export { i as iconDefinition, a as iconRegistries, r as registerIcon } from './shared/definition26.js';
|
|
27
|
+
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition27.js';
|
|
28
|
+
export { m as menuItemDefinition, a as menuItemRegistries, r as registerMenuItem } from './shared/definition28.js';
|
|
29
|
+
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition29.js';
|
|
30
|
+
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition30.js';
|
|
31
|
+
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition31.js';
|
|
32
|
+
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition32.js';
|
|
33
|
+
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition33.js';
|
|
34
|
+
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition34.js';
|
|
35
|
+
export { l as listboxOptionDefinition, a as listboxOptionRegistries, r as registerOption } from './shared/definition35.js';
|
|
36
|
+
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/definition36.js';
|
|
37
|
+
export { p as progressRingDefinition, a as progressRingRegistries, r as registerProgressRing } from './shared/definition37.js';
|
|
38
|
+
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition38.js';
|
|
39
|
+
export { r as radioGroupDefinition, a as radioGroupRegistries, b as registerRadioGroup } from './shared/definition39.js';
|
|
40
|
+
export { r as radioDefinition, a as radioRegistries, b as registerRadio } from './shared/definition40.js';
|
|
41
|
+
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition41.js';
|
|
42
|
+
export { r as registerSelectableBox, s as selectableBoxDefinition, a as selectableBoxRegistries } from './shared/definition42.js';
|
|
43
|
+
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition43.js';
|
|
44
|
+
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition44.js';
|
|
45
|
+
export { r as registerSplitButton, s as splitButtonDefinition, a as splitButtonRegistries } from './shared/definition45.js';
|
|
46
|
+
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition46.js';
|
|
47
|
+
export { r as registerTabPanel, t as tabPanelDefinition, a as tabPanelRegistries } from './shared/definition47.js';
|
|
48
|
+
export { r as registerTab, t as tabDefinition, a as tabRegistries } from './shared/definition48.js';
|
|
49
|
+
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition49.js';
|
|
50
|
+
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition50.js';
|
|
51
|
+
export { r as registerTag, t as tagDefinition } from './shared/definition51.js';
|
|
52
|
+
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition52.js';
|
|
53
|
+
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition53.js';
|
|
54
|
+
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition54.js';
|
|
55
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition55.js';
|
|
56
|
+
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition56.js';
|
|
57
|
+
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition57.js';
|
|
57
58
|
export { A as Appearance, c as AriaLive, C as Connotation, a as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, b as Size } from './shared/enums.js';
|
|
58
59
|
export { d as designSystem, r as registerFactory } from './shared/index.js';
|
|
59
60
|
export { s as setLocale } from './shared/index2.js';
|
|
60
|
-
import './shared/
|
|
61
|
+
import './shared/definition58.js';
|
|
61
62
|
import './shared/focus.js';
|
|
62
63
|
import './shared/affix.js';
|
|
63
64
|
import './shared/icon.js';
|
|
@@ -71,7 +72,8 @@ import './shared/when.js';
|
|
|
71
72
|
import './shared/key-codes.js';
|
|
72
73
|
import './shared/numbers.js';
|
|
73
74
|
import './shared/class-names.js';
|
|
74
|
-
import './shared/
|
|
75
|
+
import './shared/definition59.js';
|
|
76
|
+
import './shared/localized.js';
|
|
75
77
|
import './shared/button.js';
|
|
76
78
|
import './shared/form-associated.js';
|
|
77
79
|
import './shared/aria-global.js';
|
|
@@ -80,7 +82,7 @@ import './shared/anchor.js';
|
|
|
80
82
|
import './shared/text-anchor.template.js';
|
|
81
83
|
import './shared/calendar-event.js';
|
|
82
84
|
import './shared/repeat.js';
|
|
83
|
-
import './shared/
|
|
85
|
+
import './shared/definition60.js';
|
|
84
86
|
import './shared/text-field.js';
|
|
85
87
|
import './shared/listbox.js';
|
|
86
88
|
import './shared/key-codes2.js';
|
|
@@ -88,7 +90,6 @@ import './shared/strings.js';
|
|
|
88
90
|
import './shared/select.options.js';
|
|
89
91
|
import './shared/children.js';
|
|
90
92
|
import './shared/presentationDate.js';
|
|
91
|
-
import './shared/localized.js';
|
|
92
93
|
import './shared/aria.js';
|
|
93
94
|
import './shared/direction.js';
|
|
94
95
|
import './shared/dom.js';
|
package/layout/index.js
CHANGED
package/lib/alert/alert.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { Connotation } from '../enums';
|
|
3
|
+
import { Localized } from '../../shared/patterns';
|
|
3
4
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
5
|
export type AlertConnotation = Connotation.Accent | Connotation.Information | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
6
|
export type AlertPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
6
7
|
export declare class Alert extends FoundationElement {
|
|
7
8
|
#private;
|
|
9
|
+
dismissButtonAriaLabel: string | null;
|
|
8
10
|
removable: boolean;
|
|
9
11
|
placement?: AlertPlacement;
|
|
10
12
|
headline?: string;
|
|
@@ -18,5 +20,5 @@ export declare class Alert extends FoundationElement {
|
|
|
18
20
|
disconnectedCallback(): void;
|
|
19
21
|
get conditionedIcon(): string | undefined;
|
|
20
22
|
}
|
|
21
|
-
export interface Alert extends AffixIcon {
|
|
23
|
+
export interface Alert extends Localized, AffixIcon {
|
|
22
24
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Connotation } from '../enums';
|
|
3
|
+
import { Localized } from '../../shared/patterns';
|
|
4
|
+
export type AudioPlayerConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
5
|
+
export declare class AudioPlayer extends FoundationElement {
|
|
6
|
+
playButtonAriaLabel: string | null;
|
|
7
|
+
pauseButtonAriaLabel: string | null;
|
|
8
|
+
sliderAriaLabel: string | null;
|
|
9
|
+
connotation?: AudioPlayerConnotation;
|
|
10
|
+
src?: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
notime: boolean;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
}
|
|
16
|
+
export interface AudioPlayer extends Localized {
|
|
17
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import { AudioPlayer } from './audio-player';
|
|
4
|
+
export declare const AudioPlayerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<AudioPlayer>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { AudioPlayerConnotation } from './audio-player';
|
|
3
|
+
export declare const audioPlayerDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
4
|
+
export declare const registerAudioPlayer: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/banner/banner.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { Connotation } from '../enums';
|
|
3
|
+
import { Localized } from '../../shared/patterns';
|
|
3
4
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
5
|
export type BannerConnotation = Connotation.Information | Connotation.Announcement | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
6
|
export declare class Banner extends FoundationElement {
|
|
6
7
|
#private;
|
|
8
|
+
dismissButtonAriaLabel: string | null;
|
|
7
9
|
role: string | null;
|
|
8
10
|
actionHref: string | undefined;
|
|
9
11
|
actionText: string | undefined;
|
|
@@ -16,5 +18,5 @@ export declare class Banner extends FoundationElement {
|
|
|
16
18
|
disconnectedCallback(): void;
|
|
17
19
|
remove(): void;
|
|
18
20
|
}
|
|
19
|
-
export interface Banner extends AffixIcon {
|
|
21
|
+
export interface Banner extends Localized, AffixIcon {
|
|
20
22
|
}
|
package/lib/card/card.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance } from '../enums.js';
|
|
3
|
+
export type CardAppearance = Extract<Appearance, Appearance.Elevated | Appearance.Ghost | Appearance.Outlined>;
|
|
2
4
|
export declare class Card extends FoundationElement {
|
|
5
|
+
appearance?: CardAppearance;
|
|
3
6
|
headline?: string;
|
|
4
7
|
subtitle?: string;
|
|
5
8
|
text?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
3
|
import type { Card } from './card';
|
|
4
|
-
export declare const CardTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Card>;
|
|
4
|
+
export declare const CardTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition, elevationTag: string) => ViewTemplate<Card>;
|
package/lib/card/definition.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const keySpace: ' ';
|
|
|
5
5
|
export type CheckboxConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
6
6
|
export declare class Checkbox extends FoundationCheckbox {
|
|
7
7
|
ariaLabel: string | null;
|
|
8
|
+
tabindex: string | null;
|
|
8
9
|
connotation?: CheckboxConnotation;
|
|
9
10
|
}
|
|
10
11
|
export interface Checkbox extends FormElement, FormElementHelperText, ErrorText, FormElementSuccessText {
|
package/lib/components.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './accordion-item/definition';
|
|
|
2
2
|
export * from './accordion/definition';
|
|
3
3
|
export * from './action-group/definition';
|
|
4
4
|
export * from './alert/definition';
|
|
5
|
+
export * from './audio-player/definition';
|
|
5
6
|
export * from './avatar/definition';
|
|
6
7
|
export * from './badge/definition';
|
|
7
8
|
export * from './banner/definition';
|
package/lib/enums.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import type { Connotation } from '../enums.js';
|
|
|
3
3
|
export type SelectableBoxConnotation = Connotation.Accent | Connotation.CTA;
|
|
4
4
|
export type SelectableBoxControlType = 'checkbox' | 'radio';
|
|
5
5
|
export declare class SelectableBox extends FoundationElement {
|
|
6
|
+
ariaLabel: string | null;
|
|
6
7
|
checked: boolean;
|
|
7
8
|
clickable: boolean;
|
|
9
|
+
clickableBox: boolean;
|
|
8
10
|
connotation?: SelectableBoxConnotation;
|
|
9
|
-
controlAriaLabel: string | null;
|
|
10
|
-
controlAriaLabelledby: string | null;
|
|
11
11
|
controlType?: SelectableBoxControlType;
|
|
12
12
|
tight: boolean;
|
|
13
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
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
6
|
export type SplitButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
|
|
6
7
|
export type SplitButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
8
|
export type SplitButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
|
|
@@ -20,6 +21,7 @@ export declare class SplitButton extends FoundationElement {
|
|
|
20
21
|
disabled: boolean;
|
|
21
22
|
ariaLabel: string | null;
|
|
22
23
|
ariaExpanded: string | null;
|
|
24
|
+
indicatorAriaLabel: string | null;
|
|
23
25
|
}
|
|
24
|
-
export interface SplitButton extends AffixIcon {
|
|
26
|
+
export interface SplitButton extends AffixIcon, Localized {
|
|
25
27
|
}
|
package/listbox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as html, r as registerFactory } from '../shared/index.js';
|
|
2
|
-
import { f as focusRegistries } from '../shared/
|
|
3
|
-
import { a as listboxOptionRegistries } from '../shared/
|
|
2
|
+
import { f as focusRegistries } from '../shared/definition58.js';
|
|
3
|
+
import { a as listboxOptionRegistries } from '../shared/definition35.js';
|
|
4
4
|
import { L as ListboxElement, a as Listbox } from '../shared/listbox.js';
|
|
5
5
|
import '../shared/affix.js';
|
|
6
6
|
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
@@ -8,7 +8,7 @@ import '../shared/index2.js';
|
|
|
8
8
|
import { s as slotted } from '../shared/slotted.js';
|
|
9
9
|
import { c as classNames } from '../shared/class-names.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
|
-
import '../shared/
|
|
11
|
+
import '../shared/definition26.js';
|
|
12
12
|
import '../shared/icon.js';
|
|
13
13
|
import '../shared/_has.js';
|
|
14
14
|
import '../shared/when.js';
|
|
@@ -62,7 +62,7 @@ const ListboxTemplate = (context) => {
|
|
|
62
62
|
`;
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
const styles = "/**\n * Do not edit directly\n * Generated on
|
|
65
|
+
const styles = "/**\n * Do not edit directly\n * Generated on Thu, 30 Nov 2023 11:42:28 GMT\n */\n:host {\n display: inline-block;\n inline-size: fit-content;\n}\n\n:host(:focus-within) {\n outline: none;\n}\n\n:host([disabled]) {\n cursor: not-allowed;\n}\n\n.base {\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n padding: 4px;\n background-color: var(--_appearance-color-fill);\n border-radius: var(--_listbox-border-radius);\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n contain: paint;\n gap: 4px;\n inline-size: 100%;\n}\n.base {\n /* @cssprop [--vvd-listbox-accent-backdrop=var(--vvd-color-canvas)] */\n --_connotation-color-backdrop: var(--vvd-listbox-accent-backdrop, var(--vvd-color-canvas));\n /* @cssprop [--vvd-listbox-accent-intermediate=var(--vvd-color-neutral-500)] */\n --_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));\n /* @cssprop [--vvd-listbox-accent-primary=var(--vvd-color-canvas-text)] */\n --_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-listbox-accent-soft=var(--vvd-color-neutral-100)] */\n --_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100));\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: var(--vvd-color-neutral-100);\n --_appearance-color-outline: var(--vvd-color-neutral-300);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:not(.orientation-horizontal) {\n flex-direction: column;\n}\n\n.focus-indicator {\n pointer-events: none;\n}\n:host(:not(:focus-within)) .focus-indicator {\n display: none;\n}\n\n/* Shape */\n.base:not(.shape-pill) {\n --_listbox-border-radius: 6px;\n}\n\n.base.shape-pill {\n --_listbox-border-radius: 24px;\n}\n\n::slotted([role=option]) {\n border-radius: var(--_listbox-border-radius);\n contain: content;\n}\n\n.base.disabled ::slotted([role=option]) {\n --_option-appearance-color-text: var(--_appearance-color-outline);\n pointer-events: none;\n}";
|
|
66
66
|
|
|
67
67
|
const listboxDefinition = Listbox.compose({
|
|
68
68
|
baseName: "listbox",
|
package/locales/en-GB.js
CHANGED
|
@@ -78,12 +78,26 @@ const enGB = {
|
|
|
78
78
|
fileTooBigError: "File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",
|
|
79
79
|
removeFileLabel: "Remove file"
|
|
80
80
|
},
|
|
81
|
+
audioPlayer: {
|
|
82
|
+
playButtonLabel: "Play",
|
|
83
|
+
pauseButtonLabel: "Pause",
|
|
84
|
+
sliderLabel: "Audio progress bar"
|
|
85
|
+
},
|
|
86
|
+
alert: {
|
|
87
|
+
dismissButtonLabel: "Close"
|
|
88
|
+
},
|
|
81
89
|
dialog: {
|
|
82
90
|
dismissButtonLabel: "Close"
|
|
83
91
|
},
|
|
92
|
+
banner: {
|
|
93
|
+
dismissButtonLabel: "Close"
|
|
94
|
+
},
|
|
84
95
|
numberField: {
|
|
85
96
|
incrementButtonLabel: "Increment",
|
|
86
97
|
decrementButtonLabel: "Decrement"
|
|
98
|
+
},
|
|
99
|
+
splitButton: {
|
|
100
|
+
showMoreActionsLabel: "Show more actions"
|
|
87
101
|
}
|
|
88
102
|
};
|
|
89
103
|
|