@fluentui/web-components 2.1.3 → 2.2.3
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 +76 -1
- package/CHANGELOG.md +38 -2
- package/dist/dts/component-definitions.d.ts +2 -1
- package/dist/dts/custom-elements.d.ts +4 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/listbox/index.d.ts +3 -6
- package/dist/dts/listbox/listbox.stories.d.ts +1 -1
- package/dist/dts/search/index.d.ts +38 -0
- package/dist/dts/search/search.stories.d.ts +75 -0
- package/dist/dts/search/search.styles.d.ts +4 -0
- package/dist/dts/search/search.template.d.ts +6 -0
- package/dist/esm/component-definitions.js +2 -0
- package/dist/esm/custom-elements.js +3 -1
- package/dist/esm/design-tokens.js +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/listbox/index.js +3 -6
- package/dist/esm/search/index.js +52 -0
- package/dist/esm/search/search.stories.js +83 -0
- package/dist/esm/search/search.styles.js +108 -0
- package/dist/esm/search/search.template.js +82 -0
- package/dist/esm/search/search.vscode.definition.json +145 -0
- package/dist/esm/tabs/tab-panel/tab-panel.styles.js +3 -3
- package/dist/fluent-web-components.api.json +270 -5
- package/dist/web-components.d.ts +51 -2
- package/dist/web-components.js +1034 -515
- package/dist/web-components.min.js +157 -147
- package/docs/api-report.md +34 -9
- package/package.json +2 -2
package/dist/web-components.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ import { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
|
37
37
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
|
38
38
|
import { HorizontalScroll as HorizontalScroll_2 } from '@microsoft/fast-foundation';
|
|
39
39
|
import { HorizontalScrollOptions } from '@microsoft/fast-foundation';
|
|
40
|
-
import { Listbox } from '@microsoft/fast-foundation';
|
|
40
|
+
import { Listbox as Listbox_2 } from '@microsoft/fast-foundation';
|
|
41
41
|
import { ListboxOption } from '@microsoft/fast-foundation';
|
|
42
42
|
import { Menu as Menu_2 } from '@microsoft/fast-foundation';
|
|
43
43
|
import { MenuItem } from '@microsoft/fast-foundation';
|
|
@@ -50,6 +50,8 @@ import { ProgressRingOptions } from '@microsoft/fast-foundation';
|
|
|
50
50
|
import { Radio } from '@microsoft/fast-foundation';
|
|
51
51
|
import { RadioGroup } from '@microsoft/fast-foundation';
|
|
52
52
|
import { RadioOptions } from '@microsoft/fast-foundation';
|
|
53
|
+
import { Search as Search_2 } from '@microsoft/fast-foundation';
|
|
54
|
+
import { SearchOptions } from '@microsoft/fast-foundation';
|
|
53
55
|
import { Select as Select_2 } from '@microsoft/fast-foundation';
|
|
54
56
|
import { SelectOptions } from '@microsoft/fast-foundation';
|
|
55
57
|
import { Skeleton } from '@microsoft/fast-foundation';
|
|
@@ -214,6 +216,7 @@ export declare const allComponents: {
|
|
|
214
216
|
fluentProgressRing: (overrideDefinition?: OverrideFoundationElementDefinition<ProgressRingOptions> | undefined) => FoundationElementRegistry<ProgressRingOptions, Constructable<FoundationElement>>;
|
|
215
217
|
fluentRadio: (overrideDefinition?: OverrideFoundationElementDefinition<RadioOptions> | undefined) => FoundationElementRegistry<RadioOptions, Constructable<FoundationElement>>;
|
|
216
218
|
fluentRadioGroup: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, RadioGroup>;
|
|
219
|
+
fluentSearch: (overrideDefinition?: OverrideFoundationElementDefinition<SearchOptions> | undefined) => FoundationElementRegistry<SearchOptions, Constructable<FoundationElement>>;
|
|
217
220
|
fluentSelect: (overrideDefinition?: OverrideFoundationElementDefinition<SelectOptions> | undefined) => FoundationElementRegistry<SelectOptions, Constructable<FoundationElement>>;
|
|
218
221
|
fluentSkeleton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Skeleton>;
|
|
219
222
|
fluentSlider: (overrideDefinition?: OverrideFoundationElementDefinition<SliderOptions> | undefined) => FoundationElementRegistry<SliderOptions, Constructable<FoundationElement>>;
|
|
@@ -1543,6 +1546,19 @@ export declare const fluentRadio: (overrideDefinition?: OverrideFoundationElemen
|
|
|
1543
1546
|
*/
|
|
1544
1547
|
export declare const fluentRadioGroup: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof RadioGroup>;
|
|
1545
1548
|
|
|
1549
|
+
/**
|
|
1550
|
+
* The Fluent Search Custom Element. Implements {@link @microsoft/fast-foundation#Search},
|
|
1551
|
+
* {@link @microsoft/fast-foundation#searchTemplate}
|
|
1552
|
+
*
|
|
1553
|
+
*
|
|
1554
|
+
* @public
|
|
1555
|
+
* @remarks
|
|
1556
|
+
* HTML Element: \<fluent-search\>
|
|
1557
|
+
*
|
|
1558
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}
|
|
1559
|
+
*/
|
|
1560
|
+
export declare const fluentSearch: (overrideDefinition?: OverrideFoundationElementDefinition<SearchOptions> | undefined) => FoundationElementRegistry<SearchOptions, Constructable<FoundationElement>>;
|
|
1561
|
+
|
|
1546
1562
|
/**
|
|
1547
1563
|
* The Fluent select Custom Element. Implements, {@link @microsoft/fast-foundation#Select}
|
|
1548
1564
|
* {@link @microsoft/fast-foundation#selectTemplate}
|
|
@@ -1854,7 +1870,8 @@ export declare const layerCornerRadius: CSSDesignToken<number>;
|
|
|
1854
1870
|
*/
|
|
1855
1871
|
export declare const LightweightButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
1856
1872
|
|
|
1857
|
-
export
|
|
1873
|
+
export declare class Listbox extends Listbox_2 {
|
|
1874
|
+
}
|
|
1858
1875
|
|
|
1859
1876
|
/**
|
|
1860
1877
|
* Styles for Listbox
|
|
@@ -2550,6 +2567,38 @@ declare interface RelativeLuminance {
|
|
|
2550
2567
|
readonly relativeLuminance: number;
|
|
2551
2568
|
}
|
|
2552
2569
|
|
|
2570
|
+
/**
|
|
2571
|
+
* The Fluent search class
|
|
2572
|
+
* @internal
|
|
2573
|
+
*/
|
|
2574
|
+
export declare class Search extends Search_2 {
|
|
2575
|
+
/**
|
|
2576
|
+
* The appearance of the element.
|
|
2577
|
+
*
|
|
2578
|
+
* @public
|
|
2579
|
+
* @remarks
|
|
2580
|
+
* HTML Attribute: appearance
|
|
2581
|
+
*/
|
|
2582
|
+
appearance: SearchAppearance;
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* Search appearances
|
|
2587
|
+
* @public
|
|
2588
|
+
*/
|
|
2589
|
+
export declare type SearchAppearance = 'filled' | 'outline';
|
|
2590
|
+
|
|
2591
|
+
/**
|
|
2592
|
+
* Styles for Search
|
|
2593
|
+
* @public
|
|
2594
|
+
*/
|
|
2595
|
+
export declare const searchStyles: (context: any, definition: any) => ElementStyles;
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* @public
|
|
2599
|
+
*/
|
|
2600
|
+
export declare const searchTemplate: (context: ElementDefinitionContext, definition: SearchOptions) => ViewTemplate<Search_2>;
|
|
2601
|
+
|
|
2553
2602
|
/**
|
|
2554
2603
|
* The Fluent select class
|
|
2555
2604
|
* @internal
|