@vonage/vivid 3.27.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 +2 -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 +142 -53
- 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 +0 -2
- package/icon/index.js +0 -2
- package/index.d.ts +3 -3
- package/index.js +1 -6
- 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 -3
- package/lib/file-picker/file-picker.d.ts +22 -22
- package/lib/file-picker/file-picker.template.d.ts +4 -4
- package/lib/file-picker/index.d.ts +1 -1
- 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 -15
- 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 +0 -3
- package/menu-item/index.js +0 -3
- package/nav-disclosure/index.js +0 -2
- package/nav-item/index.js +0 -2
- package/note/index.js +0 -2
- package/number-field/index.js +0 -3
- package/option/index.js +0 -2
- package/package.json +9 -8
- package/pagination/index.js +1 -5
- package/popup/index.js +0 -3
- package/radio-group/index.js +2 -2
- package/select/index.js +0 -3
- 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 +389 -280
- 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 +24 -27
- package/shared/definition28.js +6 -8
- package/shared/definition29.js +3 -5
- package/shared/definition3.js +5 -9
- package/shared/definition30.js +83 -45
- package/shared/definition31.js +33 -43
- package/shared/definition32.js +2 -4
- package/shared/definition33.js +11 -15
- package/shared/definition34.js +5 -9
- package/shared/definition35.js +7 -11
- package/shared/definition36.js +66 -71
- package/shared/definition37.js +60 -101
- package/shared/definition38.js +14 -46
- package/shared/definition39.js +11 -14
- package/shared/definition4.js +3 -5
- package/shared/definition40.js +17 -20
- package/shared/definition41.js +56 -62
- package/shared/definition42.js +8 -11
- package/shared/definition43.js +20 -58
- package/shared/definition44.js +14 -17
- package/shared/definition45.js +8 -10
- package/shared/definition46.js +2 -4
- package/shared/definition47.js +12 -15
- package/shared/definition48.js +19 -24
- package/shared/definition49.js +3 -5
- package/shared/definition5.js +7 -8
- package/shared/definition50.js +51 -55
- package/shared/definition51.js +56 -60
- package/shared/definition52.js +12 -520
- package/shared/definition53.js +9 -11
- package/shared/definition54.js +27 -31
- package/shared/definition55.js +12 -14
- package/shared/definition6.js +17 -23
- package/shared/definition7.js +43 -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/slider/index.js +0 -3
- 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 +0 -2
- package/tab/index.js +0 -2
- package/tabs/index.js +0 -2
- package/tag/index.js +0 -2
- package/text-anchor/index.js +0 -2
- package/text-area/index.js +0 -2
- package/text-field/index.js +0 -2
- package/toggletip/index.js +0 -4
- package/tooltip/index.js +0 -3
- package/tree-item/index.js +1 -3
- package/vivid.api.json +48 -84
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Shape } from '../enums.js';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export declare class ActionGroup extends FoundationElement {
|
|
6
|
-
shape?: ActionGroupShape;
|
|
7
|
-
appearance?: ActionGroupAppearance;
|
|
8
|
-
tight: boolean;
|
|
9
|
-
role: string |
|
|
10
|
-
ariaLabel: string | null;
|
|
11
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Shape } from '../enums.js';
|
|
3
|
+
export type ActionGroupAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
|
|
4
|
+
export type ActionGroupShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
5
|
+
export declare class ActionGroup extends FoundationElement {
|
|
6
|
+
shape?: ActionGroupShape;
|
|
7
|
+
appearance?: ActionGroupAppearance;
|
|
8
|
+
tight: boolean;
|
|
9
|
+
role: string | null;
|
|
10
|
+
ariaLabel: string | null;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { ActionGroup } from './action-group';
|
|
4
|
-
export declare const ActionGroupTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<ActionGroup>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { ActionGroup } from './action-group';
|
|
4
|
+
export declare const ActionGroupTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<ActionGroup>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ActionGroupShape, ActionGroupAppearance } from './action-group';
|
|
2
|
-
export declare const registerActionGroup: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { ActionGroupShape, ActionGroupAppearance } from './action-group';
|
|
2
|
+
export declare const registerActionGroup: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/alert/alert.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import { Connotation } from '../enums';
|
|
3
|
-
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export declare class Alert extends FoundationElement {
|
|
7
|
-
#private;
|
|
8
|
-
removable: boolean;
|
|
9
|
-
placement?: AlertPlacement;
|
|
10
|
-
headline?: string;
|
|
11
|
-
text?: string;
|
|
12
|
-
icon?: string;
|
|
13
|
-
timeoutms: number;
|
|
14
|
-
connotation?: AlertConnotation;
|
|
15
|
-
open: boolean;
|
|
16
|
-
openChanged(oldValue: boolean, newValue: boolean): void;
|
|
17
|
-
connectedCallback(): void;
|
|
18
|
-
disconnectedCallback(): void;
|
|
19
|
-
get conditionedIcon(): string | undefined;
|
|
20
|
-
}
|
|
21
|
-
export interface Alert extends AffixIcon {
|
|
22
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { Connotation } from '../enums';
|
|
3
|
+
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
+
export type AlertConnotation = Connotation.Accent | Connotation.Information | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
|
+
export type AlertPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
|
|
6
|
+
export declare class Alert extends FoundationElement {
|
|
7
|
+
#private;
|
|
8
|
+
removable: boolean;
|
|
9
|
+
placement?: AlertPlacement;
|
|
10
|
+
headline?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
timeoutms: number;
|
|
14
|
+
connotation?: AlertConnotation;
|
|
15
|
+
open: boolean;
|
|
16
|
+
openChanged(oldValue: boolean, newValue: boolean): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
get conditionedIcon(): string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface Alert extends AffixIcon {
|
|
22
|
+
}
|
|
@@ -1,4 +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>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import { type ElementDefinitionContext, type FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Alert } from './alert';
|
|
4
|
+
export declare const AlertTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Alert>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AlertConnotation } from './alert';
|
|
2
|
-
export declare const registerAlert: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { AlertConnotation } from './alert';
|
|
2
|
+
export declare const registerAlert: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/alert/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/avatar/avatar.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export declare class Avatar extends FoundationElement {
|
|
8
|
-
connotation?: AvatarConnotation;
|
|
9
|
-
shape?: AvatarShape;
|
|
10
|
-
appearance?: AvatarAppearance;
|
|
11
|
-
size?: AvatarSize;
|
|
12
|
-
icon?: string;
|
|
13
|
-
initials?: string;
|
|
14
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
|
+
export type AvatarConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
4
|
+
export type AvatarAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Duotone>;
|
|
5
|
+
export type AvatarShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
6
|
+
export type AvatarSize = Extract<Size, Size.Condensed | Size.Normal | Size.Expanded>;
|
|
7
|
+
export declare class Avatar extends FoundationElement {
|
|
8
|
+
connotation?: AvatarConnotation;
|
|
9
|
+
shape?: AvatarShape;
|
|
10
|
+
appearance?: AvatarAppearance;
|
|
11
|
+
size?: AvatarSize;
|
|
12
|
+
icon?: string;
|
|
13
|
+
initials?: string;
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Avatar } from './avatar';
|
|
4
|
-
export declare const AvatarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Avatar>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Avatar } from './avatar';
|
|
4
|
+
export declare const AvatarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Avatar>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { AvatarConnotation, AvatarShape, AvatarAppearance, AvatarSize } from './avatar';
|
|
2
|
-
export declare const registerAvatar: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { AvatarConnotation, AvatarShape, AvatarAppearance, AvatarSize } from './avatar';
|
|
2
|
+
export declare const registerAvatar: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/avatar/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/badge/badge.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
|
-
import type { Appearance, Connotation, Shape } from '../enums.js';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export declare class Badge extends FoundationElement {
|
|
8
|
-
connotation?: BadgeConnotation;
|
|
9
|
-
shape?: BadgeShape;
|
|
10
|
-
appearance?: BadgeAppearance;
|
|
11
|
-
text?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface Badge extends AffixIconWithTrailing {
|
|
14
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
|
+
import type { Appearance, Connotation, Shape } from '../enums.js';
|
|
4
|
+
export type BadgeConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
|
|
5
|
+
export type BadgeAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
6
|
+
export type BadgeShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
|
+
export declare class Badge extends FoundationElement {
|
|
8
|
+
connotation?: BadgeConnotation;
|
|
9
|
+
shape?: BadgeShape;
|
|
10
|
+
appearance?: BadgeAppearance;
|
|
11
|
+
text?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface Badge extends AffixIconWithTrailing {
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Badge } from './badge';
|
|
4
|
-
export declare const badgeTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Badge>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Badge } from './badge';
|
|
4
|
+
export declare const badgeTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Badge>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
-
export type { BadgeConnotation, BadgeAppearance, BadgeShape } from './badge';
|
|
3
|
-
export declare const badgeDefinition: (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 registerBadge: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export type { BadgeConnotation, BadgeAppearance, BadgeShape } from './badge';
|
|
3
|
+
export declare const badgeDefinition: (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 registerBadge: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/badge/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/banner/banner.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import { Connotation } from '../enums';
|
|
3
|
-
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
-
export
|
|
5
|
-
export declare class Banner extends FoundationElement {
|
|
6
|
-
#private;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
text: string | undefined;
|
|
13
|
-
connotation: BannerConnotation | undefined;
|
|
14
|
-
get conditionedIcon(): string;
|
|
15
|
-
connectedCallback(): void;
|
|
16
|
-
disconnectedCallback(): void;
|
|
17
|
-
remove(): void;
|
|
18
|
-
}
|
|
19
|
-
export interface Banner extends AffixIcon {
|
|
20
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import { Connotation } from '../enums';
|
|
3
|
+
import { AffixIcon } from '../../shared/patterns/affix';
|
|
4
|
+
export type BannerConnotation = Connotation.Information | Connotation.Announcement | Connotation.Success | Connotation.Warning | Connotation.Alert;
|
|
5
|
+
export declare class Banner extends FoundationElement {
|
|
6
|
+
#private;
|
|
7
|
+
role: string | null;
|
|
8
|
+
actionHref: string | undefined;
|
|
9
|
+
actionText: string | undefined;
|
|
10
|
+
removable: boolean;
|
|
11
|
+
ariaLive: any;
|
|
12
|
+
text: string | undefined;
|
|
13
|
+
connotation: BannerConnotation | undefined;
|
|
14
|
+
get conditionedIcon(): string;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
remove(): void;
|
|
18
|
+
}
|
|
19
|
+
export interface Banner extends AffixIcon {
|
|
20
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Banner } from './banner';
|
|
4
|
-
export declare const BannerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Banner>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Banner } from './banner';
|
|
4
|
+
export declare const BannerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Banner>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { BannerConnotation } from './banner';
|
|
2
|
-
export declare const registerBanner: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { BannerConnotation } from './banner';
|
|
2
|
+
export declare const registerBanner: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/banner/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Breadcrumb as FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Breadcrumb extends FoundationElement {
|
|
3
|
-
}
|
|
1
|
+
import { Breadcrumb as FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Breadcrumb extends FoundationElement {
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { FoundationElementTemplate } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Breadcrumb } from './breadcrumb';
|
|
4
|
-
export declare const breadcrumbTemplate: FoundationElementTemplate<ViewTemplate<Breadcrumb>>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { FoundationElementTemplate } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Breadcrumb } from './breadcrumb';
|
|
4
|
+
export declare const breadcrumbTemplate: FoundationElementTemplate<ViewTemplate<Breadcrumb>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerBreadcrumb: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerBreadcrumb: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BreadcrumbItem as FastBreadcrumbItem } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class BreadcrumbItem extends FastBreadcrumbItem {
|
|
3
|
-
text?: string;
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
1
|
+
import { BreadcrumbItem as FastBreadcrumbItem } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class BreadcrumbItem extends FastBreadcrumbItem {
|
|
3
|
+
text?: string;
|
|
4
|
+
constructor();
|
|
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 { BreadcrumbItem } from './breadcrumb-item';
|
|
4
|
-
export declare const BreadcrumbItemTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<BreadcrumbItem>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { BreadcrumbItem } from './breadcrumb-item';
|
|
4
|
+
export declare const BreadcrumbItemTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<BreadcrumbItem>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerBreadcrumbItem: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerBreadcrumbItem: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/button/button.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
|
-
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export declare class Button extends FoundationButton {
|
|
9
|
-
connotation?: ButtonConnotation;
|
|
10
|
-
shape?: ButtonShape;
|
|
11
|
-
appearance?: ButtonAppearance;
|
|
12
|
-
size?: ButtonSize;
|
|
13
|
-
stacked: boolean;
|
|
14
|
-
pending: boolean;
|
|
15
|
-
label?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface Button extends AffixIconWithTrailing {
|
|
18
|
-
}
|
|
1
|
+
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Connotation, Shape, Size } from '../enums.js';
|
|
3
|
+
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
+
export type ButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert>;
|
|
5
|
+
export type ButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
|
|
6
|
+
export type ButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
|
|
7
|
+
export type ButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
|
|
8
|
+
export declare class Button extends FoundationButton {
|
|
9
|
+
connotation?: ButtonConnotation;
|
|
10
|
+
shape?: ButtonShape;
|
|
11
|
+
appearance?: ButtonAppearance;
|
|
12
|
+
size?: ButtonSize;
|
|
13
|
+
stacked: boolean;
|
|
14
|
+
pending: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface Button extends AffixIconWithTrailing {
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Button } from './button';
|
|
4
|
-
export declare const buttonTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Button>;
|
|
1
|
+
import { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Button } from './button';
|
|
4
|
+
export declare const buttonTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Button>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ButtonAppearance, ButtonConnotation, ButtonShape, ButtonSize } from './button';
|
|
2
|
-
export declare const registerButton: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { ButtonAppearance, ButtonConnotation, ButtonShape, ButtonSize } from './button';
|
|
2
|
+
export declare const registerButton: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/button/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Calendar extends FoundationElement {
|
|
3
|
-
#private;
|
|
4
|
-
datetime?: Date | string;
|
|
5
|
-
startDay?: 'sunday' | 'monday';
|
|
6
|
-
locales?: string | string[] | undefined;
|
|
7
|
-
hour12: boolean;
|
|
8
|
-
getEventContext: (this: Calendar, e: KeyboardEvent | MouseEvent) => import("./helpers/calendar.event-context").CalendarEventContext | null;
|
|
9
|
-
private getCalendarEventContainingCell;
|
|
10
|
-
private arrowKeysInteractions;
|
|
11
|
-
private activateElement;
|
|
12
|
-
onKeydown({ key }: KeyboardEvent): boolean;
|
|
13
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Calendar extends FoundationElement {
|
|
3
|
+
#private;
|
|
4
|
+
datetime?: Date | string;
|
|
5
|
+
startDay?: 'sunday' | 'monday';
|
|
6
|
+
locales?: string | string[] | undefined;
|
|
7
|
+
hour12: boolean;
|
|
8
|
+
getEventContext: (this: Calendar, e: KeyboardEvent | MouseEvent) => import("./helpers/calendar.event-context").CalendarEventContext | null;
|
|
9
|
+
private getCalendarEventContainingCell;
|
|
10
|
+
private arrowKeysInteractions;
|
|
11
|
+
private activateElement;
|
|
12
|
+
onKeydown({ key }: KeyboardEvent): boolean;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Calendar } from './calendar';
|
|
4
|
-
export declare const CalendarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Calendar>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Calendar } from './calendar';
|
|
4
|
+
export declare const CalendarTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Calendar>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerCalendar: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerCalendar: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getValidDateString(date: Date): string;
|
|
2
|
-
export declare function getFirstDateOfTheWeek(date: Date | undefined, startDay: 'sunday' | 'monday'): Date;
|
|
1
|
+
export declare function getValidDateString(date: Date): string;
|
|
2
|
+
export declare function getFirstDateOfTheWeek(date: Date | undefined, startDay: 'sunday' | 'monday'): Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Calendar } from '../calendar';
|
|
2
|
-
export interface CalendarEventContext {
|
|
3
|
-
day?: number;
|
|
4
|
-
hour?: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const getEventContext: (this: Calendar, e: KeyboardEvent | MouseEvent) => CalendarEventContext | null;
|
|
1
|
+
import type { Calendar } from '../calendar';
|
|
2
|
+
export interface CalendarEventContext {
|
|
3
|
+
day?: number;
|
|
4
|
+
hour?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const getEventContext: (this: Calendar, e: KeyboardEvent | MouseEvent) => CalendarEventContext | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Calendar } from '../calendar';
|
|
2
|
-
export declare const ARROW_UP = "ArrowUp";
|
|
3
|
-
export declare const ARROW_RIGHT = "ArrowRight";
|
|
4
|
-
export declare const ARROW_DOWN = "ArrowDown";
|
|
5
|
-
export declare const ARROW_LEFT = "ArrowLeft";
|
|
6
|
-
export
|
|
7
|
-
export declare function isCellOrHeader(el: unknown): el is HTMLElement;
|
|
8
|
-
export declare function getNextFocusableGridElement(this: Calendar, key: PredefindKeys, activeElement: HTMLElement): Element | null | void;
|
|
9
|
-
export declare function getHeaderDescendantGridCell(this: Calendar, key: PredefindKeys, activeElement: HTMLElement): Element | null | undefined;
|
|
1
|
+
import type { Calendar } from '../calendar';
|
|
2
|
+
export declare const ARROW_UP = "ArrowUp";
|
|
3
|
+
export declare const ARROW_RIGHT = "ArrowRight";
|
|
4
|
+
export declare const ARROW_DOWN = "ArrowDown";
|
|
5
|
+
export declare const ARROW_LEFT = "ArrowLeft";
|
|
6
|
+
export type PredefindKeys = typeof ARROW_UP | typeof ARROW_RIGHT | typeof ARROW_DOWN | typeof ARROW_LEFT;
|
|
7
|
+
export declare function isCellOrHeader(el: unknown): el is HTMLElement;
|
|
8
|
+
export declare function getNextFocusableGridElement(this: Calendar, key: PredefindKeys, activeElement: HTMLElement): Element | null | void;
|
|
9
|
+
export declare function getHeaderDescendantGridCell(this: Calendar, key: PredefindKeys, activeElement: HTMLElement): Element | null | undefined;
|
package/lib/calendar/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Appearance, Connotation } from '../enums';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export declare class CalendarEvent extends FoundationElement {
|
|
6
|
-
heading?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
connotation?: CalendarEventConnotation;
|
|
9
|
-
appearance?: CalendarEventAppearance;
|
|
10
|
-
overlapCount?: number;
|
|
11
|
-
start?: number;
|
|
12
|
-
duration?: number;
|
|
13
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Appearance, Connotation } from '../enums';
|
|
3
|
+
export type CalendarEventConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
|
|
4
|
+
export type CalendarEventAppearance = Extract<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle>;
|
|
5
|
+
export declare class CalendarEvent extends FoundationElement {
|
|
6
|
+
heading?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
connotation?: CalendarEventConnotation;
|
|
9
|
+
appearance?: CalendarEventAppearance;
|
|
10
|
+
overlapCount?: number;
|
|
11
|
+
start?: number;
|
|
12
|
+
duration?: number;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { CalendarEvent } from './calendar-event';
|
|
4
|
-
export declare const CalendarEventTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<CalendarEvent>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { CalendarEvent } from './calendar-event';
|
|
4
|
+
export declare const CalendarEventTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<CalendarEvent>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { CalendarEventAppearance, CalendarEventConnotation } from './calendar-event';
|
|
2
|
-
export declare const registerCalendarEvent: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export type { CalendarEventAppearance, CalendarEventConnotation } from './calendar-event';
|
|
2
|
+
export declare const registerCalendarEvent: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/lib/card/card.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
export declare class Card extends FoundationElement {
|
|
3
|
-
headline?: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
elevation?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
8
|
-
graphicSlottedContent?: HTMLElement[];
|
|
9
|
-
hasMetaSlottedContent?: HTMLElement[];
|
|
10
|
-
}
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare class Card extends FoundationElement {
|
|
3
|
+
headline?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
elevation?: 0 | 2 | 4 | 8 | 12 | 16 | 24;
|
|
8
|
+
graphicSlottedContent?: HTMLElement[];
|
|
9
|
+
hasMetaSlottedContent?: HTMLElement[];
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
-
import type { Card } from './card';
|
|
4
|
-
export declare const CardTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Card>;
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { Card } from './card';
|
|
4
|
+
export declare const CardTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Card>;
|
package/lib/card/definition.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const registerCard: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
1
|
+
export declare const registerCard: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
package/lib/card/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Checkbox as FoundationCheckbox } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { Connotation } from '../enums.js';
|
|
3
|
-
import { FormElement, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import { Checkbox as FoundationCheckbox } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Connotation } from '../enums.js';
|
|
3
|
+
import { type ErrorText, type FormElement, FormElementHelperText, FormElementSuccessText } from '../../shared/patterns';
|
|
4
|
+
export declare const keySpace: ' ';
|
|
5
|
+
export type CheckboxConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
|
|
6
|
+
export declare class Checkbox extends FoundationCheckbox {
|
|
7
|
+
connotation?: CheckboxConnotation;
|
|
8
|
+
}
|
|
9
|
+
export interface Checkbox extends FormElement, FormElementHelperText, ErrorText, FormElementSuccessText {
|
|
10
|
+
}
|