@vonage/vivid 3.32.0 → 3.35.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 +5 -5
- package/accordion-item/index.js +4 -4
- package/action-group/index.js +1 -1
- package/alert/index.js +6 -6
- package/avatar/index.js +2 -2
- package/badge/index.js +2 -2
- package/banner/index.js +5 -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 +3 -3
- package/checkbox/index.js +5 -3
- package/combobox/index.js +8 -8
- package/custom-elements.json +256 -18
- package/data-grid/index.js +2 -2
- package/date-picker/index.js +9 -9
- 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 +4 -4
- 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 +59 -59
- package/layout/index.js +1 -1
- package/lib/avatar/avatar.d.ts +1 -1
- package/lib/calendar/calendar.d.ts +1 -1
- package/lib/date-picker/calendar/dateStr.d.ts +1 -0
- package/lib/date-picker/calendar/month.d.ts +1 -0
- package/lib/date-picker/calendar/year.d.ts +2 -0
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/icon/icon.d.ts +0 -1
- package/lib/listbox/listbox.d.ts +9 -1
- package/lib/progress-ring/progress-ring.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +1 -0
- package/listbox/index.js +20 -16
- package/locales/en-GB.js +48 -14
- package/locales/en-US.js +48 -14
- package/locales/ja-JP.js +48 -14
- package/locales/zh-CN.js +48 -14
- package/menu/index.js +8 -8
- package/menu-item/index.js +4 -4
- 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 -3
- package/number-field/index.js +6 -6
- package/option/index.js +3 -3
- package/package.json +2 -16
- 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 +1 -1
- package/select/index.js +8 -8
- package/shared/affix.js +25 -9
- package/shared/apply-mixins.js +1 -1
- package/shared/breadcrumb-item.js +5 -5
- package/shared/button.js +13 -13
- package/shared/calendar-event.js +36 -16
- package/shared/definition.js +133 -194
- package/shared/definition10.js +225 -40
- package/shared/definition11.js +36 -32
- package/shared/definition12.js +763 -98
- package/shared/definition13.js +125 -89
- package/shared/definition14.js +207 -27
- package/shared/definition15.js +710 -731
- package/shared/definition16.js +1289 -47
- package/shared/definition17.js +6113 -93
- package/shared/definition18.js +242 -164
- package/shared/definition19.js +47 -692
- package/shared/definition2.js +199 -117
- package/shared/definition20.js +59 -1671
- package/shared/definition21.js +95 -255
- package/shared/definition22.js +2218 -1167
- package/shared/definition23.js +61 -5784
- package/shared/definition24.js +28 -117
- package/shared/definition25.js +52 -66
- package/shared/definition26.js +391 -214
- package/shared/definition27.js +441 -34
- package/shared/definition28.js +85 -73
- package/shared/definition29.js +21 -2283
- package/shared/definition3.js +61 -24
- package/shared/definition30.js +13 -49
- package/shared/definition31.js +54 -39
- package/shared/definition32.js +413 -375
- package/shared/definition33.js +223 -304
- package/shared/definition34.js +197 -13
- package/shared/definition35.js +88 -73
- package/shared/definition36.js +75 -25
- package/shared/definition37.js +434 -34
- package/shared/definition38.js +32 -432
- package/shared/definition39.js +677 -187
- package/shared/definition4.js +157 -12
- package/shared/definition40.js +95 -48
- package/shared/definition41.js +577 -31
- package/shared/definition42.js +126 -424
- package/shared/definition43.js +114 -618
- package/shared/definition44.js +24 -80
- package/shared/definition45.js +71 -543
- package/shared/definition46.js +499 -92
- package/shared/definition47.js +19 -133
- package/shared/definition48.js +129 -52
- package/shared/definition49.js +281 -17
- package/shared/definition5.js +71 -36
- package/shared/definition50.js +153 -484
- package/shared/definition51.js +131 -98
- package/shared/definition52.js +131 -16
- package/shared/definition53.js +80 -264
- package/shared/definition54.js +293 -118
- package/shared/definition55.js +12 -117
- package/shared/definition56.js +39 -68
- package/shared/definition57.js +166 -288
- package/shared/definition6.js +56 -111
- package/shared/definition7.js +120 -195
- package/shared/definition8.js +58 -23
- package/shared/definition9.js +92 -66
- package/shared/focus.js +2 -1
- package/shared/focus2.js +1 -1
- package/shared/form-associated.js +2 -2
- package/shared/icon.js +48 -27
- package/shared/index.js +7 -27
- package/shared/index2.js +108 -80
- package/shared/key-codes.js +1 -1
- package/shared/listbox.js +88 -11
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/radio.js +23 -7
- package/shared/repeat.js +1 -1
- package/shared/text-anchor.js +21 -4
- package/shared/text-anchor.template.js +37 -40
- package/shared/text-field.js +2 -2
- package/shared/text-field2.js +15 -15
- package/shared/tree-item.js +12 -12
- package/side-drawer/index.js +1 -1
- package/slider/index.js +2 -2
- package/split-button/index.js +3 -3
- package/style.css +6106 -0
- 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/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-anchor/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 +10 -1
- package/lib/accordion/index.d.ts +0 -1
- package/lib/accordion-item/index.d.ts +0 -1
- package/lib/action-group/index.d.ts +0 -1
- package/lib/alert/index.d.ts +0 -1
- package/lib/avatar/index.d.ts +0 -1
- package/lib/badge/index.d.ts +0 -1
- package/lib/banner/index.d.ts +0 -1
- package/lib/breadcrumb/index.d.ts +0 -1
- package/lib/breadcrumb-item/index.d.ts +0 -1
- package/lib/button/index.d.ts +0 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/index.d.ts +0 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/index.d.ts +0 -1
- package/lib/combobox/index.d.ts +0 -1
- package/lib/data-grid/index.d.ts +0 -1
- package/lib/date-picker/index.d.ts +0 -1
- package/lib/dialog/index.d.ts +0 -1
- package/lib/divider/index.d.ts +0 -1
- package/lib/elevation/index.d.ts +0 -1
- package/lib/empty-state/index.d.ts +0 -1
- package/lib/fab/index.d.ts +0 -1
- package/lib/file-picker/index.d.ts +0 -1
- package/lib/focus/index.d.ts +0 -1
- package/lib/header/index.d.ts +0 -1
- package/lib/icon/index.d.ts +0 -1
- package/lib/layout/index.d.ts +0 -1
- package/lib/listbox/index.d.ts +0 -1
- package/lib/menu/index.d.ts +0 -1
- package/lib/menu-item/index.d.ts +0 -1
- package/lib/nav/index.d.ts +0 -1
- package/lib/nav-disclosure/index.d.ts +0 -1
- package/lib/nav-item/index.d.ts +0 -1
- package/lib/note/index.d.ts +0 -1
- package/lib/number-field/index.d.ts +0 -1
- package/lib/option/index.d.ts +0 -1
- package/lib/pagination/index.d.ts +0 -1
- package/lib/popup/index.d.ts +0 -1
- package/lib/progress/index.d.ts +0 -1
- package/lib/progress-ring/index.d.ts +0 -1
- package/lib/radio/index.d.ts +0 -1
- package/lib/radio-group/index.d.ts +0 -1
- package/lib/select/index.d.ts +0 -1
- package/lib/side-drawer/index.d.ts +0 -1
- package/lib/slider/index.d.ts +0 -1
- package/lib/split-button/index.d.ts +0 -1
- package/lib/switch/index.d.ts +0 -1
- package/lib/tab/index.d.ts +0 -1
- package/lib/tab-panel/index.d.ts +0 -1
- package/lib/tabs/index.d.ts +0 -1
- package/lib/tag/index.d.ts +0 -1
- package/lib/tag-group/index.d.ts +0 -1
- package/lib/text-anchor/index.d.ts +0 -1
- package/lib/text-area/index.d.ts +0 -1
- package/lib/text-field/index.d.ts +0 -1
- package/lib/toggletip/index.d.ts +0 -1
- package/lib/tooltip/index.d.ts +0 -1
- package/lib/tree-item/index.d.ts +0 -1
- package/lib/tree-view/index.d.ts +0 -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/definition17.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
4
|
-
import '../shared/
|
|
5
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition57.js';
|
|
4
|
+
import '../shared/definition10.js';
|
|
5
|
+
import '../shared/definition24.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/definition55.js';
|
|
11
11
|
import '../shared/focus.js';
|
|
12
|
-
import '../shared/
|
|
12
|
+
import '../shared/definition35.js';
|
|
13
13
|
import '../shared/base-progress.js';
|
|
14
14
|
import '../shared/affix.js';
|
|
15
15
|
import '../shared/button.js';
|
|
@@ -20,15 +20,15 @@ import '../shared/aria-global.js';
|
|
|
20
20
|
import '../shared/start-end.js';
|
|
21
21
|
import '../shared/ref.js';
|
|
22
22
|
import '../shared/focus2.js';
|
|
23
|
-
import '../shared/
|
|
24
|
-
import '../shared/
|
|
23
|
+
import '../shared/definition56.js';
|
|
24
|
+
import '../shared/definition50.js';
|
|
25
25
|
import '../shared/index2.js';
|
|
26
26
|
import '../locales/en-US.js';
|
|
27
27
|
import '../shared/text-field2.js';
|
|
28
28
|
import '../shared/text-field.js';
|
|
29
29
|
import '../shared/slotted.js';
|
|
30
30
|
import '../shared/node-observation.js';
|
|
31
|
-
import '../shared/
|
|
31
|
+
import '../shared/definition19.js';
|
|
32
32
|
import '../shared/aria.js';
|
|
33
33
|
import '../shared/repeat.js';
|
|
34
34
|
|
package/dialog/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerDialog } from '../shared/
|
|
1
|
+
import { r as registerDialog } from '../shared/definition18.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition24.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/definition10.js';
|
|
9
|
+
import '../shared/definition55.js';
|
|
10
10
|
import '../shared/focus.js';
|
|
11
|
-
import '../shared/
|
|
11
|
+
import '../shared/definition35.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
13
13
|
import '../shared/affix.js';
|
|
14
14
|
import '../shared/button.js';
|
|
@@ -19,7 +19,7 @@ import '../shared/aria-global.js';
|
|
|
19
19
|
import '../shared/start-end.js';
|
|
20
20
|
import '../shared/ref.js';
|
|
21
21
|
import '../shared/focus2.js';
|
|
22
|
-
import '../shared/
|
|
22
|
+
import '../shared/definition56.js';
|
|
23
23
|
import '../shared/slotted.js';
|
|
24
24
|
import '../shared/node-observation.js';
|
|
25
25
|
|
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/definition20.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition24.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,15 +1,15 @@
|
|
|
1
|
-
import { r as registerFab } from '../shared/
|
|
1
|
+
import { r as registerFab } from '../shared/definition21.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition24.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/definition55.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
10
|
import '../shared/affix.js';
|
|
11
|
-
import '../shared/button.js';
|
|
12
11
|
import '../shared/apply-mixins.js';
|
|
12
|
+
import '../shared/button.js';
|
|
13
13
|
import '../shared/form-associated.js';
|
|
14
14
|
import '../shared/key-codes.js';
|
|
15
15
|
import '../shared/aria-global.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/definition22.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition24.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/definition55.js';
|
|
9
9
|
import '../shared/focus.js';
|
|
10
|
-
import '../shared/
|
|
11
|
-
import '../shared/
|
|
10
|
+
import '../shared/definition10.js';
|
|
11
|
+
import '../shared/definition35.js';
|
|
12
12
|
import '../shared/base-progress.js';
|
|
13
13
|
import '../shared/affix.js';
|
|
14
14
|
import '../shared/button.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/definition23.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition56.js';
|
|
4
4
|
import '../shared/class-names.js';
|
|
5
5
|
|
|
6
6
|
registerHeader();
|
package/icon/index.js
CHANGED
package/index.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { a as accordionDefinition, b as accordionRegistries, r as registerAccordion } from './shared/
|
|
3
|
-
export { a as actionGroupDefinition, b as actionGroupRegistries, r as registerActionGroup } from './shared/
|
|
4
|
-
export { a as alertDefinition, b as alertRegistries, r as registerAlert } from './shared/
|
|
5
|
-
export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/
|
|
6
|
-
export { b as badgeDefinition, r as registerBadge } from './shared/
|
|
7
|
-
export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/
|
|
8
|
-
export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/
|
|
9
|
-
export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/
|
|
10
|
-
export { A as Appearance, e as AriaLive, C as Connotation,
|
|
11
|
-
export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/
|
|
12
|
-
export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/
|
|
13
|
-
export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/
|
|
14
|
-
export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/
|
|
15
|
-
export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/
|
|
16
|
-
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/
|
|
17
|
-
export { d as datePickerDefinition, a as datePickerRegistries, r as registerDatePicker } from './shared/
|
|
18
|
-
export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/
|
|
19
|
-
export {
|
|
20
|
-
export { e as emptyStateDefinition, a as emptyStateRegistries, r as registerEmptyState } from './shared/
|
|
21
|
-
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/
|
|
22
|
-
export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/
|
|
23
|
-
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/
|
|
24
|
-
export {
|
|
25
|
-
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/
|
|
26
|
-
export {
|
|
27
|
-
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/
|
|
28
|
-
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/
|
|
29
|
-
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/
|
|
30
|
-
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/
|
|
31
|
-
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/
|
|
32
|
-
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/
|
|
33
|
-
export {
|
|
34
|
-
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/
|
|
35
|
-
export {
|
|
36
|
-
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/
|
|
40
|
-
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/
|
|
41
|
-
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/
|
|
42
|
-
export { r as registerSplitButton, s as splitButtonDefinition, a as splitButtonRegistries } from './shared/
|
|
43
|
-
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/
|
|
44
|
-
export { r as registerTabPanel,
|
|
45
|
-
export { r as registerTab,
|
|
46
|
-
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/
|
|
47
|
-
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/
|
|
48
|
-
export { r as registerTag, t as tagDefinition } from './shared/
|
|
49
|
-
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/
|
|
50
|
-
export { r as registerTextField,
|
|
51
|
-
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/
|
|
52
|
-
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/
|
|
53
|
-
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/
|
|
54
|
-
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/
|
|
55
|
-
export {
|
|
1
|
+
export { a as accordionItemDefinition, b as accordionItemRegistries, r as registerAccordionItem } from './shared/definition.js';
|
|
2
|
+
export { a as accordionDefinition, b as accordionRegistries, r as registerAccordion } from './shared/definition2.js';
|
|
3
|
+
export { a as actionGroupDefinition, b as actionGroupRegistries, r as registerActionGroup } from './shared/definition3.js';
|
|
4
|
+
export { a as alertDefinition, b as alertRegistries, r as registerAlert } from './shared/definition4.js';
|
|
5
|
+
export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/definition5.js';
|
|
6
|
+
export { b as badgeDefinition, r as registerBadge } from './shared/definition6.js';
|
|
7
|
+
export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/definition7.js';
|
|
8
|
+
export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/definition8.js';
|
|
9
|
+
export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/definition9.js';
|
|
10
|
+
export { A as Appearance, e as AriaLive, C as Connotation, c as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, d as Size, b as buttonDefinition, a as buttonRegistries, r as registerButton } from './shared/definition10.js';
|
|
11
|
+
export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/definition11.js';
|
|
12
|
+
export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/definition12.js';
|
|
13
|
+
export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition13.js';
|
|
14
|
+
export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition14.js';
|
|
15
|
+
export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition15.js';
|
|
16
|
+
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition16.js';
|
|
17
|
+
export { d as datePickerDefinition, a as datePickerRegistries, r as registerDatePicker } from './shared/definition17.js';
|
|
18
|
+
export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition18.js';
|
|
19
|
+
export { d as dividerDefinition, a as dividerRegistries, r as registerDivider } from './shared/definition19.js';
|
|
20
|
+
export { e as emptyStateDefinition, a as emptyStateRegistries, r as registerEmptyState } from './shared/definition20.js';
|
|
21
|
+
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition21.js';
|
|
22
|
+
export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/definition22.js';
|
|
23
|
+
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition23.js';
|
|
24
|
+
export { i as iconDefinition, a as iconRegistries, r as registerIcon } from './shared/definition24.js';
|
|
25
|
+
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition25.js';
|
|
26
|
+
export { m as menuItemDefinition, a as menuItemRegistries, r as registerMenuItem } from './shared/definition26.js';
|
|
27
|
+
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition27.js';
|
|
28
|
+
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition28.js';
|
|
29
|
+
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition29.js';
|
|
30
|
+
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition30.js';
|
|
31
|
+
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition31.js';
|
|
32
|
+
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition32.js';
|
|
33
|
+
export { l as listboxOptionDefinition, a as listboxOptionRegistries, r as registerOption } from './shared/definition33.js';
|
|
34
|
+
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/definition34.js';
|
|
35
|
+
export { p as progressRingDefinition, a as progressRingRegistries, r as registerProgressRing } from './shared/definition35.js';
|
|
36
|
+
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition36.js';
|
|
37
|
+
export { r as radioGroupDefinition, a as radioGroupRegistries, b as registerRadioGroup } from './shared/definition37.js';
|
|
38
|
+
export { r as radioDefinition, a as radioRegistries, b as registerRadio } from './shared/definition38.js';
|
|
39
|
+
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition39.js';
|
|
40
|
+
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition40.js';
|
|
41
|
+
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition41.js';
|
|
42
|
+
export { r as registerSplitButton, s as splitButtonDefinition, a as splitButtonRegistries } from './shared/definition42.js';
|
|
43
|
+
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition43.js';
|
|
44
|
+
export { r as registerTabPanel, t as tabPanelDefinition, a as tabPanelRegistries } from './shared/definition44.js';
|
|
45
|
+
export { r as registerTab, t as tabDefinition, a as tabRegistries } from './shared/definition45.js';
|
|
46
|
+
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition46.js';
|
|
47
|
+
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition47.js';
|
|
48
|
+
export { r as registerTag, t as tagDefinition } from './shared/definition48.js';
|
|
49
|
+
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition49.js';
|
|
50
|
+
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition50.js';
|
|
51
|
+
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition51.js';
|
|
52
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition52.js';
|
|
53
|
+
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition53.js';
|
|
54
|
+
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition54.js';
|
|
55
|
+
export { d as designSystem, r as registerFactory } from './shared/index.js';
|
|
56
56
|
export { s as setLocale } from './shared/index2.js';
|
|
57
|
-
import './shared/
|
|
57
|
+
import './shared/definition55.js';
|
|
58
58
|
import './shared/focus.js';
|
|
59
59
|
import './shared/affix.js';
|
|
60
60
|
import './shared/icon.js';
|
|
61
61
|
import './shared/_has.js';
|
|
62
|
+
import './shared/apply-mixins.js';
|
|
62
63
|
import './shared/start-end.js';
|
|
63
64
|
import './shared/ref.js';
|
|
64
|
-
import './shared/apply-mixins.js';
|
|
65
65
|
import './shared/focus2.js';
|
|
66
66
|
import './shared/when.js';
|
|
67
67
|
import './shared/key-codes.js';
|
|
@@ -69,7 +69,7 @@ import './shared/numbers.js';
|
|
|
69
69
|
import './shared/node-observation.js';
|
|
70
70
|
import './shared/slotted.js';
|
|
71
71
|
import './shared/class-names.js';
|
|
72
|
-
import './shared/
|
|
72
|
+
import './shared/definition56.js';
|
|
73
73
|
import './shared/button.js';
|
|
74
74
|
import './shared/form-associated.js';
|
|
75
75
|
import './shared/aria-global.js';
|
|
@@ -78,7 +78,7 @@ import './shared/anchor.js';
|
|
|
78
78
|
import './shared/text-anchor.template.js';
|
|
79
79
|
import './shared/calendar-event.js';
|
|
80
80
|
import './shared/repeat.js';
|
|
81
|
-
import './shared/
|
|
81
|
+
import './shared/definition57.js';
|
|
82
82
|
import './shared/text-field.js';
|
|
83
83
|
import './shared/listbox.js';
|
|
84
84
|
import './shared/strings.js';
|
package/layout/index.js
CHANGED
package/lib/avatar/avatar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
3
|
export type AvatarConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
4
|
-
export type AvatarAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Duotone>;
|
|
4
|
+
export type AvatarAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Duotone | Appearance.Subtle>;
|
|
5
5
|
export type AvatarShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
6
6
|
export type AvatarSize = Extract<Size, Size.Condensed | Size.Normal | Size.Expanded>;
|
|
7
7
|
export declare class Avatar extends FoundationElement {
|
|
@@ -5,7 +5,7 @@ export declare class Calendar extends FoundationElement {
|
|
|
5
5
|
startDay?: 'sunday' | 'monday';
|
|
6
6
|
locales?: string | string[] | undefined;
|
|
7
7
|
hour12: boolean;
|
|
8
|
-
getEventContext: (this: Calendar, e:
|
|
8
|
+
getEventContext: (this: Calendar, e: MouseEvent | KeyboardEvent) => import("./helpers/calendar.event-context").CalendarEventContext | null;
|
|
9
9
|
private getCalendarEventContainingCell;
|
|
10
10
|
private arrowKeysInteractions;
|
|
11
11
|
private activateElement;
|
|
@@ -3,4 +3,5 @@ export declare const formatDateStr: (date: Date) => DateStr;
|
|
|
3
3
|
export declare const currentDateStr: (now?: Date) => DateStr;
|
|
4
4
|
export declare const parseDateStr: (dateStr: DateStr) => Date;
|
|
5
5
|
export declare const addDays: (dateStr: DateStr, days: number) => DateStr;
|
|
6
|
+
export declare const compareDateStr: (a: DateStr, b: DateStr) => number;
|
|
6
7
|
export declare const isValidDateStr: (string: string) => boolean;
|
|
@@ -7,5 +7,6 @@ export type Month = {
|
|
|
7
7
|
export declare const getCurrentMonth: (now?: Date) => Month;
|
|
8
8
|
export declare const monthOfDate: (dateStr: DateStr) => Month;
|
|
9
9
|
export declare const addMonths: ({ month, year }: Month, months: number) => Month;
|
|
10
|
+
export declare const compareMonths: (a: Month, b: Month) => number;
|
|
10
11
|
export declare const areMonthsEqual: (a: Month, b: Month) => boolean;
|
|
11
12
|
export declare const monthToStr: ({ month, year }: Month) => string;
|
package/lib/icon/icon.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Connotation } from '../enums';
|
|
3
|
-
export declare const ICON_SET_VERSION = "4.2.3";
|
|
4
3
|
export type IconConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Announcement | Connotation.Success | Connotation.Alert | Connotation.Information>;
|
|
5
4
|
export declare class Icon extends FoundationElement {
|
|
6
5
|
connotation?: IconConnotation;
|
package/lib/listbox/listbox.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { ListboxElement as FoundationListboxElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance } from '../enums';
|
|
2
|
+
import type { Appearance, Shape } from '../enums';
|
|
3
3
|
export type LisboxAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
4
|
+
type ListboxShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
4
5
|
export declare class Listbox extends FoundationListboxElement {
|
|
6
|
+
#private;
|
|
5
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;
|
|
6
13
|
}
|
|
14
|
+
export {};
|
|
@@ -3,5 +3,5 @@ import type { Connotation } from '../enums';
|
|
|
3
3
|
export type ProgressRingConnotation = Connotation.Accent | Connotation.Success | Connotation.Alert | Connotation.CTA;
|
|
4
4
|
export declare class ProgressRing extends BaseProgress {
|
|
5
5
|
connotation?: ProgressRingConnotation;
|
|
6
|
-
size?: -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
6
|
+
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
7
7
|
}
|
|
@@ -8,6 +8,7 @@ export declare class TextField extends FoundationTextfield {
|
|
|
8
8
|
appearance?: TextFieldAppearance;
|
|
9
9
|
shape?: TextFieldShape;
|
|
10
10
|
autoComplete?: string;
|
|
11
|
+
leadingActionItemsSlottedContent?: HTMLElement[];
|
|
11
12
|
}
|
|
12
13
|
export interface TextField extends AffixIcon, ErrorText, FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText {
|
|
13
14
|
}
|
package/listbox/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h as html, r as registerFactory } from '../shared/index.js';
|
|
2
|
-
import { f as focusRegistries } from '../shared/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { f as focusRegistries } from '../shared/definition55.js';
|
|
3
|
+
import { a as listboxOptionRegistries } from '../shared/definition33.js';
|
|
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';
|
|
7
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/definition24.js';
|
|
12
12
|
import '../shared/icon.js';
|
|
13
13
|
import '../shared/_has.js';
|
|
14
14
|
import '../shared/when.js';
|
|
@@ -23,23 +23,27 @@ import '../shared/numbers.js';
|
|
|
23
23
|
import '../locales/en-US.js';
|
|
24
24
|
import '../shared/node-observation.js';
|
|
25
25
|
|
|
26
|
-
const getClasses = ({
|
|
27
|
-
|
|
28
|
-
disabled
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
const getClasses = ({ appearance, shape, disabled, orientation }) => classNames(
|
|
27
|
+
"base",
|
|
28
|
+
["disabled", disabled],
|
|
29
|
+
[`appearance-${appearance}`, Boolean(appearance)],
|
|
30
|
+
[`shape-${shape}`, Boolean(shape) && orientation === "horizontal"],
|
|
31
|
+
[`orientation-${orientation}`, Boolean(orientation)]
|
|
32
|
+
);
|
|
33
|
+
const ListboxTemplate = (context) => {
|
|
31
34
|
const focusTemplate = focusTemplateFactory(context);
|
|
32
35
|
return html`
|
|
33
36
|
<template
|
|
34
|
-
aria-activedescendant="${x => x.ariaActiveDescendant}"
|
|
35
|
-
aria-multiselectable="${x => x.ariaMultiSelectable}"
|
|
37
|
+
aria-activedescendant="${(x) => x.ariaActiveDescendant}"
|
|
38
|
+
aria-multiselectable="${(x) => x.ariaMultiSelectable}"
|
|
39
|
+
aria-orientation="${(x) => x.ariaOrientation}"
|
|
36
40
|
aria-label="listbox"
|
|
37
41
|
role="listbox"
|
|
38
42
|
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
39
43
|
@focusin="${(x, c) => x.focusinHandler(c.event)}"
|
|
40
44
|
@keydown="${(x, c) => x.keydownHandler(c.event)}"
|
|
41
45
|
@mousedown="${(x, c) => x.mousedownHandler(c.event)}"
|
|
42
|
-
tabindex="${x => !x.disabled ?
|
|
46
|
+
tabindex="${(x) => !x.disabled ? "0" : null}"
|
|
43
47
|
>
|
|
44
48
|
<div
|
|
45
49
|
class="${getClasses}"
|
|
@@ -50,7 +54,7 @@ const ListboxTemplate = context => {
|
|
|
50
54
|
${slotted({
|
|
51
55
|
filter: ListboxElement.slottedOptionFilter,
|
|
52
56
|
flatten: true,
|
|
53
|
-
property:
|
|
57
|
+
property: "slottedOptions"
|
|
54
58
|
})}
|
|
55
59
|
></slot>
|
|
56
60
|
</div>
|
|
@@ -58,12 +62,12 @@ const ListboxTemplate = context => {
|
|
|
58
62
|
`;
|
|
59
63
|
};
|
|
60
64
|
|
|
61
|
-
|
|
65
|
+
const styles = "/**\n * Do not edit directly\n * Generated on Wed, 06 Sep 2023 09:40:36 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.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 cursor: not-allowed;\n pointer-events: none;\n}";
|
|
62
66
|
|
|
63
67
|
const listboxDefinition = Listbox.compose({
|
|
64
|
-
baseName:
|
|
68
|
+
baseName: "listbox",
|
|
65
69
|
template: ListboxTemplate,
|
|
66
|
-
styles
|
|
70
|
+
styles
|
|
67
71
|
});
|
|
68
72
|
const listboxRegistries = [listboxDefinition(), ...listboxOptionRegistries, ...focusRegistries];
|
|
69
73
|
const registerListbox = registerFactory(listboxRegistries);
|
package/locales/en-GB.js
CHANGED
|
@@ -1,24 +1,58 @@
|
|
|
1
1
|
const enGB = {
|
|
2
2
|
datePicker: {
|
|
3
3
|
months: {
|
|
4
|
-
name: [
|
|
5
|
-
|
|
4
|
+
name: [
|
|
5
|
+
"January",
|
|
6
|
+
"February",
|
|
7
|
+
"March",
|
|
8
|
+
"April",
|
|
9
|
+
"May",
|
|
10
|
+
"June",
|
|
11
|
+
"July",
|
|
12
|
+
"August",
|
|
13
|
+
"September",
|
|
14
|
+
"Oktober",
|
|
15
|
+
"November",
|
|
16
|
+
"December"
|
|
17
|
+
],
|
|
18
|
+
shorthand: [
|
|
19
|
+
"Jan",
|
|
20
|
+
"Feb",
|
|
21
|
+
"Mar",
|
|
22
|
+
"Apr",
|
|
23
|
+
"May",
|
|
24
|
+
"Jun",
|
|
25
|
+
"Jul",
|
|
26
|
+
"Aug",
|
|
27
|
+
"Sep",
|
|
28
|
+
"Okt",
|
|
29
|
+
"Nov",
|
|
30
|
+
"Dec"
|
|
31
|
+
]
|
|
6
32
|
},
|
|
7
33
|
weekdays: {
|
|
8
|
-
name: [
|
|
9
|
-
|
|
34
|
+
name: [
|
|
35
|
+
"Sunday",
|
|
36
|
+
"Monday",
|
|
37
|
+
"Tuesday",
|
|
38
|
+
"Wednesday",
|
|
39
|
+
"Thursday",
|
|
40
|
+
"Friday",
|
|
41
|
+
"Saturday"
|
|
42
|
+
],
|
|
43
|
+
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
|
|
10
44
|
},
|
|
11
45
|
firstDayOfWeek: 1,
|
|
12
|
-
dateFormat:
|
|
13
|
-
dateFormatPlaceholder:
|
|
14
|
-
chooseDateLabel:
|
|
15
|
-
prevYearLabel:
|
|
16
|
-
prevMonthLabel:
|
|
17
|
-
nextMonthLabel:
|
|
18
|
-
nextYearLabel:
|
|
19
|
-
clearLabel:
|
|
20
|
-
okLabel:
|
|
21
|
-
invalidDateError:
|
|
46
|
+
dateFormat: "dd/MM/yyyy",
|
|
47
|
+
dateFormatPlaceholder: "DD/MM/YYYY",
|
|
48
|
+
chooseDateLabel: "Choose date",
|
|
49
|
+
prevYearLabel: "Previous year",
|
|
50
|
+
prevMonthLabel: "Previous month",
|
|
51
|
+
nextMonthLabel: "Next month",
|
|
52
|
+
nextYearLabel: "Next year",
|
|
53
|
+
clearLabel: "Clear",
|
|
54
|
+
okLabel: "OK",
|
|
55
|
+
invalidDateError: "Please enter a valid date."
|
|
22
56
|
}
|
|
23
57
|
};
|
|
24
58
|
|