@fluentui/web-components 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +61 -1
- package/CHANGELOG.md +29 -2
- package/dist/dts/custom-elements.d.ts +34 -2
- package/dist/dts/text-area/index.d.ts +17 -1
- package/dist/dts/text-area/text-area.stories.d.ts +17 -1
- package/dist/dts/text-field/index.d.ts +17 -1
- package/dist/dts/text-field/text-field.stories.d.ts +17 -1
- package/dist/esm/combobox/index.js +3 -0
- package/dist/esm/design-tokens.js +1 -1
- package/dist/fluent-web-components.api.json +383 -23
- package/dist/web-components.d.ts +70 -4
- package/dist/web-components.js +1372 -490
- package/dist/web-components.min.js +152 -152
- package/docs/api-report.md +73 -7
- package/package.json +5 -5
package/docs/api-report.md
CHANGED
|
@@ -41,6 +41,7 @@ import { FlipperOptions } from '@microsoft/fast-foundation';
|
|
|
41
41
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
42
42
|
import { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
43
43
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
|
44
|
+
import { FoundationElementTemplate } from '@microsoft/fast-foundation';
|
|
44
45
|
import { HorizontalScroll as HorizontalScroll_2 } from '@microsoft/fast-foundation';
|
|
45
46
|
import { HorizontalScrollOptions } from '@microsoft/fast-foundation';
|
|
46
47
|
import { Listbox as Listbox_2 } from '@microsoft/fast-foundation';
|
|
@@ -71,6 +72,7 @@ import { TabPanel } from '@microsoft/fast-foundation';
|
|
|
71
72
|
import { Tabs } from '@microsoft/fast-foundation';
|
|
72
73
|
import { TextArea as TextArea_2 } from '@microsoft/fast-foundation';
|
|
73
74
|
import { TextField as TextField_2 } from '@microsoft/fast-foundation';
|
|
75
|
+
import { TextFieldOptions } from '@microsoft/fast-foundation';
|
|
74
76
|
import { Toolbar as Toolbar_2 } from '@microsoft/fast-foundation';
|
|
75
77
|
import { Tooltip as Tooltip_2 } from '@microsoft/fast-foundation';
|
|
76
78
|
import { TreeItem } from '@microsoft/fast-foundation';
|
|
@@ -222,8 +224,40 @@ export const allComponents: {
|
|
|
222
224
|
fluentTabs: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Tabs>;
|
|
223
225
|
fluentTab: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Tab>;
|
|
224
226
|
fluentTabPanel: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, TabPanel>;
|
|
225
|
-
fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition<
|
|
226
|
-
|
|
227
|
+
fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
228
|
+
baseName: string;
|
|
229
|
+
baseClass: TextArea_2;
|
|
230
|
+
template: FoundationElementTemplate<ViewTemplate<TextArea_2, any>, FoundationElementDefinition>;
|
|
231
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
232
|
+
shadowOptions: {
|
|
233
|
+
delegatesFocus: true;
|
|
234
|
+
};
|
|
235
|
+
}> | undefined) => FoundationElementRegistry< {
|
|
236
|
+
baseName: string;
|
|
237
|
+
baseClass: TextArea_2;
|
|
238
|
+
template: FoundationElementTemplate<ViewTemplate<TextArea_2, any>, FoundationElementDefinition>;
|
|
239
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
240
|
+
shadowOptions: {
|
|
241
|
+
delegatesFocus: true;
|
|
242
|
+
};
|
|
243
|
+
}, TextArea>;
|
|
244
|
+
fluentTextField: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
245
|
+
baseName: string;
|
|
246
|
+
baseClass: TextField_2;
|
|
247
|
+
template: FoundationElementTemplate<ViewTemplate<TextField_2, any>, TextFieldOptions>;
|
|
248
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
249
|
+
shadowOptions: {
|
|
250
|
+
delegatesFocus: true;
|
|
251
|
+
};
|
|
252
|
+
}> | undefined) => FoundationElementRegistry< {
|
|
253
|
+
baseName: string;
|
|
254
|
+
baseClass: TextField_2;
|
|
255
|
+
template: FoundationElementTemplate<ViewTemplate<TextField_2, any>, TextFieldOptions>;
|
|
256
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
257
|
+
shadowOptions: {
|
|
258
|
+
delegatesFocus: true;
|
|
259
|
+
};
|
|
260
|
+
}, TextField>;
|
|
227
261
|
fluentToolbar: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Toolbar>;
|
|
228
262
|
fluentTooltip: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Tooltip>;
|
|
229
263
|
fluentTreeView: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, TreeView>;
|
|
@@ -682,12 +716,44 @@ export const fluentTabs: (overrideDefinition?: OverrideFoundationElementDefiniti
|
|
|
682
716
|
// Warning: (ae-incompatible-release-tags) The symbol "fluentTextArea" is marked as @public, but its signature references "TextArea" which is marked as @internal
|
|
683
717
|
//
|
|
684
718
|
// @public
|
|
685
|
-
export const fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition<
|
|
719
|
+
export const fluentTextArea: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
720
|
+
baseName: string;
|
|
721
|
+
baseClass: typeof TextArea_2;
|
|
722
|
+
template: FoundationElementTemplate<ViewTemplate<TextArea_2, any>, FoundationElementDefinition>;
|
|
723
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
724
|
+
shadowOptions: {
|
|
725
|
+
delegatesFocus: true;
|
|
726
|
+
};
|
|
727
|
+
}> | undefined) => FoundationElementRegistry< {
|
|
728
|
+
baseName: string;
|
|
729
|
+
baseClass: typeof TextArea_2;
|
|
730
|
+
template: FoundationElementTemplate<ViewTemplate<TextArea_2, any>, FoundationElementDefinition>;
|
|
731
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
732
|
+
shadowOptions: {
|
|
733
|
+
delegatesFocus: true;
|
|
734
|
+
};
|
|
735
|
+
}, typeof TextArea>;
|
|
686
736
|
|
|
687
737
|
// Warning: (ae-incompatible-release-tags) The symbol "fluentTextField" is marked as @public, but its signature references "TextField" which is marked as @internal
|
|
688
738
|
//
|
|
689
739
|
// @public
|
|
690
|
-
export const fluentTextField: (overrideDefinition?: OverrideFoundationElementDefinition<
|
|
740
|
+
export const fluentTextField: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
|
741
|
+
baseName: string;
|
|
742
|
+
baseClass: typeof TextField_2;
|
|
743
|
+
template: FoundationElementTemplate<ViewTemplate<TextField_2, any>, TextFieldOptions>;
|
|
744
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
745
|
+
shadowOptions: {
|
|
746
|
+
delegatesFocus: true;
|
|
747
|
+
};
|
|
748
|
+
}> | undefined) => FoundationElementRegistry< {
|
|
749
|
+
baseName: string;
|
|
750
|
+
baseClass: typeof TextField_2;
|
|
751
|
+
template: FoundationElementTemplate<ViewTemplate<TextField_2, any>, TextFieldOptions>;
|
|
752
|
+
styles: (context: any, definition: any) => ElementStyles;
|
|
753
|
+
shadowOptions: {
|
|
754
|
+
delegatesFocus: true;
|
|
755
|
+
};
|
|
756
|
+
}, typeof TextField>;
|
|
691
757
|
|
|
692
758
|
// Warning: (ae-incompatible-release-tags) The symbol "fluentToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal
|
|
693
759
|
//
|
|
@@ -1657,9 +1723,9 @@ export const typeRampPlus6LineHeight: CSSDesignToken<string>;
|
|
|
1657
1723
|
// dist/dts/custom-elements.d.ts:53:5 - (ae-incompatible-release-tags) The symbol "fluentBadge" is marked as @public, but its signature references "Badge" which is marked as @internal
|
|
1658
1724
|
// dist/dts/custom-elements.d.ts:56:5 - (ae-incompatible-release-tags) The symbol "fluentButton" is marked as @public, but its signature references "Button" which is marked as @internal
|
|
1659
1725
|
// dist/dts/custom-elements.d.ts:95:5 - (ae-incompatible-release-tags) The symbol "fluentTextArea" is marked as @public, but its signature references "TextArea" which is marked as @internal
|
|
1660
|
-
// dist/dts/custom-elements.d.ts:
|
|
1661
|
-
// dist/dts/custom-elements.d.ts:
|
|
1662
|
-
// dist/dts/custom-elements.d.ts:
|
|
1726
|
+
// dist/dts/custom-elements.d.ts:112:5 - (ae-incompatible-release-tags) The symbol "fluentTextField" is marked as @public, but its signature references "TextField" which is marked as @internal
|
|
1727
|
+
// dist/dts/custom-elements.d.ts:129:5 - (ae-incompatible-release-tags) The symbol "fluentToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal
|
|
1728
|
+
// dist/dts/custom-elements.d.ts:130:5 - (ae-incompatible-release-tags) The symbol "fluentTooltip" is marked as @public, but its signature references "Tooltip" which is marked as @internal
|
|
1663
1729
|
|
|
1664
1730
|
// (No @packageDocumentation comment for this package)
|
|
1665
1731
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.3.0",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft",
|
|
8
8
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"webpack": "^4.43.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@microsoft/fast-colors": "^5.1.
|
|
90
|
-
"@microsoft/fast-element": "^1.
|
|
91
|
-
"@microsoft/fast-foundation": "^2.
|
|
92
|
-
"@microsoft/fast-web-utilities": "^5.
|
|
89
|
+
"@microsoft/fast-colors": "^5.1.5",
|
|
90
|
+
"@microsoft/fast-element": "^1.7.2",
|
|
91
|
+
"@microsoft/fast-foundation": "^2.33.6",
|
|
92
|
+
"@microsoft/fast-web-utilities": "^5.1.0",
|
|
93
93
|
"tslib": "^1.13.0"
|
|
94
94
|
}
|
|
95
95
|
}
|