@fluentui/web-components 2.1.0 → 2.2.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 +69 -1
- package/CHANGELOG.md +38 -2
- package/dist/dts/anchor/anchor.stories.d.ts +1 -1
- package/dist/dts/badge/badge.stories.d.ts +1 -1
- package/dist/dts/button/button.stories.d.ts +1 -1
- package/dist/dts/component-definitions.d.ts +2 -1
- package/dist/dts/custom-elements.d.ts +14 -12
- 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/menu/menu.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/dts/text-area/text-area.stories.d.ts +1 -1
- package/dist/dts/text-field/text-field.stories.d.ts +1 -1
- package/dist/dts/tooltip/tooltip.stories.d.ts +1 -1
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +6 -5
- package/dist/esm/component-definitions.js +2 -0
- package/dist/esm/custom-elements.js +3 -1
- package/dist/esm/flipper/flipper.styles.js +1 -0
- 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/tabs.stories.js +56 -2
- package/dist/esm/tabs/tabs.styles.js +1 -0
- package/dist/fluent-web-components.api.json +280 -15
- package/dist/web-components.d.ts +51 -2
- package/dist/web-components.js +711 -245
- package/dist/web-components.min.js +142 -132
- package/docs/api-report.md +34 -9
- package/package.json +2 -3
package/docs/api-report.md
CHANGED
|
@@ -43,7 +43,7 @@ import { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
|
43
43
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
|
44
44
|
import { HorizontalScroll as HorizontalScroll_2 } from '@microsoft/fast-foundation';
|
|
45
45
|
import { HorizontalScrollOptions } from '@microsoft/fast-foundation';
|
|
46
|
-
import { Listbox } from '@microsoft/fast-foundation';
|
|
46
|
+
import { Listbox as Listbox_2 } from '@microsoft/fast-foundation';
|
|
47
47
|
import { ListboxOption } from '@microsoft/fast-foundation';
|
|
48
48
|
import { Menu as Menu_2 } from '@microsoft/fast-foundation';
|
|
49
49
|
import { MenuItem } from '@microsoft/fast-foundation';
|
|
@@ -56,6 +56,8 @@ import { ProgressRingOptions } from '@microsoft/fast-foundation';
|
|
|
56
56
|
import { Radio } from '@microsoft/fast-foundation';
|
|
57
57
|
import { RadioGroup } from '@microsoft/fast-foundation';
|
|
58
58
|
import { RadioOptions } from '@microsoft/fast-foundation';
|
|
59
|
+
import { Search as Search_2 } from '@microsoft/fast-foundation';
|
|
60
|
+
import { SearchOptions } from '@microsoft/fast-foundation';
|
|
59
61
|
import { Select as Select_2 } from '@microsoft/fast-foundation';
|
|
60
62
|
import { SelectOptions } from '@microsoft/fast-foundation';
|
|
61
63
|
import { Skeleton } from '@microsoft/fast-foundation';
|
|
@@ -211,6 +213,7 @@ export const allComponents: {
|
|
|
211
213
|
fluentProgressRing: (overrideDefinition?: OverrideFoundationElementDefinition<ProgressRingOptions> | undefined) => FoundationElementRegistry<ProgressRingOptions, Constructable<FoundationElement>>;
|
|
212
214
|
fluentRadio: (overrideDefinition?: OverrideFoundationElementDefinition<RadioOptions> | undefined) => FoundationElementRegistry<RadioOptions, Constructable<FoundationElement>>;
|
|
213
215
|
fluentRadioGroup: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, RadioGroup>;
|
|
216
|
+
fluentSearch: (overrideDefinition?: OverrideFoundationElementDefinition<SearchOptions> | undefined) => FoundationElementRegistry<SearchOptions, Constructable<FoundationElement>>;
|
|
214
217
|
fluentSelect: (overrideDefinition?: OverrideFoundationElementDefinition<SelectOptions> | undefined) => FoundationElementRegistry<SelectOptions, Constructable<FoundationElement>>;
|
|
215
218
|
fluentSkeleton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Skeleton>;
|
|
216
219
|
fluentSlider: (overrideDefinition?: OverrideFoundationElementDefinition<SliderOptions> | undefined) => FoundationElementRegistry<SliderOptions, Constructable<FoundationElement>>;
|
|
@@ -649,6 +652,9 @@ export const fluentRadio: (overrideDefinition?: OverrideFoundationElementDefinit
|
|
|
649
652
|
// @public
|
|
650
653
|
export const fluentRadioGroup: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof RadioGroup>;
|
|
651
654
|
|
|
655
|
+
// @public
|
|
656
|
+
export const fluentSearch: (overrideDefinition?: OverrideFoundationElementDefinition<SearchOptions> | undefined) => FoundationElementRegistry<SearchOptions, Constructable<FoundationElement>>;
|
|
657
|
+
|
|
652
658
|
// @public
|
|
653
659
|
export const fluentSelect: (overrideDefinition?: OverrideFoundationElementDefinition<SelectOptions> | undefined) => FoundationElementRegistry<SelectOptions, Constructable<FoundationElement>>;
|
|
654
660
|
|
|
@@ -818,7 +824,9 @@ export const layerCornerRadius: CSSDesignToken<number>;
|
|
|
818
824
|
// @internal (undocumented)
|
|
819
825
|
export const LightweightButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
820
826
|
|
|
821
|
-
|
|
827
|
+
// @public (undocumented)
|
|
828
|
+
export class Listbox extends Listbox_2 {
|
|
829
|
+
}
|
|
822
830
|
|
|
823
831
|
// @public
|
|
824
832
|
export const listboxStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
@@ -1413,6 +1421,23 @@ export interface Recipe<T> {
|
|
|
1413
1421
|
evaluate(element: HTMLElement, reference?: Swatch): T;
|
|
1414
1422
|
}
|
|
1415
1423
|
|
|
1424
|
+
// Warning: (ae-internal-missing-underscore) The name "Search" should be prefixed with an underscore because the declaration is marked as @internal
|
|
1425
|
+
//
|
|
1426
|
+
// @internal
|
|
1427
|
+
export class Search extends Search_2 {
|
|
1428
|
+
// @public
|
|
1429
|
+
appearance: SearchAppearance;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
// @public
|
|
1433
|
+
export type SearchAppearance = 'filled' | 'outline';
|
|
1434
|
+
|
|
1435
|
+
// @public
|
|
1436
|
+
export const searchStyles: (context: any, definition: any) => ElementStyles;
|
|
1437
|
+
|
|
1438
|
+
// @public (undocumented)
|
|
1439
|
+
export const searchTemplate: (context: ElementDefinitionContext, definition: SearchOptions) => ViewTemplate<Search_2>;
|
|
1440
|
+
|
|
1416
1441
|
// Warning: (ae-internal-missing-underscore) The name "Select" should be prefixed with an underscore because the declaration is marked as @internal
|
|
1417
1442
|
//
|
|
1418
1443
|
// @internal
|
|
@@ -1628,13 +1653,13 @@ export const typeRampPlus6LineHeight: CSSDesignToken<string>;
|
|
|
1628
1653
|
//
|
|
1629
1654
|
// dist/dts/color/palette.d.ts:70:5 - (ae-forgotten-export) The symbol "create" needs to be exported by the entry point index.d.ts
|
|
1630
1655
|
// dist/dts/color/palette.d.ts:71:5 - (ae-forgotten-export) The symbol "from" needs to be exported by the entry point index.d.ts
|
|
1631
|
-
// dist/dts/custom-elements.d.ts:
|
|
1632
|
-
// dist/dts/custom-elements.d.ts:
|
|
1633
|
-
// dist/dts/custom-elements.d.ts:
|
|
1634
|
-
// dist/dts/custom-elements.d.ts:
|
|
1635
|
-
// dist/dts/custom-elements.d.ts:
|
|
1636
|
-
// dist/dts/custom-elements.d.ts:
|
|
1637
|
-
// dist/dts/custom-elements.d.ts:
|
|
1656
|
+
// dist/dts/custom-elements.d.ts:51:5 - (ae-incompatible-release-tags) The symbol "fluentAnchor" is marked as @public, but its signature references "Anchor" which is marked as @internal
|
|
1657
|
+
// 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
|
+
// 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
|
+
// 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:96:5 - (ae-incompatible-release-tags) The symbol "fluentTextField" is marked as @public, but its signature references "TextField" which is marked as @internal
|
|
1661
|
+
// dist/dts/custom-elements.d.ts:97:5 - (ae-incompatible-release-tags) The symbol "fluentToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal
|
|
1662
|
+
// dist/dts/custom-elements.d.ts:98:5 - (ae-incompatible-release-tags) The symbol "fluentTooltip" is marked as @public, but its signature references "Tooltip" which is marked as @internal
|
|
1638
1663
|
|
|
1639
1664
|
// (No @packageDocumentation comment for this package)
|
|
1640
1665
|
|
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.2.0",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft",
|
|
8
8
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"ignore-loader": "^0.1.2",
|
|
61
61
|
"istanbul": "^0.4.5",
|
|
62
62
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
63
|
-
"jsdom": "^16.2.2",
|
|
64
63
|
"jsdom-global": "3.0.2",
|
|
65
64
|
"karma": "^5.0.4",
|
|
66
65
|
"karma-chrome-launcher": "^3.1.0",
|
|
@@ -89,7 +88,7 @@
|
|
|
89
88
|
"dependencies": {
|
|
90
89
|
"@microsoft/fast-colors": "^5.1.0",
|
|
91
90
|
"@microsoft/fast-element": "^1.6.0",
|
|
92
|
-
"@microsoft/fast-foundation": "^2.
|
|
91
|
+
"@microsoft/fast-foundation": "^2.27.1",
|
|
93
92
|
"@microsoft/fast-web-utilities": "^5.0.0",
|
|
94
93
|
"tslib": "^1.13.0"
|
|
95
94
|
}
|