@fluentui/web-components 3.0.0-beta.71 → 3.0.0-beta.73
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/CHANGELOG.md +20 -2
- package/dist/dts/accordion/accordion.template.d.ts +1 -1
- package/dist/dts/accordion-item/accordion-item.d.ts +2 -2
- package/dist/dts/accordion-item/accordion-item.template.d.ts +1 -1
- package/dist/dts/anchor-button/anchor-button.d.ts +2 -2
- package/dist/dts/anchor-button/anchor-button.options.d.ts +1 -1
- package/dist/dts/anchor-button/anchor-button.template.d.ts +1 -1
- package/dist/dts/avatar/avatar.d.ts +1 -1
- package/dist/dts/avatar/avatar.template.d.ts +1 -1
- package/dist/dts/badge/badge.options.d.ts +1 -1
- package/dist/dts/badge/badge.template.d.ts +1 -1
- package/dist/dts/button/button.d.ts +1 -2
- package/dist/dts/button/button.options.d.ts +1 -1
- package/dist/dts/button/button.template.d.ts +2 -2
- package/dist/dts/compound-button/compound-button.options.d.ts +1 -1
- package/dist/dts/compound-button/compound-button.template.d.ts +1 -1
- package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
- package/dist/dts/counter-badge/counter-badge.template.d.ts +2 -2
- package/dist/dts/dialog/dialog.template.d.ts +1 -1
- package/dist/dts/dialog-body/dialog-body.template.d.ts +1 -1
- package/dist/dts/divider/divider.d.ts +1 -1
- package/dist/dts/divider/divider.template.d.ts +1 -1
- package/dist/dts/drawer/drawer.template.d.ts +1 -1
- package/dist/dts/drawer-body/drawer-body.template.d.ts +1 -1
- package/dist/dts/field/field.d.ts +1 -1
- package/dist/dts/field/field.template.d.ts +1 -1
- package/dist/dts/image/image.template.d.ts +1 -1
- package/dist/dts/index-rollup.d.ts +1 -0
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/label/label.template.d.ts +2 -2
- package/dist/dts/link/link.d.ts +1 -1
- package/dist/dts/link/link.template.d.ts +1 -1
- package/dist/dts/menu/menu.d.ts +1 -1
- package/dist/dts/menu/menu.template.d.ts +1 -1
- package/dist/dts/menu-button/menu-button.template.d.ts +1 -1
- package/dist/dts/menu-item/menu-item.d.ts +1 -1
- package/dist/dts/menu-list/menu-list.template.d.ts +1 -1
- package/dist/dts/message-bar/message-bar.template.d.ts +1 -1
- package/dist/dts/patterns/start-end.d.ts +1 -1
- package/dist/dts/radio/radio.template.d.ts +1 -1
- package/dist/dts/radio-group/radio-group.template.d.ts +1 -1
- package/dist/dts/rating-display/rating-display.template.d.ts +1 -1
- package/dist/dts/slider/slider.d.ts +3 -3
- package/dist/dts/spinner/spinner.d.ts +1 -1
- package/dist/dts/spinner/spinner.template.d.ts +1 -1
- package/dist/dts/switch/switch.template.d.ts +2 -2
- package/dist/dts/tab/tab.d.ts +2 -1
- package/dist/dts/tab/tab.template.d.ts +1 -1
- package/dist/dts/tab-panel/tab-panel.template.d.ts +2 -2
- package/dist/dts/tablist/tablist.template.d.ts +1 -1
- package/dist/dts/tabs/tabs.d.ts +1 -1
- package/dist/dts/tabs/tabs.options.d.ts +2 -2
- package/dist/dts/tabs/tabs.template.d.ts +3 -3
- package/dist/dts/text/text.d.ts +1 -1
- package/dist/dts/text/text.template.d.ts +1 -1
- package/dist/dts/text-input/text-input.d.ts +1 -2
- package/dist/dts/textarea/textarea.template.d.ts +1 -1
- package/dist/dts/toggle-button/toggle-button.template.d.ts +1 -1
- package/dist/dts/tooltip/define.d.ts +1 -0
- package/dist/dts/tooltip/index.d.ts +5 -0
- package/dist/dts/tooltip/tooltip.d.ts +88 -0
- package/dist/dts/tooltip/tooltip.definition.d.ts +9 -0
- package/dist/dts/tooltip/tooltip.options.d.ts +24 -0
- package/dist/dts/tooltip/tooltip.styles.d.ts +5 -0
- package/dist/dts/tooltip/tooltip.template.d.ts +6 -0
- package/dist/dts/utils/element-internals.d.ts +23 -1
- package/dist/dts/utils/template-helpers.d.ts +1 -2
- package/dist/esm/accordion/accordion.template.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.js +4 -13
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.js +5 -20
- package/dist/esm/anchor-button/anchor-button.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
- package/dist/esm/avatar/avatar.js +3 -5
- package/dist/esm/avatar/avatar.js.map +1 -1
- package/dist/esm/avatar/avatar.template.js.map +1 -1
- package/dist/esm/badge/badge.js +6 -27
- package/dist/esm/badge/badge.js.map +1 -1
- package/dist/esm/badge/badge.template.js.map +1 -1
- package/dist/esm/button/button.js +6 -22
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/button.template.js.map +1 -1
- package/dist/esm/checkbox/checkbox.js +5 -15
- package/dist/esm/checkbox/checkbox.js.map +1 -1
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.js +6 -26
- package/dist/esm/counter-badge/counter-badge.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.template.js.map +1 -1
- package/dist/esm/divider/divider.js +6 -21
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/divider/divider.template.js.map +1 -1
- package/dist/esm/drawer/drawer.template.js.map +1 -1
- package/dist/esm/drawer-body/drawer-body.template.js.map +1 -1
- package/dist/esm/field/field.js.map +1 -1
- package/dist/esm/field/field.template.js.map +1 -1
- package/dist/esm/image/image.js +4 -13
- package/dist/esm/image/image.js.map +1 -1
- package/dist/esm/image/image.template.js.map +1 -1
- package/dist/esm/index-rollup.js +1 -0
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/label.js +4 -13
- package/dist/esm/label/label.js.map +1 -1
- package/dist/esm/label/label.template.js.map +1 -1
- package/dist/esm/link/link.js +3 -7
- package/dist/esm/link/link.js.map +1 -1
- package/dist/esm/link/link.template.js.map +1 -1
- package/dist/esm/menu/menu.js +0 -3
- package/dist/esm/menu/menu.js.map +1 -1
- package/dist/esm/menu/menu.template.js.map +1 -1
- package/dist/esm/menu-button/menu-button.template.js.map +1 -1
- package/dist/esm/menu-item/menu-item.js +0 -7
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/menu-item/menu-item.template.js +1 -3
- package/dist/esm/menu-item/menu-item.template.js.map +1 -1
- package/dist/esm/menu-list/menu-list.js +1 -2
- package/dist/esm/menu-list/menu-list.js.map +1 -1
- package/dist/esm/menu-list/menu-list.template.js.map +1 -1
- package/dist/esm/message-bar/message-bar.js +5 -19
- package/dist/esm/message-bar/message-bar.js.map +1 -1
- package/dist/esm/message-bar/message-bar.template.js.map +1 -1
- package/dist/esm/patterns/start-end.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.js +5 -19
- package/dist/esm/progress-bar/progress-bar.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
- package/dist/esm/radio/radio.template.js.map +1 -1
- package/dist/esm/radio-group/radio-group.js +1 -2
- package/dist/esm/radio-group/radio-group.js.map +1 -1
- package/dist/esm/radio-group/radio-group.template.js.map +1 -1
- package/dist/esm/rating-display/rating-display.js +4 -9
- package/dist/esm/rating-display/rating-display.js.map +1 -1
- package/dist/esm/rating-display/rating-display.template.js.map +1 -1
- package/dist/esm/slider/slider.js +5 -16
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/spinner/spinner.js +4 -13
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/switch/switch.template.js.map +1 -1
- package/dist/esm/tab/tab.js +1 -1
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tab/tab.template.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
- package/dist/esm/tablist/tablist.js +6 -22
- package/dist/esm/tablist/tablist.js.map +1 -1
- package/dist/esm/tabs/tabs.js.map +1 -1
- package/dist/esm/tabs/tabs.template.js.map +1 -1
- package/dist/esm/text/text.js +6 -25
- package/dist/esm/text/text.js.map +1 -1
- package/dist/esm/text/text.template.js.map +1 -1
- package/dist/esm/text-input/text-input.js +5 -16
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/textarea/textarea.js +10 -23
- package/dist/esm/textarea/textarea.js.map +1 -1
- package/dist/esm/textarea/textarea.template.js.map +1 -1
- package/dist/esm/tooltip/define.js +4 -0
- package/dist/esm/tooltip/define.js.map +1 -0
- package/dist/esm/tooltip/index.js +6 -0
- package/dist/esm/tooltip/index.js.map +1 -0
- package/dist/esm/tooltip/tooltip.definition.js +17 -0
- package/dist/esm/tooltip/tooltip.definition.js.map +1 -0
- package/dist/esm/tooltip/tooltip.js +188 -0
- package/dist/esm/tooltip/tooltip.js.map +1 -0
- package/dist/esm/tooltip/tooltip.options.js +19 -0
- package/dist/esm/tooltip/tooltip.options.js.map +1 -0
- package/dist/esm/tooltip/tooltip.styles.js +95 -0
- package/dist/esm/tooltip/tooltip.styles.js.map +1 -0
- package/dist/esm/tooltip/tooltip.template.js +11 -0
- package/dist/esm/tooltip/tooltip.template.js.map +1 -0
- package/dist/esm/utils/element-internals.js +45 -0
- package/dist/esm/utils/element-internals.js.map +1 -1
- package/dist/esm/utils/template-helpers.js +1 -1
- package/dist/esm/utils/template-helpers.js.map +1 -1
- package/dist/web-components.d.ts +130 -6
- package/dist/web-components.js +1134 -940
- package/dist/web-components.min.js +343 -330
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 07 Nov 2024 04:07:30 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-beta.73](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.73)
|
|
8
|
+
|
|
9
|
+
Thu, 07 Nov 2024 04:07:30 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.72..@fluentui/web-components_v3.0.0-beta.73)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- feat: add Tooltip component ([PR #32852](https://github.com/microsoft/fluentui/pull/32852) by rupertdavid@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## [3.0.0-beta.72](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.72)
|
|
17
|
+
|
|
18
|
+
Wed, 30 Oct 2024 04:06:53 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.71..@fluentui/web-components_v3.0.0-beta.72)
|
|
20
|
+
|
|
21
|
+
### Changes
|
|
22
|
+
|
|
23
|
+
- add swapStates function for attribute-driven internal states ([PR #33156](https://github.com/microsoft/fluentui/pull/33156) by 863023+radium-v@users.noreply.github.com)
|
|
24
|
+
|
|
7
25
|
## [3.0.0-beta.71](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.71)
|
|
8
26
|
|
|
9
|
-
Tue, 29 Oct 2024 04:06:
|
|
27
|
+
Tue, 29 Oct 2024 04:06:49 GMT
|
|
10
28
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.70..@fluentui/web-components_v3.0.0-beta.71)
|
|
11
29
|
|
|
12
30
|
### Changes
|
|
@@ -101,7 +101,7 @@ export declare class AccordionItem extends BaseAccordionItem {
|
|
|
101
101
|
* @param prev - previous value
|
|
102
102
|
* @param next - next value
|
|
103
103
|
*/
|
|
104
|
-
sizeChanged(prev: AccordionItemSize, next: AccordionItemSize): void;
|
|
104
|
+
sizeChanged(prev: AccordionItemSize | undefined, next: AccordionItemSize | undefined): void;
|
|
105
105
|
/**
|
|
106
106
|
* Sets expand and collapsed icon position.
|
|
107
107
|
*
|
|
@@ -115,7 +115,7 @@ export declare class AccordionItem extends BaseAccordionItem {
|
|
|
115
115
|
* @param prev - previous value
|
|
116
116
|
* @param next - next value
|
|
117
117
|
*/
|
|
118
|
-
markerPositionChanged(prev: AccordionItemMarkerPosition, next: AccordionItemMarkerPosition): void;
|
|
118
|
+
markerPositionChanged(prev: AccordionItemMarkerPosition | undefined, next: AccordionItemMarkerPosition | undefined): void;
|
|
119
119
|
/**
|
|
120
120
|
* Sets the width of the focus state.
|
|
121
121
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { AccordionItem, AccordionItemOptions } from './accordion-item.js';
|
|
3
3
|
export declare function accordionItemTemplate<T extends AccordionItem>(options?: AccordionItemOptions): ElementViewTemplate<T>;
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import { StartEnd } from '../patterns/index.js';
|
|
3
2
|
import type { StartEndOptions } from '../patterns/index.js';
|
|
4
|
-
import {
|
|
3
|
+
import { StartEnd } from '../patterns/index.js';
|
|
4
|
+
import { AnchorButtonAppearance, AnchorButtonShape, AnchorButtonSize, type AnchorTarget } from './anchor-button.options.js';
|
|
5
5
|
/**
|
|
6
6
|
* Anchor configuration options
|
|
7
7
|
* @public
|
|
@@ -43,7 +43,7 @@ export declare const AnchorButtonSize: {
|
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
45
|
export type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
|
|
46
|
-
export { AnchorOptions as AnchorButtonOptions };
|
|
46
|
+
export type { AnchorOptions as AnchorButtonOptions };
|
|
47
47
|
/**
|
|
48
48
|
* Anchor target values.
|
|
49
49
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate, ViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate, type ViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { AnchorButton, AnchorOptions } from './anchor-button.js';
|
|
3
3
|
/**
|
|
4
4
|
* The template for the Button component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import { AvatarActive, AvatarAppearance, AvatarColor, AvatarNamedColor, AvatarShape, AvatarSize } from './avatar.options.js';
|
|
2
|
+
import { type AvatarActive, type AvatarAppearance, AvatarColor, AvatarNamedColor, type AvatarShape, type AvatarSize } from './avatar.options.js';
|
|
3
3
|
/**
|
|
4
4
|
* The base class used for constructing a fluent-avatar custom element
|
|
5
5
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { StartEnd } from '../patterns/index.js';
|
|
3
|
-
import
|
|
4
|
-
import { ButtonType } from './button.options.js';
|
|
3
|
+
import { ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType } from './button.options.js';
|
|
5
4
|
/**
|
|
6
5
|
* A Button Custom HTML Element.
|
|
7
6
|
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | `<button>`} element.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { Button } from './button.js';
|
|
3
|
-
import { ButtonOptions } from './button.options.js';
|
|
3
|
+
import type { ButtonOptions } from './button.options.js';
|
|
4
4
|
/**
|
|
5
5
|
* Generates a template for the Button component.
|
|
6
6
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { CompoundButton } from './compound-button.js';
|
|
3
3
|
import type { CompoundButtonOptions } from './compound-button.options.js';
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { CounterBadge } from './counter-badge.js';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { CounterBadge } from './counter-badge.js';
|
|
3
3
|
/**
|
|
4
4
|
* The template for the Counter Badge component.
|
|
5
5
|
* @public
|
|
@@ -45,7 +45,7 @@ export declare class BaseDivider extends FASTElement {
|
|
|
45
45
|
* @param next - the current orientation value
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
orientationChanged(previous:
|
|
48
|
+
orientationChanged(previous: DividerRole | undefined, next: DividerRole | undefined): void;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* A Divider Custom HTML Element.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { Divider } from './divider.js';
|
|
3
3
|
export declare function dividerTemplate<T extends Divider>(): ElementViewTemplate<T>;
|
|
4
4
|
/**
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export * from './theme/design-tokens.js';
|
|
|
55
55
|
export { setTheme, setThemeFor, type Theme } from './theme/index.js';
|
|
56
56
|
export { ToggleButton, ToggleButtonAppearance, ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, ToggleButtonStyles, ToggleButtonTemplate, } from './toggle-button/index.js';
|
|
57
57
|
export type { ToggleButtonOptions } from './toggle-button/index.js';
|
|
58
|
+
export { Tooltip, TooltipDefinition, TooltipPositioningOption, TooltipStyles, TooltipTemplate, } from './tooltip/index.js';
|
|
58
59
|
export { darkModeStylesheetBehavior, forcedColorsStylesheetBehavior, lightModeStylesheetBehavior, MatchMediaBehavior, MatchMediaStyleSheetBehavior, } from './utils/behaviors/match-media-stylesheet-behavior.js';
|
|
59
60
|
export type { MediaQueryListListener } from './utils/behaviors/match-media-stylesheet-behavior.js';
|
|
60
61
|
export { getDirection } from './utils/direction.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { Label } from './label.js';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { Label } from './label.js';
|
|
3
3
|
/**
|
|
4
4
|
* The template for the Fluent label web-component.
|
|
5
5
|
* @public
|
package/dist/dts/link/link.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseAnchor } from '../anchor-button/anchor-button.js';
|
|
2
|
-
import {
|
|
2
|
+
import { LinkAppearance } from './link.options.js';
|
|
3
3
|
/**
|
|
4
4
|
* An Anchor Custom HTML Element.
|
|
5
5
|
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
|
package/dist/dts/menu/menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { Menu } from './menu.js';
|
|
3
3
|
export declare function menuTemplate<T extends Menu>(): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<Menu>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementsFilter, FASTElement } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementsFilter, FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import type { StartEndOptions } from '../patterns/start-end.js';
|
|
3
3
|
import { StartEnd } from '../patterns/start-end.js';
|
|
4
4
|
import type { StaticallyComposableHTML } from '../utils/template-helpers.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { MenuList } from './menu-list.js';
|
|
3
3
|
export declare function menuTemplate<T extends MenuList>(): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<MenuList>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { RadioGroup } from './radio-group.js';
|
|
3
3
|
export declare function radioGroupTemplate<T extends RadioGroup>(): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<RadioGroup>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { Direction, Orientation } from '@microsoft/fast-web-utilities';
|
|
3
|
-
import { SliderConfiguration, SliderMode, SliderSize } from './slider.options.js';
|
|
3
|
+
import { type SliderConfiguration, SliderMode, SliderSize } from './slider.options.js';
|
|
4
4
|
/**
|
|
5
5
|
* The base class used for constructing a fluent-slider custom element
|
|
6
6
|
*
|
|
@@ -38,7 +38,7 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
38
38
|
* HTML Attribute: size
|
|
39
39
|
*/
|
|
40
40
|
size?: SliderSize;
|
|
41
|
-
protected sizeChanged(prev:
|
|
41
|
+
protected sizeChanged(prev: SliderSize | undefined, next: SliderSize | undefined): void;
|
|
42
42
|
handleChange(_: any, propertyName: string): void;
|
|
43
43
|
private stepStyles?;
|
|
44
44
|
/**
|
|
@@ -277,7 +277,7 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
|
|
|
277
277
|
* apply different behavior when it’s vertical.
|
|
278
278
|
*/
|
|
279
279
|
orientation?: Orientation;
|
|
280
|
-
protected orientationChanged(prev:
|
|
280
|
+
protected orientationChanged(prev: Orientation | undefined, next: Orientation | undefined): void;
|
|
281
281
|
/**
|
|
282
282
|
* The selection mode.
|
|
283
283
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import
|
|
2
|
+
import { SpinnerAppearance, SpinnerSize } from './spinner.options.js';
|
|
3
3
|
/**
|
|
4
4
|
* The base class used for constructing a fluent-spinner custom element
|
|
5
5
|
* @public
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Spinner } from './spinner.js';
|
|
1
|
+
import type { Spinner } from './spinner.js';
|
|
2
2
|
export declare const template: import("@microsoft/fast-element").ViewTemplate<Spinner, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { Switch, SwitchOptions } from './switch.js';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { Switch, SwitchOptions } from './switch.js';
|
|
3
3
|
export declare function switchTemplate<T extends Switch>(options?: SwitchOptions): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<Switch>;
|
package/dist/dts/tab/tab.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import {
|
|
2
|
+
import type { StartEndOptions } from '../patterns/start-end.js';
|
|
3
|
+
import { StartEnd } from '../patterns/start-end.js';
|
|
3
4
|
/**
|
|
4
5
|
* Tab configuration options
|
|
5
6
|
* @public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
2
|
import type { Tab, TabOptions } from './tab.js';
|
|
3
3
|
export declare function tabTemplate<T extends Tab>(options?: TabOptions): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<Tab, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { TabPanel } from './tab-panel.js';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { TabPanel } from './tab-panel.js';
|
|
3
3
|
export declare function tabPanelTemplate<T extends TabPanel>(): ElementViewTemplate<T>;
|
|
4
4
|
export declare const template: ElementViewTemplate<TabPanel, any>;
|
package/dist/dts/tabs/tabs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { StartEnd } from '../patterns/index.js';
|
|
3
|
-
import { TabsAppearance, TabsOrientation, TabsSize } from './tabs.options.js';
|
|
3
|
+
import { TabsAppearance, TabsOrientation, type TabsSize } from './tabs.options.js';
|
|
4
4
|
/**
|
|
5
5
|
* A Tabs component that wraps a collection of tab and tab panel elements.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { StartEndOptions } from '../patterns/
|
|
1
|
+
import type { StartEndOptions } from '../patterns/start-end.js';
|
|
2
2
|
import type { ValuesOf } from '../utils/index.js';
|
|
3
|
-
import { Tabs } from './tabs.js';
|
|
3
|
+
import type { Tabs } from './tabs.js';
|
|
4
4
|
export declare const TabsAppearance: {
|
|
5
5
|
readonly subtle: "subtle";
|
|
6
6
|
readonly transparent: "transparent";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { Tabs } from './tabs.js';
|
|
3
|
-
import { TabsOptions } from './tabs.options.js';
|
|
1
|
+
import { type ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { Tabs } from './tabs.js';
|
|
3
|
+
import type { TabsOptions } from './tabs.options.js';
|
|
4
4
|
export declare function tabsTemplate<T extends Tabs>(options?: TabsOptions): ElementViewTemplate<T>;
|
|
5
5
|
export declare const template: ElementViewTemplate<Tabs, any>;
|
package/dist/dts/text/text.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import
|
|
2
|
+
import { TextAlign, TextFont, TextSize, TextWeight } from './text.options.js';
|
|
3
3
|
/**
|
|
4
4
|
* The base class used for constructing a fluent-text custom element
|
|
5
5
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FASTElement } from '@microsoft/fast-element';
|
|
2
2
|
import { StartEnd } from '../patterns/start-end.js';
|
|
3
|
-
import
|
|
4
|
-
import { TextInputAppearance, TextInputType } from './text-input.options.js';
|
|
3
|
+
import { TextInputAppearance, TextInputControlSize, TextInputType } from './text-input.options.js';
|
|
5
4
|
/**
|
|
6
5
|
* A Text Input Custom HTML Element.
|
|
7
6
|
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input | `<input>`} element.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { definition as TooltipDefinition } from './tooltip.definition.js';
|
|
2
|
+
export { Tooltip } from './tooltip.js';
|
|
3
|
+
export { TooltipPositioningOption } from './tooltip.options.js';
|
|
4
|
+
export { styles as TooltipStyles } from './tooltip.styles.js';
|
|
5
|
+
export { template as TooltipTemplate } from './tooltip.template.js';
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
+
import type { TooltipPositioningOption } from './tooltip.options.js';
|
|
3
|
+
/**
|
|
4
|
+
* A Tooltip Custom HTML Element.
|
|
5
|
+
* Based on ARIA APG Tooltip Pattern {@link https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/ }
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class Tooltip extends FASTElement {
|
|
9
|
+
/**
|
|
10
|
+
* The attached element internals
|
|
11
|
+
*/
|
|
12
|
+
elementInternals: ElementInternals;
|
|
13
|
+
/**
|
|
14
|
+
* The item ID
|
|
15
|
+
*
|
|
16
|
+
* @public
|
|
17
|
+
* @remarks
|
|
18
|
+
* HTML Attribute: id
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Set the delay for the tooltip
|
|
23
|
+
*/
|
|
24
|
+
delay?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The default delay for the tooltip
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
private defaultDelay;
|
|
30
|
+
/**
|
|
31
|
+
* Set the positioning of the tooltip
|
|
32
|
+
*/
|
|
33
|
+
positioning?: TooltipPositioningOption;
|
|
34
|
+
/**
|
|
35
|
+
* The id of the anchor element for the tooltip
|
|
36
|
+
*/
|
|
37
|
+
anchor: string;
|
|
38
|
+
/**
|
|
39
|
+
* Reference to the anchor element
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
private get anchorElement();
|
|
43
|
+
/**
|
|
44
|
+
* Reference to the anchor positioning style element
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
protected anchorPositioningStyleElement: HTMLStyleElement | null;
|
|
48
|
+
constructor();
|
|
49
|
+
connectedCallback(): void;
|
|
50
|
+
disconnectedCallback(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Shows the tooltip
|
|
53
|
+
* @param delay Number of milliseconds to delay showing the tooltip
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
showTooltip(delay?: number): void;
|
|
57
|
+
/**
|
|
58
|
+
* Hide the tooltip
|
|
59
|
+
* @param delay Number of milliseconds to delay hiding the tooltip
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
hideTooltip(delay?: number): void;
|
|
63
|
+
/**
|
|
64
|
+
* Show the tooltip on mouse enter
|
|
65
|
+
*/
|
|
66
|
+
mouseenterAnchorHandler: () => void;
|
|
67
|
+
/**
|
|
68
|
+
* Hide the tooltip on mouse leave
|
|
69
|
+
*/
|
|
70
|
+
mouseleaveAnchorHandler: () => void;
|
|
71
|
+
/**
|
|
72
|
+
* Show the tooltip on focus
|
|
73
|
+
*/
|
|
74
|
+
focusAnchorHandler: () => void;
|
|
75
|
+
/**
|
|
76
|
+
* Hide the tooltip on blur
|
|
77
|
+
*/
|
|
78
|
+
blurAnchorHandler: () => void;
|
|
79
|
+
}
|
|
80
|
+
declare global {
|
|
81
|
+
interface Window {
|
|
82
|
+
CSS_ANCHOR_POLYFILL?: {
|
|
83
|
+
call: (options: {
|
|
84
|
+
element: HTMLStyleElement;
|
|
85
|
+
}) => void;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|