@fluentui/web-components 2.3.0 → 2.5.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 +29 -2
- package/dist/dts/custom-elements.d.ts +21 -20
- package/dist/dts/design-tokens.d.ts +20 -0
- package/dist/dts/styles/patterns/index.d.ts +1 -0
- package/dist/dts/styles/patterns/type-ramp.d.ts +18 -0
- package/dist/dts/utilities/type-ramp.d.ts +12 -0
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +4 -5
- package/dist/esm/accordion/accordion.styles.js +3 -4
- package/dist/esm/badge/badge.styles.js +3 -4
- package/dist/esm/breadcrumb/breadcrumb.styles.js +2 -4
- package/dist/esm/breadcrumb-item/breadcrumb-item.styles.js +3 -4
- package/dist/esm/calendar/calendar.styles.js +3 -4
- package/dist/esm/checkbox/checkbox.styles.js +3 -4
- package/dist/esm/combobox/combobox.styles.js +3 -3
- package/dist/esm/data-grid/data-grid-cell.styles.js +3 -5
- package/dist/esm/design-tokens.js +38 -1
- package/dist/esm/listbox-option/listbox-option.styles.js +3 -4
- package/dist/esm/menu-item/menu-item.styles.js +3 -4
- package/dist/esm/radio/radio.styles.js +3 -4
- package/dist/esm/search/search.styles.js +3 -4
- package/dist/esm/select/select.styles.js +3 -4
- package/dist/esm/slider-label/slider-label.styles.js +3 -2
- package/dist/esm/styles/patterns/button.styles.js +3 -4
- package/dist/esm/styles/patterns/index.js +1 -0
- package/dist/esm/styles/patterns/input.styles.js +4 -6
- package/dist/esm/styles/patterns/type-ramp.js +74 -0
- package/dist/esm/switch/switch.styles.js +4 -5
- package/dist/esm/tabs/tab/tab.styles.js +3 -5
- package/dist/esm/tabs/tab-panel/tab-panel.styles.js +3 -5
- package/dist/esm/tabs/tabs.styles.js +3 -4
- package/dist/esm/tooltip/tooltip.styles.js +3 -4
- package/dist/esm/tree-item/tree-item.styles.js +3 -4
- package/dist/esm/utilities/type-ramp.js +12 -0
- package/dist/fluent-web-components.api.json +554 -20
- package/dist/web-components.d.ts +73 -16
- package/dist/web-components.js +3867 -3282
- package/dist/web-components.min.js +230 -158
- package/docs/api-report.md +80 -23
- package/package.json +6 -6
- package/public/SegoeUI-VF.ttf +0 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,75 @@
|
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 06 May 2022 07:36:21 GMT",
|
|
6
|
+
"tag": "@fluentui/web-components_v2.5.0",
|
|
7
|
+
"version": "2.5.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "47367562+bheston@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui/web-components",
|
|
13
|
+
"commit": "b60bcd3b01d2927a03660523eea42b42f507e85b",
|
|
14
|
+
"comment": "Added support for Segoe UI Variable font with variant configurations Added type ramp helpers to conveniently and consistently apply all necessary font attributes."
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 28 Apr 2022 07:39:56 GMT",
|
|
21
|
+
"tag": "@fluentui/web-components_v2.4.0",
|
|
22
|
+
"version": "2.4.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "chhol@microsoft.com",
|
|
27
|
+
"package": "@fluentui/web-components",
|
|
28
|
+
"commit": "7b73745e44fb4be6c228de0f1a500eea0d9db00b",
|
|
29
|
+
"comment": "update to latest versions of fast-element and fast-foundation for web components"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Tue, 08 Mar 2022 23:29:58 GMT",
|
|
36
|
+
"tag": "@fluentui/web-components_v2.3.1",
|
|
37
|
+
"version": "2.3.1",
|
|
38
|
+
"comments": {
|
|
39
|
+
"none": [
|
|
40
|
+
{
|
|
41
|
+
"author": "mgodbolt@microsoft.com",
|
|
42
|
+
"package": "@fluentui/web-components",
|
|
43
|
+
"commit": "61d1ec16271c2beff80f449c35b10e0b8a1817b5",
|
|
44
|
+
"comment": "basic storybook upgrade without the new story store format"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Mon, 07 Mar 2022 07:41:14 GMT",
|
|
51
|
+
"tag": "@fluentui/web-components_v2.3.1",
|
|
52
|
+
"version": "2.3.1",
|
|
53
|
+
"comments": {
|
|
54
|
+
"none": [
|
|
55
|
+
{
|
|
56
|
+
"author": "chhol@microsoft.com",
|
|
57
|
+
"package": "@fluentui/web-components",
|
|
58
|
+
"commit": "415b189f76b7f5bca11ebc62d3a6855c01b59c53",
|
|
59
|
+
"comment": "update karma to latest stable version for web components"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"patch": [
|
|
63
|
+
{
|
|
64
|
+
"author": "john.kreitlow@microsoft.com",
|
|
65
|
+
"package": "@fluentui/web-components",
|
|
66
|
+
"commit": "9d0611016f1e6f5a39b105df1d6e85beecb1e469",
|
|
67
|
+
"comment": "fix d.ts errors generated by api-extractor"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"date": "Tue, 01 Mar 2022 07:23:43 GMT",
|
|
6
74
|
"tag": "@fluentui/web-components_v2.3.0",
|
|
7
75
|
"version": "2.3.0",
|
|
8
76
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 06 May 2022 07:36:21 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [2.5.0](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.5.0)
|
|
8
|
+
|
|
9
|
+
Fri, 06 May 2022 07:36:21 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.4.0..@fluentui/web-components_v2.5.0)
|
|
11
|
+
|
|
12
|
+
### Minor changes
|
|
13
|
+
|
|
14
|
+
- Added support for Segoe UI Variable font with variant configurations Added type ramp helpers to conveniently and consistently apply all necessary font attributes. ([PR #22079](https://github.com/microsoft/fluentui/pull/22079) by 47367562+bheston@users.noreply.github.com)
|
|
15
|
+
|
|
16
|
+
## [2.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.4.0)
|
|
17
|
+
|
|
18
|
+
Thu, 28 Apr 2022 07:39:56 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.3.1..@fluentui/web-components_v2.4.0)
|
|
20
|
+
|
|
21
|
+
### Minor changes
|
|
22
|
+
|
|
23
|
+
- update to latest versions of fast-element and fast-foundation for web components ([PR #22648](https://github.com/microsoft/fluentui/pull/22648) by chhol@microsoft.com)
|
|
24
|
+
|
|
25
|
+
## [2.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.3.1)
|
|
26
|
+
|
|
27
|
+
Mon, 07 Mar 2022 07:41:14 GMT
|
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.3.0..@fluentui/web-components_v2.3.1)
|
|
29
|
+
|
|
30
|
+
### Patches
|
|
31
|
+
|
|
32
|
+
- fix d.ts errors generated by api-extractor ([PR #21945](https://github.com/microsoft/fluentui/pull/21945) by john.kreitlow@microsoft.com)
|
|
33
|
+
|
|
7
34
|
## [2.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v2.3.0)
|
|
8
35
|
|
|
9
|
-
Tue, 01 Mar 2022 07:
|
|
36
|
+
Tue, 01 Mar 2022 07:23:43 GMT
|
|
10
37
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v2.2.3..@fluentui/web-components_v2.3.0)
|
|
11
38
|
|
|
12
39
|
### Minor changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Accordion, AnchoredRegion, Breadcrumb, DataGrid, Dialog, Divider, ListboxOption, RadioGroup, Skeleton, SliderLabel, Tabs, TextArea, TextField, TreeView } from '@microsoft/fast-foundation';
|
|
1
2
|
/**
|
|
2
3
|
* Export all custom element definitions
|
|
3
4
|
*/
|
|
@@ -46,19 +47,19 @@ export { fluentAccordion, fluentAccordionItem, fluentAnchor, fluentAnchoredRegio
|
|
|
46
47
|
* @public
|
|
47
48
|
*/
|
|
48
49
|
export declare const allComponents: {
|
|
49
|
-
fluentAccordion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
50
|
+
fluentAccordion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Accordion>;
|
|
50
51
|
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>>;
|
|
51
52
|
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>;
|
|
52
|
-
fluentAnchoredRegion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
53
|
+
fluentAnchoredRegion: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof AnchoredRegion>;
|
|
53
54
|
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>;
|
|
54
|
-
fluentBreadcrumb: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
55
|
+
fluentBreadcrumb: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Breadcrumb>;
|
|
55
56
|
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>>;
|
|
56
57
|
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>;
|
|
57
58
|
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>>;
|
|
58
59
|
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>;
|
|
59
60
|
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>>;
|
|
60
61
|
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>>;
|
|
61
|
-
fluentDataGrid: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
62
|
+
fluentDataGrid: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof DataGrid>;
|
|
62
63
|
fluentDataGridCell: (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").DataGridCell>;
|
|
63
64
|
fluentDataGridRow: (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").DataGridRow>;
|
|
64
65
|
fluentDesignSystemProvider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
@@ -70,40 +71,40 @@ export declare const allComponents: {
|
|
|
70
71
|
template: import("@microsoft/fast-element").ViewTemplate<any, any>;
|
|
71
72
|
styles: import("@microsoft/fast-element").ElementStyles;
|
|
72
73
|
}, typeof import("./design-system-provider/index").DesignSystemProvider>;
|
|
73
|
-
fluentDialog: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
74
|
-
fluentDivider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
74
|
+
fluentDialog: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Dialog>;
|
|
75
|
+
fluentDivider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Divider>;
|
|
75
76
|
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>>;
|
|
76
77
|
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>>;
|
|
77
78
|
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("./listbox/index").Listbox>;
|
|
78
|
-
fluentOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
79
|
+
fluentOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof ListboxOption>;
|
|
79
80
|
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>;
|
|
80
81
|
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>>;
|
|
81
82
|
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>>;
|
|
82
83
|
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>>;
|
|
83
84
|
fluentProgressRing: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ProgressRingOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ProgressRingOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
84
85
|
fluentRadio: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").RadioOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").RadioOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
85
|
-
fluentRadioGroup: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
86
|
+
fluentRadioGroup: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof RadioGroup>;
|
|
86
87
|
fluentSearch: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").SearchOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").SearchOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
87
88
|
fluentSelect: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").SelectOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").SelectOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
88
|
-
fluentSkeleton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
89
|
+
fluentSkeleton: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Skeleton>;
|
|
89
90
|
fluentSlider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").SliderOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").SliderOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
90
|
-
fluentSliderLabel: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
91
|
+
fluentSliderLabel: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof SliderLabel>;
|
|
91
92
|
fluentSwitch: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").SwitchOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").SwitchOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
92
|
-
fluentTabs: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
93
|
+
fluentTabs: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Tabs>;
|
|
93
94
|
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>;
|
|
94
95
|
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>;
|
|
95
96
|
fluentTextArea: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
96
97
|
baseName: string;
|
|
97
|
-
baseClass: typeof
|
|
98
|
-
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<
|
|
98
|
+
baseClass: typeof TextArea;
|
|
99
|
+
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TextArea, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
|
|
99
100
|
styles: (context: any, definition: any) => import("@microsoft/fast-element").ElementStyles;
|
|
100
101
|
shadowOptions: {
|
|
101
102
|
delegatesFocus: true;
|
|
102
103
|
};
|
|
103
104
|
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
104
105
|
baseName: string;
|
|
105
|
-
baseClass: typeof
|
|
106
|
-
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<
|
|
106
|
+
baseClass: typeof TextArea;
|
|
107
|
+
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TextArea, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
|
|
107
108
|
styles: (context: any, definition: any) => import("@microsoft/fast-element").ElementStyles;
|
|
108
109
|
shadowOptions: {
|
|
109
110
|
delegatesFocus: true;
|
|
@@ -111,16 +112,16 @@ export declare const allComponents: {
|
|
|
111
112
|
}, typeof import("./text-area/index").TextArea>;
|
|
112
113
|
fluentTextField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
|
|
113
114
|
baseName: string;
|
|
114
|
-
baseClass: typeof
|
|
115
|
-
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<
|
|
115
|
+
baseClass: typeof TextField;
|
|
116
|
+
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TextField, any>, import("@microsoft/fast-foundation").TextFieldOptions>;
|
|
116
117
|
styles: (context: any, definition: any) => import("@microsoft/fast-element").ElementStyles;
|
|
117
118
|
shadowOptions: {
|
|
118
119
|
delegatesFocus: true;
|
|
119
120
|
};
|
|
120
121
|
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
|
|
121
122
|
baseName: string;
|
|
122
|
-
baseClass: typeof
|
|
123
|
-
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<
|
|
123
|
+
baseClass: typeof TextField;
|
|
124
|
+
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TextField, any>, import("@microsoft/fast-foundation").TextFieldOptions>;
|
|
124
125
|
styles: (context: any, definition: any) => import("@microsoft/fast-element").ElementStyles;
|
|
125
126
|
shadowOptions: {
|
|
126
127
|
delegatesFocus: true;
|
|
@@ -128,7 +129,7 @@ export declare const allComponents: {
|
|
|
128
129
|
}, typeof import("./text-field/index").TextField>;
|
|
129
130
|
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>;
|
|
130
131
|
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>;
|
|
131
|
-
fluentTreeView: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof
|
|
132
|
+
fluentTreeView: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof TreeView>;
|
|
132
133
|
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>>;
|
|
133
134
|
register(container?: Container | undefined, ...rest: any[]): void;
|
|
134
135
|
};
|
|
@@ -38,42 +38,62 @@ export declare const focusStrokeWidth: import("@microsoft/fast-foundation").CSSD
|
|
|
38
38
|
/** @public */
|
|
39
39
|
export declare const bodyFont: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
40
40
|
/** @public */
|
|
41
|
+
export declare const fontWeight: import("@microsoft/fast-foundation").CSSDesignToken<number>;
|
|
42
|
+
/** @public */
|
|
41
43
|
export declare const typeRampBaseFontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
42
44
|
/** @public */
|
|
43
45
|
export declare const typeRampBaseLineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
44
46
|
/** @public */
|
|
47
|
+
export declare const typeRampBaseFontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
48
|
+
/** @public */
|
|
45
49
|
export declare const typeRampMinus1FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
46
50
|
/** @public */
|
|
47
51
|
export declare const typeRampMinus1LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
48
52
|
/** @public */
|
|
53
|
+
export declare const typeRampMinus1FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
54
|
+
/** @public */
|
|
49
55
|
export declare const typeRampMinus2FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
50
56
|
/** @public */
|
|
51
57
|
export declare const typeRampMinus2LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
52
58
|
/** @public */
|
|
59
|
+
export declare const typeRampMinus2FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
60
|
+
/** @public */
|
|
53
61
|
export declare const typeRampPlus1FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
54
62
|
/** @public */
|
|
55
63
|
export declare const typeRampPlus1LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
56
64
|
/** @public */
|
|
65
|
+
export declare const typeRampPlus1FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
66
|
+
/** @public */
|
|
57
67
|
export declare const typeRampPlus2FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
58
68
|
/** @public */
|
|
59
69
|
export declare const typeRampPlus2LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
60
70
|
/** @public */
|
|
71
|
+
export declare const typeRampPlus2FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
72
|
+
/** @public */
|
|
61
73
|
export declare const typeRampPlus3FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
62
74
|
/** @public */
|
|
63
75
|
export declare const typeRampPlus3LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
64
76
|
/** @public */
|
|
77
|
+
export declare const typeRampPlus3FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
78
|
+
/** @public */
|
|
65
79
|
export declare const typeRampPlus4FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
66
80
|
/** @public */
|
|
67
81
|
export declare const typeRampPlus4LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
68
82
|
/** @public */
|
|
83
|
+
export declare const typeRampPlus4FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
84
|
+
/** @public */
|
|
69
85
|
export declare const typeRampPlus5FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
70
86
|
/** @public */
|
|
71
87
|
export declare const typeRampPlus5LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
72
88
|
/** @public */
|
|
89
|
+
export declare const typeRampPlus5FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
90
|
+
/** @public */
|
|
73
91
|
export declare const typeRampPlus6FontSize: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
74
92
|
/** @public */
|
|
75
93
|
export declare const typeRampPlus6LineHeight: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
76
94
|
/** @public */
|
|
95
|
+
export declare const typeRampPlus6FontVariations: import("@microsoft/fast-foundation").CSSDesignToken<string>;
|
|
96
|
+
/** @public */
|
|
77
97
|
export declare const baseLayerLuminance: import("@microsoft/fast-foundation").CSSDesignToken<number>;
|
|
78
98
|
/** @public */
|
|
79
99
|
export declare const accentFillRestDelta: DesignToken<number>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** @public */
|
|
2
|
+
export declare const typeRampBase: import("@microsoft/fast-element").CSSDirective;
|
|
3
|
+
/** @public */
|
|
4
|
+
export declare const typeRampMinus1: import("@microsoft/fast-element").CSSDirective;
|
|
5
|
+
/** @public */
|
|
6
|
+
export declare const typeRampMinus2: import("@microsoft/fast-element").CSSDirective;
|
|
7
|
+
/** @public */
|
|
8
|
+
export declare const typeRampPlus1: import("@microsoft/fast-element").CSSDirective;
|
|
9
|
+
/** @public */
|
|
10
|
+
export declare const typeRampPlus2: import("@microsoft/fast-element").CSSDirective;
|
|
11
|
+
/** @public */
|
|
12
|
+
export declare const typeRampPlus3: import("@microsoft/fast-element").CSSDirective;
|
|
13
|
+
/** @public */
|
|
14
|
+
export declare const typeRampPlus4: import("@microsoft/fast-element").CSSDirective;
|
|
15
|
+
/** @public */
|
|
16
|
+
export declare const typeRampPlus5: import("@microsoft/fast-element").CSSDirective;
|
|
17
|
+
/** @public */
|
|
18
|
+
export declare const typeRampPlus6: import("@microsoft/fast-element").CSSDirective;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @public */
|
|
2
|
+
export declare const StandardFontWeight: {
|
|
3
|
+
readonly Thin: 100;
|
|
4
|
+
readonly ExtraLight: 200;
|
|
5
|
+
readonly Light: 300;
|
|
6
|
+
readonly Normal: 400;
|
|
7
|
+
readonly Medium: 500;
|
|
8
|
+
readonly SemiBold: 600;
|
|
9
|
+
readonly Bold: 700;
|
|
10
|
+
readonly ExtraBold: 800;
|
|
11
|
+
readonly Black: 900;
|
|
12
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { DesignToken, display, focusVisible, forcedColorsStylesheetBehavior, } from '@microsoft/fast-foundation';
|
|
3
3
|
import { SystemColors } from '@microsoft/fast-web-utilities';
|
|
4
|
-
import {
|
|
4
|
+
import { controlCornerRadius, designUnit, focusStrokeOuter, focusStrokeWidth, layerCornerRadius, neutralFillLayerAltRest, neutralFillLayerRecipe, neutralFillLayerRest, neutralFillStealthRecipe, neutralForegroundRest, neutralStrokeLayerRest, strokeWidth, } from '../../design-tokens';
|
|
5
|
+
import { typeRampBase } from '../../styles/patterns/type-ramp';
|
|
5
6
|
import { heightNumber } from '../../styles/size';
|
|
6
7
|
const neutralFillStealthRestOnNeutralFillLayerRest = DesignToken.create('neutral-fill-stealth-rest-on-neutral-fill-layer-rest').withDefault((target) => {
|
|
7
8
|
const baseRecipe = neutralFillLayerRecipe.getValueFor(target);
|
|
@@ -21,10 +22,8 @@ const neutralFillStealthActiveOnNeutralFillLayerRest = DesignToken.create('neutr
|
|
|
21
22
|
export const accordionItemStyles = (context, definition) => css `
|
|
22
23
|
${display('flex')} :host {
|
|
23
24
|
box-sizing: border-box;
|
|
24
|
-
|
|
25
|
+
${typeRampBase};
|
|
25
26
|
flex-direction: column;
|
|
26
|
-
font-size: ${typeRampBaseFontSize};
|
|
27
|
-
line-height: ${typeRampBaseLineHeight};
|
|
28
27
|
background: ${neutralFillLayerRest};
|
|
29
28
|
color: ${neutralForegroundRest};
|
|
30
29
|
border: calc(${strokeWidth} * 1px) solid ${neutralStrokeLayerRest};
|
|
@@ -56,7 +55,7 @@ export const accordionItemStyles = (context, definition) => css `
|
|
|
56
55
|
text-align: left;
|
|
57
56
|
color: inherit;
|
|
58
57
|
cursor: pointer;
|
|
59
|
-
font
|
|
58
|
+
font: inherit;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
61
|
.button::before {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import {
|
|
3
|
+
import { designUnit, neutralForegroundRest } from '../design-tokens';
|
|
4
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
4
5
|
export const accordionStyles = (context, definition) => css `
|
|
5
6
|
${display('flex')} :host {
|
|
6
7
|
box-sizing: border-box;
|
|
7
8
|
flex-direction: column;
|
|
8
|
-
|
|
9
|
-
font-size: ${typeRampBaseFontSize};
|
|
10
|
-
line-height: ${typeRampBaseLineHeight};
|
|
9
|
+
${typeRampBase}
|
|
11
10
|
color: ${neutralForegroundRest};
|
|
12
11
|
gap: calc(${designUnit} * 1px);
|
|
13
12
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import { accentFillRest,
|
|
3
|
+
import { accentFillRest, controlCornerRadius, designUnit, foregroundOnAccentRest, neutralFillSecondaryRest, neutralForegroundRest, strokeWidth, typeRampMinus1LineHeight, } from '../design-tokens';
|
|
4
|
+
import { typeRampMinus1 } from '../styles/patterns/type-ramp';
|
|
4
5
|
export const badgeStyles = (context, definition) => css `
|
|
5
6
|
${display('inline-block')} :host {
|
|
6
7
|
box-sizing: border-box;
|
|
7
|
-
|
|
8
|
-
font-size: ${typeRampMinus1FontSize};
|
|
9
|
-
line-height: ${typeRampMinus1LineHeight};
|
|
8
|
+
${typeRampMinus1};
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
.control {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import {
|
|
3
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
4
4
|
export const breadcrumbStyles = (context, definition) => css `
|
|
5
5
|
${display('inline-block')} :host {
|
|
6
6
|
box-sizing: border-box;
|
|
7
|
-
|
|
8
|
-
font-size: ${typeRampBaseFontSize};
|
|
9
|
-
line-height: ${typeRampBaseLineHeight};
|
|
7
|
+
${typeRampBase};
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
.list {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display, focusVisible, forcedColorsStylesheetBehavior, } from '@microsoft/fast-foundation';
|
|
3
3
|
import { SystemColors } from '@microsoft/fast-web-utilities';
|
|
4
|
-
import {
|
|
4
|
+
import { controlCornerRadius, focusStrokeOuter, focusStrokeWidth, neutralForegroundActive, neutralForegroundHover, neutralForegroundRest, strokeWidth, } from '../design-tokens';
|
|
5
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
5
6
|
import { heightNumber } from '../styles/index';
|
|
6
7
|
export const breadcrumbItemStyles = (context, definition) => css `
|
|
7
8
|
${display('inline-flex')} :host {
|
|
@@ -9,9 +10,7 @@ export const breadcrumbItemStyles = (context, definition) => css `
|
|
|
9
10
|
color: ${neutralForegroundRest};
|
|
10
11
|
fill: currentcolor;
|
|
11
12
|
box-sizing: border-box;
|
|
12
|
-
|
|
13
|
-
font-size: ${typeRampBaseFontSize};
|
|
14
|
-
line-height: ${typeRampBaseLineHeight};
|
|
13
|
+
${typeRampBase};
|
|
15
14
|
min-width: calc(${heightNumber} * 1px);
|
|
16
15
|
border-radius: calc(${controlCornerRadius} * 1px);
|
|
17
16
|
outline: none;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { css } from "@microsoft/fast-element";
|
|
2
2
|
import { display, forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
|
|
3
3
|
import { SystemColors } from '@microsoft/fast-web-utilities';
|
|
4
|
-
import { accentFillRest, baseHeightMultiplier,
|
|
4
|
+
import { accentFillRest, baseHeightMultiplier, controlCornerRadius, density, designUnit, fillColor, foregroundOnAccentRest, neutralForegroundHint, neutralForegroundRest, strokeWidth, } from '../design-tokens';
|
|
5
5
|
import { DirectionalStyleSheetBehavior } from '../styles';
|
|
6
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
6
7
|
/**
|
|
7
8
|
* LTR styles for calendar
|
|
8
9
|
* @internal
|
|
@@ -29,9 +30,7 @@ export const calendarStyles = (context, definition) => css `
|
|
|
29
30
|
${display("inline-block")} :host {
|
|
30
31
|
--calendar-cell-size: calc((${baseHeightMultiplier} + 2 + ${density}) * ${designUnit} * 1px);
|
|
31
32
|
--calendar-gap: 2px;
|
|
32
|
-
|
|
33
|
-
font-size: ${typeRampBaseFontSize};
|
|
34
|
-
line-height: ${typeRampBaseLineHeight};
|
|
33
|
+
${typeRampBase}
|
|
35
34
|
color: ${neutralForegroundRest};
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -2,7 +2,8 @@ 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 { heightNumber } from '../styles';
|
|
5
|
-
import { accentFillActive, accentFillHover, accentFillRest,
|
|
5
|
+
import { accentFillActive, accentFillHover, accentFillRest, controlCornerRadius, designUnit, disabledOpacity, fillColor, focusStrokeOuter, foregroundOnAccentRest, neutralFillInputAltActive, neutralFillInputAltFocus, neutralFillInputAltHover, neutralFillInputAltRest, neutralForegroundRest, neutralStrokeStrongActive, neutralStrokeStrongHover, neutralStrokeStrongRest, strokeWidth, } from '../design-tokens';
|
|
6
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
6
7
|
export const checkboxStyles = (context, definition) => css `
|
|
7
8
|
${display('inline-flex')} :host {
|
|
8
9
|
align-items: center;
|
|
@@ -32,14 +33,12 @@ export const checkboxStyles = (context, definition) => css `
|
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.label {
|
|
35
|
-
|
|
36
|
+
${typeRampBase}
|
|
36
37
|
color: ${neutralForegroundRest};
|
|
37
38
|
${
|
|
38
39
|
/* Need to discuss with Brian how HorizontalSpacingNumber can work. https://github.com/microsoft/fast/issues/2766 */ ''} padding-inline-start: calc(${designUnit} * 2px + 2px);
|
|
39
40
|
margin-inline-end: calc(${designUnit} * 2px + 2px);
|
|
40
41
|
cursor: pointer;
|
|
41
|
-
font-size: ${typeRampBaseFontSize};
|
|
42
|
-
line-height: ${typeRampBaseLineHeight};
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
slot[name='checked-indicator'],
|
|
@@ -2,7 +2,8 @@ import { css } from '@microsoft/fast-element';
|
|
|
2
2
|
import { disabledCursor, focusVisible } from '@microsoft/fast-foundation';
|
|
3
3
|
import { selectFilledStyles, selectStyles } from '../select/select.styles';
|
|
4
4
|
import { appearanceBehavior } from '../utilities/behaviors';
|
|
5
|
-
import { strokeWidth
|
|
5
|
+
import { strokeWidth } from '../design-tokens';
|
|
6
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
6
7
|
export const comboboxStyles = (context, definition) => css `
|
|
7
8
|
${selectStyles(context, definition)}
|
|
8
9
|
|
|
@@ -25,8 +26,7 @@ export const comboboxStyles = (context, definition) => css `
|
|
|
25
26
|
background: transparent;
|
|
26
27
|
border: none;
|
|
27
28
|
color: inherit;
|
|
28
|
-
|
|
29
|
-
line-height: ${typeRampBaseLineHeight};
|
|
29
|
+
${typeRampBase}
|
|
30
30
|
height: calc(100% - ${strokeWidth} * 1px));
|
|
31
31
|
margin: auto 0;
|
|
32
32
|
width: 100%;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { SystemColors } from '@microsoft/fast-web-utilities';
|
|
3
3
|
import { focusVisible, forcedColorsStylesheetBehavior, } from '@microsoft/fast-foundation';
|
|
4
|
-
import {
|
|
4
|
+
import { controlCornerRadius, designUnit, focusStrokeOuter, focusStrokeWidth, neutralForegroundRest, } from '../design-tokens';
|
|
5
|
+
import { typeRampBase } from '../styles/patterns/type-ramp';
|
|
5
6
|
export const dataGridCellStyles = (context, definition) => css `
|
|
6
7
|
:host {
|
|
7
8
|
padding: calc(${designUnit} * 1px) calc(${designUnit} * 3px);
|
|
8
9
|
color: ${neutralForegroundRest};
|
|
9
10
|
box-sizing: border-box;
|
|
10
|
-
|
|
11
|
-
font-size: ${typeRampBaseFontSize};
|
|
12
|
-
line-height: ${typeRampBaseLineHeight};
|
|
13
|
-
font-weight: 400;
|
|
11
|
+
${typeRampBase}
|
|
14
12
|
border: transparent calc(${focusStrokeWidth} * 1px) solid;
|
|
15
13
|
overflow: hidden;
|
|
16
14
|
outline: none;
|