@vonage/vivid 3.26.0 → 3.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/accordion/index.js +0 -2
- package/accordion-item/index.js +0 -2
- package/alert/index.js +0 -2
- package/avatar/index.js +0 -2
- package/badge/index.js +0 -2
- package/banner/index.js +0 -2
- package/breadcrumb-item/index.js +0 -2
- package/button/index.js +0 -2
- package/calendar/index.js +0 -1
- package/calendar-event/index.js +0 -2
- package/card/index.js +0 -2
- package/checkbox/index.js +0 -2
- package/combobox/index.js +0 -3
- package/custom-elements.json +440 -51
- package/data-grid/index.js +1 -5
- package/dialog/index.js +0 -2
- package/empty-state/index.js +0 -2
- package/fab/index.js +0 -2
- package/file-picker/index.js +24 -0
- package/header/index.js +1 -1
- package/icon/index.js +0 -2
- package/index.d.ts +3 -3
- package/index.js +31 -35
- package/layout/index.js +1 -1
- package/lib/accordion/accordion.d.ts +5 -5
- package/lib/accordion/accordion.template.d.ts +3 -3
- package/lib/accordion/definition.d.ts +2 -2
- package/lib/accordion/index.d.ts +1 -1
- package/lib/accordion-item/accordion-item.d.ts +12 -12
- package/lib/accordion-item/accordion-item.template.d.ts +4 -4
- package/lib/accordion-item/definition.d.ts +1 -1
- package/lib/accordion-item/index.d.ts +1 -1
- package/lib/action-group/action-group.d.ts +11 -11
- package/lib/action-group/action-group.template.d.ts +4 -4
- package/lib/action-group/definition.d.ts +2 -2
- package/lib/action-group/index.d.ts +1 -1
- package/lib/alert/alert.d.ts +22 -22
- package/lib/alert/alert.template.d.ts +4 -4
- package/lib/alert/definition.d.ts +2 -2
- package/lib/alert/index.d.ts +1 -1
- package/lib/avatar/avatar.d.ts +14 -14
- package/lib/avatar/avatar.template.d.ts +4 -4
- package/lib/avatar/definition.d.ts +2 -2
- package/lib/avatar/index.d.ts +1 -1
- package/lib/badge/badge.d.ts +14 -14
- package/lib/badge/badge.template.d.ts +4 -4
- package/lib/badge/definition.d.ts +4 -4
- package/lib/badge/index.d.ts +1 -1
- package/lib/banner/banner.d.ts +20 -20
- package/lib/banner/banner.template.d.ts +4 -4
- package/lib/banner/definition.d.ts +2 -2
- package/lib/banner/index.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +3 -3
- package/lib/breadcrumb/breadcrumb.template.d.ts +4 -4
- package/lib/breadcrumb/definition.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +1 -1
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +5 -5
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +4 -4
- package/lib/breadcrumb-item/definition.d.ts +1 -1
- package/lib/breadcrumb-item/index.d.ts +1 -1
- package/lib/button/button.d.ts +18 -18
- package/lib/button/button.template.d.ts +4 -4
- package/lib/button/definition.d.ts +2 -2
- package/lib/button/index.d.ts +1 -1
- package/lib/calendar/calendar.d.ts +13 -13
- package/lib/calendar/calendar.template.d.ts +4 -4
- package/lib/calendar/definition.d.ts +1 -1
- package/lib/calendar/helpers/calendar.date-functions.d.ts +2 -2
- package/lib/calendar/helpers/calendar.event-context.d.ts +6 -6
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +9 -9
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar-event/calendar-event.d.ts +13 -13
- package/lib/calendar-event/calendar-event.template.d.ts +4 -4
- package/lib/calendar-event/definition.d.ts +2 -2
- package/lib/calendar-event/index.d.ts +1 -1
- package/lib/card/card.d.ts +10 -10
- package/lib/card/card.template.d.ts +4 -4
- package/lib/card/definition.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/checkbox/checkbox.d.ts +10 -11
- package/lib/checkbox/checkbox.template.d.ts +4 -4
- package/lib/checkbox/definition.d.ts +1 -1
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/combobox/combobox.d.ts +12 -13
- package/lib/combobox/combobox.template.d.ts +4 -4
- package/lib/combobox/definition.d.ts +3 -4
- package/lib/combobox/index.d.ts +1 -1
- package/lib/components.d.ts +52 -52
- package/lib/data-grid/data-grid-cell.d.ts +22 -22
- package/lib/data-grid/data-grid-cell.template.d.ts +4 -4
- package/lib/data-grid/data-grid-row.d.ts +4 -4
- package/lib/data-grid/data-grid-row.template.d.ts +3 -3
- package/lib/data-grid/data-grid.d.ts +20 -20
- package/lib/data-grid/data-grid.options.d.ts +38 -38
- package/lib/data-grid/data-grid.template.d.ts +3 -3
- package/lib/data-grid/definition.d.ts +6 -6
- package/lib/data-grid/index.d.ts +1 -1
- package/lib/dialog/definition.d.ts +2 -2
- package/lib/dialog/dialog.d.ts +26 -26
- package/lib/dialog/dialog.template.d.ts +4 -4
- package/lib/dialog/index.d.ts +1 -1
- package/lib/divider/definition.d.ts +1 -1
- package/lib/divider/divider.d.ts +3 -3
- package/lib/divider/divider.template.d.ts +4 -4
- package/lib/divider/index.d.ts +1 -1
- package/lib/elevation/definition.d.ts +1 -1
- package/lib/elevation/elevation.d.ts +5 -5
- package/lib/elevation/elevation.template.d.ts +4 -4
- package/lib/elevation/index.d.ts +1 -1
- package/lib/empty-state/definition.d.ts +3 -3
- package/lib/empty-state/empty-state.d.ts +5 -5
- package/lib/empty-state/empty-state.template.d.ts +4 -4
- package/lib/empty-state/index.d.ts +1 -1
- package/lib/enums.d.ts +60 -60
- package/lib/fab/definition.d.ts +4 -4
- package/lib/fab/fab.d.ts +12 -12
- package/lib/fab/fab.template.d.ts +4 -4
- package/lib/fab/index.d.ts +1 -1
- package/lib/file-picker/definition.d.ts +3 -0
- package/lib/file-picker/file-picker.d.ts +22 -0
- package/lib/file-picker/file-picker.template.d.ts +4 -0
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/focus/definition.d.ts +3 -3
- package/lib/focus/focus.d.ts +3 -3
- package/lib/focus/focus.template.d.ts +4 -4
- package/lib/focus/index.d.ts +1 -1
- package/lib/header/definition.d.ts +3 -3
- package/lib/header/header.d.ts +5 -5
- package/lib/header/header.template.d.ts +4 -4
- package/lib/header/index.d.ts +1 -1
- package/lib/icon/definition.d.ts +4 -4
- package/lib/icon/icon.d.ts +12 -12
- package/lib/icon/icon.placeholder.d.ts +1 -1
- package/lib/icon/icon.template.d.ts +4 -4
- package/lib/icon/index.d.ts +1 -1
- package/lib/layout/definition.d.ts +4 -4
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/layout.d.ts +17 -17
- package/lib/layout/layout.template.d.ts +4 -4
- package/lib/listbox/definition.d.ts +4 -4
- package/lib/listbox/index.d.ts +1 -1
- package/lib/listbox/listbox.d.ts +6 -6
- package/lib/listbox/listbox.template.d.ts +4 -4
- package/lib/menu/definition.d.ts +12 -12
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/menu.d.ts +16 -14
- package/lib/menu/menu.template.d.ts +3 -3
- package/lib/menu-item/definition.d.ts +3 -3
- package/lib/menu-item/index.d.ts +1 -1
- package/lib/menu-item/menu-item.d.ts +14 -14
- package/lib/menu-item/menu-item.template.d.ts +4 -4
- package/lib/nav/definition.d.ts +3 -3
- package/lib/nav/index.d.ts +1 -1
- package/lib/nav/nav.d.ts +3 -3
- package/lib/nav/nav.template.d.ts +4 -4
- package/lib/nav-disclosure/definition.d.ts +3 -3
- package/lib/nav-disclosure/index.d.ts +1 -1
- package/lib/nav-disclosure/nav-disclosure.d.ts +10 -10
- package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -4
- package/lib/nav-item/definition.d.ts +3 -3
- package/lib/nav-item/index.d.ts +1 -1
- package/lib/nav-item/nav-item.d.ts +7 -7
- package/lib/nav-item/nav-item.template.d.ts +4 -4
- package/lib/note/definition.d.ts +4 -4
- package/lib/note/index.d.ts +1 -1
- package/lib/note/note.d.ts +10 -10
- package/lib/note/note.template.d.ts +4 -4
- package/lib/number-field/definition.d.ts +5 -5
- package/lib/number-field/index.d.ts +1 -1
- package/lib/number-field/number-field.d.ts +13 -13
- package/lib/number-field/number-field.template.d.ts +4 -4
- package/lib/option/definition.d.ts +3 -3
- package/lib/option/index.d.ts +1 -1
- package/lib/option/option.d.ts +12 -12
- package/lib/option/option.template.d.ts +4 -4
- package/lib/pagination/definition.d.ts +3 -3
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/pagination.d.ts +18 -18
- package/lib/pagination/pagination.template.d.ts +4 -4
- package/lib/popup/definition.d.ts +5 -5
- package/lib/popup/index.d.ts +1 -1
- package/lib/popup/popup.d.ts +21 -21
- package/lib/popup/popup.template.d.ts +4 -4
- package/lib/progress/definition.d.ts +4 -4
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/progress.d.ts +9 -9
- package/lib/progress/progress.template.d.ts +5 -5
- package/lib/progress-ring/definition.d.ts +4 -4
- package/lib/progress-ring/index.d.ts +1 -1
- package/lib/progress-ring/progress-ring.d.ts +7 -7
- package/lib/progress-ring/progress-ring.template.d.ts +4 -4
- package/lib/radio/definition.d.ts +3 -3
- package/lib/radio/index.d.ts +1 -1
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.template.d.ts +4 -4
- package/lib/radio-group/definition.d.ts +11 -11
- package/lib/radio-group/index.d.ts +1 -1
- package/lib/radio-group/radio-group.d.ts +4 -4
- package/lib/radio-group/radio-group.template.d.ts +4 -4
- package/lib/select/definition.d.ts +4 -4
- package/lib/select/index.d.ts +1 -1
- package/lib/select/select.d.ts +17 -18
- package/lib/select/select.template.d.ts +4 -4
- package/lib/side-drawer/definition.d.ts +3 -3
- package/lib/side-drawer/index.d.ts +1 -1
- package/lib/side-drawer/side-drawer.d.ts +9 -9
- package/lib/side-drawer/side-drawer.template.d.ts +4 -4
- package/lib/slider/definition.d.ts +3 -3
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.template.d.ts +4 -4
- package/lib/switch/definition.d.ts +4 -4
- package/lib/switch/index.d.ts +1 -1
- package/lib/switch/switch.d.ts +7 -7
- package/lib/switch/switch.template.d.ts +4 -4
- package/lib/tab/definition.d.ts +4 -4
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/tab.d.ts +14 -14
- package/lib/tab/tab.template.d.ts +3 -3
- package/lib/tab-panel/definition.d.ts +3 -3
- package/lib/tab-panel/index.d.ts +1 -1
- package/lib/tab-panel/tab-panel.d.ts +3 -3
- package/lib/tab-panel/tab-panel.template.d.ts +2 -2
- package/lib/tabs/definition.d.ts +3 -3
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/tabs.d.ts +15 -15
- package/lib/tabs/tabs.template.d.ts +2 -2
- package/lib/tag/definition.d.ts +4 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/tag/tag.d.ts +22 -22
- package/lib/tag/tag.template.d.ts +4 -4
- package/lib/tag-group/definition.d.ts +3 -3
- package/lib/tag-group/index.d.ts +1 -1
- package/lib/tag-group/tag-group.d.ts +3 -3
- package/lib/tag-group/tag-group.template.d.ts +4 -4
- package/lib/text-anchor/definition.d.ts +3 -3
- package/lib/text-anchor/index.d.ts +1 -1
- package/lib/text-anchor/text-anchor.d.ts +7 -7
- package/lib/text-anchor/text-anchor.template.d.ts +4 -4
- package/lib/text-area/definition.d.ts +4 -4
- package/lib/text-area/index.d.ts +1 -1
- package/lib/text-area/text-area.d.ts +8 -9
- package/lib/text-area/text-area.template.d.ts +4 -4
- package/lib/text-field/definition.d.ts +4 -4
- package/lib/text-field/index.d.ts +1 -1
- package/lib/text-field/text-field.d.ts +13 -14
- package/lib/text-field/text-field.template.d.ts +4 -4
- package/lib/toggletip/definition.d.ts +3 -3
- package/lib/toggletip/index.d.ts +1 -1
- package/lib/toggletip/toggletip.d.ts +15 -15
- package/lib/toggletip/toggletip.template.d.ts +4 -4
- package/lib/tooltip/definition.d.ts +3 -3
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/tooltip.d.ts +14 -14
- package/lib/tooltip/tooltip.template.d.ts +4 -4
- package/lib/tree-item/definition.d.ts +3 -3
- package/lib/tree-item/index.d.ts +1 -1
- package/lib/tree-item/tree-item.d.ts +7 -7
- package/lib/tree-item/tree-item.template.d.ts +4 -4
- package/lib/tree-view/definition.d.ts +3 -3
- package/lib/tree-view/index.d.ts +1 -1
- package/lib/tree-view/tree-view.d.ts +3 -3
- package/lib/tree-view/tree-view.template.d.ts +2 -2
- package/listbox/index.js +17 -21
- package/menu/index.js +2 -5
- package/menu-item/index.js +1 -4
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +1 -3
- package/nav-item/index.js +1 -3
- package/note/index.js +1 -3
- package/number-field/index.js +1 -4
- package/option/index.js +0 -2
- package/package.json +10 -8
- package/pagination/index.js +2 -6
- package/popup/index.js +0 -3
- package/progress/index.js +1 -1
- package/radio/index.js +1 -1
- package/radio-group/index.js +3 -3
- package/select/index.js +1 -4
- package/shared/affix.js +2 -5
- package/shared/anchor.js +2 -1
- package/shared/apply-mixins.js +1 -1
- package/shared/definition.js +7 -9
- package/shared/definition10.js +13 -17
- package/shared/definition11.js +6 -9
- package/shared/definition12.js +16 -18
- package/shared/definition13.js +6 -8
- package/shared/definition14.js +7 -12
- package/shared/definition15.js +43 -52
- package/shared/definition16.js +8 -71
- package/shared/definition17.js +36 -45
- package/shared/definition18.js +19 -24
- package/shared/definition19.js +45 -49
- package/shared/definition2.js +24 -28
- package/shared/definition20.js +390 -281
- package/shared/definition21.js +12 -16
- package/shared/definition22.js +82 -168
- package/shared/definition23.js +35 -41
- package/shared/definition24.js +6 -8
- package/shared/definition25.js +10 -14
- package/shared/definition26.js +40 -42
- package/shared/definition27.js +2285 -48
- package/shared/definition28.js +46 -38
- package/shared/definition29.js +38 -370
- package/shared/definition3.js +5 -9
- package/shared/definition30.js +348 -302
- package/shared/definition31.js +365 -14
- package/shared/definition32.js +12 -71
- package/shared/definition33.js +63 -26
- package/shared/definition34.js +24 -40
- package/shared/definition35.js +32 -436
- package/shared/definition36.js +428 -217
- package/shared/definition37.js +175 -77
- package/shared/definition38.js +50 -34
- package/shared/definition39.js +36 -430
- package/shared/definition4.js +3 -5
- package/shared/definition40.js +358 -589
- package/shared/definition41.js +644 -75
- package/shared/definition42.js +70 -587
- package/shared/definition43.js +503 -84
- package/shared/definition44.js +124 -52
- package/shared/definition45.js +57 -19
- package/shared/definition46.js +17 -487
- package/shared/definition47.js +477 -102
- package/shared/definition48.js +109 -19
- package/shared/definition49.js +17 -276
- package/shared/definition5.js +7 -8
- package/shared/definition50.js +253 -101
- package/shared/definition51.js +114 -629
- package/shared/definition52.js +92 -85
- package/shared/definition53.js +112 -70
- package/shared/definition54.js +65 -294
- package/shared/definition55.js +303 -0
- package/shared/definition6.js +17 -23
- package/shared/definition7.js +44 -47
- package/shared/definition8.js +3 -5
- package/shared/definition9.js +13 -17
- package/shared/design-system/index.d.ts +3 -3
- package/shared/focus2.js +1 -3
- package/shared/form-associated.js +1 -1
- package/shared/form-elements.js +16 -20
- package/shared/icon.js +2 -1171
- package/shared/index.js +41 -1549
- package/shared/listbox.js +1 -1
- package/shared/patterns/affix.d.ts +9 -9
- package/shared/patterns/focus.d.ts +3 -3
- package/shared/patterns/form-elements/form-elements.d.ts +57 -57
- package/shared/patterns/form-elements/index.d.ts +1 -1
- package/shared/patterns/index.d.ts +3 -3
- package/shared/repeat.js +1 -1
- package/shared/text-anchor.template.js +38 -40
- package/shared/text-field.js +1 -1
- package/shared/text-field2.js +1 -1
- package/shared/when.js +19 -5
- package/side-drawer/index.js +1 -1
- package/slider/index.js +1 -4
- 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 +17 -17
- package/styles/tokens/theme-light.css +17 -17
- package/switch/index.js +1 -3
- package/tab/index.js +1 -3
- package/tab-panel/index.js +1 -1
- package/tabs/index.js +3 -5
- package/tag/index.js +1 -3
- package/tag-group/index.js +1 -1
- package/text-anchor/index.js +0 -2
- package/text-area/index.js +1 -3
- package/text-field/index.js +1 -3
- package/toggletip/index.js +1 -5
- package/tooltip/index.js +1 -4
- package/tree-item/index.js +2 -4
- package/tree-view/index.js +1 -1
- package/vivid.api.json +210 -848
- package/shared/es.object.assign.js +0 -68
- package/shared/es.regexp.to-string.js +0 -61
- package/shared/es.string.includes.js +0 -83
- package/shared/string-trim.js +0 -40
- package/shared/to-string.js +0 -51
package/lib/dialog/dialog.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const isDialogSupported: boolean;
|
|
3
|
-
export
|
|
4
|
-
export declare class Dialog extends FoundationElement {
|
|
5
|
-
#private;
|
|
6
|
-
open: boolean;
|
|
7
|
-
icon?: string;
|
|
8
|
-
iconPlacement?: IconPlacement;
|
|
9
|
-
subtitle?: string;
|
|
10
|
-
headline?: string;
|
|
11
|
-
fullWidthBody: boolean;
|
|
12
|
-
ariaLabelledBy: string | null;
|
|
13
|
-
ariaLabel: string | null;
|
|
14
|
-
ariaDescribedBy: string | null;
|
|
15
|
-
set returnValue(value: string);
|
|
16
|
-
get returnValue(): string;
|
|
17
|
-
get modal(): boolean;
|
|
18
|
-
openChanged(oldValue: boolean, newValue: boolean): void;
|
|
19
|
-
close(): void;
|
|
20
|
-
show(): void;
|
|
21
|
-
showModal(): void;
|
|
22
|
-
connectedCallback(): void;
|
|
23
|
-
disconnectedCallback(): void;
|
|
24
|
-
footerSlottedContent?: HTMLElement[];
|
|
25
|
-
actionItemsSlottedContent?: HTMLElement[];
|
|
26
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const isDialogSupported: boolean;
|
|
3
|
+
export type IconPlacement = 'top' | 'side';
|
|
4
|
+
export declare class Dialog extends FoundationElement {
|
|
5
|
+
#private;
|
|
6
|
+
open: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconPlacement?: IconPlacement;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
headline?: string;
|
|
11
|
+
fullWidthBody: boolean;
|
|
12
|
+
ariaLabelledBy: string | null;
|
|
13
|
+
ariaLabel: string | null;
|
|
14
|
+
ariaDescribedBy: string | null;
|
|
15
|
+
set returnValue(value: string);
|
|
16
|
+
get returnValue(): string;
|
|
17
|
+
get modal(): boolean;
|
|
18
|
+
openChanged(oldValue: boolean, newValue: boolean): void;
|
|
19
|
+
close(): void;
|
|
20
|
+
show(): void;
|
|
21
|
+
showModal(): void;
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
disconnectedCallback(): void;
|
|
24
|
+
footerSlottedContent?: HTMLElement[];
|
|
25
|
+
actionItemsSlottedContent?: HTMLElement[];
|
|
26
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Dialog } from './dialog';
|
|
4
|
-
export declare const DialogTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Dialog>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Dialog } from './dialog';
|
|
4
|
+
export declare const DialogTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Dialog>;
|
package/lib/dialog/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerDivider: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerDivider: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/divider/divider.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Divider as FoundationDivider } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Divider extends FoundationDivider {
|
|
3
|
-
}
|
|
1
|
+
import { Divider as FoundationDivider } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Divider extends FoundationDivider {
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Divider } from './divider';
|
|
4
|
-
export declare const DividerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Divider>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Divider } from './divider';
|
|
4
|
+
export declare const DividerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Divider>;
|
package/lib/divider/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerElevation: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerElevation: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Elevation extends FoundationElement {
|
|
3
|
-
dp?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
4
|
-
noShadow?: boolean;
|
|
5
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Elevation extends FoundationElement {
|
|
3
|
+
dp?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
4
|
+
noShadow?: boolean;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Elevation } from './elevation';
|
|
4
|
-
export declare const elevationTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Elevation>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Elevation } from './elevation';
|
|
4
|
+
export declare const elevationTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Elevation>;
|
package/lib/elevation/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const emptyStateDefinition: (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 registerEmptyState: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const emptyStateDefinition: (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 registerEmptyState: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class EmptyState extends FoundationElement {
|
|
3
|
-
headline?: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class EmptyState extends FoundationElement {
|
|
3
|
+
headline?: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { EmptyState } from './empty-state';
|
|
4
|
-
export declare const EmptyStateTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<EmptyState>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { EmptyState } from './empty-state';
|
|
4
|
+
export declare const EmptyStateTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<EmptyState>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/enums.d.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export declare enum Connotation {
|
|
2
|
-
Accent = "accent",
|
|
3
|
-
CTA = "cta",
|
|
4
|
-
Success = "success",
|
|
5
|
-
Alert = "alert",
|
|
6
|
-
Warning = "warning",
|
|
7
|
-
Information = "information",
|
|
8
|
-
Announcement = "announcement"
|
|
9
|
-
}
|
|
10
|
-
export declare enum ConnotationDecorative {
|
|
11
|
-
Pacific = "pacific"
|
|
12
|
-
}
|
|
13
|
-
export declare enum Shape {
|
|
14
|
-
Rounded = "rounded",
|
|
15
|
-
Pill = "pill",
|
|
16
|
-
Circled = "circled",
|
|
17
|
-
Sharp = "sharp"
|
|
18
|
-
}
|
|
19
|
-
export declare enum Appearance {
|
|
20
|
-
Filled = "filled",
|
|
21
|
-
Outlined = "outlined",
|
|
22
|
-
Duotone = "duotone",
|
|
23
|
-
Fieldset = "fieldset",
|
|
24
|
-
Subtle = "subtle",
|
|
25
|
-
Ghost = "ghost",
|
|
26
|
-
Listitem = "listitem"
|
|
27
|
-
}
|
|
28
|
-
export declare enum Size {
|
|
29
|
-
UltraCondensed = "ultra-condensed",
|
|
30
|
-
SuperCondensed = "super-condensed",
|
|
31
|
-
ExtraCondensed = "extra-condensed",
|
|
32
|
-
SemiCondensed = "semi-condensed",
|
|
33
|
-
Condensed = "condensed",
|
|
34
|
-
Normal = "normal",
|
|
35
|
-
SemiExpanded = "semi-expanded",
|
|
36
|
-
Expanded = "expanded",
|
|
37
|
-
ExtraExpanded = "extra-expanded",
|
|
38
|
-
SuperExpanded = "super-expanded",
|
|
39
|
-
UltraExpanded = "ultra-expanded"
|
|
40
|
-
}
|
|
41
|
-
export declare enum LayoutSize {
|
|
42
|
-
Small = "small",
|
|
43
|
-
Medium = "medium",
|
|
44
|
-
Large = "large"
|
|
45
|
-
}
|
|
46
|
-
export declare enum Position {
|
|
47
|
-
Top = "TOP",
|
|
48
|
-
Bottom = "BOTTOM",
|
|
49
|
-
Start = "START",
|
|
50
|
-
Center = "CENTER",
|
|
51
|
-
End = "END"
|
|
52
|
-
}
|
|
53
|
-
export declare enum Role {
|
|
54
|
-
Status = "status",
|
|
55
|
-
Alert = "alert"
|
|
56
|
-
}
|
|
57
|
-
export declare enum AriaLive {
|
|
58
|
-
Polite = "polite",
|
|
59
|
-
Assertive = "assertive"
|
|
60
|
-
}
|
|
1
|
+
export declare enum Connotation {
|
|
2
|
+
Accent = "accent",
|
|
3
|
+
CTA = "cta",
|
|
4
|
+
Success = "success",
|
|
5
|
+
Alert = "alert",
|
|
6
|
+
Warning = "warning",
|
|
7
|
+
Information = "information",
|
|
8
|
+
Announcement = "announcement"
|
|
9
|
+
}
|
|
10
|
+
export declare enum ConnotationDecorative {
|
|
11
|
+
Pacific = "pacific"
|
|
12
|
+
}
|
|
13
|
+
export declare enum Shape {
|
|
14
|
+
Rounded = "rounded",
|
|
15
|
+
Pill = "pill",
|
|
16
|
+
Circled = "circled",
|
|
17
|
+
Sharp = "sharp"
|
|
18
|
+
}
|
|
19
|
+
export declare enum Appearance {
|
|
20
|
+
Filled = "filled",
|
|
21
|
+
Outlined = "outlined",
|
|
22
|
+
Duotone = "duotone",
|
|
23
|
+
Fieldset = "fieldset",
|
|
24
|
+
Subtle = "subtle",
|
|
25
|
+
Ghost = "ghost",
|
|
26
|
+
Listitem = "listitem"
|
|
27
|
+
}
|
|
28
|
+
export declare enum Size {
|
|
29
|
+
UltraCondensed = "ultra-condensed",
|
|
30
|
+
SuperCondensed = "super-condensed",
|
|
31
|
+
ExtraCondensed = "extra-condensed",
|
|
32
|
+
SemiCondensed = "semi-condensed",
|
|
33
|
+
Condensed = "condensed",
|
|
34
|
+
Normal = "normal",
|
|
35
|
+
SemiExpanded = "semi-expanded",
|
|
36
|
+
Expanded = "expanded",
|
|
37
|
+
ExtraExpanded = "extra-expanded",
|
|
38
|
+
SuperExpanded = "super-expanded",
|
|
39
|
+
UltraExpanded = "ultra-expanded"
|
|
40
|
+
}
|
|
41
|
+
export declare enum LayoutSize {
|
|
42
|
+
Small = "small",
|
|
43
|
+
Medium = "medium",
|
|
44
|
+
Large = "large"
|
|
45
|
+
}
|
|
46
|
+
export declare enum Position {
|
|
47
|
+
Top = "TOP",
|
|
48
|
+
Bottom = "BOTTOM",
|
|
49
|
+
Start = "START",
|
|
50
|
+
Center = "CENTER",
|
|
51
|
+
End = "END"
|
|
52
|
+
}
|
|
53
|
+
export declare enum Role {
|
|
54
|
+
Status = "status",
|
|
55
|
+
Alert = "alert"
|
|
56
|
+
}
|
|
57
|
+
export declare enum AriaLive {
|
|
58
|
+
Polite = "polite",
|
|
59
|
+
Assertive = "assertive"
|
|
60
|
+
}
|
package/lib/fab/definition.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export type { FabConnotation, FABSize } from './fab';
|
|
3
|
-
export declare const fabDefinition: (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 registerFab: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { FabConnotation, FABSize } from './fab';
|
|
3
|
+
export declare const fabDefinition: (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 registerFab: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/fab/fab.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Connotation, Size } from '../enums.js';
|
|
3
|
-
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export declare class Fab extends FoundationButton {
|
|
7
|
-
connotation?: FabConnotation;
|
|
8
|
-
size?: FABSize;
|
|
9
|
-
label?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface Fab extends AffixIconWithTrailing {
|
|
12
|
-
}
|
|
1
|
+
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Connotation, Size } from '../enums.js';
|
|
3
|
+
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
+
export type FabConnotation = Extract<Connotation, Connotation.CTA | Connotation.Accent>;
|
|
5
|
+
export type FABSize = Extract<Size, Size.Normal | Size.Expanded>;
|
|
6
|
+
export declare class Fab extends FoundationButton {
|
|
7
|
+
connotation?: FabConnotation;
|
|
8
|
+
size?: FABSize;
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Fab extends AffixIconWithTrailing {
|
|
12
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Fab } from './fab';
|
|
4
|
-
export declare const FabTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Fab>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Fab } from './fab';
|
|
4
|
+
export declare const FabTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Fab>;
|
package/lib/fab/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const filePickerDefinition: (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 registerFilePicker: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Size } from '../enums';
|
|
3
|
+
import { FormElementHelperText } from '../../shared/patterns';
|
|
4
|
+
export type FileUploaderSize = Extract<Size, Size.Normal | Size.Expanded>;
|
|
5
|
+
export declare class FilePicker extends FoundationElement {
|
|
6
|
+
#private;
|
|
7
|
+
get files(): File[];
|
|
8
|
+
label?: string;
|
|
9
|
+
maxFiles?: number;
|
|
10
|
+
maxFilesChanged(_oldValue: number, newValue: number): void;
|
|
11
|
+
maxFileSize: number;
|
|
12
|
+
maxFileSizeChanged(_oldValue: number, newValue: number): void;
|
|
13
|
+
accept?: string;
|
|
14
|
+
acceptChanged(_oldValue: string, newValue: string): void;
|
|
15
|
+
size?: FileUploaderSize;
|
|
16
|
+
private buttonTag;
|
|
17
|
+
constructor();
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
}
|
|
21
|
+
export interface FilePicker extends FormElementHelperText {
|
|
22
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { FilePicker } from './file-picker';
|
|
4
|
+
export declare const FilePickerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<FilePicker>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const focusDefinition: (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 registerFocus: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const focusDefinition: (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 registerFocus: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/focus/focus.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Focus extends FoundationElement {
|
|
3
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Focus extends FoundationElement {
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Focus } from './focus';
|
|
4
|
-
export declare const focusTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Focus>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Focus } from './focus';
|
|
4
|
+
export declare const focusTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Focus>;
|
package/lib/focus/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare const headerDefinition: (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 registerHeader: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const headerDefinition: (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 registerHeader: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/header/header.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Header extends FoundationElement {
|
|
3
|
-
elevationShadow: boolean;
|
|
4
|
-
alternate: boolean;
|
|
5
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Header extends FoundationElement {
|
|
3
|
+
elevationShadow: boolean;
|
|
4
|
+
alternate: boolean;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Header } from './header';
|
|
4
|
-
export declare const headerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Header>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Header } from './header';
|
|
4
|
+
export declare const headerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Header>;
|
package/lib/header/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/icon/definition.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export type { IconConnotation } from './icon';
|
|
3
|
-
export declare const iconDefinition: (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 registerIcon: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { IconConnotation } from './icon';
|
|
3
|
+
export declare const iconDefinition: (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 registerIcon: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/icon/icon.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Connotation } from '../enums';
|
|
3
|
-
export declare const ICON_SET_VERSION = "4.2.2";
|
|
4
|
-
export
|
|
5
|
-
export declare class Icon extends FoundationElement {
|
|
6
|
-
connotation?: IconConnotation;
|
|
7
|
-
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
8
|
-
iconLoaded: boolean;
|
|
9
|
-
name?: string;
|
|
10
|
-
get iconUrl(): string | undefined;
|
|
11
|
-
nameChanged(): Promise<void>;
|
|
12
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Connotation } from '../enums';
|
|
3
|
+
export declare const ICON_SET_VERSION = "4.2.2";
|
|
4
|
+
export type IconConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Announcement | Connotation.Success | Connotation.Alert | Connotation.Information>;
|
|
5
|
+
export declare class Icon extends FoundationElement {
|
|
6
|
+
connotation?: IconConnotation;
|
|
7
|
+
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
8
|
+
iconLoaded: boolean;
|
|
9
|
+
name?: string;
|
|
10
|
+
get iconUrl(): string | undefined;
|
|
11
|
+
nameChanged(): Promise<void>;
|
|
12
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PLACEHOLDER_ICON = "<svg width=\"80%\" height=\"80%\" viewBox=\"0 0 64 64\">\n <g>\n <g stroke-width=\"6\" stroke-linecap=\"round\" fill=\"none\">\n <path stroke=\"currentColor\" d=\"M4,32 c0,15,12,28,28,28c8,0,16-4,21-9\">\n </path>\n <path d=\"M60,32 C60,16,47.464,4,32,4S4,16,4,32\">\n </path>\n <animateTransform values=\"0,32,32;360,32,32\" attributeName=\"transform\" type=\"rotate\" repeatCount=\"indefinite\" dur=\"750ms\">\n </animateTransform>\n </g>\n </g>\n</svg>";
|
|
1
|
+
export declare const PLACEHOLDER_ICON = "<svg width=\"80%\" height=\"80%\" viewBox=\"0 0 64 64\">\n <g>\n <g stroke-width=\"6\" stroke-linecap=\"round\" fill=\"none\">\n <path stroke=\"currentColor\" d=\"M4,32 c0,15,12,28,28,28c8,0,16-4,21-9\">\n </path>\n <path d=\"M60,32 C60,16,47.464,4,32,4S4,16,4,32\">\n </path>\n <animateTransform values=\"0,32,32;360,32,32\" attributeName=\"transform\" type=\"rotate\" repeatCount=\"indefinite\" dur=\"750ms\">\n </animateTransform>\n </g>\n </g>\n</svg>";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Icon } from './icon';
|
|
4
|
-
export declare const iconTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Icon>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Icon } from './icon';
|
|
4
|
+
export declare const iconTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Icon>;
|
package/lib/icon/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export type { AUTO_SIZING, ColumnBasis, ColumnSpacing, RowSpacing, Gutters } from './layout';
|
|
3
|
-
export declare const layoutDefinition: (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 registerLayout: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { AUTO_SIZING, ColumnBasis, ColumnSpacing, RowSpacing, Gutters } from './layout';
|
|
3
|
+
export declare const layoutDefinition: (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 registerLayout: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/layout/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/layout/layout.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { LayoutSize } from '../enums.js';
|
|
3
|
-
export declare enum AUTO_SIZING {
|
|
4
|
-
Fit = "fit",
|
|
5
|
-
Fill = "fill"
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export declare class Layout extends FoundationElement {
|
|
12
|
-
gutters?: Gutters;
|
|
13
|
-
columnBasis?: ColumnBasis;
|
|
14
|
-
columnSpacing?: ColumnSpacing;
|
|
15
|
-
rowSpacing?: RowSpacing;
|
|
16
|
-
autoSizing?: AUTO_SIZING;
|
|
17
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { LayoutSize } from '../enums.js';
|
|
3
|
+
export declare enum AUTO_SIZING {
|
|
4
|
+
Fit = "fit",
|
|
5
|
+
Fill = "fill"
|
|
6
|
+
}
|
|
7
|
+
export type Gutters = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
8
|
+
export type ColumnSpacing = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
9
|
+
export type RowSpacing = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large>;
|
|
10
|
+
export type ColumnBasis = Extract<LayoutSize, LayoutSize.Small | LayoutSize.Medium | LayoutSize.Large> | 'block';
|
|
11
|
+
export declare class Layout extends FoundationElement {
|
|
12
|
+
gutters?: Gutters;
|
|
13
|
+
columnBasis?: ColumnBasis;
|
|
14
|
+
columnSpacing?: ColumnSpacing;
|
|
15
|
+
rowSpacing?: RowSpacing;
|
|
16
|
+
autoSizing?: AUTO_SIZING;
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Layout } from './layout';
|
|
4
|
-
export declare const layoutTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Layout>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Layout } from './layout';
|
|
4
|
+
export declare const layoutTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Layout>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export type { LisboxAppearance } from './listbox';
|
|
3
|
-
export declare const listboxDefinition: (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 registerListbox: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { LisboxAppearance } from './listbox';
|
|
3
|
+
export declare const listboxDefinition: (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 registerListbox: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/listbox/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/listbox/listbox.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ListboxElement as FoundationListboxElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance } from '../enums';
|
|
3
|
-
export
|
|
4
|
-
export declare class Listbox extends FoundationListboxElement {
|
|
5
|
-
appearance?: LisboxAppearance;
|
|
6
|
-
}
|
|
1
|
+
import { ListboxElement as FoundationListboxElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance } from '../enums';
|
|
3
|
+
export type LisboxAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
4
|
+
export declare class Listbox extends FoundationListboxElement {
|
|
5
|
+
appearance?: LisboxAppearance;
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { type ElementDefinitionContext, type FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Listbox } from './listbox';
|
|
4
|
-
export declare const ListboxTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Listbox>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import { type ElementDefinitionContext, type FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Listbox } from './listbox';
|
|
4
|
+
export declare const ListboxTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Listbox>;
|