@fluentui/web-components 2.0.2 → 2.1.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 +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/custom-elements.d.ts +10 -10
- package/dist/dts/menu/menu.stories.d.ts +1 -1
- 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/checkbox/checkbox.styles.js +0 -1
- package/dist/esm/divider/divider.styles.js +1 -2
- package/dist/esm/flipper/flipper.styles.js +1 -1
- package/dist/esm/listbox/listbox.styles.js +5 -1
- package/dist/esm/listbox-option/listbox-option.styles.js +0 -1
- package/dist/esm/menu/menu.styles.js +9 -2
- package/dist/esm/menu-item/menu-item.styles.js +1 -2
- package/dist/esm/progress/progress/progress.styles.js +0 -1
- package/dist/esm/progress/progress-ring/progress-ring.styles.js +0 -1
- package/dist/esm/radio/radio.styles.js +0 -1
- package/dist/esm/radio-group/radio-group.styles.js +0 -2
- package/dist/esm/slider/slider.styles.js +0 -1
- package/dist/esm/switch/switch.styles.js +3 -3
- 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 +10 -10
- package/dist/web-components.js +23 -18
- package/dist/web-components.min.js +15 -15
- package/package.json +1 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,75 @@
|
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 15 Dec 2021 07:28:31 GMT",
|
|
6
|
+
"tag": "@fluentui/web-components_v2.1.3",
|
|
7
|
+
"version": "2.1.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jes@microsoft.com",
|
|
12
|
+
"package": "@fluentui/web-components",
|
|
13
|
+
"commit": "bd40a6eca1aaa0702e7989087b01de32c9aa6c3d",
|
|
14
|
+
"comment": "fix: prevent disabled flipper from emitting event"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"none": [
|
|
18
|
+
{
|
|
19
|
+
"author": "martinhochel@microsoft.com",
|
|
20
|
+
"package": "@fluentui/web-components",
|
|
21
|
+
"commit": "28ceaaa83cd92a0389c466f0b15b283e3d9b08e4",
|
|
22
|
+
"comment": "chore: update all jest deps to v26"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "Fri, 10 Dec 2021 07:30:35 GMT",
|
|
29
|
+
"tag": "@fluentui/web-components_v2.1.2",
|
|
30
|
+
"version": "2.1.2",
|
|
31
|
+
"comments": {
|
|
32
|
+
"patch": [
|
|
33
|
+
{
|
|
34
|
+
"author": "robarb@microsoft.com",
|
|
35
|
+
"package": "@fluentui/web-components",
|
|
36
|
+
"commit": "89deee5b2a8a5da67a557cd6b19fe9c51ab36de1",
|
|
37
|
+
"comment": "fix: z-index in accordion header renders above content"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"date": "Thu, 02 Dec 2021 07:36:29 GMT",
|
|
44
|
+
"tag": "@fluentui/web-components_v2.1.1",
|
|
45
|
+
"version": "2.1.1",
|
|
46
|
+
"comments": {
|
|
47
|
+
"patch": [
|
|
48
|
+
{
|
|
49
|
+
"author": "jes@microsoft.com",
|
|
50
|
+
"package": "@fluentui/web-components",
|
|
51
|
+
"commit": "a69b283c2eb799c0edc5276d9d1094d1f3d4e4ac",
|
|
52
|
+
"comment": "fix: tabpanel shifting in vertical layout"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"date": "Tue, 23 Nov 2021 07:27:34 GMT",
|
|
59
|
+
"tag": "@fluentui/web-components_v2.1.0",
|
|
60
|
+
"version": "2.1.0",
|
|
61
|
+
"comments": {
|
|
62
|
+
"minor": [
|
|
63
|
+
{
|
|
64
|
+
"author": "jes@microsoft.com",
|
|
65
|
+
"package": "@fluentui/web-components",
|
|
66
|
+
"commit": "2dbe9eadd8ae071bbb056ad15461c1c7ea8d9430",
|
|
67
|
+
"comment": "fix: remove margins from host elements"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"date": "Tue, 09 Nov 2021 07:38:11 GMT",
|
|
6
74
|
"tag": "@fluentui/web-components_v2.0.2",
|
|
7
75
|
"version": "2.0.2",
|
|
8
76
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,48 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 15 Dec 2021 07:28:31 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [2.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.1.3)
|
|
8
|
+
|
|
9
|
+
Wed, 15 Dec 2021 07:28:31 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.1.2..@fluentui/web-components_v2.1.3)
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix: prevent disabled flipper from emitting event ([PR #21003](https://github.com/microsoft/fluentui/pull/21003) by jes@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## [2.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.1.2)
|
|
17
|
+
|
|
18
|
+
Fri, 10 Dec 2021 07:30:35 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.1.1..@fluentui/web-components_v2.1.2)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- fix: z-index in accordion header renders above content ([PR #20587](https://github.com/microsoft/fluentui/pull/20587) by robarb@microsoft.com)
|
|
24
|
+
|
|
25
|
+
## [2.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.1.1)
|
|
26
|
+
|
|
27
|
+
Thu, 02 Dec 2021 07:36:29 GMT
|
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.1.0..@fluentui/web-components_v2.1.1)
|
|
29
|
+
|
|
30
|
+
### Patches
|
|
31
|
+
|
|
32
|
+
- fix: tabpanel shifting in vertical layout ([PR #20641](https://github.com/microsoft/fluentui/pull/20641) by jes@microsoft.com)
|
|
33
|
+
|
|
34
|
+
## [2.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.1.0)
|
|
35
|
+
|
|
36
|
+
Tue, 23 Nov 2021 07:27:34 GMT
|
|
37
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.0.2..@fluentui/web-components_v2.1.0)
|
|
38
|
+
|
|
39
|
+
### Minor changes
|
|
40
|
+
|
|
41
|
+
- fix: remove margins from host elements ([PR #20710](https://github.com/microsoft/fluentui/pull/20710) by jes@microsoft.com)
|
|
42
|
+
|
|
7
43
|
## [2.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.0.2)
|
|
8
44
|
|
|
9
|
-
Tue, 09 Nov 2021 07:
|
|
45
|
+
Tue, 09 Nov 2021 07:38:11 GMT
|
|
10
46
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.0.1..@fluentui/web-components_v2.0.2)
|
|
11
47
|
|
|
12
48
|
### Patches
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").Anchor>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
appearance: {
|
|
6
6
|
options: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").Badge>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
appearance: {
|
|
6
6
|
options: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").Button>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
appearance: {
|
|
6
6
|
description: string;
|
|
@@ -47,14 +47,14 @@ export { fluentAccordion, fluentAccordionItem, fluentAnchor, fluentAnchoredRegio
|
|
|
47
47
|
export declare const allComponents: {
|
|
48
48
|
fluentAccordion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Accordion>;
|
|
49
49
|
fluentAccordionItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").AccordionItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").AccordionItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
50
|
-
fluentAnchor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./anchor").Anchor>;
|
|
50
|
+
fluentAnchor: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./anchor/index").Anchor>;
|
|
51
51
|
fluentAnchoredRegion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").AnchoredRegion>;
|
|
52
|
-
fluentBadge: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./badge").Badge>;
|
|
52
|
+
fluentBadge: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./badge/index").Badge>;
|
|
53
53
|
fluentBreadcrumb: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Breadcrumb>;
|
|
54
54
|
fluentBreadcrumbItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").BreadcrumbItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").BreadcrumbItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
55
|
-
fluentButton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./button").Button>;
|
|
55
|
+
fluentButton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./button/index").Button>;
|
|
56
56
|
fluentCalendar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").CalendarOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").CalendarOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
57
|
-
fluentCard: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./card").Card>;
|
|
57
|
+
fluentCard: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./card/index").Card>;
|
|
58
58
|
fluentCheckbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").CheckboxOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").CheckboxOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
59
59
|
fluentCombobox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ComboboxOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ComboboxOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
60
60
|
fluentDataGrid: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").DataGrid>;
|
|
@@ -68,14 +68,14 @@ export declare const allComponents: {
|
|
|
68
68
|
baseName: string;
|
|
69
69
|
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
70
70
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
71
|
-
}, typeof import("./design-system-provider").DesignSystemProvider>;
|
|
71
|
+
}, typeof import("./design-system-provider/index").DesignSystemProvider>;
|
|
72
72
|
fluentDialog: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Dialog>;
|
|
73
73
|
fluentDivider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Divider>;
|
|
74
74
|
fluentFlipper: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FlipperOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FlipperOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
75
75
|
fluentHorizontalScroll: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").HorizontalScrollOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").HorizontalScrollOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
76
76
|
fluentListbox: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Listbox>;
|
|
77
77
|
fluentOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").ListboxOption>;
|
|
78
|
-
fluentMenu: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./menu").Menu>;
|
|
78
|
+
fluentMenu: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./menu/index").Menu>;
|
|
79
79
|
fluentMenuItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").MenuItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").MenuItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
80
80
|
fluentNumberField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").NumberFieldOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").NumberFieldOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
81
81
|
fluentProgress: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ProgressOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ProgressOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
@@ -90,10 +90,10 @@ export declare const allComponents: {
|
|
|
90
90
|
fluentTabs: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Tabs>;
|
|
91
91
|
fluentTab: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Tab>;
|
|
92
92
|
fluentTabPanel: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").TabPanel>;
|
|
93
|
-
fluentTextArea: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./text-area").TextArea>;
|
|
94
|
-
fluentTextField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./text-field").TextField>;
|
|
95
|
-
fluentToolbar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./toolbar").Toolbar>;
|
|
96
|
-
fluentTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./tooltip").Tooltip>;
|
|
93
|
+
fluentTextArea: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./text-area/index").TextArea>;
|
|
94
|
+
fluentTextField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./text-field/index").TextField>;
|
|
95
|
+
fluentToolbar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./toolbar/index").Toolbar>;
|
|
96
|
+
fluentTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./tooltip/index").Tooltip>;
|
|
97
97
|
fluentTreeView: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").TreeView>;
|
|
98
98
|
fluentTreeItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").TreeItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").TreeItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
99
99
|
register(container?: Container | undefined, ...rest: any[]): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").Menu>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const Menu: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").TextArea>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
appearance: {
|
|
6
6
|
defaultValue: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
component: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").TextField>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
appearance: {
|
|
6
6
|
options: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
components: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("
|
|
3
|
+
components: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./index").Tooltip>;
|
|
4
4
|
argTypes: {
|
|
5
5
|
position: {
|
|
6
6
|
options: string[];
|
|
@@ -42,7 +42,6 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
42
42
|
position: relative;
|
|
43
43
|
grid-template-columns: auto 1fr auto auto;
|
|
44
44
|
align-items: center;
|
|
45
|
-
z-index: 2;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
.button {
|
|
@@ -67,7 +66,6 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
67
66
|
left: 0;
|
|
68
67
|
right: 0;
|
|
69
68
|
bottom: 0;
|
|
70
|
-
z-index: 1;
|
|
71
69
|
cursor: pointer;
|
|
72
70
|
}
|
|
73
71
|
|
|
@@ -95,7 +93,6 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
95
93
|
align-items: center;
|
|
96
94
|
justify-content: center;
|
|
97
95
|
grid-column: 4;
|
|
98
|
-
z-index: 2;
|
|
99
96
|
pointer-events: none;
|
|
100
97
|
background: ${neutralFillStealthRestOnNeutralFillLayerRest};
|
|
101
98
|
border-radius: calc(${controlCornerRadius} * 1px);
|
|
@@ -135,7 +132,6 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
135
132
|
padding-inline-start: calc(${designUnit} * 2 * 1px);
|
|
136
133
|
justify-content: center;
|
|
137
134
|
grid-column: 1;
|
|
138
|
-
z-index: 2;
|
|
139
135
|
}
|
|
140
136
|
|
|
141
137
|
.end {
|
|
@@ -143,7 +139,12 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
143
139
|
align-items: center;
|
|
144
140
|
justify-content: center;
|
|
145
141
|
grid-column: 3;
|
|
146
|
-
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.icon,
|
|
145
|
+
.start,
|
|
146
|
+
.end {
|
|
147
|
+
position: relative;
|
|
147
148
|
}
|
|
148
149
|
`.withBehaviors(forcedColorsStylesheetBehavior(css `
|
|
149
150
|
.button:${focusVisible}::before {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import {
|
|
3
|
+
import { neutralStrokeDividerRest, strokeWidth } from '../design-tokens';
|
|
4
4
|
export const dividerStyles = (context, definition) => css `
|
|
5
5
|
${display('block')} :host {
|
|
6
6
|
box-sizing: content-box;
|
|
7
7
|
height: 0;
|
|
8
|
-
margin: calc(${designUnit} * 1px) 0;
|
|
9
8
|
border: none;
|
|
10
9
|
border-top: calc(${strokeWidth} * 1px) solid ${neutralStrokeDividerRest};
|
|
11
10
|
}
|
|
@@ -8,7 +8,6 @@ export const flipperStyles = (context, definition) => css `
|
|
|
8
8
|
height: calc((${heightNumber} + ${designUnit}) * 1px);
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
|
11
|
-
margin: 0;
|
|
12
11
|
fill: currentcolor;
|
|
13
12
|
color: ${neutralFillStrongRest};
|
|
14
13
|
background: padding-box linear-gradient(${neutralFillRest}, ${neutralFillRest}),
|
|
@@ -23,6 +22,7 @@ export const flipperStyles = (context, definition) => css `
|
|
|
23
22
|
:host(.disabled) {
|
|
24
23
|
opacity: ${disabledOpacity};
|
|
25
24
|
cursor: ${disabledCursor};
|
|
25
|
+
pointer-events: none;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.next,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
|
-
import { display, } from '@microsoft/fast-foundation';
|
|
2
|
+
import { display, ListboxOption } from '@microsoft/fast-foundation';
|
|
3
3
|
import { controlCornerRadius, designUnit, focusStrokeOuter, neutralStrokeRest, strokeWidth, } from '../design-tokens';
|
|
4
4
|
export const listboxStyles = (context, definition) => css `
|
|
5
5
|
${display('inline-flex')} :host {
|
|
@@ -11,6 +11,10 @@ export const listboxStyles = (context, definition) => css `
|
|
|
11
11
|
outline: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
::slotted(${context.tagFor(ListboxOption)}) {
|
|
15
|
+
margin: 0 calc(${designUnit} * 1px);
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
:host(:focus-within:not([disabled])) {
|
|
15
19
|
border-color: ${focusStrokeOuter};
|
|
16
20
|
box-shadow: 0 0 0 1px ${focusStrokeOuter} inset;
|
|
@@ -17,7 +17,6 @@ export const optionStyles = (context, definition) => css `
|
|
|
17
17
|
font-size: ${typeRampBaseFontSize};
|
|
18
18
|
height: calc(${heightNumber} * 1px);
|
|
19
19
|
line-height: ${typeRampBaseLineHeight};
|
|
20
|
-
margin: 0 calc(${designUnit} * 1px);
|
|
21
20
|
outline: none;
|
|
22
21
|
overflow: hidden;
|
|
23
22
|
align-items: center;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
|
-
import { display, forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
|
|
2
|
+
import { display, Divider, forcedColorsStylesheetBehavior, MenuItem } from '@microsoft/fast-foundation';
|
|
3
3
|
import { SystemColors } from "@microsoft/fast-web-utilities";
|
|
4
4
|
import { elevationShadowFlyout } from '../styles/index';
|
|
5
5
|
import { designUnit, layerCornerRadius, neutralLayerFloating, neutralStrokeDividerRest, strokeWidth, } from '../design-tokens';
|
|
@@ -9,7 +9,6 @@ export const menuStyles = (context, definition) => css `
|
|
|
9
9
|
border: calc(${strokeWidth} * 1px) solid transparent;
|
|
10
10
|
border-radius: calc(${layerCornerRadius} * 1px);
|
|
11
11
|
box-shadow: ${elevationShadowFlyout};
|
|
12
|
-
margin: 0;
|
|
13
12
|
padding: calc(${designUnit} * 1px) 0;
|
|
14
13
|
max-width: 368px;
|
|
15
14
|
min-width: 64px;
|
|
@@ -20,6 +19,14 @@ export const menuStyles = (context, definition) => css `
|
|
|
20
19
|
margin: 0 calc(${designUnit} * 2px);
|
|
21
20
|
}
|
|
22
21
|
|
|
22
|
+
::slotted(${context.tagFor(MenuItem)}) {
|
|
23
|
+
margin: 0 calc(${designUnit} * 1px);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
::slotted(${context.tagFor(Divider)}) {
|
|
27
|
+
margin: calc(${designUnit} * 1px) 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
23
30
|
::slotted(hr) {
|
|
24
31
|
box-sizing: content-box;
|
|
25
32
|
height: 0;
|
|
@@ -2,7 +2,7 @@ import { css } from '@microsoft/fast-element';
|
|
|
2
2
|
import { disabledCursor, display, focusVisible, forcedColorsStylesheetBehavior, } from '@microsoft/fast-foundation';
|
|
3
3
|
import { SystemColors } from '@microsoft/fast-web-utilities';
|
|
4
4
|
import { DirectionalStyleSheetBehavior, heightNumber } from '../styles/index';
|
|
5
|
-
import { bodyFont, controlCornerRadius,
|
|
5
|
+
import { bodyFont, controlCornerRadius, disabledOpacity, focusStrokeOuter, focusStrokeWidth, neutralFillStealthActive, neutralFillStealthHover, neutralForegroundHint, neutralForegroundRest, strokeWidth, typeRampBaseFontSize, typeRampBaseLineHeight, } from '../design-tokens';
|
|
6
6
|
export const menuItemStyles = (context, definition) => css `
|
|
7
7
|
${display('grid')} :host {
|
|
8
8
|
contain: layout;
|
|
@@ -16,7 +16,6 @@ export const menuItemStyles = (context, definition) => css `
|
|
|
16
16
|
justify-items: center;
|
|
17
17
|
align-items: center;
|
|
18
18
|
padding: 0;
|
|
19
|
-
margin: 0 calc(${designUnit} * 1px);
|
|
20
19
|
white-space: nowrap;
|
|
21
20
|
color: ${neutralForegroundRest};
|
|
22
21
|
fill: currentcolor;
|
|
@@ -8,7 +8,6 @@ export const radioStyles = (context, definition) => css `
|
|
|
8
8
|
--input-size: calc((${heightNumber} / 2) + ${designUnit});
|
|
9
9
|
align-items: center;
|
|
10
10
|
outline: none;
|
|
11
|
-
margin: calc(${designUnit} * 1px) 0;
|
|
12
11
|
${
|
|
13
12
|
/*
|
|
14
13
|
* Chromium likes to select label text or the default slot when
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import { designUnit } from '../design-tokens';
|
|
4
3
|
export const radioGroupStyles = (context, definition) => css `
|
|
5
4
|
${display('flex')} :host {
|
|
6
5
|
align-items: flex-start;
|
|
7
|
-
margin: calc(${designUnit} * 1px) 0;
|
|
8
6
|
flex-direction: column;
|
|
9
7
|
}
|
|
10
8
|
|
|
@@ -11,7 +11,6 @@ export const sliderStyles = (context, definition) => css `
|
|
|
11
11
|
--track-width: ${designUnit};
|
|
12
12
|
align-items: center;
|
|
13
13
|
width: 100%;
|
|
14
|
-
margin: calc(${designUnit} * 1px) 0;
|
|
15
14
|
user-select: none;
|
|
16
15
|
box-sizing: border-box;
|
|
17
16
|
border-radius: calc(${controlCornerRadius} * 1px);
|
|
@@ -12,7 +12,6 @@ export const switchStyles = (context, definition) => css `
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
outline: none;
|
|
14
14
|
font-family: ${bodyFont};
|
|
15
|
-
margin: calc(${designUnit} * 1px) 0;
|
|
16
15
|
${
|
|
17
16
|
/*
|
|
18
17
|
* Chromium likes to select label text or the default slot when
|
|
@@ -104,8 +103,9 @@ export const switchStyles = (context, definition) => css `
|
|
|
104
103
|
cursor: pointer;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
::slotted([slot="checked-message"]),
|
|
107
|
+
::slotted([slot="unchecked-message"]) {
|
|
108
|
+
margin-inline-start: calc(${designUnit} * 2px + 2px);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
:host(.checked) .switch {
|
|
@@ -21,9 +21,63 @@ const TabsTemplate = ({ activeId, activeIndicator, orientation }) => `
|
|
|
21
21
|
<fluent-tab id="TabOne">Tab one</fluent-tab>
|
|
22
22
|
<fluent-tab id="TabTwo">Tab two</fluent-tab>
|
|
23
23
|
<fluent-tab id="TabThree">Tab three</fluent-tab>
|
|
24
|
-
<fluent-tab-panel>
|
|
24
|
+
<fluent-tab-panel>
|
|
25
|
+
Tab one content. This is for testing. Tab three content. This is for testing.
|
|
26
|
+
<br />
|
|
27
|
+
Tab one content. This is for testing.
|
|
28
|
+
<br />
|
|
29
|
+
Tab one content. This is for testing.
|
|
30
|
+
<br />
|
|
31
|
+
Tab one content. This is for testing.
|
|
32
|
+
<br />
|
|
33
|
+
Tab one content. This is for testing.
|
|
34
|
+
<br />
|
|
35
|
+
Tab one content. This is for testing.
|
|
36
|
+
<br />
|
|
37
|
+
Tab one content. This is for testing.
|
|
38
|
+
<br />
|
|
39
|
+
Tab one content. This is for testing.
|
|
40
|
+
<br />
|
|
41
|
+
Tab one content. This is for testing.
|
|
42
|
+
<br />
|
|
43
|
+
Tab one content. This is for testing.
|
|
44
|
+
<br />
|
|
45
|
+
Tab one content. This is for testing.
|
|
46
|
+
<br />
|
|
47
|
+
Tab one content. This is for testing.
|
|
48
|
+
<br />
|
|
49
|
+
Tab one content. This is for testing.
|
|
50
|
+
<br />
|
|
51
|
+
</fluent-tab-panel>
|
|
25
52
|
<fluent-tab-panel> Tab two content. This is for testing. </fluent-tab-panel>
|
|
26
|
-
<fluent-tab-panel>
|
|
53
|
+
<fluent-tab-panel>
|
|
54
|
+
Tab three content. This is for testing. Tab three content. This is for testing.
|
|
55
|
+
<br />
|
|
56
|
+
Tab three content. This is for testing.
|
|
57
|
+
<br />
|
|
58
|
+
Tab three content. This is for testing.
|
|
59
|
+
<br />
|
|
60
|
+
Tab three content. This is for testing.
|
|
61
|
+
<br />
|
|
62
|
+
Tab three content. This is for testing.
|
|
63
|
+
<br />
|
|
64
|
+
Tab three content. This is for testing.
|
|
65
|
+
<br />
|
|
66
|
+
Tab three content. This is for testing.
|
|
67
|
+
<br />
|
|
68
|
+
Tab three content. This is for testing.
|
|
69
|
+
<br />
|
|
70
|
+
Tab three content. This is for testing.
|
|
71
|
+
<br />
|
|
72
|
+
Tab three content. This is for testing.
|
|
73
|
+
<br />
|
|
74
|
+
Tab three content. This is for testing.
|
|
75
|
+
<br />
|
|
76
|
+
Tab three content. This is for testing.
|
|
77
|
+
<br />
|
|
78
|
+
Tab three content. This is for testing.
|
|
79
|
+
<br />
|
|
80
|
+
</fluent-tab-panel>
|
|
27
81
|
</fluent-tabs>`;
|
|
28
82
|
export const Tabs = TabsTemplate.bind({});
|
|
29
83
|
Tabs.args = {
|