@fluentui/web-components 3.0.0-beta.10 → 3.0.0-beta.11
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 +11 -2
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
- package/dist/dts/utils/display.d.ts +17 -0
- package/dist/dts/utils/index.d.ts +2 -0
- package/dist/esm/accordion/accordion.styles.js +1 -1
- package/dist/esm/accordion/accordion.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +1 -1
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/button/button.styles.js +1 -1
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +1 -1
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +1 -1
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +1 -1
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/label.styles.js +1 -1
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.js +1 -1
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +1 -1
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/radio/radio.styles.js +1 -1
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.styles.js +1 -1
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +1 -1
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +1 -1
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +1 -1
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +1 -1
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +1 -1
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +1 -1
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/text/text.styles.js +1 -1
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +1 -1
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js +142 -0
- package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -0
- package/dist/esm/utils/display.js +15 -0
- package/dist/esm/utils/display.js.map +1 -0
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/fluent-web-components.api.json +773 -0
- package/dist/storybook/{284.0946b1fb.iframe.bundle.js → 289.703b1698.iframe.bundle.js} +2 -2
- package/dist/storybook/{284.0946b1fb.iframe.bundle.js.LICENSE.txt → 289.703b1698.iframe.bundle.js.LICENSE.txt} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.81e47c59.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +161 -0
- package/dist/web-components.js +490 -361
- package/dist/web-components.min.js +137 -137
- package/docs/api-report.md +46 -0
- package/package.json +2 -2
- package/tensile.config.js +0 -2
- package/dist/storybook/main.b9de79ac.iframe.bundle.js +0 -2
- /package/dist/storybook/{main.b9de79ac.iframe.bundle.js.LICENSE.txt → main.81e47c59.iframe.bundle.js.LICENSE.txt} +0 -0
package/docs/api-report.md
CHANGED
|
@@ -10,6 +10,8 @@ import { ElementStyles } from '@microsoft/fast-element';
|
|
|
10
10
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
11
11
|
import { FASTElement } from '@microsoft/fast-element';
|
|
12
12
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
13
|
+
import type { HostBehavior } from '@microsoft/fast-element';
|
|
14
|
+
import type { HostController } from '@microsoft/fast-element';
|
|
13
15
|
import { HTMLDirective } from '@microsoft/fast-element';
|
|
14
16
|
import { Orientation } from '@microsoft/fast-web-utilities';
|
|
15
17
|
import type { SyntheticViewTemplate } from '@microsoft/fast-element';
|
|
@@ -1648,6 +1650,9 @@ export const CounterBadgeStyles: ElementStyles;
|
|
|
1648
1650
|
// @public
|
|
1649
1651
|
export const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
1650
1652
|
|
|
1653
|
+
// @public
|
|
1654
|
+
export type CSSDisplayPropertyValue = 'block' | 'contents' | 'flex' | 'grid' | 'inherit' | 'initial' | 'inline' | 'inline-block' | 'inline-flex' | 'inline-grid' | 'inline-table' | 'list-item' | 'none' | 'run-in' | 'table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row' | 'table-row-group';
|
|
1655
|
+
|
|
1651
1656
|
// @public (undocumented)
|
|
1652
1657
|
export const curveAccelerateMax = "var(--curveAccelerateMax)";
|
|
1653
1658
|
|
|
@@ -1675,6 +1680,9 @@ export const curveEasyEaseMax = "var(--curveEasyEaseMax)";
|
|
|
1675
1680
|
// @public (undocumented)
|
|
1676
1681
|
export const curveLinear = "var(--curveLinear)";
|
|
1677
1682
|
|
|
1683
|
+
// @public
|
|
1684
|
+
export const darkModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
1685
|
+
|
|
1678
1686
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "DelegatesARIAButton" because one of its declarations is marked as @internal
|
|
1679
1687
|
//
|
|
1680
1688
|
// @public
|
|
@@ -1741,6 +1749,9 @@ export const DialogStyles: ElementStyles;
|
|
|
1741
1749
|
// @public
|
|
1742
1750
|
export const DialogTemplate: ElementViewTemplate<Dialog>;
|
|
1743
1751
|
|
|
1752
|
+
// @public
|
|
1753
|
+
export function display(displayValue: CSSDisplayPropertyValue): string;
|
|
1754
|
+
|
|
1744
1755
|
// @public
|
|
1745
1756
|
export class Divider extends FASTElement {
|
|
1746
1757
|
alignContent?: DividerAlignContent;
|
|
@@ -1880,6 +1891,15 @@ export const fontWeightRegular = "var(--fontWeightRegular)";
|
|
|
1880
1891
|
// @public (undocumented)
|
|
1881
1892
|
export const fontWeightSemibold = "var(--fontWeightSemibold)";
|
|
1882
1893
|
|
|
1894
|
+
// @public
|
|
1895
|
+
export const forcedColorsStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
1896
|
+
|
|
1897
|
+
// @public
|
|
1898
|
+
export const getDirection: (rootNode: HTMLElement) => Direction;
|
|
1899
|
+
|
|
1900
|
+
// @public
|
|
1901
|
+
export const hidden = ":host([hidden]){display:none}";
|
|
1902
|
+
|
|
1883
1903
|
// @public
|
|
1884
1904
|
class Image_2 extends FASTElement {
|
|
1885
1905
|
block?: boolean;
|
|
@@ -1940,6 +1960,9 @@ export const LabelStyles: ElementStyles;
|
|
|
1940
1960
|
// @public (undocumented)
|
|
1941
1961
|
export const LabelTemplate: ElementViewTemplate<Label>;
|
|
1942
1962
|
|
|
1963
|
+
// @public
|
|
1964
|
+
export const lightModeStylesheetBehavior: (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
1965
|
+
|
|
1943
1966
|
// @public (undocumented)
|
|
1944
1967
|
export const lineHeightBase100 = "var(--lineHeightBase100)";
|
|
1945
1968
|
|
|
@@ -1970,6 +1993,29 @@ export const lineHeightHero800 = "var(--lineHeightHero800)";
|
|
|
1970
1993
|
// @public (undocumented)
|
|
1971
1994
|
export const lineHeightHero900 = "var(--lineHeightHero900)";
|
|
1972
1995
|
|
|
1996
|
+
// @public
|
|
1997
|
+
export abstract class MatchMediaBehavior implements HostBehavior {
|
|
1998
|
+
constructor(query: MediaQueryList);
|
|
1999
|
+
connectedCallback(controller: HostController): void;
|
|
2000
|
+
protected abstract constructListener(controller: HostController): MediaQueryListListener;
|
|
2001
|
+
disconnectedCallback(controller: HostController): void;
|
|
2002
|
+
readonly query: MediaQueryList;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
// @public
|
|
2006
|
+
export class MatchMediaStyleSheetBehavior extends MatchMediaBehavior {
|
|
2007
|
+
constructor(query: MediaQueryList, styles: ElementStyles);
|
|
2008
|
+
protected constructListener(controller: HostController): MediaQueryListListener;
|
|
2009
|
+
readonly query: MediaQueryList;
|
|
2010
|
+
// @internal
|
|
2011
|
+
removedCallback(controller: HostController<any>): void;
|
|
2012
|
+
readonly styles: ElementStyles;
|
|
2013
|
+
static with(query: MediaQueryList): (styles: ElementStyles) => MatchMediaStyleSheetBehavior;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
// @public
|
|
2017
|
+
export type MediaQueryListListener = (this: MediaQueryList, ev?: MediaQueryListEvent) => void;
|
|
2018
|
+
|
|
1973
2019
|
// @public
|
|
1974
2020
|
export class Menu extends FASTElement {
|
|
1975
2021
|
cleanup?: () => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.11",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Microsoft",
|
|
7
7
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -205,9 +205,9 @@
|
|
|
205
205
|
},
|
|
206
206
|
"dependencies": {
|
|
207
207
|
"@microsoft/fast-element": "2.0.0-beta.26",
|
|
208
|
-
"@microsoft/fast-foundation": "3.0.0-alpha.31",
|
|
209
208
|
"@microsoft/fast-web-utilities": "^6.0.0",
|
|
210
209
|
"@fluentui/tokens": "1.0.0-alpha.2",
|
|
210
|
+
"tabbable": "^6.2.0",
|
|
211
211
|
"tslib": "^2.1.0"
|
|
212
212
|
},
|
|
213
213
|
"beachball": {
|
package/tensile.config.js
CHANGED
|
@@ -8,8 +8,6 @@ const config = {
|
|
|
8
8
|
'@tensile-perf/web-components': '/node_modules/@tensile-perf/web-components/lib/index.js',
|
|
9
9
|
'@microsoft/fast-element': '/node_modules/@microsoft/fast-element/dist/fast-element.min.js',
|
|
10
10
|
'@microsoft/fast-element/utilities.js': '/node_modules/@microsoft/fast-element/dist/esm/utilities.js',
|
|
11
|
-
'@microsoft/fast-foundation': '/node_modules/@microsoft/fast-foundation/dist/esm/index.js',
|
|
12
|
-
'@microsoft/fast-foundation/utilities.js': '/node_modules/@microsoft/fast-foundation/dist/esm/utilities/index.js',
|
|
13
11
|
'@microsoft/fast-web-utilities': '/node_modules/@microsoft/fast-web-utilities/dist/index.js',
|
|
14
12
|
'@fluentui/tokens': '/tensile-assets/benchmark-dependencies/tokens.js',
|
|
15
13
|
'@fluentui/web-components': '/node_modules/@fluentui/web-components/dist/esm/index.js',
|