@fluentui/web-components 3.0.0-rc.17 → 3.0.0-rc.19
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 +24 -2
- package/custom-elements.json +26 -53
- package/dist/esm/compound-button/compound-button.template.d.ts +3 -1
- package/dist/esm/compound-button/compound-button.template.js +7 -2
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/define-all.d.ts +42 -0
- package/dist/esm/define-all.js +43 -0
- package/dist/esm/define-all.js.map +1 -0
- package/dist/esm/dialog/dialog.d.ts +37 -9
- package/dist/esm/dialog/dialog.js +87 -45
- package/dist/esm/dialog/dialog.js.map +1 -1
- package/dist/esm/dialog/dialog.template.js +5 -3
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/drawer/drawer.d.ts +36 -7
- package/dist/esm/drawer/drawer.js +74 -42
- package/dist/esm/drawer/drawer.js.map +1 -1
- package/dist/esm/drawer/drawer.template.js +5 -3
- package/dist/esm/drawer/drawer.template.js.map +1 -1
- package/dist/esm/index-all-rollup.d.ts +2 -0
- package/dist/esm/index-all-rollup.js +9 -0
- package/dist/esm/index-all-rollup.js.map +1 -0
- package/dist/esm/index-rollup.d.ts +1 -43
- package/dist/esm/index-rollup.js +6 -43
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/menu-list/menu-list.base.js +7 -1
- package/dist/esm/menu-list/menu-list.base.js.map +1 -1
- package/dist/esm/theme/index.d.ts +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/set-theme.d.ts +0 -5
- package/dist/esm/theme/set-theme.js +0 -7
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/tree/tree.base.js +3 -0
- package/dist/esm/tree/tree.base.js.map +1 -1
- package/dist/esm/tree/tree.js +1 -1
- package/dist/esm/tree/tree.js.map +1 -1
- package/dist/esm/tree/tree.template.js +1 -1
- package/dist/web-components-all.js +14970 -0
- package/dist/web-components-all.min.js +47 -0
- package/dist/web-components.d.ts +74 -22
- package/dist/web-components.js +6014 -5407
- package/dist/web-components.min.js +21 -546
- package/package.json +18 -5
package/dist/web-components.d.ts
CHANGED
|
@@ -6401,6 +6401,7 @@ export declare const CompoundButtonStyles: ElementStyles;
|
|
|
6401
6401
|
|
|
6402
6402
|
/**
|
|
6403
6403
|
* The template for the Button component.
|
|
6404
|
+
*
|
|
6404
6405
|
* @public
|
|
6405
6406
|
*/
|
|
6406
6407
|
export declare const CompoundButtonTemplate: ElementViewTemplate<CompoundButton>;
|
|
@@ -6666,7 +6667,6 @@ export declare class Dialog extends FASTElement {
|
|
|
6666
6667
|
* @public
|
|
6667
6668
|
*/
|
|
6668
6669
|
dialog: HTMLDialogElement;
|
|
6669
|
-
protected dialogChanged(): void;
|
|
6670
6670
|
/**
|
|
6671
6671
|
* The ID of the element that describes the dialog
|
|
6672
6672
|
*
|
|
@@ -6691,14 +6691,49 @@ export declare class Dialog extends FASTElement {
|
|
|
6691
6691
|
* @public
|
|
6692
6692
|
*/
|
|
6693
6693
|
type: DialogType;
|
|
6694
|
-
|
|
6694
|
+
/**
|
|
6695
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
6696
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
6697
|
+
*
|
|
6698
|
+
* @internal
|
|
6699
|
+
*/
|
|
6700
|
+
get dialogDescribedby(): string | undefined;
|
|
6701
|
+
/**
|
|
6702
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
6703
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
6704
|
+
*
|
|
6705
|
+
* @internal
|
|
6706
|
+
*/
|
|
6707
|
+
get dialogLabel(): string | null | undefined;
|
|
6708
|
+
/**
|
|
6709
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
6710
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
6711
|
+
*
|
|
6712
|
+
* @internal
|
|
6713
|
+
*/
|
|
6714
|
+
get dialogLabelledby(): string | undefined;
|
|
6715
|
+
/**
|
|
6716
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
6717
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
6718
|
+
*
|
|
6719
|
+
* @internal
|
|
6720
|
+
*/
|
|
6721
|
+
get dialogModal(): boolean | undefined;
|
|
6722
|
+
/**
|
|
6723
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
6724
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
6725
|
+
*
|
|
6726
|
+
* @internal
|
|
6727
|
+
*/
|
|
6728
|
+
get dialogRole(): string | undefined;
|
|
6729
|
+
connectedCallback(): void;
|
|
6695
6730
|
/**
|
|
6696
6731
|
* Method to emit an event before the dialog's open state changes
|
|
6697
6732
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
6698
6733
|
*
|
|
6699
6734
|
* @public
|
|
6700
6735
|
*/
|
|
6701
|
-
emitBeforeToggle
|
|
6736
|
+
emitBeforeToggle(): void;
|
|
6702
6737
|
/**
|
|
6703
6738
|
* Method to emit an event after the dialog's open state changes
|
|
6704
6739
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
@@ -6726,12 +6761,6 @@ export declare class Dialog extends FASTElement {
|
|
|
6726
6761
|
* @returns boolean
|
|
6727
6762
|
*/
|
|
6728
6763
|
clickHandler(event: Event): boolean;
|
|
6729
|
-
/**
|
|
6730
|
-
* Updates the internal dialog element's attributes based on its type.
|
|
6731
|
-
*
|
|
6732
|
-
* @internal
|
|
6733
|
-
*/
|
|
6734
|
-
protected updateDialogAttributes(): void;
|
|
6735
6764
|
}
|
|
6736
6765
|
|
|
6737
6766
|
/**
|
|
@@ -6976,7 +7005,6 @@ export declare const DividerTemplate: ElementViewTemplate<Divider>;
|
|
|
6976
7005
|
* @tag fluent-drawer
|
|
6977
7006
|
*/
|
|
6978
7007
|
export declare class Drawer extends FASTElement {
|
|
6979
|
-
protected roleAttrObserver: MutationObserver;
|
|
6980
7008
|
/**
|
|
6981
7009
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
6982
7010
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
@@ -6984,7 +7012,6 @@ export declare class Drawer extends FASTElement {
|
|
|
6984
7012
|
* @public
|
|
6985
7013
|
*/
|
|
6986
7014
|
type: DrawerType;
|
|
6987
|
-
protected typeChanged(): void;
|
|
6988
7015
|
/**
|
|
6989
7016
|
* The ID of the element that labels the drawer.
|
|
6990
7017
|
*
|
|
@@ -7004,6 +7031,7 @@ export declare class Drawer extends FASTElement {
|
|
|
7004
7031
|
* @defaultValue start
|
|
7005
7032
|
*/
|
|
7006
7033
|
position: DrawerPosition;
|
|
7034
|
+
role: string | null;
|
|
7007
7035
|
/**
|
|
7008
7036
|
* @public
|
|
7009
7037
|
* @defaultValue medium
|
|
@@ -7016,10 +7044,42 @@ export declare class Drawer extends FASTElement {
|
|
|
7016
7044
|
* @public
|
|
7017
7045
|
*/
|
|
7018
7046
|
dialog: HTMLDialogElement;
|
|
7019
|
-
/**
|
|
7047
|
+
/**
|
|
7048
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
7049
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
7050
|
+
*
|
|
7051
|
+
* @internal
|
|
7052
|
+
*/
|
|
7053
|
+
get dialogDescribedby(): string | undefined;
|
|
7054
|
+
/**
|
|
7055
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
7056
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
7057
|
+
*
|
|
7058
|
+
* @internal
|
|
7059
|
+
*/
|
|
7060
|
+
get dialogLabel(): string | null | undefined;
|
|
7061
|
+
/**
|
|
7062
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
7063
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
7064
|
+
*
|
|
7065
|
+
* @internal
|
|
7066
|
+
*/
|
|
7067
|
+
get dialogLabelledby(): string | undefined;
|
|
7068
|
+
/**
|
|
7069
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
7070
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
7071
|
+
*
|
|
7072
|
+
* @internal
|
|
7073
|
+
*/
|
|
7074
|
+
get dialogModal(): boolean | undefined;
|
|
7075
|
+
/**
|
|
7076
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
7077
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
7078
|
+
*
|
|
7079
|
+
* @internal
|
|
7080
|
+
*/
|
|
7081
|
+
get dialogRole(): string | null;
|
|
7020
7082
|
connectedCallback(): void;
|
|
7021
|
-
/** @internal */
|
|
7022
|
-
disconnectedCallback(): void;
|
|
7023
7083
|
/**
|
|
7024
7084
|
* Method to emit an event after the dialog's open state changes
|
|
7025
7085
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
@@ -7059,8 +7119,6 @@ export declare class Drawer extends FASTElement {
|
|
|
7059
7119
|
* @public
|
|
7060
7120
|
*/
|
|
7061
7121
|
cancelHandler(): void;
|
|
7062
|
-
protected observeRoleAttr(): void;
|
|
7063
|
-
protected updateDialogRole(): void;
|
|
7064
7122
|
}
|
|
7065
7123
|
|
|
7066
7124
|
/**
|
|
@@ -9407,12 +9465,6 @@ export declare const roleForMenuItem: {
|
|
|
9407
9465
|
*/
|
|
9408
9466
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
9409
9467
|
|
|
9410
|
-
/**
|
|
9411
|
-
* @internal
|
|
9412
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
9413
|
-
*/
|
|
9414
|
-
export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
|
|
9415
|
-
|
|
9416
9468
|
/**
|
|
9417
9469
|
* CSS custom property value for the {@link @fluentui/tokens#shadow16 | `shadow16`} design token.
|
|
9418
9470
|
* @public
|