@vonage/vivid 3.9.0 → 3.11.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 +1 -0
- package/alert/index.js +28 -0
- package/avatar/index.js +1 -1
- package/badge/index.js +1 -1
- package/banner/index.js +3 -3
- package/breadcrumb/index.js +2 -1
- package/breadcrumb-item/index.js +1 -1
- package/button/index.js +2 -2
- package/calendar/index.js +1 -1
- package/calendar-event/index.js +1 -1
- package/card/index.js +3 -2
- package/checkbox/index.js +1 -1
- package/combobox/index.js +7 -6
- package/custom-elements.json +589 -377
- package/data-grid/index.js +3 -2
- package/dialog/index.js +5 -4
- package/divider/index.js +1 -1
- package/elevation/index.js +1 -1
- package/fab/index.js +1 -1
- package/header/index.js +2 -2
- package/index.js +54 -52
- package/layout/index.js +1 -1
- package/lib/alert/alert.d.ts +24 -0
- package/lib/alert/alert.template.d.ts +4 -0
- package/lib/alert/definition.d.ts +2 -0
- package/lib/alert/index.d.ts +1 -0
- package/lib/components.d.ts +1 -0
- package/lib/enums.d.ts +10 -9
- package/lib/layout/layout.d.ts +2 -0
- package/lib/pagination/definition.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/pagination.d.ts +18 -0
- package/lib/pagination/pagination.template.d.ts +4 -0
- package/lib/popup/popup.d.ts +2 -2
- package/lib/text-area/text-area.d.ts +2 -1
- package/lib/tooltip/tooltip.d.ts +10 -4
- package/listbox/index.js +3 -2
- package/menu/index.js +7 -6
- package/menu-item/index.js +1 -1
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +1 -1
- package/nav-item/index.js +1 -1
- package/note/index.js +1 -1
- package/number-field/index.js +4 -4
- package/option/index.js +1 -1
- package/package.json +1 -1
- package/pagination/index.js +329 -0
- package/popup/index.js +4 -4
- package/progress/index.js +1 -1
- package/progress-ring/index.js +1 -1
- package/radio/index.js +1 -1
- package/radio-group/index.js +3 -2
- package/select/index.js +7 -6
- package/shared/children.js +1 -1
- package/shared/definition.js +3 -2
- package/shared/definition10.js +46 -63
- package/shared/definition11.js +38 -92
- package/shared/definition12.js +96 -31
- package/shared/definition13.js +85 -757
- package/shared/definition14.js +32 -95
- package/shared/definition15.js +758 -100
- package/shared/definition16.js +103 -24
- package/shared/definition17.js +96 -154
- package/shared/definition18.js +108 -663
- package/shared/definition19.js +667 -1532
- package/shared/definition2.js +1 -1
- package/shared/definition20.js +1532 -223
- package/shared/definition21.js +183 -964
- package/shared/definition22.js +1034 -218
- package/shared/definition23.js +226 -67
- package/shared/definition24.js +68 -77
- package/shared/definition25.js +76 -47
- package/shared/definition26.js +46 -32
- package/shared/definition27.js +39 -49
- package/shared/definition28.js +48 -344
- package/shared/definition29.js +273 -282
- package/shared/definition30.js +356 -14
- package/shared/definition31.js +13 -67
- package/shared/definition32.js +65 -21
- package/shared/definition33.js +21 -39
- package/shared/definition34.js +31 -432
- package/shared/definition35.js +432 -76
- package/shared/definition36.js +82 -33
- package/shared/definition37.js +31 -422
- package/shared/definition38.js +358 -564
- package/shared/definition39.js +628 -75
- package/shared/definition4.js +1 -1
- package/shared/definition40.js +70 -573
- package/shared/definition41.js +538 -81
- package/shared/definition42.js +127 -47
- package/shared/definition43.js +51 -16
- package/shared/definition44.js +17 -425
- package/shared/definition45.js +421 -103
- package/shared/definition46.js +114 -19
- package/shared/definition47.js +19 -269
- package/shared/definition48.js +244 -86
- package/shared/definition49.js +110 -70
- package/shared/definition5.js +1 -1
- package/shared/definition50.js +88 -67
- package/shared/definition51.js +69 -294
- package/shared/definition52.js +305 -0
- package/shared/definition6.js +142 -45
- package/shared/definition7.js +97 -24
- package/shared/definition8.js +22 -103
- package/shared/definition9.js +62 -102
- package/shared/enums.js +10 -9
- package/shared/es.object.assign.js +1 -1
- package/shared/form-associated.js +1 -1
- package/shared/form-elements.js +2 -2
- package/shared/index.js +1 -1
- package/shared/listbox.js +2 -2
- package/shared/node-observation.js +74 -0
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/repeat.js +1 -1
- package/shared/slotted.js +3 -73
- package/shared/text-field.js +1 -1
- package/shared/text-field2.js +1 -1
- package/side-drawer/index.js +1 -1
- package/slider/index.js +1 -1
- 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/switch/index.js +1 -1
- package/tab/index.js +1 -1
- package/tab-panel/index.js +1 -1
- package/tabs/index.js +4 -3
- package/tag/index.js +1 -1
- package/tag-group/index.js +1 -1
- package/text-area/index.js +1 -1
- package/text-field/index.js +1 -1
- package/tooltip/index.js +5 -5
- package/tree-item/index.js +2 -1
- package/tree-view/index.js +2 -1
- package/vivid.api.json +128 -16
package/data-grid/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { r as registerDataGrid } from '../shared/
|
|
1
|
+
import { r as registerDataGrid } from '../shared/definition22.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/key-codes.js';
|
|
4
4
|
import '../shared/repeat.js';
|
|
5
|
-
import '../shared/
|
|
5
|
+
import '../shared/node-observation.js';
|
|
6
6
|
import '../shared/children.js';
|
|
7
|
+
import '../shared/slotted.js';
|
|
7
8
|
import '../shared/focus2.js';
|
|
8
9
|
import '../shared/focus.js';
|
|
9
10
|
|
package/dialog/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerDialog } from '../shared/
|
|
1
|
+
import { r as registerDialog } from '../shared/definition23.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
@@ -7,10 +7,10 @@ import '../shared/string-trim.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/definition7.js';
|
|
11
11
|
import '../shared/definition4.js';
|
|
12
12
|
import '../shared/focus.js';
|
|
13
|
-
import '../shared/
|
|
13
|
+
import '../shared/definition9.js';
|
|
14
14
|
import '../shared/base-progress.js';
|
|
15
15
|
import '../shared/affix.js';
|
|
16
16
|
import '../shared/button.js';
|
|
@@ -21,7 +21,8 @@ import '../shared/aria-global.js';
|
|
|
21
21
|
import '../shared/start-end.js';
|
|
22
22
|
import '../shared/ref.js';
|
|
23
23
|
import '../shared/focus2.js';
|
|
24
|
-
import '../shared/
|
|
24
|
+
import '../shared/definition8.js';
|
|
25
25
|
import '../shared/slotted.js';
|
|
26
|
+
import '../shared/node-observation.js';
|
|
26
27
|
|
|
27
28
|
registerDialog();
|
package/divider/index.js
CHANGED
package/elevation/index.js
CHANGED
package/fab/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/definition26.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition8.js';
|
|
4
4
|
import '../shared/class-names.js';
|
|
5
5
|
|
|
6
6
|
registerHeader();
|
package/index.js
CHANGED
|
@@ -1,57 +1,59 @@
|
|
|
1
1
|
export { a as accordionDefinition, b as accordionRegistries, r as registerAccordion } from './shared/definition.js';
|
|
2
2
|
export { b as accordionItemDefinition, a as accordionItemRegistries, r as registerAccordionItem } from './shared/definition2.js';
|
|
3
3
|
export { a as actionGroupDefinition, b as actionGroupRegistries, r as registerActionGroup } from './shared/definition5.js';
|
|
4
|
-
export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/
|
|
5
|
-
export { b as badgeDefinition, r as registerBadge } from './shared/
|
|
6
|
-
export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/
|
|
7
|
-
export {
|
|
8
|
-
export { b as
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { c as
|
|
12
|
-
export { c as
|
|
13
|
-
export { c as
|
|
14
|
-
export { c as
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
4
|
+
export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/definition10.js';
|
|
5
|
+
export { b as badgeDefinition, r as registerBadge } from './shared/definition11.js';
|
|
6
|
+
export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/definition12.js';
|
|
7
|
+
export { a as alertDefinition, b as alertRegistries, r as registerAlert } from './shared/definition6.js';
|
|
8
|
+
export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/definition13.js';
|
|
9
|
+
export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/definition14.js';
|
|
10
|
+
export { a as buttonDefinition, b as buttonRegistries, r as registerButton } from './shared/definition7.js';
|
|
11
|
+
export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/definition15.js';
|
|
12
|
+
export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/definition16.js';
|
|
13
|
+
export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition17.js';
|
|
14
|
+
export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition18.js';
|
|
15
|
+
export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition19.js';
|
|
16
|
+
export { a as elevationDefinition, e as elevationRegistries, r as registerElevation } from './shared/definition8.js';
|
|
17
|
+
export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition23.js';
|
|
18
|
+
export { a as dividerDefinition, d as dividerRegistries, r as registerDivider } from './shared/definition24.js';
|
|
19
|
+
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition22.js';
|
|
20
|
+
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition25.js';
|
|
21
|
+
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition26.js';
|
|
21
22
|
export { a as iconDefinition, i as iconRegistries, r as registerIcon } from './shared/definition3.js';
|
|
22
|
-
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/
|
|
23
|
-
export { l as listboxDefinition, a as listboxRegistries, r as registerListbox } from './shared/
|
|
24
|
-
export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/
|
|
25
|
-
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/
|
|
26
|
-
export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/
|
|
27
|
-
export { n as navDefinition, a as navRegistries, r as registerNav } 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 noteDefinition, a as noteRegistries, r as registerNote } from './shared/
|
|
31
|
-
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/
|
|
32
|
-
export { a as popupDefinition, p as popupRegistries, r as registerPopup } from './shared/
|
|
33
|
-
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/
|
|
34
|
-
export { a as progressRingDefinition, p as progressRingRegistries, r as registerProgressRing } from './shared/
|
|
35
|
-
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/
|
|
36
|
-
export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/
|
|
37
|
-
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/
|
|
38
|
-
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/
|
|
39
|
-
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/
|
|
40
|
-
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/
|
|
41
|
-
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/
|
|
42
|
-
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/
|
|
43
|
-
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/
|
|
44
|
-
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/
|
|
45
|
-
export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/
|
|
46
|
-
export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/
|
|
47
|
-
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/
|
|
48
|
-
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/
|
|
49
|
-
export { r as registerTag, t as tagDefinition } from './shared/
|
|
50
|
-
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/
|
|
51
|
-
export { A as Appearance, c as AriaLive, C as Connotation,
|
|
52
|
-
export {
|
|
23
|
+
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition27.js';
|
|
24
|
+
export { l as listboxDefinition, a as listboxRegistries, r as registerListbox } from './shared/definition28.js';
|
|
25
|
+
export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/definition21.js';
|
|
26
|
+
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition29.js';
|
|
27
|
+
export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/definition30.js';
|
|
28
|
+
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition31.js';
|
|
29
|
+
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition32.js';
|
|
30
|
+
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition33.js';
|
|
31
|
+
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition34.js';
|
|
32
|
+
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition35.js';
|
|
33
|
+
export { a as popupDefinition, p as popupRegistries, r as registerPopup } from './shared/definition20.js';
|
|
34
|
+
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition36.js';
|
|
35
|
+
export { a as progressRingDefinition, p as progressRingRegistries, r as registerProgressRing } from './shared/definition9.js';
|
|
36
|
+
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/definition37.js';
|
|
37
|
+
export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/definition38.js';
|
|
38
|
+
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition39.js';
|
|
39
|
+
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition40.js';
|
|
40
|
+
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition41.js';
|
|
41
|
+
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition42.js';
|
|
42
|
+
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition49.js';
|
|
43
|
+
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition48.js';
|
|
44
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition50.js';
|
|
45
|
+
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition45.js';
|
|
46
|
+
export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/definition43.js';
|
|
47
|
+
export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/definition44.js';
|
|
48
|
+
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition52.js';
|
|
49
|
+
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition51.js';
|
|
50
|
+
export { r as registerTag, t as tagDefinition } from './shared/definition46.js';
|
|
51
|
+
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition47.js';
|
|
52
|
+
export { A as Appearance, c as AriaLive, C as Connotation, b as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, a as Size } from './shared/enums.js';
|
|
53
|
+
export { a9 as designSystem, r as registerFactory } from './shared/index.js';
|
|
53
54
|
import './shared/key-codes.js';
|
|
54
55
|
import './shared/numbers.js';
|
|
56
|
+
import './shared/node-observation.js';
|
|
55
57
|
import './shared/slotted.js';
|
|
56
58
|
import './shared/class-names.js';
|
|
57
59
|
import './shared/definition4.js';
|
|
@@ -66,17 +68,17 @@ import './shared/ref.js';
|
|
|
66
68
|
import './shared/apply-mixins.js';
|
|
67
69
|
import './shared/focus2.js';
|
|
68
70
|
import './shared/when.js';
|
|
71
|
+
import './shared/form-elements.js';
|
|
72
|
+
import './shared/button.js';
|
|
73
|
+
import './shared/form-associated.js';
|
|
74
|
+
import './shared/aria-global.js';
|
|
69
75
|
import './shared/breadcrumb-item.js';
|
|
70
76
|
import './shared/anchor.js';
|
|
71
|
-
import './shared/aria-global.js';
|
|
72
77
|
import './shared/text-anchor.template.js';
|
|
73
|
-
import './shared/button.js';
|
|
74
|
-
import './shared/form-associated.js';
|
|
75
78
|
import './shared/calendar-event.js';
|
|
76
79
|
import './shared/es.object.assign.js';
|
|
77
80
|
import './shared/repeat.js';
|
|
78
81
|
import './shared/text-field.js';
|
|
79
|
-
import './shared/form-elements.js';
|
|
80
82
|
import './shared/listbox.js';
|
|
81
83
|
import './shared/strings.js';
|
|
82
84
|
import './shared/select.options.js';
|
package/layout/index.js
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { Connotation } from '../enums';
|
|
3
|
+
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
+
export declare type AlertConnotation = Connotation.Accent | Connotation.Information | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
|
+
export declare type AlertPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
6
|
+
export declare class Alert extends FoundationElement {
|
|
7
|
+
#private;
|
|
8
|
+
private timeout;
|
|
9
|
+
removable: boolean;
|
|
10
|
+
placement?: AlertPlacement;
|
|
11
|
+
headline?: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
open: boolean;
|
|
15
|
+
timeoutms: number;
|
|
16
|
+
connotation?: AlertConnotation;
|
|
17
|
+
get conditionedIcon(): string;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
21
|
+
remove: () => void;
|
|
22
|
+
}
|
|
23
|
+
export interface Alert extends AffixIcon {
|
|
24
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Alert } from './alert';
|
|
4
|
+
export declare const AlertTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Alert>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/components.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './action-group/definition';
|
|
|
4
4
|
export * from './avatar/definition';
|
|
5
5
|
export * from './badge/definition';
|
|
6
6
|
export * from './banner/definition';
|
|
7
|
+
export * from './alert/definition';
|
|
7
8
|
export * from './breadcrumb/definition';
|
|
8
9
|
export * from './breadcrumb-item/definition';
|
|
9
10
|
export * from './button/definition';
|
package/lib/enums.d.ts
CHANGED
|
@@ -22,20 +22,21 @@ export declare enum Appearance {
|
|
|
22
22
|
Duotone = "duotone",
|
|
23
23
|
Fieldset = "fieldset",
|
|
24
24
|
Subtle = "subtle",
|
|
25
|
-
Ghost = "ghost"
|
|
25
|
+
Ghost = "ghost",
|
|
26
|
+
Listitem = "listitem"
|
|
26
27
|
}
|
|
27
28
|
export declare enum Size {
|
|
28
|
-
UltraCondensed = "
|
|
29
|
-
SuperCondensed = "
|
|
30
|
-
ExtraCondensed = "
|
|
31
|
-
SemiCondensed = "
|
|
29
|
+
UltraCondensed = "ultra-condensed",
|
|
30
|
+
SuperCondensed = "super-condensed",
|
|
31
|
+
ExtraCondensed = "extra-condensed",
|
|
32
|
+
SemiCondensed = "semi-condensed",
|
|
32
33
|
Condensed = "condensed",
|
|
33
34
|
Normal = "normal",
|
|
34
|
-
SemiExpanded = "
|
|
35
|
+
SemiExpanded = "semi-expanded",
|
|
35
36
|
Expanded = "expanded",
|
|
36
|
-
ExtraExpanded = "
|
|
37
|
-
SuperExpanded = "
|
|
38
|
-
UltraExpanded = "
|
|
37
|
+
ExtraExpanded = "extra-expanded",
|
|
38
|
+
SuperExpanded = "super-expanded",
|
|
39
|
+
UltraExpanded = "ultra-expanded"
|
|
39
40
|
}
|
|
40
41
|
export declare enum LayoutSize {
|
|
41
42
|
Small = "small",
|
package/lib/layout/layout.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ export declare enum AUTO_SIZING {
|
|
|
6
6
|
}
|
|
7
7
|
export declare type Gutters = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
8
8
|
export declare type ColumnSpacing = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
9
|
+
export declare type RowSpacing = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
9
10
|
export declare type ColumnBasis = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large> | 'block';
|
|
10
11
|
export declare class Layout extends FoundationElement {
|
|
11
12
|
gutters?: Gutters;
|
|
12
13
|
columnBasis?: ColumnBasis;
|
|
13
14
|
columnSpacing?: ColumnSpacing;
|
|
15
|
+
rowSpacing?: RowSpacing;
|
|
14
16
|
autoSizing?: AUTO_SIZING;
|
|
15
17
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const paginationDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerPagination: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Size } from '../enums';
|
|
3
|
+
import type { Button } from '../button/button';
|
|
4
|
+
export declare type PaginationSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal>;
|
|
5
|
+
export declare class Pagination extends FoundationElement {
|
|
6
|
+
size?: PaginationSize;
|
|
7
|
+
paginationButtons?: Button[];
|
|
8
|
+
prevButton?: Button;
|
|
9
|
+
nextButton?: Button;
|
|
10
|
+
navIcons: boolean;
|
|
11
|
+
get pagesList(): (number | "...")[];
|
|
12
|
+
total: number;
|
|
13
|
+
selectedIndex: number | undefined;
|
|
14
|
+
constructor();
|
|
15
|
+
totalChanged(_: number, newValue: number): void;
|
|
16
|
+
selectedIndexChanged(oldValue: number, newValue: number): void;
|
|
17
|
+
paginationButtonsChanged(_: Button[] | undefined, newValue: Button[]): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Pagination } from './pagination';
|
|
4
|
+
export declare const PaginationTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Pagination>;
|
package/lib/popup/popup.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { FoundationElement } from '@microsoft/fast-foundation';
|
|
|
2
2
|
import type { Placement, Strategy } from '@floating-ui/dom';
|
|
3
3
|
export declare class Popup extends FoundationElement {
|
|
4
4
|
#private;
|
|
5
|
-
protected anchorEl: Element | null | undefined;
|
|
6
5
|
popupEl: HTMLElement;
|
|
7
6
|
arrowEl: HTMLElement;
|
|
8
7
|
open: boolean;
|
|
@@ -12,10 +11,11 @@ export declare class Popup extends FoundationElement {
|
|
|
12
11
|
alternate: boolean;
|
|
13
12
|
placement?: Placement;
|
|
14
13
|
strategy?: Strategy;
|
|
15
|
-
anchor
|
|
14
|
+
anchor?: string | HTMLElement;
|
|
16
15
|
disconnectedCallback(): void;
|
|
17
16
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
18
17
|
updatePosition(): Promise<void>;
|
|
18
|
+
get anchorEl(): HTMLElement | null;
|
|
19
19
|
show(): void;
|
|
20
20
|
hide(): void;
|
|
21
21
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { TextArea as FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
3
|
+
import { ErrorText } from '../../shared/patterns';
|
|
3
4
|
export declare type TextAreaWrap = 'hard' | 'soft' | 'off';
|
|
4
5
|
export declare class TextArea extends FoundationElement {
|
|
5
6
|
wrap?: TextAreaWrap;
|
|
6
7
|
}
|
|
7
|
-
export interface TextArea extends FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText {
|
|
8
|
+
export interface TextArea extends FormElement, ErrorText, FormElementCharCount, FormElementHelperText, FormElementSuccessText {
|
|
8
9
|
}
|
package/lib/tooltip/tooltip.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Placement } from '@floating-ui/dom';
|
|
3
|
+
declare type anchorType = string | HTMLElement;
|
|
4
|
+
export declare class Tooltip extends FoundationElement {
|
|
3
5
|
#private;
|
|
4
6
|
text?: string;
|
|
5
|
-
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
open: boolean;
|
|
9
|
+
anchor?: anchorType;
|
|
10
|
+
anchorChanged(_: anchorType, newValue: anchorType): void;
|
|
6
11
|
disconnectedCallback(): void;
|
|
7
|
-
|
|
12
|
+
openChanged(_: boolean, newValue: boolean): void;
|
|
8
13
|
}
|
|
14
|
+
export {};
|
package/listbox/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerListbox } from '../shared/
|
|
1
|
+
import { r as registerListbox } from '../shared/definition28.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition4.js';
|
|
4
4
|
import '../shared/focus.js';
|
|
5
|
-
import '../shared/
|
|
5
|
+
import '../shared/definition21.js';
|
|
6
6
|
import '../shared/definition3.js';
|
|
7
7
|
import '../shared/icon.js';
|
|
8
8
|
import '../shared/to-string.js';
|
|
@@ -23,5 +23,6 @@ import '../shared/key-codes.js';
|
|
|
23
23
|
import '../shared/strings.js';
|
|
24
24
|
import '../shared/numbers.js';
|
|
25
25
|
import '../shared/slotted.js';
|
|
26
|
+
import '../shared/node-observation.js';
|
|
26
27
|
|
|
27
28
|
registerListbox();
|
package/menu/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerMenu } from '../shared/
|
|
1
|
+
import { r as registerMenu } from '../shared/definition29.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
4
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition20.js';
|
|
4
|
+
import '../shared/definition7.js';
|
|
5
5
|
import '../shared/definition3.js';
|
|
6
6
|
import '../shared/icon.js';
|
|
7
7
|
import '../shared/to-string.js';
|
|
@@ -11,7 +11,7 @@ import '../shared/class-names.js';
|
|
|
11
11
|
import '../shared/when.js';
|
|
12
12
|
import '../shared/definition4.js';
|
|
13
13
|
import '../shared/focus.js';
|
|
14
|
-
import '../shared/
|
|
14
|
+
import '../shared/definition9.js';
|
|
15
15
|
import '../shared/base-progress.js';
|
|
16
16
|
import '../shared/affix.js';
|
|
17
17
|
import '../shared/button.js';
|
|
@@ -22,11 +22,12 @@ import '../shared/aria-global.js';
|
|
|
22
22
|
import '../shared/start-end.js';
|
|
23
23
|
import '../shared/ref.js';
|
|
24
24
|
import '../shared/focus2.js';
|
|
25
|
-
import '../shared/
|
|
25
|
+
import '../shared/definition8.js';
|
|
26
26
|
import '../shared/es.object.assign.js';
|
|
27
|
-
import '../shared/
|
|
27
|
+
import '../shared/definition30.js';
|
|
28
28
|
import '../shared/direction.js';
|
|
29
29
|
import '../shared/dom.js';
|
|
30
30
|
import '../shared/slotted.js';
|
|
31
|
+
import '../shared/node-observation.js';
|
|
31
32
|
|
|
32
33
|
registerMenu();
|
package/menu-item/index.js
CHANGED
package/nav/index.js
CHANGED
package/nav-disclosure/index.js
CHANGED
package/nav-item/index.js
CHANGED
package/note/index.js
CHANGED
package/number-field/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerNumberField } from '../shared/
|
|
1
|
+
import { r as registerNumberField } from '../shared/definition35.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition7.js';
|
|
4
4
|
import '../shared/definition3.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
6
|
import '../shared/to-string.js';
|
|
@@ -10,7 +10,7 @@ import '../shared/class-names.js';
|
|
|
10
10
|
import '../shared/when.js';
|
|
11
11
|
import '../shared/definition4.js';
|
|
12
12
|
import '../shared/focus.js';
|
|
13
|
-
import '../shared/
|
|
13
|
+
import '../shared/definition9.js';
|
|
14
14
|
import '../shared/base-progress.js';
|
|
15
15
|
import '../shared/affix.js';
|
|
16
16
|
import '../shared/button.js';
|
|
@@ -21,7 +21,7 @@ import '../shared/aria-global.js';
|
|
|
21
21
|
import '../shared/start-end.js';
|
|
22
22
|
import '../shared/ref.js';
|
|
23
23
|
import '../shared/focus2.js';
|
|
24
|
-
import '../shared/
|
|
24
|
+
import '../shared/definition24.js';
|
|
25
25
|
import '../shared/aria.js';
|
|
26
26
|
import '../shared/form-elements.js';
|
|
27
27
|
import '../shared/text-field2.js';
|
package/option/index.js
CHANGED